:root{color:#24334a;font-synthesis:none;--primary:#2254b3;--border:#dce3ed;background:#f1f4f8;font-family:Yu Gothic UI,Meiryo,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--border);color:#24334a;background:#fff;border-radius:7px;padding:8px 13px;font-weight:600}button:hover:enabled{background:#edf3ff;border-color:#91ace1}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #9bb9ed}.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.primary:hover:enabled{color:#fff;background:#193f8a}input,select,textarea{color:#24334a;background:#fff;border:1px solid #cbd5e3;border-radius:6px;min-width:0;padding:9px 10px}label{gap:6px;font-size:13px;font-weight:600;display:grid}input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}h1,h2,h3,p{margin:0}.topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;padding:18px 32px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-icon{color:#fff;background:#2254b3;border-radius:10px;place-items:center;width:44px;height:44px;font-size:23px;font-weight:700;display:grid}.eyebrow{letter-spacing:2px;color:#718198;margin-bottom:4px;font-size:10px;font-weight:700}h1{font-size:20px}h2{font-size:22px}h3{font-size:15px}.flow{color:#536781;gap:20px;font-size:12px;display:flex}.flow span{color:#9eaec1}.local-badge{color:#61728b;background:#eef3fa;border-radius:5px;padding:6px 10px;font-size:11px}.mode-banner{color:#79521f;background:#fff4de;border-bottom:1px solid #ecd9b4;padding:10px 32px;font-size:12px;font-weight:700}.mode-banner span{margin-left:14px;font-weight:400}main{max-width:1800px;margin:auto;padding:28px 32px 50px}.day-heading{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.date-label{color:#718198;align-items:center;gap:12px;margin-top:14px;display:flex}.date-label input{font-size:17px;font-weight:700}.heading-actions{gap:10px;display:flex}.summary{border:1px solid var(--border);background:#fff;border-radius:10px;grid-template-columns:repeat(5,minmax(80px,1fr)) 1.8fr;margin-bottom:24px;padding:20px 0;display:grid;box-shadow:0 2px 5px #24334a04}.summary>div{border-right:1px solid var(--border);padding:0 16px}.summary>div:last-child{border:none}.summary span{color:#718198;font-size:12px}.summary strong{font-size:32px;line-height:1.4;display:block}.summary small{color:#7c8ba0;margin-left:6px;font-size:12px;font-weight:400}.p-total strong{color:#2254b3}.s-total strong{color:#168575}.category-totals{gap:7px;display:grid}.category-totals p{grid-template-columns:1fr 1fr 1fr;align-items:center;font-size:13px;display:grid}.notice,.error{border-radius:7px;margin-bottom:15px;padding:12px 16px;font-size:13px}.notice{color:#126954;background:#e4f5ed;border:1px solid #b7dfce}.error{color:#9e373b;background:#fff0f0;border:1px solid #f0cccd}.content{gap:22px;display:grid}.content.with-editor{grid-template-columns:minmax(0,1fr) 410px;align-items:start}.list-toolbar{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.list-toolbar h3 span{color:#7c8ba0;margin-left:8px;font-size:12px;font-weight:400}.list-toolbar label{color:#7c8ba0;align-items:center;gap:8px;display:flex}.list-note{color:#7c8ba0;margin-bottom:14px;font-size:11px}.job-list{min-width:0}.work-type-choice{border:0;gap:12px;margin:18px 0;padding:0;display:flex}.work-type-choice legend{margin-bottom:10px;font-weight:700}.work-type-choice label{cursor:pointer;background:#eef3fa;border:1px solid #dce4ef;border-radius:8px;align-items:center;gap:8px;padding:12px 16px;display:flex}.work-type-choice input,.flexible-check input{width:auto}.flexible-check{align-items:center;gap:8px;display:flex}.editor select{font:inherit;background:#fff;border:1px solid #dce4ef;border-radius:6px;padding:10px}.work-badge{color:#315a9a;background:#e8eef9;border-radius:4px;margin-bottom:5px;padding:2px 6px;font-size:12px;display:inline-block}.work-badge.daytime{color:#236b54;background:#e5f3ec}.sheet-scroll{border:1px solid var(--border);background:#fff;border-radius:8px;overflow-x:auto}.source-sheet{border-collapse:collapse;table-layout:fixed;width:100%;min-width:760px;font-size:13px}.source-sheet th,.source-sheet td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:12px 10px}.source-sheet thead th{color:#536781;background:#eef3fa}.source-sheet thead th:first-child{width:20%}.source-sheet thead th:nth-child(2),.source-sheet thead th:nth-child(3),.source-sheet thead th:nth-child(4){width:10%}.source-sheet thead th:nth-child(5){width:7%}.source-sheet thead th:last-child{width:170px}.source-sheet small{color:#718198;margin-top:5px;font-size:10px;font-weight:400;display:block}.source-sheet tbody tr:hover{background:#f7faff}.source-sheet tbody tr:last-child>*{border-bottom:0}.source-sheet tbody th,.sheet-notes{overflow-wrap:anywhere}.source-sheet .sheet-notes{white-space:pre-wrap;line-height:1.7}.sheet-counts span{white-space:nowrap;font-variant-numeric:tabular-nums;display:block}.sheet-counts span:first-child{color:#2254b3}.sheet-counts span:last-child{color:#168575;margin-top:4px}.sheet-parts{font-variant-numeric:tabular-nums;font-weight:700}.row-actions{flex-wrap:wrap;gap:4px;display:flex}.row-actions button{padding:6px 8px;font-size:12px}.source-sheet tr.cancelled{color:#888;background:#f7f8fa}.date-label{flex-wrap:wrap}.keyboard-hint{color:#718198;margin-top:16px;font-size:11px;line-height:1.7}.extra-options{margin:0}.extra-options .options{margin-top:12px}.job-card{border:1px solid var(--border);background:#fff;border-left:4px solid #97a7bd;border-radius:8px;margin-bottom:12px;padding:16px 18px}.job-card.confirmed{border-left-color:#2254b3}.job-card.sent{border-left-color:#259582}.job-card.cancelled{background:#f7f8fa;border-left-color:#bbb}.job-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.status{color:#5c6d84;white-space:nowrap;background:#edf1f6;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:700}.status.confirmed{color:#2254b3;background:#e9f0ff}.status.sent{color:#168575;background:#e2f4ef}.status.cancelled{color:#888;background:#eee}.job-body{justify-content:space-between;align-items:start;gap:20px;display:flex}.job-items{flex-wrap:wrap;gap:10px 22px;display:flex}.job-items p{align-items:center;gap:12px;font-size:13px;display:flex}.category{color:#61728b;background:#f2f4f8;border-radius:4px;padding:3px 7px;font-size:11px}.category.new{color:#2254b3;background:#edf3ff}.category.certification{color:#8864a6;background:#f4eefa}.job-options{color:#718198;flex-wrap:wrap;gap:6px 12px;font-size:11px;display:flex}.job-notes{white-space:pre-wrap;overflow-wrap:anywhere;color:#61728b;padding-top:10px;font-size:12px}.job-card footer{border-top:1px solid #eef1f6;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:12px;display:flex}.job-card footer button{padding:5px 10px;font-size:12px}.text-button{background:0 0;border:none}.danger{color:#ac5257}.send-button{color:#2254b3;background:#f4f7fe;border-color:#b6c9ee}.external-id{color:#718198;overflow-wrap:anywhere;margin-top:8px;font-size:10px}details{color:#718198;margin-top:8px;font-size:11px}details p{overflow-wrap:anywhere;margin-top:6px}.empty{text-align:center;color:#718198;background:#fafbfd;border:1px dashed #cdd8e7;border-radius:10px;padding:60px 20px}.empty>span{font-size:32px}.empty h3{margin:12px 0}.empty p{font-size:13px}.editor{border:1px solid var(--border);background:#fff;border-radius:10px;max-height:calc(100vh - 32px);padding:20px;position:sticky;top:16px;overflow-y:auto;box-shadow:0 4px 18px #24334a09}.editor header{justify-content:space-between;align-items:start;margin-bottom:20px;display:flex}.editor h2{font-size:18px}.icon-button{border:none;padding:0 6px;font-size:20px}.editor-fields{border:none;gap:16px;margin:0;padding:0;display:grid}.candidates{border:1px solid var(--border);border-radius:6px;max-height:180px;margin-top:-10px;overflow-y:auto}.candidates button{text-align:left;border:none;border-bottom:1px solid #edf1f6;border-radius:0;gap:4px;width:100%;display:grid}.candidates small{color:#7c8ba0;font-weight:400}.candidates p{padding:12px;font-size:12px}.selected-store{color:#168575;margin-top:-8px;font-size:12px}.item-heading{justify-content:space-between;align-items:center;display:flex}.item-heading span{color:#7c8ba0;font-size:10px}.item-row{background:#f7f9fc;border:1px solid #c6d1df;border-radius:8px;min-width:0;margin:0;padding:12px 14px 14px}.item-row legend{color:#24334a;padding:0 6px}.item-row legend h4{margin:0;font-size:17px;font-weight:700;line-height:1.5}.item-counts label{color:#35465e;min-width:0;font-weight:600}.item-counts input{background:#fff;width:100%;min-width:0}.item-counts.single-count{grid-template-columns:minmax(0,1fr)}.category-buttons{gap:5px;margin-bottom:12px;display:flex}.category-buttons button{flex:1;padding:6px;font-size:12px}.category-buttons button[aria-pressed=true]{color:#2254b3;background:#eaf1ff;border-color:#8eabe0}.item-counts{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;display:grid}.stepper{display:flex}.stepper button{border-radius:4px;padding:5px 7px;font-size:15px}.stepper input{text-align:center;width:46px;margin:0 3px;padding:7px 3px}.item-counts>.text-button{padding:6px 0;font-size:11px}.add-item{color:#2254b3;border-style:dashed;font-size:12px}.options{gap:18px;display:flex}.options label{align-items:center;gap:6px;display:flex}.editor footer{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.editor footer button{font-size:12px}.hint{background:#fff4de;margin-bottom:16px;padding:10px;font-size:12px;line-height:1.7}.modal-backdrop{z-index:100;background:#17223866;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.master-modal{background:#fff;border-radius:12px;width:480px;max-width:100%;padding:28px}.master-modal>p{color:#718198;margin:10px 0 22px;font-size:12px;line-height:1.7}.master-modal form{gap:16px;display:grid}.master-modal footer{gap:8px;display:flex}@media (width<=1100px){main{padding:20px}.topbar{padding:14px 20px}.flow{display:none}.summary>div{padding:0 14px}.content.with-editor{grid-template-columns:minmax(0,1fr) 370px}.job-body{flex-direction:column;gap:10px}}@media (width<=780px){.content.with-editor{grid-template-columns:1fr}.editor{grid-row:1;max-height:none;position:static}.summary{grid-template-columns:repeat(4,1fr)}.summary .category-totals{border-top:1px solid var(--border);grid-column:1/-1;margin-top:15px;padding-top:15px}.local-badge{display:none}.day-heading{flex-wrap:wrap;gap:16px}.mode-banner span{margin:4px 0 0;display:block}}.week-range{color:#52647b;margin:8px 0 14px;font-size:13px}.week-day{border:1px solid var(--border);border-radius:8px;margin-top:20px;overflow:hidden}.week-day>h4{color:#24334a;background:#f3f6fa;align-items:center;gap:10px;margin:0;padding:12px 16px;font-size:16px;display:flex}.week-day>h4 span{color:#52647b;margin-left:auto;font-size:12px;font-weight:500}.week-day>h4 small{color:#2254b3;font-size:11px}.week-day.is-today>h4{background:#edf3ff}.day-empty,.week-empty{color:#66768b;padding:14px 16px;font-size:13px}@media (width<=780px){.summary{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:16px}}.legacy-quantity{color:#72572b;margin:8px 0 0;font-size:12px;font-weight:500;display:block}.summary>div:nth-child(4) strong,.summary>div:nth-child(5) strong{font-size:18px;line-height:1.6}.summary>div:nth-child(4) strong small,.summary>div:nth-child(5) strong small{display:block}.login-panel{background:#fff;border:1px solid #cbd5e1;border-radius:12px;max-width:440px;margin:80px auto;padding:24px}.login-panel form,.login-panel label{gap:8px;display:grid}.login-panel form{gap:18px}.cloud-account{background:#eef5ff;justify-content:flex-end;align-items:center;gap:16px;padding:8px 24px;display:flex}
