:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #171719;
  background: #fafafa;
  color-scheme: light;
  font-synthesis: none;
  --lime: #bcf838;
  --muted: #666970;
  --line: #e7e8e5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, p { margin: 0; }
p { line-height: 1.6; }
svg { display: block; flex-shrink: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #171719;
  outline-offset: 4px;
}
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.app-shell {
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.app-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; min-height: 48px; }
.brand img { display: block; width: 142px; height: auto; max-height: 44px; object-fit: contain; }
.app-label { display: flex; align-items: center; gap: 7px; color: #535750; font-size: 12px; white-space: nowrap; }
.app-label > span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
main { padding-top: 32px; }
.heading { margin-bottom: 24px; }
.eyebrow { margin-bottom: 10px; color: #62685b; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { font-size: clamp(31px, 7.5vw, 40px); font-weight: 650; line-height: 1.15; letter-spacing: -1.45px; overflow-wrap: anywhere; }
.subtitle { margin-top: 12px; color: var(--muted); font-size: 14px; }
.service-list { display: grid; gap: 10px; }
.service-card { display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: background .15s, border-color .15s, transform .15s; }
.service-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: #f1f3ed; color: #3e4733; }
.service-icon svg { width: 25px; height: 25px; }
.service-copy { flex: 1; min-width: 0; }
.service-copy strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.35px; }
.service-copy > span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.chevron { width: 16px; height: 16px; color: #868a82; }
.service-card:active { background: #f1f4ec; transform: scale(.992); }
.release-notice { margin-top: 19px; padding-left: 12px; border-left: 2px solid var(--lime); font-size: 12px; color: var(--muted); }
.service-details { display: grid; gap: 7px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-details p { color: var(--muted); font-size: 12px; }

.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; margin: -12px 0 13px; color: #52574c; font-size: 13px; }
.back-link > span { font-size: 20px; }
.request-heading { margin-bottom: 20px; }
.notice { border: 1px solid #dfe5d6; border-radius: 12px; padding: 14px 16px; background: #f2f5ec; color: #47513b; font-size: 13px; line-height: 1.6; }
.offline-notice { margin-top: 20px; border-color: #e5dac6; background: #fbf6e9; color: #675230; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 18px; }
.form-preview { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 20px 0 8px; font-size: 13px; font-weight: 550; }
fieldset > label:first-of-type { margin-top: 0; }
.required-label, .optional-label { color: var(--muted); font-size: 10px; font-weight: 400; }
input, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 13px 14px; border: 1px solid #e5e6e2; border-radius: 10px; background: #f6f7f4; color: #50534b; font-size: 16px; line-height: 1.45; }
input:disabled, textarea:disabled { opacity: 1; -webkit-text-fill-color: #6b6e66; }
input::placeholder, textarea::placeholder { color: #75796f; font-size: 13px; opacity: 1; }
textarea { resize: vertical; min-height: 106px; }
.primary, .secondary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; border: 1px solid #171719; border-radius: 10px; padding: 13px 16px; background: #171719; color: #fff; font-size: 14px; font-weight: 550; line-height: 1.5; text-align: center; }
.primary { margin-top: 24px; }
.primary > span { margin-left: auto; font-size: 19px; line-height: 1; }
.primary:disabled { background: #e8e9e5; border-color: #e8e9e5; color: #72766c; }
.secondary { background: #fff; color: #33382d; border-color: #dfe2d9; }
.footnote, .confirmation-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.footnote { margin-top: 14px; }
.confirmation-note { margin-top: 18px; }
.form-host:empty { display: none; }
.form-host { width: 100%; min-width: 0; margin-bottom: 16px; }
.form-host iframe { display: block; width: 100%; max-width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.privacy-content { padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.privacy-content h2 { margin-bottom: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.privacy-content h2:not(:first-child) { margin-top: 25px; }
.privacy-content p { font-size: 14px; color: var(--muted); }

.app-footer { margin-top: 28px; }
.installation { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.install-button { margin: 16px 0 4px; }
details > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 0; list-style: none; color: #53574e; font-size: 12px; }
details > summary::-webkit-details-marker { display: none; }
.summary-plus { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; color: #72786a; font-size: 20px; font-weight: 400; transition: transform .15s; }
details[open] .summary-plus { transform: rotate(45deg); }
.install-instructions { display: grid; gap: 14px; padding-bottom: 20px; }
.install-instructions p { color: var(--muted); font-size: 12px; }
.install-instructions strong { color: #41463a; font-weight: 600; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; color: #64695e; font-size: 11px; }
.version { margin-left: 7px; font-variant-numeric: tabular-nums; color: #74796e; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 20; transform: translateY(-160%); border-radius: 8px; padding: 13px 18px; background: #171719; color: #fff; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Account screens share the existing KIN palette and leave legacy forms intact. */
.account-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.account-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.account-identity > span:last-child { min-width: 0; }
.account-avatar { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #eff4e6; }
.account-avatar svg { width: 21px; height: 21px; }
.account-caption { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
#account-name { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.text-button { flex-shrink: 0; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 6px; background: transparent; color: #53594d; font-size: 12px; }
.client-notice { margin-bottom: 22px; }
.client-notice:empty { display: none; }
.auth-view { padding: 8px 0 4px; }
.auth-heading { margin-bottom: 28px; }
.auth-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 19px; color: #535a49; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .35px; }
.auth-kicker > span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #edf6df; }
.auth-heading h1 { max-width: 100%; font-size: clamp(33px, 8.3vw, 43px); font-weight: 650; line-height: 1.13; letter-spacing: -1.8px; overflow-wrap: normal; }
.auth-heading .subtitle { margin-top: 15px; line-height: 1.65; }
.auth-card { padding: 26px; border: 1px solid #e4e6df; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px #283b1604; }
.auth-form { display: grid; gap: 20px; }
.auth-field { min-width: 0; }
.auth-field label { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 10px; margin: 0 0 8px; font-size: 13px; font-weight: 550; line-height: 1.4; }
.field-caption { margin-left: auto; color: #73796b; font-size: 11px; font-weight: 400; }
.auth-field input { min-height: 52px; border-color: #e0e3db; border-radius: 11px; padding: 13px 14px; background: #fcfcfa; color: #171719; font-size: 16px; transition: border-color .15s, background .15s; }
.auth-field input::placeholder { font-size: 14px; color: #68715d; }
.auth-field input:focus { background: #fff; border-color: #71835b; }
.auth-field input[aria-invalid="true"] { border-color: #a44436; }
.password-field { display: flex; align-items: stretch; min-width: 0; border: 1px solid #e0e3db; border-radius: 11px; background: #fcfcfa; transition: border-color .15s, background .15s; }
.password-field:focus-within { border-color: #71835b; background: #fff; }
.password-field input { flex: 1 1 0; width: 0; min-width: 0; border: 0; background: transparent; }
.password-field input:focus { background: transparent; }
.password-field input:focus-visible { outline-offset: -3px; border-radius: 10px; }
.password-toggle { align-self: stretch; flex: 0 0 auto; min-width: 76px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: #5d6652; font-size: 11px; font-weight: 550; }
.password-toggle:focus-visible { outline-offset: -3px; }
.auth-recovery-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: -8px; }
.auth-recovery-links a { display: inline-flex; align-items: center; min-height: 44px; color: #636b58; font-size: 12px; text-decoration: underline; text-decoration-color: #ccd4c0; text-underline-offset: 4px; }
.auth-primary { min-height: 52px; margin-top: 2px; border-color: var(--lime); border-radius: 11px; background: var(--lime); color: #1b260b; font-size: 14px; font-weight: 650; }
.auth-primary > span[aria-hidden="true"] { margin-left: 6px; font-size: 20px; font-weight: 400; }
.auth-primary:active { background: #afe733; border-color: #afe733; }
.auth-primary:disabled { background: #e6efdb; border-color: #e6efdb; color: #767e6c; }
.auth-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 7px; margin-top: 25px; padding-top: 21px; border-top: 1px solid #edf0e8; color: #72786a; font-size: 12px; line-height: 1.8; text-align: center; }
.auth-switch a { color: #242c1c; font-weight: 600; }
.auth-switch a > span { margin-left: 3px; }
.auth-benefit { display: flex; justify-content: center; align-items: flex-start; gap: 7px; margin-top: 20px; color: #626b59; font-size: 12px; line-height: 1.6; text-align: center; }
.auth-benefit > span { color: #556741; }
.auth-preview-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 8px auto 0; color: #68715d; font-size: 11px; text-underline-offset: 4px; }
.auth-heading-compact { margin-bottom: 24px; }
.auth-heading-compact h1 { font-size: clamp(30px, 7.4vw, 39px); letter-spacing: -1.4px; }
.auth-heading-compact .auth-kicker { margin-bottom: 14px; }
.auth-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-hint { margin-top: 7px; color: #7b8173; font-size: 11px; line-height: 1.6; }
.auth-view .field-hint { color: #626b59; font-size: 12px; }
.field-error { margin-top: 7px; color: #963b30; font-size: 13px; line-height: 1.5; }
#register-code-form { margin-top: 0; }
#register-code-form[hidden] { display: none; }
#register-code, #recovery-code { width: 100%; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
#register-resend, #register-change-email { min-height: 44px; }
#register-resend-status { margin: -12px 0 0; }
.auth-privacy { margin-top: -5px; color: #626b59; font-size: 12px; line-height: 1.7; text-align: center; }
.auth-privacy a { color: #59634c; text-decoration: underline; text-decoration-color: #c4cfb7; text-underline-offset: 3px; }
.recovery-card h2 { margin: 18px 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -.5px; font-weight: 600; }
.recovery-card > p { color: #626b59; font-size: 13px; }
.recovery-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eff5e4; color: #54653e; }
.recovery-icon svg { width: 25px; height: 25px; }
.recovery-card .recovery-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: #626b59; font-size: 12px; }
.recovery-card .auth-form { margin-top: 22px; }
.recovery-card .auth-form[hidden] { display: none; }
.recovery-card .auth-primary { margin-top: 24px; }
.provider-card { display: flex; align-items: flex-start; gap: 15px; padding: 23px; border: 1px solid #e0e7d7; border-radius: 18px; background: #f1f6e9; }
.provider-mark { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #dfe8d1; border-radius: 14px; background: #fff; color: #4b5f34; }
.provider-mark svg { width: 27px; height: 27px; }
.provider-copy { min-width: 0; }
.provider-copy .eyebrow { margin: 1px 0 7px; color: #748264; font-size: 9px; letter-spacing: 1px; }
.provider-copy h2 { font-size: 24px; line-height: 1.25; font-weight: 650; letter-spacing: -.65px; overflow-wrap: anywhere; }
.provider-copy > p:last-child { margin-top: 9px; color: #727d67; font-size: 12px; line-height: 1.6; }
.provider-copy > p:empty { display: none; }
.request-profile { margin: 23px 0; padding: 0 1px; }
.request-profile-label { display: flex; align-items: center; gap: 8px; color: #5f6756; font-size: 11px; font-weight: 550; }
.profile-dot { width: 7px; height: 7px; border-radius: 50%; background: #acd92f; }
.request-client-summary { margin-top: 9px; font-size: 14px; line-height: 1.8; color: #343c2b; white-space: pre-line; overflow-wrap: anywhere; }
.client-request-form { padding-top: 21px; border-top: 1px solid var(--line); }
.client-request-form > label { margin-top: 0; flex-wrap: wrap; }
.client-request-form textarea { min-height: 125px; border-color: #dfe3d8; background: #fff; color: #171719; }
.client-request-form textarea::placeholder { color: #929889; line-height: 1.7; }
.client-request-form .auth-primary { margin-top: 20px; }
.request-submit-note { margin-top: 12px; color: #838a78; font-size: 11px; text-align: center; }
.client-receipt { margin-top: 20px; overflow-wrap: anywhere; }

@media (hover: hover) {
  .service-card:hover { border-color: #bbc5aa; background: #fcfdf9; transform: translateY(-1px); }
  .secondary:hover { background: #f2f5ec; }
  .back-link:hover, .footer-meta a:hover { color: #171719; }
  .auth-primary:hover:not(:disabled) { background: #afea2c; border-color: #afea2c; }
  .auth-recovery-links a:hover, .auth-switch a:hover, .auth-preview-link:hover, .text-button:hover { color: #171719; text-decoration: underline; text-underline-offset: 4px; }
  .password-toggle:hover { background: #f0f4e9; color: #273818; }
}
@media (min-width: 600px) {
  .app-shell { padding-right: 28px; padding-left: 28px; }
  .app-header { min-height: 96px; }
  main { padding-top: 40px; }
  .heading { margin-bottom: 28px; }
  .service-card { min-height: 93px; padding: 18px 20px; }
  .form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .form-preview { padding: 24px; }
  .auth-view { padding-top: 16px; }
  .auth-card { padding: 30px; }
  .auth-heading { margin-bottom: 32px; }
}
@media (max-width: 399px) {
  .auth-card { padding: 20px 17px; border-radius: 18px; }
  .auth-field-grid { grid-template-columns: 1fr; gap: 20px; }
  .auth-heading h1 { letter-spacing: -1.4px; }
  .auth-heading-compact h1 { font-size: 31px; }
  .auth-linebreak { display: none; }
  .provider-card { gap: 12px; padding: 18px 15px; }
  .provider-mark { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
  .provider-copy h2 { font-size: 22px; }
  .password-toggle { min-width: 70px; padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 359px) {
  .app-shell { padding-right: max(16px, env(safe-area-inset-right)); padding-left: max(16px, env(safe-area-inset-left)); }
  .app-header { min-height: 74px; }
  .brand img { width: 130px; }
  main { padding-top: 27px; }
  .service-card { gap: 12px; padding: 16px 13px; }
  .service-icon { flex-basis: 38px; width: 38px; height: 40px; border-radius: 11px; }
  .service-icon svg { width: 23px; height: 23px; }
  .service-copy strong { font-size: 16px; }
  .chevron { width: 13px; height: 13px; }
  .form-preview { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (forced-colors: active) {
  .app-label > span { background: Highlight; }
  .service-card, .service-icon, .notice { border: 1px solid CanvasText; }
  .release-notice { border-color: Highlight; }
  .auth-card, .password-field, .provider-card, .provider-mark, .account-bar { border: 1px solid CanvasText; }
  .auth-primary { border-color: ButtonText; }
  .auth-kicker > span, .profile-dot { background: Highlight; }
  :focus-visible { outline-color: Highlight; }
}

/* Intake account data stays within the existing local shell. */
.account-bar { flex-wrap: wrap; }
.client-request-form input[type="date"], .client-request-form input[type="time"] { min-width: 0; width: 100%; box-sizing: border-box; }
.request-client-summary, .request-detail, #profile-email, #request-recipient, #client-receipt { overflow-wrap: anywhere; }
.request-detail, #client-receipt { white-space: pre-wrap; }
#requests-list a { display: block; margin: 14px 0; padding: 16px; border: 1px solid var(--border, #ddd); border-radius: 14px; overflow-wrap: anywhere; }

/* Address and pickers use the existing KIN visual language. */
.address-fields { min-width:0; border:0; border-top:1px solid #e4e6df; padding:24px 0 0; margin:8px 0; display:grid; gap:18px; }
.address-fields legend { font-weight:700; padding:0 12px 0 0; }
.address-fields select, .time-dialog select { display:block; box-sizing:border-box; width:100%; min-width:0; min-height:52px; font:inherit; font-size:16px; color:inherit; background:#fff; border:1px solid #dce0d6; border-radius:12px; padding:12px; }
.address-fields select:focus-visible, .time-dialog select:focus-visible { outline:2px solid #688531; outline-offset:2px; }
.home-requests { margin-top:38px; padding-top:28px; border-top:1px solid #e4e6df; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.section-heading h2 { margin:0; font-size:23px; }
.section-heading a { font-size:14px; }
.request-summary-card { display:grid!important; gap:8px; margin:14px 0; padding:20px; border:1px solid #e4e6df; border-radius:18px; background:#fff; text-decoration:none; overflow-wrap:anywhere; }
.request-summary-card>span { font-size:13px; color:#616b57; }
.request-summary-card .request-status { padding-top:8px; border-top:1px solid #eef0e9; }
.construction-card { justify-content:space-between; }
.date-picker-row { display:flex; gap:8px; align-items:center; }
.date-picker-row input { flex:1; min-width:0; }
.picker-icon { width:52px; height:52px; flex:0 0 52px; border:1px solid #dce0d6; border-radius:12px; background:#f2f6e9; cursor:pointer; }
.picker-icon svg,.time-picker-button svg { width:24px; height:24px; }
.time-picker-button { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:54px; padding:12px 16px; background:#fff; color:inherit; border:1px solid #dce0d6; border-radius:12px; font:inherit; cursor:pointer; }
.time-dialog { box-sizing:border-box; width:min(420px,calc(100% - 24px)); max-height:90dvh; overflow:auto; padding:24px; color:#253019; border:1px solid #e4e6df; border-radius:24px; box-shadow:0 18px 80px #16200933; }
.time-dialog::backdrop { background:#17200d66; }
.time-dialog form { display:grid; gap:18px; }
.time-selects { display:grid; grid-template-columns:1fr auto 1fr 1fr; align-items:end; gap:8px; }
.time-selects>label { display:grid; gap:8px; font-size:13px; min-width:0; }
.time-selects>span { padding-bottom:16px; }
.time-dialog select { padding:12px 5px; }
.time-dialog .primary { width:100%; }
@media(max-width:359px){.time-dialog { padding:18px 14px; }.section-heading h2 { font-size:21px; }}

#client-date::-webkit-calendar-picker-indicator { opacity:0; width:0; padding:0; }

/* Compact KIN service tiles, scoped to Intake. */
#home-view .service-list,#construction-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#home-view .service-card,#construction-list .service-card { flex-direction:column; align-items:flex-start; justify-content:space-between; min-width:0; min-height:166px; padding:18px; aspect-ratio:1; border-radius:22px; gap:12px; }
#home-view .service-copy,#construction-list .service-copy { flex:0; max-width:100%; overflow-wrap:anywhere; hyphens:auto; }
#home-view .service-card .chevron { display:none; }
.construction-icon { display:grid; place-items:center; width:40px; height:40px; background:#eff4e6; border-radius:12px; color:#4c632b; font-size:28px; }
.account-identity { width:100%; min-height:44px; }
.account-logout { margin-top:24px; padding:14px 0; }
.settings-list { background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden; }
.settings-row { display:flex;align-items:center;gap:14px;padding:20px 18px;min-width:0; }
.settings-row+.settings-row { border-top:1px solid var(--line); }
.settings-icon { display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#eef4e3;border-radius:12px;color:#4c6231;font-size:23px; }
.settings-copy { display:flex;flex:1;min-width:0;flex-direction:column;gap:6px; }
.settings-copy strong { font-size:16px;font-weight:600; }
.settings-copy>span { font-size:13px;color:#75796f;overflow-wrap:anywhere;line-height:1.4; }
.settings-row>span:last-child { color:#87907b; }
.account-editor { padding:22px 0; }
.account-editor>input { display:block;width:100%;min-height:48px;border:1px solid #dce0d6;border-radius:12px;padding:12px;background:white; }
.account-editor>label { display:block;margin:18px 0 8px; }
.account-editor>.primary { margin:24px 0 16px; }
.account-login { border:1px solid var(--line);border-radius:18px;padding:20px;background:white; }
.account-login p { margin-top:8px;overflow-wrap:anywhere; }
.account-add { margin-top:18px;padding:12px 16px; }
.request-delete { color:#963d36;margin-top:20px; }
.city-pill { border:1px solid #e4e8db;border-radius:999px;padding:7px 11px;color:#58614c;font-size:12px;max-width:45%;overflow-wrap:anywhere;background:#f0f5e8; }
.has-bottom-nav { padding-bottom:calc(100px + env(safe-area-inset-bottom)); }
.bottom-nav { position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:20;width:min(100%,660px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 6px calc(8px + env(safe-area-inset-bottom));border:1px solid #e5e8df;border-radius:22px 22px 0 0;background:#fffffff5;box-shadow:0 -8px 24px #33441c08; }
.bottom-nav a { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:14px;padding:7px 1px;color:#777d71;font-size:11px;min-height:56px;text-decoration:none; }
.bottom-nav svg { width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none; }
.bottom-nav a[aria-current=page] { background:#eff6de;color:#31431b; }
.work-card { display:flex;flex-direction:column;gap:9px;padding:19px;background:#fff;border:1px solid #e1e5da;border-radius:18px;margin:12px 0;overflow-wrap:anywhere; }
.work-card span,.work-card small { color:#68705e;font-size:13px;line-height:1.5; }
.work-card strong { font-size:18px; }
.thread-row { display:flex;align-items:center;gap:14px;padding:20px 2px;border-bottom:1px solid #e3e7dd;font-size:14px;line-height:1.5;overflow-wrap:anywhere; }
.thread-symbol { flex:0 0 24px;font-size:23px; }
.unread-badge { display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#b92334;color:#fff;font-size:11px;font-weight:700;line-height:1; }
.bottom-nav a { position:relative; }
.nav-unread { position:absolute;top:2px;left:calc(50% + 7px); }
.thread-unread { margin-left:auto; }
.company-nav .unread-badge { margin-left:6px; }
.message-alert { margin-bottom:18px;padding:12px 14px;border:1px solid #ead7da;border-radius:12px;background:#fff7f8;font-size:14px; }
.message-alert a { color:#861f2b;display:block;overflow-wrap:anywhere; }
.message-list { display:flex;flex-direction:column;gap:14px;margin:24px 0; }
.message { align-self:flex-start;border:1px solid #e1e5da;border-radius:18px;padding:15px;max-width:90%;background:#fff;overflow-wrap:anywhere; }
.message-self { align-self:flex-end;background:#f0f6e5; }
.message p { white-space:pre-wrap;line-height:1.55; }
.message small { font-size:11px;color:#6c7464; }
.message-compose,.work-editor { display:grid;gap:12px;margin-top:24px; }
.message-compose textarea,.work-editor input,.work-editor textarea,.work-editor select { width:100%;min-width:0;padding:13px;border:1px solid #dce2d2;border-radius:12px;background:#fff;font:inherit;font-size:16px; }
.work-editor input[type=checkbox] { width:24px;height:24px; }
.action-link { display:inline-block;margin:16px 0; }
.company-nav { display:flex;flex-wrap:wrap;gap:18px;padding:16px 0 26px;font-size:14px; }
.close-work { margin:28px 0;display:flex;flex-wrap:wrap;gap:12px; }
.close-work h2 { width:100%; }
.calendar-controls { display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;margin:20px 0; }
.calendar-controls button { width:auto;min-height:44px;padding:8px 12px; }
.calendar-grid { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px; }
.calendar-day { display:flex;flex-direction:column;gap:4px;min-width:0;min-height:76px;padding:5px 2px;border:1px solid #e3e8da;border-radius:9px;background:#fff;text-align:left; }
.calendar-day span { font-size:13px; }
.calendar-day small { font-size:9px;line-height:1.25;overflow-wrap:anywhere; }
.calendar-day[aria-pressed=true] { background:#eef6db;border-color:#a4b67b; }
.weekday { text-align:center;font-size:12px;color:#78826b;margin-bottom:8px; }
.day-works { margin-top:25px; }
#journey-content h1 { margin:16px 0; }
@media(max-width:360px){.bottom-nav a{font-size:10px;}.app-header .brand img{width:140px;height:auto;}.city-pill{padding:6px 8px;}.calendar-day{min-height:64px;}}
/* Keep the composer reachable when the software keyboard shrinks the visual viewport. */
@media(max-height:480px) and (pointer:coarse){body:has(.message-compose textarea:focus) .bottom-nav{display:none;}}
.keyboard-open .bottom-nav { display:none; }
.session-check { padding:48px 0;text-align:center; }
.session-check p { color:var(--muted); }
#request-delete-confirmation button { margin-top:12px;min-height:44px;white-space:normal; }
.saved-address { padding:18px; }
.saved-address+.saved-address { border-top:1px solid var(--line); }
.saved-address p { font-size:14px;overflow-wrap:anywhere;margin:8px 0; }
.saved-address .address-actions { gap:18px; }
.address-default-label { display:flex!important;gap:10px;align-items:center; }
.address-default-label input { width:20px;height:20px;accent-color:#536c31; }
.provider-section { margin:0 0 24px; min-width:0; }
.provider-section h2 { font-size:18px; }
.provider-list { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:12px 2px; max-width:100%; }
.provider-choice { text-align:left; display:flex; align-items:center; gap:16px; flex:0 0 88%; min-width:0; min-height:142px; border:1px solid #dfe5d7; border-radius:22px; padding:24px; background:linear-gradient(125deg,#fff 60%,#f5f8ee); color:inherit; scroll-snap-align:start; transition:border-color .15s,background .15s; }
.provider-list-single .provider-choice { flex-basis:100%; }
.provider-choice .provider-initials { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; border-radius:16px; background:#edf3df; color:#47582d; font-size:19px; font-weight:650; letter-spacing:.5px; }
.provider-choice-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:7px; }
.provider-choice strong { font-size:21px; line-height:1.25; letter-spacing:-.4px; overflow-wrap:anywhere; }
.provider-category { font-size:11px; color:#78846a; }
.provider-selection { font-size:12px; color:#52683c; }
.provider-indicator { display:grid; place-items:center; align-self:flex-start; flex:0 0 22px; width:22px; height:22px; border:1px solid #c4ceb7; border-radius:50%; font-size:13px; }
.provider-choice[aria-pressed="true"], .provider-default { border-color:#7e9657; background:#f1f7e7; }
.provider-choice[aria-pressed="true"] .provider-indicator, .provider-default .provider-indicator { background:#435d2a; color:#fff; border-color:#435d2a; }
.provider-choice:disabled { background:#f7f8f4; cursor:default; opacity:1; }
.provider-choice:focus-visible { outline:2px solid #536d31; outline-offset:3px; }
@media(max-width:380px){.provider-choice {padding:18px 14px;gap:12px;} .provider-choice .provider-initials {width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:16px;} .provider-choice strong {font-size:18px;} .provider-indicator {flex-basis:18px;width:18px;height:18px;}}
.carousel-controls { display:flex; gap:8px; }
.carousel-controls button { width:40px; height:40px; border:1px solid #dfe5d7; background:#fff; border-radius:50%; }
.address-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.address-actions .secondary { min-height:44px; padding:10px 14px; }
#previous-addresses { width:100%; min-width:0; margin-top:8px; font:inherit; font-size:14px; padding:12px 8px; background:white; border:1px solid #dfe5d7; border-radius:12px; }
#previous-address-label { display:block; margin-top:14px; }
#address-dialog input { display:block; width:100%; min-height:48px; padding:12px; border:1px solid #dce0d6; border-radius:12px; font:inherit; }
@media(min-width:520px){#home-view .service-list,#construction-list {grid-template-columns:repeat(3,minmax(0,1fr));}#home-view .service-card,#construction-list .service-card {min-height:170px;aspect-ratio:auto;padding:16px;} .service-copy strong {font-size:16px;}}
@media(max-width:359px){#home-view .service-card,#construction-list .service-card {padding:13px;min-height:150px;aspect-ratio:auto;gap:12px;border-radius:18px;}#home-view .service-copy strong,#construction-list .service-copy strong {font-size:14px;}#home-view .service-copy>span,#construction-list .service-copy>span {font-size:11px;} .provider-choice {padding:18px;}.provider-choice strong {font-size:20px;}}
/* Lifecycle presentation stays inside the existing Intake shell. */
.system-event{margin:10px auto;padding:10px 14px;max-width:92%;color:#52585c;background:#f0f2ed;border-radius:12px;font-size:.86rem;white-space:pre-wrap;overflow-wrap:anywhere}
.thread-outcome{display:block;margin-top:5px;font-weight:600;color:#52585c}
.request-contacts{display:grid;gap:8px;padding:16px 0;overflow-wrap:anywhere}.request-contacts h2,.request-contacts p{margin:0}
.archive-tabs{display:flex;gap:8px;margin:14px 0}.archive-tabs button[aria-pressed=true]{background:var(--lime,#d6f46a);color:#172014}
.decline-form{display:grid;gap:10px;margin:20px 0}.decline-form input,.decline-form select,#archive-search{max-width:100%;width:100%;box-sizing:border-box}
#archive-search{margin:0 0 16px}.notification-settings{margin:16px 0;padding:14px;border:1px solid #dfe3d8;border-radius:14px}.notification-settings button{margin:5px 8px 5px 0}

.bottom-nav[data-side="company"]{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-completed{font-weight:600}.chat-work-actions{margin:1rem 0}.action-confirmation{margin:1rem 0}.action-confirmation button{margin:.35rem .35rem .35rem 0}

.calendar-day small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottom-nav a[hidden]{display:none}

.journey-data .provider-list{display:block;overflow:visible}.journey-data .provider-list .work-card{width:auto;min-width:0}

#home-view .service-card:last-child .service-copy{flex:1}#home-view .service-card:last-child{justify-content:flex-start}#home-view .service-icon{flex-basis:32px}#home-requests{padding-top:18px}

/* Compact client release; provider layout remains shared. */
#home-view .heading{margin:20px 0 18px}#home-eyebrow{display:none}#home-title{font-size:clamp(26px,6vw,34px);letter-spacing:-.7px}#home-subtitle{font-size:14px;margin-top:8px}
#home-view .service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#home-view .service-card{min-height:106px;aspect-ratio:auto;padding:15px;gap:10px;border-radius:18px}#home-view .service-card:last-child{grid-column:1/-1;flex-direction:row;align-items:center;min-height:76px}#home-view .service-copy strong{font-size:14px;line-height:1.3}#home-view .service-icon{width:28px;height:28px}#home-view .service-copy>span{display:none}#home-requests{margin-top:26px}.work-card .work-state{font-weight:650;color:#334828}.work-card .work-schedule{color:#202d17}
#message-search{width:100%;padding:13px;border:1px solid #dce0d6;border-radius:14px;font:inherit;font-size:16px}.thread-row{gap:10px;padding:16px 0}.thread-content{min-width:0;flex:1;display:grid;gap:4px}.thread-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.thread-heading strong{font-size:15px;font-weight:550}.thread-date{font-size:11px;white-space:nowrap;color:#6f7667}.thread-number{color:#78826b;font-size:11px}.thread-service{font-size:13px}.thread-unread-row .thread-heading strong{font-weight:750}.thread-unread-dot{font-size:28px;color:#bb2537;flex:none}.thread-symbol{font-size:20px;flex-basis:20px}.thread-outcome{font-size:12px}.decline-form select,.decline-form input{padding:12px;border:1px solid #dce0d6;border-radius:12px;font:inherit;font-size:16px}.work-editor[hidden]{display:none}.notification-settings p{line-height:1.5}
