:root{font-family:system-ui,sans-serif;color:#252a2e;background:#f2f3f4;color-scheme:light dark}*{box-sizing:border-box}body{margin:0}header{padding:24px 5%;display:flex;justify-content:space-between;gap:20px;background:#202225;color:white}header b{font-size:24px}header b span{font-size:12px;letter-spacing:2px}main{max-width:1000px;margin:48px auto;padding:0 24px}h1{font-size:clamp(30px,5vw,48px);letter-spacing:-1.5px;margin:16px 0}h2{font-size:22px}.eyebrow{font-size:12px;letter-spacing:2px;color:#667580}label{display:block;font-weight:600;margin:18px 0 8px}input,button{font:inherit;border-radius:9px;padding:13px;border:1px solid #c6ccd1}input{width:100%;background:white;color:#252a2e}button{background:#59636d;color:white;cursor:pointer;min-height:44px;margin:8px 8px 8px 0}button:focus-visible,input:focus-visible{outline:3px solid #778899;outline-offset:3px}form{max-width:440px}.card,article{background:white;border:1px solid #d2d6da;border-radius:14px;padding:24px;margin:16px 0}article{display:flex;justify-content:space-between;align-items:center;gap:20px}article p{margin:8px 0;color:#68747e}.muted,footer{color:#68747e;font-size:14px}footer{padding:24px;text-align:center}#status{color:#59636d;white-space:pre-wrap}#rows p{padding:12px 0;border-bottom:1px solid #d0d5d9;white-space:pre-wrap;overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:600px){header,article{align-items:flex-start;flex-direction:column}main{margin-top:28px;padding:0 16px}.card,article{padding:18px}nav{display:flex;flex-wrap:wrap}}@media(prefers-color-scheme:dark){:root{background:#101112;color:#e7e8ea}.card,article,input{background:#1d1f22;color:#e7e8ea;border-color:#3c4045}.muted,footer,article p,.eyebrow{color:#aeb5bd}#status{color:#c3ccd5}}

select{font:inherit;padding:12px;width:100%;border-radius:9px}summary{cursor:pointer;font-weight:700;min-height:44px}

.brandLogo{width:154px;height:auto;padding:0;background:transparent;border-radius:0}

select{background:#fff;color:#252a2e;border:1px solid #c6ccd1}button:hover{background:#697581}button:disabled{opacity:.55;cursor:wait}@media(prefers-color-scheme:dark){header{background:#161719;border-bottom:1px solid #35383d}button{background:#40464e;color:#f1f2f3;border-color:#626b75}button:hover{background:#535c66}select{background:#1d1f22;color:#e7e8ea;border-color:#3c4045}#rows p{border-color:#35383d}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#778899}}

@media(prefers-color-scheme:dark){.brandLogo{filter:brightness(1.8)}}

.archiveFolder{border:1px solid #c6ccd1;border-radius:14px;padding:18px;margin:16px 0}.archiveFolder>summary{font-size:20px}.archiveFolder .archiveFolder{margin-bottom:8px}.archiveFolder .archiveFolder>summary{font-size:16px}@media(prefers-color-scheme:dark){.archiveFolder{border-color:#3c4045}}

.archiveActions{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.archiveActions button{margin:0}.archiveQuoteNumber{font-weight:700!important;margin:0 0 8px!important}.archiveTrashToggle{display:block}@media(max-width:700px){.archiveActions{width:100%}.archiveActions button{flex:1}}

/* BRX compact interface */
:root{font-size:14px}header{padding:14px 4%;align-items:center;min-height:72px}.brandLogo{width:116px}header>span{font-size:11px;letter-spacing:.15em;text-transform:uppercase}main{max-width:1240px;margin:26px auto;padding:0 22px}h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;margin:8px 0 12px}h2{font-size:16px;margin:0 0 10px}.eyebrow{font-size:10px;letter-spacing:.22em;margin:0 0 7px}label{font-size:12px;margin:12px 0 5px}input,select,button{border-radius:5px;padding:9px 11px}button{font-size:12px;font-weight:600;min-height:36px;margin:5px 5px 5px 0;transition:background .15s,border-color .15s}.card{padding:16px;border-radius:8px;margin:12px 0}.muted,footer{font-size:12px;line-height:1.45}footer{padding:16px}summary{min-height:32px}.archiveFolder{border-radius:7px;padding:12px;margin:12px 0}.archiveFolder>summary{font-size:16px;letter-spacing:.05em}.archiveFolder .archiveFolder{padding:8px 10px;margin:10px 0;border-radius:5px;border-left:2px solid #778899}.archiveFolder .archiveFolder>summary{font-size:13px;letter-spacing:.04em}article{padding:10px 12px;border-radius:4px;margin:5px 0;gap:14px}article>div:first-child{min-width:0;flex:1}article strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}article p{font-size:11px;margin:5px 0 0}.archiveQuoteNumber{font-size:10px!important;letter-spacing:.1em;margin-bottom:5px!important}.archiveActions{gap:5px}.archiveActions button{padding:7px 11px;min-height:32px;font-size:11px}.archiveTrashToggle,.emptyTrashButton{display:inline-block;margin:4px 7px 9px 0}.emptyTrashButton{border-color:#9b7377}#search{margin-bottom:8px}#status:empty{display:none}#status{font-size:12px;border-left:2px solid #778899;padding-left:10px}
@media(prefers-color-scheme:dark){:root{background:#0b0e12;color:#e6e9ed}header{background:#101419;border-bottom:1px solid #303841;box-shadow:0 1px 18px #7788990a}.card{background:#13181e;border-color:#2b333d}.archiveFolder{background:#10151b;border-color:#2c3540}.archiveFolder .archiveFolder{background:transparent;border-color:#2c3540;border-left-color:#778899}article{background:#171e26;border-color:#2d3844}article:hover{border-color:#566779}button{background:#25303c;border-color:#455362;color:#e4e9ee}button:hover{background:#354455;border-color:#778899}input,select{background:#10161d;color:#e6e9ed;border-color:#35414e}.muted,footer,article p,.eyebrow{color:#99a8b7}.archiveQuoteNumber{color:#bdcbd8!important}}
@media(max-width:700px){main{padding:0 14px;margin-top:18px}header{padding:12px 14px;flex-direction:row;align-items:center}.brandLogo{width:98px}header>span{font-size:9px}article{align-items:stretch;flex-direction:column;gap:9px}.archiveActions button{min-height:44px}button,input,select{min-height:44px}.card{padding:13px}.archiveFolder{padding:10px}.archiveFolder .archiveFolder{padding:7px}.archiveActions{gap:6px}}

.archiveEditDialog{width:min(460px,calc(100vw - 28px));border:1px solid #778899;border-radius:7px;padding:22px}.archiveEditDialog::backdrop{background:#000a}.archiveEditDialog form{max-width:none}.archiveEditDialog h2{margin-bottom:16px}.archiveEditDialog label{margin-top:14px}.archiveEditDialog p{color:#b58288}@media(prefers-color-scheme:dark){.archiveEditDialog{background:#131a22;color:#e6e9ed}}

.customerDialog{width:min(1050px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #778899;border-radius:7px;padding:22px}.customerDialog::backdrop{background:#000b}.customerDialog form{max-width:none}.customerGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}.customerGrid label{margin:0}.customerGrid input,.customerGrid select,.customerGrid textarea{display:block;width:100%;margin-top:6px;font:inherit}.customerGrid textarea{min-height:85px;resize:vertical;border:1px solid #35414e;border-radius:5px;padding:9px}.customerWide{grid-column:1/-1}.customerDialog fieldset{margin:18px 0;padding:12px;border:1px solid #35414e;border-radius:5px}.customerDialog fieldset label{display:flex;align-items:center;gap:10px}.customerDialog input[type=checkbox]{width:16px;min-height:16px}.customerDialog h2{margin-bottom:20px}.customerDialog p[role=status]{color:#b58288}.customerRow{align-items:center}.customerFolderName{background:transparent!important;text-align:left;font-size:13px;flex:1;letter-spacing:.025em;border:0!important}.customerRow>span{min-width:85px}.customerFolderToolbar{display:flex;gap:8px;margin:10px 0}@media(prefers-color-scheme:dark){.customerDialog{background:#131a22;color:#e6e9ed}.customerGrid textarea{background:#10161d;color:#e6e9ed}}@media(max-width:700px){.customerGrid{grid-template-columns:1fr}.customerDialog{padding:16px}.customerRow{flex-direction:row}.customerRow>span{min-width:65px;font-size:10px}.customerFolderName{padding-left:0}}

.customerGrid textarea{min-height:58px}.customerDialog fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px;margin:12px 0}.customerDialog fieldset label{margin:0;font-size:11px;font-weight:400}.customerDialog fieldset p{grid-column:1/-1;margin:3px 0;font-size:11px}.customerDialog fieldset input{flex-shrink:0}@media(max-width:700px){.customerDialog fieldset{grid-template-columns:1fr}}

.archiveUtilities{display:flex;justify-content:center;gap:22px;border-top:1px solid #35414e;padding:18px 0 10px;margin-top:20px}.archiveUtility{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent!important;border:0!important;padding:8px 14px;min-width:98px;color:inherit}.archiveUtility svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.archiveUtility span{font-size:11px}.archiveUtility:hover,.archiveUtility.active{color:#c6d5e3}.archiveUtilityDialog{width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:16px;border:1px solid #778899;border-radius:7px}.archiveUtilityDialog .card{border:0;margin:0;padding:12px 0}.archiveUtilityDialog::backdrop{background:#000b}@media(prefers-color-scheme:dark){.archiveUtilityDialog{background:#131a22;color:#e6e9ed}}@media(max-width:600px){.archiveUtilities{gap:8px}.archiveUtility{padding:8px;min-width:85px}}

/* Angular compact workspace */
@media screen{
:root{font-size:13px}header{padding:10px 3%;min-height:58px}.brandLogo{width:104px}main{max-width:1380px;margin:18px auto;padding:0 18px}h1{font-size:28px;margin:6px 0 10px}h2{font-size:15px}.card,.archiveFolder,.archiveFolder .archiveFolder,article,dialog,input,textarea,select,button{border-radius:2px!important;box-shadow:none!important}.card{padding:12px;margin:8px 0}.archiveFolder{padding:10px;margin:9px 0;border-width:1px}.archiveFolder>summary{font-size:14px;font-weight:750;letter-spacing:.075em;min-height:26px}.archiveFolder .archiveFolder{margin:7px 0;padding:7px 9px}article{padding:8px 10px;margin:4px 0;gap:10px}.customerRow{padding:5px 9px}.customerFolderName{font-size:12px;letter-spacing:.05em;font-weight:750}button{padding:7px 10px;min-height:32px;font-size:11px;letter-spacing:.03em}.archiveActions button{min-height:30px;padding:6px 10px}input,select{padding:8px 10px}summary{min-height:28px}.archiveUtilities{padding:12px 0 5px;margin-top:12px;gap:14px}.archiveUtility{padding:7px 12px}.archiveUtility svg{width:23px;height:23px}.archiveQuoteNumber{font-size:10px!important;letter-spacing:.09em}.customerDialog{padding:18px}.customerGrid{gap:10px 14px}.customerDialog h2{margin-bottom:14px}.archiveFolder{border-left:2px solid #778899}
}
@media screen and (prefers-color-scheme:dark){:root{background:#090c10}header{background:#0e1319;border-bottom:1px solid #465262}.card,.archiveFolder{background:#11171e;border-color:#344150}article{background:#141d27;border-color:#344252}button{background:#23303e;border-color:#516172}button:hover{background:#34485e;border-color:#8ea3b7}input,select,textarea{background:#0d141c;border-color:#425363}article:hover{border-color:#8296aa}}
@media screen and (max-width:700px){main{padding:0 12px;margin:14px auto}h1{font-size:25px}button,input,select,.archiveActions button{min-height:44px}.archiveFolder{padding:8px}.customerRow{padding:6px 7px}}

.customerTotals{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.4;min-width:290px}.customerTotals .muted{font-size:10px}.customerTotals .acceptedTotal{color:#00ff41;font-weight:750;letter-spacing:.015em}.customerTotals .acceptedTotal.none{color:#8294a5;font-weight:500}.customerTotals small{color:#c1a36d}.quoteAcceptControl{display:flex;align-items:center;gap:6px;margin:0 8px 0 0;font-size:11px;white-space:nowrap;cursor:pointer}.quoteAcceptControl input{width:16px!important;height:16px;min-height:16px!important;padding:0;accent-color:#00ff41}.quoteNetValue{font-size:12px!important;font-weight:700}.quoteAccepted .quoteNetValue,.quoteAccepted .quoteAcceptControl{color:#00ff41!important}.quoteAccepted{border-left:2px solid #00ff41!important}.customerRow .customerFolderName{flex:1}.customerRow>.customerTotals{margin-left:auto}.archiveFolder>.customerTotals{margin:10px 0 15px;padding:9px 11px;border:1px solid #35414e;border-left:2px solid #778899}@media(max-width:700px){.customerRow{display:grid;grid-template-columns:minmax(0,1fr) auto!important;gap:6px}.customerRow>.customerTotals{grid-column:1/-1;grid-row:2;margin-left:0;min-width:0;font-size:11px}.customerRow>.customerFolderName{grid-column:1;grid-row:1}.customerRow>button:last-child{grid-column:2;grid-row:1}.quoteAcceptControl{min-height:44px}.customerTotals{min-width:0}.archiveActions{align-items:center}}

.archiveTotals{display:flex;flex-wrap:wrap;gap:8px 28px;margin:12px 0 16px;padding:10px 12px;border:1px solid #35414e;border-left:2px solid #00ff41;color:#00ff41;font-size:14px}.archiveTotals small{flex-basis:100%;font-size:10px;color:#9aa9b7}@media(max-width:700px){.archiveTotals{flex-direction:column;gap:7px;font-size:12px}}

.archiveTotals{color:#dce4ec;border-left-color:#778899}.archiveTotals>strong:nth-child(2){color:#00ff41}

#rows .archiveArticle{display:block;width:100%;text-align:left;margin:0;padding:10px 12px;background:transparent;color:inherit;border:0;border-bottom:1px solid #35414e;border-radius:0;font-size:12px;line-height:1.5;white-space:pre-wrap}.archiveArticle:hover{background:#77889920!important}.articleEditDialog{width:min(600px,94vw);max-height:90dvh;overflow:auto;background:#111922;color:#dce4ec;border:1px solid #465462;padding:18px}.articleEditDialog::backdrop{background:#000a}.articleEditDialog form{max-width:none}.articleEditDialog h2{font-size:18px}.articleEditDialog label{font-size:11px;margin:10px 0 5px}.articleEditDialog input,.articleEditDialog textarea{display:block;width:100%;padding:8px;border:1px solid #465462;border-radius:2px;background:#18232f;color:#dce4ec;font:inherit;font-size:12px}.articleEditDialog textarea{min-height:70px;resize:vertical}.articleEditDialog form>div{display:flex;align-items:center;gap:6px}.articleEditDialog .muted{font-size:11px;line-height:1.5}

.articlePhotoEditor{display:block!important;padding:8px 0;border-top:1px solid #35414e}.articlePhotoEditor img{display:block;width:120px;height:100px;object-fit:contain;margin:8px 0;background:transparent}.articlePhotoEditor [hidden]{display:none!important}.articlePhotoEditor p{font-size:11px}.articlePhotoEditor button{font-size:11px;min-height:32px;padding:6px 9px}

.archiveTotals{position:relative;padding-right:200px}.archiveYearFilter{position:absolute;right:12px;top:8px;margin:0;font-size:10px;color:#9aa9b7;min-width:160px}.archiveYearFilter select{display:block;width:160px;min-height:32px;margin-top:3px;padding:5px 8px;background:#18232f;color:#dce4ec;border:1px solid #465462;border-radius:2px;font:inherit;font-size:12px}@media(max-width:700px){.archiveTotals{padding-right:12px}.archiveYearFilter{position:static;align-self:flex-end;margin-top:5px}.archiveYearFilter select{min-height:44px}}

.primaryQuoteActions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.primaryQuoteActions button{font-weight:800}.customerSearchBox{margin:0 0 14px}.customerSearchBox label{display:block;margin-bottom:5px}.customerSearchBox input{width:100%;margin:0}.customerTitleRow{display:flex;align-items:center;justify-content:space-between;gap:12px}.customerTitleRow h2{margin:10px 0}.customerDelete{color:#d9a5a5}.customerRow>.customerDelete{flex:none}.customerRow>.customerFolderName{flex:0 1 32%}.customerRow>.customerTotals{margin-left:auto}@media(max-width:700px){.customerRow>.customerDelete{grid-column:2;grid-row:1}.customerRow>button:last-child{grid-column:2;grid-row:3}.primaryQuoteActions button{flex:1;white-space:normal}.customerTitleRow{flex-wrap:wrap}}
/* Primary starting points: monochrome, angular, deliberate hierarchy. */
.primaryQuoteActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}
.primaryQuoteActions button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:112px;padding:18px 64px 18px 22px;background:linear-gradient(120deg,#26313d,#141c25);border:1px solid #778899;border-left:4px solid #c2cbd4;color:#f2f5f8;text-align:left;overflow:hidden;transition:background .15s,border-color .15s}
.primaryQuoteActions button::after{content:'';position:absolute;left:22px;bottom:0;width:72px;height:2px;background:#b0bdc9}
.primaryQuoteActions button:hover{background:linear-gradient(120deg,#354454,#1c2733);border-color:#dce4ec}
.primaryQuoteActions button:focus-visible{outline:2px solid #e8edf2;outline-offset:3px}
.primaryQuoteActions strong{font-size:19px;font-weight:850;line-height:1.2;letter-spacing:.015em}
.startActionTag{font-size:10px;letter-spacing:.18em;color:#b2c0cd;font-weight:700}
.startActionDetail{font-size:11px;letter-spacing:.04em;color:#a7b6c4}
.startActionArrow{position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:32px;font-weight:400;color:#d4dde5}
.customerRowActions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:none;margin-left:6px}
.customerRowActions .customerDelete{color:inherit;background:transparent;border-color:#516172}
.customerRow>.customerFolderName{flex:1}.customerRow>.customerTotals{margin-left:auto}.customerTitleRow>.customerRowActions{margin-left:auto}
@media(max-width:700px){.primaryQuoteActions{gap:9px}.primaryQuoteActions button{min-height:128px;padding:14px 34px 14px 13px;border-left-width:3px}.primaryQuoteActions strong{font-size:15px}.startActionTag{font-size:9px;letter-spacing:.09em}.startActionArrow{right:10px;font-size:24px}.startActionDetail{font-size:10px}.customerRow>.customerRowActions{grid-column:2;grid-row:1;margin-left:0;gap:5px}.customerRowActions button{padding:6px 8px}.customerRow>.customerTotals{grid-column:1/-1;grid-row:2}.customerTitleRow{flex-wrap:wrap}}
@media(max-width:420px){.primaryQuoteActions{grid-template-columns:1fr}.primaryQuoteActions button{min-height:98px}.primaryQuoteActions strong{font-size:17px}.customerRow{grid-template-columns:1fr!important}.customerRow>.customerRowActions{grid-column:1;grid-row:3;justify-self:end}.customerRow>.customerFolderName{grid-column:1;grid-row:1}}
/* BRX night storm: decorative, isolated from the archive and authentication. */
.loginStorm,.stormToggle{display:none}.auth-screen{background:#080c12!important;color:#e7ecf2!important;min-height:100dvh;isolation:isolate}.auth-screen .loginStorm{display:block;position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 75% 15%,#293a4d 0,transparent 48%),linear-gradient(155deg,#141f2c,#070b11 72%)}.stormCloud{position:absolute;inset:-30%;background:radial-gradient(ellipse at 65% 35%,#5c6c7c44,transparent 35%),radial-gradient(ellipse at 30% 20%,#697a8a33,transparent 32%),radial-gradient(ellipse at 75% 55%,#020509cc,transparent 45%);filter:blur(32px);animation:cloudDrift 45s ease-in-out infinite alternate}.cloudNear{opacity:.8;transform:scale(1.3);animation-duration:29s;animation-direction:alternate-reverse}.stormRain{position:absolute;inset:-40%;background-image:repeating-linear-gradient(106deg,transparent 0,transparent 78px,#9aafc014 79px,transparent 80px);background-size:145px 190px;opacity:.3;animation:rainDrift 2s linear infinite}.stormLightning{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 9px #a7ccf5)}.bolt{fill:#d3e6ff;opacity:0;animation:lightning 19s linear infinite}.boltTwo{animation-delay:9s;animation-duration:23s}.stormVeil{position:absolute;inset:0;background:linear-gradient(90deg,#060a10c9,transparent 90%),linear-gradient(0deg,#070b11dd,transparent 60%)}.auth-screen>header{background:transparent!important;border-color:#7c91a328!important;position:relative}.auth-screen>main{position:relative;max-width:650px!important;margin:clamp(28px,8vh,100px) auto!important;padding:30px!important;background:#0d151fdb;border:1px solid #6b81943d;box-shadow:0 24px 100px #0007;backdrop-filter:blur(18px)}.auth-screen h1{font-size:clamp(28px,5vw,40px);line-height:1.1}.auth-screen .eyebrow{color:#9cabb9!important}.auth-screen form{max-width:none}.auth-screen label{color:#c0cbd5!important}.auth-screen input{background:#080f18!important;color:#edf3fa!important;border-color:#4c5d6e!important}.auth-screen button:not(.stormToggle){background:#233141!important;color:#edf2f7!important;border-color:#60758a!important}.auth-screen #login>button:first-of-type,.auth-screen #verifyLogin>button:first-of-type{background:#a8b8c7!important;color:#0a1119!important;font-weight:800;min-width:140px}.auth-screen #forgotPassword,.auth-screen #cancelVerify{background:transparent!important;border-color:transparent!important;color:#a9b8c5!important}.auth-screen #status,.auth-screen .muted{color:#bdcbd7!important}.auth-screen footer{color:#8799aa!important}.auth-screen .stormToggle{display:block;position:fixed;right:18px;bottom:14px;z-index:3;font-size:11px;padding:7px 10px;min-height:34px;background:#111c28cc;color:#aebdcb;border:1px solid #5b70844d;margin:0}.auth-screen #loginCode{font-size:26px;letter-spacing:.35em;font-variant-numeric:tabular-nums}.storm-paused .loginStorm *{animation:none!important}.storm-paused .bolt{opacity:0!important}@keyframes cloudDrift{to{translate:7% 3%}}@keyframes rainDrift{to{background-position:-145px 190px}}@keyframes lightning{0%,37%,39%,100%{opacity:0}37.3%{opacity:.65}37.6%{opacity:.08}38%{opacity:.4}38.6%{opacity:0}}@media(prefers-reduced-motion:reduce){.loginStorm *{animation:none!important}.bolt{opacity:0!important}}@media(max-width:700px){.auth-screen>main{margin:24px 14px 75px!important;padding:22px!important}.auth-screen>header{padding:18px!important}.stormVeil{background:#070b1170}.auth-screen .stormToggle{bottom:12px;right:14px}}
/* Moving, branched strokes with white illumination and a slow afterglow. */
.stormLightning{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 15px #e5f2ff);z-index:2}.generatedBolt{fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}.generatedBolt.lightningBranch{stroke-width:1.1}.stormGlow{position:absolute;inset:0;opacity:0;z-index:1;mix-blend-mode:screen;pointer-events:none}.stormVeil{z-index:3;background:linear-gradient(90deg,#060a1080,transparent 95%),linear-gradient(0deg,#070b1199,transparent 70%)}
.catalogTools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;position:sticky;top:0;z-index:2;padding:10px;background:var(--card,#141c26);border:1px solid #526170}.catalogTools>input{flex:1 1 250px;min-width:150px}.catalogSelectAll{display:flex;gap:8px;align-items:center;margin:0;font-size:12px;white-space:nowrap}.catalogSelectAll input,.catalogInventoryRow>input{width:18px;height:18px;min-height:18px;padding:0;flex:none;accent-color:#778899}.catalogTools>span{font-size:11px}.catalogTools button{font-size:12px;margin:0}.catalogTools .catalogDelete{color:#edb9be;border-color:#8c626a}.catalogInventoryRow{display:grid;grid-template-columns:22px 80px minmax(0,1fr) 130px;align-items:center;gap:12px;border-bottom:1px solid #53627155;padding:12px 4px}.catalogInventoryRow.isSelected{background:#77889920;box-shadow:inset 3px 0 #9eb2c3}.catalogInventoryPhoto{width:76px;height:76px;display:grid;place-items:center;font-size:10px;color:#93a4b4;text-align:center}.catalogInventoryPhoto img{max-width:100%;max-height:76px;object-fit:contain}.catalogInventoryText{display:grid;text-align:left;gap:5px;background:transparent!important;border:0!important;color:inherit!important;padding:4px!important;margin:0;min-width:0;box-shadow:none!important}.catalogInventoryText strong{font-size:14px}.catalogInventoryText small{font-size:10px;color:#98aabb}.catalogInventoryText span{font-size:12px;line-height:1.5;white-space:pre-wrap}.catalogInventoryPrice{text-align:right;font-size:15px;font-weight:750;font-variant-numeric:tabular-nums}.catalogInventoryPrice small{display:block;color:#98aabb;font-weight:400;font-size:10px;margin-top:5px}#rows .catalogInventoryText:hover{background:#77889910!important}@media(max-width:650px){.catalogInventoryRow{grid-template-columns:20px 60px minmax(0,1fr);gap:8px}.catalogInventoryPhoto{width:56px;height:60px}.catalogInventoryPhoto img{max-height:60px}.catalogInventoryPrice{grid-column:3;text-align:left;font-size:14px}.catalogInventoryPrice small{display:inline;margin-left:8px}.catalogTools{position:relative}.catalogTools>input{flex-basis:100%}}
.catalogTools{background:#e8edf1;color:#26313b}.catalogInventoryText span{font-weight:400}.catalogInventoryText small,.catalogInventoryPrice small{color:#667789}.catalogConfirm{width:min(460px,94vw);padding:22px;background:#141e29;color:#e8edf2;border:1px solid #657b8d}.catalogConfirm::backdrop{background:#000b}.catalogConfirm button{margin-top:12px}.catalogConfirm .confirmRemove{color:#f0bdc4;background:#3a2931}@media(prefers-color-scheme:dark){.catalogTools{background:#141c26;color:#e1e8ef}.catalogInventoryText small,.catalogInventoryPrice small{color:#9aafc1}}
.catalogPager{display:flex;gap:12px;justify-content:center;align-items:center;margin:18px 0}.catalogPager span{font-size:12px}

@media screen and (prefers-color-scheme:light){
 :root{color-scheme:light;background:#f3f5f7;color:#18232d}body:not(.auth-screen){background:#f3f5f7;color:#18232d}
 body:not(.auth-screen) header,body:not(.auth-screen) .card,body:not(.auth-screen) .archiveFolder{background:#fff;color:#18232d;border-color:#a6b2bd}
 body:not(.auth-screen) article{background:#f8fafb;border-color:#b2bec8;color:#18232d}body:not(.auth-screen) button{color:#243747;border-color:#8e9fac;background:#e9eef2}
 body:not(.auth-screen) input,body:not(.auth-screen) select,body:not(.auth-screen) textarea{background:#fff;color:#18232d;border-color:#8e9fac}
 body:not(.auth-screen) .muted,body:not(.auth-screen) article p,body:not(.auth-screen) .eyebrow{color:#506171}
 body:not(.auth-screen) .archiveUtility:hover,body:not(.auth-screen) .archiveUtility.active{color:#243747}
 .articleEditDialog,.customerDialog,.archiveEditDialog{background:#fff;color:#18232d;color-scheme:light}
 .catalogTools{background:#e9eef2;color:#18232d}.catalogTools select{max-width:230px}
}
@media screen and (prefers-color-scheme:light){body:not(.auth-screen) .archiveTotals{color:#18232d}body:not(.auth-screen) .archiveTotals>strong:nth-child(2),body:not(.auth-screen) .acceptedTotal:not(.none),body:not(.auth-screen) .quoteNetValue.accepted{color:#087b34!important}.archiveTotals small,.archiveYearFilter{color:#506171}.primaryQuoteActions .startActionTag,.primaryQuoteActions .startActionDetail,.primaryQuoteActions .startActionArrow{color:#425669}.primaryQuoteActions button{background:linear-gradient(120deg,#e1e7ed,#f8fafb)!important;color:#18232d!important;border-left-color:#778899!important}.primaryQuoteActions button:focus-visible{outline-color:#435e76}}
.archiveTotals{padding-right:365px}.archivePeriodFilters{position:absolute;right:12px;top:8px;display:flex;gap:10px}.archivePeriodFilters .archiveYearFilter,.archiveMonthFilter{position:static;margin:0;font-size:10px;color:#9aa9b7;min-width:155px}.archiveMonthFilter select{display:block;width:155px;min-height:32px;margin-top:3px;padding:5px 8px;background:#18232f;color:#dce4ec;border:1px solid #465462;border-radius:2px;font:inherit;font-size:12px}@media(prefers-color-scheme:light){.archiveMonthFilter{color:#506171}.archiveMonthFilter select{background:#fff;color:#18232d}}@media(max-width:850px){.archiveTotals{padding-right:12px}.archivePeriodFilters{position:static;flex-basis:100%;justify-content:flex-end;flex-wrap:wrap}.archivePeriodFilters select{min-height:44px}}

/* Persistent catalog positions, independent of active filters. */
.catalogInventoryRow{grid-template-columns:22px 42px 80px minmax(0,1fr) 130px}.catalogPosition{font-size:13px;font-variant-numeric:tabular-nums;padding:8px 2px;margin:0;min-width:36px;border:1px solid #77889988;background:transparent;color:inherit;border-radius:3px}.catalogPosition:hover{background:#77889933}.catalogMoveDialog{width:min(440px,92vw);background:#141c26;color:#edf2f6;border:1px solid #778899;border-radius:4px}.catalogMoveDialog form{display:grid;gap:12px}.catalogMoveDialog h2,.catalogMoveDialog p{margin:0}.catalogMoveDialog label{display:grid;gap:8px}.catalogMoveDialog small{color:#b7c4d0}.dialogActions{display:flex;justify-content:flex-end;gap:8px}.catalogMoveDialog input{background:#0c141d;color:#edf2f6;border:1px solid #778899}.catalogMoveDialog p[role=alert]{color:#f2b5b5}
@media(max-width:650px){.catalogInventoryRow{grid-template-columns:20px 34px 50px minmax(0,1fr);gap:6px}.catalogInventoryPhoto{width:46px}.catalogInventoryPrice{grid-column:4}.catalogPosition{min-width:30px}}

.hostingStorage{max-width:1200px;margin:24px auto 12px;padding:18px 22px;border-top:1px solid #77889966;display:grid;grid-template-columns:1fr auto;gap:12px;color:inherit}.hostingStorage[hidden]{display:none}.storageFree{font-variant-numeric:tabular-nums}.storageBar{grid-column:1/-1;height:9px;border-radius:2px;background:linear-gradient(90deg,#31c866 0%,#99cf39 40%,#f3ce35 60%,#f29228 80%,#e44242 100%);position:relative;margin:6px 7px}.storageBar span{position:absolute;top:-5px;bottom:-5px;width:4px;background:#fff;border:1px solid #17212b;box-shadow:0 0 0 1px #fff;transform:translateX(-50%)}.hostingStorage p,.hostingStorage small{grid-column:1/-1;margin:0}.hostingStorage small{opacity:.7;font-size:11px}@media(max-width:650px){.hostingStorage{margin:18px 12px;padding:16px 4px}.hostingStorage p{font-size:12px}}

/* Unit arrows preserve manually entered decimals. */
.brxUnitStepper{position:relative;display:inline-block;width:100%;min-width:64px}.brxUnitStepper>input{margin:0!important;padding-right:28px!important;max-width:100%!important;width:100%;appearance:textfield;-moz-appearance:textfield}.brxUnitStepper>input::-webkit-inner-spin-button,.brxUnitStepper>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.brxUnitArrows{position:absolute;right:2px;top:2px;bottom:2px;width:24px;display:grid;grid-template-rows:1fr 1fr}.brxUnitArrows>button{display:grid;place-items:center;min-height:0!important;padding:0!important;margin:0!important;line-height:1;font-size:9px!important;border:0!important;border-left:1px solid #77889966!important;border-radius:0!important;background:#77889922!important;color:inherit!important;cursor:pointer}.brxUnitArrows>button:hover{background:#77889966!important}.brxUnitArrows>button:disabled{opacity:.35;cursor:default}#roomTemplatesStatus{margin:10px 0 0;min-height:1.3em}.room-template-card{scroll-margin-top:150px}

/* WEB 4.0 · hosting summary */
.hostingStorage{margin:14px auto 6px;padding:9px 18px;gap:5px 14px;font-size:12px;grid-template-columns:auto 1fr auto}.hostingStorage>strong:first-child{grid-column:1;grid-row:1}.hostingStorage .storageFree{grid-column:3;grid-row:1}.hostingStorage p{grid-column:2;grid-row:1;text-align:right;font-size:12px}.hostingStorage .storageBar{grid-row:2;height:4px;margin:4px 3px}.hostingStorage .storageBar span{top:-3px;bottom:-3px;width:3px}.hostingStorage small{font-size:10px;line-height:1.3}@media(max-width:650px){.hostingStorage{margin:10px 12px 4px;padding:8px 0;grid-template-columns:1fr auto}.hostingStorage .storageFree{grid-column:2}.hostingStorage p{grid-column:1/-1;grid-row:3;text-align:left}.hostingStorage small{grid-row:4}}

/* WEB 4.1: one-line storage, details on request */
#hostingStorage.hostingStorage{max-width:920px;margin:6px auto 0!important;padding:5px 10px!important;gap:4px 10px!important;grid-template-columns:auto 110px auto 1fr auto!important;align-items:center;font-size:11px!important}#hostingStorage>strong:first-child{grid-column:1;grid-row:1;font-size:11px}#hostingStorage .storageFree{grid-column:3;grid-row:1;font-size:11px}#hostingStorage .storageBar{grid-column:2;grid-row:1;height:4px;margin:0 3px}#hostingStorage p{grid-column:4;grid-row:1;font-size:11px;text-align:right}#hostingStorage .storageDetails{grid-column:5;grid-row:1;font-size:10px;position:relative}#hostingStorage .storageDetails summary{cursor:pointer;padding:2px;font-size:10px}#hostingStorage .storageDetails small{position:absolute;bottom:100%;right:0;width:280px;padding:10px;background:var(--card,#17212b);color:var(--text,#edf1f5);border:1px solid #778899;z-index:5;font-size:11px}@media(max-width:720px){#hostingStorage.hostingStorage{margin:6px 12px 0!important;grid-template-columns:auto 1fr auto auto!important}#hostingStorage .storageDetails{grid-column:4}#hostingStorage p{grid-column:1/-1;grid-row:2;text-align:left}#hostingStorage .storageBar{min-width:50px}}
#hostingStorage .storageDetails summary{min-height:0!important;line-height:16px;font-weight:500}body:not(.auth-screen)>footer{padding:8px 12px;font-size:10px}

/* WEB 4.2 navigation */
.brxHome{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;padding:7px!important;color:inherit;border:1px solid #77889988;border-radius:2px;margin:0 8px;text-decoration:none}.brxHome svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.duplicateClientDialog{background:#101820;color:#edf1f5;border:1px solid #778899;border-radius:2px;width:min(460px,calc(100% - 24px));padding:22px}.duplicateClientDialog::backdrop{background:#000a}.duplicateClientDialog .toolbar-actions{justify-content:flex-end;flex-wrap:wrap}body>header [data-tab][hidden]{display:none!important}

.homeBrand{display:flex;align-items:center;gap:6px}.homeBrand .brxHome{margin:0}
/* WEB 5.6 — five clear entrances, no eager archive on Home. */
body:not(.auth-screen){background:#edf0f2;color:#202a32}body:not(.auth-screen) main{max-width:1240px;margin:36px auto 22px}body:not(.auth-screen) main>.eyebrow{color:#687887;letter-spacing:.28em}body:not(.auth-screen) main>h1{font-size:clamp(30px,4vw,46px);font-weight:650;letter-spacing:-.045em;margin:10px 0 25px}body:not(.auth-screen) main>h1+p:not(#status){display:none}#homeDashboard{margin:10px 0 26px}.homeGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.launchTile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;width:100%;min-width:0;min-height:200px;margin:0;padding:26px;background:linear-gradient(145deg,#fff,#e7ecef);border:1px solid #b9c5ce;border-radius:2px;color:#202c36;overflow:hidden;isolation:isolate;transition:border-color .16s,transform .16s,background .16s}.launchTile:before{content:'';position:absolute;right:-25px;top:-60px;width:220px;height:220px;border:1px solid #77889920;transform:rotate(35deg);pointer-events:none;z-index:-1}.launchTile>svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:square;stroke-linejoin:miter;color:#617787}.tileIndex{position:absolute;right:22px;top:23px;font-size:11px;font-family:ui-monospace,monospace;letter-spacing:.13em;color:#687b8a}.tileText{display:block;max-width:100%;margin-top:28px}.tileText strong{display:block;font-size:22px;line-height:1.2;letter-spacing:-.035em;font-weight:650}.tileText small{display:block;font-size:12px;line-height:1.45;color:#657886;font-weight:400;margin-top:9px;padding-right:12px}.tileArrow{position:absolute;right:20px;bottom:19px;font-size:23px;font-weight:400;color:#788f9f}.launchTile:hover{background:linear-gradient(145deg,#fff,#dce5eb);border-color:#778899;transform:translateY(-3px)}.launchTile:focus-visible{outline:2px solid #778899;outline-offset:4px}.homeGrid>.launchTile:first-child{grid-column:span 4;min-height:190px;background:linear-gradient(115deg,#d5dfe7,#f6f8f9);border-left:4px solid #778899;padding:28px 32px}.homeGrid>.launchTile:first-child .tileText{margin-top:18px}.homeGrid>.launchTile:first-child strong{font-size:clamp(28px,4vw,38px)}.homeGrid>.launchTile:first-child>svg{position:absolute;right:72px;top:30px;width:125px;height:125px;stroke-width:.7;opacity:.17}.homeGrid>.launchTile:first-child .tileIndex{left:32px;right:auto;top:25px}.homeGrid>.launchTile:first-child .tileText{margin-top:45px}.homeGrid>.launchTile:first-child .tileArrow{right:35px;bottom:30px;font-size:33px}#sectionToolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}#sectionToolbar button{background:transparent;border:1px solid #a9b8c4;color:inherit;border-radius:2px;padding:10px 16px}#sectionToolbar button:last-child{font-weight:750}.homeTools{border-top:1px solid #b5c1cb;padding:15px 0;margin-top:24px}.homeTools>summary{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#657685;min-height:24px}.homeTools>nav{display:flex;gap:8px;flex-wrap:wrap;padding-top:8px}.homeTools button{background:transparent;color:inherit;border:1px solid #a9b8c4;border-radius:2px}.quoteTypeDialog{color:inherit;background:#edf0f2;border:1px solid #778899;border-radius:3px;padding:26px;width:min(1040px,94vw);max-width:94vw;max-height:90vh;box-shadow:0 24px 100px #0008}.quoteTypeDialog::backdrop{background:#05090ed4;backdrop-filter:blur(7px)}.typeHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.typeHeader h2{font-size:24px;letter-spacing:-.04em;margin:0}.typeHeader button{color:inherit;background:transparent;border-color:#778899;border-radius:2px}.typeGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.typeGrid .launchTile{min-height:180px;padding:22px}.typeGrid .tileText strong{font-size:21px}.typeGrid .tileText small{font-size:11px}body[data-workspace-view=database] #detail{margin-top:18px}.customerSearchBox{margin-bottom:18px}body[data-workspace-view=preventivi] .archiveFolder>summary,body[data-workspace-view=database] .archiveFolder>summary,body[data-workspace-view=clienti] #list>.archiveFolder>summary{display:none}.hostingStorage{margin-top:10px!important}
@media(prefers-color-scheme:dark){body:not(.auth-screen){background:#080b0f;color:#e5eaf0}body:not(.auth-screen) main>.eyebrow{color:#8092a2}.launchTile{background:linear-gradient(135deg,#171e26,#0e131a);border-color:#344250;color:#e6edf3}.launchTile>svg{color:#9aafc0}.tileIndex,.tileText small{color:#91a3b2}.launchTile:hover{background:linear-gradient(135deg,#202c38,#121c27);border-color:#8199ad}.homeGrid>.launchTile:first-child{background:linear-gradient(115deg,#263340,#111b25);border-color:#5e7387;border-left-color:#a2b5c5}.homeTools{border-color:#303c47}.homeTools>summary{color:#94a7b7}.homeTools button,#sectionToolbar button{border-color:#415262}.quoteTypeDialog{background:#10161e;color:#e5eaf0}.quoteTypeDialog .typeHeader button{border-color:#425666}.tileArrow{color:#a6b8c7}}
@media(max-width:900px){.homeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.homeGrid>.launchTile:first-child{grid-column:span 2}.launchTile{min-height:180px}.typeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){body:not(.auth-screen) main{margin-top:25px;padding:0 16px}body:not(.auth-screen) main>h1{margin-bottom:22px}.homeGrid{gap:10px}.launchTile{min-height:168px;padding:19px 16px}.tileText strong{font-size:21px}.tileText small{font-size:11px}.tileIndex{top:18px;right:16px}.tileArrow{right:14px;bottom:13px}.homeGrid>.launchTile:first-child{min-height:174px;padding:24px}.homeGrid>.launchTile:first-child .tileIndex{left:24px}.quoteTypeDialog{padding:19px}.typeHeader{align-items:flex-start;gap:14px}.typeHeader h2{font-size:22px}.typeGrid{grid-template-columns:1fr}.typeGrid .launchTile{min-height:110px;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:18px;padding:20px}.typeGrid .tileText{margin:0}.typeGrid .tileIndex{display:none}.typeGrid .tileText strong{font-size:20px}.typeGrid .tileArrow{font-size:18px}.homeTools>nav{flex-direction:column;align-items:stretch}.homeTools button{margin:0}.launchTile:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.launchTile{transition:none}.launchTile:hover{transform:none}}

body:not(.auth-screen) .loginIntro{display:none}

/* WEB 5.9 · two creation actions, five focused archives. */
.homeGrid{grid-template-columns:repeat(10,minmax(0,1fr))!important}.homeGrid>.launchTile{grid-column:span 2!important;min-height:190px}.homeGrid>.launchTile[data-destination=new],.homeGrid>.launchTile[data-destination=newConsuntivo]{grid-column:span 5!important;min-height:190px;border-left:4px solid #778899;padding:26px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}.homeGrid>.launchTile[data-destination=newConsuntivo]{background:linear-gradient(115deg,#d5dfe7,#f6f8f9)}.homeGrid>.launchTile .tileText{margin-top:28px!important}.homeGrid>.launchTile .tileText strong{font-size:22px!important}.homeGrid>.launchTile>svg{width:37px!important;height:37px!important}.consuntiviTotals>strong{color:inherit!important}
@media(prefers-color-scheme:dark){.homeGrid>.launchTile[data-destination=newConsuntivo]{background:linear-gradient(120deg,#26313a,#141a20)}}
@media(max-width:1000px){.homeGrid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.homeGrid>.launchTile[data-destination=new],.homeGrid>.launchTile[data-destination=newConsuntivo]{grid-column:span 3!important}.homeGrid>.launchTile{grid-column:span 2!important}}
@media(max-width:650px){.homeGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.homeGrid>.launchTile,.homeGrid>.launchTile[data-destination=new],.homeGrid>.launchTile[data-destination=newConsuntivo]{grid-column:span 1!important;min-height:170px!important;padding:16px!important}.homeGrid>.launchTile .tileText strong{font-size:18px!important}.homeGrid>.launchTile .tileIndex{right:12px;top:14px}.homeGrid>.launchTile .tileText{margin-top:18px!important}.homeGrid>.launchTile .tileText small{padding-right:0}.homeGrid>.launchTile .tileArrow{right:10px;bottom:8px}}
.homeGrid>.launchTile{margin:0!important;box-sizing:border-box!important;align-self:stretch}.homeGrid>.launchTile:first-child>svg{position:static!important;opacity:1!important;stroke-width:1.2!important}.homeGrid>.launchTile:first-child .tileIndex{left:auto!important;right:22px!important;top:23px!important}.homeGrid>.launchTile:first-child .tileArrow{right:20px!important;bottom:19px!important;font-size:23px!important}#sectionToolbar{justify-content:flex-start;flex-wrap:wrap}#sectionToolbar>button:first-child{margin-right:auto}
@media(max-width:650px){.homeGrid>.launchTile .tileText small{padding-right:18px!important}}

/* Client folders remain visible inside both document archives. */
body[data-workspace-view=preventivi] #list>.archiveFolder>.archiveFolder>summary,body[data-workspace-view=consuntivi] #list>.archiveFolder>.archiveFolder>summary{display:list-item}

/* Client buttons lead to a dedicated document list; actions stay independent. */
.archiveClientButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.archiveClientButton{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;width:100%;margin:0;padding:16px 18px;color:inherit;background:transparent;border:1px solid #778899;border-left-width:3px}.archiveClientButton strong{display:block;font-size:15px;overflow-wrap:anywhere}.archiveClientButton small{display:block;font-size:12px;font-weight:400;opacity:.75;margin-top:5px}.archiveClientButton>span:last-child{font-size:23px}.archiveClientButton:hover{background:#77889918}.archiveCustomerHeading{display:flex;align-items:center;gap:18px;margin:12px 0 18px}.archiveCustomerHeading h2{font-size:21px;margin:0}.archiveCustomerHeading p{margin:4px 0 0}.archiveQuoteLink{display:block;min-width:0;flex:1;color:inherit;text-decoration:none;padding:3px 0}.archiveQuoteCard{cursor:pointer}.archiveQuoteLink:hover strong{text-decoration:underline;text-underline-offset:3px}.archiveQuoteLink:focus-visible,.archiveClientButton:focus-visible{outline:2px solid #778899;outline-offset:3px}@media(max-width:700px){.archiveClientButtons{grid-template-columns:1fr}.archiveClientButton{min-height:72px;padding:13px 14px}.archiveCustomerHeading{gap:12px;align-items:flex-start}.archiveCustomerHeading h2{font-size:18px}.archiveQuoteLink{padding:8px 0}}

/* WEB6.8: identical input/select geometry in the customer card. */
.customerDialog input:not([type=checkbox]):not([type=file]),.customerDialog select{box-sizing:border-box!important;height:36px!important;min-height:36px!important;line-height:20px!important;padding:7px 9px!important;margin:0!important}
.customerDialog .customerGrid>div{min-width:0}

/* WEB 7.1: accepted counts and private release history. */
.acceptedCount{color:#00ff41;font-weight:750}.acceptedCount.none{color:inherit;font-weight:inherit}.quoteCount{font-size:12px;line-height:1.5}.customerTotals>.muted .quoteCount{font-size:12px}.archiveClientButton small:has(.quoteCount){opacity:1}.releaseList{display:grid;gap:12px}.releaseCard{display:block;padding:16px 18px;border:1px solid #77889955;border-left:3px solid #778899;border-radius:2px}.releaseHeader{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px}.releaseHeader h2{font-size:16px;margin:0;flex:1 1 440px;overflow-wrap:anywhere}.releaseHeader time{font-size:12px;font-variant-numeric:tabular-nums}.releaseCurrent{padding:3px 7px;border:1px solid #778899;font-size:11px;font-weight:700;white-space:nowrap}.releaseCard ul{padding-left:20px;margin:12px 0 0;line-height:1.6;font-size:13px}.releaseCard li+li{margin-top:5px}#versionsHistory{max-width:1050px;margin:0 auto}#versionsHistory>label{display:block;margin:20px 0 6px}#versionsHistory input{display:block;width:100%;margin:7px 0}#versionsHistory[hidden]{display:none!important}body[data-workspace-view=versioni] .homeTools{margin-top:22px}@media(prefers-color-scheme:light){body:not(.auth-screen) .acceptedCount:not(.none){color:#087b34}}@media(max-width:700px){.releaseCard{padding:13px 12px}.releaseHeader h2{flex-basis:100%;font-size:15px}.releaseCard ul{font-size:12px}.releaseHeader{gap:7px 12px}}
.releaseList{grid-template-columns:minmax(0,1fr)}.releaseCard{min-width:0;overflow-wrap:anywhere}.releaseHeader h2{min-width:0}

body[data-workspace-view="cestino"] #sectionToolbar>button:first-child {margin-right:0}
#sectionToolbar .emptyTrashButton {margin:0 auto 0 0;border-color:#a37679}

.archiveLetter{
 grid-column:1/-1;
 margin:12px 0 4px;
 padding:5px 11px;
 line-height:1.3;
 font-size:13px;
 font-weight:850;
 color:#f5f7fa;
 background:#3c5164;
 border-left:4px solid #a1b5c7;
 border-radius:2px;
}
.archiveLetter:first-child{margin-top:0}
@media (prefers-color-scheme:light){
 .archiveLetter{background:#c9d8e4;color:#1e3549;border-left-color:#506f89}
}

.projectCustomerPicker{display:grid;gap:7px;align-content:start}
.projectCustomerPicker>button{justify-self:start}
.projectCustomerPicker>small:empty{display:none}

/* WEB12.3: four clear work areas, independent trash. */
@media(min-width:1000px){#homeDashboard .homeGrid,#documentsDashboard .homeGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}#homeDashboard .homeGrid>.launchTile,#documentsDashboard .homeGrid>.launchTile{grid-column:span 1!important}}
#documentsDashboard{margin:10px 0 26px}#documentsDashboard[hidden]{display:none!important}
body[data-workspace-view^="cestino-"] #sectionToolbar>button:first-child{margin-right:0}
.archiveTotals:not(:has(.acceptedTotal))>strong{color:inherit}

/* Archive states and bulk customer actions. */
.customerSelectToolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.customerSelectToolbar .customerDelete{margin-left:auto}
.customerRowIdentity{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.customerRowIdentity input[type=checkbox]{appearance:auto;flex:none;width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:#778899}
.customerRowIdentity .customerFolderName{min-width:0;overflow-wrap:anywhere;text-align:left}
.documentState{display:block;margin-top:5px;font-weight:650}
.renewalDialog{max-width:390px}
.renewalDialog input{display:block;width:100%;margin-bottom:10px}
#documentsDashboard .homeGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr}
#documentsDashboard .homeGrid>.launchTile{grid-column:span 1!important}
@media(max-width:700px){
 .customerRowIdentity{grid-column:1;grid-row:1}
 #documentsDashboard .homeGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

.documentState.documentRejected{color:#bf0016;font-weight:800}
@media(prefers-color-scheme:dark){.documentState.documentRejected{color:#ff4052}}
#documentsDashboard .homeGrid>.launchTile[data-destination=create-document]{
 border-left:4px solid #778899;
}
#documentsDashboard .launchTile .tileText strong{overflow-wrap:anywhere}
@media(min-width:1000px){
 #documentsDashboard .homeGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

.ticketToolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.65rem 0}
.ticketToolbar input{flex:1 1 15rem;min-width:0}
.ticketEmptyTrash{border-color:#bf5964}
.ticketList{display:grid;gap:.55rem}
.ticketRow{display:grid;gap:.35rem;border:1px solid #7b8b9890;padding:.65rem}
.ticketContents{width:100%;min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;text-align:left;padding:.45rem;margin:0}
button.ticketContents:not(:hover){background:transparent;color:inherit}
.ticketContents>div{min-width:0;display:grid;gap:.3rem}
.ticketActions{display:flex;gap:.45rem;flex-wrap:wrap;padding:0 .45rem}
.ticketActions button{margin:0;padding:.4rem .6rem}
.ticketExcerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.ticketBadge{flex:none;color:var(--ticket-color,currentColor);font-size:.9em;font-weight:750}
.ticketBadge[data-priority=bassa]{--ticket-color:#176540}
.ticketBadge[data-priority=media]{--ticket-color:#795900}
.ticketBadge[data-priority=alta]{--ticket-color:#9b420c}
.ticketBadge[data-priority=urgente]{--ticket-color:#a9182b}
@media(prefers-color-scheme:dark){
 .ticketBadge[data-priority=bassa]{--ticket-color:#69ce8e}
 .ticketBadge[data-priority=media]{--ticket-color:#f4d465}
 .ticketBadge[data-priority=alta]{--ticket-color:#ffad67}
 .ticketBadge[data-priority=urgente]{--ticket-color:#ff7379}
}
.ticketDialog{width:min(39rem,calc(100% - 1.3rem));max-height:90dvh;overflow:auto}
.ticketForm{display:grid;gap:.75rem}
.ticketForm label:not([hidden]){display:grid;gap:.34rem}
.ticketForm label:has(input[type=checkbox]):not([hidden]){display:flex;gap:.65rem;align-items:center}
.ticketForm :is(textarea,input:not([type=checkbox]),select){width:100%;box-sizing:border-box}
.projectApp:has(#panelWorkspace:not([hidden])) header {display:none}
