:root{--bg:#0a0d12;--surface:#111720;--surface2:#18212d;--line:#273241;--text:#f5f7fa;--muted:#91a0b2;--yellow:#f4c644;--green:#54d58a;--red:#ff7c7c;--blue:#79afff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 Inter,system-ui,-apple-system,sans-serif}button,input,select{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr}aside{padding:24px 16px;border-right:1px solid var(--line);background:#0d1218}.brand{font-weight:900;letter-spacing:.06em}.brand span{color:var(--yellow)}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:4px}nav{margin-top:28px;display:grid;gap:4px}nav button{border:0;background:transparent;color:var(--muted);padding:11px 12px;border-radius:9px;text-align:left;cursor:pointer}nav button.active,nav button:hover{background:var(--surface2);color:white}main{padding:28px;max-width:1450px;width:100%}.view{display:none}.view.active{display:block}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h1{margin:0;font-size:26px}h2{font-size:16px;margin:0}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:.08em;margin:0 0 4px}.primary,.secondary{border:0;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.primary{background:var(--yellow);color:#171717}.secondary{background:var(--surface2);border:1px solid var(--line);color:white}.wide{width:100%;margin-top:14px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.metric,.panel,.calendar-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:16px}.metric b{font-size:26px;display:block;margin-top:6px}.metric span,.panel-title span{color:var(--muted);font-size:11px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.layout{display:grid;grid-template-columns:1.5fr .85fr;gap:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}label{color:var(--muted);font-size:11px}input,select{width:100%;background:#0d131a;border:1px solid var(--line);color:white;padding:10px;border-radius:8px;margin-top:5px}.calendar-card{background:#282312;border-color:#5f501b;color:#ffe394;margin-bottom:12px}.gear-row,.fulfillment-row,.project-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.gear-row input{width:74px;margin:0}.sku{font-size:11px;color:var(--muted)}.pill{font-size:10px;padding:4px 8px;border-radius:999px;font-weight:800}.ready{background:#163b29;color:#72e1a2}.warning{background:#463714;color:#ffdc72}.short{background:#452126;color:#ff9a9a}.sticky{position:sticky;top:18px}.toolbar{display:flex;gap:10px;margin-bottom:12px}.toolbar input{margin:0}.toolbar select{max-width:220px;margin:0}.table-wrap{overflow:auto;padding:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:10px;text-transform:uppercase}.empty{text-align:center;padding:50px 20px;color:var(--muted)}#toast{position:fixed;bottom:20px;right:20px;background:white;color:#111;padding:11px 15px;border-radius:9px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}@media(max-width:800px){.app-shell{grid-template-columns:1fr}aside{position:sticky;top:0;z-index:4;padding:12px 14px;border-right:0;border-bottom:1px solid var(--line)}nav{display:flex;overflow:auto;margin-top:9px}nav button{white-space:nowrap}main{padding:18px 13px}.metrics{grid-template-columns:1fr 1fr}.layout{grid-template-columns:1fr}.sticky{position:static}.form-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.metrics,.form-grid{grid-template-columns:1fr}.toolbar{display:grid}header{align-items:flex-start}}
.worker-invoice-editor { margin-bottom: 22px; }
.import-mapping-panel{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:16px;background:#0d131a}.import-mapping-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.import-mapping-head h3{margin:0 0 4px;font-size:17px}.import-mapping-head span:not(.pill){color:var(--muted);font-size:12px}.import-quality-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.import-quality-summary button{display:grid;gap:2px;margin:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);font-size:11px;text-align:left}.import-quality-summary button:not(:disabled){cursor:pointer}.import-quality-summary button.active{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow)}.import-quality-summary strong{color:var(--text);font-size:18px}.import-quality-summary .needs-attention{border-color:#a93b48;background:#30171d}.import-quality-summary .needs-attention strong{color:#ff7384}.import-mapping-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.import-mapping-list label{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.8fr);align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.import-mapping-list label>span{overflow:hidden;color:var(--text);font-weight:750;text-overflow:ellipsis;white-space:nowrap}.import-mapping-list select{margin:0}.import-mapping-notes{display:grid;gap:7px;margin-top:12px;padding:11px 13px;border-radius:11px;background:#2d2612;color:#ffe28a}.import-mapping-notes p{margin:0;font-size:12px;line-height:1.4}@media(max-width:700px){.import-mapping-head{display:grid}.import-quality-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.import-mapping-list{grid-template-columns:1fr}.import-mapping-list label{grid-template-columns:1fr}.import-mapping-list label>span{white-space:normal}}
.import-review-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 4px}.import-review-pager>span{color:var(--muted);font-size:13px}.import-review-pager>div{display:flex;gap:8px}.import-review-pager button{width:auto;margin:0}@media(max-width:500px){.import-review-pager{align-items:stretch;flex-direction:column}.import-review-pager>div{display:grid;grid-template-columns:1fr 1fr}.import-review-pager button{width:100%}}
.rental-package-list{display:grid;gap:10px}.rental-package-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:13px;background:#0d131a}.rental-package-open{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer}.rental-package-open>strong{font-size:28px;color:var(--muted)}.rental-package-row h2,.rental-package-row p{margin:0}.rental-package-row p,.rental-package-row small{color:var(--muted)}.submenu-icon.packages{background:#7c5ce0;color:#fff}.template-editor,.template-detail-card{display:grid;gap:18px;max-width:760px;margin:0 auto}.template-editor>label{display:grid;gap:8px;font-weight:700}.template-editor>label input{font-size:18px}.template-source{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel-2)}.template-source span,.template-source small,.template-equipment-row small{color:var(--muted)}.template-equipment-list{display:grid;gap:0}.template-equipment-list h2{margin:0 0 8px}.template-equipment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.template-equipment-row>div{display:grid;gap:3px}.template-page-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template-page-actions button{width:100%}@media(max-width:650px){.rental-package-row{grid-template-columns:minmax(0,1fr) auto}.template-equipment-row{grid-template-columns:minmax(0,1fr) auto}.template-equipment-row>b{grid-column:1/-1;color:var(--muted);font-size:13px}.template-page-actions{grid-template-columns:1fr}}
.template-save-status{display:grid;gap:3px;padding:12px 14px;border:1px solid;border-radius:12px}.template-save-status.success{color:#5ce7a6;background:#0d3829;border-color:#287657}.template-save-status.unsuccessful{color:#ff8e98;background:#3c171d;border-color:#8b3540}.template-save-status span{font-size:13px;color:inherit}.template-save-status[hidden]{display:none}
.past-project-template-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid var(--line)}.past-project-template-row .project-row{border-bottom:0}.past-project-template-row>button:last-child{white-space:nowrap}@media(max-width:650px){.past-project-template-row{grid-template-columns:1fr}.past-project-template-row>button:last-child{width:100%;margin-bottom:12px}}
.worker-invoice-branding{display:grid;grid-template-columns:minmax(0,1fr) 150px auto auto;align-items:center;gap:12px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.worker-invoice-branding>div:first-child{display:grid;gap:5px}.worker-invoice-branding small{color:var(--muted);line-height:1.4}.worker-logo-preview{display:grid;place-items:center;min-height:74px;padding:8px;border:1px dashed var(--line);border-radius:10px;background:#fff;color:#20242a;text-align:center}.worker-logo-preview img{display:block;max-width:132px;max-height:66px;object-fit:contain}.worker-logo-preview b{font-size:13px}
.invoice-detail-mode > header,.invoice-detail-mode > .metrics,.invoice-detail-mode > .panel:last-child{display:none}.invoice-detail-mode .worker-invoice-editor{display:block;max-width:820px;margin:0 auto}.invoice-editor-title{align-items:flex-start;justify-content:flex-start}.invoice-editor-back{flex:0 0 auto;padding:9px 12px;border:1px solid #6f5a1d;border-radius:999px;background:#221d10;color:#fff0aa;font-weight:900;cursor:pointer}.invoice-editor-title>div{min-width:0}.invoice-filter{display:grid;gap:8px;width:100%;min-height:100px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.invoice-filter span{color:var(--muted);font-size:11px}.invoice-filter b{font-size:26px}.invoice-filter.active{border-color:var(--yellow);background:linear-gradient(145deg,#2b2513,var(--surface));box-shadow:inset 0 0 0 1px rgba(255,203,61,.18)}.invoice-filter.active span{color:#ffe792}.worker-notes-field{display:block}.worker-notes-field textarea{display:block;width:100%;min-height:140px;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#0d131a;color:white;font:inherit;line-height:1.5;resize:vertical}.worker-invoice-editor input[type="date"]{color-scheme:dark;cursor:pointer}
.invoice-date-control{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:7px;align-items:end}.invoice-date-control button{height:40px;margin-top:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:white;font-size:19px;cursor:pointer}.invoice-date-picker{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(8px)}.invoice-date-picker[hidden]{display:none}.invoice-date-picker-card{width:min(370px,100%);padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 24px 70px rgba(0,0,0,.6)}.invoice-date-picker-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px}.invoice-date-picker-head h2{text-align:center}.invoice-date-picker-head button{height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:white;font-size:24px}.invoice-date-weekdays,.invoice-date-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.invoice-date-weekdays{margin:16px 0 7px;color:var(--muted);font-size:10px}.invoice-date-days span,.invoice-date-days button{min-height:38px;border:0;border-radius:10px;background:transparent;color:white}.invoice-date-days button{cursor:pointer}.invoice-date-days button:hover,.invoice-date-days button.selected{background:var(--yellow);color:#171717;font-weight:900}
.worker-invoice-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.worker-invoice-open{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.worker-invoice-open>span:first-child{min-width:0;display:grid;gap:4px}.worker-invoice-open small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.worker-invoice-summary{display:grid;justify-items:end;gap:6px}.worker-invoice-summary em{font-style:normal}.worker-invoice-download{white-space:nowrap}@media(max-width:600px){.worker-invoice-row{grid-template-columns:1fr}.worker-invoice-download{width:100%}}
@media(max-width:700px){.worker-invoice-branding{grid-template-columns:1fr 1fr}.worker-invoice-branding>div:first-child{grid-column:1/-1}.worker-logo-preview{grid-column:1/-1}.worker-invoice-branding .secondary,.worker-invoice-branding .upload-document-button{width:100%;text-align:center}}
.editor-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.tier-cards { display: grid; gap: 10px; margin-top: 18px; }
.tier-cards > div { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.tier-cards span { color: var(--muted); font-size: 13px; }
.requirements-workspace { display: grid; gap: 18px; }
.company-forms-panel { display:grid; gap:16px; }
.company-form-card { display:grid; gap:12px; padding:16px; border:1px solid var(--line); border-radius:16px; background:var(--panel-2, #101924); }
.company-form-card header { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.company-form-card header div { display:grid; gap:4px; }
.company-form-card header span,.company-form-file small { color:var(--muted); }
.company-form-file { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:12px; }
.company-form-file div { min-width:0; display:grid; gap:3px; }
.company-form-file b,.company-form-file small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.company-form-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.company-form-actions > * { width:100%; }
.company-form-status { margin:0; padding:9px 12px; border-radius:10px; font-weight:800; }
.company-form-status.success { color:#72e1a2; background:#123725; border:1px solid #28744d; }
.company-form-status.error { color:#ff8d99; background:#3a1720; border:1px solid #8c3442; }
.requirement-list { display: grid; gap: 10px; }
.requirement-row { display: grid; grid-template-columns: minmax(240px, 1fr) auto 170px auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.requirement-row > div { display: grid; gap: 5px; }
.requirement-row small { color: var(--muted); }
.requirement-summary { min-width: 0; }
.requirement-saved-files { display: grid; gap: 6px; margin-top: 7px; }
.requirement-file-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.requirement-file-row > button:first-child { min-width: 0; display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: #0d131a; color: var(--text); text-align: left; cursor: pointer; }
.requirement-file-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.requirement-file-row small { flex: 0 0 auto; color: #9ec3ff; }
.requirement-file-delete,.requirement-pending-files button { border: 1px solid #75323b; border-radius: 9px; background: #28161a; color: #ff9a9a; font-weight: 800; cursor: pointer; }
.requirement-pending-files { display: grid; gap: 6px; margin-top: 7px; }
.requirement-pending-files > div { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px dashed #9f7d22; border-radius: 9px; background: #2b2411; }
.requirement-pending-files span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.requirement-pending-files small { flex: 0 0 auto; color: #ffe792; }
.requirement-card-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; padding-top: 5px; }
.requirement-card-actions button { width: 100%; min-height: 46px; }
.requirement-card-actions p { grid-column: 1 / -1; margin: 0; padding: 9px 12px; border: 1px solid #28744d; border-radius: 10px; background: #123725; color: #72e1a2; font-weight: 800; text-align: center; }
.requirement-card-actions p[hidden] { display: none; }
.requirement-toggle { display: flex; flex-direction: row; align-items: center; gap: 7px; color: var(--muted); }
.requirement-toggle input { width: auto; }
.upload-document-button { cursor: pointer; text-align: center; white-space: nowrap; }
.asset-history-files { display: grid; gap: 12px; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.asset-history-files > div:first-child { display: grid; gap: 4px; }
.asset-history-files small { color: var(--muted); }
.asset-history-attachment { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 8px; }
.asset-history-attachment span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-history-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.asset-history-summary > div { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.asset-history-summary span { color: var(--muted); font-size: 12px; }
.asset-history-summary b { font-size: 21px; }
.asset-timeline-row { width: 100%; text-align: left; border-left: 3px solid rgba(255,201,57,.5); }
.asset-timeline-row:hover,.asset-timeline-row:focus-visible { background: rgba(255,201,57,.06); }
.asset-report-link span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.asset-report-link em { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: rgba(252,199,66,.16); color: var(--accent); font-size: 11px; font-style: normal; }
.asset-timeline { display: grid; gap: 7px; }
.asset-timeline-row span { display: flex; align-items: center; gap: 8px; }
.asset-timeline-row i { flex: 0 0 auto; min-width: 52px; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); font-size: 10px; font-style: normal; text-align: center; text-transform: uppercase; }
@media (max-width: 620px) { .asset-history-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .asset-timeline-row span { align-items: flex-start; } }
.customer-row { width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; padding:15px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:inherit; text-align:left; }
.customer-row div { min-width:0; display:grid; gap:4px; }
.customer-row span,.customer-row small { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.customer-row { cursor:pointer; }
.customer-row-main { display:flex !important; grid-template-columns:none !important; align-items:center; gap:12px !important; }
.customer-row-copy { min-width:0; display:grid !important; gap:3px !important; }
.contact-avatar { width:62px; height:62px; flex:0 0 62px; display:grid; place-items:center; overflow:hidden; border-radius:20px; background:linear-gradient(145deg,#58677b,#222c39); color:white; font-size:18px; font-weight:900; }
.contact-avatar.small { width:46px; height:46px; flex-basis:46px; border-radius:15px; font-size:14px; }
.contact-avatar img { width:100%; height:100%; object-fit:cover; }
.contact-card-head { display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.contact-filter{display:grid;gap:8px;width:100%;min-height:100px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.contact-filter span{color:var(--muted);font-size:11px}.contact-filter b{font-size:26px}.contact-filter.active{border-color:var(--yellow);background:linear-gradient(145deg,#2b2513,var(--surface));box-shadow:inset 0 0 0 1px rgba(255,203,61,.18)}.contact-filter.active span{color:#ffe792}
.contacts-detail-mode > header,.contacts-detail-mode > .metrics,.contacts-detail-mode > .panel:last-child{display:none}.contacts-detail-mode .customer-editor{display:block;max-width:760px;margin:0 auto}.contact-editor-title{align-items:flex-start;justify-content:flex-start}.contact-editor-back{flex:0 0 auto;padding:9px 12px;border:1px solid #6f5a1d;border-radius:999px;background:#221d10;color:#fff0aa;font-weight:900;cursor:pointer}.contact-editor-title>div{min-width:0}.contact-editor-title h2{margin-top:2px}
.contact-card-head > div:last-child { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.contact-photo-button { display:inline-flex; align-items:center; margin:0; }
.contact-kind-picker { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px; padding:5px; border:1px solid var(--line); border-radius:13px; background:#0d131a; }
.contact-kind-picker button { border:0; border-radius:9px; padding:10px; background:transparent; color:var(--muted); font-weight:800; }
.contact-kind-picker button.active { background:var(--surface2); color:white; }
.contact-type-pills { display:flex; flex-wrap:wrap; gap:5px; }
.contact-type-pills span { padding:3px 7px; border-radius:999px; background:rgba(121,175,255,.12); color:#9ec3ff; font-size:10px; font-weight:800; }
.contact-quick-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.contact-quick-actions a { text-decoration:none; }
@media(max-width:480px){.contact-card-head{align-items:flex-start}.contact-card-head>div:last-child{display:grid}.customer-row-main{align-items:flex-start}}
.contact-duplicate-warning{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border:1px solid #a87825;border-radius:13px;background:#2a210e;color:#ffe7a1}.contact-duplicate-warning span{color:#dfc77e}.customer-project-history{display:grid;gap:14px;margin-top:18px}.customer-project-history>div{display:grid;gap:14px}.customer-project-history section{display:grid;gap:6px}.customer-project-history h4{margin:0;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.customer-row.archived{opacity:.68}.customer-row em{font-style:normal;font-size:10px}.contact-editor-title+ .contact-card-head{margin-top:12px}
.document-library-row { width:100%; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:inherit; text-align:left; }
.document-library-row div { min-width:0; display:grid; gap:4px; }
.document-library-row span,.document-library-row small { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.welcome-shell { max-width:520px; margin:0 auto; min-height:calc(100dvh - 180px); display:flex; flex-direction:column; justify-content:center; text-align:center; padding:24px 4px; }
.welcome-mark { width:86px; height:86px; margin:0 auto 24px; display:grid; place-items:center; border-radius:24px; background:linear-gradient(145deg,#fb4f79,#8a5cff); color:white; font-size:30px; font-weight:900; box-shadow:0 18px 50px rgba(138,92,255,.28); }
.welcome-shell h1 { font-size:clamp(34px,9vw,54px); line-height:1.02; margin:8px 0 14px; }
.welcome-copy { color:var(--muted); font-size:17px; line-height:1.5; margin:0 auto 28px; max-width:430px; }
.welcome-progress { display:grid; gap:8px; margin-bottom:24px; text-align:left; }
.welcome-step { display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
.welcome-step span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.08); color:var(--muted); }
.welcome-step.done span { background:#36c98f; color:#07140f; }
.welcome-skip { margin-top:10px; border:0; background:transparent; color:var(--muted); padding:12px; }
.welcome-mode .mobile-dock,.welcome-mode .app-back-button { display:none !important; }
@media(max-width:800px){.welcome-mode main{padding-bottom:24px}.welcome-shell{min-height:calc(100dvh - 130px);justify-content:flex-start;padding-top:40px}}
.practice-shell{max-width:620px;margin:0 auto;padding:12px 0 40px}.practice-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.practice-safe{margin:18px 0;padding:12px 14px;border-radius:13px;background:#153326;color:#78e5ab;font-weight:800}.practice-dots{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:20px 0}.practice-dots span{height:5px;border-radius:99px;background:var(--line)}.practice-dots span.active{background:var(--yellow)}.practice-card{padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.practice-card h2{font-size:26px;margin:4px 0 8px}.practice-card>p:not(.eyebrow){color:var(--muted);font-size:16px}.practice-project{display:grid;gap:4px;margin:22px 0;padding:16px;border-radius:15px;background:var(--surface2)}.practice-project small{color:var(--yellow);font-weight:900}.practice-project b{font-size:17px}.practice-project span{color:var(--muted)}.practice-detail{display:grid;gap:6px;padding-top:18px;border-top:1px solid var(--line);font-size:16px;line-height:1.7}
.requirement-file-actions { display: flex; gap: 6px; }
.system-test-panel { grid-column: 1 / -1; }
.system-test-row { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.system-test-row strong { display: block; }
.system-test-row small { color: var(--muted); }
.system-test-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.system-test-row.pass .system-test-icon { background: #163b29; color: #72e1a2; }
.system-test-row.fail .system-test-icon { background: #452126; color: #ff9a9a; }
.system-test-row.blocked { border:1px solid rgba(255,124,124,.55); border-radius:12px; padding:11px; margin:8px 0; background:rgba(255,124,124,.06); }
.system-test-row.blocked .system-test-icon { background:#642832; color:#ffd5d5; }
.beta-readiness-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.beta-readiness-overview>div{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);display:grid;gap:3px}.beta-readiness-overview span{font-size:11px;color:var(--muted)}.beta-readiness-overview b{font-size:24px}.beta-readiness-overview.ready{border-top:3px solid var(--green)}.beta-readiness-overview.attention{border-top:3px solid var(--yellow)}.beta-readiness-overview.blocked{border-top:3px solid var(--red)}.beta-readiness-group{margin-top:18px}.beta-readiness-group h3{margin:0;padding:0 0 8px;border-bottom:1px solid var(--line);font-size:14px;color:var(--yellow)}.beta-fix-action{margin-top:9px;padding:7px 10px}.system-test-row>div{min-width:0;display:grid;gap:3px}
@media(max-width:480px){.beta-readiness-overview{grid-template-columns:1fr}.beta-readiness-overview>div{grid-template-columns:1fr auto;align-items:center}.beta-readiness-overview b{font-size:20px}}
#copy-system-test { margin-top: 14px; }
.qa-mode-banner { position: sticky; top: 0; z-index: 9999; padding: 9px 14px; background: #b52a32; color: white; text-align: center; font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.operations-grid .panel:last-child { grid-column: 1 / -1; }
.inline-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.operation-control-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.operation-control-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.operation-control-list span { color: var(--muted); }
@media(max-width:760px){.operations-grid,.operation-control-list{grid-template-columns:1fr}.operations-grid .panel:last-child{grid-column:auto}}
.secure-cca { color: var(--yellow); font-size: 12px; font-weight: 700; text-align: center; }
.requirement-override { max-width: none; }
.override-entry { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 12px 0; }

.cloud-text-action{display:block;margin:8px 0 0 auto;padding:6px 0;border:0;background:transparent;color:#9ec3ff;font-weight:800;cursor:pointer}
.mobile-dock { display: none; }
.home-header span { color: var(--muted); }
.home-calendar-widget { display: block; width: min(100%, 600px); margin: 0 0 28px; padding: 18px; border: 1px solid #394453; border-radius: 26px; color: var(--text); background: linear-gradient(145deg,#20242b,#11151b); cursor: pointer; text-align: left; box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.home-widget-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.home-widget-head p { margin: 0; color: #ff666f; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-widget-head h2 { margin-top: 3px; font-size: 20px; }
.home-widget-head > span { color: #8bbfff; font-size: 12px; }
.home-mini-weekdays, .home-mini-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; }
.home-mini-weekdays { margin-top: 14px; color: var(--muted); font-size: 10px; }
.home-mini-calendar { gap: 3px 0; margin-top: 6px; }
.home-mini-calendar b, .home-mini-calendar span { display: grid; place-items: center; min-height: 27px; border-radius: 9px; font-size: 11px; }
.home-mini-calendar b.busy { color: #ffe792; }
.home-mini-calendar b.conflict { box-shadow: inset 0 0 0 1px #ff7c7c; }
.home-mini-calendar b.today { background: #e83d4d; color: white; }
.home-widget-status { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #394453; }
.home-widget-status span { color: var(--muted); font-size: 10px; text-align: center; }
.home-widget-status b { display: block; color: var(--text); font-size: 16px; }
.home-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.home-app { position: relative; display: grid; justify-items: center; gap: 5px; padding: 8px; border: 0; color: var(--text); background: transparent; cursor: pointer; text-align: center; }
.home-app[hidden], .mobile-dock button[hidden] { display: none !important; }
.home-app-icon { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 22px; color: white; font-size: 36px; font-style: normal; font-weight: 900; box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 8px 22px rgba(0,0,0,.22); }
.home-app-icon i, .home-app-icon strong { display: block; font-style: normal; }
.home-app-icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-calendar { align-content: center; background: white; color: #111; }
.app-calendar i { font-size: 11px; color: #e33; }
.app-calendar strong { font-size: 34px; line-height: 34px; }
.app-projects { background: linear-gradient(145deg,#ffad3d,#ef712e); }
.app-inventory { background: linear-gradient(145deg,#4da3ff,#1768d4); }
.app-cloud { background: linear-gradient(145deg,#7e7cff,#4942c7); }
.app-labels { background: linear-gradient(145deg,#36d5c5,#168f91); }
.app-damage { background: linear-gradient(145deg,#ff6868,#c72242); }
.app-team { background: linear-gradient(145deg,#6cc5ff,#2779e8); font-size: 20px; }
.app-invoices { background: linear-gradient(145deg,#4bdb87,#159653); }
.app-subrent { background: linear-gradient(145deg,#f4c644,#cb8b12); }
.app-operations { background: linear-gradient(145deg,#9b7cff,#5c3bbc); }
.app-settings { background: linear-gradient(145deg,#aab3bf,#626b78); }
.app-contacts { background: linear-gradient(145deg,#c06cff,#7734d3); }
.app-assistant { background: linear-gradient(145deg,#67c7ff,#4e5be8); font-size:13px; letter-spacing:.04em; }
.integration-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.integration-head p{margin:5px 0 0;color:var(--muted)}
.connected-account-identity{margin:20px 0 8px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025);overflow-wrap:anywhere}.connected-account-note{color:var(--muted);line-height:1.45}.connected-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.connected-account-actions button{width:100%}
@media(max-width:520px){.connected-account-actions{grid-template-columns:1fr}.integration-head{align-items:flex-start}.integration-head .pill{flex:0 0 auto}}
.assistant-panel{display:grid;gap:14px;max-width:760px}.assistant-panel label{display:grid;gap:7px}.assistant-answer{display:grid;gap:8px;margin-top:4px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.assistant-answer.blocked{border-color:#d3983e}.assistant-answer>p{margin:0;color:var(--muted)}.assistant-answer>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:13px 0;border:0;border-top:1px solid var(--line);color:var(--text);background:transparent;text-align:left}.assistant-answer>button span,.assistant-answer>button b,.assistant-answer>button small{display:block}.assistant-answer>button small{margin-top:3px;color:var(--muted)}.assistant-answer>button strong{color:#8bbfff;font-size:22px}
.assistant-input-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.assistant-input-actions button{min-height:48px}.assistant-voice-status{margin:0;color:var(--muted);font-size:12px}.assistant-voice-status[data-state="listening"]{color:#8bbfff}.assistant-voice-status[data-state="permission_denied"],.assistant-voice-status[data-state="error"]{color:#f2b15f}@media(max-width:430px){.assistant-input-actions{grid-template-columns:1fr}}
.home-app b { font-size: 14px; }
.home-app small { color: var(--muted); font-size: 10px; }
.home-app em { position: absolute; top: 1px; left: calc(50% + 22px); min-width: 24px; padding: 2px 7px; border: 2px solid var(--bg); border-radius: 999px; background: #ff3b4e; color: white; font-size: 11px; font-style: normal; font-weight: 900; }
.calendar-overview { display: grid; gap: 12px; }
.calendar-booking { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.calendar-booking-date { display: grid; }
.calendar-booking-date b { font-size: 18px; color: var(--yellow); }
.calendar-booking-date span, .calendar-booking p { margin: 3px 0 0; color: var(--muted); }
.production-calendar { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.calendar-toolbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.calendar-toolbar h2 { text-align: center; font-size: 20px; }
.calendar-toolbar button { min-width: 42px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 14px; color: var(--muted); font-size: 11px; }
.calendar-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; }
.calendar-legend .project::before { background: linear-gradient(135deg,#5b8def 50%,#f06c8e 50%); }.calendar-legend .pickup::before { background: #43d17d; }.calendar-legend .return::before { background: #ff616d; }.calendar-legend .conflict::before { background: #ff7c7c; }
.calendar-weekdays, .production-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-weekdays b { padding: 8px 4px; color: var(--muted); text-align: center; font-size: 10px; }
.production-day { min-width: 0; min-height: 112px; padding: 7px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.production-day:nth-child(7n) { border-right: 0; }
.production-day > b { display: block; margin-bottom: 5px; }
.production-day.outside { background: #0c1117; }
.production-day.has-conflict { background: rgba(255,124,124,.08); }
.calendar-event { display: block; overflow: hidden; width: 100%; margin: 3px 0; padding: 3px 5px; border: 0; border-radius: 5px; color: white; background:var(--project-color,#5b8def); text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 800; text-shadow:0 1px 2px rgba(0,0,0,.45); }
.calendar-event i{display:none;width:6px;height:6px;margin-right:4px;border-radius:50%}.calendar-event.pickup i,.calendar-event.return i{display:inline-block;box-shadow:0 0 0 1px rgba(0,0,0,.25)}.calendar-event.pickup i{background:#43d17d}.calendar-event.return i{background:#ff616d}
.calendar-conflict { display: inline-block; margin-bottom: 3px; padding: 2px 4px; border-radius: 4px; background: #ff7c7c; color: #201015; font-size: 8px; font-weight: 900; }
.calendar-empty-note { display: grid; gap: 4px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); }
.calendar-empty-note b { color: var(--text); }
.scanner-intro { margin-bottom: 14px; }.scanner-intro p { margin-bottom: 0; color: var(--muted); }
.scanner-project-list { display: grid; gap: 10px; }
.scanner-project { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.scanner-project span, .scanner-project p { color: var(--muted); }.scanner-project h2 { margin: 4px 0; }.scanner-project p { margin: 0; }
.hub-subtitle { color: var(--muted); }
.app-submenu { display: grid; gap: 22px; max-width: 760px; }
.submenu-group { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.submenu-group button { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 13px; width: 100%; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.submenu-group button:last-child { border-bottom: 0; }
.submenu-group button > span:nth-child(2) { min-width: 0; }
.submenu-group b, .submenu-group small { display: block; }
.submenu-group small { margin-top: 2px; color: var(--muted); }
.submenu-group strong { color: #657182; font-size: 24px; }
.submenu-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: white; font-size: 17px; font-weight: 900; }
.submenu-icon.projects { background: #ef7a32; }.submenu-icon.new { background: #3ebd73; }.submenu-icon.schedule { background: #e83d4d; }.submenu-icon.quotes { background: #3c8be8; }.submenu-icon.fulfillment { background: #da9a25; }.submenu-icon.checkout { background: #28aaa0; }
.submenu-icon.inventory { background: #3c8be8; }.submenu-icon.assets { background: #28aaa0; }.submenu-icon.import { background: #8f68df; }.submenu-icon.library { background: #5855dc; }.submenu-icon.labels { background: #20a99f; }.submenu-icon.damage { background: #e83d4d; }.submenu-icon.maintenance { background: #697586; }
.submenu-icon.subrent { background: #da9a25; }.submenu-icon.invoices { background: #36b970; }.submenu-icon.locations { background: #7559d4; }.submenu-icon.account { background: #697586; }.submenu-icon.team { background: #3c8be8; }
.app-back-button { margin: 0 0 14px; padding: 7px 2px; border: 0; color: #8bbfff; background: transparent; font-weight: 800; cursor: pointer; }
.gear-browser-head { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--muted); }
.gear-browser-head span { font-weight: 800; }
.gear-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.gear-category-grid[hidden] { display: none; }
.gear-category-grid button { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface); text-align: left; }
.gear-category-grid b, .gear-category-grid small { display: block; }
.gear-category-grid small { margin-top: 3px; color: var(--muted); }
.gear-category-grid strong { color: #8bbfff; font-size: 24px; }
.gear-picker-panel.category-open { position: fixed; inset: 0; z-index: 55; overflow-y: auto; margin: 0; padding: max(18px,env(safe-area-inset-top)) max(18px,calc((100vw - 900px)/2)) max(110px,calc(30px + env(safe-area-inset-bottom))); border: 0; border-radius: 0; background: #0b1016; }
.gear-picker-panel.category-open > .panel-title { display: none; }
.gear-picker-panel.category-open .gear-browser-head { position: sticky; top: -18px; z-index: 3; padding: 16px 0 12px; background: #0b1016; }
.project-date-picker { margin: 14px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.project-date-picker-head { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; text-align: center; }
.project-date-picker-head button { width: 44px; height: 44px; padding: 0; font-size: 24px; }
.project-date-picker-head span { color: #f4c644; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.project-date-picker-head h2 { margin: 3px 0 0; }
.project-date-weekdays, .project-date-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.project-date-weekdays { margin: 16px 0 6px; color: var(--muted); font-size: 10px; text-align: center; }
.project-date-calendar button { min-width: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; color: var(--text); background: #0d131a; }
.project-date-calendar button.today { outline: 1px solid #7394bd; }
.project-date-calendar button.in-range { border-radius: 4px; background: #24384d; }
.project-date-calendar button.range-start, .project-date-calendar button.range-end { color: #15120a; background: #f4c644; font-weight: 900; }
.project-date-picker > p { margin: 12px 0 0; color: var(--muted); text-align: center; }
.workspace-equipment-browser { margin-bottom: 16px; }
.workspace-category-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }
.workspace-category-items { display: grid; gap: 8px; }
.workspace-category-item { display: grid; grid-template-columns: minmax(0,1fr) 92px; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #0d131a; }
.workspace-category-item b, .workspace-category-item small { display: block; }
.workspace-category-item small { margin-top: 4px; color: var(--muted); }
.workspace-category-item label { color: var(--muted); font-size: 10px; }
.workspace-category-item input { width: 100%; margin: 4px 0 0; }
.submenu-group button.submenu-coming { cursor: default; opacity: .72; }
.submenu-group button em { color: var(--muted); font-size: 10px; font-style: normal; white-space: nowrap; }
.calendar-conflict { border: 0; cursor: pointer; }
.calendar-conflict-panel { margin-top: 14px; }
.conflict-gear-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.conflict-gear-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.conflict-gear-row strong { color: #ff9a9a; }
.conflict-project-heading { margin: 18px 0 8px; }
.conflict-project-list { display: grid; gap: 7px; }
.conflict-project-list button { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: #0d131a; text-align: left; }
.conflict-project-list span, .conflict-project-list small { display: block; }.conflict-project-list small { margin-top: 3px; color: var(--muted); }.conflict-project-list strong { color: #8bbfff; font-size: 11px; }
.maintenance-editor { margin-bottom: 18px; }
.maintenance-editor textarea { width: 100%; margin: 5px 0 12px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: white; background: #0d131a; font: inherit; resize: vertical; }
.maintenance-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; }
.maintenance-row span, .maintenance-row small { display: block; }.maintenance-row > div > span, .maintenance-row small { margin-top: 3px; color: var(--muted); }
@media(max-width:600px){.maintenance-row{grid-template-columns:1fr}.maintenance-row>.pill{justify-self:start}}

@media (max-width: 800px) {
  aside { position: relative; padding: 15px 14px; background: #0d1218; }
  aside .cloud-account, aside nav { display: none; }
  main { padding-bottom: 96px; }
  .app-back-button { position: fixed; z-index: 60; bottom: calc(86px + env(safe-area-inset-bottom)); left: 14px; margin: 0; padding: 10px 15px; border: 1px solid #6f5a1d; border-radius: 999px; color: #fff0aa; background: rgba(34,29,16,.96); box-shadow: 0 8px 24px rgba(0,0,0,.42); backdrop-filter: blur(14px); }
  .gear-category-grid { grid-template-columns: minmax(0,1fr); }
  .mobile-dock { position: fixed; z-index: 50; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); left: 10px; display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin: 0; padding: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #171d26; box-shadow: 0 12px 35px rgba(0,0,0,.45); isolation: isolate; transform: translateZ(0); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mobile-dock button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); font-size: 10px; }
  .mobile-dock button span { font-size: 20px; }
  .mobile-dock button.active { background: rgba(255,255,255,.08); color: white; }
  .home-calendar-widget { width: 100%; margin-bottom: 26px; padding: 15px; border-radius: 22px; }
  .home-app-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 8px; }
  .home-app-icon { width: 72px; height: 72px; border-radius: 18px; font-size: 30px; }
  .home-app-icon svg { width: 40px; height: 40px; }
  .home-app small { display: none; }
  .calendar-booking { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
  .calendar-booking button { grid-column: 1 / -1; width: 100%; }
  .production-day { min-height: 74px; padding: 4px 3px; }
  .production-day > b { font-size: 11px; }
  .calendar-event { padding: 2px 3px; font-size: 7px; }
  .calendar-legend { gap: 8px; padding: 8px 10px; }
  .scanner-project { grid-template-columns: 1fr; }
  .scanner-project button { width: 100%; }
  .mobile-dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
}

@media (max-width: 360px) {
  .home-app-icon { width: 64px; height: 64px; }
  .home-app b { font-size: 12px; }
  .home-widget-status { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .requirement-row { grid-template-columns: 1fr 1fr; }
  .requirement-row > div { grid-column: 1 / -1; }
  .editor-actions, .override-entry { grid-template-columns: 1fr; display: grid; }
  .editor-actions button { width: 100%; }
}

.inventory-identity { display: flex; align-items: center; gap: 12px; min-width: 280px; }
.inventory-logo { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 12px; object-fit: cover; background: #f5f2ea; }
.project-setup-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:700px;margin:0 auto 24px}.project-setup-progress div{display:grid;justify-items:center;gap:7px;color:var(--muted);font-size:11px;text-align:center}.project-setup-progress span{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-weight:900}.project-setup-progress .active,.project-setup-progress .done{color:var(--text)}.project-setup-progress .active span{background:var(--yellow);border-color:var(--yellow);color:#171717}.project-setup-progress .done span{background:#36c98f;border-color:#36c98f;color:#07140f}.project-setup-intro{max-width:700px;margin:0 auto 20px;text-align:center}.project-setup-intro>span{color:var(--yellow);font-size:11px;font-weight:900;letter-spacing:.1em}.project-setup-intro h2{margin:8px 0;font-size:clamp(27px,7vw,40px)}.project-setup-intro p{margin:0;color:var(--muted);font-size:16px}.project-setup-focus{max-width:700px;margin:0 auto}.project-color-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px}.project-color-panel p{margin:4px 0 0;color:var(--muted)}.project-color-picker{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.project-color-picker button{width:34px;height:34px;padding:0;border:3px solid transparent;border-radius:50%;background:var(--choice-color);box-shadow:0 0 0 1px var(--line)}.project-color-picker button.selected{border-color:white;box-shadow:0 0 0 2px var(--choice-color)}.project-setup-actions{position:fixed;z-index:1200;left:50%;transform:translateX(-50%);bottom:24px;display:flex;justify-content:center;gap:10px;width:min(700px,calc(100% - 32px));margin:0;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(23,29,38,.96);backdrop-filter:blur(16px)}.project-setup-actions button{min-width:130px}.project-logistics{margin-top:14px}
.other-cost-groups,.pricing-review{display:grid;gap:14px}.other-cost-card,.pricing-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}.other-cost-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.other-cost-head h2,.pricing-card h2{font-size:19px}.other-cost-head p,.pricing-card p{color:var(--muted);margin:4px 0}.other-cost-head small{color:var(--yellow)}.other-cost-lines{display:grid;gap:10px;margin-top:14px}.other-cost-line{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(76px,.7fr)) minmax(90px,.8fr) auto;gap:9px;align-items:end;padding-top:12px;border-top:1px solid var(--line)}.other-cost-total{display:grid;gap:5px;padding-bottom:9px}.other-cost-total span{color:var(--muted);font-size:11px}.other-cost-empty{color:var(--muted);margin:0}.pricing-card>div:not(.discount-presets):not(.discount-order){display:flex;justify-content:space-between;gap:12px;padding:7px 0}.pricing-card .pricing-strong{border-top:1px solid var(--line);margin-top:5px;font-size:16px}.pricing-card .pricing-grand{border-top:1px solid var(--line);margin-top:8px;color:var(--yellow);font-size:20px}.discount-presets{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.discount-presets button,.discount-order button{border:1px solid var(--line);border-radius:9px;background:#0d131a;color:white;padding:10px;font-weight:800}.discount-presets button.active,.discount-order button.active{background:var(--yellow);border-color:var(--yellow);color:#171717}.discount-order{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.discount-equivalent{color:var(--yellow)!important;font-weight:800}
.other-cost-pricing-mode{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}.other-cost-pricing-mode>span{color:var(--muted);font-size:11px}.other-cost-pricing-mode>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#0d131a}.other-cost-pricing-mode button{border:0;border-radius:8px;padding:8px 12px;background:transparent;color:var(--muted);font-weight:800}.other-cost-pricing-mode button.active{background:var(--yellow);color:#171717}.other-cost-line.flat-pricing{grid-template-columns:minmax(180px,2fr) minmax(76px,.7fr) minmax(120px,1fr) minmax(90px,.8fr) auto}
@media(max-width:600px){.project-color-panel{display:grid}.project-color-picker{justify-content:flex-start}.project-setup-actions{bottom:82px}.project-setup-step .layout{display:block}.project-setup-step .sticky{margin-top:14px}.other-cost-pricing-mode{display:grid}.other-cost-pricing-mode>div{width:100%}}
@media(max-width:600px){.project-setup-progress{gap:3px}.project-setup-progress div{font-size:9px}.project-setup-progress span{width:28px;height:28px}.other-cost-head{align-items:stretch}.other-cost-head .primary{white-space:nowrap}.other-cost-line{grid-template-columns:1fr 1fr}.other-cost-line label:first-child{grid-column:1/-1}.other-cost-total{align-self:end}.discount-presets{grid-template-columns:repeat(5,1fr);gap:5px}.discount-presets button{padding:9px 2px;font-size:11px}.discount-order{grid-template-columns:1fr!important}}
.project-setup-mode .app-back-button{display:none!important}
.gear-search-summary{display:grid;gap:3px;margin:10px 0;padding:12px 4px;border-bottom:1px solid var(--line)}.gear-search-summary span{color:var(--muted);font-size:11px}
.rental-document-table .rental-department-row th{background:#171d26;color:#fff;font-size:12px;letter-spacing:.08em}.rental-document-table .rental-subcategory-row th{background:#e9edf2;color:#171d26;font-size:11px;padding-left:22px}
@media(max-width:600px){.project-setup-actions{bottom:100px}}
.guided-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0 22px}.damage-report-editor .guided-progress{grid-template-columns:repeat(5,minmax(0,1fr))}.guided-progress div{display:grid;justify-items:center;gap:5px;color:var(--muted);font-size:9px;text-align:center}.guided-progress span{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-weight:900}.guided-progress .active,.guided-progress .done{color:var(--text)}.guided-progress .active span{background:var(--yellow);border-color:var(--yellow);color:#171717}.guided-progress .done span{background:#36c98f;border-color:#36c98f;color:#07140f}.guided-intro{margin:0 auto 20px;max-width:620px;text-align:center}.guided-intro>span{color:var(--yellow);font-size:10px;font-weight:900;letter-spacing:.09em}.guided-intro h2{margin:7px 0;font-size:clamp(24px,6vw,34px)}.guided-intro p{margin:0;color:var(--muted);font-size:15px}.guided-source{display:grid;gap:10px}.guided-choice{display:grid;gap:4px;width:100%;padding:17px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);text-align:left}.guided-choice b{font-size:17px}.guided-choice span{color:var(--muted)}.guided-review-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface2)}.guided-review-card img{width:110px;height:110px;border-radius:14px;object-fit:cover}.guided-review-card>div{display:grid;align-content:center;gap:5px}.guided-review-card p{margin:0}.guided-review-card span,.guided-review-card small{color:var(--muted)}.guided-actions{position:sticky;z-index:24;bottom:100px;display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(23,29,38,.94);backdrop-filter:blur(16px)}.guided-actions button{min-width:120px}
@media(max-width:600px){.guided-review-card{grid-template-columns:1fr}.guided-review-card img{width:100%;height:auto;aspect-ratio:16/9}.guided-progress b{font-size:8px}.guided-actions{bottom:100px}.inventory-add-panel,.damage-report-editor{padding:16px 13px}}
.guided-source[hidden],.guided-review[hidden],[data-inventory-guide-step][hidden],[data-damage-guide-step][hidden]{display:none!important}.guided-editor-mode .app-back-button{display:none!important}
.return-inspection-help{margin:4px 0 12px;color:var(--muted)}
.rental-journey{margin-bottom:14px;padding:18px;border:1px solid #4a4120;border-radius:18px;background:linear-gradient(145deg,#29230f,#17150f)}
.rental-journey-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.rental-journey-steps div{display:grid;justify-items:center;gap:6px;color:var(--muted);font-size:10px;text-align:center}
.rental-journey-steps span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #4d4b43;border-radius:50%;background:#171a1e;font-weight:900}
.rental-journey-steps .active,.rental-journey-steps .done{color:var(--text)}
.rental-journey-steps .active span{background:var(--yellow);border-color:var(--yellow);color:#171717}
.rental-journey-steps .done span{background:#36c98f;border-color:#36c98f;color:#07140f}
.rental-journey>p{margin:18px 0 0;color:#d6ccb0}
.project-tools{border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.project-tools>summary{padding:15px 16px;cursor:pointer;font-weight:900}
.project-tools .project-flow-list{padding:0 10px 10px}
@media(max-width:430px){.rental-journey{padding:15px 12px}.rental-journey-steps b{font-size:9px}}
.home-today{max-width:600px;margin:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.home-today-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.home-view-all{padding:8px 0;border:0;background:transparent;color:var(--yellow);font-weight:900;cursor:pointer}.home-view-all[hidden]{display:none}.home-next-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.home-next-row span{display:grid;gap:3px}.home-next-row small,.home-caught-up span{color:var(--muted)}.home-next-row strong{font-size:24px;color:var(--muted)}.home-caught-up{display:grid;gap:4px;padding:18px 2px}.home-apps{max-width:900px;margin:14px 0 0}.home-apps-heading{margin:0 0 12px;padding:0 4px}.home-apps-heading h2{margin-top:3px}.advanced-pricing>summary{cursor:pointer;font-weight:900}
.home-notification-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 2px;border-top:1px solid var(--line)}.home-notification-row span{display:grid;gap:4px;min-width:0}.home-notification-row small{color:var(--muted);line-height:1.4}.home-notification-row button{flex:0 0 auto;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);color:var(--text);font-weight:800}
.home-notification-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px;color:var(--muted);font-size:12px}.home-notification-tools button{border:0;background:transparent;color:var(--yellow);font-weight:900;padding:8px}
.home-sync-issue{display:grid;gap:12px;padding:15px;border:1px solid #7d641e;background:#2b2412;border-radius:12px}.home-sync-issue>span{display:grid;gap:4px}.home-sync-issue small{color:#d9c889}.home-sync-issue>div{display:flex;gap:8px;flex-wrap:wrap}.has-sync-issue{outline:2px solid #c99b27;outline-offset:-2px;background:#2a2415}.inventory-sync-warning{display:block;margin-top:8px;border:1px solid #b88c22;background:#3b3016;color:#ffd86b;border-radius:8px;padding:7px 9px;font-weight:900;text-align:left}.inventory-conflict-panel{margin:12px 0 16px;padding:16px;border:2px solid #c99b27;border-radius:14px;background:#211d13}.inventory-conflict-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.inventory-conflict-head h2{font-size:22px}.issue-state{display:inline-block;margin-top:8px;border-radius:999px;background:#4a3916;color:#ffdc72;padding:5px 9px;font-size:11px;font-weight:900}.conflict-difference{display:grid;grid-template-columns:minmax(110px,.8fr) 1fr 1fr;gap:10px;padding:11px 0;border-top:1px solid #55451e}.conflict-difference span{display:grid;gap:2px;overflow-wrap:anywhere}.conflict-difference small{color:var(--muted)}.conflict-resolution-actions{display:flex;gap:10px;margin-top:14px}.conflict-resolution-actions button{flex:1;min-height:44px}@media(max-width:600px){.conflict-difference{grid-template-columns:1fr 1fr}.conflict-difference>b{grid-column:1/-1}.conflict-resolution-actions{display:grid}.home-sync-issue>div{display:grid}.home-sync-issue button{width:100%}}
.issue-responsibility{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,.65fr) minmax(120px,.55fr) minmax(110px,.45fr) auto;align-items:end;gap:10px;margin:14px 0;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.issue-responsibility>div{display:grid;gap:3px}.issue-responsibility small{color:var(--muted);font-weight:900;letter-spacing:.08em}.issue-responsibility span{color:var(--muted);font-size:12px}.issue-responsibility label{display:grid;gap:5px;color:var(--muted);font-size:12px}.issue-responsibility input,.issue-responsibility select{min-height:44px}.issue-responsibility.assigned{grid-template-columns:1fr auto;border-color:#7d641e}@media(max-width:700px){.issue-responsibility,.issue-responsibility.assigned{grid-template-columns:1fr}.issue-responsibility button{width:100%}}
.sync-record-warning{display:block!important;margin-top:7px;color:#ffd86b!important;font-weight:900}.worker-invoice-row.has-sync-issue,.damage-report-row.has-sync-issue,.maintenance-row.has-sync-issue,.customer-row.has-sync-issue{border-radius:12px}
.field-conflict-card{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid #665324;border-radius:12px}.field-conflict-card legend{padding:0 6px;font-weight:900}.field-conflict-original,.field-conflict-card label{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;padding:10px;border-radius:9px;background:#171a20}.field-conflict-original{grid-template-columns:1fr;border:1px solid #343b46}.field-conflict-card label{border:1px solid #48515e;cursor:pointer}.field-conflict-card label:has(input:checked){border-color:#ffcb42;background:#332a13}.field-conflict-card label span,.field-conflict-original{gap:3px}.field-conflict-card small{display:block;color:var(--muted)}.field-conflict-card input{width:18px;height:18px;margin:0;accent-color:#ffcb42}
.project-row.has-project-sync-issue{border:2px solid #c99b27;background:#2a2415}.project-sync-warning{display:block;margin-top:7px;color:#ffd86b;font-size:12px;font-weight:900}
.project-sync-context{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:18px;border:1px solid #8f6d20;border-radius:16px;background:#2b2413;color:#f7f8fb}.project-sync-context.blocked{border-color:#ef5262;background:#32181d}.project-sync-context h2{margin:3px 0 5px;font-size:20px}.project-sync-context p{margin:0;color:#c7d0dd;line-height:1.45}.project-sync-context .eyebrow{color:#ffd04a;font-size:11px;font-weight:800;letter-spacing:.12em}.scanner-project.has-project-sync-issue{border-color:#8f6d20;background:#211d13}
@media(max-width:620px){.project-sync-context{align-items:stretch;flex-direction:column}.project-sync-context button{width:100%}}
.document-issue-panel{margin:0 0 16px;padding:18px;border:1px solid #8f6d20;border-radius:16px;background:#282313}.document-issue-panel.blocked{border-color:#ef5262;background:#32181d}.document-issue-panel.ready{display:flex;align-items:center;justify-content:space-between;border-color:#267c59;background:#10291f}.document-issue-panel h2{margin:3px 0 5px;font-size:20px}.document-issue-panel p{margin:0;color:#c7d0dd}.document-issue-panel>.eyebrow,.document-issue-panel .eyebrow{color:#ffd04a;font-size:11px;font-weight:800;letter-spacing:.12em}.document-issue-panel.ready>span{color:#50dda1;font-weight:900}.requirement-expiration{display:grid;gap:6px;color:#aeb9c9;font-size:12px}.requirement-expiration span{font-weight:400}.requirement-expiration input{width:100%}
.workflow-readiness{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.workflow-readiness>div:first-child{display:grid;gap:5px}.workflow-readiness h2{margin:0}.workflow-readiness span{color:var(--muted);line-height:1.4}.workflow-readiness.blocked{border-color:#7d3540;background:linear-gradient(180deg,rgba(125,53,64,.16),var(--surface))}.workflow-readiness.attention{border-color:#6f591c;background:linear-gradient(180deg,rgba(111,89,28,.15),var(--surface))}.workflow-readiness.ready{border-color:#246346;background:linear-gradient(180deg,rgba(36,99,70,.14),var(--surface))}.workflow-issue-list{display:grid;gap:8px}.workflow-issue-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);color:var(--text);text-align:left}.workflow-issue-row span{display:grid;gap:4px;min-width:0}.workflow-issue-row small{color:var(--muted);line-height:1.35}.workflow-issue-row strong{color:var(--yellow);font-size:13px;white-space:nowrap}.workflow-issue-row.critical{border-left:4px solid var(--red)}.workflow-issue-row.warning{border-left:4px solid var(--yellow)}.workflow-issue-row.information{border-left:4px solid #4b9cff}.workflow-ready-check{padding:12px;border-radius:12px;background:rgba(52,211,153,.12);color:#5be2a9;font-weight:900}.checkout-readiness{margin-bottom:14px}
@media(max-width:600px){.workflow-issue-row{grid-template-columns:1fr}.workflow-issue-row strong{white-space:normal}}
.data-protection-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.backup-preview{padding:16px;margin:14px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft,#f6f7f9)}.backup-preview strong,.backup-preview small{display:block}.backup-preview small,.backup-preview p{color:var(--muted);margin-top:6px}.backup-preview div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.backup-preview div span{padding:6px 9px;border-radius:999px;background:var(--surface,#fff);font-size:12px}
.customer-portal-manager{margin-top:16px}.portal-create-controls{display:flex;align-items:end;gap:10px;margin-top:14px}.portal-create-controls label{flex:1}.portal-manager-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.portal-manager-row b,.portal-manager-row small{display:block}.portal-manager-row b{text-transform:capitalize}.portal-manager-row small{color:var(--muted);margin-top:4px}.portal-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.portal-operation-status{margin:10px 0 0;color:var(--green);font-weight:700}.portal-operation-status.error{color:var(--red)}.portal-share-result{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.portal-share-result p{margin:5px 0 12px;color:var(--muted)}.portal-share-result input{width:100%;margin-top:6px}.portal-share-actions{display:flex;gap:8px;margin-top:10px}.portal-share-result small{display:block;margin-top:8px;color:var(--muted)}@media(max-width:600px){.portal-create-controls,.portal-share-actions{align-items:stretch;flex-direction:column}.portal-manager-row{align-items:flex-start;flex-direction:column}.portal-row-actions{width:100%;justify-content:stretch}.portal-manager-row button,.portal-share-actions button{width:100%}}
.portal-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.project-field-needs-attention{border-color:#ff5364!important;box-shadow:0 0 0 2px rgba(255,83,100,.18)!important}.project-field-needs-attention input,.project-field-needs-attention select,input[aria-invalid="true"],select[aria-invalid="true"]{border-color:#ff5364!important;background:rgba(255,83,100,.08)!important}.project-field-error,.project-section-error{display:block;color:#ff7b88;font-weight:800;line-height:1.35}.project-field-error{margin-top:7px;font-size:12px}.project-section-error{margin:0 0 14px;padding:12px 14px;border:1px solid #ff5364;border-radius:12px;background:rgba(255,83,100,.1);font-size:14px}
.date-change-impact{border-color:#f2b93b;background:rgba(242,185,59,.08)}.date-change-impact ul{margin:12px 0;padding-left:20px;display:grid;gap:8px}.date-change-impact small{display:block;color:var(--yellow);line-height:1.45}.date-change-impact .eyebrow{color:var(--yellow);font-weight:900;letter-spacing:.12em}
.customer-request-summary,
.request-overview,
.request-source-note,
.customer-request-row,
.request-extra-lines {
  background: var(--panel, #111a25);
  border: 1px solid var(--line, #2b3949);
  border-radius: 18px;
  padding: 18px;
}
.customer-request-summary { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.customer-request-summary.attention { border-color:#9b6c18; }
.customer-request-summary.ready { border-color:#287758; }
.customer-request-summary h2,.request-overview h2 { margin:4px 0 6px; }
.customer-request-summary span,.request-overview p,.request-extra-lines p { color:var(--muted, #a7b4c5); }
.customer-request-workspace { display:grid; gap:16px; }
.request-source-note { display:grid; gap:8px; }
.request-source-note textarea { min-height:88px; }
.customer-request-list { display:grid; gap:16px; }
.customer-request-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.customer-request-row.attention { border-color:#a34b56; }
.customer-request-row.ready { border-color:#287758; }
.customer-request-result { grid-column:1/-1; display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding-bottom:14px; border-bottom:1px solid var(--line, #2b3949); }
.customer-request-result div { display:grid; gap:5px; }
.customer-request-result small { color:var(--muted, #a7b4c5); }
.customer-request-result > span { color:#ffd04a; text-align:right; font-weight:800; }
.customer-request-row.ready .customer-request-result > span { color:#4fe09d; }
.customer-request-row label { display:grid; gap:7px; color:var(--muted, #a7b4c5); }
.customer-request-row label:has(textarea),.request-approval-check,.customer-request-actions,.customer-request-row > .wide { grid-column:1/-1; }
.request-approval-check { display:flex !important; align-items:center; color:var(--text, #f5f7fb) !important; }
.request-approval-check input { width:auto; }
.customer-request-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width: 680px) {
  .customer-request-summary,.customer-request-result { flex-direction:column; align-items:stretch; }
  .customer-request-summary button { width:100%; }
  .customer-request-result > span { text-align:left; }
  .customer-request-row { grid-template-columns:1fr; padding:15px; }
  .customer-request-row label,.customer-request-actions,.customer-request-row > .wide { grid-column:1; }
  .customer-request-actions { grid-template-columns:1fr; }
}
.quote-readiness-panel { border:1px solid var(--line,#2b3949); border-radius:18px; padding:18px; display:grid; gap:12px; margin-bottom:18px; background:var(--panel,#111a25); }
.quote-readiness-panel.blocked { border-color:#a34b56; }
.quote-readiness-panel.attention { border-color:#9b6c18; }
.quote-readiness-panel.ready { border-color:#287758; }
.quote-readiness-heading h2 { margin:4px 0 5px; }
.quote-readiness-heading span { color:var(--muted,#a7b4c5); }
.quote-readiness-issue { width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; text-align:left; padding:14px; border-radius:14px; background:#0d151f; border:1px solid #394758; color:inherit; }
.quote-readiness-issue.critical { border-color:#a34b56; }
.quote-readiness-issue.warning { border-color:#9b6c18; }
.quote-readiness-issue span { display:grid; gap:5px; }
.quote-readiness-issue small { color:var(--muted,#a7b4c5); }
.quote-readiness-issue strong { color:#ffd04a; white-space:nowrap; }
.quote-readiness-panel details { border-top:1px solid var(--line,#2b3949); padding-top:12px; }
.quote-readiness-panel summary { cursor:pointer; font-weight:800; }
.quote-readiness-panel ul { margin:12px 0 0; padding-left:20px; color:#4fe09d; display:grid; gap:8px; }
@media(max-width:680px){.quote-readiness-issue{align-items:flex-start;flex-direction:column}.quote-readiness-issue strong{white-space:normal}}
.pricing-mode-list{display:grid;gap:10px;margin:14px 0}.pricing-mode-list button{display:grid;gap:5px;width:100%;min-height:66px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2,#0d151f);color:var(--text);text-align:left}.pricing-mode-list button b{font-size:16px}.pricing-mode-list button span{color:var(--muted);line-height:1.35}.pricing-mode-list button.active{border-color:var(--yellow);background:rgba(245,199,68,.12);box-shadow:0 0 0 1px var(--yellow)}.customer-safety-note{padding:12px;border-radius:12px;background:rgba(52,211,153,.1);color:#65e5ad!important;font-weight:700;line-height:1.45}
.customer-preview-workspace{display:grid;gap:14px}.customer-view-banner{display:grid;gap:5px;padding:14px;border:1px solid #2a7758;border-radius:14px;background:rgba(52,211,153,.1)}.customer-view-banner b{color:#59dfa7}.customer-view-banner span{color:var(--muted);line-height:1.4}.customer-preview-document{overflow:hidden;border-radius:20px;background:#fff;color:#171b20}.customer-preview-document>header{display:flex;justify-content:space-between;gap:18px;padding:22px;background:#141b24;color:#fff;border-top:6px solid var(--yellow)}.customer-preview-document header p{margin:0 0 7px;color:var(--yellow);font-weight:800}.customer-preview-document header h1{margin:0;font-size:25px}.customer-preview-document>section,.customer-preview-equipment,.customer-preview-totals,.customer-preview-total,.customer-preview-no-price{margin:0;padding:18px 22px;border-top:1px solid #dde1e5}.customer-preview-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.customer-preview-meta div{display:grid;gap:4px}.customer-preview-meta span{color:#66707c;font-size:12px}.customer-preview-equipment h2{margin-top:0}.customer-preview-equipment h3{margin:17px 0 4px;padding:7px 9px;border-radius:8px;background:#eef0f3;font-size:12px;text-transform:uppercase}.customer-preview-line{padding:11px 2px;border-bottom:1px solid #eceef1}.customer-preview-line.is-component{margin-left:18px;padding-left:12px;border-left:3px solid #d7dce2;color:#4f5965}.customer-preview-line span{display:grid;grid-template-columns:1fr auto;gap:5px}.customer-preview-line small{color:#68717d}.customer-preview-line strong{text-align:right}.customer-preview-totals>div,.customer-preview-total{display:flex;justify-content:space-between;gap:15px}.customer-preview-totals .grand{margin-top:8px;padding-top:12px;border-top:1px solid #ced3d9;font-size:20px;font-weight:900}.customer-preview-total{font-size:20px;font-weight:900}.customer-preview-no-price{color:#65707b;font-weight:700}.customer-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scan-item-row.is-component{margin-left:18px;border-left:3px solid var(--yellow)}@media(max-width:560px){.customer-preview-meta{grid-template-columns:1fr}.customer-preview-actions{grid-template-columns:1fr}.customer-preview-document>header{padding:18px}.customer-preview-document>section,.customer-preview-equipment,.customer-preview-totals,.customer-preview-total,.customer-preview-no-price{padding:16px}}
.approved-baseline-card,.quote-revision-draft-banner{margin:0 0 18px;padding:18px;border:1px solid #2e445b;border-radius:18px;background:#111c28}.approved-baseline-card h2,.quote-revision-draft-banner h2{margin:4px 0 8px}.approved-baseline-card strong{color:#48d69b;display:block;margin-top:10px}.approved-baseline-card.attention,.quote-revision-draft-banner{border-color:#d49c24;background:#2b240f}.quote-revision-draft-banner .eyebrow{color:#ffca3a}
.portal-package-help{margin:8px 0 14px;color:var(--muted);line-height:1.45}
.portal-customer-documents{margin-top:18px;padding-top:18px;border-top:1px solid var(--line,#2d3947)}.customer-review-row{align-items:flex-start}.customer-review-status{display:inline-flex;width:max-content;margin-top:7px;padding:5px 8px;border-radius:999px;background:#27313d;color:#c8d0da;font-size:12px;font-weight:800}.customer-review-status.approved{background:#123d2b;color:#6ee7a8}.customer-review-status.rejected{background:#4a2028;color:#ff929d}.customer-review-row .portal-row-actions{max-width:360px}.customer-review-row .portal-row-actions input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line,#334154);border-radius:10px;background:var(--panel,#111b27);color:inherit;font:inherit}@media(max-width:700px){.customer-review-row{display:grid!important;gap:13px}.customer-review-row .portal-row-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%;max-width:none}.customer-review-row .portal-row-actions input,.customer-review-row .portal-row-actions [data-open-customer-upload],.customer-review-row .portal-row-actions [data-delete-customer-upload]{grid-column:1/-1}}
.inventory-asset-warning{display:block;margin-top:.35rem;padding:.35rem .55rem;border:1px solid #a77818;border-radius:.55rem;background:#2b220d;color:#ffd45c;text-align:left;font-size:.78rem}.has-asset-issue{box-shadow:inset 3px 0 #d7a52a}.asset-operational-warning{margin:1rem 0;padding:1rem;border:1px solid #d7a52a;border-radius:1rem;background:#2b220d;color:#fff}.asset-operational-warning h2{margin:.2rem 0}.asset-operational-warning p,.asset-operational-warning span{color:#f0d99d}
.preparation-readiness{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.preparation-readiness.ready{border-color:#1f7552;background:#0c2b20}.preparation-readiness.attention{border-color:#8d6c18;background:#2d250d}.preparation-readiness.blocked{border-color:#9f3f4d;background:#35141b}
.preparation-readiness h2,.preparation-line h3{margin:4px 0}.preparation-readiness span,.preparation-line span{color:var(--muted)}
.preparation-progress{display:flex;flex-direction:column;text-align:right;min-width:120px}.preparation-progress b{font-size:1.4rem}.preparation-progress span{font-size:.8rem}
.preparation-list{display:grid;gap:14px}.preparation-line{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.preparation-line.ready{border-color:#1f7552}.preparation-line.attention{border-color:#8d6c18}.preparation-line.blocked{border-color:#9f3f4d}
.preparation-line-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.preparation-line-head>strong{color:var(--yellow);white-space:nowrap}
.preparation-restrictions{display:grid;gap:8px;margin-top:14px}.preparation-restriction{padding:11px 12px;border:1px solid #8d6c18;border-radius:12px;background:#2d250d;color:#ffd668;text-align:left}
.preparation-subrent{display:grid;grid-template-columns:2fr .75fr 1fr 1.2fr;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.preparation-confirm{display:flex!important;align-items:center;gap:8px;align-self:end;min-height:48px}.preparation-confirm input{width:22px!important;height:22px!important}
.preparation-count{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:16px}.preparation-count label{max-width:180px}.preparation-count span{padding-bottom:12px}
.preparation-assets{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(0,0,0,.12)}
.preparation-assets h4{margin:0 0 3px}.preparation-assets>p{margin:0 0 10px;color:var(--muted);font-size:.86rem}
.preparation-asset-choice{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 0;border-top:1px solid var(--line)}
.preparation-asset-choice:first-of-type{border-top:0}.preparation-asset-choice input{width:22px;height:22px;flex:0 0 auto}
.preparation-asset-choice span{display:flex;flex-direction:column;gap:2px}.preparation-asset-choice small{color:var(--muted)}
.preparation-asset-choice.unavailable{opacity:.7}.preparation-actions{display:grid;gap:12px;margin-top:18px}.preparation-actions label{margin:0}
@media(max-width:700px){.preparation-readiness{align-items:flex-start}.preparation-progress{min-width:auto}.preparation-subrent{grid-template-columns:1fr 1fr}.preparation-subrent label:first-child{grid-column:1/-1}.preparation-confirm{grid-column:1/-1}.preparation-line-head{flex-direction:column}.preparation-count{align-items:center}.preparation-count label{max-width:150px}}
.checkout-handoff{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);margin-bottom:14px}.checkout-handoff h2{margin:4px 0 6px}.checkout-handoff p{margin:0;color:var(--muted)}.checkout-handoff>strong{font-size:24px;white-space:nowrap;color:var(--yellow)}.checkout-handoff.complete{border-color:rgba(54,211,153,.45);background:rgba(18,92,67,.22)}.checkout-handoff.complete>strong,.scan-line-complete{color:#42dfa2}.scan-line-complete,.scan-line-remaining{display:block;margin-top:8px;font-size:13px}.scan-line-remaining{color:var(--yellow)}

@media(max-width:700px){.checkout-handoff{align-items:flex-start}.checkout-handoff>strong{font-size:20px}.scan-item-row>div:first-child{grid-column:1/-1}.scan-item-row{grid-template-columns:repeat(3,1fr)}}
.return-readiness{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #8d6c18;border-radius:18px;background:#2d250d;margin-bottom:14px}.return-readiness h2{margin:4px 0 6px}.return-readiness p{margin:0;color:var(--muted)}.return-readiness>strong{color:var(--yellow);white-space:nowrap}.return-readiness.complete{border-color:#1f7552;background:#0c2b20}.return-readiness.complete>strong{color:#42dfa2}.return-asset-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,.7fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.return-asset-row.attention{border-color:#8d6c18}.return-asset-row.complete{border-color:#1f7552}.return-asset-row>div{display:grid;gap:4px;min-width:0}.return-asset-row code{color:var(--yellow)}.return-asset-row small,.return-asset-row label{color:var(--muted)}.return-asset-row label{display:grid;gap:6px}.subrent-return-list{display:grid;gap:10px;margin:0 0 16px;padding:14px;border:1px solid #8d6c18;border-radius:14px;background:#241e0d}.subrent-return-list h3{margin:0}.subrent-return-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.5fr) auto;align-items:end;gap:12px;padding-top:10px;border-top:1px solid var(--line)}.subrent-return-row>div,.subrent-return-row label{display:grid;gap:5px}.subrent-return-row small,.subrent-return-row label{color:var(--muted)}.subrent-return-row>strong{padding-bottom:12px;color:var(--yellow);white-space:nowrap}.subrent-return-row.complete>strong{color:#42dfa2}
@media(max-width:700px){.return-readiness{align-items:flex-start;flex-direction:column}.return-asset-row,.subrent-return-row{grid-template-columns:1fr}.return-asset-row button{width:100%}.subrent-return-row>strong{padding-bottom:0}.subrent-return-row label{width:100%}}
.invoice-readiness{display:grid;gap:12px;margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.invoice-readiness h2{margin:4px 0 6px}.invoice-readiness p{margin:0;color:var(--muted);line-height:1.45}.invoice-readiness.blocked{border-color:#9f3f4d;background:#35141b}.invoice-readiness.attention{border-color:#8d6c18;background:#2d250d}.invoice-readiness.ready{border-color:#1f7552;background:#0c2b20}.invoice-readiness-issue{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);color:var(--text);text-align:left}.invoice-readiness-issue.critical{border-left:4px solid var(--red)}.invoice-readiness-issue.warning{border-left:4px solid var(--yellow)}.invoice-readiness-issue span{display:grid;gap:4px}.invoice-readiness-issue small{color:var(--muted);line-height:1.35}.invoice-readiness-issue strong{color:var(--yellow);white-space:nowrap}@media(max-width:600px){.invoice-readiness-issue{align-items:flex-start;flex-direction:column}.invoice-readiness-issue strong{white-space:normal}}
.invoice-payment-ledger{display:grid;gap:14px;margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.invoice-payment-head,.invoice-payment-row,.invoice-lifecycle-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.invoice-payment-head h2{margin:4px 0 0}.invoice-status-pill{padding:7px 10px;border-radius:999px;background:#27313d;color:var(--text);font-size:.8rem;font-weight:800}.invoice-status-pill.paid{background:#103f2d;color:#68e6a7}.invoice-status-pill.overdue,.invoice-status-pill.voided{background:#4a1820;color:#ff929f}.invoice-status-pill.partially-paid{background:#4a3b0e;color:#ffd664}.invoice-payment-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.invoice-payment-totals>div{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:12px}.invoice-payment-totals span,.invoice-payment-row small{color:var(--muted)}.invoice-payment-row{padding:12px;border:1px solid var(--line);border-radius:12px}.invoice-payment-row span{display:grid;gap:4px}.invoice-payment-row.voided{opacity:.62}.invoice-payment-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:4px}.invoice-payment-form .wide{grid-column:1/-1}.invoice-payment-form textarea{width:100%;resize:vertical}.invoice-lifecycle-actions{justify-content:flex-start;flex-wrap:wrap}@media(max-width:600px){.invoice-payment-head{align-items:flex-start}.invoice-payment-totals{grid-template-columns:1fr}.invoice-payment-form{grid-template-columns:1fr}.invoice-payment-form .wide{grid-column:auto}.invoice-payment-row{align-items:flex-start;flex-direction:column}.invoice-payment-row button{width:100%}}
.invoice-portal-panel{display:grid;gap:14px;margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.invoice-portal-panel h2,.invoice-portal-panel p{margin:0}.invoice-portal-panel label{display:grid;gap:7px}.invoice-portal-panel input,.invoice-portal-panel select{width:100%}.invoice-portal-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.invoice-portal-actions label{flex:1 1 150px}.invoice-portal-actions button{min-height:46px}.invoice-portal-panel .customer-safety-note{padding:11px 13px;border-radius:11px;background:var(--surface-2);color:var(--muted)}@media(max-width:560px){.invoice-portal-actions{display:grid;grid-template-columns:1fr 1fr}.invoice-portal-actions label,.invoice-portal-actions .danger{grid-column:1/-1}.invoice-portal-actions button{width:100%}}
.project-activity-workspace{display:grid;gap:18px;max-width:820px;margin:0 auto}.project-activity-head,.project-activity-row{border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:20px}.project-activity-head h2{margin:4px 0 8px}.project-activity-head>p:last-of-type{color:var(--muted);line-height:1.55}.project-activity-list{display:grid;gap:10px}.project-activity-row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px}.project-activity-row b,.project-activity-row p,.project-activity-row small{display:block;overflow-wrap:anywhere}.project-activity-row p{margin:6px 0;color:var(--muted);line-height:1.45}.project-activity-row small{color:var(--muted)}.project-activity-marker{width:10px;height:10px;margin-top:5px;border-radius:999px;background:#5b9cff;box-shadow:0 0 0 4px rgba(91,156,255,.13)}.project-activity-row.custody .project-activity-marker{background:#2fd19b}.project-activity-row.damage .project-activity-marker{background:#ff596b}.project-activity-row.payment .project-activity-marker,.project-activity-row.invoice .project-activity-marker{background:#ffca3a}@media(max-width:600px){.project-activity-head,.project-activity-row{padding:16px}.project-activity-head .summary-strip{grid-template-columns:1fr 1fr}}
.customer-activity-section{display:grid;gap:10px}.customer-history-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}.customer-history-heading h4{margin:3px 0}.customer-history-heading>small{color:var(--muted);text-align:right}.customer-activity-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:inherit;text-align:left}.customer-activity-row span,.customer-activity-row b,.customer-activity-row small{display:block;min-width:0;overflow-wrap:anywhere}.customer-activity-row small,.customer-activity-row time{color:var(--muted);font-size:12px}.customer-activity-row time{white-space:nowrap}.customer-activity-row strong{color:var(--yellow);font-size:20px}@media(max-width:600px){.customer-history-heading{align-items:start;flex-direction:column}.customer-history-heading>small{text-align:left}.customer-activity-row{grid-template-columns:minmax(0,1fr) auto}.customer-activity-row time{grid-column:1}.customer-activity-row strong{grid-column:2;grid-row:1/3}}
.sync-diagnostics-panel{display:grid;gap:16px}.sync-diagnostics-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.sync-diagnostics-head h2{margin:4px 0 0}.sync-diagnostics-head>small{max-width:220px;color:var(--muted);text-align:right}.sync-diagnostics-panel dl{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0}.sync-diagnostics-panel dl div{min-width:0;padding:12px 0;border-top:1px solid var(--line)}.sync-diagnostics-panel dl div:nth-child(odd){padding-right:14px}.sync-diagnostics-panel dl div:nth-child(even){padding-left:14px}.sync-diagnostics-panel dt{color:var(--muted);font-size:12px}.sync-diagnostics-panel dd{margin:5px 0 0;font-weight:800;overflow-wrap:anywhere;text-transform:capitalize}@media(max-width:600px){.sync-diagnostics-head{display:grid}.sync-diagnostics-head>small{text-align:left}.sync-diagnostics-panel dl{grid-template-columns:1fr}.sync-diagnostics-panel dl div:nth-child(n){padding:12px 0}}

/* DV platform identity */
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.06em}
.brand>img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(226,78,216,.18))}
.brand .brand-copy{display:block;color:var(--text);font-size:12px}
.brand .brand-copy small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.welcome-mark{width:104px;height:104px;background:none;border-radius:0;box-shadow:none}
.welcome-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(226,78,216,.22))}
.backup-coverage{display:grid;gap:4px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}.backup-coverage b{font-size:12px}.backup-coverage span{color:var(--muted);font-size:12px}
#dv-release-update{position:sticky;top:0;z-index:1200;padding:10px 16px;background:#17304a;color:#fff;text-align:center;font-weight:700;font-size:14px}
.gmail-draft-panel{margin:18px 0;display:grid;gap:14px}.gmail-draft-panel h2,.gmail-draft-panel p{margin:0}.gmail-draft-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gmail-draft-review>div{border:1px solid var(--line,#283548);border-radius:12px;padding:12px;min-width:0}.gmail-draft-review span{display:block;color:var(--muted,#93a0b1);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.gmail-draft-review b{display:block;overflow-wrap:anywhere}@media(max-width:600px){.gmail-draft-review{grid-template-columns:1fr}}
.gmail-message-editor{display:grid;gap:7px;padding:14px;border:1px solid var(--line,#283548);border-radius:14px;background:var(--surface,#111923)}.gmail-message-editor label{font-weight:800}.gmail-message-editor input,.gmail-message-editor textarea{width:100%;padding:11px 12px;border:1px solid var(--line,#283548);border-radius:10px;background:#0d131a;color:var(--text,#fff);font:inherit}.gmail-message-editor textarea{min-height:170px;line-height:1.45;resize:vertical}.gmail-message-editor small{color:var(--muted,#93a0b1);line-height:1.4}
.gmail-attachment-picker{display:grid;gap:10px;margin:0;padding:14px;border:1px solid var(--line,#283548);border-radius:14px}.gmail-attachment-picker legend{padding:0 7px;font-weight:900}.gmail-attachment-picker p{color:var(--muted,#93a0b1)}.gmail-attachment-picker label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 9px;padding:11px;border:1px solid var(--line,#283548);border-radius:10px;font-weight:800}.gmail-attachment-picker label input{grid-row:1/3}.gmail-attachment-picker small{color:var(--muted,#93a0b1);font-weight:500}
.gmail-reply-panel{margin:18px 0;display:grid;gap:14px}.gmail-reply-candidates{display:grid;gap:10px}.gmail-reply-candidate{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line,#283548);border-radius:14px;background:var(--surface,#111923)}.gmail-reply-candidate b,.gmail-reply-candidate small{display:block}.gmail-reply-candidate small{margin-top:4px;color:var(--muted,#93a0b1);overflow-wrap:anywhere}.gmail-reply-candidate p{margin:8px 0 0;color:var(--muted,#93a0b1)}.gmail-reply-candidate.blocked{border-color:rgba(255,91,104,.5);background:rgba(255,91,104,.08)}@media(max-width:620px){.gmail-reply-candidate{flex-direction:column}.gmail-reply-candidate button{width:100%}}
.gmail-thread-messages{display:grid;gap:12px;margin:4px 0 10px}.gmail-thread-message{display:grid;gap:12px;padding:16px;border:1px solid var(--line,#283548);border-radius:14px;background:var(--surface,#111923)}.gmail-thread-message header{display:flex;justify-content:space-between;gap:12px}.gmail-thread-message header>div{display:grid;gap:4px;min-width:0}.gmail-thread-message header small{color:var(--muted,#93a0b1)}.gmail-thread-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.gmail-inline-reply{display:grid;gap:12px;padding-top:12px;border-top:1px solid var(--line,#283548)}.gmail-inline-reply textarea{width:100%;resize:vertical}@media(max-width:620px){.gmail-thread-message header{align-items:flex-start}.gmail-inline-reply .primary,.gmail-thread-message>.secondary{width:100%}}
.gmail-send-confirm{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line,#283548);border-radius:12px;padding:13px;line-height:1.45}.gmail-send-confirm input{width:20px;height:20px;flex:0 0 auto;margin-top:1px}
.cloud-provider-actions{display:grid;gap:10px}.cloud-auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted,#93a0b1);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}.cloud-auth-divider::before,.cloud-auth-divider::after{content:"";height:1px;background:var(--line,#283548);flex:1}
.auth-identity-panel{margin:16px 0}.auth-identity-panel h2{margin:.25rem 0}.auth-identity-list{display:grid;margin-top:14px}.auth-identity-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line,#283548)}.auth-identity-list span{display:grid;gap:3px}.auth-identity-list small{color:var(--muted,#93a0b1)}.auth-identity-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.temporary-workspace-banner{display:flex;align-items:center;gap:12px;margin:12px 18px;padding:14px 16px;border-color:#8d6b14;background:#211b0d}.temporary-workspace-banner span{color:var(--muted);flex:1}.temporary-workspace-banner button{white-space:nowrap}@media(max-width:600px){.temporary-workspace-banner{align-items:stretch;flex-direction:column}.temporary-workspace-banner button{width:100%}}
.assistant-voice-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0;color:var(--muted,#aeb8c7);font-size:.88rem;line-height:1.45}.assistant-voice-consent[hidden]{display:none}.assistant-voice-consent input{flex:0 0 auto;width:22px;height:22px;margin-top:1px;accent-color:#f8c944}
.team-project-scope{border:1px solid var(--line);border-radius:16px;margin:16px 0;padding:14px}.team-project-scope legend{padding:0 8px;font-weight:800}.team-project-scope-row{display:flex;align-items:flex-start;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line)}.team-project-scope-row:last-child{border-bottom:0}.team-project-scope-row input{width:22px;height:22px;flex:0 0 auto}.team-project-scope-row span{display:grid;gap:4px}.team-project-scope-row small{color:var(--muted)}.invite-code strong{overflow-wrap:anywhere;word-break:break-word}
