:root{font-family:"Segoe UI",Arial,sans-serif;color:#203539;background:#f3f6f7;font-synthesis:none;--teal:#0d5d63;--dark:#08454b;--pale:#e9f3f5;--line:#dce5e7;--muted:#61777c;--orange:#9a5913;--red:#a33434;--green:#24634c;--shadow:0 10px 35px #173f4910}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #37a1ae;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.7px;line-height:1.2;margin-bottom:8px}h2{font-size:19px;letter-spacing:-.25px;margin-bottom:6px}h3{font-size:16px;margin-bottom:6px}small,.small{font-size:12px}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.initial-state{min-height:100vh;display:grid;place-content:center;text-align:center;gap:16px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--teal);color:white;border-radius:12px;font-weight:800;font-size:27px;margin:auto}.skip-link{position:fixed;top:-80px;left:12px;padding:12px;background:white;z-index:100}.skip-link:focus{top:10px}.layout{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:#eaf2f5;border-right:1px solid var(--line);padding:28px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;gap:30px}.logo{display:flex;align-items:center;gap:10px;color:var(--dark);line-height:1.2}.logo .brand-mark{margin:0;width:35px;height:39px;border-radius:8px;font-size:24px}.logo strong{font-size:22px;letter-spacing:1.6px}.logo small{display:block;font-size:8px;letter-spacing:1.4px;font-weight:650;margin-top:3px}.nav-caption{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;color:#73898e;padding:0 13px;margin-bottom:10px}.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;margin-bottom:5px;color:#446269;font-weight:600}.nav a:hover{background:#dfecef;text-decoration:none}.nav a.active{background:var(--teal);color:white;box-shadow:0 3px 9px #0d5d6320}.nav svg{height:18px;width:18px;flex-shrink:0}.sidebar-foot{margin-top:auto;padding:14px 10px 0;border-top:1px solid #d8e4e7;color:#6f858a;font-size:11px}.scope-note{border-radius:6px;background:white;padding:8px 10px;margin-bottom:12px;color:#3c626b}.workspace{min-width:0}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:#fff;gap:12px}.topbar-label{font-size:13px;font-weight:600;color:#4c656b;display:flex;gap:10px;align-items:center}.demo-badge{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#8b5a20;background:#fff1dc;border:1px solid #f1d7b0;padding:3px 7px;border-radius:5px}.user-menu{display:flex;gap:10px;align-items:center}.avatar{width:33px;height:33px;background:var(--pale);color:var(--teal);border-radius:50%;display:grid;place-items:center;font-weight:750}.user-name{font-size:12px;font-weight:650}.user-role{font-size:10px;color:var(--muted)}.icon-button{border:0;background:transparent;color:var(--muted);padding:7px;min-width:34px;min-height:34px;border-radius:6px}.icon-button:hover{background:var(--pale)}.page{padding:30px 36px 46px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-heading p{margin-bottom:0}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:750;color:#6d858b;margin-bottom:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border:1px solid var(--line);border-radius:7px;color:#2e5058;background:white;font-weight:650;font-size:12px;text-decoration:none;white-space:nowrap}.button:hover{background:#f0f6f7;text-decoration:none}.button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}.button.primary:hover{background:var(--dark)}.button.small{padding:7px 10px;min-height:34px;font-size:11px}.button.danger{color:var(--red);border-color:#e8caca}.button.text{border:0;background:transparent;padding:8px 0;min-height:32px;color:var(--teal)}.button svg{height:16px;width:16px}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:10px;padding:18px 20px;background:#fff;text-align:left;color:inherit;box-shadow:0 2px 4px #193b4502}.stat.active{border-color:#7daeb5;background:#f9fdfd}.stat-label{font-size:12px;color:var(--muted);font-weight:600}.stat-value{font-size:29px;font-weight:700;letter-spacing:-.7px;margin-top:4px}.stat-bottom{font-size:11px;color:#819397;margin-top:2px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 2px 4px #193b4502;overflow:hidden}.panel-head{padding:18px 21px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px}.panel-head h2{font-size:15px;margin:0}.panel-body{padding:21px}.filters{display:flex;gap:10px;align-items:center;padding:15px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap;background:#fcfdfd}.search{position:relative;flex:1;min-width:190px}.search svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:#809398}.search input{padding-left:37px;width:100%}.filters select{max-width:180px}.field-label{display:block;font-size:12px;font-weight:650;margin-bottom:6px;color:#3e5b63}input,select,textarea{border:1px solid #cddbdd;border-radius:6px;background:white;padding:10px 11px;color:#29464d;min-height:41px;max-width:100%}textarea{resize:vertical;min-height:76px}input::placeholder,textarea::placeholder{color:#8c9da1}input[readonly]{background:#f3f6f7;color:#637a80}.field input,.field select,.field textarea{width:100%}.field{min-width:0}.field-hint{font-size:11px;color:var(--muted);margin-top:5px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field-grid .wide{grid-column:1/-1}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;cursor:pointer}.check-row input{width:17px;height:17px;min-height:0;margin:3px 0 0;accent-color:var(--teal);flex-shrink:0}.check-row span{display:block}.check-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.order-table{width:100%;border-collapse:collapse;text-align:left}.order-table th{padding:11px 20px;background:#f7fafb;color:#7a9096;font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:650;border-bottom:1px solid var(--line)}.order-table td{padding:17px 20px;border-bottom:1px solid #edf1f2;vertical-align:top}.order-table tr:last-child td{border-bottom:0}.order-table tbody tr:hover{background:#fbfdfd}.order-ref{font-weight:750;font-size:13px;color:var(--teal)}.customer-name{font-weight:600;font-size:12px;color:#405e66;margin-top:4px}.line-summary{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:6px;min-width:190px}.line-summary:last-child{margin-bottom:0}.line-summary>span:first-child{font-size:12px;color:#4f6b73}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;font-size:10px;font-weight:650;padding:4px 7px;background:#eaf3f5;color:#26616c;line-height:1.35;white-space:nowrap}.badge.waiting{background:#fff3e2;color:#9c6b29}.badge.complete{background:#e9f5ee;color:#347256}.badge.neutral{background:#eff2f3;color:#6d8085}.badge.danger{background:#fbebeb;color:#a45050}.date-main{font-size:12px;font-weight:600}.date-late{font-size:10px;color:#a9533e;margin-top:3px}.person-cell{font-size:12px}.time-cell{font-size:10px;color:#8a9b9f;margin-top:4px}.empty{padding:55px 24px;text-align:center;color:#73888e}.empty svg{width:34px;height:34px;margin-bottom:12px;color:#9cb4ba}.empty h2{font-size:17px;color:#36565f}.empty p{max-width:380px;margin:8px auto 18px}.list-footer{padding:12px 20px;background:#fcfdfd;border-top:1px solid var(--line);color:#8a9b9f;font-size:10px;display:flex;justify-content:space-between;gap:10px}.breadcrumb{font-size:12px;color:#91a0a3;display:flex;align-items:center;gap:9px;margin-bottom:18px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.stack{display:grid;gap:18px}.order-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fact-label{font-size:10px;color:#84969b;text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px}.fact-value{font-size:13px;font-weight:650;color:#395861}.order-note{margin-top:18px;padding-top:14px;border-top:1px solid #edf2f3;color:#667f86;font-size:12px;white-space:pre-wrap}.line-card{padding:22px}.line-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.line-title h2{font-size:17px;margin-bottom:5px}.line-meta{display:flex;gap:15px;flex-wrap:wrap;color:#7f9399;font-size:11px}.stage-focus{margin:20px 0 16px;background:#f0f7f8;border:1px solid #dcebee;border-radius:8px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.stage-focus .fact-label{color:#75979e}.stage-name{font-size:20px;font-weight:700;color:var(--teal);line-height:1.2;margin:4px 0}.stage-owner{font-size:11px;color:#789198;margin-top:6px}.route{display:flex;gap:0;overflow:auto;padding:5px 0 14px;scrollbar-width:thin}.route-step{font-size:9px;flex:1;min-width:84px;text-align:center;color:#96a5a8;position:relative;padding:19px 5px 0}.route-step:before{content:"";position:absolute;top:4px;left:0;width:100%;height:2px;background:#e5ecee}.route-step:after{content:"";position:absolute;top:0;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:#dfe8ea;border:2px solid white}.route-step.done{color:#688e96}.route-step.done:before,.route-step.done:after{background:#86b1b8}.route-step.current{font-weight:750;color:var(--teal)}.route-step.current:after{background:var(--teal);box-shadow:0 0 0 3px #d3e8eb}.route-step:first-child:before{left:50%;width:50%}.route-step:last-child:before{width:50%}.line-plan{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:#7d959c;margin-top:5px}.delivery-state{margin-top:17px;padding-top:15px;border-top:1px solid #edf2f3;display:flex;justify-content:space-between;gap:12px;align-items:center}.quantity-summary{font-size:11px;color:#7f969d}.quantity-summary strong{color:#4f737d;font-weight:650}.exception-panel{margin-top:14px;border:1px solid #e8d9bc;background:#fffbf3;border-radius:8px;padding:15px}.exception-panel h3{font-size:13px;color:#805f32}.exception-panel p{font-size:11px;color:#967d57}.exception-fields{display:grid;grid-template-columns:1fr 110px;gap:10px;margin-bottom:12px}.exception-panel .field-label{font-size:10px}.exception-panel select,.exception-panel input{min-height:37px;font-size:12px;width:100%}.side-card .panel-head{padding:16px 18px}.side-card .panel-body{padding:18px}.clearance-status{display:flex;align-items:center;gap:8px;margin-bottom:13px;font-weight:650;color:#47656e;font-size:12px}.status-dot{height:8px;width:8px;border-radius:50%;background:#bdcbd0}.status-dot.green{background:#44966d}.status-dot.amber{background:#cc9954}.audit-info{font-size:10px;color:#8d9fa5;margin-top:9px;line-height:1.5}.divider{border:0;border-top:1px solid var(--line);margin:18px 0}.timeline{list-style:none;margin:0;padding:0}.timeline li{padding:0 0 18px 18px;border-left:1px solid #dce8eb;position:relative;font-size:11px;color:#45666f}.timeline li:before{content:"";width:7px;height:7px;border-radius:50%;background:#a0bfc6;position:absolute;left:-4px;top:5px}.timeline li:last-child{padding-bottom:0;border-left-color:transparent}.timeline time{display:block;font-size:9px;color:#8b9fa6;margin-top:3px}.timeline p{margin:5px 0 0;font-size:10px;color:#7e959d;white-space:pre-wrap}.history-more{font-size:11px;color:#879aa0}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:24px}.tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:11px 15px;color:#789098;font-size:12px;font-weight:650}.tab.active{border-bottom-color:var(--teal);color:var(--teal)}.setup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.8fr);gap:20px;align-items:start}.setup-list{list-style:none;padding:0;margin:0}.setup-list li{padding:16px 19px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f3;align-items:center}.setup-list li:last-child{border-bottom:0}.setup-list strong{font-size:12px;display:block}.setup-list p{font-size:10px;color:#82979f;margin:3px 0 0}.setup-form{display:grid;gap:16px}.stage-edit-hint{font-size:11px;line-height:1.6;color:#8c9ba0}.rights-list{display:grid;gap:14px;padding:4px 0}.notice{border-radius:7px;padding:12px 14px;background:#edf6f7;color:#5f808a;font-size:11px;line-height:1.7}.error{padding:11px 13px;border-radius:6px;background:#fdf0ee;border:1px solid #f1d5d0;color:#a64b3e;font-size:12px;margin-bottom:14px}.success{padding:10px;background:#edf7f1;color:#3d7b58;border-radius:6px;font-size:12px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-intro{background:var(--teal);padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden}.auth-intro:after{content:"";position:absolute;width:430px;height:430px;border:1px solid #ffffff12;border-radius:50%;right:-190px;bottom:30px;box-shadow:0 0 0 70px #ffffff05,0 0 0 140px #ffffff03;pointer-events:none}.auth-intro .logo{color:white}.auth-intro .brand-mark{color:var(--teal);background:#fff}.auth-intro h1{font-size:43px;max-width:400px;line-height:1.15;letter-spacing:-1.3px;font-weight:650}.auth-intro p{font-size:15px;color:#afd1d5;max-width:350px;line-height:1.8}.auth-intro .eyebrow{color:#9fc7cd}.auth-foot{font-size:11px;color:#8bb9c0}.auth-main{display:grid;place-items:center;padding:40px}.auth-box{width:100%;max-width:350px}.auth-box h2{font-size:25px;margin-bottom:8px}.auth-box>p{font-size:12px;color:#7b9199;margin-bottom:28px}.auth-form{display:grid;gap:17px}.auth-form .button{margin-top:6px;min-height:45px}.auth-security{font-size:10px;color:#99a8ad;text-align:center;margin-top:22px}.form-error:empty{display:none}.form-error{color:#a34e43;background:#fff0ed;border-radius:6px;padding:10px 12px;font-size:12px}.loading{padding:35px;text-align:center;color:#7f969d}.title-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}dialog{border:0;padding:0;border-radius:12px;width:760px;max-width:calc(100vw - 28px);max-height:90vh;box-shadow:0 20px 100px #062f3a40;color:inherit}dialog::backdrop{background:#143b4870;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{margin:0;font-size:20px}.modal-body{padding:23px 25px}.modal-footer{padding:17px 25px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);background:#f9fbfc}.line-entry{margin-top:15px;border:1px solid var(--line);border-radius:8px;padding:17px;background:#fcfdfd}.line-entry-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-weight:650;font-size:12px;color:#526f78}.line-entry-grid{display:grid;grid-template-columns:1fr 105px;gap:12px}.line-entry-grid .wide{grid-column:1/-1}.line-entry .field-label{font-size:11px}.line-entry input,.line-entry select{min-height:38px;font-size:12px}.add-line{width:100%;margin-top:13px;border-style:dashed;background:#f7fbfc}.form-section-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 0;font-size:13px;font-weight:650}.optional{font-size:10px;font-weight:400;color:#9aa9ae}.new-customer-fields{background:#eff7f8;padding:13px;border-radius:7px;margin-top:10px}.inline-field{display:flex;gap:8px;align-items:center}.inline-field input{flex:1;min-width:0}.full-width{width:100%}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);padding:12px 20px;color:white;background:#235d64;box-shadow:var(--shadow);border-radius:8px;z-index:1000;display:none;max-width:calc(100vw - 30px);font-size:12px}#toast.visible{display:block}#toast.error-toast{background:#9b4d42}.mobile-only{display:none}
.line-title h2,.customer-name,.order-ref,.setup-list strong,.stage-name{overflow-wrap:anywhere}.stage-focus .button{white-space:normal;text-align:center}.exception-panel .button-row{margin-top:12px}
@media(min-width:1450px){.page{padding-top:36px}.order-table td{padding-top:20px;padding-bottom:20px}.auth-intro{padding:65px 90px}}
@media(max-width:1100px){.layout{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:25px 12px}.logo strong{font-size:19px}.logo small{font-size:7px}.topbar{padding:0 24px}.page{padding:26px 24px}.detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:15px}.order-table td,.order-table th{padding-left:14px;padding-right:14px}.line-summary{gap:8px;min-width:170px}.setup-grid{grid-template-columns:1fr 1fr}.stage-focus{align-items:flex-start;flex-direction:column}.stage-focus .button{align-self:stretch}.auth-intro{padding:45px 40px}.auth-intro h1{font-size:38px}.user-menu{gap:7px}.stats{gap:12px}.stat{padding:15px}.detail-grid .order-facts{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:13px 20px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:15px}.sidebar .logo .brand-mark{height:31px;width:30px;font-size:20px}.sidebar .logo strong{font-size:17px}.sidebar .logo small{font-size:6px}.nav{display:flex;gap:5px}.nav a{margin:0;padding:9px 12px;font-size:11px}.nav-caption,.sidebar-foot{display:none}.nav svg{width:15px;height:15px}.topbar{height:60px;padding:0 22px}.topbar-label{font-size:11px}.user-role{font-size:9px}.page{padding:24px 22px 40px}.page-heading{margin-bottom:20px}h1{font-size:26px}.detail-grid{grid-template-columns:1fr}.detail-side{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.stage-focus{flex-direction:row;align-items:center}.stage-focus .button{align-self:center}.line-card{padding:20px}.setup-grid{grid-template-columns:1fr 1fr}.auth-layout{grid-template-columns:.9fr 1.1fr}.auth-intro{padding:35px 30px}.auth-intro h1{font-size:31px}.auth-intro p{font-size:13px}.auth-main{padding:30px}#toast{left:50%}}
@media(max-width:620px){body{font-size:13px}.sidebar{padding:13px 15px}.sidebar .logo strong{font-size:16px}.sidebar .logo small{display:none}.sidebar .logo .brand-mark{height:29px;width:28px}.nav a{padding:8px 10px}.nav svg{display:none}.topbar{padding:0 16px;height:58px}.topbar-label{gap:6px;font-size:10px}.avatar{width:29px;height:29px;font-size:11px}.user-name{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.user-role{max-width:105px;overflow:hidden;white-space:nowrap;font-size:9px}.icon-button{padding:5px;min-width:30px}.page{padding:23px 15px 35px}.page-heading{gap:10px;align-items:center}.page-heading p{font-size:11px;max-width:230px}.page-heading .button{padding:9px 12px;font-size:11px;min-height:41px}h1{font-size:24px}.eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:7px}.stats{gap:8px;margin-bottom:18px}.stat{padding:12px 10px;border-radius:8px}.stat-label{font-size:10px;line-height:1.4;min-height:28px}.stat-value{font-size:25px;margin-top:1px}.stat-bottom{display:none}.filters{padding:12px;gap:8px}.search{flex-basis:100%;min-width:0}.filters select{flex:1;max-width:none;min-width:0;font-size:11px}.filters input{font-size:12px}.order-table,.order-table tbody,.order-table tr,.order-table td{display:block}.order-table thead{display:none}.order-table tbody tr{padding:15px 14px;border-bottom:1px solid var(--line);position:relative}.order-table tbody tr:last-child{border-bottom:0}.order-table td{padding:0;border:0}.order-table td:first-child{padding-bottom:12px;max-width:calc(100% - 85px)}.order-ref{font-size:13px}.customer-name{font-size:11px;margin-top:3px}.order-table td:nth-child(2){padding-top:11px;border-top:1px solid #eef3f4}.line-summary{margin-bottom:8px;gap:10px}.line-summary>span:first-child{font-size:11px;max-width:62%}.order-table td:nth-child(3){position:absolute;right:14px;top:17px;text-align:right}.order-table td:nth-child(4){display:flex;justify-content:space-between;align-items:center;margin-top:11px;padding-top:10px;border-top:1px solid #f1f4f5}.date-main{font-size:10px}.date-late{font-size:9px}.person-cell{font-size:10px}.time-cell{font-size:9px;margin-top:0}.badge{font-size:9px;padding:4px 6px;white-space:normal;text-align:center;max-width:150px}.list-footer{font-size:9px;padding:11px 13px}.panel-head{padding:15px}.panel-body{padding:16px}.detail-grid .order-facts{gap:15px;grid-template-columns:1fr 1fr}.fact-label{font-size:9px}.fact-value{font-size:12px}.line-card{padding:17px}.line-title h2{font-size:16px}.line-meta{font-size:10px;gap:10px}.stage-focus{flex-direction:column;align-items:stretch;padding:14px}.stage-focus .button{align-self:stretch;min-height:44px;font-size:12px}.stage-name{font-size:21px}.stage-owner{font-size:10px}.route-step{min-width:78px;font-size:9px}.delivery-state{align-items:flex-start;flex-direction:column;gap:11px}.delivery-state .button-row{width:100%}.delivery-state .button{flex:1;min-height:42px}.line-plan{align-items:flex-start;flex-wrap:wrap;font-size:10px}.detail-side{grid-template-columns:1fr}.detail-side .side-card:first-child{order:0}.detail-side .side-card:last-child{order:1}.exception-fields{grid-template-columns:1fr 100px}.exception-panel .button-row .button{min-height:40px}.setup-grid{grid-template-columns:1fr}.tabs{gap:0;margin-bottom:17px}.tab{flex:1;padding:10px 7px;font-size:11px}.field-grid{gap:14px}.field-grid.auth-fields{grid-template-columns:1fr}.setup-form .field-grid{grid-template-columns:1fr}.setup-form .field-grid .wide{grid-column:auto}.auth-layout{grid-template-columns:1fr}.auth-intro{padding:25px 26px 28px;min-height:240px;gap:25px}.auth-intro h1{font-size:28px;max-width:300px;margin-bottom:10px}.auth-intro p{font-size:12px;margin:0;max-width:330px}.auth-intro .eyebrow{display:none}.auth-foot{display:none}.auth-intro .logo strong{font-size:21px}.auth-intro .logo small{font-size:7px}.auth-main{padding:30px 25px 40px;place-items:start center}.auth-box{max-width:420px}.auth-box h2{font-size:22px}.auth-box>p{margin-bottom:23px}.auth-form{gap:15px}.auth-security{font-size:9px}.modal-head{padding:17px 18px}.modal-head h2{font-size:18px}.modal-body{padding:18px}.modal-footer{padding:15px 18px;position:sticky;bottom:0}.modal-footer .button{min-height:42px}.line-entry{padding:13px}.line-entry-grid{grid-template-columns:1fr 85px;gap:10px}.line-entry-grid .owner-field{grid-column:1/-1}.form-section-heading{font-size:12px}.mobile-only{display:block}.desktop-only{display:none}.empty{padding:35px 20px}.clearance-status{font-size:12px}.button.small{min-height:38px}.stage-edit-hint{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.button,.nav a,.stat{transition:background .13s,border-color .13s}.page{animation:appear .18s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}}

.line-summary-title{display:block;overflow-wrap:anywhere}.line-summary-owner{display:block;font-size:9px;color:#849aa1;margin-top:3px;line-height:1.45;font-weight:400}.line-summary-info{min-width:0}
.catalog-search{padding:15px 19px;border-bottom:1px solid var(--line);background:#fcfdfd}.catalog-search input{width:100%;font-size:12px}.catalog-search .field-label{font-size:10px}.setup-catalog{max-height:590px;overflow-y:auto;overscroll-behavior:contain}.chosen-stages{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.chosen-stage{display:flex;gap:10px;align-items:center;padding:12px 10px;background:#fcfdfd;border-bottom:1px solid #e6eef0}.chosen-stage:last-child{border-bottom:0}.stage-position{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;background:#e6f0f2;color:#628891;font-size:10px;font-weight:700;border-radius:50%}.chosen-stage-info{flex:1;min-width:0}.chosen-stage-info strong{display:block;font-size:11px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}.chosen-stage-info small{display:block;font-size:10px;color:#82999f;margin-top:3px}.stage-row-actions{display:flex;gap:4px;flex-shrink:0}.stage-row-actions .button{padding:6px 8px;min-height:36px;font-size:10px}.stage-row-actions .stage-arrow{min-width:33px;font-size:14px}.stage-row-actions .button:disabled{cursor:default;opacity:.35}.route-empty{padding:15px;border:1px dashed #d5e4e8;border-radius:7px;background:#f8fbfc;font-size:11px;color:#79949d;line-height:1.6}.route-search-label{margin-top:19px}.stage-matches{list-style:none;padding:0;margin:9px 0 0;border:1px solid var(--line);border-radius:7px;overflow:hidden}.stage-matches li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 10px;border-bottom:1px solid #e6eef0}.stage-matches li:last-child{border-bottom:0}.stage-matches strong{display:block;font-size:11px;font-weight:600;overflow-wrap:anywhere}.stage-matches small{display:block;font-size:10px;color:#82999f;margin-top:2px}.stage-matches .button{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#route-matches .route-empty{margin-top:9px}
@media(max-width:1100px) and (min-width:621px){.chosen-stage{display:grid;grid-template-columns:22px minmax(0,1fr)}.stage-row-actions{grid-column:2;justify-content:flex-end}.stage-row-actions .button{min-height:38px}}
@media(max-width:620px){.catalog-search{padding:13px 15px}.setup-catalog{max-height:440px}.chosen-stage{display:grid;grid-template-columns:22px minmax(0,1fr);padding:12px;gap:8px}.chosen-stage-info strong{font-size:12px}.stage-row-actions{grid-column:2;justify-content:flex-end;gap:6px}.stage-row-actions .button{min-height:42px;padding:8px 12px;font-size:11px}.stage-row-actions .stage-arrow{min-width:42px;font-size:17px}.stage-matches li{padding:11px 12px}.stage-matches .button{min-height:42px}.stage-matches strong{font-size:12px}.tabs .tab{font-size:11px;padding-left:5px;padding-right:5px}}
.setup-groups{margin-bottom:15px}.setup-subnav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:23px}.setup-subnav a{padding:7px 12px;border:1px solid transparent;border-radius:6px;color:#7d939b;font-size:11px;font-weight:600}.setup-subnav a:hover{background:#eaf2f5;text-decoration:none}.setup-subnav a.active{background:#e6f1f3;border-color:#d5e5e8;color:var(--teal)}.customer-delivery-addresses{padding-top:5px}.branch-card{border:1px solid #dce7ea;border-radius:8px;margin-bottom:13px;background:#fbfdfd;overflow:hidden}.branch-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e9f0f2}.branch-card-head strong{font-size:12px;color:#476c76;overflow-wrap:anywhere}.branch-card-head .button-row{gap:12px;flex-shrink:0}.branch-fields{padding:15px;display:grid;gap:12px}.branch-summary{padding:12px 14px;font-size:11px;color:#7b929b}.branch-summary p{white-space:pre-wrap;margin-bottom:5px;overflow-wrap:anywhere}.branch-summary span{font-size:10px;color:#9aabb0}.delivery-destination{border-top:1px solid #edf2f3;margin-top:17px;padding-top:14px;color:#536f78;font-size:12px}.delivery-destination>.fact-label{display:block}.delivery-destination strong{display:block;font-size:12px;margin-bottom:4px;font-weight:650;color:#476b75}.delivery-destination p{margin-bottom:3px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.destination-emirate{font-size:10px;color:#80979f}.delivery-destination.compact{border:0;padding:0;margin:0;font-size:11px}.delivery-destination.compact>.fact-label{font-size:9px}.delivery-address-context{padding:12px 14px;margin-top:15px;border-radius:7px;background:#f8fafb;border:1px solid #e8eff1}.delivery-address-context .delivery-destination p{font-size:10px}.delivery-address-context .delivery-destination strong{font-size:11px}#order-destination-wrap>.delivery-destination,#destination-preview>.delivery-destination{padding:12px 14px;background:#f4f9fa;border-radius:7px;margin-top:8px;border:1px solid #e2edef}#order-destination-wrap select{width:100%}#order-destination-wrap .delivery-destination>.fact-label{display:none}.customer-delivery-addresses>.field-hint{margin-top:11px}
@media(max-width:620px){.setup-subnav{gap:4px;margin-bottom:18px}.setup-subnav a{padding:8px 10px;font-size:10px}.setup-groups .tab{font-size:12px}.branch-card-head{padding:11px 12px;gap:8px}.branch-card-head strong{font-size:11px}.branch-card-head .button-row{gap:9px}.branch-card-head .button{font-size:10px}.branch-fields{padding:12px;gap:11px}.branch-summary{padding:12px}.delivery-destination strong{font-size:12px}.delivery-address-context{padding:11px 12px}.setup-form .field-grid{grid-template-columns:1fr}}
.setup-list p,.page-heading h1{overflow-wrap:anywhere}
.order-facts .button.text{white-space:normal;text-align:left;justify-content:flex-start;line-height:1.4}.fact-value{overflow-wrap:anywhere}
.hierarchy-warning{background:#fff5e6;border:1px solid #ecdaba;color:#806332;margin-bottom:18px}.hierarchy-warning strong{display:block;margin-bottom:4px}.hierarchy-warning ul{margin:0;padding-left:17px}
.stage-plan{margin:20px 0;border:1px solid #d5e4e7;border-radius:9px;overflow:hidden;font-size:1rem;line-height:1.5;background:#fff}.stage-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 9px}.stage-plan-heading h3{margin:0;font-size:1.05rem;font-weight:650;color:#315962}.stage-plan-view{font-size:.75rem;color:#68828a;background:#eef4f5;border-radius:5px;padding:4px 8px}.stage-plan-facts{display:flex;gap:12px 24px;flex-wrap:wrap;padding:0 18px;font-size:.875rem;color:#5e7b84}.stage-plan-facts strong{font-weight:600;color:#315962}.stage-plan-help{padding:9px 18px 15px;margin:0;font-size:.75rem;color:#70868e}.stage-plan-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}.stage-plan-table thead{background:#f3f8f9}.stage-plan-table th,.stage-plan-table td{padding:12px 16px;border-top:1px solid #e2ecee;vertical-align:middle}.stage-plan-table thead th{font-size:.875rem;font-weight:600;color:#57767f;line-height:1.4}.stage-plan-table thead th:first-child{width:44%}.stage-plan-table tbody th{font-size:.875rem;font-weight:500;color:#365c66;overflow-wrap:anywhere}.stage-plan-number{font-size:1rem;font-variant-numeric:tabular-nums;color:#355b65}.stage-plan-row.adjusted{background:#eff8f9}.stage-plan-adjusted{display:block;margin-top:3px;color:#19717b;font-size:.75rem;font-weight:400}.stage-plan-adjusted[hidden]{display:none}.stage-plan-table input{width:100%;min-width:0;max-width:130px;min-height:42px;font-size:1rem;padding:8px 10px;font-variant-numeric:tabular-nums}.stage-plan-mobile-label{display:none}.stage-plan-totals{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f4f8f9;border-top:1px solid #dce8eb;padding:15px 18px}.stage-plan-totals>div{display:grid;gap:3px;align-content:start}.stage-plan-totals>div>span{font-size:.875rem;color:#5b7a83}.stage-plan-totals strong{font-size:1.2rem;font-weight:650;color:#245761;font-variant-numeric:tabular-nums}.stage-plan-totals strong small{font-size:.875rem;font-weight:400}.stage-plan-totals>div>small{font-size:.75rem;color:#738b93}.stage-plan-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px}.stage-plan-footer>[data-plan-status]{font-size:.875rem;color:#5f7d86}.stage-plan-footer .button{font-size:.875rem;min-height:42px;padding:9px 13px;white-space:normal}.stage-plan .form-error{margin:12px 18px 0;font-size:.875rem}.stage-plan-readonly{padding:14px 18px;margin:0;font-size:.875rem;color:#718991}.stage-plan-conflict{margin:0 16px 14px;padding:13px;border:1px solid #ead5b6;border-radius:7px;background:#fff8eb;color:#805f30;font-size:.875rem}.stage-plan-conflict p{font-size:.875rem;margin:6px 0 10px}.stage-plan-conflict ul{margin:5px 0 12px;padding-left:19px;font-size:.8125rem;max-height:130px;overflow:auto}.stage-plan-conflict .button{font-size:.8125rem;white-space:normal}.stage-plan-history{margin-top:7px;font-size:.75rem}.stage-plan-history>span{display:block;font-weight:600}.timeline .stage-plan-history ul{margin:4px 0;padding-left:14px;list-style:disc}.timeline .stage-plan-history li{padding:2px 0;border:0;font-size:.75rem;line-height:1.5}.timeline .stage-plan-history li:before{display:none}
@media(max-width:620px){.stage-plan{margin:18px 0}.stage-plan-heading{padding:15px 13px 9px}.stage-plan-facts{padding:0 13px;display:grid;gap:4px;font-size:.875rem}.stage-plan-help{padding:9px 13px 13px;line-height:1.6}.stage-plan-table,.stage-plan-table tbody{display:block}.stage-plan-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stage-plan-table tbody tr{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dfeaec;padding:12px 13px;gap:9px 14px}.stage-plan-table tbody th{grid-column:1/-1;font-size:.9375rem;padding:0;border:0}.stage-plan-table td{display:block;border:0;padding:0;min-width:0}.stage-plan-mobile-label{display:block;font-size:.75rem;color:#64818a;margin-bottom:5px}.stage-plan-table input{max-width:none;min-height:44px;font-size:1rem;width:100%}.stage-plan-totals{padding:14px 13px;gap:13px}.stage-plan-totals strong{font-size:1.125rem;overflow-wrap:anywhere}.stage-plan-footer{padding:15px 13px;gap:12px}.stage-plan-footer .button-row{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.stage-plan-footer .button{min-height:44px;padding:9px;font-size:.875rem}.stage-plan-footer>[data-plan-status]{font-size:.875rem}.stage-plan .form-error{margin:11px 13px 0}.stage-plan-conflict{margin:0 11px 12px;padding:12px}.stage-plan-conflict .button-row{display:grid;grid-template-columns:1fr 1fr;width:100%}.stage-plan-conflict .button{min-height:44px;padding:8px;font-size:.8125rem}.stage-plan-readonly{padding:13px;font-size:.875rem}}
.route-picker-control{display:flex;gap:8px;align-items:stretch}.route-picker-control input{flex:1;min-width:0;width:100%}.route-picker-control .button{flex-shrink:0;gap:12px;min-height:42px}.route-picker-options{max-height:340px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:7px;margin-top:9px;background:#fff}.route-picker-options[hidden]{display:none}.route-picker-options .stage-matches{border:0;border-radius:0;margin:0}.route-picker-options .stage-matches li>div{min-width:0}.route-picker-options .button.text{margin:3px 12px}.route-picker-options .route-empty{border:0;margin:0!important;border-radius:0}.route-picker-options .stage-matches .button{min-width:70px;min-height:40px}
.line-order-description{display:block;font-size:11px;font-weight:400;line-height:1.5;color:#6f8992;margin:4px 0 6px;overflow-wrap:anywhere}.line-summary-info .line-order-description{font-size:10px;margin:3px 0}.stage-plan-product{padding:0 18px 8px;color:#486d76;font-weight:600;font-size:.875rem;overflow-wrap:anywhere}.master-row-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}.master-lifecycle-filter{margin-top:12px}.master-lifecycle-filter select{width:100%;font-size:12px}.master-state-note{font-size:12px;color:#6f8b94;border-top:1px solid var(--line);padding-top:12px}.master-readonly{font-size:12px;color:#6c8791;margin:0}.master-readonly-route{font-size:12px;color:#587b86;padding-left:20px;margin:0;display:grid;gap:5px}.master-lifecycle{font-size:14px;display:grid;gap:18px}.master-operation-note{font-size:13px;color:#6e8993;margin:0}.master-summary{padding:16px;border:1px solid #d4e4e9;border-radius:8px;background:#f0f7f9}.master-summary h3{font-size:16px;overflow-wrap:anywhere}.master-summary p{font-size:13px;margin:0;white-space:pre-wrap}.master-replacement-summary{display:grid;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #d9e7ec;font-size:13px}.master-replacement-summary>span{font-size:12px;color:#708b95}.master-impact-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.master-impact-counts>div{padding:11px;background:#f8fbfc;border:1px solid #e2ecef;border-radius:7px;min-width:0}.master-impact-counts dt{font-size:11px;color:#728c96;line-height:1.45}.master-impact-counts dd{font-size:20px;color:#32616f;margin:3px 0 0;font-weight:650}.master-messages{border-radius:7px;padding:13px 15px;border:1px solid #ead7bd;background:#fff8ec;color:#876a3c;font-size:12px}.master-messages.blockers{border-color:#ebc8c4;background:#fff3f1;color:#a35349}.master-messages h3{font-size:13px;margin-bottom:6px}.master-messages ul{padding-left:17px;margin:0;display:grid;gap:6px}.master-choices{display:grid;gap:14px;padding-top:16px;border-top:1px solid var(--line)}.master-choices select{width:100%}.master-choices .check-row{font-size:13px;line-height:1.5}.master-choices .field-hint{font-size:12px}.master-people{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:8px}.master-person{padding:15px;border-bottom:1px solid var(--line);background:#fbfdfd}.master-person:last-child{border-bottom:0}.master-person h4{font-size:13px;margin:0 0 12px;overflow-wrap:anywhere}.master-person h4 small{display:block;font-size:11px;color:#849ba4;font-weight:400;margin-top:3px}.master-person dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.master-person dt{font-size:10px;color:#8199a3}.master-person dd{font-size:12px;color:#4e7481;margin:3px 0 0;overflow-wrap:anywhere}.master-rights-compare{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:13px}.master-rights-compare strong{font-size:11px;font-weight:600;color:#688894}.master-rights{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.master-rights span{font-size:10px;color:#618592;background:#eaf2f5;border-radius:4px;padding:3px 5px;line-height:1.5}.master-dependencies h3,.master-lifecycle section>h3{font-size:14px}.master-dependencies ul{margin:0;padding-left:18px;font-size:12px;color:#658592;display:grid;gap:6px}.master-final{border-top:2px solid #c4dce3;padding-top:16px;color:#3c6978}.master-final p{font-size:13px;margin-bottom:8px;white-space:pre-wrap}.master-lifecycle .form-error:empty{display:none}
.master-visibility-note{font-size:12px;color:#6f8993;margin:0;line-height:1.6}.master-dependencies summary{font-size:13px;color:#527b89;cursor:pointer;min-height:32px}.master-dependencies[open] summary{margin-bottom:10px}
@media(max-width:620px){.line-order-description{font-size:11px}.line-summary-info .line-order-description{font-size:10px}.stage-plan-product{padding:0 13px 8px}.master-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px}.master-row-actions .button{min-height:42px;font-size:11px}.setup-list li>div:first-child{min-width:0}.master-lifecycle-filter select,.master-choices select{font-size:16px;min-height:44px}.master-lifecycle{gap:16px}.master-summary{padding:13px}.master-impact-counts{grid-template-columns:1fr 1fr;gap:8px}.master-impact-counts>div{padding:10px}.master-person{padding:13px}.master-person dl{grid-template-columns:1fr;gap:10px}.master-rights-compare{grid-template-columns:1fr;gap:10px}.master-row-actions .muted{font-size:10px}.master-lifecycle .check-row input{width:19px;height:19px}.master-lifecycle .check-row{min-height:44px}.master-final p{font-size:13px}}
.business-time-label{font-size:10px;font-weight:500;color:#7c9298;white-space:nowrap}.audit-heading p{max-width:650px}.audit-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px;background:#f8fbfc;border-bottom:1px solid var(--line)}.audit-filters .button-row,.audit-filters .field-hint,.audit-filters .form-error{grid-column:1/-1}.audit-filters input,.audit-filters select{width:100%;min-width:0}.audit-filters .field-hint{margin:0}.audit-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.audit-table th{padding:12px 18px;color:#6d858c;font-size:10px;text-transform:uppercase;letter-spacing:.6px;background:#f3f8f9;border-bottom:1px solid var(--line)}.audit-table td{padding:15px 18px;border-bottom:1px solid #e8eff1;vertical-align:top;overflow-wrap:anywhere}.audit-table tr:last-child td{border-bottom:0}.audit-table .audit-time{min-width:160px;font-variant-numeric:tabular-nums}.audit-secondary{display:block;color:#7c9197;font-size:11px;margin-top:3px}.audit-outcome{display:inline-flex;padding:3px 7px;border-radius:5px;background:#edf4f1;color:#39735b;font-size:11px;white-space:nowrap}.audit-outcome.failure{background:#fff0ee;color:#a14b40}.audit-pagination{padding:15px 20px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--line);font-size:12px;color:#6d858b}.audit-origin{font-size:11px;color:#8d6c39}.audit-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.audit-detail-facts .fact-value{font-size:13px;white-space:pre-wrap}.audit-snapshots{display:grid;grid-template-columns:1fr 1fr;gap:18px}.audit-json{margin:0;padding:18px;max-height:560px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.7;background:#fbfdfd;color:#486771}.audit-note{font-size:12px;color:#70888f;margin:0}.audit-loading{padding:30px;color:#728b92}.audit-detail-label{font-size:12px;color:#789299;margin:10px 0 0}.audit-row-link{min-height:38px}.audit-filters .form-error:empty{display:none}
@media(max-width:1000px){.topbar-label{flex-wrap:wrap;gap:3px 10px}.business-time-label{width:100%}.audit-table td,.audit-table th{padding-left:12px;padding-right:12px}.audit-detail-facts{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.business-time-label{font-size:9px}.audit-filters{grid-template-columns:1fr;gap:12px;padding:15px}.audit-filters input,.audit-filters select{min-height:44px;font-size:16px}.audit-filters .button-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.audit-filters .button{min-height:44px}.audit-table,.audit-table tbody{display:block}.audit-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.audit-table tr{display:grid;grid-template-columns:1fr 1fr;padding:15px;gap:12px 15px;border-bottom:1px solid var(--line)}.audit-table tr:last-child{border-bottom:0}.audit-table td{display:block;border:0;padding:0;font-size:12px;min-width:0}.audit-table td:before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#8b9fa5;margin-bottom:3px}.audit-table .audit-time{grid-column:1/-1;min-width:0}.audit-table td:last-child{align-self:end}.audit-row-link{min-height:44px;width:100%}.audit-pagination{padding:15px;align-items:flex-start;flex-direction:column}.audit-pagination .button-row{width:100%;display:grid;grid-template-columns:1fr 1fr}.audit-pagination .button{min-height:44px}.audit-detail-facts{grid-template-columns:1fr;gap:16px}.audit-snapshots{grid-template-columns:1fr;gap:15px}.audit-json{padding:15px;font-size:12px;max-height:440px}}
@media(max-width:620px){.route-picker-control{gap:6px}.route-picker-control .button{padding:8px 10px;font-size:11px;gap:7px;min-height:44px}.route-picker-control input{font-size:12px;min-height:44px}.route-picker-options{max-height:310px}.route-picker-options .stage-matches .button{min-height:44px}.route-picker-options .stage-matches li{gap:8px}}

:root{--site-footer-space:43px}
.site-footer{min-height:var(--site-footer-space);padding:12px 20px;border-top:1px solid var(--line);color:#4c656b;font-size:12px;line-height:18px;text-align:center}
.initial-state,.layout,.auth-layout{min-height:calc(100vh - var(--site-footer-space));min-height:calc(100dvh - var(--site-footer-space))}
@media(min-width:851px){.sidebar{height:calc(100vh - var(--site-footer-space));height:calc(100dvh - var(--site-footer-space))}}

.setup-sidebar,.setup-sidebar[hidden]{display:none}
.order-combobox{min-width:0}
.order-combobox [hidden]{display:none}
.order-combobox-control{display:flex;align-items:stretch;gap:6px;min-width:0}
.order-combobox-control input[role="combobox"]{flex:1;min-width:0;width:100%;min-height:44px;font-size:13px}
.order-combobox-control input[role="combobox"]:focus{border-color:#377d8c}
.order-combobox .order-combobox-toggle{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:8px;border:1px solid #cddbdd;border-radius:6px;background:#fff;color:var(--teal);font-size:16px;line-height:1}
.order-combobox-toggle:hover:not(:disabled){background:#edf5f7;border-color:#90b6c0}
.order-combobox-popup{position:static;display:flex;flex-direction:column;min-width:0;max-height:320px;max-height:clamp(180px,45vh,320px);max-height:clamp(180px,45dvh,320px);margin-top:6px;border:1px solid #bfd6de;border-radius:7px;background:#fff;box-shadow:0 4px 14px #173f4910;overflow:hidden}
.order-combobox-options{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;list-style:none;padding:4px;margin:0}
.order-combobox-options:empty{display:none}
.order-combobox-option{min-height:44px;padding:10px 11px;border-radius:4px;color:#355e6b;font-size:13px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.order-combobox-label{display:block;min-width:0}
.order-combobox-detail{display:block;margin-top:2px;color:#4d6c76;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.order-combobox-option:hover:not(.active){background:#f0f7f9}
.order-combobox-option[aria-selected="true"]{background:#e5f1f5;color:#235a6a}
.order-combobox-option[aria-selected="true"] .order-combobox-label{font-weight:650}
.order-combobox-option.active{background:var(--teal);color:#fff}
.order-combobox-option.active .order-combobox-detail{color:#dfedf1}
.order-combobox-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;padding:7px 10px;border-top:1px solid #e0ebef;background:#f8fbfc}
.order-combobox-status{flex:1 1 100px;min-width:0;color:#5a7782;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.order-combobox-pages{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%;margin-left:auto}
.order-combobox .order-combobox-pages button{min-width:44px;min-height:44px;padding:7px 9px;border:1px solid #d1e0e5;border-radius:5px;background:#fff;color:#376b7b;font-size:11px;font-weight:600;line-height:1.4;white-space:normal}
.order-combobox-pages button:hover:not(:disabled){background:#eaf3f6}
.order-combobox-toggle:disabled,.order-combobox-pages button:disabled{cursor:default}
@media(max-width:620px){.order-combobox-control input[role="combobox"]{font-size:16px}.order-combobox-option{font-size:14px}}
.setup-list-view,.setup-editor-view{width:100%;min-width:0}
.setup-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.setup-table-wrap:focus-visible{outline:3px solid #37a1ae;outline-offset:-3px}
.setup-table{width:100%;min-width:350px;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:12px}
.setup-table th,.setup-table td{padding:8px 12px;border-bottom:1px solid #e6eef0;vertical-align:middle;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.setup-table thead th{background:#f7fafb;color:#5b7781;font-size:10px;font-weight:650;letter-spacing:.5px;text-transform:uppercase}
.setup-table td{color:#496b76}
.setup-table .setup-number{text-align:right;font-variant-numeric:tabular-nums}
.dashboard-customer-info{display:none}.dashboard-inline-code{font-size:10px;color:#69828a;font-weight:500;white-space:normal}.dashboard-status,.dashboard-outlook-wrap{display:inline-block;max-width:100%;position:relative}.dashboard-status-tooltip{display:none;margin-top:5px;border:1px solid #d2e3e7;background:#eef7f9;color:#426b77;padding:6px 8px;border-radius:5px;font-size:10px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.dashboard-status:hover>.dashboard-status-tooltip,.dashboard-status:focus>.dashboard-status-tooltip,.dashboard-outlook-wrap:hover>.dashboard-status-tooltip,.dashboard-outlook-wrap:focus>.dashboard-status-tooltip{display:block}.dashboard-status:focus-visible,.dashboard-outlook-wrap:focus-visible{outline:3px solid #37a1ae;outline-offset:3px}.dashboard-status.client-code-pending .dashboard-status-tooltip{color:#a33434}
.dashboard-list{min-width:0;max-width:100%}.dashboard-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:12px}.dashboard-filters>.search{grid-column:1/-1;min-width:0}.dashboard-filters>.field{min-width:0}.dashboard-filters select{width:100%;max-width:none}.dashboard-filters .field-label{font-size:11px}.dashboard-customer-filter .order-combobox{min-width:0;max-width:100%}.dashboard-table-wrap{width:100%;max-width:100%;overflow:auto;scrollbar-width:thin}.dashboard-table{width:100%;min-width:1080px;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:12px}.dashboard-table thead th{padding:12px 15px;background:#f4f8f9;border-bottom:1px solid var(--line);color:#557780;font-size:10px;text-transform:uppercase;letter-spacing:.5px}.dashboard-table thead th:nth-child(1){width:15%}.dashboard-table thead th:nth-child(2){width:25%}.dashboard-table thead th:nth-child(3){width:13%}.dashboard-table thead th:nth-child(4){width:17%}.dashboard-table thead th:nth-child(5){width:17%}.dashboard-table thead th:nth-child(6){width:13%}.dashboard-table thead small{display:block;font-size:9px;line-height:1.4;font-weight:500;text-transform:none;letter-spacing:0;margin-top:4px}.dashboard-table td,.dashboard-table tbody th{padding:8px 15px;vertical-align:top;border-bottom:1px solid #e7eef0;overflow-wrap:anywhere;min-width:0}.dashboard-table tbody th{font-size:12px;font-weight:500}.dashboard-table tbody tr:last-child>th,.dashboard-table tbody tr:last-child>td{border-bottom:0}.dashboard-table tbody tr:hover{background:#fbfdfd}.dashboard-table td>strong{display:block;font-size:12px;color:#355a65}.dashboard-table small{display:block;font-size:10px;color:#69828a;line-height:1.5;margin-top:5px}.dashboard-table small.client-code-pending,.dashboard-table small .client-code-pending{color:#a33434}.dashboard-table .line-order-description{font-size:10px}.dashboard-reference{min-width:0}.dashboard-reference .order-ref{font-size:12px}.dashboard-customer-tooltip{display:none;border:1px solid #d2e3e7;border-radius:5px;padding:6px 8px;margin-top:6px;color:#3b6672;background:#eef7f9;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.dashboard-reference:hover .dashboard-customer-tooltip,.dashboard-reference .order-ref:focus~.dashboard-customer-tooltip,.dashboard-reference.customer-open .dashboard-customer-tooltip{display:block}.dashboard-table .dashboard-mobile-customer{display:none}.dashboard-estimated-date{font-weight:650;color:#355a65}.dashboard-no-estimate{color:#72878e}.dashboard-outlook{display:inline-flex;max-width:100%;padding:4px 7px;border-radius:5px;font-size:11px;font-weight:650;background:#edf2f4;color:#5b727c;white-space:normal}.dashboard-outlook.before_time{color:#2f6b50;background:#eaf5ee}.dashboard-outlook.at_risk{color:#8e641f;background:#fff4df}.dashboard-outlook.delayed{color:#a33434;background:#ffefec}.dashboard-outlook.delivered{color:#3b6475;background:#eaf3f7}.dashboard-list .list-footer{flex-wrap:wrap;overflow-wrap:anywhere}.dashboard-table-wrap:focus-visible{outline:3px solid #37a1ae;outline-offset:-3px}
@media(max-width:850px){.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-customer-filter{grid-column:1/-1}.dashboard-filters>.field,.dashboard-filters input,.dashboard-filters select{min-width:0;max-width:100%}}
@media(max-width:620px){.dashboard-filters{padding:14px;gap:12px}.dashboard-filters input,.dashboard-filters select{font-size:16px;min-height:44px}.dashboard-table-wrap{overflow:visible;min-width:0}.dashboard-table,.dashboard-table tbody{display:block;min-width:0;width:100%}.dashboard-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.dashboard-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 15px;padding:16px;border-bottom:1px solid var(--line);min-width:0}.dashboard-table tbody tr:last-child{border-bottom:0}.dashboard-table td,.dashboard-table tbody th{display:block;padding:0;border:0;min-width:0;max-width:100%;font-weight:400}.dashboard-table tbody th,.dashboard-table td:nth-child(2){grid-column:1/-1}.dashboard-table td:before,.dashboard-table tbody th:before{content:attr(data-label);display:block;font-size:9px;font-weight:650;letter-spacing:.5px;text-transform:uppercase;color:#789099;margin-bottom:5px}.dashboard-table .dashboard-mobile-customer{display:block;color:#426b77}.dashboard-reference:hover .dashboard-customer-tooltip{display:none}.dashboard-reference .order-ref:focus~.dashboard-customer-tooltip,.dashboard-reference.customer-open .dashboard-customer-tooltip{display:block}.dashboard-customer-info{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #d4e3e7;border-radius:6px;background:#f4f9fa;color:var(--teal);margin-left:8px;font-weight:650}.dashboard-status,.dashboard-outlook-wrap{min-height:44px;display:inline-flex;align-items:center;flex-wrap:wrap}.dashboard-table .order-ref{font-size:14px}.dashboard-table td>strong{font-size:13px}.dashboard-table small{font-size:11px}.dashboard-outlook{font-size:11px}.dashboard-list .list-footer{gap:6px;font-size:10px}}
.client-code-pending{color:#a33434;font-weight:700}.client-code-section{padding:13px 0;margin:10px 0;border-top:1px solid var(--line)}.client-code-section>.client-code-pending{margin-bottom:5px}.client-code-proof,.client-code-facts{display:grid;gap:3px;margin:8px 0 14px;font-size:12px}.client-code-proof small,.client-code-facts small{color:var(--muted);overflow-wrap:anywhere}.client-code-facts>strong{font-size:16px;color:var(--teal);overflow-wrap:anywhere}.client-code-input-row{display:flex;align-items:stretch;gap:0;max-width:100%;min-width:0}.client-code-prefix{display:flex;align-items:center;padding:10px 11px;border:1px solid #cddbdd;border-right:0;border-radius:6px 0 0 6px;background:#edf3f5;color:#355a65;font-size:13px;font-weight:650;white-space:nowrap}.client-code-input-row input{flex:1;min-width:0;border-radius:0 6px 6px 0}.client-code-preview{padding:11px 12px;background:#fff;border:1px solid var(--line);border-radius:6px;margin-bottom:10px}.client-code-preview output{display:block;color:#355a65;font-weight:650;font-size:14px;overflow-wrap:anywhere}.client-code-unapplied{font-size:12px;overflow-wrap:anywhere}@media(max-width:620px){.client-code-prefix{padding:10px 8px;font-size:12px;max-width:55%;white-space:normal;overflow-wrap:anywhere}.client-code-section input{font-size:16px;min-height:44px}.client-code-section .button{min-height:44px}}
.workflow-transaction-note{font-size:12px;border-top:1px solid var(--line);padding-top:12px;margin-top:8px}.workflow-transaction-note h3{font-size:13px}.workflow-transaction-note p{margin-bottom:10px}
.route-step.verified{font-weight:650;color:#347256}.route-step.verified:before,.route-step.verified:after{background:#6da78b}.mapped-prepress-fact{flex-basis:100%;color:#347256;overflow-wrap:anywhere}
.workflow-next-action{font-size:12px;color:#355a65;margin:4px 0 6px;overflow-wrap:anywhere}
.specification-editor{display:grid;gap:14px;min-width:0;margin-top:8px}.specification-group{margin:0;padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0;background:#fff}.specification-group legend{padding:0 6px;color:#355a65;font-weight:650;font-size:13px}.specification-required{font-size:10px;color:#955d1c;font-weight:500;margin-left:5px}.specification-option{margin-top:8px}.specification-option>.check-row{margin-bottom:6px}.specification-option>[data-spec-note-for]{padding-left:27px}.specification-option textarea{min-height:65px}.specification-editor [hidden]{display:none}.specification-stale ul{padding-left:20px;margin-bottom:0}.customization-product-list{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:9px 12px;margin-top:8px}.customization-product-list .check-row{margin:5px 0}.customization-product-list [hidden]{display:none}.customization-option-row{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;align-items:center;gap:8px 16px;padding:13px 0;border-bottom:1px solid var(--line)}.customization-option-row>.field{margin:0}.customization-option-row>.field-hint,.customization-option-row>.button{grid-column:1/-1;justify-self:start}.work-queue-list{list-style:none;padding:0;margin:0}.work-queue-list>li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-top:1px solid var(--line)}.work-queue-list strong{font-size:14px;color:#355a65}.work-queue-list p{margin:3px 0;font-size:13px}.work-queue-list small{display:block;color:var(--muted);margin-bottom:7px}.work-queue-list>li>div{min-width:0;overflow-wrap:anywhere}.work-queue-list>li>.button{flex-shrink:0}.line-workflow{border:1px solid #d9e7e8;background:#f7fbfc;border-radius:9px;padding:17px;margin:16px 0;min-width:0}.workflow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workflow-heading h3{margin:0 0 4px}.workflow-heading p{margin-bottom:10px}.workflow-facts{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12px;padding:10px 0}.workflow-facts strong{color:#355a65}.workflow-specification{border-top:1px solid #e0e9eb;padding-top:12px;margin-top:8px;font-size:12px}.workflow-specification h3{font-size:13px}.workflow-specification ul{padding-left:20px;margin-bottom:10px}.workflow-specification li>p{margin:3px 0 8px;white-space:pre-wrap}.workflow-note{white-space:pre-wrap;overflow-wrap:anywhere}.workflow-latest{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border:1px solid var(--line);padding:10px 12px;background:#fff;border-radius:7px;margin:12px 0;font-size:12px}.workflow-latest>span{min-width:0;overflow-wrap:anywhere;flex:1}.workflow-actions{display:grid;gap:12px}.workflow-action-form{border-top:1px solid #dfe9eb;padding-top:13px;min-width:0}.workflow-action-form .field{margin-bottom:10px}.workflow-action-form .field-label{font-size:12px}.workflow-action-form .field-hint{font-size:11px}.workflow-action-form textarea{min-height:75px}.workflow-action-form input[type=file]{width:100%;min-width:0;font-size:12px;padding:9px;background:white}.workflow-action-form .form-error{margin-bottom:10px}.selected-file-note{font-size:11px;color:#355a65;overflow-wrap:anywhere;margin-top:4px}.workflow-records{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:12px}.workflow-records summary{cursor:pointer;color:var(--teal);font-weight:650;min-height:28px}.workflow-history,.workflow-revisions{list-style:none;padding:0;margin:10px 0 0}.workflow-history>li,.workflow-revisions>li{border-top:1px solid var(--line);padding:10px 0;overflow-wrap:anywhere}.workflow-history>li>strong,.workflow-history>li>span{display:block}.workflow-history p{margin:7px 0}.workflow-history audio{display:block;max-width:100%;width:100%;height:40px;margin:8px 0}.workflow-history .button,.workflow-revisions .button{margin:5px 0}.line-accounts-summary{list-style:none;padding:0;margin:10px 0}.line-accounts-summary li{display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0;font-size:12px}.line-accounts-summary li>span:first-child{min-width:0;overflow-wrap:anywhere}.private-preview{width:1000px;max-width:calc(100vw - 24px);max-height:94vh}.private-preview .modal-head{gap:15px}.private-preview .modal-head h2{overflow-wrap:anywhere;font-size:18px}.private-file-body{padding:14px 20px 20px}.private-file-body iframe{display:block;width:100%;height:68vh;border:1px solid var(--line);background:#f3f6f7}.private-preview .client-product-facts p{margin-bottom:8px}
@media(max-width:620px){.specification-group{padding:12px}.specification-option>[data-spec-note-for]{padding-left:0}.customization-option-row{grid-template-columns:1fr;gap:9px}.customization-option-row>.field-hint,.customization-option-row>.button{grid-column:auto}.customization-option-row .check-row{margin:0;min-height:34px}.specification-editor .check-row{min-height:38px}.line-workflow{padding:13px;margin:14px 0}.workflow-heading{flex-wrap:wrap}.workflow-heading>.badge{max-width:none}.workflow-action-form .button,.workflow-latest .button,.workflow-history .button,.workflow-revisions .button,.work-queue-list .button{min-height:44px}.workflow-action-form .button-row{flex-wrap:wrap}.workflow-action-form .button-row .button{flex:1}.workflow-latest{align-items:flex-start}.workflow-latest>span{flex-basis:100%}.workflow-latest>.button{width:100%}.work-queue-list>li{padding:15px;align-items:flex-start;flex-wrap:wrap}.work-queue-list>li>.button{width:100%}.private-preview .modal-head{padding:14px}.private-preview .modal-head .icon-button{min-width:44px;min-height:44px}.private-file-body{padding:12px}.private-file-body iframe{height:65vh}}
.setup-table tbody th{font-size:12px;font-weight:600;color:#355a65;letter-spacing:normal;text-transform:none;background:transparent}
.setup-table thead th:last-child,.setup-table td:last-child{text-align:right}
.setup-table tbody tr:last-child th,.setup-table tbody tr:last-child td{border-bottom:0}
.setup-table tbody tr:hover{background:#fbfdfd}
.setup-table-readonly th:not(.setup-number),.setup-table-readonly td:not(.setup-number){text-align:left}
.setup-cell-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:pre}
.setup-table .setup-table-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:6px;white-space:nowrap}
.setup-sort{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:32px;padding:2px 4px;margin:-2px -4px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer}
.setup-sort>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.setup-sort>span:last-child{flex-shrink:0;color:var(--teal)}
.setup-sort:hover{background:#e6f0f3;color:#315f6d}
.setup-table-customers{min-width:760px}
.setup-table-customers thead th:nth-child(1){width:27%}
.setup-table-customers thead th:nth-child(2){width:18%}
.setup-table-customers thead th:nth-child(3){width:28%}
.setup-table-customers thead th:nth-child(4){width:16%}
.setup-table-customers thead th:nth-child(5){width:11%}
.setup-table-categories{min-width:560px}
.setup-table-categories thead th:nth-child(1){width:43%}
.setup-table-categories thead th:nth-child(2){width:42%}
.setup-table-categories thead th:nth-child(3){width:15%}
.setup-table-categories.setup-table-readonly thead th:nth-child(1){width:55%}
.setup-table-categories.setup-table-readonly thead th:nth-child(2){width:45%}
.setup-table-subcategories{min-width:520px}
.setup-table-subcategories thead th:nth-child(1){width:45%}
.setup-table-subcategories thead th:nth-child(2){width:40%}
.setup-table-subcategories thead th:nth-child(3){width:15%}
.setup-table-stages{min-width:420px}
.setup-table-stages thead th:nth-child(1){width:53%}
.setup-table-stages thead th:nth-child(2){width:28%}
.setup-table-stages thead th:nth-child(3){width:19%}
.setup-table-designations{min-width:780px}
.setup-table-designations thead th:nth-child(1){width:28%}
.setup-table-designations thead th:nth-child(2){width:21%}
.setup-table-designations thead th:nth-child(3){width:12%}
.setup-table-designations thead th:nth-child(4){width:10%}
.setup-table-designations thead th:nth-child(5){width:29%}
@media(max-width:620px){.setup-table .button,.setup-sort{min-height:44px}}
.setup-page-heading{flex-wrap:wrap}
.setup-page-heading>div{min-width:0}
.setup-list-view .setup-catalog{max-height:none;overflow:visible}
.setup-list-view .setup-list li>div:first-child{flex:1;min-width:0}
.setup-list-view .setup-list strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.setup-list-view .setup-list p{font-size:12px;line-height:1.55;color:#5d7781;max-width:90ch;overflow-wrap:anywhere}
.setup-list-view .catalog-search input{font-size:13px}
.setup-list-view .master-lifecycle-filter{max-width:220px}
.setup-editor-view{max-width:1100px}
.setup-editor-view #setup-form>.button-row{padding-top:15px;border-top:1px solid var(--line);gap:12px}
.setup-editor-view #setup-form>.button-row .button{min-height:42px}
.setup-draft-note{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:18px;border:1px solid #cfe0e5;border-radius:8px;background:#edf6f8;color:#426c79;font-size:13px;line-height:1.5}
.setup-draft-note>span{min-width:0;overflow-wrap:anywhere}
.setup-draft-note .button{flex-shrink:0}
.permission-presets{padding:15px;border:1px solid #d1e2e8;border-radius:8px;background:#f4f9fb}
.permission-presets h3,.permission-matrix-section h3{font-size:14px;color:#426774;margin-bottom:8px}
.permission-presets p,.permission-help{font-size:12px;line-height:1.6;color:#55737f;margin:0 0 12px}
.permission-preset-control{display:flex;align-items:stretch;flex-wrap:wrap;gap:9px}
.permission-preset-control select{flex:1;min-width:180px;font-size:13px}
.permission-preset-preview{padding-top:14px;margin-top:14px;border-top:1px solid #d8e6ec}
.permission-preset-preview[hidden]{display:none}
.permission-preset-preview h4{font-size:13px;color:#376371;margin:0 0 7px}
.permission-preset-preview ul{margin:0 0 14px;padding-left:19px;max-height:230px;overflow:auto;font-size:12px;color:#4d6e7b;line-height:1.6}
.permission-preset-status{font-size:12px;color:#2d6877;margin:12px 0 0}
.permission-preset-status:empty{display:none}
.permission-matrix-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:7px;scrollbar-width:thin}
.permission-matrix-wrap:focus-visible{outline:3px solid #37a1ae;outline-offset:-3px}
.permission-matrix{width:100%;min-width:510px;border-collapse:collapse;text-align:center;font-size:12px}
.permission-matrix th,.permission-matrix td{padding:11px 10px;border-bottom:1px solid #e4edf0}
.permission-matrix thead th{font-size:11px;font-weight:600;color:#526f7c;background:#f2f7f9;white-space:nowrap}
.permission-matrix th:first-child{text-align:left;width:38%}
.permission-matrix tbody th{font-weight:600;color:#3a606e}
.permission-matrix tbody th small{display:block;font-size:10px;font-weight:400;color:#647f8b;margin-top:2px}
.permission-matrix tbody tr:last-child th,.permission-matrix tbody tr:last-child td{border-bottom:0}
.permission-matrix input[type="checkbox"]{width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:var(--teal);vertical-align:middle;cursor:pointer}
.permission-unavailable{color:#637d88}
.permission-matrix-section>.permission-help{margin:10px 0 0}
.permission-other{min-width:0;margin:0;padding:14px 15px;border:1px solid var(--line);border-radius:7px}
.permission-other legend{padding:0 6px;color:#426774;font-size:13px;font-weight:600}
.permission-other .permission-help{margin:12px 0 0}
@media(max-width:620px){
  .setup-list-view .setup-list li{flex-wrap:wrap;align-items:flex-start;gap:12px}
  .setup-list-view .setup-list li>div:first-child{flex:1 1 190px}
  .setup-list-view .master-row-actions{margin-left:auto}
  .setup-list-view .master-row-actions .button{min-height:44px}
  .setup-list-view .catalog-search input{font-size:16px;min-height:44px}
  .setup-list-view .master-lifecycle-filter{max-width:none}
  .setup-editor-view #setup-form>.button-row .button{min-height:44px}
  .setup-draft-note{flex-wrap:wrap;padding:13px 15px;gap:12px}
  .setup-draft-note .button{min-height:44px;white-space:normal}
}
@media(min-width:851px){
  .sidebar{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
  .sidebar>.logo,.sidebar>.nav,.sidebar>.sidebar-foot{flex-shrink:0}
  .sidebar>.nav{min-width:0}
  .setup-groups,.setup-subnav{display:none}
  .nav>a.setup-parent.active{background:#dcebef;color:var(--teal);box-shadow:none}
  .setup-sidebar:not([hidden]){display:block;margin:8px 0 15px 13px;padding:3px 0 2px 10px;border-left:1px solid #c9dde3}
  .setup-nav-list,.setup-nav-children{list-style:none;padding:0;margin:0}
  .setup-sidebar a{min-height:36px;padding:8px 10px;margin:0 0 3px;gap:0;border-radius:6px;font-size:12px;font-weight:500;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:#4d6c76}
  .setup-sidebar a:hover{background:#dfedf1;color:#215e6d;text-decoration:none}
  .setup-nav-group{margin-top:7px}
  .setup-nav-group>a{font-weight:650;color:#416773}
  .setup-nav-heading{display:block;padding:8px 10px;margin-bottom:3px;font-size:12px;font-weight:650;line-height:1.4;color:#416773}
  .setup-nav-group.group-active>a:not(.active){background:#e1eef2;color:#205f6f}
  .setup-nav-children{margin:3px 0 6px 11px;padding-left:8px;border-left:1px solid #d3e3e8}
  .setup-nav-children a{min-height:34px;padding:7px 9px;font-size:11px;font-weight:400;color:#4d6c76}
  .setup-sidebar a.active{background:var(--teal);color:#fff;font-weight:650;box-shadow:0 2px 5px #0d5d6314}
}
@media(max-width:620px){.permission-preset-control select{min-width:0;flex-basis:100%;font-size:16px;min-height:44px}.permission-preset-control .button,.permission-preset-preview .button{min-height:44px}.permission-matrix th,.permission-matrix td{padding-top:13px;padding-bottom:13px}.permission-matrix input[type="checkbox"]{width:20px;height:20px}}
@media(max-width:850px){
  .layout{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-width:0}
  .layout>.sidebar,.layout>.workspace,.workspace>.page{min-width:0;max-width:100%;width:100%}
  .sidebar{flex-wrap:wrap;align-items:flex-start;gap:10px}
  .sidebar>.logo{flex:0 0 auto;max-width:100%}
  .sidebar>.nav{flex:1 1 100%;display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:4px;overflow-x:auto}
  .sidebar>.nav>a{flex:0 1 auto;min-width:0;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
  .topbar{height:auto;min-height:60px;flex-wrap:wrap;gap:8px 12px;padding-top:10px;padding-bottom:10px;min-width:0;max-width:100%}
  .topbar-label{flex:1 1 150px;min-width:0;max-width:100%;overflow-wrap:anywhere}
  .user-menu{flex:0 1 auto;min-width:0;max-width:100%;margin-left:auto}
  .user-menu>div{min-width:0}.user-menu>.avatar,.user-menu>.icon-button{flex-shrink:0}
  .page-heading{min-width:0;flex-wrap:wrap}.page-heading>div{min-width:0;max-width:100%}
  .page-heading .button{max-width:100%;white-space:normal}
  .page h1,.page h2,.page h3,.fact-value,.stage-name,.stage-owner,.customer-name,.order-ref,.line-order-description,.line-summary-info{overflow-wrap:anywhere}
  .panel,.stack,.detail-grid,.detail-side,.line-title>div,.stat,.filters,.work-queue-list,.line-workflow{min-width:0;max-width:100%}
  .detail-grid{grid-template-columns:minmax(0,1fr)}
  .filters>.search,.filters>input,.filters>select{min-width:0;max-width:100%}.filters>select{flex:1 1 100px}
  .line-summary{min-width:0}.route,.setup-table-wrap,.permission-matrix-wrap{max-width:100%}
}


/* Factory calendar is a standalone, per-year Settings form. */
.factory-calendar-panel{max-width:1100px}
.factory-calendar-year{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.factory-calendar-year .field{width:140px;margin:0}
.factory-calendar-year .form-error{flex-basis:100%}
.factory-calendar-status{font-size:12px;color:#4d6c76;margin:12px 0}
.factory-calendar-row{display:grid;grid-template-columns:minmax(155px,210px) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.factory-calendar-row .field{margin:0;min-width:0}
.factory-calendar-empty{padding:18px 0;font-size:13px}
.factory-calendar-conflict{padding:14px;border:1px solid #d2a96e;border-radius:9px;background:#fff8ed;font-size:13px;margin:12px 0}
.factory-calendar-conflict[hidden]{display:none}
.factory-calendar-latest{margin:10px 0;overflow-wrap:anywhere}
.factory-calendar-latest ul{padding-left:20px}
.dashboard-code-flag{display:inline-block;color:#a82d38;background:#fff0f1;border:1px solid #efc3c8;border-radius:4px;padding:2px 5px;font-size:10px;font-weight:700;white-space:nowrap}
@media(max-width:650px){.factory-calendar-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.factory-calendar-row .field:nth-child(2){grid-column:1/-1;grid-row:2}.factory-calendar-row .button{min-height:44px}.factory-calendar-year button{min-height:44px}}

.dashboard-list .dashboard-table .dashboard-reference.customer-dismissed .dashboard-customer-tooltip{display:none}


/* Shared workspace visual system. State and form controls retain their existing contracts. */
:root{--canvas:#f4f6fa;--surface:#fff;--ink:#253344;--muted:#647286;--line:#dfe5ed;--shadow:0 4px 18px #25365006;--module-accent:#50627c;--module-ink:#3f5069;--module-soft:#edf1f6;--module-border:#cbd5e2;--focus:#385fc2;color:var(--ink);background:var(--canvas)}
[data-module="dashboard"],[data-module="setup"],[data-module="audit"]{--module-accent:#50627c;--module-ink:#3f5069;--module-soft:#edf1f6;--module-border:#cbd5e2}
[data-module="orders"]{--module-accent:#315fc2;--module-ink:#254b9c;--module-soft:#edf3ff;--module-border:#c9d9fb}
[data-module="design"],[data-context-module="design"]{--module-accent:#7551b8;--module-ink:#624194;--module-soft:#f3effb;--module-border:#dfd1f3}
[data-module="sales"],[data-context-module="sales"]{--module-accent:#13768d;--module-ink:#0d6175;--module-soft:#eaf7fa;--module-border:#bce5ee}
[data-module="accounts"],[data-context-module="accounts"]{--module-accent:#8c601a;--module-ink:#785113;--module-soft:#fff6e4;--module-border:#ecd8b0}
[data-module="production"],[data-context-module="production"]{--module-accent:#157268;--module-ink:#105e56;--module-soft:#eaf7f3;--module-border:#bce2d9}
body{background:var(--canvas);font-size:16px;color:var(--ink)}
h1{font-size:28px;font-weight:700;letter-spacing:-.8px}
h2,h3{color:#2d3c50}
a{color:#315d96}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.brand-logo{display:block;width:146px;height:auto;object-fit:contain;flex-shrink:0;border-radius:4px}
.initial-logo{width:160px;justify-self:center}
.layout{grid-template-columns:232px minmax(0,1fr)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 17px;gap:26px}
.sidebar .logo{padding:0 10px}
.sidebar .brand-logo{width:146px}
.nav-caption{font-size:12px;letter-spacing:1.4px;color:#61728a;padding:0 12px;font-weight:750}
.nav-section-caption{margin-top:24px}
.nav>a{position:relative;min-height:42px;padding:10px 12px;gap:11px;margin-bottom:4px;color:#536176;font-size:14px;font-weight:600;border:1px solid transparent;border-radius:8px}
.nav>a svg{width:18px;height:18px;color:var(--module-accent)}
.nav>a:hover{background:#f5f7fa;color:#2e4058}
.nav>a.active{color:var(--module-ink);background:var(--module-soft);border-color:var(--module-border);box-shadow:none}
.nav>a.active:before{content:"";position:absolute;left:-1px;top:11px;bottom:11px;width:3px;border-radius:2px;background:var(--module-accent)}
.nav>a.active svg{color:var(--module-accent)}
.sidebar-foot{font-size:12px;color:#61728a;border-color:#e4e9f0;padding:16px 10px 0}
.scope-note{background:#f4f6fa;color:#5a6c83;font-size:12px;padding:9px 10px;line-height:1.5}
.topbar{height:70px;background:#ffffffed;padding:0 32px;border-color:var(--line)}
.topbar-label{min-width:0;flex-wrap:wrap;gap:6px 12px;font-weight:500;font-size:12px;color:#61728a}
.workspace-current{font-size:14px;color:#344258;font-weight:700}
.topbar-product-name{padding-left:12px;border-left:1px solid #dce3ed}
.business-time-label{color:#61728a;background:#f5f7fa;border:1px solid #e6ebf2}
.user-menu{gap:10px}
.avatar{background:var(--module-soft);color:var(--module-ink);font-size:12px;width:34px;height:34px}
.user-name{font-size:14px;color:#344258}.user-role{font-size:12px;color:#61728a}
.icon-button{color:#61728a;border:1px solid transparent;min-width:36px;min-height:36px}
.icon-button:hover{background:#f2f5f9;border-color:#e3e9f1}
.page{padding:28px 32px 42px;max-width:1600px}
.page-heading{margin-bottom:22px;gap:16px}
.page-heading>.button,.page-heading>.button-row{flex-shrink:0}
.page-heading p{font-size:14px;color:#61728a;line-height:1.6}
.eyebrow{font-size:12px;letter-spacing:1.5px;color:var(--module-accent);font-weight:750;margin-bottom:8px}
.button{min-height:40px;padding:9px 14px;border-color:#d9e1eb;border-radius:8px;color:#45566e;font-size:14px;font-weight:600;box-shadow:0 1px 2px #25365003}
.button:hover{background:#f6f8fb;border-color:#c9d4e3}
.button.primary{background:var(--module-accent);border-color:var(--module-accent);color:#fff}
.button.primary:hover{background:var(--module-ink);border-color:var(--module-ink)}
.button.small{min-height:33px;padding:6px 10px;font-size:14px}
.button.text{box-shadow:none;color:var(--module-accent)}
.button.danger{color:#a33434;background:#fff;border-color:#eac8cc}
.button.danger:hover{background:#fff3f4}
.panel{border-color:var(--line);border-radius:10px;box-shadow:var(--shadow)}
.panel-head{padding:16px 20px;background:#fff;border-color:#e7ebf2}
.panel-head h2{font-size:14px;font-weight:650;letter-spacing:-.15px;color:#344258}
.panel-head>span{font-size:12px;color:#61728a}
.panel-body{padding:20px}
input,select,textarea{border-color:#ccd6e3;border-radius:7px;color:#34465d;background:#fff;box-shadow:0 1px 2px #25365002}
input:hover,select:hover,textarea:hover{border-color:#aebed1}
input:focus,select:focus,textarea:focus{border-color:#7492bd}
input::placeholder,textarea::placeholder{color:#61728a}
input[readonly],select:disabled{background:#f4f6fa;color:#67778c}
.field-label{font-size:14px;color:#4c5d74;font-weight:650}
.field-hint{font-size:12px;color:#61728a;line-height:1.55}
.form-error{color:#ad303a}
.check-row input{accent-color:var(--module-accent)}
.filters,.catalog-search{background:#fafbfd;border-color:#e6ebf2}
.search svg{color:#61728a}
.stats{gap:14px;margin-bottom:20px}
.stat{padding:15px 18px;border-color:var(--line);box-shadow:var(--shadow);border-radius:9px}
.stat.active{border-color:var(--module-border);background:var(--module-soft)}
.stat-label{font-size:14px;color:#66778d}
.stat-value{font-size:27px;font-weight:700;color:#304059}
.stat-bottom{font-size:12px;color:#61728a}
.dashboard-table thead th,.setup-table thead th,.audit-table th{background:#f7f9fc;color:#64758d;border-color:#e3e9f1;font-size:12px;letter-spacing:.6px}
.dashboard-table td,.dashboard-table tbody th{padding-top:8px;padding-bottom:8px;border-color:#e9edf4}
.dashboard-table tbody tr:hover,.setup-table tbody tr:hover{background:#f9fbfe}
.dashboard-table td>strong,.setup-table tbody th{color:#3b4c63;font-weight:600}
.dashboard-reference .order-ref{color:#315fc2}
.dashboard-status strong{font-weight:600;color:#43536a}
.dashboard-status.client-code-pending .dashboard-code-flag{color:#a82d38}
.dashboard-estimated-date{color:#3e526c}
.dashboard-no-estimate{color:#61728a}
.list-footer{color:#61728a;background:#fbfcfe;border-color:#e6ebf2}
.order-combobox-control input[role="combobox"]:focus{border-color:#7293c2}
.order-combobox .order-combobox-toggle{border-color:#ccd6e3;border-radius:7px;color:#5a718e}
.order-combobox-popup{border-color:#cbd9e9;box-shadow:0 5px 20px #2536500b;border-radius:8px}
.order-combobox-option{border-radius:5px;color:#455c77}
.order-combobox-option.active{background:var(--module-accent);color:#fff}
.order-combobox-option[aria-selected="true"]:not(.active){background:var(--module-soft);color:var(--module-ink)}
.order-combobox-detail{color:#61728a}
.order-combobox-option.active .order-combobox-detail{color:#edf2fb}
.order-combobox-footer{background:#f8fafd;border-color:#e2eaf3}
.order-combobox-status{color:#61728a}
.setup-groups a.active,.setup-subnav a.active{background:var(--module-soft);color:var(--module-ink);border-color:var(--module-border)}
.setup-sidebar:not([hidden]){border-left-color:#dce3ee}
.setup-sidebar a{color:#596d85}
.setup-sidebar a.active{color:#3f5069;background:#edf1f6;box-shadow:none}
.setup-sidebar a:hover{background:#f3f6fa;color:#344b69}
.setup-sidebar .group-active>a:not(.active){color:#3e536f}
.setup-nav-heading{color:#536981}
.breadcrumb{color:#61728a}
.breadcrumb a{color:#567294}
.line-card{padding:21px}
.line-title h2{color:#35465e}
.line-meta{color:#61728a}
.stage-focus{background:#eff8f6;border-color:#d8eae5}
.stage-name,.route-step.current{color:#176e65}
.route-step.current:after{background:#176e65;box-shadow:0 0 0 3px #d8ede8}
.line-workflow{background:#f8faff;border-color:#dfe6f2}
.workflow-heading h3{color:#4c5474}
.workflow-action-form{border-color:#e0e6f1}
.workflow-facts strong,.fact-value{color:#42556e}
.workflow-latest{border-color:#e0e7f0}
.badge{font-size:12px;border-radius:5px}
.modal-head{background:#fff;border-color:#e2e8f1}
dialog{border:1px solid #d9e2ee;border-radius:12px;box-shadow:0 20px 80px #1e304c26}
dialog::backdrop{background:#22324a66;backdrop-filter:blur(2px)}
.modal-footer{background:#fafbfd;border-color:#e1e8f1}
.site-footer{background:#f4f6fa;color:#61728a;border-color:#e0e6ee;font-size:11px}
.site-footer strong{color:#435670;letter-spacing:.7px}
.auth-layout{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);background:#fff}
.auth-intro{position:relative;background:#edf2f8;color:#304158;padding:46px 56px;border-right:1px solid #dce5ef;gap:50px}
.auth-intro .logo{align-self:flex-start}
.auth-intro .brand-logo{width:168px}
.auth-intro .eyebrow{color:#607692}
.auth-intro h1{font-size:42px;letter-spacing:-1.4px;line-height:1.12;color:#344761}
.auth-intro p{font-size:16px;color:#61728a;max-width:360px;line-height:1.75}
.auth-foot{font-size:11px;color:#61728a}
.auth-main{background:#fff;padding:42px}
.auth-box{max-width:370px}
.auth-box h2{font-size:27px;color:#30435f;letter-spacing:-.6px}
.auth-box>p{font-size:14px;color:#61728a;line-height:1.65}
.auth-box .eyebrow{color:#61728a}
.auth-form{gap:18px;margin-top:26px}
.auth-form input{min-height:46px}
.auth-form .button.primary{background:#315fc2;border-color:#315fc2;min-height:44px}
.auth-security{border-top:1px solid #e7ecf3;padding-top:18px;font-size:12px!important}
.home-dashboard{min-width:0}
.home-heading{margin-bottom:18px}
.home-heading .button-row{padding-top:4px}
.home-quick-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}
.home-quick-link{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 11px;background:#fff;border:1px solid var(--module-border);border-radius:7px;color:var(--module-ink);font-size:14px;font-weight:600;max-width:100%}
.home-quick-link:hover{background:var(--module-soft);text-decoration:none}
.home-quick-link svg{width:16px;height:16px;flex-shrink:0;color:var(--module-accent)}
.home-link-arrow{font-size:14px;font-weight:400;opacity:.6}
.home-context-bar{display:flex;align-items:center;gap:22px;margin-bottom:19px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:9px}
.home-context-bar>.field{flex:0 1 250px;min-width:140px}
.home-context-bar .field-label{font-size:12px;margin-bottom:4px}
.home-context-bar select{min-height:37px;font-size:12px}
.home-scope{margin:12px 0 0;color:#61728a;font-size:14px;line-height:1.6}
.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.home-metric{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}
.home-metric-label{font-size:14px;color:#61728a;font-weight:600}
.home-metric>strong{font-size:28px;line-height:1.35;font-weight:700;letter-spacing:-.7px;color:var(--module-ink)}
.home-metric-note{font-size:12px;color:#61728a}
.home-metric-delayed>strong{color:#ae3f4b}
.home-chart-grid,.home-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.home-chart-panel{min-width:0}
.home-panel-note{font-size:12px!important;color:#61728a!important}
.home-chart-layout{display:flex;align-items:center;gap:18px;padding:20px;min-width:0}
.home-donut{display:block;flex:0 0 128px;width:128px;height:128px;overflow:visible}
.home-chart-track{stroke:#edf1f7}
.home-chart-segment{stroke:#7d8ca3}
.home-donut-number{font-size:25px;fill:#3d4f68;font-weight:700}
.home-donut-label{font-size:12px;fill:#8b99ad}
.home-chart-legend{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;list-style:none;margin:0;padding:0;flex:1;min-width:0}
.home-chart-legend li{display:flex;align-items:center;gap:8px;color:#61728a;font-size:14px;min-width:0}
.home-chart-legend li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.home-chart-legend strong{margin-left:auto;color:#3f526c;font-size:11px;font-variant-numeric:tabular-nums}
.home-legend-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#7d8ca3}
.home-chart-pending,.home-chart-review,.home-chart-not_estimated{stroke:#a0adbf;background:#a0adbf}
.home-chart-design{stroke:#9272c8;background:#9272c8}
.home-chart-sales{stroke:#46a5bd;background:#46a5bd}
.home-chart-codes{stroke:#b17fbc;background:#b17fbc}
.home-chart-accounts{stroke:#cfa15a;background:#cfa15a}
.home-chart-assignment{stroke:#8ca3b4;background:#8ca3b4}
.home-chart-release{stroke:#75aba4;background:#75aba4}
.home-chart-production{stroke:#42a395;background:#42a395}
.home-chart-ready,.home-chart-before_time{stroke:#5da77c;background:#5da77c}
.home-chart-dispatch{stroke:#6494bd;background:#6494bd}
.home-chart-receipt{stroke:#7e92bd;background:#7e92bd}
.home-chart-at_risk{stroke:#d7a052;background:#d7a052}
.home-chart-delayed{stroke:#cf6876;background:#cf6876}
.home-chart-data{border-top:1px solid #e9edf4;padding:10px 20px;color:#61728a;font-size:12px}
.home-chart-data summary{cursor:pointer;min-height:24px;display:list-item}
.home-chart-data table{width:100%;border-collapse:collapse;margin:8px 0;color:#536880}
.home-chart-data th,.home-chart-data td{padding:6px 0;text-align:left;border-top:1px solid #edf1f7;font-size:12px;font-weight:400}
.home-chart-data td:last-child,.home-chart-data thead th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.home-section-empty{padding:23px 20px;color:#61728a;font-size:11px}
.home-task-list{list-style:none;margin:0;padding:0}
.home-task-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid #e9edf4;min-width:0}
.home-task-list li:last-child{border-bottom:0}
.home-task-list li>div{min-width:0}
.home-order-link{font-size:11px;font-weight:650;color:#315fc2}
.home-task-product{display:block;font-size:14px;color:#61728a;margin-top:2px;overflow-wrap:anywhere}
.home-task-label{font-size:14px;color:#61728a;text-align:right;max-width:45%;overflow-wrap:anywhere}
.home-task-label.client-code-pending{color:#a82d38;font-weight:650}
.home-task-list time{font-size:14px;color:#60728d;white-space:nowrap}
.home-no-context{padding:26px}
.home-no-context h2{font-size:16px}
.home-no-context p{font-size:12px;margin-bottom:0}
@media(min-width:851px){.setup-sidebar a{color:#596d85}.setup-sidebar a.active{background:#edf1f6;color:#3f5069;box-shadow:none}.setup-sidebar .setup-nav-group>a{font-weight:650}}
@media(max-width:1100px) and (min-width:851px){.page{padding:25px 24px 40px}.topbar{padding:0 24px}.home-chart-layout{gap:10px;padding:18px 14px}.home-donut{flex-basis:106px;width:106px;height:106px}.home-chart-legend li{font-size:14px}.home-metric{padding:14px}.topbar-product-name{display:none}}
@media(max-width:850px){.layout{display:block}.sidebar{padding:14px 18px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .logo{padding:0}.sidebar .brand-logo{width:120px}.sidebar>.nav{align-items:center;gap:5px}.nav-caption{display:none}.nav>a{margin:0;min-height:40px;padding:8px 10px;font-size:14px;gap:7px}.nav>a.active:before{top:9px;bottom:9px}.topbar{padding:12px 20px;height:auto;min-height:64px}.topbar-product-name{display:none}.page{padding:23px 20px 36px}.home-metrics{gap:10px}.home-metric{padding:14px}.home-metric>strong{font-size:25px}.home-metric-note{font-size:12px}.home-chart-grid,.home-task-grid{gap:14px}.auth-intro{padding:36px}.auth-intro h1{font-size:34px}.auth-main{padding:34px}.auth-layout{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)}}
@media(max-width:650px){.auth-layout{display:flex;flex-direction:column}.auth-intro{padding:24px;border-right:0;border-bottom:1px solid #dde6f0;gap:20px;min-height:0}.auth-intro .brand-logo{width:138px}.auth-intro h1{font-size:29px;margin-bottom:8px}.auth-intro h1 br{display:none}.auth-intro p{font-size:14px;line-height:1.6;margin-bottom:0;max-width:none}.auth-intro .auth-foot{display:none}.auth-main{padding:27px 24px 34px;display:block}.auth-box{max-width:420px;margin:auto}.auth-box h2{font-size:24px}.auth-form{margin-top:22px}.home-heading{flex-wrap:wrap;gap:10px}.home-heading .button-row{padding:0}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-context-bar{align-items:flex-start;flex-direction:column;gap:0;padding:14px}.home-context-bar>.field{flex:auto;width:100%}.home-context-bar select{min-height:44px;font-size:16px}.home-scope{margin:9px 0 0;font-size:14px}.home-chart-grid,.home-task-grid{grid-template-columns:minmax(0,1fr);gap:15px;margin-bottom:15px}.home-chart-layout{gap:18px;padding:18px}.home-quick-link{min-height:44px;padding:9px 10px;font-size:14px}.home-chart-data summary{min-height:36px}.home-task-list li{padding:12px 17px}.home-task-list time{font-size:14px}.home-metric-note{line-height:1.5}.home-panel-note{max-width:45%;text-align:right}.home-task-product{max-width:190px}.home-no-context{padding:22px}.home-chart-legend{gap:9px}}
@media(max-width:620px){h1{font-size:25px}.page{padding:21px 16px 32px}.sidebar{padding:13px 16px}.sidebar>.nav{gap:5px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.nav>a{min-height:44px;flex:0 0 auto}.topbar{padding:11px 16px;gap:10px}.topbar-label{gap:5px 8px;flex:1 1 160px}.workspace-current{font-size:13px}.business-time-label{font-size:12px}.user-menu{gap:7px}.user-menu .icon-button{min-width:40px;min-height:40px}.page-heading{gap:12px}.page-heading h1{margin-bottom:6px}.button,.button.small{min-height:44px}.panel-head{padding:15px 17px}.panel-body{padding:17px}.home-heading .button-row .button{padding:8px 11px}.home-heading .button-row svg{display:none}.home-quick-links{gap:7px;margin-bottom:18px}.home-metric{padding:13px}.home-metric-label{font-size:14px}.home-metric>strong{font-size:25px}.home-chart-layout{gap:13px;padding:17px}.home-donut{flex-basis:112px;width:112px;height:112px}.home-chart-legend li{font-size:14px}.home-chart-data{padding:9px 17px}.home-task-label{font-size:14px}.setup-table-wrap,.dashboard-table-wrap{max-width:100%}}

/* Home keeps task and chart text readable without changing compact list tables. */
.home-dashboard{font-size:16px}
.home-heading p{font-size:14px;color:#5e7089}
.home-quick-link{font-size:14px;min-height:44px;color:var(--module-ink)}
.home-context-bar .field-label{font-size:12px;color:#52647d}
.home-context-bar select{font-size:14px;min-height:42px}
.home-scope{font-size:14px;color:#5a6c84}
.home-metric-label{font-size:14px;color:#52647d;line-height:1.45}
.home-metric-note{font-size:12px;color:#61728a;line-height:1.5}
.home-panel-note{font-size:12px!important;color:#61728a!important}
.home-chart-legend li{font-size:14px;color:#52647d;line-height:1.45}
.home-chart-legend strong{font-size:14px;color:#344861}
.home-donut-label{font-size:12px;fill:#61728a}
.home-chart-data{font-size:12px;color:#586c86}
.home-chart-data summary{min-height:32px}
.home-chart-data th,.home-chart-data td{font-size:14px;color:#52647d}
.home-section-empty{font-size:14px;color:#61728a}
.home-order-link{font-size:14px;color:#315fc2}
.home-task-product{font-size:14px;color:#61728a;line-height:1.45}
.home-task-label{font-size:14px;color:#52647d;line-height:1.45}
.home-task-list time{font-size:14px;color:#52647d}
.home-no-context p{font-size:14px;color:#61728a}
@media(max-width:1100px){.home-chart-grid,.home-task-grid{grid-template-columns:minmax(0,1fr)}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-chart-legend li{font-size:14px}.home-metric-note{font-size:12px}.home-chart-layout{padding:20px;gap:22px}.home-donut{flex-basis:128px;width:128px;height:128px}}
@media(max-width:650px){.home-context-bar select{font-size:16px;min-height:44px}.home-scope{font-size:14px}.home-quick-link{font-size:14px}.home-panel-note{max-width:45%}.home-task-product{max-width:none}.home-chart-layout{gap:17px;padding:17px}.home-donut{flex-basis:112px;width:112px;height:112px}.home-chart-legend li{font-size:14px}.home-metric-label{font-size:14px}.home-metric-note{font-size:12px}.home-task-label,.home-task-list time{font-size:14px}.home-chart-data summary{min-height:44px;display:flex;align-items:center}}
@media(max-width:370px){.home-chart-layout{align-items:flex-start;gap:14px}.home-donut{flex-basis:94px;width:94px;height:94px}.home-chart-legend li{gap:6px}.home-task-list li{align-items:flex-start;flex-wrap:wrap;gap:7px}.home-task-label{max-width:100%;text-align:left}.home-task-list time{margin-left:auto}}

/* Shared primary control and table text, with compact eight-pixel row padding. */
.setup-sidebar a,.setup-sidebar .setup-nav-children a{font-size:14px}
.setup-form .field-label,.dashboard-filters .field-label,.audit-filters .field-label,.workflow-action-form .field-label{font-size:14px}
.order-combobox-control input[role="combobox"],.order-combobox-option{font-size:14px}
.dashboard-table,.setup-table{font-size:14px}
.dashboard-table tbody th,.dashboard-reference .order-ref,.dashboard-table td>strong,.setup-table tbody th{font-size:14px}
.dashboard-status,.dashboard-status strong,.dashboard-estimated-date,.dashboard-actual-receipt,.dashboard-no-estimate,.dashboard-outlook,.audit-table td{font-size:14px}
.dashboard-table td:before,.dashboard-table tbody th:before,.audit-table td:before{font-size:12px}
.list-footer{font-size:12px}
@media(max-width:620px){.order-combobox-control input[role="combobox"]{font-size:16px}.order-combobox-option{font-size:14px}.setup-sort{font-size:12px}.setup-sidebar a,.setup-sidebar .setup-nav-children a{font-size:14px}}


/* Gentle summary accents; counts and status semantics are unchanged. */
.home-metric[data-home-metric="open_lines"]{border-top:3px solid #5b83d6;background:#f8faff}
.home-metric[data-home-metric="open_orders"]{border-top:3px solid #9471ca;background:#fbf9ff}
.home-metric[data-home-metric="needs_attention"]{border-top:3px solid #c89a46;background:#fffcf5}
.home-metric[data-home-metric="delayed_lines"]{border-top:3px solid #cb7280;background:#fff9fa}
.home-metric[data-home-metric="open_lines"]>strong{color:#315fc2}
.home-metric[data-home-metric="open_orders"]>strong{color:#7551b8}
.home-metric[data-home-metric="needs_attention"]>strong{color:#8c601a}
.home-quick-link{background:var(--module-soft)}
.home-quick-link:hover{border-color:var(--module-accent)}
@media(max-width:850px){
  .sidebar>.nav{width:100%;min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}
  .sidebar>.nav>a{flex:0 0 auto;min-width:max-content;max-width:none;white-space:nowrap;overflow-wrap:normal;word-break:normal}
}


.order-customizations-heading{font-size:14px;font-weight:650;margin:2px 0 -8px;color:#4c5d74}


/* New-order specification and scheduling fields. */
#order-form .order-header-scheduling,#order-form .order-line-scheduling{display:grid;gap:12px;align-items:start;min-width:0}
#order-form .order-header-scheduling{grid-template-columns:minmax(0,1fr) 175px}
#order-form .order-line-scheduling{grid-template-columns:175px minmax(0,1fr)}
#order-form .order-header-scheduling>.field,#order-form .order-line-scheduling>.field{min-width:0}
#order-form .line-entry-grid>[hidden]{display:none}
#order-form .saved-client-product .order-quantity-field{grid-column:1;justify-self:start;width:105px;max-width:100%}
#order-form [data-order-specification]>.specification-editor{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#order-form [data-order-specification]>.specification-editor>.field,#order-form [data-order-specification]>.specification-editor>.notice,#order-form [data-order-specification]>.specification-editor>.muted{grid-column:1/-1}
#order-form .order-client-specification{margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:13px;background:#f8fafd}
#order-form .order-client-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
#order-form .order-client-facts p{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}
#order-form .order-client-specification .workflow-specification{margin-top:12px}
#order-form .order-client-specification .workflow-specification ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px}
#order-form .order-client-specification .workflow-specification li{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){
  #order-form .line-entry-grid,#order-form .order-header-scheduling,#order-form .order-line-scheduling,#order-form [data-order-specification]>.specification-editor,#order-form .order-client-facts,#order-form .order-client-specification .workflow-specification ul{grid-template-columns:minmax(0,1fr)}
  #order-form .saved-client-product .order-quantity-field{grid-column:auto;justify-self:stretch;width:auto}
  #order-form .order-line-scheduling input,#order-form .order-header-scheduling input{min-width:0;width:100%}
}

/* Keep New Order customization controls beside their labels. */
#order-form [data-order-specification] .check-row{display:flex;flex-direction:row;align-items:flex-start;gap:8px}
#order-form [data-order-specification] .check-row>input[type=checkbox],#order-form [data-order-specification] .check-row>input[type=radio]{flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0;margin:2px 0 0}
#order-form [data-order-specification] .check-row>span{flex:1;min-width:0}
#order-form [data-order-specification] .specification-group>.field-hint{margin:0 0 6px}
#order-form [data-order-specification] .specification-option{margin-top:6px}
#order-form [data-order-specification] .specification-option>.check-row{margin-bottom:0}

/* Full-width order lines with a distinct, compact specification section. */
.detail-grid.order-detail-overview{grid-template-columns:minmax(0,1.3fr) minmax(220px,.9fr) minmax(240px,1fr);align-items:start}
.order-detail-overview .order-detail-history>.panel-body{max-height:320px;overflow:auto;min-width:0;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:1199px){.detail-grid.order-detail-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-overview>.stack{grid-column:1/-1}}
@media(max-width:620px){.detail-grid.order-detail-overview{grid-template-columns:minmax(0,1fr)}.order-detail-overview>.stack{grid-column:auto}.order-detail-overview .order-detail-history>.panel-body{max-height:none;overflow:visible}}
.order-detail-lines{margin-top:18px;min-width:0;max-width:100%}
.order-detail-lines .line-specification{border:1px solid #d9e7e8;background:#f8fafd;border-radius:9px;padding:17px;margin:16px 0;min-width:0}
.order-detail-lines .line-specification>h3{font-size:15px;margin:0 0 12px;color:#355a65}
.order-detail-lines .line-specification .workflow-action-form{border-top:0;padding-top:0}
.order-detail-lines .line-specification .specification-editor,.order-detail-lines .line-specification-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;min-width:0}
.order-detail-lines .line-specification .specification-group{align-self:start;height:auto}
.order-detail-lines .line-specification .specification-editor>.field,.order-detail-lines .line-specification .specification-editor>.notice,.order-detail-lines .line-specification .specification-editor>.muted,.order-detail-lines .line-specification-summary>.field,.order-detail-lines .line-specification-summary>.muted{grid-column:1/-1}
.order-detail-lines .line-specification .check-row{display:flex;flex-direction:row;align-items:flex-start;gap:8px}
.order-detail-lines .line-specification .check-row>input[type=checkbox],.order-detail-lines .line-specification .check-row>input[type=radio]{flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0;margin:2px 0 0}
.order-detail-lines .line-specification .check-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.order-detail-lines .line-specification .specification-group>.field-hint{margin:0 0 6px}
.order-detail-lines .line-specification .specification-option{margin-top:6px}
.order-detail-lines .line-specification .specification-option>.check-row{margin-bottom:0}
.order-detail-lines .line-specification [data-spec-note-for] textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.order-detail-lines .line-specification-option-note{margin:3px 0 6px 25px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.order-detail-lines .line-specification .workflow-note{margin:5px 0 0}
@media(max-width:620px){
  .order-detail-lines .line-specification{padding:13px;margin:14px 0}
  .order-detail-lines .line-specification .specification-editor,.order-detail-lines .line-specification-summary{grid-template-columns:minmax(0,1fr)}
  .order-detail-lines .line-specification .check-row{min-height:38px}
}


/* HR overview and aligned department-grouped master tables. */
.hr-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.hr-summary-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px 20px;min-width:0}
.hr-summary-card h2{font-size:14px;color:#52647d;margin:0 0 6px}
.hr-summary-card>strong{display:block;font-size:27px;color:#3f5069;line-height:1.3;overflow-wrap:anywhere}
.hr-summary-card p{margin:7px 0 0;font-size:12px;color:#61728a}
.hr-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hr-inventory-notice{padding:12px 14px;background:#f4f6fa;border:1px solid #e0e6ee;border-radius:7px;margin-bottom:16px;font-size:13px;color:#52647d}
.hr-inventory-notice p{margin:0 0 5px}.hr-inventory-notice p:last-child{margin-bottom:0}
.hr-outline{display:grid;gap:16px;min-width:0}
.hr-outline-department{min-width:0;border:1px solid #e0e6ee;border-radius:8px;overflow:hidden}
.hr-outline-department>h3{margin:0;padding:11px 14px;background:#edf1f6;color:#3f5069;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.hr-outline-roles,.hr-outline-people{list-style:none;margin:0;padding:0}
.hr-outline-designation{padding:12px 14px;border-top:1px solid #e7ecf3;min-width:0}
.hr-outline-designation:first-child{border-top:0}
.hr-outline-role{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:14px;overflow-wrap:anywhere}
.hr-outline-role>strong{color:#43566f;font-weight:650}
.hr-outline-meta{font-size:12px;color:#61728a}
.hr-outline-people{padding:4px 0 0 15px;border-left:2px solid #e7ecf3;margin:9px 0 0}
.hr-outline-people>li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 14px;padding:5px 0;font-size:14px;color:#43566f;overflow-wrap:anywhere}
.hr-outline-empty{margin:0;padding:12px 14px;font-size:13px;color:#61728a}
.hr-outline-designation>.hr-outline-empty{padding:8px 0 0}
.setup-list-view:has(.setup-table-users) .catalog-search,.setup-list-view:has(.setup-table-designations) .catalog-search{display:flex;align-items:end;flex-wrap:wrap;gap:10px 14px}
.setup-list-view:has(.setup-table-users) .catalog-search>label,.setup-list-view:has(.setup-table-designations) .catalog-search>label{flex-basis:100%;margin-bottom:-4px}
.setup-list-view:has(.setup-table-users) .catalog-search>input,.setup-list-view:has(.setup-table-designations) .catalog-search>input{flex:1 1 230px;min-width:170px}
.hr-master-filter{flex:1 1 180px;min-width:150px}
.hr-master-filter select{width:100%;max-width:100%;font-size:14px}
.setup-table-users{min-width:1040px}
.setup-table-users thead th:nth-child(1){width:19%}.setup-table-users thead th:nth-child(2){width:20%}.setup-table-users thead th:nth-child(3){width:17%}.setup-table-users thead th:nth-child(4){width:10%}.setup-table-users thead th:nth-child(5){width:23%}.setup-table-users thead th:nth-child(6){width:11%}
.setup-table-users.setup-table-readonly thead th:nth-child(5){width:34%}
.setup-table-departments{min-width:420px}
.setup-table-departments thead th:first-child{width:80%}
.setup-table-departments.setup-table-readonly thead th:first-child{width:100%}
.setup-table .hr-department-group>th{padding:10px 12px;background:#edf1f6;color:#3f5069;font-size:14px;font-weight:650;text-transform:none;letter-spacing:normal;border-top:1px solid #dbe3ee;border-bottom:1px solid #dbe3ee;white-space:normal;text-align:left}
.setup-table .hr-department-group .hr-group-count{margin-left:12px;color:#61728a;font-size:12px;font-weight:500;white-space:nowrap}
.setup-table-users tbody tr[data-setup-record]>th,.setup-table-users tbody tr[data-setup-record]>td,.setup-table-departments tbody tr[data-setup-record]>th,.setup-table-departments tbody tr[data-setup-record]>td{padding-top:8px;padding-bottom:8px}
@media(max-width:650px){.hr-summary-grid{grid-template-columns:minmax(0,1fr);gap:10px}.hr-summary-card{padding:14px 16px}.hr-summary-card>strong{font-size:23px}.hr-summary-card p{font-size:12px}.hr-shortcuts .button{min-height:44px}.hr-master-filter{flex:1 1 100%;min-width:0}.hr-master-filter select{font-size:16px;min-height:44px}.setup-list-view:has(.setup-table-users) .catalog-search>input,.setup-list-view:has(.setup-table-designations) .catalog-search>input{flex-basis:100%;min-width:0}.hr-overview .panel-head{flex-wrap:wrap}.hr-outline-people{padding-left:10px}}


/* Explicit permanent reporting links, scoped to the HR master editor. */
.reporting-editor{min-width:0;margin:0;padding:16px;border:1px solid #dce4ef;border-radius:8px;background:#fafbfd}
.reporting-editor>legend{font-size:14px;font-weight:650;color:#43566f;padding:0 6px}
.reporting-editor>.field-hint{font-size:12px;color:#61728a}
.reporting-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0;border-top:1px solid #e3e9f1}
.reporting-row:first-child{border-top:0;padding-top:4px}
.reporting-row>.field{min-width:0}
.reporting-row select{width:100%;max-width:100%;font-size:14px}
.reporting-row>.button{margin-top:27px;min-height:41px}
.reporting-primary{font-size:12px;font-weight:500;color:#61728a;margin-left:6px}
.reporting-review{margin:7px 0 0;font-size:12px;color:#8a571a;line-height:1.5}
.reporting-empty{font-size:13px;margin:8px 0 12px}
.reporting-empty[hidden]{display:none}
.reporting-feedback{margin:7px 0 11px}
.reporting-editor [aria-invalid="true"]{border-color:#b78a46}
@media(max-width:650px){.reporting-editor{padding:13px}.reporting-row{gap:9px}.reporting-row select{font-size:16px;min-height:44px}.reporting-row>.button{min-height:44px;margin-top:27px;padding:8px 10px}}

/* Keep the HR editor track within its panel; only the rights table scrolls. */
.setup-editor-view #setup-form{grid-template-columns:minmax(0,1fr)}
.setup-editor-view #setup-form>.permission-matrix-section{min-width:0;max-width:100%}


/* An unavailable reporting choice is not a loading operation. Save busy states stay unchanged. */
.reporting-editor [data-action="reporting-add"][data-reporting-availability="unavailable"]:disabled{cursor:not-allowed}
.reporting-feedback p{margin:0 0 7px;overflow-wrap:anywhere}
.reporting-feedback p:last-child{margin-bottom:0}
.reporting-feedback .reporting-rule{color:#43566f}
.reporting-feedback .reporting-counts{font-variant-numeric:tabular-nums;color:#52647d}
.reporting-feedback .reporting-reason{color:#61728a}

/* Independent designation capacities under one identity. */
.person-assignment-editor{min-inline-size:0;min-width:0;max-width:100%;margin:0;padding:16px;border:1px solid #dce4ef;border-radius:9px;background:#f8fafc}
.person-assignment-editor>legend{font-size:14px;font-weight:650;color:#43566f;padding:0 6px}
.person-assignment-editor>.field-hint{font-size:12px;line-height:1.55}
.person-assignment-row{min-width:0;max-width:100%;border:1px solid #dce4ef;border-radius:8px;background:#fff;padding:16px;margin:12px 0}
.person-assignment-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-bottom:14px;min-width:0}
.person-assignment-heading h3{margin:0;margin-right:auto;font-size:15px;color:#43566f}
.person-assignment-heading .check-row{margin:0;font-size:14px}
.person-assignment-heading input[type=radio]{flex:0 0 17px;width:17px;height:17px;min-height:0;padding:0}
.person-assignment-row>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.person-assignment-row .field,.person-assignment-row select{min-width:0;max-width:100%}
.person-assignment-row select{width:100%;text-overflow:ellipsis}
.person-assignment-row select[aria-readonly=true]:disabled{cursor:default;color:#43566f;background:#f2f5f9;opacity:1}
.person-assignment-row .reporting-editor{margin-top:14px;min-inline-size:0;max-width:100%}
.person-assignment-ended{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e0e6ee;font-size:13px;color:#61728a;overflow-wrap:anywhere}
.capacity-reporting-editor [data-action="assignment-parent-add"][data-reporting-availability="unavailable"]:disabled{cursor:not-allowed}
.home-work-section{min-width:0;margin-top:28px;padding-top:22px;border-top:1px solid #dce4ef}
.home-work-section:first-of-type{margin-top:18px}
.home-work-heading{margin-bottom:16px;min-width:0}
.home-work-heading h2{font-size:20px;margin:0 0 6px;color:#354965}
.home-assignment-label{font-size:14px;font-weight:600;color:#52647d;margin:0 0 5px;overflow-wrap:anywhere}
.home-work-heading>.home-scope{font-size:13px;margin:0;color:#61728a}
.user-menu .user-role{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sales-actor-field[hidden]{display:none!important}
#order-form .sales-actor-field{grid-column:1/-1}
.action-capacity-field{min-width:0;max-width:100%}
.action-capacity-field select{min-width:0;max-width:100%;width:100%;font-size:14px;text-overflow:ellipsis}
.acting-capacity-note{font-size:12px;color:#52647d;margin:6px 0 12px;overflow-wrap:anywhere}
@media(max-width:650px){
  .person-assignment-editor{padding:12px}
  .person-assignment-row{padding:12px}
  .person-assignment-row>.field-grid{grid-template-columns:minmax(0,1fr)}
  .person-assignment-heading{align-items:flex-start;gap:10px}
  .person-assignment-heading h3{flex-basis:100%}
  .person-assignment-heading .button,.person-assignment-editor>.button{min-height:44px}
  .person-assignment-row select{font-size:16px;min-height:44px}
  .person-assignment-row .reporting-row{grid-template-columns:minmax(0,1fr) auto}
  .person-assignment-ended{align-items:flex-start;flex-wrap:wrap}
  .home-work-section{margin-top:23px;padding-top:18px}
  .home-work-heading h2{font-size:19px}
  .user-menu .user-role{max-width:150px}
  .action-capacity-field select{font-size:16px;min-height:44px}
}

/* Operational production routing: compact facts and contained form controls. */
.order-production-routing,.line-production-routing{min-width:0;max-width:100%;padding:14px 0;border-top:1px solid var(--border,#dce4ec)}
.order-production-routing h3,.line-production-routing h3{font-size:14px;margin:0 0 10px;color:var(--ink,#25364b)}
.production-routing-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;min-width:0}
.production-routing-facts strong{display:block;font-size:14px;overflow-wrap:anywhere}.production-routing-facts .field-hint,.production-routing-facts .routing-pending{grid-column:1/-1;margin:0}
.routing-pending{color:#a13131;font-size:14px}.production-unit-mapping select,#client-routing-form select{width:100%;min-width:0;max-width:100%}
.line-production-routing .workflow-action-form{margin-top:12px;max-width:650px}
@media(max-width:620px){.production-routing-facts{grid-template-columns:minmax(0,1fr)}.order-production-routing,.line-production-routing{width:100%;min-width:0}#client-routing-form .modal-footer{flex-wrap:wrap}#client-routing-form .modal-footer .primary{flex:1 1 auto}}
