.focus-shell{--fc-bg:#f7f6f3;--fc-panel:#fff;--fc-text:#27303c;--fc-muted:#637083;--fc-line:#e9e7e3;--fc-accent:#ad4c20;--fc-soft:#fff0e5;--fc-red:#b33d35;color:var(--fc-text);display:grid;gap:18px;font-size:14px}
.focus-shell *,.focus-dialog *{box-sizing:border-box}
.focus-shell h2,.focus-shell h3,.focus-shell p{margin:0}.focus-shell h2{font-size:23px}.focus-shell h3{font-size:16px}
.fc-head,.fc-section-head,.fc-actions,.fc-filters,.fc-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fc-head small,.fc-muted{color:#637083;font-size:12px}.fc-head small{display:block;margin-top:5px}
.focus-shell button,.focus-dialog button{font:inherit;cursor:pointer;border:1px solid #e3dfd8;border-radius:8px;padding:8px 12px;background:#fff;color:#384252}
.focus-shell button:hover,.focus-dialog button:hover{background:#fff5ed;border-color:#dcba9e}.focus-shell button:disabled,.focus-dialog button:disabled{cursor:default;opacity:.55}
.focus-shell button:focus-visible,.focus-dialog button:focus-visible,.fc-tree summary:focus-visible{outline:2px solid #ab4d24;outline-offset:3px}
.focus-shell .fc-primary,.focus-dialog .fc-primary{background:#ad4c20;color:#fff;border-color:#ad4c20}.focus-shell .fc-primary:hover,.focus-dialog .fc-primary:hover{background:#8e3d18}
.fc-tabs{display:flex;gap:7px;flex-wrap:wrap}.fc-tabs button[aria-selected=true]{background:#fff0e5;color:#964119;border-color:#edc6a5;font-weight:600}
.fc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fc-kpi{background:#fff;border:1px solid #efede8;border-radius:13px;padding:17px;min-width:0}.fc-kpi span{color:#637083;font-size:13px}.fc-kpi strong{display:block;font-size:27px;line-height:1.4;margin-top:5px;font-variant-numeric:tabular-nums;font-weight:650}.fc-kpi small{display:block;color:#637083;font-size:12px;margin-top:3px}
.fc-panel{background:#fff;border:1px solid #efede8;border-radius:13px;padding:20px;min-width:0}.fc-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.fc-section-head{margin-bottom:16px}.fc-section-head .fc-actions{justify-content:flex-end}
.fc-empty{padding:28px 12px;text-align:center;color:#637083;line-height:1.8}.fc-empty strong{display:block;color:#374151;font-size:15px}.fc-error{color:#a93029;white-space:pre-wrap;padding:10px 0}.fc-error:empty{display:none}
.fc-tree,.fc-tree ul{list-style:none;padding:0;margin:0}.fc-tree ul{padding-left:14px;border-left:1px solid #e9e7e3;margin-left:6px}.fc-tree li{padding:5px 0}.fc-tree summary{cursor:pointer;line-height:2}.fc-tree button{width:100%;text-align:left;border:0;background:transparent;display:flex;justify-content:space-between;gap:10px;padding:7px 8px}.fc-tree button small{color:#637083;white-space:nowrap}.fc-tree .fc-selected{background:#fff0e5;color:#964119}
.fc-ring-layout{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;padding:14px 0}.fc-ring{width:172px;height:172px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.fc-ring-hole{width:123px;height:123px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.fc-ring-hole b{font-size:23px;font-variant-numeric:tabular-nums}.fc-ring-hole span{font-size:12px;color:#637083}.fc-legend{display:grid;gap:11px;min-width:130px;max-width:100%}.fc-legend>div{display:flex;gap:8px;align-items:center;font-size:13px}.fc-legend i{width:10px;height:10px;border-radius:3px;flex-shrink:0}.fc-legend b{margin-left:auto;white-space:nowrap;padding-left:12px;font-weight:500}.fc-legend span{overflow-wrap:anywhere}
.fc-task{display:grid;grid-template-columns:minmax(0,1fr) 110px 90px auto;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #efede8}.fc-task:first-of-type{border-top:0}.fc-task-title{font-weight:550;overflow-wrap:anywhere}.fc-task-title small{font-size:12px;color:#637083;display:block;font-weight:400;margin-top:3px}.fc-task>span{color:#637083;font-size:12px}.fc-overdue{color:#b33d35!important}.fc-tag{display:inline-block;padding:3px 7px;background:#f4f2ee;color:#62666d;border-radius:5px;font-size:12px;white-space:nowrap}.fc-tag.urgent{background:#fff0e5;color:#a84617}.fc-tag.done{background:#edf6f1;color:#287153}
.fc-filters{justify-content:flex-start;margin-bottom:16px}.fc-filters input[type=search]{flex:1;min-width:160px;max-width:380px}.focus-shell input,.focus-shell select,.focus-dialog input,.focus-dialog select,.focus-dialog textarea{font:inherit;border:1px solid #dcdfe4;border-radius:7px;padding:9px 10px;background:#fff;color:#27303c;max-width:100%}.focus-shell select,.focus-dialog select{min-height:38px}.fc-filters label{display:flex;gap:6px;align-items:center;color:#637083}.fc-filters input[type=checkbox]{width:17px;height:17px}
.fc-table-wrap{overflow-x:auto}.fc-table{width:100%;border-collapse:collapse;font-size:13px}.fc-table th,.fc-table td{padding:12px 10px;border-bottom:1px solid #eeece8;text-align:left;white-space:normal;min-width:70px}.fc-table th{color:#637083;font-weight:500;background:#faf9f7}.fc-table td small{display:block;color:#637083;font-size:12px}.fc-table .fc-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.fc-pagination{justify-content:flex-end;padding-top:14px;color:#637083;font-size:12px}
.fc-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fc-lane{background:#f5f3ef;border-radius:12px;padding:12px;min-width:0}.fc-lane h3{display:flex;justify-content:space-between;gap:6px;font-size:14px;margin:2px 0 14px}.fc-lane h3 span{color:#637083;font-weight:400}.fc-work-card{width:100%;display:block;text-align:left!important;margin-top:10px;padding:12px!important;border:1px solid #e8e3da!important;background:#fff!important}.fc-work-card img{width:100%;height:100px;object-fit:contain;background:#faf9f7;border-radius:5px;margin-bottom:9px}.fc-work-card b{display:block;overflow-wrap:anywhere;font-size:14px;margin:4px 0}.fc-work-card small{display:block;color:#637083;font-size:12px;margin-top:5px}.fc-work-card .fc-card-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.fc-card-meta span{font-size:12px;color:#637083}
.fc-details{border-top:1px solid #e8e4dd;padding-top:14px}.fc-details summary{cursor:pointer;color:#5d6876;line-height:2}.fc-details>div{padding-top:12px}.fc-details p{color:#637083;line-height:1.8}.fc-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fc-detail-metrics>div{padding:12px;background:#f8f7f4;border-radius:8px}.fc-detail-metrics span{display:block;color:#637083;font-size:12px}.fc-detail-metrics b{font-size:18px}
.fc-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fc-shortcuts button{padding:20px;text-align:left;background:#fff;min-height:90px}.fc-shortcuts b{display:block;font-size:16px;margin-bottom:6px}.fc-shortcuts small{color:#637083}.fc-footer{color:#637083;font-size:12px;display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}
.focus-dialog{width:min(900px,calc(100vw - 32px));max-height:90vh;overflow-y:auto;border:1px solid #e5e1db;border-radius:16px;padding:0;color:#27303c;box-shadow:0 24px 80px #17233533;background:#fff}.focus-dialog::backdrop{background:#1d26334d}.focus-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #eae7e1;gap:12px}.focus-dialog h2{font-size:18px;margin:0}.focus-dialog header button{font-size:19px;padding:4px 10px}.fc-dialog-body{padding:20px 22px}.focus-dialog form{display:grid;gap:16px}.fc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fc-form-grid label,.fc-field{display:grid;gap:6px;font-size:13px}.fc-form-grid .fc-full{grid-column:1/-1}.focus-dialog textarea{resize:vertical;min-height:90px;width:100%}.fc-form-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #eae7e1;padding-top:16px}.fc-checks{display:grid;gap:8px}.fc-checks label{display:flex;gap:8px;align-items:center}.fc-checks input{width:17px;height:17px}.fc-history{display:grid;gap:10px;margin-top:12px}.fc-history>div{border-left:2px solid #e9e2d8;padding-left:12px}.fc-history small{display:block;color:#637083}.fc-history p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0;font-size:13px}.fc-versions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.fc-version{border:1px solid #e8e4dd;border-radius:8px;padding:10px;min-width:0}.fc-version img{width:100%;height:120px;object-fit:contain;background:#faf9f7}.fc-version a{color:#a6481e}.fc-version small{display:block;color:#637083;overflow-wrap:anywhere}.fc-version p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.fc-upload{padding:12px;background:#faf8f4;border-radius:8px}.fc-upload label{display:grid;gap:6px}.focus-dialog .fc-readonly{background:#f6f5f1;padding:12px;border-radius:8px;color:#637083}.fc-bars{display:grid;gap:12px}.fc-bar-label{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:5px}.fc-bar-track{height:10px;background:#f4f1ec;border-radius:3px;overflow:hidden}.fc-bar-track i{display:block;height:100%;background:#da8656}
body.focus-mode #floatingToolRail,body.focus-mode .global-ai-entry,body.focus-mode #drawer,body.focus-mode .tool-drawer-v2,body.focus-mode #overlay,body.focus-mode #aiOverlayV2,body.focus-mode .topbar .search,body.focus-mode .topbar .icon-btn{display:none!important}.focus-shell [hidden],.focus-dialog [hidden]{display:none!important}
@media(max-width:1000px){.fc-board{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-two{grid-template-columns:1fr}.fc-panel{padding:15px}.fc-head h2{font-size:20px}.fc-task{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}.fc-task>span{grid-row:2}.fc-task button{grid-column:2;grid-row:1}.fc-form-grid{grid-template-columns:1fr}.fc-versions{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-dialog-body,.focus-dialog header{padding:16px}.focus-shell input,.focus-shell select,.focus-dialog input,.focus-dialog select,.focus-dialog textarea{font-size:16px}}
@media(max-width:420px){.fc-board,.fc-shortcuts{grid-template-columns:1fr}.fc-kpi{padding:12px}.fc-kpi strong{font-size:23px}}
@media(pointer:coarse){.focus-shell button,.focus-dialog button{min-height:44px}}

.fc-category-chart{overflow-x:auto}.fc-category-chart svg{display:block;width:100%;min-width:400px;height:auto}

/* The visual queue counts styles, even when several SKU orders are open. */
.vq-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.vq-cards button{display:grid;align-content:start;justify-items:start;gap:6px;min-width:0;padding:16px 18px;border:1px solid #dbe4df;border-radius:12px;background:#fff;color:#243a32;text-align:left}
.vq-cards .vq-metric-label{font-size:14px;font-weight:600}
.vq-cards button strong{font-size:clamp(26px,3vw,38px);font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}
.vq-cards button small{color:#52675e;font-size:12px}
.vq-cards button[aria-pressed=true]{border-color:#16654e;background:#eff8f3;box-shadow:inset 0 2px #16654e}
.vq-cards button:focus-visible{outline:2px solid #16654e;outline-offset:2px}
.vq-detail{min-width:0}.vq-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.vq .vq-toolbar h2{font-size:18px}
.vq .fc-table-wrap td:nth-child(3){white-space:nowrap;color:#52675e;font-variant-numeric:tabular-nums}
.vq-filters,.vq-job,.vq-notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.vq-filters input,.vq-filters select{border:1px solid #cedbd6;border-radius:8px;padding:8px 10px;background:white}
.vq table{width:100%;border-collapse:collapse}.vq th,.vq td{text-align:left;border-bottom:1px solid #e7ece9;padding:10px 6px}.vq td small{display:block;color:#667a72;margin-top:3px}
.vq-tag{display:inline-block;padding:3px 9px;border-radius:8px;background:#f1f2f3;color:#49555a}
.vq-tag.in_progress{background:#fff1da;color:#805100}.vq-tag.completed{background:#e4f5ec;color:#1a6548}
.vq-job+.vq-job{margin-top:6px}.vq-action,.vq-notice button{padding:5px 10px;border-radius:7px;border:1px solid #b6cfc3;background:white;color:#1a614e;cursor:pointer}
.vq-notice{margin:12px 20px;padding:11px 14px;background:#eff8f3;border:1px solid #c3ddce;border-radius:12px;color:#234b3c}
.vq-notice div{display:flex;gap:12px;flex:1;flex-wrap:wrap}.vq-notice .vq-primary{background:#186f5c;color:white}
.vq-filters select[hidden]{display:none}.vq .fc-error:empty{display:none}
@media(max-width:900px){.vq-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.vq-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vq-cards button{padding:12px}.vq-cards button[data-lane=month]{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center}.vq-cards button[data-lane=month] strong{grid-area:1/2/3/3}.vq-notice{margin:8px}.vq td{overflow-wrap:anywhere}.vq-filters input{min-width:0;max-width:100%}.vq-toolbar{align-items:flex-start}}
