:root{--ink:#1c2e48;--green:#087f8c;--muted:#76869b;--line:#e0e7f0;--bg:#f3f6fa;--accent:#17a5b2;--orange:#087f8c;--radius:12px;color:var(--ink);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}[hidden]{display:none!important}body{background:var(--bg)}button{border-radius:8px}.primary{background:#087f8c;box-shadow:0 3px 7px #087f8c16}.primary:hover{background:#096d79}.outline{border-color:#d4deeb}.outline:hover{background:#f0f5fb}.quiet:hover{background:#e6edf6}.text-button{color:#087f8c}.app-sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:linear-gradient(175deg,#15243d 0%,#0d182b 100%);color:#fff;padding:31px 17px 0;display:flex;flex-direction:column;z-index:60}.sidebar-brand{display:flex;gap:11px;align-items:center;padding:0 9px 40px}.sidebar-star{color:#74d6df;font-size:36px;line-height:1}.sidebar-brand b{display:block;font-size:12px;letter-spacing:1.4px}.sidebar-brand small{display:block;color:#8095b1;font-size:8px;letter-spacing:2.1px;margin-top:7px}.sidebar-caption{font-size:8px;letter-spacing:1.8px;color:#6f86a5;padding:0 16px 16px}.module-nav{display:flex;flex-direction:column;gap:9px}.module-link{width:100%;justify-content:flex-start;padding:13px 13px;color:#a0b2cb;font-size:11px;font-weight:500;gap:10px;position:relative;min-height:44px}.module-link svg{width:17px;height:17px;color:#748ca9}.module-link small{margin-left:auto;font-size:8px;background:#ffffff09;padding:3px 5px;border-radius:4px;color:#7288a6;letter-spacing:.2px}.module-link.active{background:linear-gradient(100deg,#0e7c8e,#116579);color:#fff;box-shadow:0 4px 10px #00000015}.module-link.active svg{color:#a9f2f7}.module-link.active small{color:#d4f6f8;background:#ffffff18}.module-link:disabled{opacity:1;cursor:default}.sidebar-note{margin:46px 7px 25px;border:1px solid #6d9dc925;border-radius:10px;padding:17px 15px;background:#ffffff03}.sidebar-note svg{color:#64b4c5;width:19px;height:19px}.sidebar-note b{display:block;font-size:10px;margin:12px 0 7px;font-weight:500;color:#c3d3e6}.sidebar-note p{font-size:9px;color:#7189a9;line-height:1.8;margin:0}.sidebar-account{border-top:1px solid #ffffff10;display:flex;align-items:center;padding:20px 4px;gap:10px;margin-top:auto;min-width:0}.account-avatar{height:30px;width:30px;display:grid;place-items:center;background:#223853;color:#a8d6e5;border:1px solid #42617b;font-size:11px;border-radius:8px;flex:none}.sidebar-account>div{min-width:0}.sidebar-account b{display:block;font-size:10px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:114px}.sidebar-account small{font-size:8px;color:#738aa7;display:block;margin-top:5px}.sidebar-account form{margin:0 0 0 auto}.sidebar-account button{color:#718caa;font-size:20px;padding:5px}.sidebar-account button:hover{color:white}.app-main{margin-left:232px;min-width:0}.app-topbar{height:73px;background:#fff;border-bottom:1px solid #e0e7f0;padding:0 3%;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-start{display:flex;align-items:center;gap:16px}.topbar-mark{font-size:8px;color:#9aa9bc;letter-spacing:1.5px}.topbar-slash{color:#d9e1ed;font-size:19px;font-weight:300}.app-topbar b{font-size:10px;font-weight:550;color:#61738f}.live-connection{font-size:9px;color:#71829a;display:flex;align-items:center;gap:7px}.live-connection>span{width:5px;height:5px;border-radius:50%;background:#2caca1}.live-connection small{color:#c7d3e2}.sidebar-toggle{display:none}.sidebar-backdrop{position:fixed;inset:0;background:#0a18267a;z-index:55;border-radius:0}.workspace{width:94%;max-width:1500px}.workspace-screen{padding-top:33px;min-height:calc(100dvh - 160px)}.screen-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.screen-heading h1{margin:10px 0;font-size:29px;font-weight:650;letter-spacing:-1px;overflow-wrap:anywhere}.screen-heading h1 em,h1 em{font-family:inherit;font-style:normal;font-weight:550;color:#087f8c}.screen-heading p{font-size:11px;color:#8392a7;line-height:1.7;margin:0}.eyebrow{font-size:8px;color:#8596ae;letter-spacing:1.6px}.eyebrow>span{background:#46a3b0}.workspace-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 30px}.stat-box{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 22px;display:flex;gap:15px;align-items:center;box-shadow:0 2px 4px #1b355203}.stat-icon{width:39px;height:39px;display:grid;place-items:center;color:#32929e;border:1px solid #d9edf0;background:#f0f8fa;border-radius:10px}.stat-box:nth-child(2) .stat-icon{background:#f0f3fc;border-color:#e2e7f8;color:#6d87ba}.stat-box:nth-child(3) .stat-icon{background:#eef7f5;border-color:#ddecdf;color:#69a899}.stat-box>div>span{display:block;font-size:9px;color:#8a98aa;margin-bottom:8px}.stat-box strong{font-size:26px;line-height:1;font-weight:600;letter-spacing:-.8px}.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}.list-toolbar h2{font-size:14px;display:flex;align-items:center;gap:9px}.count-badge{font-size:9px;color:#8294a8;background:#e7edf4;border-radius:5px;padding:4px 6px}.list-toolbar p{font-size:10px;color:#97a4b4;margin:7px 0 0}.list-toolbar input{width:270px;margin:0;background:white;border-color:#dde6f0;font-size:11px}.orders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:10px}.order-card{display:block;text-align:left;background:white;padding:22px 23px;border:1px solid #dfe7f1;border-radius:12px;min-width:0;box-shadow:0 3px 10px #162d4c03;transition:box-shadow .18s,border-color .18s,transform .18s;color:#1b2f4b}.order-card:hover{border-color:#76b7c2;box-shadow:0 9px 30px #254e6d0a;transform:translateY(-2px)}.order-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.order-folder{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eff6fa;border:1px solid #dfebf2;color:#548caa}.order-folder svg{width:18px;height:18px}.order-card-status{font-size:8px;font-weight:400;color:#82a3b0;background:#f1f7fa;padding:5px 8px;border-radius:5px}.order-card h3{margin:0 0 9px;font-size:15px;font-weight:600;letter-spacing:-.3px;overflow-wrap:anywhere}.order-card p{margin:0;font-size:10px;color:#8b9aaf;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.order-card-numbers{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;padding:17px 0;margin:22px 0 14px}.order-card-numbers>div:last-child{padding-left:20px;border-left:1px solid #edf1f6}.order-card-numbers b{display:block;font-size:20px;font-weight:550;letter-spacing:-.5px}.order-card-numbers span{display:block;font-size:8px;font-weight:400;color:#9aa7b8;margin-top:5px}.order-card-foot{display:flex;align-items:center;justify-content:space-between;font-size:8px;font-weight:400;color:#a1adbc}.order-card-foot b{font-size:10px;font-weight:500;color:#3b7f92}.orders-empty{grid-column:1/-1;background:white;border:1px dashed #d4e1ed;border-radius:12px;padding:58px 25px;text-align:center}.orders-empty>svg{color:#89a9bd;width:32px;height:32px;margin-bottom:15px}.orders-empty h3{font-size:17px;margin:0 0 10px;font-weight:550}.orders-empty p{font-size:11px;line-height:1.8;color:#90a0b2;margin:0 0 22px}.info-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #eddfc0;background:#fffaf0;padding:15px 18px;border-radius:9px;margin-bottom:20px;font-size:11px;color:#936c2f}.info-banner p{margin:6px 0 0;font-size:10px;line-height:1.8;color:#a68a59}.info-banner b{font-size:11px;font-weight:550}.draft-banner{background:#edf7fb;border-color:#d3e9f3;color:#41718d}.draft-banner p{color:#7097ab}.back-link{padding:0;font-size:10px;color:#8b9caf;font-weight:500;border-radius:2px;justify-content:flex-start}.back-link svg{width:14px;height:14px}.back-link:hover{color:#087f8c}.order-heading{margin-top:22px;margin-bottom:23px}.order-heading h1{color:#183450;font-size:30px;max-width:900px}.order-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:23px 25px;background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:22px;gap:20px}.order-summary-strip>div{padding-right:15px;border-right:1px solid #ecf0f6}.order-summary-strip>div:last-child{border:0}.order-summary-strip span{font-size:9px;color:#94a4b6;display:block;margin-bottom:10px}.order-summary-strip strong{font-size:19px;font-weight:550;color:#324e6a;overflow-wrap:anywhere}.order-summary-strip>div:nth-child(n+3) strong{font-size:12px}.order-notes{font-size:11px;line-height:1.8;color:#71869c;background:#eaf0f7;border:1px solid #dde7f1;border-radius:8px;padding:15px 18px;white-space:pre-wrap;margin:0 0 23px;overflow-wrap:anywhere}.order-tabs{display:flex;align-items:center;gap:27px;border-bottom:1px solid #dce5f0;margin:26px 0 22px}.order-tabs button{font-size:12px;padding:0 1px 16px;border-radius:0;font-weight:500;gap:9px;color:#8b9bae;position:relative}.order-tabs button svg{width:16px;height:16px}.order-tabs button.active{color:#087f8c}.order-tabs button.active::after{position:absolute;content:'';height:2px;background:#087f8c;bottom:-1px;left:0;right:0}.order-tabs button span{background:#e5eff4;color:#6b96a8;font-size:9px;padding:3px 6px;border-radius:4px}.order-panel{padding:24px 25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.panel-heading h2{font-size:14px}.panel-heading p{margin:8px 0 0;font-size:10px;line-height:1.7;color:#8da0b2}.panel-heading button{font-size:11px;white-space:nowrap}.panel-actions{display:flex;gap:9px}.order-cards-table{min-width:650px}.order-cards-table th,.combined-table th{background:#f3f6fa;color:#91a0b5;font-size:8px;letter-spacing:.6px;padding:13px 12px}.order-cards-table th:nth-child(1){width:26%}.order-cards-table th:nth-child(2){width:26%}.order-cards-table th:nth-child(3){width:17%}.order-cards-table th:nth-child(4){width:14%}.order-cards-table th:nth-child(5){width:17%}.order-cards-table td{padding:17px 12px;border-bottom:1px solid #edf1f6;font-size:11px;color:#7f93aa;overflow-wrap:anywhere}.order-cards-table tbody tr:last-child td{border-bottom:0}.open-card-button{padding:0;color:#264d70;font-size:12px;font-weight:550;justify-content:flex-start;text-align:left;border-radius:2px;overflow-wrap:anywhere;word-break:break-word;display:block}.open-card-button:hover{color:#087f8c;text-decoration:underline}.order-cards-table small{font-size:9px;color:#9aaabc;display:block;margin-top:6px}.quantity-cell{color:#315e7a!important;font-size:15px!important;font-weight:550}.combined-table{min-width:820px}.combined-table th:nth-child(1){width:5%}.combined-table th:nth-child(2){width:28%}.combined-table th:nth-child(3){width:19%}.combined-table th:nth-child(4){width:16%}.combined-table th:nth-child(5){width:9%}.combined-table th:nth-child(6){width:15%;text-align:right}.combined-table th:nth-child(7){width:8%;text-align:center}.combined-table td{font-size:11px;padding:15px 12px;border-bottom:1px solid #edf1f6;color:#7289a1;vertical-align:top;overflow-wrap:anywhere}.combined-table td:first-child{font-size:9px;color:#9caebe}.combined-table td:nth-child(2) b{font-size:11px;color:#34536f;font-weight:550;line-height:1.6;display:block}.combined-table td:nth-child(2) small{color:#9aaabc;font-size:9px;display:block;margin-top:5px}.combined-table td:nth-child(6){color:#087f8c;font-size:14px;font-weight:600;text-align:right}.combined-table td:nth-child(7){text-align:center;font-size:11px}.combined-info{display:flex;gap:22px;font-size:10px;color:#8298ab;padding:13px 15px;background:#f3f8fc;border:1px solid #e0edf6;border-radius:7px;margin-bottom:20px;flex-wrap:wrap}.combined-info b{color:#486f89;font-weight:600;margin-right:5px}.sheet-note{font-size:9px;color:#98a9ba;line-height:1.8;margin:17px 0 0}.pending-tag{display:block;font-size:8px;font-weight:400;color:#c19a57;margin-top:5px}.order-form-grid{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.order-form-grid .wide-field{grid-column:1/-1}.order-dialog label{font-size:11px;color:#7189a3}.order-dialog input,.order-dialog textarea{font-size:13px;border-color:#dfe7f1}.order-dialog .optional{font-size:7px;letter-spacing:.6px}.order-dialog form{margin:0}.assign-body{padding:22px 24px}.assign-body>label{margin-bottom:20px}.assign-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #edf1f6}.assign-row b{font-size:12px;color:#365b78}.assign-row small{display:block;margin-top:6px;font-size:9px;color:#91a4b6}.assign-row button{font-size:10px}.editor-context{padding-top:26px;display:flex;align-items:center;gap:24px}.editor-context>span{border-left:1px solid #d8e3f0;padding-left:22px;font-size:8px;letter-spacing:1px;color:#9caec0}.editor-context b{color:#517b96;font-size:10px;font-weight:600;letter-spacing:0;margin-left:8px}.page-heading{padding:24px 0}.page-heading h1{font-size:27px}.heading-actions{padding-top:10px;flex-wrap:wrap;justify-content:flex-end}.heading-actions button{font-size:11px}.heading-actions .quiet{font-size:10px}.draft-status{font-size:9px}.editor-save-note{font-size:10px;color:#98783f;background:#fffaef;border:1px solid #f1e3c9;padding:12px 15px;border-radius:7px;margin:0 0 18px}.card{border-color:#dfe7f0;box-shadow:0 2px 7px #18365403}.step{background:#edf5fa;border-color:#dfebf5;color:#7c9bb5}.subtle,.section-description{color:#96a5b7}.prominent-fields input{background:#f5f8fc;border-color:#dfe8f2;color:#244d6f}.prominent-fields input::placeholder{color:#b5c7da}.prominent-fields label{color:#718da8}.secondary-fields label{color:#7f93a8}.secondary-fields input,.notes-card textarea{border-color:#dfe7f1;color:#456079}input:focus,textarea:focus,select:focus{border-color:#439aa8;box-shadow:0 0 0 3px #439aa810}.size-tile{background:#f8fafd;border-color:#e0e9f3}.size-name{color:#6c8aa5}.size-qty{border-color:#e1ebf4;color:#365e7f}.size-qty::placeholder{color:#c6d5e4}.quantity-strip{background:#edf8f9;border-color:#d5edf0}.quantity-strip>div{color:#6b99a3}.quantity-strip strong{color:#087f8c}.quantity-strip small{color:#78a1ad}.formula-pill{color:#7799ad;background:#f1f6fb;border-color:#e0eaf4}.material-group{border-color:#e9eff6}.group-heading h3>span{background:#eef5fa;color:#6e9bb4}.group-heading h3>small{background:#edf3f8;color:#96acbe}.entry-table th{background:#f3f6fa;color:#91a4b9}.entry-table input,.entry-table select{border-color:#dfe8f2;color:#53718c}.entry-table .row-total{background:#eff8fa;color:#3d8e9c}.material-group .catalog-tools input{border-color:#e0e9f3}.overview-card{background:linear-gradient(140deg,#18344f,#152840);color:#fff}.overview-label{color:#789ab9}.overview-number small{color:#87a7c2}.overview-line{color:#99b5ce}.overview-line b{color:#d2e4f2}.mini-divider{background:#ffffff15}.section-totals>div{color:#b2c9dd}.section-totals span:last-child{color:#789bb7}.section-totals span:first-child::before{background:#69b9c9}.section-totals>div:nth-child(2) span:first-child::before{background:#8a9fd1}.section-totals>div:nth-child(3) span:first-child::before{background:#90c3c3}.calc-note{color:#7da3c0}.upload-area{background:#f8fbfd;border-color:#bcd6e5}.upload-area:hover{background:#edf6fa}.upload-icon{color:#71a3b8;border-color:#e2edf5}.upload-area b{color:#7196ad}.upload-area>span:not(.upload-icon){color:#92acbd}.upload-area small{color:#a6bac8}.image-item{border-color:#e6eef5}.image-item img{background:#f3f7fb}.image-meta,.image-item label{color:#8ba4b8}.image-edit{color:#438a9f}.print-card p{color:#8ea3b5}.a4-badge{color:#9bafbf;border-color:#e3ebf2}.utility-links button{color:#7c9aae}.storage-note{color:#9aafbf}.workspace-footer{border-color:#dfe7f0;color:#9daec2}.workspace-footer span span{color:#c3cfdf}.connection-banner{background:#fff8e9;color:#9b7a40;border:1px solid #f1e3c8}.auth-page{background:radial-gradient(ellipse at top left,#dcecf6,transparent 60%),#f2f6fb}.auth-shell{border-color:#dce7f2;box-shadow:0 18px 70px #16385a10}.auth-brand{color:#2697aa}.auth-brand span{color:#244d70}.auth-shell>p,.auth-note{color:#7a93ac}.access-badge{color:#4b91a2;background:#eef7fa}.auth-links a{color:#44819b}.setup-steps{color:#7792aa}.auth-success{background:#eaf7f8;color:#2b8290}.paper-header{border-bottom-color:#2a788e}.paper-brand{color:#173e5e}.paper-identifiers>div{background:#f1f6fa}.paper-identifiers span{color:#758da5}.paper-identifiers b{color:#214d6e}.paper-meta span,.paper-size span{color:#7892a9}.paper-size{border-color:#dae5ef}.paper-total{background:#eef7fa;color:#2d657e}.print-group h3{color:#315f7b}.print-table th{background:#f0f5f9;border-color:#d9e5ef;color:#65869e}.print-table td{border-color:#d9e5ef}.paper-footer{border-color:#dce6ef;color:#88a0b3}.paper-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3mm;margin-bottom:4mm}.paper-summary-grid>div{background:#f2f7fb;padding:2mm 3mm;font-size:8pt;color:#7994aa}.paper-summary-grid b{display:block;color:#2c617e;font-size:12pt;margin-top:1.5mm}.print-combined th:nth-child(1){width:5%}.print-combined th:nth-child(2){width:17%}.print-combined th:nth-child(3){width:33%}.print-combined th:nth-child(4){width:16%}.print-combined th:nth-child(5){width:8%}.print-combined th:nth-child(6){width:14%}.print-combined th:nth-child(7){width:7%}.print-combined td:nth-child(6){text-align:right;font-weight:bold}.print-combined td small{font-size:6.5pt;color:#8a9fb0}.print-combined td:nth-child(7){text-align:center}.paper-pending-note{font-size:8pt;line-height:1.6;color:#ad8042;border:1px solid #ead8b6;background:#fffaf0;padding:2mm 3mm;margin-bottom:3mm}body.embed .app-topbar{display:none}
@media(min-width:1650px){.orders-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1280px){.orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-sidebar{width:210px;padding-left:14px;padding-right:14px}.app-main{margin-left:210px}.sidebar-brand b{font-size:10px}.sidebar-brand small{font-size:7px}.heading-actions{gap:7px}.heading-actions button{font-size:10px;padding:10px}.editor-grid{grid-template-columns:minmax(0,1fr) 245px}.sizes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel-heading{align-items:flex-start}.panel-heading .panel-actions{flex-shrink:0}}@media(max-width:1050px){.editor-grid{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr;gap:17px}.images-card{grid-row:span 2}.utility-links,.storage-note{grid-column:1/-1}.print-card .paper-mini{display:none}.topbar-mark{display:none}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.heading-actions{padding:0;width:100%;justify-content:flex-end}.heading-actions .draft-status{display:flex;margin-right:auto}.panel-actions{gap:7px}.panel-actions button{padding:10px;font-size:10px}}@media(max-width:800px){.app-sidebar{transform:translateX(-100%);transition:transform .2s;width:232px}.app-sidebar.open{transform:translateX(0)}.app-main{margin-left:0}.sidebar-toggle{display:inline-flex;padding:5px;color:#7289a3}.app-topbar{height:62px;padding:0 4%}.topbar-mark{display:inline}.live-connection{font-size:8px}.workspace{width:92%}.workspace-screen{padding-top:25px}.screen-heading h1{font-size:26px}.orders-grid{gap:15px}.workspace-stats{gap:12px}.stat-box{padding:16px 14px;gap:11px}.stat-icon{width:32px;height:32px}.stat-box strong{font-size:23px}.order-panel{padding:20px}.screen-heading button{font-size:11px;white-space:nowrap}.order-summary-strip{padding:20px;gap:15px}.order-summary-strip strong{font-size:17px}.order-summary-strip>div:nth-child(n+3) strong{font-size:11px}.editor-context{padding-top:22px}.workspace-footer{margin-top:20px}.page-heading h1{font-size:28px}}@media(max-width:560px){.topbar-mark,.live-connection{display:none}.topbar-start{gap:13px}.app-topbar b{font-size:11px}.workspace{width:92%}.screen-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:23px}.screen-heading h1{font-size:27px}.screen-heading p{font-size:10px}.screen-heading>button{font-size:11px;padding:11px 15px}.workspace-stats{gap:8px;margin-bottom:26px}.stat-box{padding:16px 11px;display:block}.stat-icon{width:27px;height:27px;border-radius:7px;margin-bottom:13px}.stat-icon svg{width:14px;height:14px}.stat-box strong{font-size:22px}.stat-box>div>span{font-size:8px}.orders-grid{grid-template-columns:1fr;gap:16px}.order-card{padding:22px}.order-card h3{font-size:16px}.order-card p{font-size:11px}.list-toolbar{align-items:flex-start;flex-direction:column;gap:15px}.list-toolbar input{width:100%}.info-banner{padding:15px;gap:12px;align-items:flex-start}.info-banner .outline{font-size:9px;padding:9px;white-space:nowrap}.info-banner b{font-size:10px}.info-banner p{font-size:9px}.order-heading{flex-direction:row;align-items:center;gap:10px}.order-heading h1{font-size:24px}.order-heading>button{padding:9px;font-size:9px}.order-summary-strip{grid-template-columns:1fr 1fr;padding:19px 20px;gap:22px}.order-summary-strip>div:nth-child(2){border-right:0}.order-summary-strip span{font-size:8px}.order-tabs{gap:24px}.order-tabs button{font-size:10px;gap:7px}.order-tabs button svg{width:14px;height:14px}.order-panel{padding:18px 15px}.panel-heading{flex-direction:column;gap:16px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.panel-heading button{font-size:10px}.combined-info{font-size:9px;gap:12px}.order-form-grid{grid-template-columns:1fr;padding:20px;gap:17px}.order-form-grid .wide-field{grid-column:auto}.editor-context{gap:15px}.editor-context>span{font-size:7px;padding-left:15px;letter-spacing:.6px}.editor-context b{font-size:9px;overflow-wrap:anywhere}.heading-actions{gap:7px;justify-content:flex-start}.heading-actions .draft-status{width:100%;max-width:none;margin:0 0 3px}.heading-actions button{font-size:9px;padding:9px 10px}.heading-actions svg{width:13px;height:13px}.side-column{display:flex}.side-column .overview-card{display:block}.editor-save-note{font-size:9px;line-height:1.7}.assign-body{padding:18px}.sidebar-note{margin-top:35px}}
@media print{.app-sidebar,.app-topbar,.sidebar-backdrop{display:none!important}}
.app-loading #create-order-btn{opacity:.5;pointer-events:none}

.preview-dialog{background:#edf2f8}.print-help{color:#70869c}
.size-actions{display:flex;gap:15px;flex-wrap:wrap}.colour-size-matrix{min-width:0}.matrix-scroll{overflow-x:auto;border:1px solid #e0e9f3;border-radius:12px}.colour-matrix{width:100%;border-collapse:collapse;table-layout:auto;font-size:12px}.colour-matrix th,.colour-matrix td{padding:10px 7px;border-bottom:1px solid #e6edf5;border-right:1px solid #eef2f7;min-width:72px;text-align:center}.colour-matrix th:first-child{min-width:115px;text-align:left}.colour-matrix th:last-child,.colour-matrix td:last-child{min-width:32px;width:32px;padding:4px;border-right:0}.colour-matrix thead{background:#eff5fa;color:#6d879e}.matrix-size-heading{display:flex;align-items:center;min-width:80px}.colour-matrix input{width:100%;min-width:55px;height:36px;border:1px solid #dce6f0;background:white;border-radius:7px;text-align:center;padding:6px;font:inherit;color:#284964;outline:none}.colour-matrix input:focus{border-color:#148e9e;box-shadow:0 0 0 3px #0b879414}.colour-matrix .matrix-size-heading input{font-size:10px;font-weight:600;background:transparent;border-color:transparent;padding:4px;min-width:52px}.colour-matrix .colour-name{text-align:left;font-weight:600}.colour-matrix .icon-btn{padding:3px;color:#99acbf}.colour-matrix .icon-btn svg{height:12px;width:12px}.colour-matrix .matrix-row-total{font-weight:700;color:#087f8c}.colour-matrix tfoot{background:#edf7f8;font-weight:700;color:#28697a}.colour-matrix tfoot td,.colour-matrix tfoot th{border-bottom:0;font-size:11px}.matrix-colour-heading{padding-left:14px!important;font-size:10px}.matrix-total-heading{font-size:10px}.order-form-grid select{width:100%;border:1px solid #dce6f0;border-radius:8px;padding:11px;background:#fff;font:inherit;color:#315470}.handoff-body{padding:23px}.handoff-body>p:first-child{font-size:12px;line-height:1.8;color:#456781;margin:0 0 20px}.handoff-body label{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#54718b}.handoff-body input{border:1px solid #dbe5ef;border-radius:8px;padding:12px;font:inherit;width:100%}.handoff-help{font-size:11px;color:#8298ad;line-height:1.8;margin:16px 0}.print-colour-matrix th,.print-colour-matrix td{text-align:center!important;width:auto!important;font-size:8pt}.print-colour-matrix th:first-child,.print-colour-matrix td:first-child{text-align:left!important;width:22%!important}.print-size-totals{background:#edf7f8;font-weight:700}@media(max-width:600px){.size-actions{gap:8px}.size-actions button{font-size:10px}.colour-matrix th,.colour-matrix td{min-width:70px}.colour-matrix th:first-child{min-width:110px}.handoff-body{padding:18px}.panel-actions{flex-wrap:wrap}}

.colour-matrix th,.colour-matrix td{min-width:62px;padding:10px 5px}.colour-matrix th:first-child{min-width:100px}.matrix-size-heading{min-width:58px}.colour-matrix .matrix-size-heading input{min-width:40px;font-size:9px;padding:3px}.colour-matrix input{min-width:45px}.colour-matrix th:last-child,.colour-matrix td:last-child{min-width:25px;width:25px}.colour-matrix .matrix-total-heading{min-width:48px}
@media screen and (max-width:800px){html{overflow-x:clip}}
@media(max-width:560px){.side-column{align-items:stretch}.side-column>.card{width:100%}}

/* v5.2: stronger contrast for the Production workspace. */
:root{--ink:#0f172a;--green:#006b70;--muted:#475569;--line:#a8b8cb;--bg:#e7edf4;--accent:#007c83}
body{color:#0f172a;background:#e7edf4}
.primary{background:#006b70;color:#fff;font-weight:650;box-shadow:0 3px 8px #00494e25;border-color:#006b70}
.primary:hover{background:#004e55}.outline{color:#17324f;background:#fff;border-color:#889fb9;font-weight:600}.outline:hover{background:#dbe8f5;border-color:#375a7f}
.text-button,.back-link,.image-edit,.utility-links button{color:#005d66;font-weight:650}
button:focus-visible,a:focus-visible{outline:3px solid #007c83;outline-offset:3px}
.app-sidebar{background:linear-gradient(170deg,#11243e,#071322)}
.sidebar-brand small,.sidebar-caption,.sidebar-note p,.sidebar-account small,.sidebar-account button{color:#b7c9df}
.sidebar-caption{font-size:10px;font-weight:600}.sidebar-note{border-color:#52718f;background:#1d3550}.sidebar-note b{color:#f1f5f9;font-weight:650}.sidebar-note p{font-size:11px}
.module-link{color:#d7e4f3;font-size:12px}.module-link svg{color:#a6c4e0}.module-link small{color:#d4e0ee;background:#314862}
.module-link.active{background:#007580;border:1px solid #49aeb6;box-shadow:0 3px 12px #0003}.module-link.active svg{color:#fff}.module-link.active small{color:#fff;background:#ffffff25}
.sidebar-account{border-color:#4a637e}.sidebar-account b{font-weight:650;font-size:11px}
.app-topbar{border-bottom-color:#aabbd0}.topbar-mark,.app-topbar b,.live-connection{color:#334b66;font-weight:600}.topbar-slash,.live-connection small{color:#7189a4}
.live-connection>span{background:#007663;width:7px;height:7px}
.screen-heading h1,.page-heading h1,.order-heading h1{color:#112942;font-weight:750}.screen-heading h1 em,h1 em{color:#00666c;font-weight:700}
.eyebrow{color:#36566f;font-size:10px;font-weight:700}.screen-heading p{color:#43566e;font-size:12px}
.card,.order-card,.stat-box,.order-summary-strip{border-color:#a7b8cc;box-shadow:0 3px 10px #233e5c0d}
.card h2,.panel-heading h2,.list-toolbar h2{color:#163551;font-weight:700}
.stat-box>div>span,.list-toolbar p,.order-card p,.order-card-numbers span,.order-card-foot,.order-summary-strip span,.panel-heading p,.sheet-note,.subtle,.section-description,.image-meta,.image-item label,.print-card p,.storage-note,.draft-status,.handoff-help{color:#475d73}
.stat-box>div>span{font-size:11px;font-weight:600}.stat-box strong{color:#122d4a;font-weight:750}
.stat-icon,.order-folder{background:#d7edf1;border-color:#7aa5b2;color:#005f69}.stat-box:nth-child(2) .stat-icon{background:#e0e7ff;border-color:#94a3d5;color:#344d9c}.stat-box:nth-child(3) .stat-icon{background:#d8efe5;border-color:#8ebba7;color:#14654f}
.count-badge{color:#173d62;background:#d4e1ef;font-weight:700}
.order-card{border-top:4px solid #1c5273}.order-card:hover{border-color:#007582;box-shadow:0 8px 22px #173c6424}
.order-card h3{font-weight:750;color:#12314f}.order-card-status{background:#d7f0e8;color:#126046;font-size:10px;font-weight:650;border:1px solid #8fbcac}
.order-card-numbers{border-color:#bdccdc}.order-card-numbers>div:last-child{border-color:#bdccdc}.order-card-numbers b{color:#153a59;font-weight:750}.order-card-foot b{color:#005e68;font-weight:700}
.list-toolbar input,.order-dialog input,.order-dialog textarea,.order-form-grid select,.secondary-fields input,.notes-card textarea,.entry-table input,.entry-table select,.material-group .catalog-tools input,.handoff-body input{color:#172c43;border-color:#8fa5bd;background:#fff}
input::placeholder,textarea::placeholder{color:#62758b;opacity:1}.prominent-fields input::placeholder{color:#62758b}
input:focus,textarea:focus,select:focus{border-color:#007580;box-shadow:0 0 0 3px #007c8324}
.prominent-fields input{background:#edf4fb;border-color:#8fa8c2;color:#163754;font-weight:700}
.prominent-fields label,.secondary-fields label,.order-dialog label,.handoff-body label{color:#314b66;font-weight:650}
.order-dialog .optional,.optional{color:#53677f}.required{color:#a51e31}
.step{color:#fff;background:#244c70;border-color:#244c70;font-weight:700}.section-description{font-size:11px}.subtle{font-weight:500}
.order-summary-strip span{font-weight:600;font-size:10px}.order-summary-strip strong{color:#173d5d;font-weight:750}.order-summary-strip>div{border-color:#beccdc}
.order-notes{background:#dce7f2;border-color:#99afc7;color:#324b65}.editor-context>span{color:#475c74}.editor-context b{color:#174d6c}
.order-tabs{border-color:#98adc5}.order-tabs button{color:#425c76;font-weight:650}.order-tabs button.active{color:#005f6b}.order-tabs button.active::after{height:3px;background:#006b70}.order-tabs button span{color:#194a66;background:#cedfe9;font-weight:700}
.combined-info{color:#34516b;background:#dcecf5;border-color:#98b6ce;font-size:11px}.combined-info b{color:#123a58;font-weight:750}
.material-group{border-color:#b4c4d5}.group-heading h3{color:#173955;font-weight:700}.group-heading h3>span{background:#d8e7f2;color:#215879}.group-heading h3>small{background:#d8e7f2;color:#315776}
.quantity-strip{background:#d3eeeb;border-color:#6da8a5}.quantity-strip>div,.quantity-strip small{color:#285b5d}.quantity-strip strong{color:#00565d;font-weight:750}
.formula-pill{color:#274e6b;background:#e1ebf4;border-color:#a4b9cc;font-weight:650}
.overview-card{background:linear-gradient(145deg,#163b5a,#0c213a);border-color:#173a58}.overview-label,.overview-number small,.overview-line,.section-totals>div,.section-totals span:last-child,.calc-note{color:#c5daed}.overview-line b{color:#fff;font-weight:700}.mini-divider{background:#a8c3da66}
.upload-area{background:#eaf2f9;border-color:#6f94b0}.upload-area:hover{background:#d9eaf4;border-color:#006b70}.upload-icon,.upload-area b,.upload-area>span:not(.upload-icon),.upload-area small{color:#315c79}.upload-area b{font-weight:700}.image-item{border-color:#9bb2c9}.a4-badge{border-color:#94aac0;color:#3f5e78}.workspace-footer{color:#4b6179;border-color:#a9bdd1}.workspace-footer span span{color:#607991}
.info-banner{border-color:#c3a25d;background:#fff3d5;color:#6b480c}.info-banner p{color:#79571e}.draft-banner{background:#dceff7;border-color:#80abc0;color:#214e67}.draft-banner p{color:#315d75}
.pending-tag{color:#825307;font-weight:650}.editor-save-note{background:#fff1cf;border-color:#c9a55d;color:#745014}
.auth-page{background:linear-gradient(125deg,#d3e1ee,#eef3f8)}.auth-shell{border-color:#8ca7c1;box-shadow:0 14px 50px #18385824}.auth-shell>p,.auth-note,.setup-steps{color:#3f5871}.auth-brand,.auth-links a{color:#005c67}.access-badge{color:#1f5666;background:#d9edf2}.auth-success{color:#135e4b;background:#d6efe4}
.handoff-body>p:first-child{color:#2b4c67}.preview-dialog{background:#dce5ef}.print-help{color:#3e526c}
@media screen{
 .entry-table th,.order-cards-table th,.combined-table th{background:#1b3b5c;color:#fff;font-size:10px;font-weight:700;border-color:#1b3b5c}
 .entry-table td,.order-cards-table td,.combined-table td{border-color:#b8c8d9;color:#334b63}
 .order-cards-table tbody tr:nth-child(even),.combined-table tbody tr:nth-child(even){background:#edf3f9}
 .open-card-button{color:#074d70;font-weight:700}.order-cards-table small,.combined-table td:nth-child(2) small,.combined-table td:first-child{color:#4b627b}
 .combined-table td:nth-child(2) b{color:#183b58;font-weight:700}.combined-table td:nth-child(6){color:#005f65;font-weight:750}.entry-table .row-total{background:#d6eeeb;color:#005c62;font-weight:750}
 .matrix-scroll{border-color:#849db6}.colour-matrix thead{background:#183b5b;color:#fff}.colour-matrix th,.colour-matrix td{border-color:#b5c7d8}
 .colour-matrix thead .matrix-size-heading input{color:#fff;font-weight:700}.colour-matrix thead .matrix-size-heading input::placeholder{color:#e2edf6}.colour-matrix thead .icon-btn{color:#c8dae9}
 .colour-matrix input{color:#112f48;border-color:#8ba4bd;font-size:12px;background:#fff}.colour-matrix .matrix-size-heading input{background:transparent;font-size:10px}
 .colour-matrix tbody tr:nth-child(even){background:#edf3f9}.colour-matrix tbody .icon-btn{color:#4e6680}.colour-matrix .matrix-row-total{color:#005c65;background:#e0f1ee;font-weight:750}
 .colour-matrix tfoot{background:#145b64;color:#fff}.colour-matrix tfoot td,.colour-matrix tfoot th{border-color:#3d7880;font-weight:700}
}
/* Keep exported A4 pages clear while using lighter fills to save ink. */
.paper{color:#172e44}.paper-identifiers span,.paper-meta span,.paper-size span,.paper-summary-grid>div,.paper-footer{color:#435c73}.paper-identifiers b,.paper-brand,.paper-summary-grid b{color:#143a58}
.print-table th{color:#1e405e;background:#e1eaf3;border-color:#8fa6bd}.print-table td{border-color:#9aafc4}.print-combined td small{color:#496277}.paper-header{border-bottom-color:#155a68}.paper-total{color:#124b58;background:#e0efed}.print-group h3{color:#173e5b}.print-size-totals{background:#e0efed;color:#173f4a}
.page-heading p{color:#43566e}
@media screen{.colour-matrix thead th{background:#183b5b;color:#fff}.colour-matrix tfoot th,.colour-matrix tfoot td{background:#145b64;color:#fff}}
