.workspace-app{background:var(--surface);min-height:100vh}.workspace-app>.site-header,.workspace-app>.site-footer{display:none}.workspace-app .account-main{width:min(100% - 32px,880px);padding:28px 0 130px}.workspace-app .account-card{max-width:none;padding:0;border:0;background:none}.workspace-app .account-card>.eyebrow,.workspace-app #account-title,.workspace-app .account-intro{display:none}.workspace-heading{position:relative;margin-bottom:26px;padding-right:70px}.workspace-heading h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}.workspace-heading p{font-size:13px}.workspace-business{font-weight:600;margin-top:2px}.workspace-brand{position:absolute;right:0;top:3px;font-weight:700;color:var(--blue);letter-spacing:-1px;font-size:19px}.workspace-panel{display:grid;gap:18px}.workspace-card,.workspace-empty,.workspace-settings,.request-item{background:white;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 2px 2px #0b344504}.workspace-empty{text-align:center;padding:40px 24px}.workspace-panel h2{font-size:20px;letter-spacing:-.5px;margin-bottom:10px}.workspace-panel p{font-size:14px}.workspace-empty p{max-width:440px;margin:12px auto 0}.empty-symbol{display:inline-grid;place-items:center;background:var(--accent-soft);color:var(--blue);border-radius:18px;width:54px;height:54px;font-size:27px;margin-bottom:20px}.workspace-nav{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),480px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px;background:#ffffffef;border:2px solid white;border-radius:32px;box-shadow:0 8px 35px #0b344524;z-index:10;backdrop-filter:blur(16px)}.workspace-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:53px;border-radius:24px;font-size:10px;color:var(--muted);font-weight:600}.workspace-nav a[aria-current]{background:var(--accent-soft);color:var(--accent)}.workspace-nav a:focus-visible{outline-offset:0}.workspace-app .requests-section{margin:0}.send-card{background:var(--accent-soft);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:26px}.send-card h2{font-size:23px}.send-card p{max-width:420px}.send-card .button{margin-top:18px;gap:8px;min-width:150px;border-radius:12px}.request-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.request-section-heading h2{margin:0}.refresh-button{background:none;color:var(--blue);min-height:44px;padding:8px;font-weight:600;font-size:13px}.workspace-app #request-list{display:grid;gap:12px}.workspace-app .request-item{border-top:1px solid var(--line)}.workspace-app .request-item h3{margin:0 0 8px;font-size:17px}.workspace-app .request-item button{font-size:13px;padding:8px 12px;min-height:44px}.workspace-app #request-detail{background:white;border-radius:18px;padding:24px}.workspace-app #request-notification{margin:0 0 16px;font-size:13px}.workspace-app #request-list>.notice{background:white;border:1px solid var(--line);border-radius:18px;padding:32px 24px;margin:0;text-align:center}.workspace-app .business-assets{margin-top:24px}.workspace-settings>h2{font-size:23px}.workspace-settings .notice{display:none}.share-dialog{width:min( calc(100% - 32px),460px);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:22px;padding:26px;color:var(--ink);box-shadow:0 20px 80px #0b344533}.share-dialog::backdrop{background:#0b344566;backdrop-filter:blur(3px)}.share-dialog h2{font-size:23px}.share-dialog p{font-size:14px;margin-top:12px}.share-dialog .form-actions{gap:10px}.share-dialog .button{border:0;font-size:14px}.share-dialog input{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;margin-top:16px}.workspace-app #request-share{border:0;margin:auto}.workspace-app .form-status:empty{display:none}@media(min-width:700px){.workspace-app .account-main{padding-top:42px}.workspace-heading h1{font-size:36px}.send-card{padding:30px}.workspace-app #request-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-app #request-list>.notice{grid-column:1/-1}.workspace-settings{padding:30px}}@media(prefers-reduced-motion:reduce){.share-dialog::backdrop{backdrop-filter:none}}
.workspace-app .button,.share-dialog .button{min-height:50px;border-radius:999px;padding:12px 22px}.workspace-app #sign-out{background:#dc3344;color:white;box-shadow:none;width:100%;margin-block:18px}.workspace-app #sign-out:hover{background:#bc2030}.workspace-app .send-card .button{border-radius:999px;min-height:52px}
@media(prefers-reduced-motion:no-preference){.workspace-panel:not([hidden]){animation:workspace-enter .24s cubic-bezier(.2,.75,.25,1)}.workspace-app .button,.share-dialog .button{transition:transform .16s ease,background .16s ease}.workspace-app .button:active,.share-dialog .button:active{transform:scale(.97)}.workspace-nav:before{transition:transform .28s cubic-bezier(.22,.8,.25,1)}.share-dialog[open]{animation:workspace-enter .2s ease}@keyframes workspace-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}.workspace-nav:before{content:"";position:absolute;left:7px;top:7px;width:calc((100% - 14px)/5);height:53px;border-radius:26px;background:var(--accent-soft);transform:translateX(calc(var(--active-index)*100%));pointer-events:none}.workspace-nav a{z-index:1}.workspace-nav a[aria-current]{background:transparent}
/* A translucent moving lens, with a separate elastic inner surface. */
.workspace-nav:before{display:none}.workspace-lens{position:absolute;left:7px;top:5px;width:calc((100% - 14px)/5);height:57px;transform:translateX(calc(var(--active-index)*100%));pointer-events:none;z-index:0}.workspace-lens:before{content:"";display:block;width:100%;height:100%;border-radius:999px;background:linear-gradient(145deg,#ffffffd9,#b9dce780 48%,#ffffffac);border:1px solid #ffffffed;box-shadow:inset 0 1px 2px #fff,inset 0 -2px 5px #b9dce755,0 4px 12px #0b344525;backdrop-filter:blur(12px) saturate(160%)}
@media(prefers-reduced-motion:no-preference){.workspace-lens{transition:transform .46s cubic-bezier(.2,.85,.25,1.12)}.workspace-lens.is-moving:before{animation:glass-stretch .46s cubic-bezier(.2,.8,.3,1)}@keyframes glass-stretch{0%{transform:scale(1)}35%{transform:scale(1.2,.88)}70%{transform:scale(.96,1.05)}100%{transform:scale(1)}}}
@media(prefers-reduced-transparency:reduce){.workspace-lens:before{background:var(--accent-soft);backdrop-filter:none}}

.draft-panel{margin-block:28px;padding:24px;background:var(--accent-soft);border:1px solid var(--line);border-radius:20px}.draft-panel>.button{margin:8px 8px 8px 0}.draft-form{display:grid;gap:18px}.draft-form label{display:grid;gap:7px;font-size:14px}.draft-form input,.draft-form textarea,.draft-form select{width:100%;min-width:0;box-sizing:border-box}.draft-line{min-width:0;display:grid;gap:12px;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:12px}.draft-panel .button{min-height:48px}.draft-panel p{overflow-wrap:anywhere}@media(max-width:480px){.draft-panel{padding:16px}}

.review-section{border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}.review-section>summary{padding:17px 18px;min-height:48px;cursor:pointer;font-size:14px;font-weight:600;overflow-wrap:anywhere}.review-section>summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:14px}.review-section-body{padding:0 18px 18px;display:grid;gap:18px}.draft-overview{padding:20px;border-radius:16px;background:white;border:1px solid var(--line)}.draft-overview h3{font-size:16px;margin:0 0 12px}.draft-description{white-space:pre-wrap;font-size:15px;line-height:1.65;margin:0}.draft-overview .review-edit{margin-top:10px;font-size:14px}.draft-form input,.draft-form select,.draft-form textarea{font:inherit;font-size:14px;line-height:1.5;padding:12px;border:1px solid var(--line-strong);border-radius:10px;background:white;color:var(--ink);min-height:46px}.draft-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.draft-footer .button{flex-shrink:0}.original-request{margin:20px 0}.original-request>.field-hint,.original-request>.business-summary{margin:0;padding:0 18px 18px}.draft-form>.review-section{margin:0}.draft-panel>.eyebrow{font-size:11px;letter-spacing:.04em;margin-bottom:20px}@media(max-width:480px){.draft-overview{padding:16px}.draft-footer{align-items:stretch;flex-direction:column}.review-section-body{padding:0 14px 16px}}

.request-tabs{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:7px;background:#ffffffef;border:2px solid white;border-radius:32px;box-shadow:0 8px 25px #0b344514;scrollbar-width:none}.request-tabs::-webkit-scrollbar{display:none}.request-tab{flex:1 0 auto;border:0;border-radius:999px;padding:12px 14px;min-height:46px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.request-tab[aria-selected=true]{background:linear-gradient(145deg,#ffffffd9,#b9dce780 48%,#ffffffac);color:var(--accent);box-shadow:inset 0 1px 2px #fff,inset 0 -2px 5px #b9dce755,0 4px 12px #0b344525}.request-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.draft-form [role=tabpanel]{min-width:0}.draft-form [role=tabpanel]>h3{padding:18px;margin:0;font-size:16px}.request-source{padding:0 18px 18px;border:1px solid var(--line);background:#fff;border-radius:14px}.request-source>h3{padding-left:0!important}.request-source .original-request{margin:0}.request-source .business-summary{overflow-wrap:anywhere}.request-gallery{display:flex;flex-wrap:wrap;gap:12px}.request-gallery img{max-width:100%;height:auto}.draft-panel{min-width:0}.draft-form{min-width:0}.draft-footer{border-top:1px solid var(--line);padding-top:16px}

.request-tabs{position:relative;isolation:isolate}.request-tab{position:relative;z-index:1}.request-tab[aria-selected=true]{background:transparent;box-shadow:none}.request-tabs .request-lens{left:0;top:7px;z-index:0}.estimate-measurements{background:var(--accent-soft);border-radius:18px;padding:16px;margin-bottom:24px}.estimate-measurements dl{margin:0;display:grid;gap:6px}.estimate-measurements dt{font-size:12px;color:var(--muted)}.estimate-measurements dd{margin:0 0 10px;font-size:18px;font-weight:600}.estimate-measurements .field-hint{font-size:12px;margin:8px 0 0}

.answer-groups{display:grid;gap:16px}.answer-group{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.answer-group h4{margin:0;padding:14px 18px;background:var(--surface);font-size:14px}.answer-group dl{margin:0}.answer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;padding:14px 18px;border-top:1px solid var(--line)}.answer-row dt{font-size:13px;color:var(--muted)}.answer-row dd{margin:0;font-size:14px;font-weight:500;overflow-wrap:anywhere}.original-request>.field-hint{padding:0 0 16px}.preview-notice{font-size:12px;color:var(--muted);margin:0 0 14px}.estimate-paper{background:#fff;padding:30px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #0b344509;overflow-wrap:anywhere}.estimate-header{border-bottom:2px solid var(--accent);padding-bottom:20px;margin-bottom:22px}.estimate-business{font-weight:700;color:var(--accent)}.estimate-header h3{font-size:24px;margin:14px 0 6px}.estimate-client{display:grid;gap:6px;margin-bottom:24px}.estimate-client p{margin:0}.estimate-paper h4{font-size:14px;margin:24px 0 10px}.estimate-preview-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;border-bottom:1px solid var(--line);padding:16px 0}.estimate-preview-line p{margin:0 0 8px}.estimate-preview-line>strong{font-size:13px;text-align:right;max-width:130px}.estimate-total{display:flex;justify-content:space-between;gap:16px;margin:22px 0;padding:16px;background:var(--accent-soft);border-radius:12px}.estimate-dimensions{border-left:3px solid var(--line);padding-left:14px}.estimate-dimensions p{font-size:13px}@media(max-width:480px){.answer-row{grid-template-columns:1fr;gap:6px;padding:12px 14px}.estimate-paper{padding:18px}.estimate-preview-line{grid-template-columns:1fr;gap:6px}.estimate-preview-line>strong{text-align:left;max-width:none}.estimate-total{flex-direction:column;gap:8px}}

.requests-section.is-reviewing>.send-card,.requests-section.is-reviewing>.request-section-heading,.requests-section.is-reviewing>#request-notification,.requests-section.is-reviewing>#request-list{display:none!important}.request-back{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font:inherit;font-size:13px;font-weight:600;margin-bottom:24px;cursor:pointer}.workspace-app #request-detail>.draft-panel{margin-bottom:0}.review-edit{border:1px solid var(--line);border-radius:999px;background:var(--accent-soft);color:var(--accent);padding:10px 16px;min-height:44px;cursor:pointer}

.pdf-pages{display:grid;gap:18px;min-width:0}.pdf-toolbar{display:flex;justify-content:flex-end}.pdf-page{display:block;width:100%;height:auto;background:white;box-shadow:0 6px 24px #0b344520;border:1px solid var(--line)}.estimate-preview{min-width:0}

.pdf-toolbar{align-items:center;flex-wrap:wrap;gap:8px}.pdf-toolbar>.field-hint{margin-right:auto}.pdf-toolbar .button,.pdf-pagination .button{font-size:12px;padding:8px 14px;min-height:40px}.pdf-stage{background:var(--surface);border-radius:14px;display:flex;justify-content:center;align-items:flex-start;padding:14px;overflow:auto;max-height:68vh}.pdf-stage .pdf-page{width:auto;height:auto;max-height:62vh;max-width:100%;object-fit:contain;flex-shrink:0}.pdf-stage.pdf-zoomed{justify-content:flex-start}.pdf-stage.pdf-zoomed .pdf-page{width:816px;max-width:none;max-height:none}.pdf-pagination{display:flex;justify-content:center;align-items:center;gap:14px;font-size:13px}.pdf-pagination button:disabled{opacity:.4;cursor:default}.pdf-template-gallery h3{font-size:14px;margin:8px 0 12px}.pdf-template-strip{display:flex;overflow-x:auto;gap:10px;padding:4px 3px 10px;scroll-snap-type:x proximity}.pdf-template{flex:0 0 110px;min-width:0;display:grid;gap:8px;padding:8px;border:2px solid transparent;border-radius:14px;background:white;color:var(--muted);font:inherit;font-size:11px;cursor:pointer;scroll-snap-align:start}.pdf-template canvas{width:90px;height:116px;background:var(--surface);object-fit:contain;border:1px solid var(--line)}.pdf-template[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.pdf-template:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:480px){.pdf-stage{padding:7px}.pdf-toolbar .field-hint{width:100%}.pdf-pagination{gap:8px}.pdf-pagination .button{padding:8px 10px}}
.pdf-pages{grid-template-columns:minmax(0,1fr)}.pdf-stage,.pdf-template-gallery,.pdf-template-strip,.pdf-toolbar,.pdf-pagination{min-width:0;max-width:100%;box-sizing:border-box}.pdf-template-strip{width:100%}

.price-range-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.request-tabs{scroll-padding-inline:7px}.request-tab{scroll-margin-inline:7px}

@media(min-width:600px){.request-tab{padding-inline:9px;font-size:12px;flex:1 1 auto;white-space:nowrap}}

/* Mobile review tabs: every section remains visible without horizontal clipping. */
@media(max-width:599px){
 .request-tabs{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;overflow:visible;border-radius:26px;padding:6px;scroll-padding:0}
 .request-tab{grid-column:span 3;min-width:0;padding:10px 2px;font-size:11px;min-height:44px;white-space:nowrap;scroll-margin:0}
 .request-tab:nth-child(n+5){grid-column:span 4}
 .workspace-app #request-detail{padding:16px}
 .draft-panel{padding:12px}
}

.delivery-options{display:grid;gap:10px;margin:20px 0}.estimate-delivery{max-width:520px;width:calc(100% - 32px);box-sizing:border-box;max-height:85vh;overflow:auto}.estimate-delivery .button{margin:6px 0}.is-disabled{opacity:.5;pointer-events:none}.estimate-history-row{padding:12px;border-bottom:1px solid var(--line)}.draft-footer{flex-wrap:wrap}

.estimate-delivery{max-width:400px;padding:24px;border-radius:28px;border:1px solid var(--line);box-shadow:0 24px 80px #0b344530}
.estimate-delivery h2{font-size:22px;margin:0 28px 6px 0}.delivery-close{position:absolute;right:16px;top:16px;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--surface);color:var(--muted);font-size:23px;cursor:pointer}
.delivery-status{margin:0 0 18px;color:var(--muted);font-size:13px}.delivery-status:empty{display:none}.delivery-recipient{display:flex;flex-direction:column;gap:4px;font-size:14px;margin-bottom:10px;overflow-wrap:anywhere}.delivery-recipient span{color:var(--muted);font-size:12px}
.delivery-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 14px}.delivery-channel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:84px;padding:12px 4px;background:var(--accent-soft);border:1px solid var(--line);border-radius:20px;color:var(--ink);font:600 12px Arial;text-decoration:none;cursor:pointer}.delivery-channel:disabled,.delivery-channel.is-disabled{opacity:.5;cursor:default}.delivery-icon{font-size:24px;line-height:28px;color:var(--accent)}.delivery-text-link{display:inline-block;padding:4px 0;margin:0 16px 0 0;color:var(--accent);background:none;border:0;font:600 12px Arial;text-decoration:none;cursor:pointer}.delivery-note{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 14px}.estimate-delivery .is-error{font-size:13px;color:#b12732}

.customer-estimate{max-width:680px;width:100%;margin:0 auto;padding:32px;box-sizing:border-box;border-radius:28px;background:white;box-shadow:0 12px 50px #0b344508;color:var(--ink)}
.customer-estimate h1{font-size:30px;line-height:1.2;margin:12px 0}.customer-estimate h2{font-size:18px;line-height:1.4;margin:0 0 6px}.customer-estimate .eyebrow{font-size:12px;letter-spacing:1px;margin:0;color:var(--accent)}.estimate-customer-name{margin:0 0 8px;font-size:15px}.customer-estimate .field-hint{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 14px}.customer-estimate .notice{border:0;border-radius:16px;background:var(--accent-soft);padding:14px 16px;font-size:13px;line-height:1.6;margin:22px 0}
.customer-document-card{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:14px;padding:20px 0 24px}.customer-document-card .field-hint{margin:0}.customer-document-icon{display:grid;place-items:center;height:44px;width:40px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:23px}.customer-estimate .button{border-radius:999px;padding:12px 20px;font-size:13px;min-height:44px;box-sizing:border-box;text-align:center;white-space:nowrap}.customer-visit-card{padding:22px;background:var(--accent-soft);border:1px solid var(--line);border-radius:22px;margin:0 0 16px}.customer-visit-card p{line-height:1.6}.customer-visit-card button{margin:4px 8px 4px 0}.customer-estimate form{margin:16px 0 0}.customer-estimate label{display:block;font-size:13px;font-weight:600;margin:0 0 14px}.customer-estimate textarea,.customer-estimate select{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:white;font:400 15px Arial;color:var(--ink)}.customer-estimate textarea{min-height:108px;resize:vertical}.customer-estimate .form-status:empty{display:none}.customer-question-card{border:1px solid var(--line);border-radius:18px;padding:18px 20px}.customer-question-card summary{font-weight:600;font-size:14px;cursor:pointer}.customer-estimate-contact{text-align:center;font-size:13px;color:var(--muted);margin:24px 0 5px}.customer-estimate-contact a{color:var(--accent);text-decoration:none}.customer-expiry{text-align:center;font-size:11px;color:var(--muted);margin:0}
@media(max-width:599px){.customer-estimate{padding:22px 18px;border-radius:24px}.customer-estimate h1{font-size:27px}.customer-document-card{grid-template-columns:36px 1fr;gap:12px}.customer-document-card .button{grid-column:1/-1;width:100%}.customer-visit-card{padding:18px}.customer-estimate .notice{margin:18px 0}.customer-estimate select{font-size:14px}}

.customer-document-number{color:var(--muted);font-size:11px;letter-spacing:.5px;margin:6px 0 22px}.customer-property{padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.customer-property span{font-size:10px;font-weight:700;letter-spacing:1px;color:var(--muted)}.customer-property p{font-size:14px;margin:6px 0 0;line-height:1.5}.customer-estimate .notice{font-size:12px;border-left:3px solid var(--line);background:var(--accent-soft)}.customer-estimate .visit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.customer-estimate .visit-fields label{min-width:0}.customer-estimate .visit-fields select{font-size:14px;padding:12px 8px}.customer-estimate .button{box-shadow:0 3px 10px #0b344510}.estimate-delivery .delivery-options{margin-bottom:0}
@media(max-width:359px){.customer-estimate .visit-fields{grid-template-columns:1fr}.customer-estimate{padding:20px 16px}}

.draft-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.draft-footer>.field-hint{flex:1 1 180px;margin:0}.draft-footer-actions{display:flex;justify-content:flex-end;gap:10px;flex:0 0 auto}.draft-footer-actions .button{margin:0;white-space:nowrap}.draft-footer-actions .button-secondary{background:transparent;box-shadow:none}
@media(max-width:699px){.draft-footer>.field-hint{flex-basis:100%;font-size:12px}.draft-footer-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);width:100%;gap:8px}.draft-footer-actions .button{width:100%;min-width:0;padding:12px 6px;font-size:12px}}

.schedule-list{margin-top:22px}.schedule-visit{margin-bottom:14px}.schedule-visit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.schedule-visit-heading h3{margin:0}.visit-state{display:inline-block;font-size:12px;font-weight:600;border-radius:99px;padding:6px 12px;background:var(--surface);color:var(--muted)}.visit-state-pending{background:#fff3d9;color:#855809}.visit-state-proposed{background:var(--accent-soft);color:var(--accent)}.visit-state-confirmed{background:var(--success-soft);color:var(--success)}.schedule-time{font-weight:600;margin:14px 0 6px}.schedule-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.schedule-actions .button{font-size:12px;padding:11px 16px}.schedule-visit .form-status:empty{display:none}.schedule-history{margin-top:22px}.schedule-history summary{cursor:pointer;font-weight:600;font-size:13px;margin-bottom:14px}.schedule-visit .visit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.schedule-visit label{display:block;font-size:13px}.schedule-visit select{display:block;width:100%;padding:12px;margin:8px 0 14px;border:1px solid var(--line);border-radius:14px;background:white}.request-messages:empty{display:none}.request-messages{margin-top:24px}.customer-message{padding:16px;background:var(--accent-soft);border-radius:16px;margin:10px 0}.customer-message p{white-space:pre-wrap;margin:0 0 8px}.customer-message time{font-size:12px}

/* Daily workspace: compact cards, month calendar and grouped work lists. */
.agenda-toolbar,.panel-toolbar{display:flex;align-items:center;gap:12px}.agenda-toolbar .field-hint{margin:0 auto 0 0;font-size:11px}.text-action{border:0;background:none;color:var(--accent);font:600 12px Arial;text-decoration:none;cursor:pointer;padding:10px 0}.icon-button{border:0;background:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:23px;color:var(--ink);cursor:pointer}.month-calendar{border:1px solid var(--line);background:#fff;border-radius:22px;padding:18px;box-shadow:0 3px 8px #0b344504}.month-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.month-heading h2{font-size:16px;margin:0}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;color:var(--muted);font-size:10px;padding:8px 0}.calendar-day{position:relative;aspect-ratio:1.3;border:0;background:transparent;border-radius:16px;color:var(--ink);font:500 13px Arial;cursor:pointer;min-height:40px}.calendar-day.selected{background:var(--primary);color:var(--primary-text);font-weight:700}.calendar-day.outside-month{color:var(--muted)}.calendar-day.has-events:after{content:'';position:absolute;width:4px;height:4px;background:var(--primary);border-radius:50%;bottom:5px;left:calc(50% - 2px)}.calendar-day.selected:after{background:white}.calendar-day[aria-current=date]:not(.selected){box-shadow:inset 0 0 0 1px var(--accent-line)}.section-caption{font-size:10px!important;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);font-weight:600;margin:22px 3px 12px}.agenda-empty{text-align:center;padding:30px 20px;background:#fff;border:1px solid var(--line);border-radius:20px}.agenda-empty h3{font-size:16px;margin:10px 0 6px}.agenda-empty p{color:var(--muted);font-size:12px;margin:0}.empty-calendar-icon{display:block;font-size:28px;color:var(--muted)}.agenda-event{background:#fff;border:1px solid var(--line);border-radius:20px;margin:8px 0;overflow:hidden}.agenda-event-row{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;padding:18px}.agenda-event-row::-webkit-details-marker{display:none}.person-avatar{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:var(--surface);color:var(--accent);font-size:11px;font-weight:600}.event-info{display:grid;gap:6px;min-width:0;flex:1}.event-info strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600}.event-info>span{font-size:11px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event-chevron{color:var(--muted);font-size:20px}.agenda-event>.visit-state{margin:0 18px 10px}.agenda-event>.field-hint,.agenda-event>.text-action,.agenda-event>.form-status{margin:0 18px 14px}.agenda-event>.schedule-actions{padding:0 18px 16px}.agenda-event>div:has(.visit-fields){padding:0 18px 18px}.agenda-attention{width:100%;text-align:left;padding:17px;border-radius:18px;border:0;background:var(--accent-soft);color:var(--accent);font:600 12px Arial;margin-top:14px;cursor:pointer}.panel-toolbar input{min-width:0;width:100%;border:1px solid var(--line);border-radius:99px;background:white;padding:12px 16px;font:13px Arial}.small-button{font-size:12px!important;min-height:40px!important;padding:10px 15px!important;white-space:nowrap}.segment-filter{display:flex;gap:4px;background:var(--surface);border-radius:99px;padding:4px}.segment-filter button{flex:1;min-width:0;background:none;border:0;border-radius:99px;padding:10px 4px;font:12px Arial;color:var(--muted);cursor:pointer}.segment-filter button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 5px #0b34450a}.row-amount{font-size:12px;white-space:nowrap}.row-detail{border-top:1px solid var(--line);padding:16px 18px}.contact-link{display:block;color:var(--accent);font-size:13px;margin-bottom:12px;text-decoration:none}.daily-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 8px;box-shadow:0 3px 8px #0b344504}.daily-stats>a{text-align:center;display:grid;gap:6px}.daily-stats strong{font-size:22px;color:var(--ink)}.daily-stats span{font-size:10px;color:var(--muted)}.daily-stats>a+a{border-left:1px solid var(--line)}.dashboard-alert{width:100%;padding:20px;border:1px solid var(--line);border-radius:20px;margin-top:16px;background:#fff;text-align:left;color:var(--ink);font:600 13px Arial;cursor:pointer}.dashboard-next{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;text-decoration:none;color:var(--ink);margin-bottom:12px}.dashboard-next h3{font-size:16px;margin:12px 0 8px}.dashboard-next .field-hint{font-size:12px;line-height:1.6;margin:0 0 10px}.workspace-panel:has(.is-reviewing)>.home-dashboard{display:none}.home-dashboard+.requests-section{margin-top:20px}.send-card{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px!important;margin-top:22px!important;background:white!important}.send-card h2{font-size:16px!important;margin:0!important}.send-card p{font-size:12px!important;flex:1;margin:0!important}.send-card .button{font-size:12px!important;padding:10px 16px!important}.entry-dialog{border:1px solid var(--line);border-radius:26px;width:calc(100% - 32px);max-width:460px;padding:26px;box-sizing:border-box;max-height:86vh;overflow:auto;color:var(--ink)}.entry-dialog::backdrop{background:#0b344566;backdrop-filter:blur(4px)}.entry-dialog h2{font-size:22px;margin:0 30px 22px 0}.entry-dialog form{display:grid;gap:14px}.entry-dialog label{display:grid;gap:6px;font-size:12px;font-weight:600}.entry-dialog input,.entry-dialog textarea,.entry-dialog select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff;font:14px Arial;color:var(--ink)}.entry-dialog .field-hint{font-size:11px;margin:0}.entry-dialog .form-status:empty{display:none}
@media(min-width:850px){.workspace-panel[data-view=schedule]{grid-template-columns:minmax(330px,1fr) minmax(300px,1fr);align-items:start;gap:24px}.agenda-toolbar{grid-column:1/-1}.day-agenda .section-caption{margin-top:5px}.calendar-day{min-height:48px}.home-dashboard{max-width:100%}}
@media(max-width:480px){.workspace-app .account-main{padding-top:20px}.workspace-heading h1{font-size:27px}.workspace-heading{margin-bottom:20px}.month-calendar{padding:14px 12px}.month-grid{gap:2px}.calendar-day{aspect-ratio:1;min-height:36px;border-radius:50%;font-size:12px}.agenda-event-row{padding:16px 13px;gap:10px}.segment-filter button{font-size:11px}.panel-toolbar{gap:8px}.panel-toolbar input{padding:12px;font-size:12px}.send-card p{flex-basis:100%}.daily-stats strong{font-size:20px}}

.workspace-heading h1:focus{outline:none}

/* Settings stays compact; each edit opens one focused form. */
.settings-hub{display:grid;gap:8px;max-width:680px;width:100%;margin:auto;min-width:0}
#workspace:has(.workspace-panel[data-view=settings]:not([hidden]))>.workspace-heading>p{display:none}
.settings-business{display:flex;gap:14px;align-items:center;padding:4px 4px 12px;min-width:0}
.settings-avatar{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:18px;background:var(--primary);color:var(--primary-text);font-size:18px;font-weight:600}
.settings-business>div{min-width:0}.settings-business h2{font-size:19px;margin:0 0 5px}.settings-business p{font-size:12px;overflow-wrap:anywhere;color:var(--muted);margin:0}
.settings-group>.section-caption{margin:14px 4px 9px}.settings-list{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.settings-row{display:flex;align-items:center;gap:13px;width:100%;padding:17px 18px;border:0;background:white;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row:hover{background:var(--accent-soft)}.settings-row:focus-visible{outline-offset:-4px;border-radius:14px}
.settings-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;flex:none;background:var(--accent-soft);color:var(--accent)}
.settings-row-copy{display:grid;gap:5px;min-width:0;flex:1}.settings-row-copy strong{font-size:14px;font-weight:600}.settings-row-copy>span{font-size:12px;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}
.settings-danger .settings-icon{color:#ad4951;background:#fcf2f3}.settings-danger .settings-row-copy strong{color:#9e3d45}
.workspace-app #sign-out.settings-signout{justify-self:center;min-height:44px;width:auto;margin:12px 0 0;padding:10px 24px;border:0;background:none;color:var(--muted);font:600 13px Arial;border-radius:99px;box-shadow:none}
.workspace-app #sign-out.settings-signout:hover{background:var(--surface)}
.settings-dialog{max-width:500px;padding:24px;max-height:calc(100dvh - 36px)}.settings-dialog-body{display:grid;gap:18px}.settings-dialog-body>p{font-size:13px;line-height:1.65;margin:0}.settings-dialog form{gap:17px;margin:0}.settings-dialog form>.button{margin:4px 0 0;min-height:46px;width:100%}.settings-dialog .button{font-size:13px;border:0;box-shadow:none}.settings-dialog input,.settings-dialog select{min-height:44px}.settings-dialog .field-hint{font-size:12px;line-height:1.6;margin:0}.settings-dialog .business-assets{margin:0;border:0;padding:0}.settings-dialog .business-assets>h2{display:none}.settings-dialog .asset-field{margin-top:20px;padding:0;border:0}.settings-dialog .asset-field img{max-height:85px;max-width:160px;object-fit:contain}.settings-dialog .asset-field .form-actions{gap:8px;margin-top:12px}.settings-dialog .asset-field .button{padding:10px 15px;min-height:42px}.settings-dialog input[type=file]{font-size:12px;padding:10px}
.settings-days{padding:0;border:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0}.settings-days legend{font-size:12px;font-weight:600;margin-bottom:10px}.settings-days label{display:grid;place-items:center;position:relative;min-height:42px;background:var(--surface);border-radius:12px;font-size:11px;cursor:pointer}.settings-days label:has(input:checked){background:var(--primary);color:var(--primary-text)}.settings-days input{position:absolute;opacity:0;min-height:0;width:1px;height:1px;padding:0}.settings-days label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.settings-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-account-email{display:grid;gap:7px;overflow-wrap:anywhere;padding-bottom:10px}.settings-account-email strong{font-size:14px}.settings-close-effects{padding-left:20px;margin:0;font-size:13px;line-height:1.8}.settings-close-counts{background:var(--accent-soft);padding:15px 18px;border-radius:14px}.settings-close-counts p{font-size:13px;margin:0;line-height:1.8}.settings-close-confirm{background:#b6404b}.settings-close-confirm:hover{background:#9e3440}.closed-account{max-width:440px;margin:50px auto;background:white;border:1px solid var(--line);border-radius:24px;padding:28px;display:grid;gap:18px}.closed-account h1{font-size:26px}.closed-account p{font-size:14px;line-height:1.65}.closed-account .button{width:100%}
@media(max-width:480px){.settings-row{padding:15px 14px;gap:11px}.settings-business{padding-bottom:6px}.settings-dialog{padding:22px 18px}.settings-row-copy strong{font-size:13px}.settings-row-copy>span{font-size:11px}.settings-days{gap:4px}.settings-dialog .business-assets .form-actions>*{flex:1 1 auto}}

/* Jobs uses the same moving glass lens as the workspace navigation. */
.segment-filter{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:6px;background:#ffffffed;border:2px solid #fff;box-shadow:0 8px 25px #0b34450d}
.segment-filter button{position:relative;z-index:1;min-height:42px;font-weight:600;transition:color .2s}
.segment-filter button[aria-pressed=true]{background:transparent;box-shadow:none;color:var(--accent)}
.segment-filter .jobs-lens{left:6px;top:6px;width:calc((100% - 12px)/4);height:calc(100% - 12px)}
.segment-filter button:focus-visible{outline-offset:-3px}

.customer-heading{padding-bottom:22px;border-bottom:1px solid var(--line)}.customer-heading .customer-document-number{margin:8px 0 0}.customer-details{display:grid;grid-template-columns:1fr 1.4fr;gap:20px;margin:22px 0}.customer-details dt{font-size:11px;color:var(--muted);margin-bottom:7px}.customer-details dd{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.customer-document-card{grid-template-columns:1fr auto;background:var(--accent-soft);border:1px solid var(--line);border-radius:20px;padding:20px;margin-bottom:26px}.document-caption{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0;color:var(--muted)}.customer-visit-card{background:white;padding:0 0 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;margin-bottom:20px}.customer-visit-card .section-caption{margin:0 0 10px}.customer-appointment{display:grid;gap:7px;margin:18px 0;padding:16px;background:var(--accent-soft);border-radius:16px}.customer-appointment strong{font-size:15px}.customer-appointment span{font-size:12px;color:var(--muted)}.customer-visit-actions{display:flex;flex-wrap:wrap;gap:8px}.customer-visit-card button{margin:0}.customer-visit-card .button-secondary{box-shadow:none;background:var(--surface)}.customer-visit-card form+.button{margin-top:12px}.customer-cancel-panel{padding:18px;border-radius:16px;background:var(--accent-soft)}.customer-cancel-panel h3{font-size:16px;margin-bottom:10px}.customer-cancel-panel button{margin-right:8px;margin-top:8px}.customer-feedback{padding:12px 16px;background:var(--success-soft);color:var(--success);border-radius:12px;font-size:13px;margin-bottom:20px}.customer-question-card{padding:16px 0;border:0;border-radius:0}.customer-question-card summary{color:var(--muted)}.visit-review{display:grid;gap:12px;margin-bottom:16px}.visit-review .button{justify-self:start}.refresh-times{margin-top:12px!important}.customer-estimate .customer-estimate-contact{margin-top:20px}.customer-estimate .customer-expiry{font-size:11px}
@media(max-width:599px){.customer-details{grid-template-columns:1fr;gap:14px}.customer-document-card{grid-template-columns:1fr;padding:18px}.customer-document-card .button{grid-column:auto}.customer-estimate h1{font-size:26px}.customer-visit-actions>.button:first-child{flex:1}.customer-estimate{border-radius:22px}}

.customer-visit-card:has(.visit-fields)>.field-hint{display:none}.customer-visit-card:has(.visit-fields) .visit-review .field-hint{font-size:16px;font-weight:600;color:var(--ink)}.customer-visit-card .visit-review{padding:16px;background:var(--accent-soft);border-radius:16px}.customer-visit-card>div:has(.visit-fields)>.button{margin-top:12px}.customer-visit-card .visit-fields~.button{width:100%}

.customer-visit-card:has(.customer-cancel-panel:not([hidden]))>.customer-appointment{display:none}.customer-visit-card:has(.customer-cancel-panel:not([hidden]))>.field-hint{display:none}

.send-card{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;padding:16px 18px!important;margin:0!important;gap:16px}.send-copy{display:grid;gap:5px;min-width:0}.send-card .send-copy p{font-size:12px!important;line-height:1.5;margin:0!important}.send-card .button{margin:0;min-width:0;flex-shrink:0;min-height:42px}.dashboard-alert{display:flex;align-items:center;gap:14px;padding:18px;text-decoration:none;margin:16px 0 0;font:inherit}.alert-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;background:var(--surface);color:var(--accent);border-radius:50%}.alert-copy{flex:1;min-width:0;display:grid;gap:5px}.alert-copy strong{font-size:14px;font-weight:700;color:var(--ink)}.alert-copy>span{font-size:12px;line-height:1.45;color:var(--muted)}.row-chevron{display:grid;place-items:center;color:var(--muted);flex:0 0 16px}.row-chevron svg{width:16px;height:16px}.empty-day{display:flex;align-items:center;gap:14px;padding:18px}.empty-day h3{margin:0 0 6px;font-size:15px}.empty-day .field-hint{margin:0;font-size:12px}.day-icon{display:grid;place-items:center;width:36px;height:36px;color:var(--muted);flex-shrink:0}.next-top{display:flex;justify-content:space-between;align-items:center}.dashboard-next:not(.empty-day){position:relative;padding-right:38px}.dashboard-next>.row-chevron{position:absolute;right:16px;top:50%}.dashboard-day-list{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.dashboard-day-list>.agenda-event-row+ .agenda-event-row{border-top:1px solid var(--line)}.workspace-back{position:absolute;left:0;top:0;display:grid;place-items:center;width:34px;height:34px;background:white;border-radius:50%;color:var(--ink)}.workspace-heading.has-back{padding-left:46px}.workspace-panel[data-view=requests] .request-section-heading h2{display:none}.workspace-panel[data-view=requests] .request-section-heading{justify-content:flex-end;margin-bottom:12px}.request-inbox-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.request-trade{border-radius:999px;background:var(--surface);color:var(--accent);padding:5px 9px;font-size:11px}.request-inbox-meta time{font-size:11px;color:var(--muted)}.request-item .request-location{font-size:12px;color:var(--muted);line-height:1.6}.request-item>.button{width:100%;margin-top:16px}.request-item h3{font-size:16px;margin:0 0 8px}.request-item>.field-hint{font-size:12px;margin-top:12px}#request-notification:empty{display:none}
@media(max-width:480px){.send-card{gap:10px;padding:16px!important}.send-card .button{padding:10px 14px!important;font-size:11px!important}.send-card .send-copy h2{font-size:15px!important}.send-card .send-copy p{font-size:11px!important}.dashboard-alert{padding:16px;gap:12px}}

.dashboard-alert .alert-icon{background:var(--primary);color:var(--primary-text)}

.delivery-visit{padding:4px 0 16px}.delivery-visit h3{font-size:16px;margin:8px 0 12px}.delivery-visit .visit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-visit label{display:grid;gap:8px;font-size:12px}.delivery-visit select{width:100%;min-width:0;padding:11px 8px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit}.delivery-visit .field-hint{font-size:12px;line-height:1.5;margin:0 0 12px}.delivery-visit form>.button{width:100%;margin-top:16px}.customer-visit-card form>.button+.button{margin-top:10px}.delivery-visit>.button{margin-top:12px}

/* Confirmed job editor uses the same service questions and document templates. */
.job-editor{width:calc(100% - 28px);max-width:820px;height:min(850px,92dvh);max-height:92dvh;padding:0;overflow:hidden}.job-editor[open]{display:flex;flex-direction:column}.job-editor-header{position:relative;padding:22px 24px 16px;flex:none}.job-editor-header h2{margin:0 40px 6px 0;font-size:23px}.job-editor-header .delivery-close{right:18px;top:18px}.job-editor-tabs{margin:0 24px 14px;flex:none}.job-editor-content{overflow:auto;min-height:0;flex:1;padding:0 24px 24px;overscroll-behavior:contain}.job-editor-panel{display:grid;gap:16px}.job-editor [hidden]{display:none!important}.job-editor-panel h3{font-size:17px;margin:0 0 8px}.job-editor-panel label{font-size:12px;line-height:1.4}.job-editor textarea{resize:vertical;min-height:82px;line-height:1.55}.job-editor input[type=file]{font-size:12px}.job-editor .button{border:0;box-shadow:none}.job-editor-footer{flex:none;padding:14px 24px;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;gap:14px}.job-editor-footer>.button{margin-left:auto;min-width:155px;min-height:46px}.job-editor-footer>.form-status{font-size:12px;margin:0;flex:1;line-height:1.5}.job-editor-footer>.form-status:empty{display:none}.job-extra{border-top:1px solid var(--line);padding-top:14px}.job-extra>summary{font-size:13px;font-weight:600;cursor:pointer;color:var(--muted);padding:4px 0}.job-extra-body{display:grid;gap:14px;padding-top:14px}.job-client-row{display:grid;grid-template-columns:minmax(0,1fr)}.job-line-item{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:16px;margin-bottom:12px}.job-line-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px}.job-price-grid{display:grid;grid-template-columns:.85fr 1fr 1.3fr;gap:10px;margin-top:12px}.job-line-total{display:block;text-align:right;margin-top:12px;font-size:13px;font-weight:600;color:var(--muted)}.job-total{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--accent-soft);border-radius:16px;color:var(--ink)}.job-total strong{font-size:22px}.job-review-notes{background:#faf8f2;border-radius:16px;padding:18px;font-size:13px;line-height:1.55}.job-review-notes ul{padding-left:18px;margin:10px 0 0}.job-ai-review{border:1px solid var(--line);border-radius:18px;padding:20px;background:var(--accent-soft);font-size:13px;line-height:1.6}.job-ai-review ul{padding-left:18px}.job-ai-review>.button{margin-top:10px}.job-ai-review>.text-action{display:block;margin-top:12px}.job-discard{font-size:12px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.job-editor-footer:has(.job-discard:not([hidden])){flex-wrap:wrap}.job-discard:not([hidden]){flex-basis:100%}.job-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.job-photo{min-width:0;display:grid;gap:5px;font-size:11px}.job-photo img{aspect-ratio:1;object-fit:cover;width:100%;border-radius:12px}.job-photo span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-guided-intake{border:1px solid var(--line);border-radius:18px;padding:20px;background:var(--accent-soft)}.job-intake-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:13px}.job-guided-intake progress{width:100%;height:5px;border:0;border-radius:9px;accent-color:var(--accent);margin:12px 0 20px}.job-guided-intake progress::-webkit-progress-bar{background:var(--surface);border-radius:9px}.job-guided-intake progress::-webkit-progress-value{background:var(--primary);border-radius:9px}.job-question-options{display:grid;gap:8px;margin:12px 0 20px;padding:0;border:0}.job-question-options label{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:13px;cursor:pointer;font-size:14px;font-weight:400}.job-question-options label:has(input:checked){border-color:var(--line);background:var(--accent-soft);color:var(--accent)}.job-question-options input{width:17px;height:17px;margin:0;padding:0;flex:none;accent-color:var(--accent)}.job-question-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.job-question-actions .button{min-height:44px}.job-service-options{display:grid;gap:10px;margin-top:16px}.job-intake-review{display:grid;gap:12px;margin:0 0 18px}.job-intake-review>div{display:grid;grid-template-columns:1fr auto;gap:5px;border-bottom:1px solid var(--line);padding-bottom:12px}.job-intake-review dt{font-size:11px;color:var(--muted)}.job-intake-review dd{margin:0;font-size:13px;grid-column:1}.job-intake-review button{grid-column:2;grid-row:1/3;align-self:center}.job-editor .pdf-template-strip{max-width:100%}
@media(max-width:480px){.job-editor{width:calc(100% - 16px);height:94dvh;max-height:94dvh;border-radius:22px}.job-editor-header{padding:18px 17px 12px}.job-editor-tabs{margin:0 12px 12px}.job-editor-content{padding:0 16px 20px}.job-editor-footer{padding:12px 16px;flex-wrap:wrap;gap:8px}.job-editor-footer>.button{width:100%;min-height:45px}.job-editor-footer>.form-status{flex-basis:100%}.job-guided-intake{padding:16px}.job-price-grid{gap:7px}.job-price-grid input{padding:10px 7px;font-size:13px}.job-price-grid label{font-size:10px}.job-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}

.job-editor .pdf-stage:not(.pdf-zoomed) .pdf-page{max-height:calc(92dvh - 335px)}.job-editor .pdf-stage{max-height:none}.job-editor-footer>.button[hidden]{display:none}.job-editor-footer>.button:not([hidden]){margin-left:auto}

.job-client-setup{display:grid;gap:16px}.job-client-setup>.text-action{justify-self:end}.job-client-summary{display:flex;align-items:center;gap:16px;padding:12px 0 16px;border-bottom:1px solid var(--line)}.job-client-summary>div{min-width:0;flex:1;display:grid;gap:4px}.job-client-summary strong{font-size:13px}.job-client-summary span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.job-editor.job-document-view{height:auto}.job-document-view .job-editor-content{flex:0 1 auto}

/* Compact actions in the job form: no native disclosure markers. */
.job-editor{min-width:0;max-width:680px;height:auto}.job-editor-content{flex:0 1 auto;min-width:0}.job-editor-panel,.job-client-setup{min-width:0}.job-editor-tabs{min-width:0;max-width:calc(100% - 48px);grid-template-columns:repeat(4,minmax(0,1fr))}.job-editor-tabs button{min-width:0;white-space:nowrap;padding-inline:2px}.job-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:var(--ink)}.job-client-row{gap:8px}.job-add-client{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 12px;border:0;border-radius:999px;background:var(--accent-soft);color:var(--accent);font:600 12px Arial;cursor:pointer}.job-add-client:hover,.job-add-client[aria-expanded=true]{background:var(--accent-soft)}.job-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:17px;height:17px}.job-action-icon svg{width:100%;height:100%}.job-inline-client{padding:16px;background:var(--accent-soft);border-radius:17px}.job-inline-client .job-extra-body{padding-top:0}.job-inline-client .text-action{justify-self:center}.job-optional-details{display:grid;gap:12px;padding-top:4px}.job-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.job-detail-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:999px;background:var(--surface);color:var(--muted);padding:10px 13px;min-height:40px;font:600 12px Arial;cursor:pointer}.job-detail-chip:hover{background:var(--accent-soft)}.job-detail-chip[aria-expanded=true]{background:var(--accent-soft);color:var(--accent)}.job-detail-panel{padding:16px;border-radius:17px;background:var(--surface);display:grid;gap:12px}.job-detail-panels:not(:has(>.job-detail-panel:not([hidden]))){display:none}.job-editor-footer:has(>.form-status:empty):has(>.job-discard[hidden]):not(:has(>button:not([hidden]))){display:none}.job-guided-intake{background:#fff}.job-service-options>.button{background:var(--accent-soft);color:var(--accent)}.job-service-options>.button:hover{background:var(--accent-soft)}
@media(max-width:480px){.job-editor{height:auto}.job-editor-tabs{max-width:calc(100% - 24px)}.job-editor-tabs button{font-size:11px}.job-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.job-detail-chip{padding:10px 8px;font-size:12px}.job-inline-client{padding:14px}}

.job-editor[open]{height:fit-content}

/* Final-estimate delivery stays within the existing job. */
.job-estimate-actions{display:grid;gap:12px;margin-top:12px}.job-document-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.job-estimate-state{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:var(--muted)}.job-estimate-actions>.job-detail-chip{justify-self:start}.job-estimate-conversation{padding-top:12px;border-top:1px solid var(--line)}.job-estimate-conversation form,.final-conversation form,.final-accept-form{display:grid;gap:14px}.job-estimate-conversation label,.final-conversation label,.final-accept-form label{display:grid;gap:8px;font-size:13px;font-weight:600}.job-estimate-conversation textarea,.final-conversation textarea,.final-accept-form input[type=text]{width:100%;min-width:0;box-sizing:border-box;padding:13px;border:1px solid var(--line);border-radius:14px;background:white;font:14px Arial;color:var(--ink);line-height:1.5}.estimate-messages{display:grid;gap:10px;margin-bottom:16px}.estimate-message{padding:14px 16px;border-radius:16px;background:var(--surface);font-size:13px}.estimate-message.contractor{background:var(--accent-soft);margin-left:18px}.estimate-message strong{font-size:11px;color:var(--muted)}.estimate-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:5px 0 8px;font-size:13px}.estimate-message time{font-size:10px;color:var(--muted)}.delivery-icon svg{width:25px;height:25px}.estimate-delivery .delivery-status:empty{display:none}
.customer-final-estimate{max-width:720px!important;margin:0 auto;padding:32px!important;border-radius:24px!important}.final-estimate-heading{padding-bottom:22px;border-bottom:1px solid var(--line)}.final-estimate-heading .eyebrow{margin:0 0 14px;font-size:12px;letter-spacing:.06em}.final-estimate-heading h1{font-size:30px;margin-bottom:8px}.final-estimate-recipient{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0 28px}.final-estimate-recipient dt{font-size:11px;color:var(--muted);margin-bottom:6px}.final-estimate-recipient dd{font-size:13px;margin:0;color:var(--ink);line-height:1.5;overflow-wrap:anywhere}.final-estimate-project h2,.final-estimate-terms h2,.final-accept-form h2{font-size:17px;margin:0 0 12px}.final-estimate-project p,.final-estimate-project li,.final-estimate-terms p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.final-estimate-project ul{padding-left:19px;margin:12px 0 0;color:var(--muted)}.final-estimate-pricing{margin-top:24px}.final-estimate-pricing table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.final-estimate-pricing th{padding:10px 6px;background:var(--accent-soft);color:var(--muted);font-size:10px;text-align:right;font-weight:600}.final-estimate-pricing th:first-child{width:44%;text-align:left;padding-left:12px}.final-estimate-pricing td{padding:14px 6px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top;overflow-wrap:anywhere;line-height:1.5}.final-estimate-pricing td:first-child{text-align:left;padding-left:12px}.final-estimate-total{display:flex;justify-content:space-between;align-items:center;padding:17px 12px;background:var(--accent-soft);color:var(--accent);border-radius:0 0 12px 12px;font-size:13px}.final-estimate-total strong{font-size:23px}.final-estimate-terms{margin-top:24px;white-space:pre-line}.final-document-row{display:flex;justify-content:flex-end;margin:8px 0 20px}.final-work-date{padding:14px 16px;background:var(--accent-soft);border-radius:14px;font-size:12px!important}.final-estimate-response{margin-top:20px}.final-response-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-final-estimate .button{border:0;border-radius:999px;font-size:13px;min-height:46px;padding:12px 18px}.final-accept-form{padding:20px;background:var(--surface);border-radius:18px}.final-accept-form .estimate-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.6}.estimate-consent input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:var(--accent)}.final-accepted{padding:18px;background:var(--success-soft);border-radius:16px;color:var(--success);margin-bottom:16px}.final-accepted p{margin-top:7px;font-size:12px}.final-conversation{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.final-estimate-contact{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px;border-top:1px solid var(--line);padding-top:14px;font-size:12px;color:var(--muted)}.customer-final-estimate>.customer-feedback{font-size:13px}.customer-final-estimate [hidden]{display:none!important}
@media(max-width:480px){.customer-final-estimate{padding:22px 18px!important;border-radius:20px!important}.final-estimate-heading h1{font-size:26px}.final-estimate-recipient{grid-template-columns:1fr;gap:12px;margin-block:18px}.final-estimate-pricing th:first-child{width:39%}.final-estimate-pricing th,.final-estimate-pricing td{padding-inline:4px}.final-estimate-pricing td{font-size:11px}.final-response-actions{grid-template-columns:1fr}.final-accept-form{padding:16px}.job-document-actions .button{min-width:0}}

.client-directory{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.client-directory-row,.client-job-row{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#fff;padding:18px;text-align:left;color:var(--ink);font:inherit;cursor:pointer}.client-directory-row+.client-directory-row,.client-job-row+.client-job-row{border-top:1px solid var(--line)}.client-directory-row:hover,.client-job-row:hover{background:var(--accent-soft)}.client-directory-row .event-info>span{font-size:12px}.client-profile-heading{display:flex;align-items:center;gap:12px}.client-profile-heading h2{margin:0;font-size:23px}.client-profile>.section-caption{margin:24px 3px 12px}.client-contact-card{margin:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:8px 18px}.client-contact-card>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:15px 0}.client-contact-card>div+div{border-top:1px solid var(--line)}.client-contact-card dt{font-size:12px;color:var(--ink)}.client-contact-card dd{margin:0;text-align:right;font-size:12px;color:var(--muted);overflow-wrap:anywhere;line-height:1.5}.client-contact-card a:hover{color:var(--accent)}.client-job-list{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff}.client-job-dot{width:7px;height:7px;flex:none;background:var(--accent-soft);border-radius:50%}.client-job-dot.completed{background:var(--success)}.client-job-row .event-info strong{font-size:13px}.client-jobs-empty{padding:24px;text-align:center;font-size:13px!important;color:var(--muted)}.client-new-job{width:100%;margin-top:14px;font-size:13px!important}.workspace-panel[data-view=clients]:has(.client-profile){gap:0}@media(max-width:480px){.client-directory-row,.client-job-row{padding:16px 13px;gap:10px}.client-profile-heading h2{font-size:21px}.client-contact-card>div{grid-template-columns:60px minmax(0,1fr);gap:10px}}

#workspace:has(.workspace-panel[data-view=clients]:not([hidden]) .client-profile)>.workspace-heading{display:none}

.job-document-actions>.button{flex:1;min-width:120px}.job-document-actions>.text-action{flex-basis:100%}

.agenda-event-row:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:18px}
.workspace-heading:has(.notification-bell) .workspace-brand{display:none}
.notification-bell{position:absolute;right:2px;top:0;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--accent);box-shadow:0 2px 12px #0b344508}
.notification-bell svg{width:22px;height:22px}.notification-badge{position:absolute;right:-4px;top:-4px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;background:var(--primary);color:var(--primary-text);border:2px solid var(--line);border-radius:20px;font-size:10px;font-weight:700}.notification-badge[hidden]{display:none}
.notification-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.notification-toolbar p{flex:1 1 220px;margin:0}.notification-toolbar button{font-size:12px;white-space:nowrap;min-height:40px}.notification-list{border:1px solid var(--line);background:#fff;border-radius:20px;overflow:hidden}.notification-row{position:relative;padding:4px 16px 12px}.notification-row+.notification-row{border-top:1px solid var(--line)}.notification-row.unread{background:var(--accent-soft)}.notification-open{display:grid;grid-template-columns:7px minmax(0,1fr) 12px;gap:12px;align-items:center;width:100%;padding:15px 0 8px;background:none;color:var(--ink);text-align:left;border:0;border-radius:12px}.notification-dot{width:6px;height:6px;border-radius:50%;background:transparent}.unread .notification-dot{background:var(--primary)}.notification-copy{display:grid;gap:5px;min-width:0}.notification-copy strong{font-size:14px}.notification-copy>span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.notification-copy time{font-size:11px;color:var(--muted)}.notification-read{margin-left:19px;padding:4px 0;border:0;background:none;color:var(--muted);font-size:11px;min-height:28px}.notification-list .agenda-empty{border:0;padding:34px 20px}.notification-list .agenda-empty h2{font-size:19px}
.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.conversation-heading h3{margin:0}.request-messages{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}.request-messages form,.customer-question-card form{display:grid;gap:12px}.request-messages label{display:grid;gap:8px;font-size:13px;font-weight:600}.request-messages textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:14px;padding:12px;font:inherit;resize:vertical}.request-messages .button{justify-self:start}.customer-estimate-contact{display:flex;align-items:center;justify-content:space-between;gap:16px}
.notification-toolbar{justify-content:flex-end}.notification-toolbar .field-hint{display:none}.workspace-panel[data-view=notifications]>.form-status:empty{display:none}.notification-row{padding-bottom:6px}.notification-open{padding:14px 0 12px}.notification-copy time{padding-right:70px}.notification-read{position:absolute;right:39px;bottom:12px;margin:0;min-height:24px}.workspace-panel[data-view=notifications]{gap:12px}

/* Work lifecycle: compact, shared with the existing document views. */
.request-final-section{margin-top:24px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.request-final-section h3{margin:0 0 12px}.request-final-section .job-estimate-actions{margin-top:12px}.job-invoice-actions{margin:12px 0}.invoice-dialog{max-width:480px}.invoice-dialog h3{font-size:16px;margin:12px 0}.invoice-summary{padding:18px 0}.invoice-figures{margin:18px 0}.invoice-figures>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.invoice-figures dt{color:var(--muted)}.invoice-figures dd{margin:0;font-weight:700}.invoice-figures>div:last-child{border-top:1px solid var(--line);margin-top:6px}.invoice-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.invoice-payment-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.invoice-payment-row>div{display:grid;gap:4px;min-width:0}.invoice-payment-row>span{min-width:0;overflow-wrap:anywhere}.invoice-payment-row>strong{white-space:nowrap}.invoice-payment-form{margin:20px 0;padding-top:16px;border-top:1px solid var(--line)}.invoice-paid{color:var(--success);font-weight:700}.invoice-void{display:block;margin:22px 0 0;color:var(--muted)}.invoice-balance{font-size:34px;letter-spacing:-1px}.invoice-instructions{white-space:pre-wrap}.invoice-dialog .form-status:empty{display:none}@media(max-width:480px){.request-final-section{padding:16px}.invoice-dialog{padding:24px 18px}.invoice-figures{font-size:14px}}

.privacy-dialog{max-width:500px}.privacy-request-form{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.privacy-history{margin-top:24px}.privacy-history h3{font-size:16px}.privacy-history-item{padding:12px 0;border-bottom:1px solid var(--line)}.privacy-history-item p{margin:6px 0;overflow-wrap:anywhere}

/* Settings opens dedicated sections with the same workspace navigation. */
.settings-avatar{border-radius:50%;width:56px;height:56px}
.workspace-app #sign-out.settings-signout{display:flex;justify-content:center;gap:10px;width:100%;min-height:50px;margin:18px 0 8px;padding:12px 20px;background:var(--surface);color:var(--ink);font:600 14px Arial;border:0;border-radius:99px}
.settings-signout .settings-icon{background:transparent;color:inherit;width:22px;height:22px}
.settings-subpage{max-width:680px;margin-left:auto;margin-right:auto;padding-right:0}
.settings-subpage .notification-bell,.settings-subpage .workspace-brand{display:none}
.settings-subpage>p{display:none}
.settings-subpage h1{font-size:26px;letter-spacing:-.6px}
.settings-page{gap:18px}.settings-page-form{display:grid;gap:18px;margin:0;min-width:0}
.settings-section-card{display:grid;gap:18px;min-width:0;background:white;border:1px solid var(--line);border-radius:20px;padding:24px}
.settings-section-card h2{font-size:16px;margin:0!important;letter-spacing:-.2px}.settings-section-card .field-hint{font-size:12px;line-height:1.65;margin:0}
.settings-page .button{border:0;min-height:46px;font-size:13px;box-shadow:none}.settings-page-form>.button{width:100%}
.settings-page label{display:grid;gap:9px;font-size:12px;font-weight:600;color:var(--muted);min-width:0}
.settings-page input:not([type=checkbox]),.settings-page select,.settings-page textarea{min-width:0;width:100%;min-height:46px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;font:400 14px Arial;color:var(--ink)}
.settings-page select{padding-right:26px}.settings-page input[type=file]{padding:10px;font-size:12px}
.settings-page .settings-days label{display:grid;gap:0;place-items:center;font-size:11px}.settings-page .settings-days label:has(input:checked){color:white}
.settings-page .business-assets{margin:0;border:0;padding:0}.settings-page .business-assets>h2{display:none}.settings-page .asset-field{margin-top:20px;padding:18px 0 0;border:0;border-top:1px solid var(--line)}
.settings-page .asset-field img{max-height:100px;max-width:180px;object-fit:contain;margin:10px 0}.settings-page .asset-field .form-actions{gap:8px;flex-wrap:wrap}.settings-page .asset-field .button{padding:10px 16px}
.settings-text-link{color:var(--accent);font-size:13px;font-weight:600;justify-self:start;min-height:28px;display:inline-flex;align-items:center}
.privacy-center{display:grid;gap:18px}.privacy-center .privacy-request-form{margin:0}.privacy-center .privacy-history:empty{display:none}.privacy-center .privacy-history{margin:0}
@media(max-width:480px){.settings-section-card{padding:20px}.settings-subpage h1{font-size:24px}.settings-business h2{font-size:18px}.settings-page .settings-days{gap:3px}.settings-page .settings-times{gap:10px}.settings-page .settings-times input{padding:10px}}
.round-navigation{width:40px!important;height:40px!important;min-height:40px!important;min-width:40px!important;border:0!important;border-radius:50%!important;padding:0!important;display:inline-grid!important;place-items:center;background:white;color:var(--ink);box-shadow:none}

/* Keep completed work, customer communication and payment state distinct. */
.row-detail{display:grid;gap:14px}.row-detail>p{margin:0}.row-detail>.visit-state{order:-2;justify-self:start;background:transparent;padding:0;color:var(--muted);font-size:12px}
.row-detail>.job-invoice-actions{order:-1;margin:0}.job-invoice-primary{width:100%;min-height:44px;font-size:13px}
.job-invoice-state{margin:8px 0 0;font-size:12px;color:var(--muted)}.job-invoice-state:empty{display:none}
.job-amount{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}
.job-payment-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;background:var(--success-soft);color:var(--success);font:700 11px Arial;line-height:1.2;white-space:nowrap}
.job-payment-badge[hidden]{display:none}.job-payment-badge svg{width:13px;height:13px;flex-shrink:0}
.row-detail .job-estimate-actions{margin:0;gap:12px}.job-estimate-actions>.job-detail-chip{color:var(--accent);background:var(--accent-soft);min-height:42px;padding-inline:16px}
.job-estimate-actions>.job-detail-chip .delivery-icon{display:flex}.job-estimate-actions>.job-detail-chip svg{width:18px;height:18px}
.invoice-page{width:100%;max-width:680px;min-width:0;margin:0 auto}.invoice-page-body{display:grid;gap:16px}
.invoice-page .invoice-summary,.invoice-create,.invoice-page .invoice-payment-form,.invoice-history{padding:24px;border:1px solid var(--line);border-radius:22px;background:white}
.invoice-number{display:block;font-size:11px;color:var(--muted);letter-spacing:.06em;margin-bottom:8px}
.invoice-page .invoice-summary h2{font-size:20px;margin:0;overflow-wrap:anywhere}
.invoice-page .invoice-balance{display:grid;gap:7px;margin:26px 0 22px;letter-spacing:0}
.invoice-page .invoice-balance>span{font-size:12px;color:var(--muted)}.invoice-page .invoice-balance>strong{font-size:38px;letter-spacing:-1px;line-height:1.15}
.invoice-page .invoice-figures{margin:0;padding-top:12px;border-top:1px solid var(--line);font-size:13px}
.invoice-page .invoice-figures>div{padding:7px 0}.invoice-page .invoice-figures>div:last-child{border:0;margin:0}.invoice-page .invoice-figures dd{font-weight:600}
.invoice-page .invoice-due{font-size:12px;color:var(--muted);margin-top:16px}.invoice-page .invoice-delivery-status{font-size:12px;color:var(--success);margin:12px 0 0}
.invoice-page .invoice-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.invoice-page .invoice-actions>:only-child{grid-column:1/-1}
.invoice-page .button{border:0;min-height:46px;font-size:13px}.invoice-page .button-secondary{background:var(--accent-soft);color:var(--accent)}
.invoice-page .invoice-record{justify-self:start;padding-inline:22px}.invoice-history{padding:0;overflow:hidden}
.invoice-history>summary{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.invoice-history>summary::-webkit-details-marker{display:none}.invoice-history>summary:after{content:'\203A';font-size:20px;color:var(--muted)}.invoice-history[open]>summary:after{transform:rotate(90deg)}
.invoice-history .invoice-payments{padding:0 24px 12px}.invoice-history .invoice-payment-row:last-child{border-bottom:0}.invoice-payment-row strong{font-size:14px}.invoice-payment-row .field-hint{font-size:12px}
.invoice-page .invoice-payment-form,.invoice-create{display:grid;gap:18px;margin:0}.invoice-page form h2,.invoice-page form h3,.invoice-page form p{margin:0}
.invoice-page form label{display:grid;gap:8px;font-size:12px;font-weight:600;color:var(--ink)}
.invoice-page form input,.invoice-page form select,.invoice-page form textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff;color:var(--ink);font:14px Arial;line-height:1.5}
.invoice-page form .field-hint{font-size:12px;line-height:1.6}.invoice-page .invoice-void{justify-self:center;margin:10px 0;color:var(--muted);font-weight:400}
@media(max-width:480px){.invoice-page .invoice-summary,.invoice-create,.invoice-page .invoice-payment-form{padding:22px 20px}.invoice-page .invoice-balance>strong{font-size:34px}.invoice-history>summary{padding:18px 20px}.invoice-history .invoice-payments{padding-inline:20px}}
.invoice-history .invoice-payment-row{flex-wrap:wrap}.invoice-history .invoice-payment-row>div{flex:1 0 55%}.invoice-refund-review{background:var(--accent-soft)!important}.invoice-adjustments{padding:22px;border:1px solid var(--line);border-radius:22px;background:white}.invoice-receipt .button{width:100%}.invoice-page .invoice-receipt{margin-top:18px}.invoice-refund-review select{white-space:normal}

/* One estimate from each request; the original project remains below it. */
.request-project-card{margin-top:24px;padding-top:22px;border-top:1px solid var(--line,var(--line))}
.request-project-card>h3{margin:0 0 14px}.request-project-card>.request-gallery{margin-bottom:12px}

.payment-confirmation-choice{display:flex!important;align-items:flex-start;gap:10px;font-size:13px!important;line-height:1.5}.payment-confirmation-choice input{width:18px!important;height:18px;min-height:0;flex:none;margin:2px 0 0;accent-color:var(--accent)}

.workspace-plan-notice{display:block;margin:0 0 18px;padding:12px 16px;border-radius:16px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:600;text-decoration:none}

.daily-stats>a{text-decoration:none;min-width:0;padding:4px;border-radius:8px}.daily-stats>a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.daily-stats strong{font-size:clamp(15px,4vw,22px);overflow-wrap:anywhere}

.settings-policy-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;padding:14px 0}.settings-policy-links a{color:var(--accent);font-size:13px;padding:10px 0}
.settings-page .settings-days label:has(input:checked){color:var(--primary-text)}.settings-close-confirm{color:white}.calendar-day.selected:after{background:var(--primary-text)}

.push-state{font-weight:700;color:var(--ink,#0b3445);margin:24px 0 16px}.push-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.push-install-steps{padding-left:22px;line-height:1.8}.push-settings .form-status:empty{display:none}
.history-tabs{display:flex;gap:4px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:99px}.history-tabs button{flex:1;border:0;border-radius:99px;background:transparent;color:var(--muted);font:600 13px Arial;min-height:44px;cursor:pointer}.history-tabs button[aria-pressed=true]{color:var(--primary);background:var(--accent-soft)}.history-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between}.history-toolbar input{flex:1;min-width:0;border:1px solid var(--line);border-radius:99px;padding:13px 16px;background:#fff;font:14px Arial;color:var(--ink)}.history-toolbar select{max-width:180px;border:1px solid var(--line);border-radius:14px;min-height:44px;padding:8px 12px;background:#fff;color:var(--ink);font:600 12px Arial}.history-toolbar .field-hint{margin:0}.history-record-action{display:block;margin-top:16px;min-height:44px;font-size:13px}.request-history-controls{margin:0 0 16px}.is-reviewing .request-history-controls{display:none}.notification-actions{display:flex;justify-content:flex-end;gap:16px;padding:0 0 2px}.notification-actions button{font-size:12px;min-height:40px}.notification-row .notification-copy time{padding-right:0}.notification-toolbar .text-action{min-height:44px}.notification-list .notification-row{padding-bottom:2px}.form-status:empty{display:none}

/* Keep the same glass selection in notifications and the main navigation. */
.notification-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:6px;border:2px solid #fff;background:#ffffffed;box-shadow:0 8px 25px #0b34450d}
.notification-tabs>button{position:relative;z-index:1;min-width:0;min-height:44px;font-family:inherit}
.notification-tabs>button[aria-pressed=true]{background:transparent;color:var(--accent)}
.notification-tabs>button:focus-visible{outline-offset:-3px}
.notification-tabs .notification-lens{left:6px;top:6px;width:calc((100% - 12px)/3);height:calc(100% - 12px)}
.workspace-nav:not(:has(a[aria-current]))>.workspace-lens{opacity:0}

/* Group related actions, with enough room for both touch and keyboard use. */
.notification-toolbar{justify-content:space-between;align-items:center;gap:8px 12px;margin:4px 0}
.notification-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}
.notification-toolbar .text-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 16px;border:1px solid var(--line);border-radius:99px;background:#fff;line-height:1.3;text-align:center}
.notification-toolbar .text-action:hover{background:var(--accent-soft)}
.notification-toolbar .notification-preferences{background:transparent}
.notification-actions{gap:8px;padding:0 0 6px}
.notification-actions .text-action{min-height:44px;padding:10px 12px;border-radius:99px}
.notification-actions .text-action:hover{background:#ffffffa6}
.notification-copy strong{overflow-wrap:anywhere}
.workspace-panel,.workspace-settings,.day-agenda{min-width:0}
.workspace-heading .workspace-business{overflow-wrap:anywhere}
.workspace-app .account-main{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
.agenda-toolbar .icon-button,.month-heading .icon-button{width:44px;height:44px;flex:none}
.agenda-toolbar>.text-action{min-height:44px;padding-inline:12px}
.month-calendar{width:100%;min-width:0}
.legal-review-card form{display:grid;gap:14px;margin-top:16px}
.legal-review-card .check-label{align-items:flex-start;margin:0;line-height:1.6}
.legal-review-card .check-label input{flex:none;margin-top:2px}
.account-card .legal-review-card form>.button{margin:0;min-height:44px}
.legal-review-card form>p:empty{display:none}
@media(min-width:700px){
 .legal-review-card form{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}
 .account-card .legal-review-card form>.button{width:auto;min-width:150px;padding-inline:22px}
 .legal-review-card form>p{grid-column:1/-1}
}
@media(min-width:481px) and (max-width:849px){
 .month-calendar{max-width:480px;justify-self:center}
 .calendar-day{min-height:44px;aspect-ratio:1.3}
}
@media(min-width:850px){
 .workspace-panel[data-view=schedule]{grid-template-columns:minmax(330px,400px) minmax(0,1fr);gap:20px 28px}
 .month-calendar{padding:18px 16px}
 .calendar-day{min-height:44px;aspect-ratio:1.3}
 .day-agenda .section-caption{min-height:44px;display:flex;align-items:center;margin:0 3px 14px}
}
@media(min-width:1180px){
 .workspace-app .account-main{width:min(100% - 96px,1040px)}
 .workspace-heading{margin-bottom:28px}
}
@media(max-width:599px){
 .notification-toolbar{align-items:stretch;gap:8px}
 .notification-toolbar .notification-preferences{flex:1 0 100%}
 .notification-toolbar-actions{width:100%}
 .notification-toolbar-actions>.text-action{flex:1}
.notification-tabs>button{font-size:12px}
}
.signature-editor .signature-methods{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px;border:2px solid #fff;background:#ffffffed;box-shadow:0 8px 25px #0b34450d}
.signature-editor .signature-methods>button{position:relative;z-index:1;min-width:0;min-height:44px;font-weight:600;color:var(--muted)}
.signature-editor .signature-methods>button[aria-pressed=true]{background:transparent;box-shadow:none;color:var(--accent)}
.signature-editor .signature-methods>button:focus-visible{outline-offset:-3px}
.signature-methods .signature-lens{left:6px;top:6px;width:calc((100% - 12px)/2);height:calc(100% - 12px)}

/* Request review keeps one focused section visible at a time. */
.requests-section.is-reviewing{min-width:0;max-width:100%}
.request-details{margin-top:24px;min-width:0}
.request-review-tabs{display:flex;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-bottom:1px solid var(--line);margin-bottom:20px;padding:0 0 1px}
.request-review-tab{flex:1 0 auto;min-height:48px;padding:12px 18px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.request-review-tab:hover{color:var(--ink);background:var(--surface)}
.request-review-tab[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}
.request-review-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-5px;border-radius:8px}
.request-tab-panel{min-width:0}
.request-tab-panel:focus:not(:focus-visible){outline:none}
.request-tab-panel[hidden]{display:none!important}
.request-tab-panel>.request-final-section{margin-top:0}
.request-tab-panel .answer-group+.answer-group{margin-top:18px}
.request-tab-panel .answer-group h3{margin:0;padding:18px 20px;font-size:16px;background:#fff}
.request-tab-panel .answer-row{padding:15px 20px}
.request-source-note{margin:16px 2px 0;color:var(--muted);font-size:12px;line-height:1.6}
.request-empty{margin:0;padding:8px 20px 22px;color:var(--muted);font-size:14px}
.request-photos-card{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}
.request-photos-card h3{margin:0 0 18px;font-size:16px}
.request-photos-card .request-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.request-photos-card .request-gallery a{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.request-photos-card .request-gallery img{display:block;width:100%;height:180px;object-fit:contain;margin:0}
@media(max-width:600px){.request-details{margin-top:18px}.request-review-tabs{margin-bottom:16px;gap:0}.request-review-tab{flex:0 0 auto;padding:12px 17px;font-size:13px}.request-tab-panel .answer-row{padding:13px 16px}.request-tab-panel .answer-group h3{padding:16px}.request-photos-card{padding:16px}}
.request-review-tabs::-webkit-scrollbar{display:none}
.product-update-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:28px}.product-update-dialog h2{padding-right:28px;font-size:23px;line-height:1.25}.product-update-dialog p{font-size:14px;line-height:1.7;color:var(--muted)}.product-update-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px;font-size:14px}
.request-share-dialog{width:min(460px,calc(100% - 32px));padding:24px}.request-share-header{display:flex;align-items:flex-start;gap:12px}.request-share-header h2{flex:1;min-width:0;margin:0;font-size:22px;line-height:1.3}.request-share-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:7px;border:0;border-radius:50%;background:var(--surface);color:var(--ink)}.request-share-close svg{width:20px;height:20px}.request-share-dialog input{font-size:13px;text-overflow:ellipsis;margin:20px 0 12px}.request-share-dialog .request-share-copy{width:100%;border-radius:12px;margin:0;min-height:48px}.request-share-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.request-share-channel{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-width:0;min-height:80px;padding:12px 4px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font-size:13px;font-weight:600;text-align:center;overflow-wrap:anywhere}.request-share-channel:hover{background:var(--accent-soft);border-color:var(--accent)}.request-share-icon{display:grid;place-items:center;color:var(--accent)}.request-share-icon svg{width:23px;height:23px}.request-share-dialog .request-share-status:empty{display:none}.request-share-dialog .request-share-status{color:var(--accent);font-size:13px}.request-share-dialog .request-share-note{font-size:12px;line-height:1.6;color:var(--muted);margin:18px 0 0}@media(max-width:380px){.request-share-dialog{padding:20px}.request-share-header h2{font-size:20px}.request-share-channels{gap:7px}}
/* Shared action buttons use Caxper's navy/cyan palette. */
.button.button-secondary{background:var(--primary);color:var(--primary-text);border-color:var(--primary);box-shadow:none}
.button.button-secondary:hover{background:var(--primary-hover);color:var(--primary-text);border-color:var(--primary-hover)}
.request-review-tab{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;border-bottom:0;transition:background-color .2s,color .2s,flex-grow .24s}
.request-review-tabs{gap:6px;border-bottom:0;padding:3px 0}
.request-review-tab[aria-selected=true]{background:var(--brand-navy);color:var(--brand-cyan);border-bottom:0}
.request-review-icon{display:flex;flex:0 0 20px;width:20px;height:20px}
.request-review-icon svg{width:100%;height:100%}
.request-review-label{min-width:0;white-space:nowrap}
@media(max-width:600px){
 .request-review-tabs{gap:4px;overflow:visible}
 .request-review-tab{flex:0 0 clamp(28px,9vw,40px);min-width:0;min-height:44px;padding:10px 3px;gap:0;background:var(--accent-soft);color:var(--accent)}
 .request-review-tab[aria-selected=true]{flex:1 1 0;background:var(--brand-navy);color:var(--brand-cyan)}
 .request-review-label{max-width:0;opacity:0;overflow:hidden;margin-left:0;font-size:12px;transition:max-width .24s,opacity .16s,margin-left .24s}
 .request-review-tab[aria-selected=true] .request-review-label{max-width:100px;opacity:1;margin-left:6px}
 .request-review-icon{flex-basis:18px;width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.request-review-tab,.request-review-label{transition:none}}
/* Consistent, compact page identity across the contractor workspace. */
.workspace-context{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;font-size:13px;line-height:1.6;color:var(--muted)}
.workspace-context .workspace-business{margin:0;font-weight:600;color:var(--ink)}
.workspace-context time{white-space:nowrap}
.workspace-context-separator{color:var(--muted)}
.settings-subpage>.workspace-context,#workspace:has(.workspace-panel[data-view=settings]:not([hidden]))>.workspace-heading>.workspace-context{display:none}
/* Give explanatory text and its following action a consistent breathing space. */
:where(.workspace-app,#estimate) :where(p,.field-hint)+:where(.button,.form-actions){margin-top:16px}
:where(.workspace-app,#estimate) .form-actions{column-gap:12px;row-gap:12px}
@media(max-width:600px){
 .request-review-tab{flex-basis:clamp(28px,9vw,40px);transition:flex-grow .48s cubic-bezier(.22,.8,.25,1),background-color .3s,color .3s;border-radius:24px}
 .request-review-tab[aria-selected=true]{flex-basis:clamp(28px,9vw,40px);animation:request-liquid-settle .48s cubic-bezier(.22,.8,.25,1)}
 .request-review-label{transition:max-width .48s cubic-bezier(.22,.8,.25,1),opacity .24s,margin-left .48s cubic-bezier(.22,.8,.25,1)}
 @keyframes request-liquid-settle{0%{transform:scaleY(.94);border-radius:28px 22px 28px 22px}60%{transform:scaleY(1.025);border-radius:22px 28px 22px 28px}100%{transform:scaleY(1);border-radius:24px}}
}
@media(prefers-reduced-motion:reduce){.request-review-tab,.request-review-label{transition:none;animation:none!important}}

.feedback-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink);box-shadow:0 24px 80px #0b34452b}.feedback-dialog::backdrop{background:#0b344566;backdrop-filter:blur(3px)}.feedback-dialog h2{font-size:23px;margin:0 0 24px}.feedback-form{display:grid;gap:20px}.feedback-stars{border:0;padding:0;margin:0;min-width:0}.feedback-stars legend{font-size:15px;line-height:1.5;margin-bottom:14px}.feedback-star-options{display:flex;gap:8px}.feedback-star-options label{position:relative;display:grid;place-items:center;min-width:40px;min-height:44px;cursor:pointer}.feedback-star-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.feedback-star-options span{font-size:34px;color:var(--muted);line-height:1}.feedback-star-options .filled span{color:var(--accent)}.feedback-star-options label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}.feedback-form>label:not(.feedback-consent){display:grid;gap:10px;font-size:14px;font-weight:600}.feedback-form textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;resize:vertical;color:var(--ink)}.feedback-form .feedback-consent{display:flex;font-weight:400;color:var(--ink);align-items:flex-start;gap:12px;font-size:13px;line-height:1.6}.feedback-consent input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:var(--accent)}.feedback-form .field-hint{margin:0;font-size:12px;line-height:1.6}.feedback-form>.button{margin:0}.feedback-dismiss{display:block;margin:20px auto 0;background:none;border:0;padding:10px 16px;color:var(--accent);font:inherit;cursor:pointer;min-height:44px}.feedback-form .form-status:empty{display:none}@media(max-width:380px){.feedback-dialog{padding:22px}.feedback-star-options{gap:5px}}
.feedback-star-options label{border-radius:10px;transition:background-color .15s ease,transform .15s ease}.feedback-star-options span{color:#526f7b;font-size:38px}.feedback-star-options .filled{background:transparent}.feedback-star-options .filled span{color:#007c98}.feedback-summary{display:grid;gap:16px}.feedback-summary h2{margin:0;font-size:22px;line-height:1.3}.feedback-summary p{margin:0;line-height:1.6}.feedback-summary .feedback-saved-rating{font-size:30px;color:#007c98;letter-spacing:5px}.feedback-saved-comment{margin:0;padding:14px 16px;border-left:3px solid #007c98;background:#edf7fa;border-radius:0 10px 10px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.feedback-summary .field-hint{font-size:12px}.feedback-summary>.button{justify-self:start;margin:4px 0 0}.feedback-dialog .feedback-summary h2{margin:0}

.pdf-toolbar-actions{display:flex;align-items:center;gap:14px;flex-wrap:nowrap;margin-left:auto}.pdf-toolbar-actions>.button{margin:0;flex:0 0 auto;width:auto;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.request-final-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.job-editor-tabs{grid-template-columns:repeat(var(--tab-count,4),minmax(0,1fr))}.job-editor-tabs .jobs-lens{width:calc((100% - 12px)/var(--tab-count,4))}

/* Service selection, keyboard-safe editing and a visible discard decision. */
body:has(.entry-dialog[open]){overflow:hidden}
.workspace-panel,.workspace-panel>*{min-width:0}
.history-toolbar{flex-wrap:wrap}
.panel-toolbar input{min-width:0}
.payment-details .text-action{display:inline-flex;align-items:center;min-height:44px;margin-right:20px}
.job-detail-chip{background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent);min-height:44px}
.job-detail-chip[aria-expanded=true]{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}
.client-profile{width:100%;max-width:960px;margin:0 auto;min-width:0}
.client-profile-heading{gap:14px;margin-bottom:20px}.client-profile-heading .person-avatar{width:48px;height:48px;flex-basis:48px;background:var(--primary);color:var(--primary-text);font-size:15px}
.client-profile-heading h2{overflow-wrap:anywhere;line-height:1.3;min-width:0}
.client-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.client-contact-action{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:12px;border-radius:18px;border:1px solid var(--line);background:white;color:var(--ink);font:600 14px Arial;text-decoration:none;cursor:pointer}
.client-contact-action:disabled{opacity:.45;cursor:default}.client-contact-action:disabled .settings-icon{background:var(--surface);color:var(--muted)}
.client-contact-card dd{text-align:left;font-size:14px}.client-contact-card dt{color:var(--muted)}
.client-language-form{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin-top:16px}
.client-language-form label{display:grid;gap:8px;font-size:13px;font-weight:600}.client-language-form .field-hint{grid-column:1;margin:8px 0 0;font-size:12px}
.client-language-form>button{grid-column:2;grid-row:1;align-self:end}.client-language-form>.form-status{grid-column:1/-1;margin-bottom:0}.client-language-form>.form-status:empty{display:none}
.client-jobs-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}.client-jobs-heading .section-caption{margin:0}.client-new-job{width:auto;margin:0}
@media(max-width:480px){.client-contact-actions{gap:8px}.client-contact-action{flex-direction:column;font-size:12px;padding:12px 6px}.client-profile-heading{gap:10px}.client-profile-heading .person-avatar{width:40px;height:40px;flex-basis:40px}.client-language-form{padding:15px;gap:12px}.client-language-form>button{grid-column:1/-1;grid-row:auto;justify-self:start}.client-contact-card>div{grid-template-columns:1fr;gap:6px}}
.job-service-options{margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.job-service-choice{display:flex!important;align-items:center;gap:10px!important;padding:14px;border:1px solid var(--line);border-radius:15px;background:white;color:var(--ink);cursor:pointer;min-width:0}
.job-service-choice input{width:19px!important;height:19px;margin:0;flex:none;accent-color:var(--accent)}
.job-service-choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.job-service-choice span{overflow-wrap:anywhere}.job-intake-top>strong{min-width:0;overflow-wrap:anywhere;line-height:1.5}.job-intake-top>.text-action{flex:none}
.job-editor .job-discard{position:absolute;inset:0;z-index:20;background:rgba(255,255,255,.98);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;gap:18px;text-align:center;font-size:17px;border-radius:inherit}
.job-discard .text-action{min-height:44px;padding:12px 24px;border-radius:999px;border:1px solid var(--line);font-size:15px}
.job-discard .text-action:last-child{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}
.job-editor-footer:has(>.form-status:empty):not(:has(>button:not([hidden]))){display:none}
.job-editor-panel>*{min-width:0}.job-editor label,.job-editor input,.job-editor textarea,.job-editor select{min-width:0;max-width:100%}
.job-editor-content{scroll-padding:20px;overflow-x:hidden}.job-editor-header .delivery-close{width:44px;height:44px;top:10px;right:10px}
.settings-icon{border-radius:50%;background:var(--primary);color:var(--primary-text);width:40px;height:40px}
@media(max-width:720px){
 .entry-dialog:not(.job-editor){position:fixed;top:calc(var(--dialog-top,0px) + env(safe-area-inset-top,0px) + 12px);bottom:auto;margin:0 auto;max-height:calc(var(--dialog-height,100dvh) - env(safe-area-inset-top,0px) - 24px);scroll-padding:20px}
 .workspace-app input:not([type=radio]):not([type=checkbox]),.workspace-app textarea,.workspace-app select,.entry-dialog input:not([type=radio]):not([type=checkbox]),.entry-dialog textarea,.entry-dialog select{font-size:16px!important;min-width:0;max-width:100%;box-sizing:border-box}
 .entry-dialog input[type=datetime-local]{display:block;width:100%;min-height:48px;-webkit-appearance:none;appearance:none}
 .entry-dialog input::-webkit-date-and-time-value{text-align:left;min-width:0}
 .job-editor[open]{position:fixed;top:calc(var(--dialog-top,0px) + env(safe-area-inset-top,0px) + 8px);bottom:auto;margin:0 auto;width:calc(100% - 16px);height:calc(var(--dialog-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);max-height:calc(var(--dialog-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);max-width:680px}
 .job-editor-header{padding:16px 16px 10px}.job-editor-header h2{font-size:21px;margin-bottom:4px}.job-editor-tabs{margin:0 12px 12px;max-width:calc(100% - 24px)}
 .job-editor-content{flex:1 1 auto;padding:0 16px 20px}.job-editor-footer{padding:10px 16px;gap:8px}.job-editor-footer>.button{min-width:0}
 .job-price-grid{grid-template-columns:1fr 1fr}.job-price-grid label:last-child{grid-column:1/-1}
 .job-question-options label{align-items:flex-start}.job-question-options input{margin-top:2px}
}

.jobs-requests-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.job-original-request{display:inline-flex;margin:12px 0;font-size:13px}.request-stage-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:600;margin:4px 0 14px}.request-inbox-explanation{font-size:13px;color:var(--muted);line-height:1.6;margin:12px 0 20px;max-width:720px}

/* Shared Caxper identity for people and the Today cards. */
.workspace-app .person-avatar,.workspace-app .day-icon,.workspace-app .alert-icon{background:var(--primary);color:var(--primary-text);border-radius:50%}
.workspace-app .day-icon{width:40px;height:40px;flex-basis:40px}
.client-profile-heading{flex-wrap:wrap}.client-profile-heading h2{flex:1}
.client-edit-button{margin-left:auto;flex:none}
@media(max-width:480px){.client-profile-heading h2{flex-basis:calc(100% - 110px)}.client-edit-button{margin-left:0}}

.document-send-notice{position:fixed;z-index:10000;top:calc(env(safe-area-inset-top,0px) + 16px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:20px;padding:16px 20px;border-radius:18px;background:var(--primary,#0b3445);color:var(--primary-text,#77ddf2);box-shadow:0 8px 30px #0b344533}.document-send-notice button{border:0;background:transparent;color:inherit;font-size:24px;min-width:36px;min-height:36px;cursor:pointer}

/* Work completion and payment are separate, visible states on collapsed cards. */
.event-info>.job-completed-badge{justify-self:start;display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--accent-soft);color:var(--ink);font-size:12px;font-weight:700;white-space:normal;line-height:1.25;border:1px solid var(--accent)}
.job-completion-requirement{padding:12px;border-radius:12px;background:var(--accent-soft);color:var(--ink);line-height:1.5}
.job-completion-requirement[hidden]{display:none}

.request-count-badge{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:var(--ink);color:var(--accent);font-weight:800;font-size:16px;flex-shrink:0}.dashboard-alert.has-requests{border:2px solid var(--accent)}.proposed-schedule{display:grid;gap:16px;margin-bottom:24px}.proposed-schedule input[type=checkbox]{width:22px;height:22px;vertical-align:middle}

.native-push-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.native-push-toggle{width:52px;height:32px;border:0;border-radius:20px;background:#81959d;padding:4px}.native-push-toggle:before{content:"";display:block;width:24px;height:24px;background:white;border-radius:50%;transition:transform .15s}.native-push-toggle[aria-checked=true]{background:#087f8c}.native-push-toggle[aria-checked=true]:before{transform:translateX(20px)}

/* Keep schedule fields separated at every viewport size. */
.job-editor-content{padding-top:16px}
.confirmed-schedule{display:grid;gap:16px}
.confirmed-schedule>h3,.confirmed-schedule>p,.proposed-schedule>h3,.proposed-schedule>p{margin:0}

.invoice-page .invoice-record{width:100%;justify-self:stretch;min-height:48px}
.invoice-page .invoice-actions .button-secondary{background:transparent;color:var(--ink,#0b3442);border:1px solid var(--line);box-shadow:none}
.invoice-payment-notice{font-size:12px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin:14px 0 0}
.invoice-more{justify-self:stretch;border-top:1px solid var(--line);padding-top:14px}
.invoice-more>summary{cursor:pointer;color:var(--muted);font-size:13px;padding:8px 0}
.invoice-page .invoice-more .invoice-void{margin:12px 0;justify-self:start}

.invoice-page .invoice-payment-form[hidden]{display:none}

/* Customer decision actions: one primary action and a separate secondary row. */
.customer-final-estimate .final-response-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.customer-final-estimate .final-accept-primary{grid-column:1/-1;min-height:48px}
.customer-final-estimate .final-response-actions .button-secondary{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none;min-height:46px;padding:12px 16px;white-space:normal;text-align:center}
.customer-final-estimate .final-estimate-response>.field-hint{margin:18px 0 0;line-height:1.65}
.customer-final-estimate .final-document-row{margin:24px 0 20px;justify-content:flex-start}
.customer-final-estimate .final-document-row>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:999px;box-sizing:border-box}
.customer-final-estimate .final-conversation{margin-top:24px}
.customer-final-estimate .final-estimate-contact{margin-top:28px;padding-top:20px;gap:20px}
.customer-final-estimate .final-estimate-contact>a,.customer-final-estimate .final-estimate-contact>button{min-height:44px;display:inline-flex;align-items:center}
.customer-final-estimate .final-estimate-pricing+.field-hint{margin-top:14px}
@media(max-width:360px){.customer-final-estimate .final-response-actions{grid-template-columns:1fr}}

.request-final-section .save-confirmation:focus{outline:none}.job-editor-footer>.form-status:empty{display:none}

.job-editor-footer .job-estimate-save{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
@media(max-width:480px){.job-editor-footer:has(.job-estimate-send:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.job-editor-footer:has(.job-estimate-send:not([hidden]))>.form-status{grid-column:1/-1}.job-editor-footer:has(.job-estimate-send:not([hidden]))>.button{font-size:14px;padding:12px 8px;min-width:0;width:100%;min-height:48px}}
/* Measure on map: one link on measurable line items, and the map dialog. */
.job-line-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.job-line-foot .job-line-total{margin-left:auto}.job-line-measure{display:flex;flex-direction:column;align-items:flex-start}.job-line-measure[hidden]{display:none!important}.job-measure-link,.job-photo-link{font-size:13px;min-height:44px;padding:12px 0 6px;text-align:left}.job-measure-tag{font-size:12px;color:var(--muted)}
.map-measure.job-editor{height:min(850px,92dvh)}.map-measure-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:0 24px 16px;overflow:auto}.map-measure-canvas{flex:1;min-height:300px;margin:0 -24px -16px;background:var(--surface)}.map-measure-message{margin:0 0 14px}
.map-measure-footer{flex-direction:column;align-items:stretch;gap:2px}.map-measure-footer>.button{width:100%;margin-top:6px}.map-measure-summary{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-height:30px}.map-measure-summary span{font-size:13px;color:var(--muted)}.map-measure-summary strong{font-size:22px;white-space:nowrap}.map-measure-actions{display:flex;gap:20px;flex-wrap:wrap}.map-measure-actions .text-action{font-size:13px;min-height:44px}.map-measure .text-action:disabled{opacity:.4;cursor:default}.map-measure .button:disabled{opacity:.5;cursor:default}
.map-measure-address,.map-measure-field{display:grid;gap:8px;font-size:12px;font-weight:600}.map-measure-address{gap:14px}.map-measure-address label{display:grid;gap:8px}.map-measure-address .text-action{justify-self:start;font-size:13px;min-height:44px}
@media(max-width:480px){.map-measure.job-editor{height:94dvh}.map-measure-body{padding:0 16px 14px}.map-measure-canvas{margin:0 -16px -14px}}
.job-measure-button{justify-self:start;gap:8px}.map-measure-kind{display:flex;gap:20px}.map-measure-kind[hidden]{display:none!important}.map-measure-kind .text-action{font-size:14px;min-height:44px;color:var(--muted)}.map-measure-kind .text-action[aria-pressed=true]{color:var(--accent);text-decoration:underline;text-underline-offset:5px}
.job-measure-actions{display:flex;flex-wrap:wrap;gap:10px}.job-measure-links{display:flex;flex-wrap:wrap;column-gap:18px}
.photo-measure .map-measure-body{gap:14px}.photo-measure-pick{position:relative;overflow:hidden;width:100%;cursor:pointer;font-size:1rem}.photo-measure-file{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}.photo-measure-preview{width:100%;max-height:300px;object-fit:contain;border-radius:14px;background:var(--surface)}.photo-measure-preview[hidden]{display:none!important}.photo-measure-result{margin:0;font-size:22px;font-weight:700;color:var(--ink)}.photo-measure .map-measure-message{margin:0}
