:root{font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Segoe UI,sans-serif;color:#172029;background:#f3f4f6;--line:#e2e6eb;--muted:#6b7784;--bad:#b93636}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd7d17;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h2{font-size:27px;letter-spacing:-1px;line-height:1.4}h3,h4{font-size:14px}p{line-height:1.7}.mono{font-family:ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums}.muted,.tiny{color:var(--muted)}.tiny{font-size:11px}.bad-text{color:var(--bad)}.between{display:flex;justify-content:space-between;align-items:center;gap:8px}.dev-banner{min-height:36px;background:#18212a;color:#e9edf0;display:flex;justify-content:center;gap:12px;padding:9px 20px;font-size:11px;line-height:1.6}.dev-banner b{color:#f5c875;white-space:nowrap}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 15px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 29px}.brand b{font-size:19px;letter-spacing:-.8px}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:4px}.brand-mark{width:33px;height:32px;display:flex;align-items:end;gap:4px;transform:skewY(-10deg)}.brand-mark span{width:8px;background:#d79b30;height:31px}.brand-mark span:nth-child(2){height:23px}.brand-mark span:nth-child(3){height:15px}.nav-label{font-size:10px;color:#84909c;padding:9px 12px}.nav-button{display:flex;align-items:center;gap:11px;min-height:46px;background:none;border:0;width:100%;text-align:left;border-radius:7px;padding:0 12px;color:#4a5563;font-size:13px;margin-bottom:4px}.nav-button.active{background:#fbf0db;color:#513c18;box-shadow:inset 3px 0 #d99420;font-weight:700}.nav-count{margin-left:auto;font-size:11px;color:#99691f}.nav-divider{height:1px;background:var(--line);margin:21px 10px 12px}.future-nav{font-size:12px;color:#84909c;line-height:2;padding:5px 12px}.side-footer{margin-top:auto;padding:32px 12px 4px;color:#7f8b97;display:flex;flex-direction:column;gap:7px;font-size:11px}.side-footer b{color:#52616d;font-size:11px}.side-footer small{font-size:10px}.side-footer>svg{margin-bottom:10px}.main-shell{min-width:0}.topbar{height:72px;display:flex;align-items:center;gap:18px;background:#fff;border-bottom:1px solid var(--line);padding:0 30px}.topbar h1{font-size:15px}.top-date{font-size:12px;color:var(--muted)}.top-clock{font-size:10px;color:#3d7756;border:1px solid #dbe9e0;background:#f4f9f6;border-radius:20px;padding:5px 9px;display:flex;align-items:center;gap:6px}.top-clock i,.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#479365}.top-person{margin-left:auto;display:flex;align-items:center;gap:8px;border-left:1px solid var(--line);padding-left:20px}.top-person b{display:block;font-size:11px}.top-person small{font-size:9px;color:var(--muted)}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#f2f4f6;border:1px solid var(--line);border-radius:50%;font-size:12px}main{padding:22px 30px;min-width:0;background-image:linear-gradient(#17202904 1px,transparent 1px),linear-gradient(90deg,#17202904 1px,transparent 1px);background-size:28px 28px}.stage-note{display:flex;justify-content:space-between;font-size:10px;color:#76828e;border-bottom:1px solid #dde2e7;padding-bottom:12px;margin-bottom:22px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.eyebrow{font-size:9px;color:#9b722b;font-weight:700;letter-spacing:1.6px;margin-bottom:6px}.page-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin-top:7px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;background:#fff;border:1px solid #d7dde4;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;color:#253341}.button.primary{background:#dca43d;border-color:#dca43d;color:#302208}.danger-button{border-color:#e6caca;color:var(--bad)}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;margin-bottom:22px}.metric{padding:17px 14px 13px;border-left:1px solid var(--line);min-width:0}.metric:first-child{border-left:0}.metric-label{font-size:11px;color:#6d7985;display:flex;gap:6px;white-space:nowrap}.metric-label>span{color:#b08438;font-family:monospace;font-size:9px}.metric>strong{display:block;font-family:ui-monospace,monospace;font-size:29px;line-height:1.2;letter-spacing:-1.4px;margin-top:10px}.metric>strong span{font-size:12px;color:#62707e;letter-spacing:0;margin-left:4px;font-weight:500}.metric.danger>strong{color:var(--bad)}.metric p{font-size:9px;color:#82909b;margin-top:8px;line-height:1.6}.progress{height:4px;border-radius:10px;background:#e7ebef;overflow:hidden;margin-top:10px}.progress i{display:block;height:100%;background:#dca43d}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;margin-bottom:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden;box-shadow:0 1px 2px #17202903}.panel-head{padding:17px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:69px}.panel-head h3{font-size:14px}.panel-head p{font-size:10px;color:var(--muted);margin-top:3px}.machine-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}.machine{min-width:0;position:relative;background:#f8fafb;border:1px solid #e5e9ed;border-radius:7px;padding:12px 11px 10px;overflow:hidden}.machine:before{position:absolute;content:"";left:0;top:0;bottom:0;width:3px;background:#aeb8c1}.machine.ok:before{background:#33805a}.machine.amber:before{background:#d6a240}.machine.bad:before{background:#c84c4c}.machine.bad{background:#fff7f7;border-color:#edcbcb}.machine .mono{font-size:11px}.machine h4{font-size:11px;margin-top:10px;white-space:nowrap;letter-spacing:-.3px}.machine-item{font-size:10px;color:#465562;border-top:1px solid #e3e8ed;padding-top:9px;margin-top:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.machine>.tiny{font-size:9px;margin-top:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.machine.ok .progress i{background:#36825b}.machine.bad .progress i{background:#c45555}.machine-bottom{margin-top:8px;font-size:9px;min-height:16px}.tag{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;min-height:21px;padding:3px 7px;border-radius:4px;font-size:9px;font-weight:600;line-height:1.2;background:#eef1f3;color:#647581}.tag i{width:4px;height:4px;border-radius:50%;background:currentColor}.tag.ok{background:#e8f5ed;color:#23744f}.tag.bad{background:#fceced;color:#b93636}.tag.amber{background:#fff4dd;color:#956317}.todo-list{padding:1px 0}.todo-item{border:0;border-bottom:1px solid #edf0f3;width:100%;background:#fff;display:flex;align-items:center;text-align:left;padding:16px 18px;gap:12px;min-height:76px}.todo-item>span:nth-child(2){flex:1}.todo-item b{font-size:12px;display:block}.todo-item small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.todo-item>svg{color:#85919c}.todo-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.todo-dot.bad{background:#bd4d4d}.todo-dot.amber{background:#cc9844}.todo-dot.blue{background:#4584b2}.production-target{margin:15px;padding:14px;background:#f8f9fb;border:1px solid #e7ebef;border-radius:6px}.production-target h4{font-size:11px}.production-target svg{color:#ac8038}.production-target>strong{display:block;font-size:27px;letter-spacing:-1px;margin:12px 0}.production-target small{font-size:12px;color:#8c98a4;letter-spacing:0}.production-target p{font-size:10px;color:var(--muted);margin-top:9px}.order-row{padding:16px 18px;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e9edf1}.order-row:last-child{border-bottom:0}.order-row h4{font-size:13px;margin-top:6px}.order-row p{font-size:10px;margin-top:5px}.order-right{display:flex;align-items:flex-end;flex-direction:column;gap:6px;font-size:10px;white-space:nowrap}.order-right b{font-family:monospace;font-size:13px}.order-right>span:not(.tag){color:#6a7782}.part-illustration{display:block;width:100%;height:auto;background:#f8fbfd}.drawing-caption{display:flex;justify-content:space-between;gap:9px;font-size:11px;padding:14px 18px;border-top:1px solid #e3e9ee}.drawing-caption>span{font-size:10px;color:#7d8b97}.page-footer{font-size:10px;color:#86929d;border-top:1px solid #dfe5eb;padding:17px 0 0;margin-top:28px}.context-banner{display:flex;align-items:center;gap:12px;background:#fff5e6;border:1px solid #efdbbc;border-radius:7px;padding:16px 18px;margin-bottom:20px;color:#7e5924;font-size:12px}.context-banner>svg{flex-shrink:0}.context-banner p{font-size:11px;color:#997851;margin-top:3px}.two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr);gap:20px;align-items:start}.gantt{padding:16px;overflow:hidden}.gantt-times{display:flex;justify-content:space-between;padding:0 0 12px 54px;color:#81909b;font-family:monospace;font-size:10px}.gantt-row{display:grid;grid-template-columns:54px 1fr;align-items:center;height:58px;border-top:1px solid #e5eaf0}.gantt-row>strong{font-size:11px}.gantt-lane{height:100%;position:relative;border-left:1px solid #e5eaf0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#e9edf1 calc(25% - 1px),#e9edf1 25%)}.gantt-job{position:absolute;top:14px;min-height:29px;padding:7px;border-radius:4px;font-size:9px;white-space:nowrap;overflow:hidden;max-width:100%;color:#3d6952;background:#e9f3ec}.gantt-job.bad{background:repeating-linear-gradient(135deg,#b34949,#b34949 6px,#bc5555 6px,#bc5555 12px);color:#fff}.gantt-job.muted{border:1px dashed #879eaf;background:#f1f5f8;color:#58758b}.panel-note{font-size:11px;color:var(--muted);margin:0 18px 18px;padding-top:15px;border-top:1px solid var(--line);line-height:1.8}.form-content{padding:20px;display:flex;flex-direction:column;gap:18px}.form-content h3{font-size:20px}.quantity-strip{display:flex;background:#f7f9fb;border:1px solid #e5eaf0;border-radius:6px;min-width:0}.quantity-strip>div{padding:13px 5px;text-align:center;flex:1;min-width:0;border-right:1px solid #e4e9ee}.quantity-strip>div:last-child{border:0}.quantity-strip span{font-size:10px;display:block;color:var(--muted);margin-bottom:7px}.quantity-strip b{font-size:16px;font-family:ui-monospace,monospace}label{font-size:12px;font-weight:600;color:#40515f;display:flex;flex-direction:column;gap:8px;min-width:0}input,select,textarea{border:1px solid #d7dfe6;border-radius:6px;background:#fff;min-height:44px;padding:10px 11px;width:100%;max-width:100%;color:#243542;font-size:12px}textarea{resize:vertical;min-height:85px;line-height:1.6}.field-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.inline-result{display:flex;align-items:flex-start;gap:8px;padding:13px;background:#eff6f1;border:1px solid #d5e4d9;color:#41624e;border-radius:6px;font-size:11px;line-height:1.7}.inline-result svg{flex-shrink:0}.next-steps{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#697d8c}.next-steps p{display:flex;align-items:center;gap:8px}.worker-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;max-width:1080px}.work-card{padding:24px;display:flex;flex-direction:column;gap:17px}.work-card>.between>.mono{font-size:12px;color:var(--muted)}.work-card>p{font-size:12px;color:var(--muted)}.work-card h2{font-size:25px}.work-machine{display:flex;align-items:center;gap:13px;background:#f5f7f9;border:1px solid #e2e8ed;padding:16px;border-radius:6px;color:#607583}.work-machine b{font-size:13px;color:#344958}.work-machine span{display:block;font-size:11px;margin-top:5px}.work-progress{padding:10px 0}.work-progress strong{display:inline-block;font-family:monospace;font-size:49px;letter-spacing:-2px}.work-progress strong small{font-size:20px;color:#81909d;letter-spacing:0}.work-progress>span{float:right;font-size:11px;color:var(--muted);margin-top:36px}.work-progress .progress{height:7px;margin-top:15px}.work-warning{display:flex;align-items:center;gap:10px;font-size:11px;color:#94743a;background:#fff9ee;border:1px solid #eee0c9;padding:12px;border-radius:6px}.work-warning svg{flex-shrink:0}.form-content>.muted{font-size:11px}.recent-log{padding-top:15px;border-top:1px solid var(--line)}.recent-log h4{font-size:12px;margin-bottom:12px}.recent-log>div{display:flex;gap:16px;font-size:11px;color:#657785;line-height:3}.recent-log>div>span{font-family:monospace;color:#94a1ac}.quality-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.report-list{padding:12px;display:flex;flex-direction:column;gap:10px}.report-item{padding:14px;border:1px solid #e1e7ed;background:#fff;border-radius:7px;text-align:left;width:100%;display:flex;flex-direction:column;gap:10px;min-height:170px;color:#415566}.report-item.selected{background:#fffbf3;border-color:#e1b65f;box-shadow:inset 3px 0 #dca43d}.report-item>.between{width:100%}.report-item b{font-size:10px}.report-item>strong{font-size:13px}.report-item>span:not(.between){font-size:11px;color:var(--muted);line-height:1.7}.report-item>small{font-size:10px;color:#8b99a4}.small-top{padding-top:5px;gap:12px}.quality-body{padding:20px;display:flex;flex-direction:column;gap:20px}.drawing-box{max-width:520px;width:100%;margin:auto;border:1px solid #dfe7ed;border-radius:6px;overflow:hidden}.drawing-box .part-illustration{max-height:190px}.measurement-table{width:100%;border:1px solid #e1e7ed;border-radius:6px;overflow:hidden}.measurement-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,1.3fr) 100px;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid #e6ebf0;font-size:11px}.measurement-row.header{border:0;background:#f7f9fb;color:#85929d;font-size:10px}.measurement-row input{font-family:monospace;font-size:12px;padding:7px 9px;min-height:44px}.measurement-row>strong{font-weight:500}.measurement-row .mono{font-size:11px;color:#6c8090}.context-banner.compact{margin:0;font-size:11px;padding:13px}.context-banner.compact p{font-size:10px}.decision-options{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.decision-options legend{font-size:12px;font-weight:600;color:#40515f;margin-bottom:11px}.decision-options label{padding:13px 10px;border:1px solid #dae2e9;border-radius:6px;display:flex;flex-direction:row;align-items:flex-start;gap:7px;min-height:76px;cursor:pointer}.decision-options label.selected{border-color:#d4a349;background:#fffbf2}.decision-options input{width:16px;height:16px;min-height:0;margin:0;accent-color:#b7832a}.decision-options b{font-size:11px;display:block}.decision-options small{font-size:9px;display:block;color:#81909d;line-height:1.5;margin-top:6px;font-weight:400}.quality-footer .muted{font-size:10px}.mobile-only{display:none}.icon-button{width:44px;height:44px;border:1px solid #dfe4e9;border-radius:6px;background:#fff;align-items:center;justify-content:center;color:#435665}.menu-backdrop{display:none}@media(max-width:1240px){.app-shell{grid-template-columns:190px minmax(0,1fr)}main{padding:20px}.topbar{padding:0 20px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric:nth-child(4){border-left:0}.metric:nth-child(n+4){border-top:1px solid var(--line)}.dashboard-grid{grid-template-columns:minmax(0,1fr) 280px}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:minmax(0,1fr)}.quality-layout{grid-template-columns:245px minmax(0,1fr)}.decision-options{grid-template-columns:1fr}.quality-footer{align-items:stretch;flex-direction:column}}@media(max-width:850px){.dashboard-grid,.quality-layout,.worker-layout{grid-template-columns:1fr}.report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}.page-heading>.button{max-width:160px;white-space:normal}.top-date{display:none}}@media(max-width:640px){.dev-banner{font-size:10px;padding:9px 16px;align-items:flex-start;gap:8px;justify-content:flex-start}.app-shell{display:block}.sidebar{display:none;position:fixed;inset:0 auto 0 0;width:274px;padding:25px 17px}.sidebar.open{display:flex}.brand .icon-button{margin-left:auto;border:0}.menu-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#17202970;z-index:15}.topbar{height:65px;padding:0 16px;gap:10px;position:sticky;top:0;z-index:10}.mobile-only{display:inline-flex}.topbar h1{font-size:14px;white-space:nowrap}.top-clock{font-size:9px;padding:6px 7px;margin-left:auto;white-space:nowrap}.top-person{display:none}.topbar .icon-button{width:44px;min-width:44px;border:0}main{padding:16px}.stage-note{font-size:9px;margin-bottom:20px}.page-heading{flex-direction:column;gap:15px;margin-bottom:20px}.page-heading h2{font-size:24px}.page-heading p:not(.eyebrow){font-size:12px;line-height:1.8}.page-heading>.button{max-width:100%;width:100%}.eyebrow{font-size:8px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.metric{padding:15px 13px}.metric:nth-child(odd){border-left:0}.metric:nth-child(2n){border-left:1px solid var(--line)}.metric:nth-child(n+3){border-top:1px solid var(--line)}.metric>strong{font-size:29px}.metric p{font-size:9px;min-height:29px}.dashboard-grid{gap:18px;margin-bottom:18px}.panel-head{padding:15px 14px;gap:6px}.panel-head h3{font-size:13px}.panel-head p{font-size:10px}.panel-head>.tiny{font-size:9px;white-space:nowrap}.machine-grid{padding:11px;gap:8px}.machine{padding:12px 10px 11px}.machine h4{font-size:12px}.machine-item{font-size:11px}.machine>.tiny{font-size:9px}.machine-bottom{font-size:10px}.tag{font-size:9px;padding:4px 6px}.todo-item{padding:16px}.todo-item b{font-size:13px}.todo-item small{font-size:11px}.order-row{padding:15px 14px;gap:8px}.order-row>.order-right{min-width:62px}.order-row .tiny{font-size:9px}.order-row h4{font-size:12px}.order-row p{font-size:10px;max-width:214px}.order-right{font-size:9px}.page-footer{font-size:9px;line-height:1.8}.two-col{gap:18px}.context-banner{font-size:11px;padding:14px;align-items:flex-start}.context-banner p{font-size:10px}.gantt{padding:15px 12px}.gantt-row{grid-template-columns:46px 1fr;height:55px}.gantt-row>strong{font-size:10px}.gantt-times{padding-left:46px;font-size:9px}.gantt-job{font-size:8px;padding:8px 5px}.panel-note{font-size:10px;margin:0 14px 14px}.form-content{padding:17px;gap:17px}.form-content h3{font-size:20px}input,select,textarea{font-size:16px;padding:10px 9px}.field-pair{gap:10px}.field-pair input[type=date]{font-size:12px;min-width:0}.field-pair input[type=time]{font-size:14px}.quantity-strip>div{padding:14px 3px}.quantity-strip b{font-size:17px}.button{min-height:46px;font-size:12px}.work-card{padding:18px;gap:17px}.work-machine{padding:13px}.work-machine b{font-size:12px}.work-progress strong{font-size:51px}.work-progress strong small{font-size:22px}.report-list{gap:8px;padding:11px}.report-item{padding:11px;gap:10px;min-height:183px}.report-item .between{flex-direction:column;align-items:flex-start;gap:8px}.report-item>span:not(.between){font-size:10px}.quality-body{padding:14px;gap:17px}.measurement-row{grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr) 72px;gap:5px;padding:9px 7px;font-size:10px}.measurement-row.header{font-size:9px}.measurement-row .mono{font-size:9px;letter-spacing:-.7px;white-space:nowrap}.measurement-row input{padding:8px 4px;font-size:13px}.decision-options{grid-template-columns:1fr}.decision-options label{padding:14px;min-height:64px}.decision-options b{font-size:12px}.decision-options small{font-size:10px}.decision-options input{width:18px;height:18px;min-height:0}.quality-footer{gap:12px}.drawing-caption{padding:13px;font-size:11px}.drawing-caption>span{font-size:9px}.worker-layout{gap:18px}.top-clock i{display:none}}@media print{.sidebar,.dev-banner,.topbar,.stage-note,.page-footer,button{display:none!important}.app-shell,.dashboard-grid,.two-col,.quality-layout,.worker-layout{display:block}main{padding:0;background:#fff}.panel{break-inside:avoid;margin-bottom:12px;box-shadow:none}}.api-error,.empty-state{padding:48px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;color:#7c8c98;min-height:210px}.api-error h3{color:#80532c}.api-error p,.empty-state p{font-size:12px;max-width:520px}.api-row-list{display:flex;flex-direction:column}.api-row{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;gap:15px;border-top:1px solid #e8edf1}.api-row:first-child{border-top:0}.api-row h4{margin-top:6px}.api-row p,.api-row small{font-size:11px;color:#7b8e9b}.api-row-end{display:flex;gap:12px;align-items:center}.list-toolbar{padding:15px 20px;border-bottom:1px solid #e5eaf0}.search-field{max-width:420px}.continue-card{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #dfbd7d;background:#fffbf2;padding:18px;border-radius:8px;margin-bottom:20px}.continue-card h3{margin-top:7px}.read-pending{color:#81909b;font-size:12px;margin-top:18px;line-height:1.7}.dialog-layer{position:fixed;top:0;right:0;bottom:0;left:0;background:#17202988;z-index:50;display:flex;align-items:center;justify-content:center;padding:25px}.dialog-box{background:#fff;border-radius:10px;width:620px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 15px 70px #0003}.dialog-box>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #e0e6eb;position:sticky;top:0;background:#fff;z-index:2}.dialog-box>header .icon-button{display:flex}.drawing-detail{border:1px solid #dfe7ed;border-radius:6px;padding:15px;display:flex;flex-direction:column;gap:15px}.file-actions{display:flex;gap:8px;flex-wrap:wrap}.file-actions p{width:100%;font-size:11px}.process-step{padding:18px;display:flex;gap:15px;align-items:flex-start;border-top:1px solid #e2e8ed}.process-step:first-child{border:0}.process-step>div:nth-child(2){flex:1;min-width:0}.process-step p{font-size:11px;color:#718594;margin-top:5px}.process-number{background:#fbf1dd;border:1px solid #e7d6b8;width:30px;height:30px;display:grid;place-items:center;border-radius:5px;font-size:12px;color:#9c7333;flex-shrink:0}.role-picker{margin-left:auto;width:128px}.role-picker select{min-height:44px;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:640px){.role-picker{width:90px;margin-left:auto}.role-picker select{font-size:11px;padding:8px 6px}.topbar:has(.role-picker) .top-clock{display:none}.dialog-layer{padding:12px}.dialog-box{max-height:94dvh}.dialog-box>header{padding:12px 15px}.api-row{padding:15px;gap:10px}.api-row-end{flex-direction:column;align-items:flex-end;gap:8px}.api-row h4{font-size:13px}.api-row small{font-size:10px}.api-row .button{font-size:10px;padding:0 9px}.continue-card{align-items:stretch;flex-direction:column}.list-toolbar{padding:14px}.process-step{padding:14px;gap:10px}.process-step p{font-size:10px}}.form-fields{display:flex;flex-direction:column;gap:18px;padding:0;margin:0;border:0;min-width:0}.field-with-action{display:flex;align-items:flex-end;gap:9px}.field-with-action label{flex:1}.field-with-action>.button{flex-shrink:0}.form-error{display:flex;align-items:flex-start;gap:10px;background:#fff1f0;border:1px solid #e8c1bc;border-radius:6px;padding:13px;font-size:11px;color:#96483c;line-height:1.7}.form-error svg{flex-shrink:0}.form-error p{font-size:11px;margin-top:5px}.form-error .button{margin-top:10px}.route-editor{display:flex;flex-direction:column;gap:14px}.route-editor-row{border:1px solid #e0e7ed;border-radius:7px;padding:15px;display:flex;flex-direction:column;gap:15px}.route-controls{display:flex;gap:8px}.route-controls .button{font-size:10px;padding:0 10px}.machine-choices{display:flex;flex-direction:column;gap:9px;border:1px solid #e2e8ed;border-radius:5px;padding:13px}.machine-choices legend{font-size:11px;color:#758694;padding:0 5px}.machine-choices label{display:flex;flex-direction:row;align-items:center;font-size:11px;min-height:44px}.machine-choices input{width:18px;height:18px;min-height:0;margin:0}.spec-editor{display:flex;flex-direction:column;gap:14px}.spec-editor-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:#f7f9fb;border:1px solid #e5eaf0;padding:12px;border-radius:6px}.spec-editor-row label{font-size:10px}.drawing-preview{padding:15px}.drawing-preview img{display:block;width:100%;height:auto}.detail-actions{display:flex;gap:10px;margin:18px 0}@media(max-width:640px){.field-with-action{align-items:stretch;flex-direction:column}.field-with-action>.button{align-self:flex-start}.route-editor-row{padding:12px}.route-controls{gap:5px}.route-controls .button{padding:0 8px}.spec-editor-row{padding:10px;gap:8px}.form-fields input[type=datetime-local]{font-size:12px;min-width:0}}.balance-list{display:flex;flex-direction:column;gap:12px}.balance-list article{padding:13px;border:1px solid #e1e8ee;border-radius:6px}.balance-list h4{font-size:12px}.balance-list p{font-size:11px;color:#6f8493;margin-top:8px;line-height:1.9}.mobile-bottom-tabs{display:none}@media(max-width:640px){.mobile-bottom-tabs{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:14;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #dde5eb;padding:5px 8px calc(5px + env(safe-area-inset-bottom));min-height:64px}.mobile-bottom-tabs button{flex:1;border:0;background:none;color:#8695a1;min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:10px;border-radius:7px}.mobile-bottom-tabs button.active{color:#9a6a1c;background:#fcf3e2}.main-shell:has(+.mobile-bottom-tabs) main,body:has(.mobile-bottom-tabs) .main-shell main{padding-bottom:88px}.sidebar.open{height:100dvh;overflow-y:auto}.dialog-layer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}.home-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.home-intro>div>p:last-child{font-size:12px;color:#758794;margin-top:8px}.stats-content{padding:20px}.defect-rate{display:flex;gap:20px;align-items:center;margin-bottom:20px}.defect-rate strong{font-family:ui-monospace,monospace;font-size:35px}.defect-rate small{font-size:16px;margin-left:4px}.defect-rate>span{font-size:10px;line-height:1.8;color:#81919d}.defect-bars{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.defect-bars>div{display:grid;grid-template-columns:65px minmax(0,1fr) 25px;align-items:center;gap:10px;font-size:11px}.defect-bars i{height:7px;border-radius:5px;background:#edf1f4;overflow:hidden}.defect-bars i b{height:100%;display:block;background:#d5a34f;border-radius:5px}.defect-bars strong{text-align:right;font-family:monospace}.week-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:20px 24px;gap:10px}.week-summary button{border:0;border-radius:6px;background:transparent;padding:0 8px 4px;display:flex;flex-direction:column;align-items:stretch;gap:12px;text-align:center;min-width:0;color:#536d80}.week-summary button:hover{background:#f9fbfc}.week-summary button:focus-visible{outline:2px solid #b27c27;outline-offset:3px}.week-summary-plot{height:124px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-bottom:1px solid #d9e2e9;padding-bottom:0}.week-summary-plot>b{font-family:ui-monospace,monospace;font-size:18px;line-height:22px;margin-bottom:8px;color:#4a6274;font-weight:600}.week-summary small{font-family:sans-serif;font-size:10px;margin-left:3px;font-weight:400}.week-summary-bar{display:block;width:55%;max-width:44px;min-width:14px;flex-shrink:0;background:#d8aa58;border-radius:4px 4px 0 0}.week-summary-date{align-self:center;border:1px solid transparent;border-radius:5px;padding:5px 9px;font-family:ui-monospace,monospace;font-size:11px;line-height:16px}.week-summary button[aria-current=date] .week-summary-date{border-color:#b98532;background:#fff9ec;color:#8c611f;font-weight:700}.mini-action{font-size:9px;padding:0 6px;margin-top:10px;min-height:44px}.delivery p{font-size:10px;color:#b1483e;margin-top:5px;line-height:1.7}.delivery small{font-size:10px;color:#82939e}.delivery .tag{margin-top:8px}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.row-actions .button{font-size:11px;padding:0 12px}.section-gap{margin-top:20px}.schedule-toolbar{background:#fff;border:1px solid #e0e7ed;border-radius:8px;padding:18px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.schedule-toolbar .field-pair{width:360px}.schedule-toolbar .muted{max-width:400px;font-size:11px}.live-gantt{padding:16px 18px;overflow:auto}.live-gantt-head{display:grid;grid-template-columns:110px minmax(500px,1fr);font-size:10px;color:#7b8d9b;margin-bottom:12px}.live-gantt-head>div{display:flex;justify-content:space-between}.live-gantt-row{display:grid;grid-template-columns:110px minmax(500px,1fr);height:82px;border-top:1px solid #e4eaf0}.live-gantt-row>div:first-child{display:flex;gap:7px;flex-direction:column;align-items:flex-start;justify-content:center}.live-gantt-row>div:first-child>b{font-size:12px}.live-gantt-lane{position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(16.666% - 1px),#e6edf2 calc(16.666% - 1px),#e6edf2 16.666%)}.live-job{position:absolute;top:14px;height:53px;min-width:44px;background:#fbefd4;border:1px solid #dbb66c;border-radius:5px;overflow:hidden;font-size:9px;text-align:left;color:#6a5129;padding:7px;z-index:1}.live-job small{font-size:9px;display:block;margin-top:5px}.live-job.running{background:#e3f1e8;border-color:#7fb595;color:#2d6848}.live-job.paused{background:#fae6e6;border-color:#d39696;color:#a64444}.mobile-schedule{display:none}.live-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.live-work-card{padding:22px;display:flex;flex-direction:column;gap:17px;border:1px solid #dfe7ed;border-radius:8px;background:#fff}.live-work-card h2{font-size:23px}.live-work-card>p{font-size:12px;color:#7a8b98}.live-filter{display:flex;gap:14px;background:#fff;border:1px solid #e1e8ee;border-radius:7px;margin-bottom:20px}.live-filter label{flex:1;max-width:420px}.action-context{padding:15px;border-radius:6px;background:#f7f9fb;border:1px solid #e2e9ef}.action-context h3{margin-top:8px}.action-context p{font-size:11px;color:#7b8e9c;margin-top:7px}.action-preview{padding:15px;border-radius:7px;background:#eef6f0;border:1px solid #c8dfd0}.action-preview h4{font-size:13px;color:#3b7251;margin-bottom:10px}.action-preview p{font-size:11px;color:#597d65;line-height:1.9}.bad-lines{display:flex;flex-direction:column;gap:13px}.bad-lines article{padding:14px;background:#fff9f7;border:1px solid #eadbd5;border-radius:6px;display:flex;flex-direction:column;gap:13px}.bad-lines h4{font-size:12px}.bad-lines .button{font-size:10px}@media(max-width:850px){.live-work-grid{grid-template-columns:1fr}.schedule-toolbar{align-items:stretch;flex-direction:column}.schedule-toolbar .field-pair{width:100%}}@media(max-width:640px){.home-intro{align-items:stretch;flex-direction:column}.home-intro h2{font-size:24px}.home-intro>.button{width:100%}.desktop-week,.desktop-schedule{display:none}.mobile-schedule{display:block}.mobile-machine-day{padding:16px;border-top:1px solid #e3eaf0}.mobile-machine-day:first-child{border-top:0}.mobile-machine-day>.between{margin-bottom:12px}.mobile-machine-day h4{font-size:12px}.mobile-machine-day article{border:1px solid #e0e8ef;background:#f8fafb;border-radius:6px;padding:13px;margin-top:10px;display:flex;flex-direction:column;gap:9px}.mobile-machine-day article p{font-size:11px;color:#718694}.mobile-machine-day article strong{font-family:monospace;font-size:10px}.mobile-machine-day .row-actions{margin-top:5px}.schedule-toolbar{padding:15px}.schedule-toolbar input[type=date]{font-size:13px}.live-work-card{padding:18px}.live-work-card h2{font-size:23px}.live-work-card .quantity-strip b{font-size:13px}.live-filter{padding:15px;gap:10px}.live-filter input,.live-filter select{font-size:12px}.row-actions .button{flex:1}.stats-content{padding:18px}.defect-rate strong{font-size:32px}}.pager{display:flex;align-items:center;justify-content:center;gap:15px;padding:18px;border-top:1px solid #e3eaf0}.pager .button{min-width:72px}.section-gap>.panel{margin-top:18px}.timeline-event{padding:13px 0;border-bottom:1px solid #e1e8ee}.timeline-event h4{font-size:12px}.timeline-event p{font-size:12px;margin-top:7px}.timeline-event span{font-size:10px;color:#8093a1;display:block;margin-top:7px}.print-actions{padding:18px}.print-sheet{padding:30px;background:#fff;color:#172029}.print-sheet>p{font-size:11px;color:#9f712a;margin-bottom:18px}.print-sheet>h1{font-size:24px;margin-bottom:25px}.print-sheet dl{margin:0 0 25px;border:1px solid #d9e2e9}.print-sheet dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);border-bottom:1px solid #e0e7ed}.print-sheet dl>div:last-child{border:0}.print-sheet dt,.print-sheet dd{margin:0;padding:13px;font-size:12px;line-height:1.7}.print-sheet dt{background:#f6f8fa;color:#7d8d99}.print-sheet>strong{font-size:11px;color:#9c6a2c;line-height:1.8}.live-filter input[type=date]{font-size:12px}@media print{body:has(.print-sheet) .app-shell,body:has(.print-sheet) .mobile-bottom-tabs,body:has(.print-sheet) .dev-banner,body:has(.print-sheet) .dialog-box>header,body:has(.print-sheet) .print-actions{display:none!important}body:has(.print-sheet) .dialog-layer{position:static;background:#fff;padding:0;display:block}body:has(.print-sheet) .dialog-box{max-height:none;overflow:visible;box-shadow:none;width:100%;border-radius:0}body:has(.print-sheet) .print-sheet{padding:12mm}}@media(max-width:640px){.print-sheet{padding:20px}.print-sheet h1{font-size:21px}.print-sheet dl>div{grid-template-columns:84px minmax(0,1fr)}.print-sheet dt,.print-sheet dd{font-size:11px;padding:10px}.pager{padding:15px;gap:10px}}.work-doc-top{display:flex;justify-content:space-between;gap:18px;align-items:center}.work-doc-top h2{font-family:monospace;font-size:25px;margin-bottom:12px}.work-doc-top p:not(.eyebrow){font-size:12px;color:#748794;margin-top:6px}.work-doc-top img{flex-shrink:0;border:1px solid #dce5ec;border-radius:5px}.work-print{display:flex;flex-direction:column;gap:20px}.work-print>.quantity-strip b{font-size:13px}.work-print .measurement-row{font-size:11px}.process-step .row-actions{margin-top:12px}.drawing-specs{display:flex;flex-direction:column;gap:5px}@media(max-width:640px){.work-doc-top{align-items:flex-start}.work-doc-top h2{font-size:19px}.work-doc-top img{width:86px;height:86px}.work-doc-top p:not(.eyebrow){font-size:10px}.work-doc-top .eyebrow{font-size:8px}}.duration-field{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:7px}.duration-field select{padding:8px}.duration-field input{min-width:0}label>small.bad-text{font-size:10px;font-weight:400;line-height:1.6}.allocation-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:15px}.allocation-comparison section{padding:12px;background:#fff9;border:1px solid #d4e3d8;border-radius:6px}.action-preview h5{font-size:12px;margin:0 0 10px;color:#3c6c4c}.allocation-comparison>.bad-text{grid-column:1/-1}.preview-balance,.shipment-confirm{margin-top:15px;padding-top:13px;border-top:1px solid #d4e3d8}.preview-balance h5{margin-bottom:5px}.shipment-confirm p{margin-top:6px}@media(max-width:640px){.allocation-comparison{grid-template-columns:1fr}.action-preview p{font-size:10px}.allocation-comparison section{padding:12px}}.pending-results{padding:14px 17px;border:1px solid #e8d3a7;background:#fff7e8;border-radius:7px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.pending-results>div{display:flex;align-items:flex-start;gap:10px;color:#8c662e;font-size:12px}.pending-results svg{flex-shrink:0}.pending-results p{font-size:10px;margin-top:5px;color:#9c8157}.pending-results b{font-size:12px}.pending-entry{border:1px solid #dfe7ed;border-radius:7px;padding:17px;display:flex;flex-direction:column;gap:12px}.pending-entry p{font-size:12px;color:#718492}.pending-entry .bad-text{color:#b04b40}@media(max-width:640px){.pending-results{align-items:stretch;flex-direction:column;padding:14px}.pending-results .button{width:100%}}.conflict-info{padding:11px;border:1px solid #e3c5be;background:#fff9f6;border-radius:6px;margin:12px 0}.conflict-info h4{font-size:11px;line-height:1.7}.conflict-info p{font-size:10px!important}.conflict-info .button{font-size:10px}.readonly-draft{padding:13px;background:#f7f9fb;border:1px solid #dfe7ee;border-radius:6px}.readonly-draft>p:first-child{color:#a24436;font-weight:600}.readonly-draft dl{margin:14px 0}.readonly-draft dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #e1e8ef;font-size:11px;line-height:1.7}.readonly-draft dt{color:#788c9b}.readonly-draft dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.planning-basis{padding:12px;background:#f4f7fa;border-left:3px solid var(--muted);font-size:12px;line-height:1.7}.planning-basis p{margin:3px 0}.planning-basis.released{background:#fff8ec;border-color:#c89536}.filter-check{display:flex!important;flex-direction:row!important;align-self:flex-end;align-items:center;gap:10px;min-height:44px}.filter-check input{width:20px;min-height:20px;height:20px}.live-filter{flex-wrap:wrap}.live-filter label{flex:1 1 145px;min-width:0}.live-filter label input:not([type=checkbox]),.live-filter label select{width:100%}@media(max-width:640px){.live-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.live-filter label{max-width:none}.live-filter .filter-check{grid-column:1/-1;justify-content:flex-start}}.blocked-action{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;flex:1 1 180px}.blocked-action p{font-size:12px;color:#965128;white-space:normal;line-height:1.7}.blocked-action .button:disabled{opacity:.7}.work-scope{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px;background:#f4f6f8;border-radius:6px;font-size:12px;line-height:1.8}.work-scope span{white-space:normal}.orders-toolbar{align-items:flex-end}.orders-toolbar label:first-child{flex:2 1 240px;max-width:420px}.orders-toolbar label:nth-child(2){flex:1 1 160px;max-width:220px}.orders-toolbar>.button{margin-left:auto;flex-shrink:0}.orders-columns,.orders-list-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(90px,.75fr) minmax(82px,.7fr) minmax(0,1.5fr) 88px;gap:16px;align-items:center;padding:18px 20px}.orders-columns{font-size:11px;color:#718594;background:#f7f9fb;border-bottom:1px solid #e1e8ee;padding-top:12px;padding-bottom:12px}.orders-list-row+.orders-list-row{border-top:1px solid #e4eaf0}.orders-list-row>div{min-width:0;overflow-wrap:anywhere}.orders-item h4{font-size:14px;line-height:1.7;margin:5px 0}.orders-item p,.orders-quantity,.orders-dates{font-size:11px;color:#718594;line-height:1.8}.orders-quantity{display:flex;flex-direction:column;gap:5px}.orders-quantity b{color:#344e61;white-space:nowrap}.orders-list-row .tag{white-space:normal;line-height:1.6}.orders-action .button{width:100%;padding:0 9px;font-size:11px}.orders-dates{display:flex;flex-wrap:wrap;gap:2px 14px}.orders-dates>span{max-width:100%}.orders-delivery .delivery .tag{margin-top:7px}.orders-delivery small{display:block;margin-top:5px;line-height:1.8}.manual-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start}.manual-toc{position:sticky;top:92px;display:flex;flex-direction:column;padding:18px;background:#fff;border:1px solid #e1e8ee;border-radius:8px}.manual-toc h3{font-size:13px;margin-bottom:10px}.manual-toc a{padding:10px 0;color:#667f91;font-size:12px;line-height:1.6;text-decoration:none}.manual-toc a:hover{color:#9a6a1c;text-decoration:underline}.manual-content{display:flex;flex-direction:column;gap:20px;min-width:0}.manual-section{padding:25px;scroll-margin-top:96px;overflow-wrap:anywhere}.manual-section>h3{font-size:20px;margin-bottom:18px}.manual-section h4{font-size:14px;line-height:1.8;margin-bottom:8px}.manual-section p,.manual-section li,.manual-section dd,.manual-section dt{font-size:13px;line-height:1.9;color:#5f7687}.manual-section p+p{margin-top:13px}.manual-section ol{margin:14px 0;padding-left:22px}.manual-section li+li{margin-top:8px}.manual-section>.button,.manual-section article>.button,.manual-flow .button{margin-top:12px;margin-right:8px}.manual-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}.manual-role-grid article{padding:16px;border:1px solid #e2e8ed;border-radius:6px;background:#f8fafb}.manual-flow>li{padding:10px 0 20px}.manual-section>article+article{margin-top:24px;padding-top:20px;border-top:1px solid #e4eaf0}.manual-role-note{padding:10px 12px;background:#f8f5ee;border-radius:5px;font-size:12px!important;margin-top:12px}.manual-section dl{margin:0 0 18px}.manual-section dt{font-weight:700;color:#344f63}.manual-section dd{margin:4px 0 14px}@media(max-width:1100px)and (min-width:641px){.orders-columns,.orders-list-row{gap:10px;padding-left:14px;padding-right:14px;grid-template-columns:minmax(0,1.3fr) 88px 79px minmax(0,1.3fr) 78px}.orders-item h4{font-size:13px}.orders-list-row .tag{font-size:10px}.manual-layout{grid-template-columns:155px minmax(0,1fr);gap:15px}.manual-section{padding:20px}}@media(max-width:640px){.orders-heading{flex-direction:row;align-items:center;gap:12px}.orders-heading>.button{width:auto;flex-shrink:0}.orders-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto}.orders-toolbar label:first-child{grid-column:1/-1;max-width:none}.orders-toolbar label:nth-child(2){max-width:none}.orders-toolbar>.button{margin-left:0;align-self:end;width:auto}.orders-columns{display:none}.orders-list-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"item state" "qty qty" "dates dates" "risk action";gap:10px 12px;padding:17px 15px;align-items:start}.orders-item{grid-area:item}.orders-item h4{font-size:15px}.orders-quantity{grid-area:qty;flex-direction:row;flex-wrap:wrap;gap:5px 18px}.orders-quantity>span{white-space:nowrap}.orders-status{grid-area:state;justify-self:end}.orders-delivery{display:contents}.orders-dates{grid-area:dates}.orders-delivery>.delivery{grid-area:risk;min-width:0}.orders-delivery .delivery .tag{margin-top:0}.orders-action{grid-area:action;align-self:end}.orders-action .button{width:auto}.orders-delivery .delivery p,.orders-delivery small{overflow-wrap:anywhere}.manual-layout{display:flex;flex-direction:column;gap:16px}.manual-toc{position:static;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:15px}.manual-toc h3{grid-column:1/-1}.manual-toc a{font-size:12px}.manual-section{padding:19px;scroll-margin-top:88px}.manual-section>h3{font-size:18px}.manual-role-grid{grid-template-columns:1fr}.manual-section .button{width:100%;margin-right:0}.manual-content{width:100%}}.topbar h1{font-size:18px;font-weight:700;white-space:nowrap}.top-title{display:flex;align-items:center;gap:12px;min-width:0}.top-refresh{margin-left:auto;flex-shrink:0}.role-area{display:flex;align-items:center;gap:10px;flex-shrink:0}.role-label{font-size:10px;line-height:1.2;color:var(--muted);white-space:nowrap}.role-seg{display:inline-flex}.role-seg button{position:relative;min-height:44px;margin-left:-1px;padding:0 13px;background:#fff;border:1px solid #d7dde4;color:#4a5563;font-size:13px;font-weight:500;line-height:1.2}.role-seg button:first-child{margin-left:0;border-radius:7px 0 0 7px}.role-seg button:last-child{border-radius:0 7px 7px 0}.role-seg button.on{background:#fbf0db;color:#513c18;font-weight:700}.role-seg button:focus-visible{z-index:2}.role-seg button>span{display:flex;flex-direction:column;align-items:center}.role-seg button>span:after{content:attr(data-t);height:0;overflow:hidden;visibility:hidden;font-weight:700}.role-select,.role-person{display:none}.role-select{width:128px;min-height:44px;font-size:12px}.role-person{font-size:11px;color:var(--muted);white-space:nowrap;min-width:58px}@media(min-width:1241px){.role-person{display:block}}@media(max-width:1100px){.topbar{gap:12px}.role-area{flex-direction:column;align-items:flex-start;gap:1px}.role-label{font-size:9px}.role-seg{display:none}.role-select{display:block}}@media(min-width:641px){.sidebar{position:sticky;top:0;align-self:start;height:100vh;overflow-y:auto;scrollbar-width:thin;padding-bottom:64px}.sidebar>*{flex-shrink:0}.brand{padding-bottom:18px}.nav-label{padding:6px 12px}.nav-button{min-height:44px;margin-bottom:1px}.side-footer{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:3px 8px;padding-top:14px}.side-footer>svg{margin:0}.side-footer>span{grid-column:1/-1}}.panel-head.untitled{min-height:0;padding:10px 18px}.panel-head.untitled p{margin-top:0}.panel-head.action-only{justify-content:flex-end}@media(max-width:640px){.topbar h1{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.top-title{flex:1;flex-direction:column;align-items:flex-start;gap:1px}.top-title .top-clock{margin:0;padding:0;border:0;border-radius:0;background:none;font-size:10px;line-height:1.3;color:#3d7756;max-width:100%;overflow:hidden;text-overflow:ellipsis}.top-refresh{width:44px;min-width:44px;min-height:44px;height:44px;padding:0;border:0;background:none;color:#435665;margin-left:0}.sidebar{padding-bottom:64px}.refresh-text{display:none}.role-select{width:90px;font-size:11px;padding:8px 6px}.panel-head.untitled{padding:10px 14px}body:has(.mobile-bottom-tabs) .main-shell main{padding-bottom:120px}}@media(min-width:641px)and (max-height:960px){.side-footer{display:none}}.tag.muted{background:#eef1f3;color:#647581}@media(min-width:1101px){.schedule-toolbar{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}.schedule-toolbar .field-pair{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.schedule-toolbar .muted{max-width:none}}.live-gantt-head{margin-bottom:18px}.live-gantt-head>div{display:block;position:relative;height:14px}.live-gantt-head>div>span{position:absolute;top:0;transform:translate(-50%);line-height:14px;white-space:nowrap}.live-gantt-head>div>span.first{transform:none}.live-now-tag{position:absolute;top:17px;transform:translate(-50%);z-index:3;padding:0 5px;border-radius:3px;background:#c0392b;color:#fff;font-size:9px;font-style:normal;font-weight:600;line-height:14px;white-space:nowrap}.live-now-tag.end{transform:translate(-100%)}.live-gantt-lane{--cols:6;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / var(--cols) - 1px),#e6edf2 calc(100% / var(--cols) - 1px),#e6edf2 calc(100% / var(--cols)))}.live-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#c0392b;z-index:3;pointer-events:none}.live-gantt-lane .live-job{min-width:6px;border-right-color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-job>span,.live-job>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-job.job-short{padding:7px 0;text-align:center;text-overflow:clip}.live-job.job-short>span{text-overflow:clip}@media(max-width:1100px){.live-job.job-short{font-size:8px;letter-spacing:-.07em}}.live-job.job-dot{padding:0}.mobile-schedule .mobile-machine-day article{--band:#d9a441;display:flex;flex-direction:row;align-items:center;gap:8px;min-height:48px;margin:0;padding:6px 0 6px 12px;border:0;border-radius:0;background:none;box-shadow:inset 3px 0 0 var(--band)}.mobile-schedule .mobile-machine-day article+article{border-top:1px solid #e3eaf0}.mobile-schedule .mobile-machine-day article.running{--band:#3e9b6a}.mobile-schedule .mobile-machine-day article.paused{--band:#c85a5a}.mobile-schedule .mobile-machine-day article.done,.mobile-schedule .mobile-machine-day article.released,.mobile-schedule .mobile-machine-day article.moved,.mobile-schedule .mobile-machine-day article.cancelled{--band:#b4bec7}.mobile-schedule .mobile-machine-day article.past{opacity:.55}.schedule-line-main{flex:1 1 0;min-width:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:1px}.schedule-line-main b{font-size:12px;white-space:nowrap}.schedule-line-main small{font-size:10px;color:#8a97a3;white-space:nowrap}.now-badge{padding:0 5px;border-radius:3px;background:#c0392b;color:#fff;font-size:9px;font-style:normal;font-weight:700;line-height:14px}.mobile-schedule .mobile-machine-day .row-actions{flex:0 0 auto;flex-wrap:nowrap;gap:6px;margin:0}.mobile-schedule .mobile-machine-day .row-actions .button{flex:0 0 auto;min-height:44px;height:44px;padding:0 10px;border-radius:6px;font-size:11px}.live-gantt-lane.week .live-job{min-width:3px;border-right-color:transparent}.live-job.done,.live-job.released,.live-job.moved,.live-job.cancelled{background:#eef1f4;border-top-color:#c3ccd4;border-bottom-color:#c3ccd4;border-left-color:#c3ccd4;color:#6b7884}.live-gantt-lane{container-type:inline-size}.live-gantt-lane .live-job.hit{width:44px;min-width:44px;margin:0;padding:0;transform:translate(-50%);background:none;border:0;box-shadow:none;overflow:visible;text-align:center}.live-job.hit .job-fill{position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:max(6px,calc(var(--w) * 1cqw));display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:5px;background:#fbefd4;border:1px solid #dbb66c;border-right-color:#fff}.live-job.hit.running .job-fill{background:#e3f1e8;border-color:#7fb595 #fff #7fb595 #7fb595}.live-job.hit.paused .job-fill{background:#fae6e6;border-color:#d39696 #fff #d39696 #d39696}.live-job.hit.done .job-fill,.live-job.hit.released .job-fill,.live-job.hit.moved .job-fill,.live-job.hit.cancelled .job-fill{background:#eef1f4;border-color:#c3ccd4 #fff #c3ccd4 #c3ccd4}.live-gantt-lane.week .live-job.hit .job-fill{width:max(3px,calc(var(--w) * 1cqw));border-right-color:transparent}.live-job.hit:focus-visible{outline:none}.live-job.hit:focus-visible .job-fill{outline:2px solid #d99420;outline-offset:1px}.live-work-grid{gap:10px}.live-work-card{padding:18px;gap:10px}.live-work-card>.between{min-height:21px}.live-work-card>h2{font-size:18px;font-weight:700;line-height:1.25;letter-spacing:-.4px}.live-work-card>h2+p{margin-top:-6px;font-size:12px;line-height:1.4;color:#7a8b98}.live-work-card .work-machine{display:flex;align-items:flex-start;gap:8px;padding:6px 10px;background:#f5f7f9;border:0;border-radius:6px;color:#607583}.live-work-card .work-machine>svg{flex-shrink:0;margin-top:2px}.live-work-card .work-machine>div{min-width:0;flex:1}.live-work-card .work-machine p,.live-work-card .work-machine b{font-size:13px;line-height:1.3;font-weight:600;color:#344958;overflow-wrap:anywhere}.live-work-card .work-machine .planning-basis,.live-work-card .work-machine .planning-basis.released{padding:0;background:none;border:0}.live-work-card .work-machine p+.planning-basis{margin-top:2px;font-size:11px;line-height:1.5;font-weight:400;color:#6b7784}.live-work-card .work-machine .nowrap{display:inline;margin:0;font-size:inherit;white-space:nowrap}.live-work-card .work-qty{background:#f7f9fb;border:1px solid #e5eaf0;border-radius:6px;overflow:hidden}.live-work-card .work-qty .work-scope{gap:0 12px;padding:4px 10px;background:none;border-bottom:1px solid #e4e9ee;border-radius:0;font-size:12px;line-height:1.4;color:#44525f}.live-work-card .work-qty .quantity-strip{background:none;border:0;border-radius:0}.live-work-card .quantity-strip>div{display:flex;flex-direction:column;justify-content:center;min-height:40px;padding:3px 2px}.live-work-card .quantity-strip span{margin-bottom:1px;font-size:10px;line-height:1.3}.live-work-card .quantity-strip b{font-size:15px;line-height:1.25}.live-work-card .work-warning{align-items:flex-start;gap:6px;padding:0;background:none;border:0;border-radius:0;color:#956317;font-size:12px}.live-work-card .work-warning svg{margin-top:2px}.live-work-card .work-warning p{min-width:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.live-work-card .inline-result{padding:7px 10px;line-height:1.5}.live-work-card .work-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}.live-work-card .work-actions .row-actions{display:contents}.live-work-card .work-actions:has(.row-actions:empty):not(:has(.danger-button)){display:none}.live-work-card .work-actions .button,.live-work-card .work-actions .blocked-action{flex:0 1 auto}.live-work-card .work-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}.live-work-card .work-links .button{gap:6px;min-height:44px;padding:0 8px;background:transparent;border:1px solid #d7dde4;font-size:13px;font-weight:500}.blocked-action{gap:3px}.blocked-action .button:disabled{gap:5px;min-height:34px;background:#f1f3f5;border:1px dashed #c9d1d8;color:#8b97a3;cursor:not-allowed;opacity:1}.blocked-action .button:disabled svg{flex-shrink:0}.blocked-action p{font-size:11px;line-height:1.4;color:#5f6b76}@media(min-width:641px)and (max-width:1100px){.live-work-card{padding:16px}}@media(max-width:640px){.live-work-card{padding:16px}.live-work-card>h2{font-size:17px;line-height:1.2}.live-work-card>h2+p{line-height:1.3}.live-work-card .work-machine p,.live-work-card .work-machine b{font-size:12px}}.item-row>div:not(.api-row-end){flex:1;min-width:0}.item-thumb{flex:0 0 auto;box-sizing:border-box;width:96px;height:68px;display:flex;align-items:center;justify-content:center;border:1px solid #dfe5ea;border-radius:4px;background:#fff;overflow:hidden}.item-thumb img{display:block;width:100%;height:100%;object-fit:contain}.item-thumb-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#eef1f4;color:#9aa8b3}@media(max-width:640px){.item-thumb{width:80px;height:56px}}.items-toolbar{display:flex;align-items:flex-end;gap:12px}.items-toolbar .search-field{flex:1 1 240px}.items-toolbar>.button{margin-left:auto;flex-shrink:0}.experience-intro,.experience-guide{box-sizing:border-box;background:#fff;color:#20242b;font-family:inherit;text-align:left;word-break:keep-all;overflow-wrap:anywhere}dialog.experience-intro{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(31rem,calc(100% - 2rem));max-height:86dvh;padding:0;border:0;border-radius:16px;box-shadow:0 18px 60px #0003;overflow-y:auto}.experience-intro::backdrop{background:#11161e9e}.experience-inner,.experience-guide{padding:clamp(18px,4vw,28px)}.experience-intro h2,.experience-guide h2{margin:8px 0 12px;color:#191c20;font-size:clamp(21px,4vw,26px);line-height:1.35}.experience-intro p,.experience-guide p,.experience-guide li{margin:0;color:#414957;font-size:15px;line-height:1.65}.experience-intro .experience-brand{color:#865c08;font-weight:700;font-size:13px}.experience-first{margin:20px 0;padding:14px;border-radius:8px;background:#f3f4f6}.experience-first strong{display:block;margin-bottom:4px}.experience-actions{display:flex;flex-wrap:wrap;gap:8px}.experience-intro button{border:1px solid #cad0d8;border-radius:8px;background:#fff;color:#222831;font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:8px 13px;cursor:pointer}.experience-intro .experience-primary{background:#865c08;color:#fff;border-color:transparent}.experience-intro .experience-link{padding:6px 0;margin-top:6px;border:0;text-decoration:underline}.experience-intro button:focus-visible{outline:3px solid #3273ce;outline-offset:2px}.experience-guide{max-width:66rem;margin:16px auto;border:1px solid #d9dee5;border-radius:12px}.experience-guide h3{margin:18px 0 8px;font-size:18px;color:#222}.experience-guide ol{padding-inline-start:1.4em;margin:0}.experience-guide li+li{margin-top:7px}
