#viewTeamOrders{min-width:0}
.to-app{display:grid;gap:14px;color:#0f172a}
.to-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;border:1px solid #dbe7f5;border-radius:18px;background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%);box-shadow:0 10px 28px rgba(15,23,42,.05)}
.to-eyebrow{display:block;margin-bottom:6px;font-size:11px;font-weight:900;letter-spacing:.12em;color:#2563eb}
.to-hero h2{margin:0 0 8px;font-size:24px;letter-spacing:-.03em}
.to-hero p{margin:0;max-width:850px;font-size:13px;line-height:1.65;color:#526174;font-weight:650}
.to-hero-actions{display:flex;min-width:210px;flex-direction:column;align-items:flex-end;gap:8px}
.to-hero-actions span{font-size:11px;color:#64748b;font-weight:700}
.to-app button,.to-file-button{border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;padding:8px 11px;font-size:12px;font-weight:850;cursor:pointer;transition:.15s ease}
.to-app button:hover,.to-file-button:hover{border-color:#93b4df;background:#f8fbff;color:#173b85}
.to-app .to-primary{border-color:#2563eb;background:#2563eb;color:#fff}
.to-app .to-primary:hover{background:#1d4ed8;color:#fff}
.to-app .to-success{border-color:#15803d;background:#15803d;color:#fff}
.to-app .to-success:hover{background:#166534;color:#fff}
.to-pilot-note{padding:11px 14px;border:1px solid #fde68a;border-radius:11px;background:#fffbeb;color:#854d0e;font-size:12px;font-weight:700}
.to-pilot-note strong{margin-right:8px;color:#a16207}
.to-message{padding:10px 13px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;color:#1e40af;font-size:12px;font-weight:800}
.to-cloud-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border:1px solid #cbd5e1;border-radius:11px;background:#f8fafc;color:#334155;font-size:12px;font-weight:750}
.to-cloud-status-main,.to-cloud-status-detail{display:flex;align-items:center;gap:9px;min-width:0}.to-cloud-status-main strong{flex:0 0 auto}.to-cloud-status-main span{font-weight:900}.to-cloud-status-detail{justify-content:flex-end;flex-wrap:wrap;color:#64748b;font-size:11px}.to-cloud-status-detail small{font-size:11px;font-weight:850;color:inherit}.to-cloud-retry{flex:0 0 auto;padding:6px 10px!important;border-color:#ef4444!important;background:#fff!important;color:#b91c1c!important}
.to-cloud-status-connected{border-color:#86efac;background:#f0fdf4;color:#166534}.to-cloud-status-connected .to-cloud-status-detail{color:#15803d}
.to-cloud-status-connecting{border-color:#93c5fd;background:#eff6ff;color:#1e40af}.to-cloud-status-connecting .to-cloud-status-detail{color:#2563eb}
.to-cloud-status-cached{border-color:#fde68a;background:#fffbeb;color:#854d0e}.to-cloud-status-cached .to-cloud-status-detail{color:#a16207}
.to-cloud-status-error{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.to-cloud-status-error .to-cloud-status-detail{color:#b91c1c}
.to-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.to-kpi{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.to-kpi span{font-size:11px;font-weight:850;color:#64748b}.to-kpi strong{grid-row:1/3;grid-column:2;font-size:24px;color:#0f172a}.to-kpi small{font-size:11px;color:#94a3b8;font-weight:700}.to-kpi.warn{border-color:#fecaca;background:#fff7f7}.to-kpi.warn strong{color:#dc2626}
.to-attention-card{width:100%;text-align:left;cursor:pointer}.to-attention-card:disabled{cursor:default}.to-attention-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.46)}.to-attention-modal{width:min(760px,96vw);max-height:min(78vh,760px);display:flex;flex-direction:column;border:1px solid #cbd5e1;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28)}.to-attention-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #e2e8f0}.to-attention-modal header span{font-size:10px;font-weight:900;color:#2563eb;letter-spacing:.08em}.to-attention-modal h3{margin:4px 0 3px;font-size:18px;color:#0f172a}.to-attention-modal p{margin:0;font-size:12px;color:#64748b;font-weight:700}.to-attention-modal header button{padding:1px 9px;border:0;background:transparent;color:#64748b;font-size:27px;line-height:1;cursor:pointer}.to-attention-list{overflow:auto;padding:12px 20px}.to-attention-row{padding:13px 0;border-bottom:1px solid #edf2f7}.to-attention-row:last-child{border-bottom:0}.to-attention-row>div{display:flex;gap:10px;align-items:baseline}.to-attention-row b{font:800 12px Consolas,'Malgun Gothic',monospace;color:#1e3a8a}.to-attention-row span{font-size:12px;font-weight:800;color:#334155}.to-attention-row dl{display:grid;grid-template-columns:94px 1fr;gap:6px 10px;margin:9px 0 0;font-size:12px;line-height:1.45}.to-attention-row dt{font-weight:850;color:#64748b}.to-attention-row dd{margin:0;white-space:pre-wrap;color:#0f172a}.to-attention-empty{padding:20px 0!important;text-align:center}.to-attention-modal footer{display:flex;justify-content:flex-end;padding:13px 20px;border-top:1px solid #e2e8f0}.to-attention-modal footer button{padding:8px 17px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:12px;font-weight:800;cursor:pointer}
.to-trash-modal{width:min(860px,96vw)}.to-trash-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #e2e8f0}.to-trash-row:last-child{border-bottom:0}.to-trash-main{display:grid;grid-template-columns:120px minmax(180px,1fr);gap:3px 12px;min-width:0}.to-trash-main b{font:850 12px Consolas,'Malgun Gothic',monospace;color:#1e3a8a}.to-trash-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.to-trash-main span,.to-trash-main small{grid-column:1/-1;color:#64748b;font-size:10px;font-weight:700}.to-trash-row>button{flex:0 0 auto;border-color:#86efac!important;color:#047857!important;background:#f0fdf4!important}
.to-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 5px}
.to-tabs button{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 13px}
.to-tabs button b{display:inline-flex;min-width:21px;height:21px;align-items:center;justify-content:center;border-radius:999px;background:#eef2f7;color:#475569;font-size:11px}
.to-tabs button.active{border-color:#1d4ed8;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #1d4ed8}
.to-tabs button.active b{background:#1d4ed8;color:#fff}.to-tabs button.alert:not(.active){border-color:#fecaca;color:#b91c1c}.to-tabs button.alert b{background:#fee2e2;color:#b91c1c}
.to-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) auto auto;align-items:end;gap:12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}
.to-toolbar-left,.to-toolbar-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.to-search,.to-filter{display:grid;gap:5px}.to-search span,.to-filter span{font-size:10px;font-weight:850;color:#64748b}.to-search input,.to-filter select{height:35px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;color:#0f172a;font-size:12px}.to-search input{width:260px}.to-filter select{width:115px}
.to-toolbar-summary{display:flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}.to-toolbar-summary strong{font-size:13px}.to-toolbar-summary span{font-size:11px;color:#64748b;font-weight:700}
.to-file-button{display:inline-flex;align-items:center;position:relative;overflow:hidden}.to-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.to-danger-link{color:#b91c1c!important;border-color:#fecaca!important}
.to-import-panel,.to-stock-panel{border:1px solid #bfdbfe;border-radius:15px;background:#f8fbff;padding:16px}
.to-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.to-panel-title h3{margin:0 0 5px;font-size:16px}.to-panel-title p{margin:0;color:#64748b;font-size:12px;font-weight:650}
.to-import-panel textarea{display:block;width:100%;height:180px;resize:vertical;margin-top:13px;padding:12px;border:1px solid #93c5fd;border-radius:10px;background:#fff;color:#0f172a;font:12px/1.45 Consolas,'Malgun Gothic',monospace;box-sizing:border-box}
.to-import-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.to-import-actions span{font-size:11px;color:#64748b;font-weight:700}
.to-preview{margin-top:12px;border-top:1px solid #dbeafe;padding-top:12px}.to-preview-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px;font-size:12px}.to-chip{display:inline-block;margin-left:5px;padding:4px 7px;border-radius:999px;background:#e0edff;color:#1e40af;font-size:10px;font-weight:850}.to-preview-warn,.to-preview-error{margin-bottom:9px;padding:8px 10px;border-radius:8px;font-size:11px;line-height:1.55;font-weight:750}.to-preview-warn{background:#fffbeb;color:#92400e}.to-preview-error{background:#fef2f2;color:#b91c1c}
.to-mini-table{max-height:245px;overflow:auto;border:1px solid #dbeafe;border-radius:9px;background:#fff}.to-mini-table table{width:100%;border-collapse:collapse;font-size:10px}.to-mini-table th,.to-mini-table td{padding:7px 8px;border-bottom:1px solid #edf2f7;text-align:left;white-space:nowrap}.to-mini-table th{position:sticky;top:0;background:#eff6ff;color:#1e3a8a}
.to-stock-panel{border-color:#dbe4ee;background:#fff}.to-stock-panel summary{cursor:pointer;color:#334155;font-size:12px;font-weight:900}.to-stock-form{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:end;margin-top:13px}.to-stock-form label{display:grid;gap:5px;font-size:10px;font-weight:850;color:#64748b}.to-stock-form label.wide{grid-column:span 2}.to-stock-form input{height:35px;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;box-sizing:border-box;font-size:12px}
.to-table-wrap{max-height:calc(100vh - 360px);min-height:390px;overflow:auto;border:1px solid #cbd5e1;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.04)}.to-viewer .to-table-wrap{max-height:calc(100vh - 245px)}
.to-table{--order-col-width:110px;--code-col-width:102px;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:11px}
.to-table th,.to-table td{height:34px;padding:6px 8px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;vertical-align:middle;white-space:nowrap}
.to-table thead th{position:sticky;top:0;z-index:6;background:#eaf1fb;color:#334155;font-size:10px;font-weight:950;text-align:center;box-shadow:0 1px 0 #cbd5e1}
.to-table th:nth-child(1),.to-table td:nth-child(1){position:sticky;left:0;z-index:3;background:#fff;width:var(--order-col-width);min-width:var(--order-col-width);max-width:var(--order-col-width);box-sizing:border-box}.to-table thead th:nth-child(1){z-index:8;background:#eaf1fb}.to-table th:nth-child(2),.to-table td:nth-child(2){position:sticky;left:var(--order-col-width);z-index:3;background:#fff;width:var(--code-col-width);min-width:var(--code-col-width);max-width:var(--code-col-width);box-sizing:border-box}.to-table thead th:nth-child(2){z-index:8;background:#eaf1fb}
.to-table td.to-name{width:430px;min-width:430px;max-width:520px;white-space:normal;word-break:keep-all;line-height:1.4;font-weight:750;color:#0f172a}.to-table td.to-spec{max-width:180px;overflow:hidden;text-overflow:ellipsis}.to-table td.to-note{max-width:270px;overflow:hidden;text-overflow:ellipsis;color:#64748b}.to-table td.to-handle{min-width:110px}.to-table td.to-code,.to-table td.to-order{font-family:Consolas,'Malgun Gothic',monospace;font-weight:750}.to-table .to-number{text-align:right;font-variant-numeric:tabular-nums}.to-table .to-center{text-align:center}.to-table .to-remaining{font-weight:900;color:#1d4ed8}
.to-section-row td{position:sticky!important;left:auto!important;z-index:2!important;background:#f3f7fc!important;color:#173b85;font-weight:850;border-bottom-color:#bfd0e6}.to-section-row td:first-child{left:0!important;z-index:4!important}.to-section-row strong{margin-right:10px;font-size:12px}.to-section-row span{font-size:10px;color:#64748b}.to-area-row td{position:static!important;background:#dbeafe!important;color:#173b85;font-weight:900;border-top:2px solid #93b4df;border-bottom-color:#93b4df}.to-area-row td:first-child{position:sticky!important;left:0!important;z-index:4!important}.to-area-row strong{font-size:13px}.to-area-row span{font-size:10px;color:#475569}.to-section-title td{position:static!important;background:#f3f7fc!important;color:#173b85;font-weight:900}.to-section-title td:first-child{position:sticky!important;left:0!important;z-index:4!important}.to-section-title td:nth-child(2){position:sticky!important;left:var(--order-col-width)!important;z-index:4!important}.to-total-row td{position:static!important;background:#f8fafc!important;color:#173b85;font-weight:900;border-top:1px solid #bfd0e6;border-bottom:2px solid #93b4df}.to-total-row td:first-child{position:sticky!important;left:0!important;z-index:4!important}.to-total-row td:nth-child(2){position:sticky!important;left:var(--order-col-width)!important;z-index:4!important}.to-total-row span{margin-left:8px;font-size:9px;color:#64748b}.to-empty-section td{text-align:center;color:#94a3b8;background:#fbfdff!important;font-size:10px}.to-stock-row td{background:#fffdf4!important}.to-new-row td{background:#fff8bf!important;box-shadow:inset 0 2px 0 #eab308,inset 0 -2px 0 #eab308}.to-urgent-row td{background:#ffedd5!important;color:#9a3412}.to-super-urgent-row td{background:#fee2e2!important;color:#991b1b;font-weight:850}.to-new-row.to-urgent-row td,.to-new-row.to-super-urgent-row td{box-shadow:inset 5px 0 0 #facc15,inset 0 2px 0 #eab308,inset 0 -2px 0 #eab308}.to-stock-badge{display:inline-block;padding:3px 6px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:9px;font-weight:900}
.to-production-input{width:78px;height:27px;border:1px solid #cbd5e1;border-radius:6px;padding:0 6px;text-align:right;font-size:11px;box-sizing:border-box}.to-production-input:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.to-edit-cell{padding:4px!important}.to-edit-text{display:block;width:150px;min-height:31px;max-height:84px;resize:vertical;border:1px solid #cbd5e1;border-radius:6px;padding:6px 7px;background:#fff;color:#0f172a;font:11px/1.35 'Malgun Gothic',sans-serif;box-sizing:border-box;white-space:pre-wrap}.to-edit-text.wide{width:210px}.to-edit-text:focus,.to-status-select:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.to-status-select,.to-placement-select,.to-move-control select{height:29px;min-width:78px;border:1px solid #cbd5e1;border-radius:6px;padding:0 5px;background:#fff;color:#334155;font-size:10px;font-weight:750}.to-row-actions button{padding:4px 6px;border-color:#fecaca;color:#b91c1c;font-size:9px}.to-new-check{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:850}.to-new-check input{accent-color:#eab308}.to-move-control{display:flex;align-items:center;gap:5px}.to-move-control label{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:850}.to-move-control button{padding:4px 6px;font-size:9px}.to-admin tr[data-drag-id]{cursor:grab}.to-admin tr[data-drag-id]:active{cursor:grabbing}.to-admin tr[data-drag-id] input,.to-admin tr[data-drag-id] textarea,.to-admin tr[data-drag-id] select,.to-admin tr[data-drag-id] button,.to-admin tr[data-drag-id] label{cursor:auto}.to-dragging{opacity:1!important}.to-dragging td{box-shadow:inset 0 3px 0 #2563eb,inset 0 -3px 0 #2563eb!important}.to-dragging td:first-child{border-left:3px solid #2563eb!important}.to-dragging td:last-child{border-right:3px solid #2563eb!important}.to-drag-over{outline:3px solid #2563eb!important;outline-offset:-3px}.to-app :disabled{opacity:.55;cursor:not-allowed}
.to-color-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:9px 13px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;font-size:10px;font-weight:800;color:#475569}.to-color-legend span{display:inline-flex;align-items:center;gap:5px}.to-color-legend i{display:inline-block;width:18px;height:12px;border:1px solid #cbd5e1;border-radius:3px}.to-color-legend i.new{background:#fff8bf;border-color:#eab308}.to-color-legend i.urgent{background:#ffedd5;border-color:#f97316}.to-color-legend i.super{background:#fee2e2;border-color:#dc2626}.to-move-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 13px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff}.to-move-panel>strong{color:#1e3a8a;font-size:12px}.to-move-panel>span{color:#64748b;font-size:10px;font-weight:700}.to-drop-targets{display:flex;gap:7px;flex-wrap:wrap}.to-drop-target{padding:7px 10px;border:1px dashed #3b82f6;border-radius:8px;background:#fff;color:#1e40af;font-size:10px;font-weight:900}
@media(max-width:1050px){.to-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.to-toolbar{grid-template-columns:1fr}.to-toolbar-summary{align-items:flex-start}.to-stock-form{grid-template-columns:repeat(3,minmax(120px,1fr))}.to-hero{flex-direction:column}.to-hero-actions{align-items:flex-start}.to-table-wrap{max-height:none}}
@media(max-width:680px){.to-summary{grid-template-columns:1fr}.to-stock-form{grid-template-columns:1fr}.to-stock-form label.wide{grid-column:auto}.to-search input{width:100%}.to-toolbar-left{display:grid;grid-template-columns:1fr}.to-hero{padding:17px}.to-table th:nth-child(2),.to-table td:nth-child(2){position:static}.to-panel-title,.to-preview-head{flex-direction:column;align-items:flex-start}.to-cloud-status,.to-cloud-status-main,.to-cloud-status-detail{align-items:flex-start;flex-direction:column}.to-cloud-status-detail{width:100%}}

/* V108 usability / sorting / subtotal / filter / selection improvements */
.to-table{--order-col-width:112px;--code-col-width:104px}
.to-admin .to-table{--action-col-width:54px;--order-col-width:112px;--code-col-width:104px}
.to-admin .to-table th:nth-child(1),.to-admin .to-table td:nth-child(1){left:0;width:var(--action-col-width);min-width:var(--action-col-width);max-width:var(--action-col-width)}
.to-admin .to-table th:nth-child(2),.to-admin .to-table td:nth-child(2){left:var(--action-col-width);width:var(--order-col-width);min-width:var(--order-col-width);max-width:var(--order-col-width)}
.to-admin .to-table th[data-column="itemCode"],.to-admin .to-table td.to-code{position:sticky;left:calc(var(--action-col-width) + var(--order-col-width));z-index:3;background:#fff;width:var(--code-col-width);min-width:var(--code-col-width);max-width:var(--code-col-width);box-sizing:border-box}
.to-admin .to-table thead th[data-column="itemCode"]{z-index:8;background:#eaf1fb}
.to-admin .to-table th[data-column="actions"],.to-admin .to-table td.to-row-actions{position:sticky;left:0;z-index:4;background:#fff}
.to-admin .to-table th[data-column="orderNo"],.to-admin .to-table td.to-order{position:sticky;left:var(--action-col-width);z-index:4}
.to-viewer .to-table th[data-column="orderNo"],.to-viewer .to-table td.to-order{position:sticky;left:0;z-index:4}
.to-viewer .to-table th[data-column="itemCode"],.to-viewer .to-table td.to-code{position:sticky;left:var(--order-col-width);z-index:4}
.to-table thead th[data-column="orderNo"],.to-table thead th[data-column="itemCode"],.to-table thead th[data-column="actions"]{background:#eaf1fb!important;z-index:9!important}
.to-admin .to-section-row [data-summary-col="actions"],.to-admin .to-area-row [data-summary-col="actions"],.to-admin .to-section-title [data-summary-col="actions"],.to-admin .to-total-row [data-summary-col="actions"],.to-admin .to-spec-total-row [data-summary-col="actions"],.to-admin .to-grand-total-row [data-summary-col="actions"]{position:sticky!important;left:0!important;z-index:4!important}
.to-admin .to-section-row [data-summary-col="orderNo"],.to-admin .to-area-row [data-summary-col="orderNo"],.to-admin .to-section-title [data-summary-col="orderNo"],.to-admin .to-total-row [data-summary-col="orderNo"],.to-admin .to-spec-total-row [data-summary-col="orderNo"],.to-admin .to-grand-total-row [data-summary-col="orderNo"]{position:sticky!important;left:var(--action-col-width)!important;z-index:4!important}
.to-admin .to-section-row [data-summary-col="itemCode"],.to-admin .to-area-row [data-summary-col="itemCode"],.to-admin .to-section-title [data-summary-col="itemCode"],.to-admin .to-total-row [data-summary-col="itemCode"],.to-admin .to-spec-total-row [data-summary-col="itemCode"],.to-admin .to-grand-total-row [data-summary-col="itemCode"]{position:sticky!important;left:calc(var(--action-col-width) + var(--order-col-width))!important;z-index:4!important}
.to-viewer .to-section-row [data-summary-col="orderNo"],.to-viewer .to-area-row [data-summary-col="orderNo"],.to-viewer .to-section-title [data-summary-col="orderNo"],.to-viewer .to-total-row [data-summary-col="orderNo"],.to-viewer .to-spec-total-row [data-summary-col="orderNo"],.to-viewer .to-grand-total-row [data-summary-col="orderNo"]{position:sticky!important;left:0!important;z-index:4!important}
.to-viewer .to-section-row [data-summary-col="itemCode"],.to-viewer .to-area-row [data-summary-col="itemCode"],.to-viewer .to-section-title [data-summary-col="itemCode"],.to-viewer .to-total-row [data-summary-col="itemCode"],.to-viewer .to-spec-total-row [data-summary-col="itemCode"],.to-viewer .to-grand-total-row [data-summary-col="itemCode"]{position:sticky!important;left:var(--order-col-width)!important;z-index:4!important}

.to-table td.to-name{width:300px;min-width:300px;max-width:340px}
.to-table td.to-spec{width:130px;min-width:130px;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.to-table td.to-paper{width:180px;min-width:180px;max-width:none;white-space:nowrap;overflow:visible;text-overflow:clip}
.to-table td.to-note{width:220px;min-width:180px;max-width:230px;overflow:hidden;text-overflow:ellipsis;color:#334155;font-weight:780}
.to-edit-text{color:#111827;font-weight:700}.to-edit-text.wide{width:185px}
.to-code-line{display:flex;align-items:center;gap:4px;min-width:0}.to-code-line>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.to-copy-mini,.to-order-color{flex:0 0 auto!important;width:20px!important;height:20px!important;min-width:20px!important;padding:0!important;border-radius:5px!important;font-size:11px!important;line-height:18px!important;text-align:center}
.to-copy-mini{color:#2563eb!important;border-color:#bfdbfe!important;background:#eff6ff!important}
.to-order-color{border:1px solid #cbd5e1!important;background:#fff!important;font-size:13px!important}
.to-order-color-none{color:#cbd5e1!important}.to-order-color-yellow{color:#eab308!important}.to-order-color-green{color:#22c55e!important}.to-order-color-blue{color:#3b82f6!important}.to-order-color-purple{color:#8b5cf6!important}.to-order-color-pink{color:#ec4899!important}
.to-order-bg-yellow{background:#fef9c3!important}.to-order-bg-green{background:#dcfce7!important}.to-order-bg-blue{background:#dbeafe!important}.to-order-bg-purple{background:#ede9fe!important}.to-order-bg-pink{background:#fce7f3!important}
.to-inline-input{width:105px;height:27px;border:1px solid #cbd5e1;border-radius:6px;padding:0 6px;background:#fff;color:#111827;font-size:10px;font-weight:700;box-sizing:border-box}.to-inline-input:focus{outline:2px solid #bfdbfe;border-color:#2563eb}
.to-production-input{inputmode:decimal}

.to-spec-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-right:6px;border-radius:5px;background:rgba(255,255,255,.72);border:1px solid rgba(15,23,42,.14);font-size:10px;font-weight:950}
.to-spec-type-s,.to-spec-type-l,.to-spec-type-p,.to-spec-type-d,.to-spec-type-w,.to-spec-type-n{background:transparent!important;color:inherit!important}
.to-title-type-s td{background:#dbeafe!important}.to-title-type-l td{background:#ede9fe!important}.to-title-type-p td{background:#ffedd5!important}.to-title-type-d td{background:#dcfce7!important}.to-title-type-w td{background:#ccfbf1!important}.to-title-type-n td{background:#e5e7eb!important}
.to-green-word{display:inline-block;padding:1px 5px;border-radius:999px;background:#16a34a;color:#fff;font-weight:950}.to-wipack-green td.to-name{background:#ecfdf5!important;box-shadow:inset 4px 0 0 #16a34a}

.to-spec-total-row td{position:static!important;background:#f8fafc!important;color:#334155;font-weight:850;border-top:1px dashed #cbd5e1;border-bottom:1px solid #94a3b8}.to-spec-total-row strong{color:#1e3a8a}.to-spec-total-row span,.to-grand-total-row span{margin-left:7px;font-size:9px;color:#64748b}
.to-grand-total-row td{position:static!important;background:#e0edff!important;color:#173b85;font-weight:950;border-top:3px double #2563eb;border-bottom:2px solid #2563eb}.to-grand-total-row strong{font-size:12px}
.to-selected-row td{box-shadow:inset 0 2px 0 #2563eb,inset 0 -2px 0 #2563eb!important}.to-selected-row td:first-child{border-left:3px solid #2563eb!important}.to-selected-row td:last-child{border-right:3px solid #2563eb!important}
.to-table tbody td[tabindex="0"]{cursor:cell}.to-table tbody td.to-selected-cell{position:relative;z-index:5;outline:3px solid #2563eb!important;outline-offset:-3px;background:#eff6ff!important}.to-table tbody td.to-selected-cell:focus{outline:3px solid #1d4ed8!important;outline-offset:-3px}
.to-color-legend i.wipack{background:#dcfce7;border-color:#16a34a}

.to-filter input{height:35px;border:1px solid #cbd5e1;border-radius:8px;padding:0 8px;background:#fff;color:#0f172a;font-size:11px;box-sizing:border-box}.to-date-inputs{position:relative;display:flex;align-items:center;width:142px;height:35px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-sizing:border-box}.to-date-filter #toDateFilter{width:108px;height:33px;border:0;border-radius:8px 0 0 8px;padding:0 7px}.to-date-filter #toDateFilter:focus{outline:2px solid #bfdbfe}.to-date-filter #toDatePickerButton{width:32px;height:33px;border:0;border-left:1px solid #e2e8f0;border-radius:0 8px 8px 0;background:#f8fafc;color:#2563eb;font-size:15px;cursor:pointer}.to-date-filter #toDatePicker{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}.to-reset-filter{height:35px}
.to-display-settings{position:relative}.to-display-settings summary{height:35px;display:flex;align-items:center;list-style:none;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;color:#334155;font-size:11px;font-weight:850;cursor:pointer}.to-display-settings summary::-webkit-details-marker{display:none}.to-display-settings-panel{position:absolute;z-index:30;top:40px;left:0;display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:8px;width:360px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.15)}.to-display-settings-panel label{display:grid;gap:4px;color:#64748b;font-size:9px;font-weight:850}.to-display-settings-panel select{height:31px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:10px}.to-display-settings-panel small{grid-column:1/-1;color:#64748b;font-size:9px}
.to-font-small .to-table{font-size:10px}.to-font-normal .to-table{font-size:11px}.to-font-large .to-table{font-size:12px}.to-weight-bold .to-table td{font-weight:800}.to-text-navy .to-table td{color:#172554}.to-text-black .to-table td{color:#111827}

@media(max-width:680px){.to-display-settings-panel{position:fixed;left:10px;right:10px;top:auto;width:auto;grid-template-columns:1fr}.to-admin .to-table th[data-column="itemCode"],.to-admin .to-table td.to-code,.to-viewer .to-table th[data-column="itemCode"],.to-viewer .to-table td.to-code{position:static!important}.to-admin .to-table th:nth-child(2),.to-admin .to-table td:nth-child(2){position:sticky!important;left:var(--action-col-width)!important}}

/* V109 order-board corrections */
.to-production-input{font-variant-numeric:tabular-nums}.to-production-input:focus{background:#eff6ff}.to-team1-main-brother-total td{background:#dbeafe!important}.to-team1-ire-total td{background:#f1f5f9!important;color:#334155!important}

/* V120 R8: 품명까지 가로 고정, 날짜 입력칸 단일 박스 고정 */
.to-table{--name-col-width:300px}
.to-table td.to-name{width:var(--name-col-width);min-width:var(--name-col-width);max-width:var(--name-col-width);box-sizing:border-box}
.to-admin .to-table th[data-column="itemName"],.to-admin .to-table td.to-name{position:sticky;left:calc(var(--action-col-width) + var(--order-col-width) + var(--code-col-width));z-index:4;background:#fff}
.to-viewer .to-table th[data-column="itemName"],.to-viewer .to-table td.to-name{position:sticky;left:calc(var(--order-col-width) + var(--code-col-width));z-index:4;background:#fff}
.to-table thead th[data-column="itemName"]{z-index:10!important;background:#eaf1fb!important}
.to-admin .to-section-row [data-summary-col="itemName"],.to-admin .to-area-row [data-summary-col="itemName"],.to-admin .to-section-title [data-summary-col="itemName"],.to-admin .to-total-row [data-summary-col="itemName"],.to-admin .to-spec-total-row [data-summary-col="itemName"],.to-admin .to-grand-total-row [data-summary-col="itemName"]{position:sticky!important;left:calc(var(--action-col-width) + var(--order-col-width) + var(--code-col-width))!important;z-index:4!important}
.to-viewer .to-section-row [data-summary-col="itemName"],.to-viewer .to-area-row [data-summary-col="itemName"],.to-viewer .to-section-title [data-summary-col="itemName"],.to-viewer .to-total-row [data-summary-col="itemName"],.to-viewer .to-spec-total-row [data-summary-col="itemName"],.to-viewer .to-grand-total-row [data-summary-col="itemName"]{position:sticky!important;left:calc(var(--order-col-width) + var(--code-col-width))!important;z-index:4!important}
.to-date-filter{min-width:158px}.to-date-inputs{flex:0 0 158px!important;width:158px!important;min-width:158px!important;max-width:158px!important;overflow:hidden}.to-date-filter #toDateFilter{width:124px!important;min-width:124px!important;white-space:nowrap}.to-date-filter #toDatePickerButton{flex:0 0 32px;min-width:32px;line-height:31px}
.to-list-outline{display:flex;align-items:center;gap:7px;margin:0 0 8px;padding:6px 10px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1e3a8a;font-weight:800;cursor:pointer}.to-list-outline span{font-size:10px}.to-list-only .to-table-wrap{max-height:calc(100vh - 260px)}
.to-order-scheduled{background:#bfdbfe!important;color:#0f2f6b!important;box-shadow:inset 4px 0 #2563eb}.to-order-scheduled .to-code-line>span{font-weight:900}.to-order-scheduled:after{content:'스케줄 반영';display:block;margin-top:3px;color:#1d4ed8;font-size:10px;font-weight:800}

/* R108: fixed column widths, with sticky offsets following the saved widths. */
.to-table.to-resizable-table{table-layout:fixed;min-width:0}
.to-table.to-resizable-table [data-column-key]{width:var(--to-cell-width)!important;min-width:0!important;max-width:var(--to-cell-width)!important;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}
.to-table.to-resizable-table th{padding-right:13px}
.to-table.to-resizable-table td input:not([type="checkbox"]),.to-table.to-resizable-table td textarea,.to-table.to-resizable-table td select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.to-column-resizer{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;z-index:12;border-right:2px solid transparent}
.to-column-resizer:hover,.to-column-resizer:focus{border-right-color:#2563eb;background:#bfdbfe;outline:none}
body.to-column-resizing,body.to-column-resizing *{cursor:col-resize!important;user-select:none!important}
.to-table td.to-order-scheduled{background:#bfdbfe!important;color:#0f2f6b!important}

/* R115_TEAM_ORDER_EXCEL_FILTER: separate hit targets for filters and column resizing. */
.to-column-heading{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0}
.to-column-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.to-app .to-column-filter-button{flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:23px;padding:0;border:1px solid #bdcde3;border-radius:4px;background:#f8fbff;color:#58708f;font-size:13px;line-height:1}
.to-app .to-column-filter-button:hover,.to-app .to-column-filter-button[aria-expanded="true"]{border-color:#2563eb;background:#dbeafe;color:#1d4ed8}
.to-app .to-column-filter-button.is-active{background:#2563eb;border-color:#1d4ed8;color:#fff}
.to-table thead th.to-column-filtered{box-shadow:inset 0 -3px 0 #2563eb}
.to-column-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:25px;font-size:11px;color:#64748b}
.to-app .to-filter-chip{display:inline-flex;align-items:center;gap:6px;max-width:320px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:5px 8px;border-color:#bfdbfe;border-radius:6px;background:#eff6ff;color:#1d4ed8;font-size:11px}
.to-filter-chip span{font-size:15px;line-height:1}
.to-column-filter-popup{position:fixed;z-index:1500;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;width:330px;max-width:calc(100vw - 20px);padding:14px;border:1px solid #b8cae3;border-radius:12px;background:#fff;box-shadow:0 12px 38px rgba(15,23,42,.23);font:12px/1.45 'Malgun Gothic',Arial,sans-serif;color:#1e293b;text-align:left;isolation:isolate;overflow:auto}
.to-column-filter-popup *{box-sizing:border-box}
.to-column-filter-popup button{padding:7px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font:700 12px/1.4 'Malgun Gothic',Arial,sans-serif;cursor:pointer}
.to-column-filter-popup button:hover{border-color:#93b4df;background:#eff6ff}
.to-column-filter-popup button:disabled{opacity:.45;cursor:default}
.to-column-filter-popup input[type="checkbox"]{width:15px;height:15px;margin:0;flex:0 0 15px;accent-color:#2563eb;cursor:pointer}
.to-column-filter-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto}
.to-column-filter-title strong{font-size:14px;overflow-wrap:anywhere}
.to-column-filter-title button{padding:0 6px;border:0;font-size:23px;line-height:1;color:#64748b}
.to-column-filter-popup .to-filter-clear{text-align:left;border:0;border-bottom:1px solid #e2e8f0;border-radius:0;padding:5px 0 10px;color:#2563eb}
.to-column-filter-popup .to-column-filter-search{flex:0 0 auto;width:100%;height:35px;min-height:35px;margin:0;padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a;font:inherit}
.to-filter-select-all{display:flex;align-items:center;gap:9px;padding:5px 8px;font-weight:700;cursor:pointer;flex:0 0 auto}
.to-column-filter-values{min-height:65px;max-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid #e2e8f0;border-radius:6px;padding:4px;flex:1 1 auto}
.to-column-filter-option{display:flex;align-items:center;gap:9px;min-height:30px;padding:5px 5px;cursor:pointer;border-radius:4px;font-weight:400}
.to-column-filter-option:hover{background:#eff6ff}
.to-column-filter-option>span{flex:1;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}
.to-column-filter-option small{flex:0 0 auto;color:#64748b;font-size:10px}
.to-column-filter-option.is-unavailable{color:#94a3b8}
.to-column-filter-count,.to-filter-no-values{margin:0;color:#64748b;font-size:11px}
.to-filter-no-values{padding:12px 5px}
.to-column-filter-count{flex:0 0 auto;min-height:16px}
.to-column-filter-footer{display:flex;justify-content:flex-end;gap:7px;flex:0 0 auto}
.to-column-filter-popup .to-filter-apply{background:#2563eb;border-color:#2563eb;color:#fff;min-width:65px}
.to-column-filter-popup .to-filter-apply:hover{background:#1d4ed8}
.to-column-filter-popup :focus-visible,.to-column-filter-button:focus-visible,.to-filter-chip:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
[data-schedule-status]{color:#9a3412}
