@font-face{font-family:Pretendard;src:local("Pretendard"),local("Arial")}:root{color:#17202a;background:#eef2f6;font-family:Pretendard,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-shell{min-height:100vh;display:grid;grid-template-columns:264px 1fr;background:#eef2f6}.sidebar{position:sticky;top:0;height:100vh;padding:20px 16px;display:flex;flex-direction:column;gap:18px;background:#17202a;color:#fff}.brand{display:flex;align-items:center;gap:12px;min-height:56px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#1f8a70}.brand strong,.brand span{display:block}.brand strong{font-size:18px;line-height:24px}.brand span,.operator-box span,.eyebrow{color:#8ea0b5;font-size:12px;line-height:18px}.main-nav{display:flex;flex-direction:column;gap:6px}.main-nav button,.ghost-button,.panel-header button,.icon-button,.file-button,.result-actions button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #d9e1ea;border-radius:8px;background:#fff;color:#263645;white-space:nowrap}.danger-action{border-color:#ffd2cb;color:#a82a1e}.hint-pill{min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:#f0f6fa;color:#526273;font-size:12px;font-weight:700}.main-nav button{justify-content:flex-start;border-color:transparent;background:transparent;color:#c4cfda}.main-nav button.active,.main-nav button:hover{background:#243241;color:#fff}.operator-box{margin-top:auto;padding:14px;display:grid;gap:6px;border:1px solid #314253;border-radius:8px;background:#1d2935}.operator-box select{width:100%;height:34px;border:1px solid #3b4d60;border-radius:6px;background:#111820;color:#fff}.logout-button{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #3b4d60;border-radius:6px;background:#111820;color:#fff}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f6}.auth-card{width:min(460px,100%);display:grid;gap:16px;padding:22px;border:1px solid #dbe3eb;border-radius:8px;background:#fff;box-shadow:0 16px 48px #0f172a1f}.auth-brand{color:#17202a}.auth-message{margin:0;padding:10px 12px;border:1px solid #dbe3eb;border-radius:8px;background:#f8fafc;color:#526273;line-height:1.5}.workspace{min-width:0;padding:24px}.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar h1{margin:0;font-size:24px;line-height:32px;font-weight:700;letter-spacing:0}.topbar-actions{display:flex;align-items:center;gap:8px}.notice-pill{height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border-radius:8px;background:#fff8e1;color:#7c4e00;border:1px solid #ffe0a3}.page-stack{display:flex;flex-direction:column;gap:16px}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric,.panel{border:1px solid #dbe3eb;border-radius:8px;background:#fff;box-shadow:0 1px 2px #0f172a0d}.metric{min-height:128px;padding:16px;display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto auto;column-gap:12px;align-items:center}.metric-icon{width:44px;height:44px;grid-row:1 / 4;display:grid;place-items:center;border-radius:8px;background:#e8f3ff;color:#1c65a6}.metric.warning .metric-icon{background:#fff5db;color:#9b5a00}.metric.danger .metric-icon{background:#ffe9e5;color:#bd2d1f}.metric.success .metric-icon{background:#e6f7ef;color:#176c43}.metric span{font-size:13px;color:#667789}.metric strong{font-size:28px;line-height:34px}.metric small{color:#778699}.split-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr);gap:16px}.split-layout.wide-left{grid-template-columns:minmax(0,1.7fr) minmax(340px,.75fr)}.panel{min-width:0;padding:16px}.main-panel{min-height:398px}.compact-panel{max-width:920px}.panel-header{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-header>div:first-child{display:flex;align-items:center;gap:8px}.panel-header strong{font-size:17px}.panel-icon{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:8px;background:#edf4f8;color:#24566d}.panel-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.insert-menu-wrap{position:relative;display:inline-flex}.insert-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:70;min-width:132px;padding:6px;display:grid;gap:4px;border:1px solid #ccd8e3;border-radius:8px;box-shadow:0 14px 30px #17202a29;background:#fff}.insert-menu button{width:100%;height:30px;justify-content:flex-start;padding:0 10px;white-space:nowrap}.tabs{min-height:44px;display:flex;align-items:center;gap:8px;padding:4px;border:1px solid #dbe3eb;border-radius:8px;background:#fff;overflow-x:auto}.tabs button{height:34px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#667789;white-space:nowrap}.tabs button.active{background:#17202a;color:#fff}.table-wrap{width:100%;overflow:auto;border:1px solid #e1e7ee;border-radius:8px}table{width:100%;border-collapse:collapse;background:#fff}th,td{height:44px;padding:8px 10px;text-align:left;border-bottom:1px solid #e8edf2;font-size:14px;vertical-align:middle;white-space:nowrap}th{position:sticky;top:0;background:#f5f8fb;color:#526273;font-weight:700;z-index:1}tr:last-child td{border-bottom:0}.tight{width:58px;text-align:center}.link-button{min-height:30px;max-width:260px;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;color:#145a9a;font-weight:700;text-align:left}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:26px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f6;color:#667789}.status-badge.info{background:#e8f3ff;color:#145a9a}.status-badge.warning{background:#fff5db;color:#8a4e00}.status-badge.danger{background:#ffe9e5;color:#a82a1e}.status-badge.success{background:#e6f7ef;color:#176c43}.status-badge.muted{background:#eef2f6;color:#667789}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:26px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f6;color:#667789}.status-pill.in_progress{background:#fff5db;color:#8a4e00}.status-pill.done{background:#e6f7ef;color:#176c43}.status-pill.waiting{background:#eef2f6;color:#667789}.progress{position:relative;width:132px;height:22px;overflow:hidden;border-radius:999px;background:#edf2f7}.progress span{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#1f8a70}.progress strong{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#17202a;font-size:12px}.due-label{display:inline-flex;align-items:center;gap:8px}.due-label small{min-width:42px;height:22px;display:inline-grid;place-items:center;border-radius:6px;background:#e8f3ff;color:#145a9a;font-weight:700}.due-label.soon small{background:#fff5db;color:#8a4e00}.due-label.late small{background:#ffe9e5;color:#a82a1e}.mini-list,.notification-list{margin-top:14px;display:flex;flex-direction:column;gap:8px}.notice-row,.notification-card{display:grid;gap:3px;padding:10px 12px;border:1px solid #dbe3eb;border-radius:8px;background:#fff;text-align:left}.notice-row span,.notification-card span{color:#667789;font-size:12px}.notice-row.warning,.notification-card.warning{border-color:#ffe0a3;background:#fffaf0}.notice-row.danger,.notification-card.danger{border-color:#ffc9c0;background:#fff5f3}.process-board{display:grid;grid-template-columns:repeat(5,minmax(148px,1fr));gap:12px}.process-tile{min-height:120px;padding:14px;display:grid;gap:8px;border:1px solid #dbe3eb;border-radius:8px;background:#fbfcfe}.process-tile>span{width:fit-content;min-width:46px;height:24px;padding:0 8px;display:grid;place-items:center;border-radius:6px;background:#17202a;color:#fff;font-size:12px}.form-panel{align-self:start}.form-grid{display:grid;grid-template-columns:1fr;gap:10px}.field{display:grid;gap:5px}.field span,.check-field span{color:#526273;font-size:13px;font-weight:700}.field b{color:#a82a1e;margin-left:2px}.field input,.field select,.table-select{width:100%;height:38px;padding:0 10px;border:1px solid #ccd8e3;border-radius:8px;background:#fff;color:#17202a}.check-field{min-height:36px;display:flex;align-items:center;gap:8px}.check-field input{width:18px;height:18px}.primary-action{width:100%;height:42px;margin-top:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:#1f8a70;color:#fff;font-weight:700}.file-button{position:relative;overflow:hidden}.order-file-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.order-import-panel .panel-header{align-items:flex-start;margin-bottom:0}.order-import-panel .panel-action{flex:1}.order-file-actions .file-button{min-width:168px;height:40px;padding:0 14px}.primary-file-button{border-color:#1f8a70;background:#e6f7ef;color:#176c43;font-weight:700}.order-file-actions .file-button:last-child{margin-left:8px}.file-button.disabled{cursor:not-allowed;opacity:.48}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0}.upload-button{align-self:end}.toolbar-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.7fr) auto;gap:10px;align-items:end}.summary-strip{display:grid;grid-template-columns:100px 1fr 100px 1fr;gap:8px;padding:12px;border:1px solid #dbe3eb;border-radius:8px;background:#f8fafc}.summary-strip span{color:#667789}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.segmented button,.status-buttons button{height:36px;border:1px solid #dbe3eb;border-radius:8px;background:#fff;color:#526273}.segmented button.selected,.status-buttons button.selected{border-color:#1f8a70;background:#e6f7ef;color:#176c43;font-weight:700}.status-buttons{display:inline-flex;gap:6px}.status-buttons button{padding:0 10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:20px;background:#1118207a}.modal-panel{width:min(560px,100%);padding:16px;border-radius:8px;background:#fff;box-shadow:0 24px 70px #00000047}.due-modal{max-height:min(720px,90vh);overflow:auto}.sort-modal-backdrop{z-index:50}.sort-modal{width:min(860px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 40px));overflow:auto}.sort-modal-header,.sort-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.sort-modal-header{margin-bottom:12px}.sort-modal-header strong{color:#17202a;font-size:16px}.sort-command-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}.sort-header-option{margin-left:auto;min-height:32px;display:inline-flex;align-items:center;gap:6px;color:#526273;font-size:12px;font-weight:700}.sort-rule-grid{min-width:720px;border:1px solid #ccd8e3;border-radius:6px;overflow:hidden;background:#fff}.sort-rule-grid-head,.sort-rule-row{display:grid;grid-template-columns:110px minmax(250px,1fr) 150px 140px;align-items:center;gap:0}.sort-rule-grid-head{min-height:32px;background:#f3f6f9;border-bottom:1px solid #ccd8e3;color:#526273;font-size:12px;font-weight:800}.sort-rule-grid-head span,.sort-rule-row>span,.sort-rule-row>select{margin:0}.sort-rule-grid-head span,.sort-rule-order{padding:0 10px}.sort-rule-row{min-height:40px;border-bottom:1px solid #e1e8ef;cursor:default}.sort-rule-row:last-child{border-bottom:0}.sort-rule-row.selected{background:#eaf6f2;box-shadow:inset 3px 0 #1f8a70}.sort-rule-row:focus{outline:2px solid #4f8cc9;outline-offset:-2px}.sort-rule-row select{height:30px;min-width:0;margin:4px 6px;border:1px solid #ccd8e3;border-radius:4px;background:#fff;color:#17202a}.sort-rule-order{height:32px;display:inline-flex;align-items:center;color:#17202a;font-size:13px;font-weight:800}.sort-modal button,.print-modal button{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#526273;font-size:12px;font-weight:700}.sort-modal .icon-only-button,.print-modal .icon-only-button,.sort-modal .sort-icon-command{width:32px;padding:0}.sort-modal button:disabled,.print-modal button:disabled{color:#a3afba;background:#f3f6f9}.sort-modal-actions{margin-top:14px;justify-content:flex-end}.sort-modal .primary-sort-apply,.print-modal .primary-sort-apply{border-color:#1f8a70;background:#1f8a70;color:#fff}.print-modal{width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto;gap:10px}.print-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:8px}.print-settings-grid label{display:grid;gap:4px;color:#526273;font-size:12px;font-weight:800}.print-settings-grid select{height:32px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#17202a}.print-check-option{grid-template-columns:auto 1fr;align-items:center;align-content:center}.print-preview-shell{overflow:auto;border:1px solid #dbe3eb;border-radius:8px;background:#f8fafc;contain:layout paint}.print-sheet-area{width:max-content;min-width:100%;padding:14px;background:#fff;color:#17202a;box-sizing:border-box;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-sheet-area.fit-width{width:100%}.print-sheet-table{width:max-content;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:31px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-sheet-area.fit-width .print-sheet-table{width:100%}.print-sheet-table th,.print-sheet-table td{padding:0 7px;border:1px solid #9aa7b2;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:clip;text-align:left;vertical-align:middle;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-sheet-table.no-gridlines th,.print-sheet-table.no-gridlines td{border-color:transparent}.print-sheet-table th{background:#eef3f7;color:#526273;font-weight:800}.row-actions{display:inline-flex;align-items:center;gap:6px}.assign-control{min-width:460px;display:grid;grid-template-columns:150px minmax(180px,1fr) 64px;gap:6px}.assign-control select,.assign-control input,.assign-control button{height:34px;border:1px solid #ccd8e3;border-radius:8px;background:#fff;color:#17202a}.assign-control input{padding:0 9px}.lot-create-grid{grid-template-columns:minmax(320px,1fr) minmax(220px,.7fr) minmax(230px,auto) auto;align-items:end}.compact-segmented{min-height:38px;align-self:end}.sheet-editor{display:grid;gap:10px}.fortune-editor-shell{height:min(760px,calc(100vh - 260px));min-height:620px;border:1px solid #cbd7e3;border-radius:8px;overflow:hidden;background:#fff;user-select:none;-webkit-user-select:none;contain:layout paint}.fortune-editor-shell input,.fortune-editor-shell textarea{user-select:text;-webkit-user-select:text}.fortune-editor-shell .fortune-container,.fortune-editor-shell .fortune-workbook,.fortune-editor-shell .fortune-workarea{font-family:Pretendard,Segoe UI,sans-serif}.page-loading{display:grid;justify-items:center;align-content:center;gap:12px;min-height:240px;color:#667789;font-size:13px;font-weight:700}.sheet-loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;background:#e2e8f0ad;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.sheet-loading-panel{min-width:260px;display:grid;justify-items:center;gap:8px;padding:18px 22px;border:1px solid #cbd7e3;border-radius:8px;box-shadow:0 18px 42px #17202a2e;background:#fff;color:#17202a}.sheet-loading-panel strong{font-size:15px}.sheet-loading-panel span:last-child{color:#667789;font-size:12px;font-weight:700}.sheet-loading-spinner{width:34px;height:34px;border:4px solid #dbe3eb;border-top-color:#1f8a70;border-radius:999px;animation:sheet-spin .85s linear infinite}@keyframes sheet-spin{to{transform:rotate(360deg)}}.formula-bar{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid #dbe3eb;border-radius:8px;background:#f8fafc}.formula-entry{grid-column:1 / -1;display:flex;align-items:center;gap:6px}.cell-address-box{min-width:64px;height:32px;display:inline-grid;place-items:center;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#17202a}.formula-input-wrap{flex:1;min-width:240px;height:32px;display:flex;align-items:center;border:1px solid #ccd8e3;border-radius:6px;background:#fff}.formula-input-wrap span{width:38px;display:inline-grid;place-items:center;align-self:stretch;border-right:1px solid #dbe3eb;color:#526273;font-size:13px;font-style:italic;font-weight:800}.formula-input-wrap input{flex:1;height:32px;padding:0 10px;border:0;background:transparent;font-family:Consolas,Courier New,monospace;font-size:13px;color:#17202a}.formula-input-wrap input:focus{outline:2px solid #4f8cc9;outline-offset:-2px}.sheet-format-tools{width:100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:space-between;padding:2px 0}.sheet-format-tools label,.sheet-format-tools button{height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;border:0;border-radius:5px;background:transparent;color:#526273;font-size:12px;font-weight:700}.sheet-format-tools .sheet-tool-group{min-height:38px;display:inline-flex;align-items:center;gap:4px;padding:3px;border:1px solid #dbe3eb;border-radius:8px;background:#fff}.format-icon-group{gap:2px}.format-icon-group button{width:30px;padding:0}.sheet-format-tools button:hover,.sheet-format-tools label:hover{background:#f1f5f8}.sheet-format-tools button.active{background:#e8f1f7;color:#1f6f8b}.sheet-format-tools button:disabled{color:#9aa7b2;background:#f3f6f9;cursor:not-allowed}.sheet-format-tools button:disabled:hover{background:#f3f6f9}.format-text-button{min-width:max-content}.color-format-group{gap:6px}.color-tool{min-width:92px}.number-format-group label{gap:6px}.merge-tool-group{gap:5px}.clipboard-status{min-width:max-content;color:#1f6f5f;font-size:12px;font-weight:800}.sheet-format-tools input[type=color]{width:24px;min-width:24px;height:22px;flex:0 0 auto;padding:0;border:0;background:transparent;cursor:pointer}.sheet-format-tools select,.sheet-query-tools select{height:26px;min-width:82px;border:1px solid #ccd8e3;border-radius:5px;background:#fff;color:#17202a}.sheet-query-tools{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:0}.sheet-tool-group{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid #dbe3eb;border-radius:8px;background:#fff}.sheet-tool-label{min-width:max-content;color:#526273;font-size:12px;font-weight:800}.query-tool-group{background:#f8fafc}.sort-tool-group{background:#fbfcfe}.active-filter-group,.print-tool-group{background:#fff}.active-filter-group span{min-width:max-content;color:#526273;font-size:12px;font-weight:800}.sheet-query-tools button{height:32px;padding:0 9px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#526273;font-size:12px;font-weight:700}.sheet-query-tools button:disabled{color:#9aa7b2;background:#f3f6f9}.sheet-search{width:220px;height:32px;display:flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#667789}.sheet-search input{min-width:0;flex:1;height:28px;padding:0;border:0;outline:0}.sheet-search-button{height:32px;padding:0 14px;border:1px solid #1f8a70;border-radius:6px;background:#1f8a70;color:#fff;font-weight:700}.column-filter-button{position:absolute;right:16px;top:6px;width:20px;height:20px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:4px;background:transparent;color:#667789;cursor:pointer}.column-filter-button:hover,.column-filter-button.active{border-color:#8fb5d4;background:#e8f1f7;color:#1f6f8b}.column-filter-menu{position:fixed;z-index:80;width:280px;padding:10px;border:1px solid #b9c8d7;border-radius:8px;box-shadow:0 18px 38px #17202a33;background:#fff;color:#17202a;text-align:left}.column-filter-menu-header,.column-filter-actions,.column-filter-apply{display:flex;align-items:center;gap:6px}.column-filter-menu-header{justify-content:space-between;margin-bottom:8px}.column-filter-menu-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.column-filter-actions,.column-filter-apply{flex-wrap:wrap;margin-bottom:8px}.column-filter-actions button,.column-filter-apply button{height:28px;padding:0 8px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#526273;font-size:12px;font-weight:700}.column-filter-apply .primary-filter-apply{border-color:#1f8a70;background:#1f8a70;color:#fff}.filter-value-search{height:32px;display:flex;align-items:center;gap:6px;padding:0 8px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#667789}.filter-value-search input{min-width:0;flex:1;border:0;outline:0}.filter-value-list{max-height:220px;overflow:auto;margin:8px 0;padding:4px;border:1px solid #e1e7ee;border-radius:6px;background:#fbfcfe}.filter-check-row{min-height:26px;display:flex;align-items:center;gap:7px;padding:3px 4px;color:#17202a;font-size:12px;font-weight:600}.filter-check-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-all-filter-row{margin-top:8px}.filter-list-note{margin:6px 2px 2px;color:#667789;font-size:11px}.cell-popup{position:fixed;z-index:30;width:min(410px,calc(100vw - 32px));padding:10px;border:1px solid #b9c8d7;border-radius:8px;box-shadow:0 16px 36px #17202a2e;background:#fff}.cell-popup-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.cell-popup-header strong{color:#17202a}.cell-popup textarea{width:100%;min-height:150px;resize:vertical;padding:10px;border:1px solid #ccd8e3;border-radius:8px;font:inherit;line-height:1.5;color:#17202a}.sheet-context-menu{position:fixed;z-index:80;width:230px;padding:6px;border:1px solid #cbd8e3;border-radius:8px;box-shadow:0 18px 38px #17202a33;background:#fff;color:#17202a}.context-menu-title{padding:6px 8px 8px;color:#526273;font-size:12px;font-weight:800}.sheet-context-menu button{width:100%;height:32px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#263645;font-size:12px;font-weight:700;text-align:left}.sheet-context-menu button:hover{background:#eef4f8}.sheet-context-menu button:disabled{color:#a3afba;background:transparent;cursor:not-allowed}.context-menu-separator{height:1px;margin:5px 4px;background:#e1e7ee}.sheet-header-button{min-height:26px;border:0;border-radius:0;background:transparent;color:#526273;cursor:pointer}.sheet-table-wrap{max-height:640px;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;will-change:scroll-position;scrollbar-gutter:stable}.sheet-table{min-width:max-content;table-layout:fixed;border-collapse:separate;border-spacing:0}.sheet-table th,.sheet-table td{min-width:132px;height:32px;padding:0;border-right:1px solid #d6dde5;border-bottom:1px solid #d6dde5}.sheet-table th.tight,.sheet-table td.tight{min-width:48px;position:sticky;left:0;z-index:3;background:#f3f6f9;text-align:center;font-weight:700;color:#526273}.sheet-table th{position:sticky;height:30px;padding:0;vertical-align:middle;top:0;z-index:6;background:#f3f6f9}.sheet-table th.tight.sheet-corner{left:0;z-index:10}.sheet-column-header,.sheet-row-header{position:sticky}.column-resize-handle{position:absolute;top:0;right:-3px;z-index:6;width:7px;height:100%;cursor:col-resize}.row-resize-handle{position:absolute;left:0;right:0;bottom:-3px;z-index:6;height:7px;cursor:row-resize}.column-resize-handle:hover,.row-resize-handle:hover{background:#1f8a702e}.column-resize-handle:hover{box-shadow:inset -2px 0 #1f8a70}.row-resize-handle:hover{box-shadow:inset 0 -2px #1f8a70}.sheet-no-text-select,.sheet-no-text-select *{-webkit-user-select:none!important;user-select:none!important}.sheet-table td.sheet-cell{position:relative;background:#fff}.sheet-cell-inner{position:relative;width:100%;height:31px;display:flex;align-items:center}.sheet-cell-inner input{position:relative;z-index:1;width:100%;height:31px;padding:0 7px;border:0;border-radius:0;background:transparent;outline:0;font-size:13px;-webkit-user-select:none;user-select:none}.sheet-cell-inner input::selection{background:transparent}.cell-column-resize-handle,.cell-row-resize-handle{position:absolute;z-index:4;opacity:0}.cell-column-resize-handle{top:0;right:-3px;width:7px;height:100%;cursor:col-resize}.cell-row-resize-handle{left:0;right:0;bottom:-3px;height:7px;cursor:row-resize}.sheet-cell-inner:hover .cell-column-resize-handle,.sheet-cell-inner:hover .cell-row-resize-handle{opacity:1}.sheet-cell-inner:hover .cell-column-resize-handle{box-shadow:inset -2px 0 #1f8a70cc}.sheet-cell-inner:hover .cell-row-resize-handle{box-shadow:inset 0 -2px #1f8a70cc}.sheet-cell-inner.first-row-cell input{padding-left:20px}.sheet-table td.sheet-cell:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 2px #4f8cc9}.sheet-table td.sheet-cell:hover:before{opacity:1}.sheet-table td.sheet-cell.selected-cell{box-shadow:none}.sheet-table td.sheet-cell.selected-cell:before{opacity:1;box-shadow:inset 0 0 0 2px #1f8a70}.sheet-table td.sheet-cell.merged-cell{background-clip:padding-box}.sheet-table td.sheet-cell.formula-reference-cell{position:relative}.sheet-table td.sheet-cell.formula-reference-cell .sheet-cell-inner:after{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;border-radius:2px;pointer-events:none;z-index:0}.sheet-table td.sheet-cell.formula-reference-cell input{position:relative;z-index:1}.sheet-table td.sheet-cell.formula-reference-0{box-shadow:inset 0 0 0 2px #4f8cc9}.sheet-table td.sheet-cell.formula-reference-0 .sheet-cell-inner:after{background:#4f8cc929}.sheet-table td.sheet-cell.formula-reference-1{box-shadow:inset 0 0 0 2px #c77d24}.sheet-table td.sheet-cell.formula-reference-1 .sheet-cell-inner:after{background:#c77d2426}.sheet-table td.sheet-cell.formula-reference-2{box-shadow:inset 0 0 0 2px #7b61bf}.sheet-table td.sheet-cell.formula-reference-2 .sheet-cell-inner:after{background:#7b61bf24}.sheet-table td.sheet-cell.formula-reference-3{box-shadow:inset 0 0 0 2px #1f8a70}.sheet-table td.sheet-cell.formula-reference-3 .sheet-cell-inner:after{background:#1f8a7021}.sheet-table td.sheet-cell.formula-edit-target-cell{box-shadow:inset 0 0 0 2px #d63d2e}.sheet-table tbody tr.frozen-first-row>td{position:sticky;top:30px;z-index:4}.sheet-table tbody tr.frozen-first-row>td.sheet-cell.selected-cell{position:sticky}.sheet-table tbody tr.frozen-first-row>td.sheet-row-header{left:0;z-index:9;background:#f3f6f9}.header-source-dot{position:absolute;left:7px;width:8px;height:8px;border-radius:50%;z-index:1}.header-source-dot.auto{background:#1f8a70}.header-source-dot.manual{background:#d63d2e}.virtual-spacer td{padding:0;border:0;background:#fff}.sheet-header-button{width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.sheet-header-button:hover{background:#e8eef4;color:#17202a}.row-header-button{min-width:38px;padding:0 4px}.sheet-warning{margin:0 0 10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ffe0a3;border-radius:8px;background:#fffaf0;color:#7c4e00;line-height:1.5}.sheet-warning button{width:28px;height:28px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid #e8c77e;border-radius:6px;background:#fff;color:#7c4e00;font-size:18px;line-height:1}.cad-preview{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;min-width:0}.cad-canvas{width:100%;min-width:0;height:138px;display:grid;place-items:center;overflow:hidden;border:1px solid #dbe3eb;border-radius:8px;background:linear-gradient(90deg,rgba(23,32,42,.05) 1px,transparent 1px) 0 0 / 20px 20px,linear-gradient(rgba(23,32,42,.05) 1px,transparent 1px) 0 0 / 20px 20px,#f8fafc}.tray-model{width:132px;height:64px;position:relative;transform:skew(-18deg) rotate(-9deg);border:8px solid #637381;border-top-width:12px;border-bottom-width:12px;background:#d7dee5;box-shadow:12px 14px #9aa7b2}.tray-model span{position:absolute;top:9px;bottom:9px;width:6px;border-radius:3px;background:#637381}.tray-model span:nth-child(1){left:20px}.tray-model span:nth-child(2){left:48px}.tray-model span:nth-child(3){left:76px}.tray-model span:nth-child(4){left:104px}.cad-meta p{margin:6px 0 10px;color:#667789;line-height:1.5;overflow-wrap:anywhere;word-break:keep-all}.cad-meta{min-width:0}.cad-meta strong{display:block;min-width:0;overflow-wrap:anywhere;word-break:keep-all}.result-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px;min-width:0}.result-actions button{width:100%;min-width:0;max-width:100%;height:40px;min-height:40px;padding:0 12px;line-height:1;white-space:nowrap;text-align:center}.result-actions button svg{flex:0 0 auto}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inline-edit-form{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inline-edit-form .primary-action{grid-column:1 / -1}.info-item{min-height:72px;padding:12px;display:grid;align-content:center;gap:4px;border:1px solid #dbe3eb;border-radius:8px;background:#fbfcfe}.info-item span{color:#667789;font-size:12px}.empty-state{min-height:128px;display:grid;place-items:center;gap:8px;color:#667789;border:1px dashed #cbd8e3;border-radius:8px;background:#fbfcfe}.danger-text{color:#a82a1e}.muted-text{color:#667789;line-height:1.6}.lot-work-plan-toolbar{grid-template-columns:minmax(160px,200px) 1fr auto;align-items:end}.lot-work-plan-source{align-self:center;color:#667789;font-size:13px;line-height:1.6}.lot-work-plan-source b{color:#a82a1e}.lot-work-plan-actions{display:flex;gap:8px}.lot-work-plan-info{margin:10px 0 0;padding:10px 12px;border:1px solid #f0d8a8;border-radius:8px;background:#fdf6e6;color:#7a5a12;font-size:13px}.lot-work-plan-wrap{max-height:min(620px,calc(100vh - 360px));margin-top:12px}.lot-work-plan-table{min-width:max-content;border-collapse:separate;border-spacing:0}.lot-work-plan-table th,.lot-work-plan-table td{border-right:1px solid #e8edf2}.lot-work-plan-table thead th{height:32px;padding:4px 8px}.lot-work-plan-table thead tr:first-child th{top:0;z-index:4}.lot-work-plan-table thead tr:last-child th{top:32px;z-index:4}.lot-work-plan-table th.group-head{text-align:center;background:#e7eef6}.lot-work-plan-table th.input-group{background:#fdf6e6}.lot-work-plan-table tbody td{height:34px;padding:3px 8px}.lot-work-plan-table .lot-col{position:sticky;left:0;background:#fff;z-index:2}.lot-work-plan-table thead .lot-col,.lot-work-plan-table tfoot .lot-col{background:#f5f8fb;z-index:5}.lot-work-plan-table .lot-col:after{content:"";position:absolute;top:0;right:-6px;width:6px;height:100%;pointer-events:none;background:linear-gradient(to right,#17202a14,#17202a00)}.lot-work-plan-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.lot-work-plan-table td.input-cell{padding:2px 4px}.lot-work-plan-table tfoot th{position:sticky;bottom:0;top:auto;background:#eef3f8;z-index:3}.lot-work-plan-input{width:100%;min-width:72px;height:28px;padding:0 6px;border:1px solid #dbe3eb;border-radius:6px;background:#fffdf7;color:#17202a;font-size:13px}.lot-work-plan-input.numeric{text-align:right}.lot-work-plan-input.assignee{min-width:64px;text-align:center}.lot-work-plan-input.note{min-width:180px}.lot-work-plan-table .table-select{min-width:104px}.lot-work-plan-summary{margin-top:18px}.lot-work-plan-summary h4{margin:0 0 8px;font-size:14px;color:#526273}.lot-work-plan-summary table{width:auto;min-width:520px;border:1px solid #e8edf2;border-radius:8px}.lot-work-plan-summary-empty{margin-top:18px}.lot-work-plan-extra{margin-top:14px;padding:10px 12px;border:1px solid #e8edf2;border-radius:8px;background:#fbfcfe}.lot-work-plan-extra summary{cursor:pointer;font-size:13px;font-weight:700;color:#526273}.lot-work-plan-orphans{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:4px}.lot-work-plan-orphans li{display:flex;gap:12px;align-items:center;font-size:13px}@media(max-width:1180px){.app-shell{grid-template-columns:76px 1fr}.brand div:last-child,.main-nav span,.operator-box span,.operator-box strong,.operator-box select{display:none}.main-nav button{justify-content:center}.operator-box{min-height:48px}.dashboard-grid,.dashboard-grid.three,.split-layout,.split-layout.wide-left{grid-template-columns:1fr}.process-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:12px}.brand div:last-child,.main-nav span,.operator-box span,.operator-box strong,.operator-box select{display:block}.main-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{padding:14px}.topbar{align-items:flex-start;flex-direction:column}.dashboard-grid,.dashboard-grid.three,.toolbar-grid,.info-grid,.inline-edit-form,.process-board,.cad-preview,.summary-strip{grid-template-columns:1fr}.order-file-actions{justify-content:flex-start}.order-import-panel .panel-header{display:grid;grid-template-columns:1fr}.order-file-actions .file-button{width:100%}.order-file-actions .file-button:last-child{margin-left:0}th,td{font-size:13px}}@media print{html,body{width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;background:#fff!important}body *{visibility:hidden!important}.app-shell{display:block!important;min-height:0!important;background:#fff!important}.sidebar,.topbar,.tabs,.order-import-panel,.panel>.panel-header,.sheet-warning,.sheet-editor>:not(.print-modal-backdrop){display:none!important}.workspace,.page-stack,.panel,.sheet-editor,.print-modal-backdrop,.print-modal,.print-preview-shell{position:static!important;display:block!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:transparent!important}.sort-modal-header,.print-settings-grid,.sort-modal-actions{display:none!important}.print-sheet-area,.print-sheet-area *{visibility:visible!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}.print-sheet-area{position:absolute;inset:0 auto auto 0;width:max-content!important;min-width:0;padding:6mm;margin:0;background:#fff!important}.print-sheet-table{width:max-content!important;table-layout:fixed!important;page-break-inside:auto}.print-sheet-area.fit-width,.print-sheet-area.fit-width .print-sheet-table{width:max-content!important}.print-sheet-table tr{break-inside:avoid;page-break-inside:avoid}}
