:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#172033;background:#f4f6f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.eyebrow{color:#61d7c8;font-size:12px;font-weight:800;letter-spacing:.18em}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:#fff}.login-brand{padding:9vh 8vw;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:linear-gradient(145deg,#0b253cf5,#0e4c56e6),radial-gradient(circle at 70% 30%,#1cc5aa,#102c46);position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-110px;top:12%;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.login-brand h1{font-size:clamp(40px,5vw,68px);line-height:1.12;margin:22px 0;max-width:700px;letter-spacing:-.04em}.login-brand p:not(.eyebrow){max-width:600px;color:#c7d8df;font-size:17px;line-height:1.8}.brand-stats{display:flex;gap:36px;z-index:1}.brand-stats span{display:flex;flex-direction:column;color:#9fb9c3;font-size:13px}.brand-stats b{color:#fff;font-size:21px;margin-bottom:5px}.login-panel{display:grid;place-items:center;padding:40px}.login-card{width:min(390px,100%)}.logo,.app-logo>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;font-weight:800;background:#0a9d8b;box-shadow:0 8px 22px #0a9d8b40}.logo img,.app-logo>span img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.login-card h2{font-size:30px;margin:28px 0 5px}.login-card>p{color:#7b8495;margin:0 0 32px}.login-card label,.filter-panel label,.modal label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650;color:#495268;margin-bottom:18px}.login-card input,.filter-panel input,.filter-panel select,.modal input,.modal textarea{width:100%;border:1px solid #dce1e8;border-radius:9px;padding:12px 13px;outline:none;background:#fff;color:#172033}.login-card input:focus,.filter-panel input:focus,.filter-panel select:focus,.modal input:focus,.modal textarea:focus{border-color:#0a9d8b;box-shadow:0 0 0 3px #0a9d8b1a}.login-card small{display:block;text-align:center;color:#9ba3b0;margin-top:24px}.primary,.secondary{border:0;border-radius:8px;padding:11px 18px;font-weight:700}.primary{color:#fff;background:#0b9c8a;box-shadow:0 4px 14px #0b9c8a2e}.primary:hover{background:#078878}.secondary{color:#384257;background:#edf0f4}.wide{width:100%;padding:13px}.app-shell{min-height:100vh;display:grid;grid-template-columns:232px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#102536;color:#c8d3dc;padding:24px 16px;display:flex;flex-direction:column}.app-logo{display:flex;align-items:center;gap:12px;padding:0 9px 28px;font-size:17px;font-weight:750;color:#fff}.app-logo>span{width:38px;height:38px;border-radius:10px}.app-logo small{display:block;color:#6f899a;font-size:8px;letter-spacing:.15em;margin-top:3px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{display:flex;align-items:center;gap:13px;border:0;border-radius:8px;padding:12px 14px;color:#9eb0bd;background:transparent;text-align:left}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#1b3a4d}.sidebar nav button.active{box-shadow:inset 3px 0 #20bea8}.sidebar nav i{width:20px;text-align:center;font-style:normal;font-size:18px}.sidebar-foot{margin-top:auto;padding:18px 6px 0;border-top:1px solid #284050;display:grid;grid-template-columns:36px 1fr 28px;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#22586b;color:#fff}.sidebar-foot strong,.sidebar-foot small{display:block;font-size:12px}.sidebar-foot small{color:#738e9e;margin-top:3px}.sidebar-foot button{border:0;color:#8299a8;background:transparent;font-size:19px}.content{min-width:0;padding:34px 40px 60px;max-width:1700px;width:100%;margin:auto}.page-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.page-actions{display:flex;align-items:center;gap:10px}.page-header p{margin:0 0 6px;color:#0b9c8a;font-size:12px;font-weight:800;letter-spacing:.12em}.page-header h1{font-size:28px;margin:0;letter-spacing:-.02em}.count-pill{padding:8px 13px;border-radius:20px;background:#e7f5f2;color:#087d70;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.production-board{max-width:none;min-height:100vh;margin:0 auto;padding:10px 12px 12px;background:#f4f6f9;transition:background .2s ease,color .2s ease}.app-shell.production-mode{display:block;min-height:100vh}.production-mode .sidebar{display:none}.production-mode .content{max-width:none;min-height:100vh;padding:0}.production-mode .page-header{margin-bottom:8px}.production-mode .page-header p{margin-bottom:1px;font-size:9px}.production-mode .page-header h1{font-size:clamp(18px,1.6vw,26px)}.production-board-actions{display:flex;align-items:center;gap:7px}.production-board-actions button{padding:6px 10px;border:1px solid #d5dde4;border-radius:6px;color:#435063;background:#fff;font-size:11px}.production-board-meta{display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#657084}.production-board-meta span{font-weight:700}.production-board-meta small{color:#929aa7}.production-progress-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:7px}:fullscreen .production-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr));height:calc(100vh - 82px);gap:12px;overflow:hidden;max-height:calc(100vh - 20px);align-content:start;padding:4px 8px 24px 2px}:fullscreen .production-board .page-header{display:flex;margin-bottom:8px}:fullscreen .production-progress-item{transform-origin:center top;backface-visibility:hidden;animation:production-card-in .65s cubic-bezier(.22,.75,.25,1) both}:fullscreen .production-progress-item:nth-child(2){animation-delay:70ms}:fullscreen .production-progress-item:nth-child(3){animation-delay:.14s}:fullscreen .production-progress-item:nth-child(4){animation-delay:.21s}@keyframes production-card-in{0%{opacity:0;transform:perspective(700px) translateY(-24px) rotateX(72deg)}to{opacity:1;transform:perspective(700px) translateY(0) rotateX(0)}}@media(prefers-reduced-motion:reduce){:fullscreen .production-progress-item{animation:none}}:fullscreen .production-progress-item{padding:16px 18px 14px;min-height:0}:fullscreen .production-progress-head strong{font-size:19px}:fullscreen .production-progress-head b{font-size:22px}:fullscreen .production-stage-rail{height:26px}:fullscreen .production-stage-node{flex-basis:22px;width:22px;height:22px;font-size:13px}:fullscreen .production-stage-line{height:5px}:fullscreen .production-stage>strong{font-size:14px}:fullscreen .production-stage>small{font-size:12px}:fullscreen .production-stage{min-width:0}:fullscreen .production-stage>strong,:fullscreen .production-stage>small{max-width:140px}:fullscreen .production-stage:first-child>strong,:fullscreen .production-stage:first-child>small{text-align:left;transform:none}:fullscreen .production-stage:last-child>strong,:fullscreen .production-stage:last-child>small{text-align:right;transform:translate(calc(-100% + 16px))}.production-progress-item{padding:9px 10px 8px;border:1px solid #e2e8ed;border-radius:8px;background:#fff;box-shadow:0 3px 10px #222f460a}.production-progress-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:4px}.production-progress-head strong{overflow:hidden;text-overflow:ellipsis;font-size:13px}.production-progress-head b{color:#e05a00;font-size:15px}.production-stage-track{display:grid;width:100%;overflow:visible;padding:1px 48px 3px}.production-stage{min-width:0;color:#9aa3af}.production-stage-rail{display:flex;align-items:center;height:19px}.production-stage-node{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 16px;height:16px;border:2px solid #dce2e7;border-radius:50%;background:#fff;font-size:9px;font-weight:800}.production-stage-line{position:relative;flex:1;height:3px;overflow:hidden;background:#e8ecef}.production-stage-line i{position:relative;overflow:hidden;display:block;height:100%;background:linear-gradient(90deg,#ff7a00,#ffb000);box-shadow:0 0 5px #ff7a0080}.production-stage-line i:after{position:absolute;inset:0;content:"";background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.65) 50%,transparent 80%);transform:translate(-100%);animation:production-progress-shimmer 2.2s ease-in-out infinite}@keyframes production-progress-shimmer{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.production-stage-line i:after{animation:none}}.production-stage.completed,.production-stage.active{color:#c44d00}.production-stage.completed .production-stage-node{color:#fff;border-color:#f06a00;background:#f06a00}.production-stage.active .production-stage-node{color:#d95b00;border-color:#f06a00;background:#fff1df}.production-stage>strong,.production-stage>small{display:block;width:max-content;max-width:none;text-align:center;transform:translate(calc(-50% + 8px))}.production-stage>strong{overflow:visible;white-space:nowrap;line-height:1.2;font-size:10px}.production-stage>small{margin-top:1px;font-size:9px}.production-board.dark{color:#edfaff;background:#071017}.production-board.dark .production-progress-item{border-color:#263b46;background:#101d25;box-shadow:none}.production-board.dark .page-header h1,.production-board.dark .production-progress-head strong{color:#f3fbff}.production-board.dark .production-board-meta,.production-board.dark .production-board-meta small{color:#91a8b5}.production-board.dark .production-board-actions button{border-color:#38505d;color:#dff8f5;background:#172832}.production-board.dark .production-stage{color:#718995}.production-board.dark .production-stage-line{background:#2a3b44}.production-board.dark .production-stage-node{border-color:#40545f;background:#101d25}.production-board.dark .production-stage.completed,.production-board.dark .production-stage.active,.production-board.dark .production-progress-head b{color:#ffb347}.production-board.dark .production-stage-line i,.production-board.dark .production-stage.completed .production-stage-node{border-color:#ff8a00;background:linear-gradient(90deg,#ff7a00,#ffc247);box-shadow:0 0 6px #ff9c20a6}.production-board.dark .production-stage.active .production-stage-node{border-color:#ff9a22;background:#4a2b12}.metric,.panel,.filter-panel{background:#fff;border:1px solid #e5e9ef;border-radius:12px;box-shadow:0 3px 14px #222f4609}.filter-panel:has(label:nth-child(3)){grid-template-columns:repeat(4,minmax(150px,1fr))}.batch-toolbar{display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:12px;border:1px solid #bfe7df;border-radius:10px;background:#eefaf7}.batch-toolbar span{margin-right:auto;color:#49625e}.select-cell{width:42px;text-align:center}.select-cell input{width:16px;height:16px;cursor:pointer}.metric{padding:21px;display:flex;align-items:center;gap:16px}.metric-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;font-size:20px}.metric-icon.blue{color:#3676cf;background:#eaf2fe}.metric-icon.amber{color:#ce8b1d;background:#fff4dc}.metric-icon.green{color:#078c70;background:#e3f7f0}.metric-icon.red{color:#d34e56;background:#fdebed}.metric p{margin:0 0 4px;color:#7f8897;font-size:13px}.metric strong{font-size:28px}.metric.clickable{cursor:pointer;text-align:left;border:0}.metric.clickable:hover{transform:translateY(-2px);box-shadow:0 10px 24px #2036491a}.stage-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 18px;margin:-4px 0 20px;border:1px solid #e5e9ef;border-radius:11px;background:#fff}.stage-strip>div{margin-right:auto}.stage-strip>div strong,.stage-strip>div span{display:block}.stage-strip>div span{color:#8a93a1;font-size:11px;margin-top:3px}.stage-count{border:0;cursor:pointer;padding:7px 10px;border-radius:8px;color:#546171;background:#f1f5f6;font-size:12px}.stage-count:hover{background:#e6f3f0}.stage-count b{margin-left:8px;color:#087d70;font-size:15px}.panel{padding:22px}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.panel-title h2,.panel-title h3{margin:0 0 4px;font-size:18px}.panel-title p{margin:0;color:#8a93a1;font-size:12px}.text-button,.icon-button{border:0;background:transparent;color:#0a8f7e;font-weight:650}.icon-button{font-size:22px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{padding:11px 13px;text-align:left;color:#8a93a1;font-size:11px;font-weight:700;background:#f8f9fb;border-bottom:1px solid #e9ecf1}td{padding:15px 13px;border-bottom:1px solid #edf0f3;font-size:13px}tbody tr{transition:.15s}tbody tr:hover{background:#f8fcfb}.order-table tbody tr{cursor:pointer}.order-table td strong,.order-table td small{display:block}.order-table td small{color:#929aa7;margin-top:5px;font-size:11px}.progress{height:6px;width:100%;min-width:80px;border-radius:6px;background:#e8ecef;overflow:hidden}.progress span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#16b39d,#45c7ac)}.progress-cell>span{display:block;margin-bottom:7px;font-weight:700}.tag{display:inline-flex;padding:4px 8px;border-radius:20px;font-size:11px;font-weight:750;background:#edf0f4;color:#5c6677}.status-active,.status-in_progress{color:#b27618;background:#fff2d5}.status-not_started{color:#677181;background:#eef1f4}.status-completed{color:#087c68;background:#e1f5ef}.status-paused{color:#7e61a7;background:#f0eafb}.status-cancelled,.risk-critical{color:#c9454f;background:#fde8ea}.status-skipped{color:#6d7582;background:#eceff2}.risk-overdue,.risk-warning{color:#c34850;background:#fdebed}.risk-info{color:#3676cf;background:#e8f1fd}.muted{color:#929aa7}.filter-panel{padding:16px 18px;display:grid;grid-template-columns:repeat(5,minmax(125px,1fr)) auto;gap:12px;margin-bottom:16px}.filter-panel label{margin:0}.filter-panel input,.filter-panel select{padding:9px 10px}.filter-panel .checkbox-filter{display:flex;flex-direction:row;align-items:center;align-self:end;gap:8px;min-height:38px}.filter-panel .checkbox-filter input{width:16px;height:16px}.alert-filter-panel{display:flex;align-items:flex-end;justify-content:flex-start}.alert-filter-panel .filter-grid{display:grid;grid-template-columns:repeat(3,minmax(140px,220px));gap:12px}.alert-query-button{width:auto;min-width:72px;padding:9px 16px;align-self:flex-end}.filter-actions{display:flex;align-items:flex-end;gap:8px}.orders-panel{padding:0;overflow:hidden}.pagination{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;color:#7e8796;font-size:12px}.pagination button{border:1px solid #dfe3e8;background:#fff;padding:7px 11px;margin-left:6px;border-radius:7px}.drawer-backdrop{position:fixed;inset:0;background:#0d1a2675;z-index:30;display:flex;justify-content:flex-end}.drawer{width:min(760px,92vw);height:100%;overflow:auto;background:#f7f8fa;box-shadow:-12px 0 35px #091b2729;position:relative}.drawer-close{position:absolute;right:22px;top:19px;z-index:2;border:0;background:#ffffff21;color:#fff;font-size:26px;border-radius:50%;width:34px;height:34px}.drawer-head{padding:30px 32px;color:#fff;background:linear-gradient(130deg,#123248,#0a756f)}.drawer-head p{margin:0;color:#9ac7c5;font-size:12px}.drawer-head h2{font-size:27px;margin:8px 0 15px}.drawer-head .tag{margin-right:8px}.detail-summary{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;padding:18px 26px;border-bottom:1px solid #e5e9ef}.detail-summary span,.detail-summary strong{display:block}.detail-summary span{font-size:11px;color:#8c95a2;margin-bottom:6px}.detail-summary strong{font-size:13px}.detail-actions{padding:14px 26px 0;text-align:right}.detail-section{margin:16px 22px;padding:20px;background:#fff;border:1px solid #e4e8ed;border-radius:10px}.timeline-item{display:grid;grid-template-columns:32px 1fr;gap:12px;position:relative;padding-bottom:18px}.timeline-item:not(:last-child):before{content:"";position:absolute;left:15px;top:31px;bottom:0;width:2px;background:#dfe5e8}.timeline-dot{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e9edef;color:#74808d;font-size:12px;font-weight:800;z-index:1}.timeline-item.completed .timeline-dot{background:#0b9c8a;color:#fff}.timeline-item.in_progress .timeline-dot{background:#e7a536;color:#fff}.timeline-body{padding:3px 0 4px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-meta{justify-content:flex-start;color:#9098a4;font-size:11px;margin:8px 0}.timeline-body .text-button{display:inline-block;margin:7px 12px 0 0;padding:6px 10px;font-size:12px;border:1px solid rgba(10,143,126,.35);border-radius:6px}.product-list{display:grid;gap:8px}.component-group+.component-group{margin-top:20px}.component-group h4{margin:0 0 10px;color:#384257}.component-group table{min-width:720px}.component-progress-cell{display:grid;grid-template-columns:minmax(90px,1fr) 42px;align-items:center;gap:8px;min-width:150px}.component-progress-cell span{color:#657084;font-size:12px}.product-list>div{display:grid;grid-template-columns:110px 1fr auto;gap:10px;padding:11px 12px;background:#f7f9fa;border-radius:8px;font-size:12px}.product-list span{color:#84909d}.product-list em{font-style:normal;color:#697483}.modal-backdrop{position:fixed;inset:0;background:#09162280;display:grid;place-items:center;z-index:50;padding:20px}.modal{width:min(460px,100%);background:#fff;border-radius:14px;padding:24px;box-shadow:0 24px 70px #00000040}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.modal-head h2{margin:3px 0 0}.modal-head small{color:#7f8996}.modal-head>button{border:0;color:#7c8794;background:transparent;font-size:24px}.modal label.check-row,.check-row{display:flex;flex-direction:row;align-items:center;gap:7px}.check-row input{width:auto}.modal textarea{min-height:90px;resize:vertical}.range-row{display:grid;grid-template-columns:1fr 75px;gap:12px;align-items:center}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.message{padding:12px;border-radius:8px;font-size:13px;margin:12px 0}.message.error{color:#a43d45;background:#fdebed;border:1px solid #f7ced1}.message.state{display:flex;align-items:center;gap:12px}.message.state span{flex:1}.message.state button{border:0;background:#fff;border-radius:6px;padding:7px}.loading,.loading-page{display:flex;align-items:center;justify-content:center;gap:10px;color:#84909d;padding:50px}.loading-page{min-height:100vh;flex-direction:column}.spinner{width:25px;height:25px;border:3px solid #dbe5e5;border-top-color:#0b9c8a;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;padding:55px 20px;color:#929ba7}.empty span,.empty strong{display:block}.empty span{font-size:34px;color:#b6c0c8}.empty strong{color:#616b79;margin:9px}.empty p{font-size:12px}.reference-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.embedded-template-panel{margin-top:16px;padding:18px}.embedded-template-panel .reference-card{max-width:680px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading small{color:#0b9c8a;font-weight:750}.section-heading h2{margin:3px 0 0;font-size:18px}.section-heading>span{color:#8b95a2;font-size:11px}.reference-card{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:17px;border:1px solid #e4e8ed;border-radius:10px}.reference-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;color:#078879;background:#e4f6f2}.reference-card h3{margin:0;font-size:15px}.reference-card code{font-size:11px;color:#6d7a88}.reference-card p{margin:8px 0 0;color:#8c95a2;font-size:12px}.reference-actions{display:flex;gap:7px;margin-top:10px}button.compact{padding:6px 9px;font-size:11px}.workflow-editor{width:min(780px,100%);max-height:calc(100vh - 40px);overflow:auto}.workflow-editor-list{display:grid;gap:7px}.workflow-add{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.workflow-editor-row{display:grid;grid-template-columns:25px minmax(130px,1fr) 110px 65px 66px 44px;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e3e8ed;border-radius:8px}.remove-stage{padding:5px;border:0;color:#ad4b53;background:transparent;font-size:10px}.workflow-editor-row>span small{display:block;color:#8993a0;font-size:9px}.workflow-editor-row label{margin:0}.workflow-editor-row input[type=number]{padding:7px}.move-actions{display:flex;gap:3px}.move-actions button{width:29px;height:29px;border:1px solid #d9e0e6;border-radius:5px;background:#fff}.weight-total{margin:12px 0;color:#a45d32;font-size:12px}.weight-total.valid{color:#078879}.user-toolbar{display:grid;grid-template-columns:minmax(220px,360px) 180px 1fr;align-items:end;gap:12px;padding:16px 18px;margin-bottom:16px;border:1px solid #e5e9ef;border-radius:12px;background:#fff}.user-toolbar label{display:flex;flex-direction:column;gap:7px;color:#566173;font-size:12px;font-weight:650}.user-toolbar label:first-child{margin:0}.user-toolbar input,.user-toolbar select,.user-editor select{width:100%;padding:10px 11px;border:1px solid #dce1e8;border-radius:8px;background:#fff}.user-toolbar>span{align-self:center;justify-self:end;color:#87909d;font-size:12px}.users-panel{padding:0;overflow:hidden}.users-panel td strong,.users-panel td small{display:block}.users-panel td small{margin-top:4px;color:#939ca8}.role-tags{display:flex;gap:5px;flex-wrap:wrap}.role-tags span{padding:4px 7px;border-radius:6px;color:#386578;background:#eaf2f5;font-size:11px}.danger-text{color:#c44750;margin-left:6px}.user-editor{width:min(610px,100%);max-height:92vh;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.user-editor fieldset{margin:0 0 18px;padding:13px;border:1px solid #e0e4e9;border-radius:9px}.user-editor legend{padding:0 5px;color:#566173;font-size:13px;font-weight:700}.role-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.role-options label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:0;padding:9px;border-radius:7px;background:#f6f8f9;cursor:pointer}.role-options input{width:auto;margin-top:2px}.role-options strong,.role-options small{display:block}.role-options small{margin-top:3px;color:#89929e;font-size:10px}@media(max-width:1100px){.filter-panel{grid-template-columns:repeat(3,1fr)}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.login-shell{grid-template-columns:1fr}.login-brand{display:none}.login-panel{padding:28px;min-height:100vh}.app-shell{display:block}.sidebar{position:sticky;width:100%;height:auto;z-index:20;padding:10px 14px;flex-direction:row;align-items:center}.app-logo{padding:0}.app-logo div{display:none}.sidebar nav{flex-direction:row;margin-left:auto}.sidebar nav button{font-size:0;padding:10px}.sidebar nav i{font-size:19px}.sidebar-foot{margin:0 0 0 8px;padding:0;border:0;display:flex}.sidebar-foot>div:not(.avatar){display:none}.content{padding:22px 14px 45px}.page-header{align-items:center}.page-header h1{font-size:23px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.production-progress-list{grid-template-columns:1fr}.metric{padding:14px}.metric strong{font-size:22px}.filter-panel{grid-template-columns:1fr 1fr}.alert-filter-panel{align-items:stretch;flex-direction:column}.alert-filter-panel .filter-grid{grid-template-columns:1fr}.alert-query-button{align-self:flex-end}.filter-actions{grid-column:1/-1;justify-content:flex-end}.panel{padding:14px}.order-table{min-width:920px}.detail-summary{grid-template-columns:1fr 1fr;gap:16px}.detail-section{margin:12px}.reference-grid{grid-template-columns:1fr}.user-toolbar{grid-template-columns:1fr 1fr}.user-toolbar>span{grid-column:1 / -1;justify-self:start}.brand-stats{flex-wrap:wrap}}@media(max-width:430px){.metric-grid,.filter-panel{grid-template-columns:1fr}.filter-actions{grid-column:auto}.user-toolbar,.form-grid,.role-options{grid-template-columns:1fr}.page-header .primary{display:none}}.import-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.import-guide p{margin:6px 0 0;color:var(--muted)}.import-guide>span{color:var(--primary);font-weight:700;white-space:nowrap}.import-upload{display:flex;align-items:center;gap:14px;margin-bottom:18px}.import-upload>small{color:var(--muted)}.file-picker{flex:1;min-width:260px;border:1px dashed var(--border);border-radius:10px;padding:12px 15px;cursor:pointer;background:var(--surface-soft)}.file-picker input{display:none}.file-picker span{color:var(--text)}.file-drop-zone{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;transition:border-color .15s,background .15s}.file-drop-zone.is-dragging{border-color:var(--primary);background:#eef6ff}.file-drop-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.file-drop-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-drop-copy small{color:var(--muted)}.file-select-button{flex:0 0 auto;border:1px solid var(--primary);color:var(--primary)!important;border-radius:7px;padding:7px 14px;font-weight:700;background:var(--surface)}.import-summary{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:12px;margin-bottom:16px}.import-summary>div{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}.import-summary small{color:var(--muted)}.import-summary strong{font-size:22px}.summary-ok strong{color:#16845b}.summary-warning strong{color:#b7791f}.summary-error strong{color:#c53c3c}.import-table td:last-child{min-width:230px}.import-table td:last-child small{margin-top:5px}.tag.import-valid{background:#e6f7ef;color:#16845b}.tag.import-warning{background:#fff6dd;color:#9a6700}.tag.import-invalid{background:#fdecec;color:#b42318}.import-confirm{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding-top:16px;border-top:1px solid var(--border)}.import-confirm label{display:flex;align-items:center;gap:8px;color:var(--muted)}.import-result{margin-top:16px;display:flex;align-items:center;gap:14px}.import-result h2,.import-result p{margin:0}.import-result p{margin-top:5px;color:var(--muted)}.success-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e6f7ef;color:#16845b;font-size:22px;font-weight:800}@media(max-width:900px){.import-guide,.import-upload{align-items:stretch;flex-direction:column}.import-guide>span{white-space:normal}.import-summary{grid-template-columns:repeat(2,minmax(100px,1fr))}}
