:root{font-family:var(--font-ui);color:#15202e;background:#eef1f4;--blue:#0869f9;--navy:#182632;--line:#e8ebef;--muted:#737c8b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{border:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #65a1ff;outline-offset:3px}h1,h2,h3,p{margin:0}button,input,textarea,select{border-radius:9px}h1{font-size:22px}h2{font-size:17px}.app-shell{max-width:1800px;margin:auto;min-height:100vh;display:grid;grid-template-columns:220px minmax(0,1fr)}.desktop-nav{background:var(--navy);color:white;padding:35px 24px;position:sticky;top:0;height:100vh}.brand-mark{width:52px;height:52px;border:1px solid #798b9d;border-radius:15px;font:35px var(--font-ui);display:grid;place-items:center;margin-bottom:20px}.desktop-nav>strong{letter-spacing:2px}.desktop-nav>p{font-size:11px;color:#aab8c7;margin:8px 0 35px}.desktop-nav button{display:flex;align-items:center;gap:15px;width:100%;padding:15px;text-align:left;background:transparent;color:#bac7d5;margin-bottom:8px;font-size:17px}.desktop-nav button span{font-size:13px}.desktop-nav button.selected{background:#ffffff15;color:white}.desktop-nav>small{display:block;margin-top:45px;line-height:1.8;color:#94a3b4}.app-content{min-width:0;background:#fafbfd}.topbar{padding:22px 32px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line)}.title-group,.top-actions{display:flex;align-items:center;gap:12px}.title-group h1{font-size:20px}.title-group p{font-size:12px;color:var(--muted);margin-top:4px}.icon-button{background:transparent;color:var(--navy);font-size:24px;width:36px;height:36px;position:relative}.avatar{width:36px;height:36px;background:#edf1f6;border-radius:50%;display:grid;place-items:center;font-size:12px}.count{position:absolute;top:0;right:0;background:#f26066;color:white;font-size:9px;border-radius:10px;padding:2px 4px}.demo-banner{background:#fff5d8;color:#786126;font-size:10px;letter-spacing:.3px;text-align:center;padding:7px}.screen{padding:28px 32px;min-height:65vh}.welcome{padding:35px;border-radius:16px;background:linear-gradient(110deg,#17202a,#233d51);color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:190px}.welcome h1{font-size:28px;font-weight:400;line-height:1.4}.welcome h1 strong{font-size:31px}.welcome p{font-size:12px;color:#c4d1da;margin-top:10px}.eyebrow{font-size:9px;letter-spacing:2px;color:#b5d6ed}.hero-art{font-size:130px;color:#6195bb;text-shadow:20px 10px #324e67}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.kpis button{background:white;border:1px solid var(--line);text-align:left;padding:20px;box-shadow:0 3px 8px #273b5010}.kpis strong{display:block;font-size:26px}.kpis span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 8px}.text-button{background:transparent;color:#506680;font-size:12px;padding:5px 0}.helper{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0 15px}.job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.job-row{display:flex;gap:12px;background:white;border:1px solid var(--line);padding:14px;min-width:0;text-align:left;color:inherit;position:relative;align-items:flex-start;box-shadow:0 2px 6px #192c4004}.thumb{width:69px;height:83px;border-radius:9px;object-fit:cover;flex-shrink:0;background:#e9e3d6}.placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#eee4cd,#c8b790);color:#927449;font:35px var(--font-ui)}.row-main{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;padding-right:4px}.row-main strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.row-main>span{font-size:11px;color:#555f6d}.row-main small{font-size:9px;color:#7e8793;line-height:1.4}.row-main .customer{font-size:9px;margin-top:9px}.row-end{display:flex;flex-direction:column;align-items:flex-end;gap:12px;max-width:83px;flex-shrink:0}.row-end small{font-size:9px;text-align:right;color:#7a8493}.row-arrow{font-size:20px;color:#8791a0}.badge{font-size:9px;white-space:nowrap;border-radius:14px;padding:4px 7px;display:inline-block}.badge.red{background:#ffdadf;color:#b52b38}.badge.orange{background:#fff0d4;color:#a65a08}.badge.green{background:#dff3e6;color:#287346}.red-text{color:#d64350!important}.blue-text{color:var(--blue)}.search{position:relative;margin-bottom:15px}.search input{width:100%;border:1px solid var(--line);padding:13px 40px 13px 14px;background:white;font-size:13px}.search>span{position:absolute;right:14px;top:7px;font-size:27px}.chips{display:flex;gap:8px;overflow-x:auto;margin:0 0 18px;padding:3px 0 5px}.chip{padding:10px 14px;background:#f0f2f6;color:#5e6775;white-space:nowrap;font-size:11px;border-radius:22px}.chip.selected{background:var(--navy);color:white}.chip span{background:#ffffff25;padding:2px 5px;border-radius:10px;font-size:10px;margin-left:4px}.list-tools{display:flex;align-items:center;gap:15px;justify-content:flex-end;font-size:11px;color:var(--muted);margin-bottom:15px}.list-tools>span{margin-right:auto}.list-tools select{font-size:11px;padding:7px;border:1px solid var(--line);background:white}.primary{background:var(--navy);color:white;padding:13px 20px;font-size:12px;font-weight:600}.secondary{background:white;color:var(--navy);border:1px solid #dce2e9;padding:12px 17px;font-size:12px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;font-size:12px;margin-top:25px}.empty{padding:45px 22px;text-align:center;grid-column:1/-1;background:white;border:1px solid var(--line);border-radius:13px}.empty>span{display:block;font-size:32px;color:#8496aa;margin-bottom:15px}.empty p{font-size:12px;line-height:1.7;color:var(--muted);margin:12px auto 20px;max-width:370px}.detail-layout,.update-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;max-width:1100px;margin:auto}.detail-image{width:100%;height:360px;object-fit:cover;border-radius:14px}.detail-title{display:flex;justify-content:space-between;margin:12px 0;font-size:11px;color:#7b8594}.product-title{font-size:22px;line-height:1.4}.size-title{font-size:14px;margin-top:8px}.timeline{display:flex;padding:0;margin:30px 0;list-style:none}.timeline li{flex:1;position:relative;text-align:center}.timeline li:before{content:'';position:absolute;height:3px;background:#d7dce2;top:11px;left:0;width:100%}.timeline li.done:before{background:#188957}.timeline li.now:before{background:var(--blue)}.timeline li>span{display:grid;place-items:center;position:relative;background:#c7ced8;color:white;border:3px solid #fafbfd;border-radius:50%;width:25px;height:25px;margin:auto;font-size:10px}.timeline li.done>span{background:#11985b}.timeline li.now>span{background:var(--blue)}.timeline small{font-size:9px;display:block;margin-top:7px}.customer-box{display:flex;gap:14px;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:17px}.customer-icon{font-size:25px}.customer-box small,.customer-box strong{display:block}.customer-box small{font-size:10px;color:var(--muted);margin-bottom:6px}.customer-box strong{font-size:13px}.detail-fields{margin:0}.detail-fields>div{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5}.detail-fields dt{color:var(--muted);flex-shrink:0}.detail-fields dd{text-align:right;margin:0;overflow-wrap:anywhere}.detail-actions,.stage-actions{display:flex;gap:10px;margin:20px 0}.detail-actions button,.stage-actions button{flex:1}.history{margin-top:25px}.history h2{font-size:15px;margin-bottom:10px}.history>div{background:white;border:1px solid var(--line);padding:12px;border-radius:8px;margin-top:7px;font-size:12px;line-height:1.6}.history small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:20px}.gallery img{width:100%;height:260px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:10px}.update-summary{display:flex;gap:15px;align-items:center}.update-summary .thumb{width:100px;height:110px}.update-summary small{font-size:11px;color:var(--muted)}.update-summary h2{margin:7px 0;font-size:16px}.update-summary p{font-size:12px;margin-bottom:8px}.stage{display:flex;gap:14px;align-items:center;padding:17px;border:1px solid var(--line);background:white;border-radius:12px;margin:12px 0}.stage.current{border-color:#8ab6f7;background:#f1f7ff}.stage-number{width:28px;height:28px;display:grid;place-items:center;background:#e9edf2;border-radius:50%;font-size:12px;flex-shrink:0}.stage.current .stage-number{background:var(--blue);color:white}.stage strong{font-size:13px}.stage p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.5}.progress-form{padding:20px;background:white;border:1px solid var(--line);border-radius:13px}.progress-form h2{margin-bottom:20px}.progress-form label{display:block;font-size:12px;color:#5e6b7a;margin:18px 0}.progress-form input:not([type=checkbox]),.progress-form textarea{width:100%;display:block;border:1px solid var(--line);padding:12px;margin-top:9px;background:#fafbfd;color:#243447}.progress-form .check-field{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:8px;color:var(--navy)}.check-field input{accent-color:var(--blue);width:18px;height:18px}.save-progress{width:100%;background:#098557}.read-field{display:flex;justify-content:space-between;font-size:12px}.read-field span{color:var(--muted)}.alert-row{display:flex;gap:15px;width:100%;align-items:center;text-align:left;border-bottom:1px solid var(--line);background:white;padding:18px}.alert-row strong,.notification-card strong{font-size:12px}.alert-row small{display:block;font-size:11px;color:#697788;margin-top:8px}.alert-icon{width:37px;height:37px;border-radius:50%;color:white;display:grid;place-items:center;font-size:20px;flex-shrink:0}.red-bg{background:#f45f6a}.orange-bg{background:#f3a12a}.blue-bg{background:var(--blue)}.alerts-list{max-width:800px;margin:auto}.notification-card{display:flex;gap:14px;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:15px;margin:12px 0}.notification-card p{font-size:12px;color:#6a7585;line-height:1.5;margin:6px 0}.notification-actions{display:flex;gap:20px}.account-card{display:flex;gap:17px;align-items:center;margin-bottom:25px}.account-card .avatar{width:60px;height:60px;font-size:20px}.account-card p{font-size:12px;color:var(--muted);margin-top:7px}.menu-list{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.menu-list button{width:100%;text-align:left;padding:20px;border-radius:0;background:white;border-bottom:1px solid var(--line);font-size:14px}.menu-list button span{float:right}.menu-list small{font-size:10px;color:var(--muted);margin-left:10px}.info-card{padding:20px;background:#f0f5fc;border-radius:12px;margin-top:30px}.info-card p{font-size:12px;color:#63758a;line-height:1.8;margin-top:10px}.notice{padding:13px 16px;font-size:12px;line-height:1.6;background:#fff4dc;color:#826637;border-radius:8px;margin:15px 0}.notice.error{background:#ffeaed;color:#a03041}.notice.subtle{background:#eef4fc;color:#62768f}.sync-status{text-align:center;color:#929eac;font-size:10px;padding:10px 20px 20px}.bottom-nav{display:none}.initial-state{max-width:450px;margin:15vh auto;padding:25px;text-align:center}.initial-state .brand-mark{margin:0 auto 25px}.initial-state p{line-height:1.8;color:var(--muted);margin:25px 0}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:440px;width:calc(100% - 32px)}dialog::backdrop{background:#14213088}dialog h2{margin:12px 0}dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:10px;padding:13px 18px;font-size:12px;max-width:calc(100% - 30px);z-index:20;box-shadow:0 6px 25px #0003}#toast:empty{display:none}.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}
@media(max-width:1200px){.app-shell{grid-template-columns:175px minmax(0,1fr)}.desktop-nav{padding:30px 16px}.screen{padding:22px}.job-row{flex-wrap:wrap}.row-end{width:100%;max-width:none;flex-direction:row;justify-content:space-between;align-items:center}.row-arrow{display:none}.thumb{width:62px;height:75px}.detail-layout,.update-layout{gap:22px}}
@media(max-width:700px){body{background:#fafbfd}.app-shell{display:block;padding-bottom:75px}.desktop-nav{display:none}.topbar{padding:15px 16px;min-height:69px}.title-group{gap:7px}.title-group h1{font-size:17px}.title-group p{font-size:10px}.top-actions{gap:3px}.top-actions .avatar{width:30px;height:30px;font-size:10px}.icon-button{font-size:23px;width:31px}.screen{padding:16px}.demo-banner{font-size:9px;padding:6px 12px}.home{padding-top:0}.home .welcome{margin:0 -16px;border-radius:0;padding:26px 22px 40px;min-height:176px}.welcome h1{font-size:20px}.welcome h1 strong{font-size:24px}.welcome p{font-size:10px}.hero-art{font-size:100px}.kpis{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:-20px;position:relative}.kpis button{padding:15px 18px;border-radius:12px}.kpis strong{font-size:23px}.kpis span{font-size:11px}.section-heading{margin-top:23px}.job-grid{grid-template-columns:1fr;gap:9px}.job-row{flex-wrap:nowrap;padding:11px;gap:10px;border-radius:11px}.thumb{width:64px;height:77px}.row-main strong{font-size:11px}.row-main>span{font-size:10px}.row-main small{font-size:9px}.row-main .customer{font-size:9px;margin-top:6px}.row-end{flex-direction:column;width:auto;max-width:70px;gap:17px;align-items:flex-end}.badge{font-size:9px;padding:4px 6px}.row-end small{font-size:9px}.row-arrow{display:none}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:9px 6px max(10px,env(safe-area-inset-bottom));z-index:10;box-shadow:0 -2px 10px #15202e03}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;color:#8a909c}.bottom-nav button>span{font-size:21px;line-height:24px}.bottom-nav small{font-size:9px}.bottom-nav button.selected{color:var(--blue)}.chips{gap:6px;margin-bottom:14px}.chip{padding:9px 12px;font-size:10px}.chip span{font-size:9px}.search input{font-size:12px}.list-tools{gap:10px}.detail-layout,.update-layout{display:block}.detail-image{height:255px;border-radius:11px;object-fit:cover}.product-title{font-size:18px}.size-title{font-size:13px}.timeline{margin:24px 0}.detail-fields>div{font-size:11px;padding:14px 0}.detail-actions{position:relative;margin:20px 0}.detail-actions button{padding:13px 9px;font-size:11px}.detail-title{font-size:10px}.customer-box{padding:14px}.progress-form{padding:15px;margin-top:24px}.stage{padding:15px}.stage-actions button{padding:13px 10px;font-size:11px}.gallery{grid-template-columns:repeat(2,1fr);gap:10px}.gallery img{height:200px}.update-summary .thumb{width:90px;height:100px}.update-summary h2{font-size:14px}.notification-card .thumb{width:58px;height:67px}.notification-card strong{font-size:10px}.alert-row{padding:17px 8px}.notice{font-size:11px}.helper{font-size:10px}.topbar .title-group>.icon-button{margin-left:-5px}}

.hero-art{width:160px;height:150px;flex:0 0 38%;overflow:hidden;border-radius:16px;font-size:0}.hero-art img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:600px){.hero-art{height:145px;width:130px;flex-basis:40%}}

.device-settings button{margin:4px 8px 4px 0}.device-settings p{line-height:1.6}.device-heading{display:flex;align-items:center;gap:12px}.device-heading img{height:44px;width:44px;object-fit:contain}.device-heading h2{flex:1;font-size:20px}.device-heading button{flex:0 0 auto}.device-heading+.device-settings{box-shadow:none;border:0;padding:10px 0}.device-settings .helper{font-size:12px}#device-setup{width:min(460px,calc(100% - 28px));max-height:85dvh;padding:22px;border:1px solid var(--line);border-radius:18px;overflow:auto}#device-setup::backdrop{background:#12202b80}.sync-diagnostics{overflow-wrap:anywhere}.sync-diagnostics dt{font-weight:600;margin-top:12px}.sync-diagnostics dd{margin:4px 0;font-size:13px}

/* New Development stays inside existing cards and category controls. */
/* Keep job identity readable before its photo at every viewport width. */
.development-product-detail{min-width:0}
.development-product-detail>.detail-image{margin-top:18px}
.development-product-detail>img.detail-image{display:block}
.development-product-detail .product-title,.development-product-detail .size-title,.development-product-detail .customer-box strong{overflow-wrap:anywhere}
.development-product-detail>.customer-box>div{min-width:0}
.row-main .order-image-note,.notification-main .order-image-note,.sales-line .order-image-note,.sales-production-job .order-image-note,.development-product-detail>.order-image-note{display:block;overflow-wrap:anywhere;font-size:11px;line-height:1.5;color:#826637;margin-top:6px}
.order-image-note.order-image-review{color:#9b293d;font-weight:600}
.job-row.development-card,.sales-line.development-card,.sales-production-job.development-card,.sales-product-summary.development-card{border-color:#d68b8b;background:#fff6f6}
.development-label{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;margin:5px 0;line-height:1.4}
.development-label>strong,.row-main .development-label>strong{font-size:12px;font-weight:800;color:#a71919;letter-spacing:.045em}
.development-label>span{font-size:10px;color:#8a2828}
.development-review,.row-main .development-review{display:block;font-size:10px;color:#705622;line-height:1.4}
.development-list-tools{flex-wrap:wrap}
.development-filter{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}
.development-filter select{max-width:100%;padding:7px;border:1px solid var(--line);background:#fff;font-size:11px}
.sales-product-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 12px}
.sales-product-tools .sales-section-heading{margin:0}
.row-main .sales-product-summaries{display:flex;flex-direction:column;gap:7px}
.sales-product-summary{display:flex;flex-direction:column;gap:3px;padding:7px;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}
.sales-product-summary>span:first-child{font-size:11px;line-height:1.4}
.development-product-detail.development-card{border:1px solid #d68b8b;border-radius:14px;padding:12px;background:#fff6f6}
@media(max-width:700px){.development-list-tools>span{flex:1 0 100%}.development-list-tools{justify-content:flex-start;gap:8px 12px}.development-list-tools>button:last-child{margin-left:auto}.sales-product-tools{align-items:flex-start}.development-label>strong,.row-main .development-label>strong{font-size:11px}.development-label>span{font-size:9px}}

/* Signed-in identity stays readable without truncating long names or email. */
.account-identity-card{align-items:flex-start;padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px;gap:18px;max-width:800px}
.account-identity-card .avatar{flex:0 0 60px;min-width:0}.account-identity{flex:1;min-width:0}.account-identity h2{font-size:18px;line-height:1.4;margin:0 0 16px}
.account-identity-fields{margin:0;display:grid;gap:13px}.account-identity-fields>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:baseline}
.account-identity-fields dt{font-size:12px;color:var(--muted);line-height:1.6}.account-identity-fields dd{margin:0;font-size:14px;line-height:1.6;min-width:0;overflow-wrap:anywhere;word-break:normal}.account-identity-fields [data-account-name]{font-size:17px;font-weight:600}.account-identity-fields [data-account-role]{font-size:13px;color:var(--muted)}.account-identity-status{overflow-wrap:anywhere;line-height:1.7}
@media(max-width:480px){.account-identity-card{padding:17px;gap:12px}.account-identity-card .avatar{width:42px;height:42px;flex-basis:42px;font-size:17px}.account-identity h2{font-size:16px;margin-bottom:13px}.account-identity-fields>div{display:block}.account-identity-fields dt{font-size:11px;margin-bottom:2px}.account-identity-fields dd{font-size:13px}.account-identity-fields [data-account-name]{font-size:16px}}

.session-check-unavailable{max-width:640px;margin:0 auto;min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:28px;text-align:center}.session-check-unavailable p{line-height:1.7;max-width:520px}.session-check-unavailable button{min-height:44px}

/* New Development Clay approval stays distinct from generic stage controls. */
.clay-stage-label{display:block;color:#8b4d2c;font-size:11px;font-weight:700;line-height:1.5}.clay-panel{border:1px solid #e6c9b7;background:#fff7ef;border-radius:10px;padding:14px;margin:14px 0}.clay-panel .primary{margin-top:8px}.clay-pending{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.clay-pending .secondary{flex-shrink:0}.row-main .clay-alert-product{font-weight:600;color:#8b4d2c}.sales-production-job .clay-panel{margin-top:10px}

/* Invoice identifiers stay readable without changing card widths. */
.order-invoice{overflow-wrap:anywhere}

/* Hide retained private modal presentation without closing its command controller. */
html[data-private-view-blocked] dialog:not(#private-view-gate){display:none!important}
#private-view-gate{max-width:420px}
#private-view-gate[open]{display:block}

/* Only a cross-tab identity-change signal uses this temporary privacy mask.
   Ordinary navigation, hiding and background refresh never set this attribute. */
html[data-account-check-pending] #app,html[data-account-check-pending] dialog:not(#private-presentation-status),html[data-account-check-pending] #toast{visibility:hidden!important;pointer-events:none!important}
.account-change-status{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#f4f2ee;color:#252525;font:500 16px var(--font-ui);padding:24px;text-align:center}
.account-change-status[hidden]{display:none}

/* A prolonged actual failed-read outage can mask presentation without discarding drafts. */
html[data-private-outage-masked] #app,html[data-private-outage-masked] dialog:not(#private-presentation-status),html[data-private-outage-masked] #toast{visibility:hidden!important;pointer-events:none!important}

/* Public retry stays usable above a preserved native editor/confirmation modal. */
#private-presentation-status{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;border:0;padding:0;background:#f4f2ee}
#private-presentation-status:not([open]){display:none}
#private-presentation-status[open]{display:block}
#private-presentation-status::backdrop{background:#f4f2ee}
#private-outage-navigation{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:20px}
#private-outage-navigation[hidden]{display:none}
#private-presentation-status .account-change-status{align-content:center;gap:20px;padding-bottom:100px}
#private-status-sign-out{position:fixed;z-index:2147483647;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%)}

/* Product/variant queue and Admin salesperson filtering. */
.production-list-tools{flex-wrap:wrap}
.production-queue{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:9px 10px;border:1px solid #d5e3ef;border-radius:8px;background:#f0f6fb;color:#34516b;text-align:left;overflow-wrap:anywhere}
.production-queue>strong,.row-main .production-queue>strong{font-size:12px;line-height:1.4;font-weight:650;color:#244764}
.production-queue>span,.row-main .production-queue>span{font-size:11px;line-height:1.5;color:#496780}
.salesperson-filter{display:flex;align-items:center;gap:6px;max-width:100%}
.salesperson-filter select{max-width:100%;min-width:135px}
@media(max-width:700px){.production-list-tools{justify-content:flex-start;gap:8px 12px}.production-list-tools>span{flex:1 0 100%}.production-list-tools>button:last-child{margin-left:auto}.production-queue{padding:7px 8px}.production-queue>strong,.row-main .production-queue>strong{font-size:11px}.production-queue>span,.row-main .production-queue>span{font-size:10px}}

.priority-intro{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;padding:14px 16px;border:1px solid #eed6ab;border-radius:10px;background:#fff8eb;color:#795523}.priority-intro>strong{font-size:15px}.priority-intro>span{font-size:12px;line-height:1.5}.priority-date-note{margin-top:16px}

/* Stage remains visible beside the independent date/lifecycle badge. */
.job-status-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;max-width:100%}
.job-status-badges .badge{position:static;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.row-end .job-status-badges{flex:0 1 auto}
.detail-title .job-status-badges{margin-left:auto}
@media(max-width:700px){.job-status-badges{gap:5px}.job-status-badges .badge{font-size:10px}}

.stock-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:16px 0}.stock-filters label{display:grid;gap:6px;font-size:13px}.stock-filters select{width:100%;min-width:0;padding:10px;border:1px solid var(--line,#d8dedb);border-radius:10px;background:#fff;color:#172c30}.stock-filters button{min-height:42px}@media(max-width:700px){.stock-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-filters button{grid-column:1/-1}}

/* Catalog unit price includes the owner-specified 18% GST. */
.stock-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:10px 0;color:var(--text,#1c2935)}.stock-price strong{font-size:15px}.stock-price small{font-size:10px;color:#64748b}.stock-price-unknown{font-size:11px;color:#64748b}.stock-variant-body .stock-price{margin:12px 0}

/* Workflow.6: visible missing-date reminders and a compact, paginated inbox. */
.job-grid .job-row.deadline-missing,.detail-layout .development-product-detail.deadline-missing,.sales-production-jobs .sales-production-job.deadline-missing,.alerts-hub .job-alert-card.deadline-missing{background:#fff9df;border:1px solid #e1ba4c;box-shadow:inset 4px 0 #d5a327}
.detail-layout .development-product-detail.deadline-missing{border-radius:14px;padding:14px}
.deadline-needed{display:block!important;width:fit-content;margin:7px 0 4px;padding:4px 8px;border:1px solid #e7cf84;border-radius:6px;background:#fff0b4;color:#73520b!important;font-size:10px!important;font-weight:700;line-height:1.5}
.priority-date-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:12px 16px;border:1px solid #ead9a9;border-radius:10px;background:#fffbeb;margin-top:18px}
.priority-date-note p{margin:0}.deadline-filter select{max-width:155px}
.alerts-hub{max-width:920px;margin:0 auto}.alerts-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 20px}.alerts-heading .eyebrow{font-size:10px;color:#6b7683;letter-spacing:.12em}.alerts-heading h2{font-size:24px;line-height:1.3;margin:7px 0;color:#24313b}.alerts-heading p:not(.eyebrow){font-size:12px;line-height:1.7;color:#687581;margin:0}.alerts-role{flex-shrink:0;padding:7px 10px;border:1px solid #dfe5e8;border-radius:20px;background:white;color:#54636d;font-size:10px;font-weight:600}
.alerts-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.alerts-summary>div{border:1px solid #e0e5e9;background:#fff;border-radius:12px;padding:16px 18px}.alerts-summary span{display:block;font-size:11px;color:#6d7883;line-height:1.5}.alerts-summary strong{display:block;font-size:26px;font-weight:650;line-height:1.3;margin-top:6px;color:#293740}.alerts-summary .alerts-attention-summary{background:#fff8ed;border-color:#f0dbba}.alerts-attention-summary strong{color:#9c6018}
.alerts-tools{display:flex;flex-direction:column;gap:14px}.alerts-filters{display:flex;gap:7px;flex-wrap:wrap}.alert-filter{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;background:#fff;border:1px solid #dce3e7;border-radius:8px;color:#576774;font-size:11px;min-height:38px}.alert-filter span{min-width:18px;text-align:center;font-size:10px;border-radius:5px;background:#eef1f4;padding:2px 4px}.alert-filter.selected{color:#fff;background:#273c40;border-color:#273c40}.alert-filter.selected span{background:#ffffff26;color:white}.alert-filter:focus-visible,.alerts-pagination button:focus-visible{outline:3px solid #7eabd4;outline-offset:3px}.alerts-search{margin:0}.alerts-search input{padding:13px 15px;background:white;border-radius:10px;font-size:12px}
.alerts-hub .alert-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 5px}.alerts-hub .alert-toolbar .helper{margin:0}.alerts-hub .alert-toolbar .text-button{font-size:11px}.alerts-hub .alerts-list{max-width:none}.alerts-hub .job-alert-card,.alerts-hub .sales-order-row{width:100%;border-radius:12px;margin:10px 0;padding:16px;border:1px solid #e2e7eb;box-shadow:0 2px 5px #24344703;transition:border-color .15s,box-shadow .15s}.alerts-hub .job-alert-card:hover,.alerts-hub .sales-order-row:hover{border-color:#a0b4c0;box-shadow:0 3px 10px #2434470a}.alerts-hub .job-alert-card.alert-unread,.alerts-hub .sales-order-row.alert-unread{background:#f3f8fc;border-color:#b8d0e4;box-shadow:inset 3px 0 #558aaf}.alerts-hub .job-alert-card.alert-attention{border-color:#ebd0a1}.alerts-hub .job-alert-card.deadline-missing{background:#fff9df;border-color:#e1ba4c;box-shadow:inset 4px 0 #d5a327}.alerts-hub .thumb{width:76px;height:86px;flex-shrink:0;border-radius:8px;object-fit:contain;background:#fafafa}.alerts-hub .notification-main strong{display:block;font-size:12px}.alert-type{display:block;color:#677d8d;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px}.alert-attention .alert-type{color:#9b601c}.alerts-hub .alert-unread-dot{width:7px;height:7px;margin:0 2px}.alerts-hub .notification-main p{margin:5px 0;font-size:12px}.alerts-hub .notification-main small{font-size:10px;line-height:1.6}.alerts-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e1e6eb;margin-top:18px;padding:16px 0}.alerts-pagination>div{display:flex;align-items:center;gap:12px}.alerts-range,.alerts-pagination>div>span{font-size:11px;color:#6b7784}.alerts-pagination button{font-size:11px;padding:9px 12px}.alerts-policy-note{font-size:10px;line-height:1.7;color:#7d8892;margin-top:0}
@media(max-width:700px){.alerts-heading{gap:10px;margin-bottom:16px}.alerts-heading h2{font-size:21px}.alerts-heading p:not(.eyebrow){font-size:11px}.alerts-role{font-size:9px;padding:6px 8px;max-width:105px;text-align:center}.alerts-summary{gap:7px;margin-bottom:17px}.alerts-summary>div{padding:12px 10px;border-radius:9px}.alerts-summary span{font-size:9px}.alerts-summary strong{font-size:22px}.alerts-filters{gap:6px}.alert-filter{padding:8px 9px;font-size:10px;gap:5px}.alert-filter span{font-size:9px}.alerts-hub .job-alert-card,.alerts-hub .sales-order-row{padding:12px 10px;gap:10px}.alerts-hub .thumb{width:58px;height:72px}.alerts-hub .notification-main p{font-size:11px}.alerts-hub .notification-main strong{font-size:11px}.alerts-hub .notification-main small{font-size:9px}.alerts-pagination{flex-wrap:wrap;gap:10px}.alerts-pagination>div{margin-left:auto;gap:9px}.alerts-pagination button{font-size:10px;padding:9px 10px}.alerts-range,.alerts-pagination>div>span{font-size:10px}.priority-date-note{padding:10px 12px}.deadline-needed{font-size:9px!important}}
