:root {
    --tt-green-900: #123f35;
    --tt-green-800: #185646;
    --tt-green-700: #20705b;
    --tt-green-100: #dff2e9;
    --tt-green-50: #eef8f2;
    --tt-amber: #ee9d32;
    --tt-amber-soft: #fff1d8;
    --tt-bg: #f8f7f2;
    --tt-surface: #ffffff;
    --tt-text: #21312d;
    --tt-muted: #687872;
    --tt-line: #dde5e1;
    --tt-danger: #c34545;
    --tt-warning: #a96a14;
    --tt-info: #2b6f9d;
    --tt-radius-sm: 10px;
    --tt-radius-md: 14px;
    --tt-radius-lg: 18px;
    --tt-radius-xl: 24px;
    --tt-radius-pill: 999px;
    --tt-shadow-sm: 0 5px 18px rgba(24, 65, 54, .06);
    --tt-shadow-float: 0 14px 40px rgba(18, 63, 53, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tt-bg); color: var(--tt-text); font-family: "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.app-shell { min-height: 100vh; padding-bottom: 92px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 247, 242, .9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(221, 229, 225, .75); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.container-tt { width: min(100% - 32px, 1240px); margin-inline: auto; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.brand__mark { width: 62px; height: 64px; flex: 0 0 62px; position: relative; overflow: hidden; }
.brand__mark img { position: absolute; left: -7px; top: 1px; width: auto; height: 62px; max-width: none; mix-blend-mode: multiply; }
.brand__copy { min-width: 0; display: grid; justify-items: stretch; line-height: 1; }
.brand__name { display: block; white-space: nowrap; font-size: clamp(20px, 2.1vw, 31px); font-weight: 900; font-style: italic; letter-spacing: -.035em; }
.brand__name span:first-child { color: #075ca6; }
.brand__name span:last-child { color: #168b38; }
.brand__company { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: #164b7c; white-space: nowrap; font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.brand__company::before, .brand__company::after { content: ""; height: 1px; flex: 1; background: #164b7c; }
.brand__tagline { display: block; margin-top: 5px; color: #31363a; white-space: nowrap; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.desktop-nav { display: none; align-items: center; gap: 4px; }
.nav-link-tt { padding: 9px 12px; border-radius: var(--tt-radius-sm); color: var(--tt-muted); font-weight: 650; font-size: 14px; }
.nav-link-tt:hover { color: var(--tt-green-800); background: var(--tt-green-50); }
.btn-tt { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--tt-radius-md); padding: 10px 16px; font-weight: 750; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn-tt:active { transform: scale(.98); }
.btn-tt--primary { color: #fff; background: var(--tt-green-700); box-shadow: 0 8px 20px rgba(32,112,91,.18); }
.btn-tt--primary:hover { background: var(--tt-green-800); color: #fff; }
.btn-tt--soft { color: var(--tt-green-800); background: var(--tt-green-50); border-color: var(--tt-green-100); }
.btn-tt--light { color: var(--tt-text); background: #fff; border-color: var(--tt-line); }
.btn-tt--amber { color: #452800; background: var(--tt-amber-soft); border-color: #f3d59e; }
.btn-tt--sm { min-height: 38px; padding: 7px 12px; font-size: 14px; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; }
.main-content { padding: 26px 0 48px; }
.eyebrow { margin: 0 0 8px; color: var(--tt-green-700); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(29px, 7vw, 42px); }
h2 { font-size: clamp(22px, 4vw, 29px); }
h3 { font-size: 18px; }
.muted { color: var(--tt-muted); }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 0; }
.section-link { flex: 0 0 auto; color: var(--tt-green-700); font-weight: 750; font-size: 14px; }
.card-tt { background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); box-shadow: var(--tt-shadow-sm); }
.intake-hero { display: grid; gap: 22px; }
.intake-copy p { max-width: 600px; }
.intake-box { padding: 12px; border-radius: var(--tt-radius-xl); background: #fff; border: 1px solid var(--tt-line); box-shadow: var(--tt-shadow-float); }
.intake-box textarea { width: 100%; min-height: 112px; padding: 14px 14px 6px; border: 0; resize: none; color: var(--tt-text); background: transparent; outline: none; font-size: 17px; }
.intake-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--tt-line); }
.media-actions { display: flex; gap: 4px; }
.media-action { min-width: 46px; min-height: 44px; border: 0; background: transparent; color: var(--tt-green-700); border-radius: 12px; font-size: 13px; font-weight: 700; display: grid; place-items: center; cursor: pointer; }
.media-action:hover { background: var(--tt-green-50); }
.quick-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-service { min-height: 92px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); font-weight: 720; font-size: 13px; transition: transform .18s, border-color .18s; }
.quick-service:hover { transform: translateY(-2px); border-color: #a8cbbd; }
.quick-service__icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--tt-green-50); color: var(--tt-green-700); border-radius: 14px; }
.urgent-card { position: relative; overflow: hidden; padding: 24px; color: #fff; background: var(--tt-green-800); border-radius: var(--tt-radius-xl); }
.urgent-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255,255,255,.07); }
.urgent-card h2 { margin-bottom: 7px; }
.urgent-card p { color: rgba(255,255,255,.78); max-width: 620px; }
.urgent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.urgent-actions .btn-tt--light { border: 0; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 76%); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding: 2px 2px 12px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.service-card { scroll-snap-align: start; padding: 18px; min-height: 176px; display: flex; flex-direction: column; }
.service-card__tag { align-self: start; padding: 5px 9px; color: var(--tt-green-800); background: var(--tt-green-50); border-radius: 8px; font-size: 12px; font-weight: 750; }
.service-card h3 { margin: 14px 0 7px; }
.service-card__meta { margin-top: auto; display: flex; gap: 12px; color: var(--tt-muted); font-size: 13px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { padding: 16px 10px; text-align: center; }
.metric strong { display: block; color: var(--tt-green-800); font-size: clamp(22px, 6vw, 32px); line-height: 1; }
.metric span { display: block; margin-top: 8px; color: var(--tt-muted); font-size: 12px; }
.trust-strip { display: grid; gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255,255,255,.6); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); font-weight: 650; }
.trust-item .icon { color: var(--tt-green-700); flex: 0 0 auto; }
.bottom-nav { position: fixed; z-index: 120; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); min-height: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 7px 5px 6px; color: #758397; background: rgba(255,255,255,.96); border: 1px solid rgba(211,222,228,.9); border-radius: 22px; box-shadow: 0 14px 42px rgba(11,45,69,.18), 0 2px 8px rgba(11,45,69,.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.bottom-nav a,.bottom-nav__primary { min-width: 0; min-height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; position: relative; padding: 4px 2px 2px; color: inherit; background: transparent; border: 0; border-radius: 13px; font-size: 9px; font-weight: 750; line-height: 1.15; white-space: nowrap; cursor: pointer; transition: color .18s ease, background .18s ease, transform .18s ease; }
.bottom-nav a:hover,.bottom-nav a.is-active { color: var(--tt-primary-dark); background: var(--tt-surface-green); }
.bottom-nav a.is-active::after { content: ""; position: absolute; bottom: -4px; width: 18px; height: 3px; background: var(--tt-primary); border-radius: 999px; }
.bottom-nav__icon { width: 30px; height: 27px; display: grid; place-items: center; border-radius: 9px; }
.bottom-nav .icon { width: 21px; height: 21px; stroke-width: 2; }
.bottom-nav a.is-active .bottom-nav__icon { color: #fff; background: linear-gradient(135deg,var(--tt-primary),var(--tt-primary-dark)); box-shadow: 0 5px 12px rgba(13,147,72,.2); }
.bottom-nav__primary { min-height: 66px; margin-top: -23px; color: var(--tt-primary-dark); font-size: 10px; font-weight: 850; overflow: visible; }
.bottom-nav__primary:hover,.bottom-nav__primary.is-active { color: var(--tt-primary-dark); transform: translateY(-2px); }
.bottom-nav__primary-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1px; color: #fff; background: linear-gradient(145deg,#20ae5c,var(--tt-primary-dark)); border: 5px solid #fff; border-radius: 50%; box-shadow: 0 9px 22px rgba(13,147,72,.34); }
.bottom-nav__primary .icon { width: 24px; height: 24px; stroke-width: 2.3; }
.bottom-nav__primary.is-active .bottom-nav__primary-icon { background: linear-gradient(145deg,var(--tt-secondary),#075ca6); }
.form-shell { max-width: 760px; margin-inline: auto; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.wizard-progress span { height: 5px; flex: 1; background: var(--tt-line); border-radius: var(--tt-radius-pill); }
.wizard-progress span.is-active { background: var(--tt-green-700); }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: reveal .25s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } }
.form-card { padding: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfdad5; border-radius: var(--tt-radius-md); background: #fff; color: var(--tt-text); outline: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--tt-green-700); box-shadow: 0 0 0 3px rgba(32,112,91,.12); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { min-height: 66px; height: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); background: #fff; cursor: pointer; font-weight: 650; }
.choice input:checked + label { color: var(--tt-green-800); border-color: var(--tt-green-700); background: var(--tt-green-50); box-shadow: 0 0 0 2px rgba(32,112,91,.08); }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.upload-zone { min-height: 120px; display: grid; place-items: center; padding: 20px; text-align: center; border: 1.5px dashed #aac5ba; border-radius: var(--tt-radius-lg); background: var(--tt-green-50); cursor: pointer; }
.error-list, .flash { margin-bottom: 18px; padding: 13px 15px; border-radius: var(--tt-radius-md); }
.error-list, .flash--error { color: #7d2525; background: #fff0f0; border: 1px solid #efc7c7; }
.flash--success { color: #165941; background: #e8f7f0; border: 1px solid #b9e3d2; }
.service-list { display: grid; gap: 12px; }
.service-row { padding: 18px; display: flex; gap: 14px; align-items: center; }
.service-row__icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--tt-green-700); background: var(--tt-green-50); border-radius: 15px; }
.service-row__body { min-width: 0; flex: 1; }
.service-row h3 { margin-bottom: 4px; }
.service-row p { margin: 0; color: var(--tt-muted); font-size: 14px; }
.service-row__price { color: var(--tt-green-800); white-space: nowrap; font-weight: 800; font-size: 14px; }
.tracking-card { padding: 20px; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--tt-green-800); background: var(--tt-green-50); border-radius: var(--tt-radius-pill); font-size: 13px; font-weight: 800; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tt-green-700); box-shadow: 0 0 0 4px rgba(32,112,91,.12); }
.timeline { margin: 22px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 21px; bottom: 0; width: 2px; background: var(--tt-green-100); }
.timeline__dot { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border: 4px solid var(--tt-green-100); background: var(--tt-green-700); border-radius: 50%; }
.timeline strong { display: block; }
.timeline small { color: var(--tt-muted); }
.price-breakdown { margin-top: 20px; }
.price-line { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--tt-line); }
.price-line--total { font-size: 18px; font-weight: 850; border-bottom: 0; }
.media-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.media-card { overflow: hidden; background: var(--tt-green-50); border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); }
.media-card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.media-card span { display: block; padding: 8px 10px; color: var(--tt-muted); font-size: 12px; }
.media-group + .media-group { margin-top: 20px; }
.media-group h3 { margin-bottom: 10px; }
.inline-form { display: grid; gap: 10px; }
.item-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item-entry .field:first-child { grid-column: 1 / -1; }
.item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--tt-line); }
.item-row__body { min-width: 0; }
.item-row__body strong, .item-row__body small { display: block; }
.item-row__body small { color: var(--tt-muted); }
.star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-picker input { position: absolute; opacity: 0; }
.star-picker label { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: #c8cfcc; font-size: 30px; cursor: pointer; }
.star-picker input:checked ~ label, .star-picker label:hover, .star-picker label:hover ~ label { color: var(--tt-amber); }
.pill-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-checks input { position: absolute; opacity: 0; }
.pill-checks label { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 12px; background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-pill); cursor: pointer; font-size: 14px; font-weight: 650; }
.pill-checks input:checked + label { color: var(--tt-green-800); background: var(--tt-green-50); border-color: var(--tt-green-700); }
.warranty-card { padding: 18px; background: var(--tt-green-50); border: 1px solid #b9ddcf; border-radius: var(--tt-radius-lg); }
.payment-status { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--tt-line); }
.admin-layout { display: grid; gap: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-card { padding: 16px; }
.stat-card strong { display: block; font-size: 26px; color: var(--tt-green-800); }
.stat-card span { color: var(--tt-muted); font-size: 13px; }
.attention { padding: 20px; border-color: #f0cf99; background: #fffaf0; }
.job-list { display: grid; gap: 10px; }
.job-row { padding: 16px; }
.job-row__top { display: flex; justify-content: space-between; gap: 12px; }
.job-row h3 { margin: 7px 0 3px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--tt-muted); font-size: 13px; }
.property-grid, .asset-list { display: grid; gap: 12px; }
.property-card { display: block; padding: 20px; }
.property-card__top, .asset-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.property-card h2 { margin: 12px 0 6px; }
.property-card p { margin: 4px 0; }
.property-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--tt-green-800); background: var(--tt-green-50); border-radius: 14px; font-size: 24px; }
.property-summary { padding: 22px; }
.property-summary h2 { margin: 16px 0 8px; }
.property-contact { display: grid; gap: 2px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--tt-line); }
.asset-card { padding: 16px; }
.asset-card p { margin: 4px 0 0; }
.asset-form { margin-top: 14px; }
.asset-form summary { cursor: pointer; color: var(--tt-green-800); }
.asset-form form { margin-top: 18px; }
.form-divider { margin: 24px 0; border: 0; border-top: 1px solid var(--tt-line); }
.property-default { margin: 4px 0; }
.account-property-link { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 20px 0; }
.account-property-link > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.saved-property-picker { margin-bottom: 18px; }
.saved-property-picker > label { display: block; margin-bottom: 8px; font-weight: 750; }
.saved-property-picker .choice label { display: grid; gap: 3px; }
.saved-property-picker .choice small { color: var(--tt-muted); font-weight: 500; }
.maintenance-list { display: grid; gap: 12px; }
.maintenance-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 16px; }
.maintenance-card--overdue { border-color: #e4b5ae; background: #fffafa; }
.maintenance-card__date { width: 58px; height: 62px; display: grid; align-content: center; justify-items: center; color: var(--tt-green-800); background: var(--tt-green-50); border-radius: var(--tt-radius-md); }
.maintenance-card--overdue .maintenance-card__date { color: var(--tt-danger); background: #fff0ee; }
.maintenance-card__date strong { font-size: 22px; line-height: 1; }
.maintenance-card__date span { margin-top: 3px; font-size: 12px; }
.maintenance-card__body { min-width: 0; }
.maintenance-card__body h2 { margin: 0; font-size: 17px; }
.maintenance-card__body p { margin: 6px 0 12px; }
.maintenance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.maintenance-actions form { margin: 0; }
.link-button { min-height: 44px; padding: 8px; color: var(--tt-green-800); background: transparent; border: 0; font-weight: 750; cursor: pointer; }
.care-hero { max-width: 720px; padding: 18px 0 4px; }
.care-hero h1 { margin-bottom: 10px; }
.care-hero > p:last-child { color: var(--tt-muted); font-size: 18px; }
.care-current { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; margin-top: 22px; border-color: #b9ddcf; background: var(--tt-green-50); }
.care-current h2, .care-current p { margin: 4px 0; }
.care-plans { display: grid; gap: 14px; }
.care-plan { position: relative; padding: 22px; }
.care-plan--featured { border-color: var(--tt-green-700); box-shadow: 0 10px 30px rgba(24,86,70,.1); }
.care-plan__tag { display: inline-flex; margin-bottom: 14px; padding: 6px 10px; color: #fff; background: var(--tt-green-700); border-radius: var(--tt-radius-pill); font-size: 12px; font-weight: 800; }
.care-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0; }
.care-plan__price strong { color: var(--tt-green-800); font-size: 28px; }
.care-plan__price span { color: var(--tt-muted); font-size: 13px; }
.care-benefits { display: grid; gap: 11px; min-height: 130px; padding: 0; list-style: none; }
.care-benefits li { display: flex; gap: 9px; }
.care-benefits li > span:first-child { color: var(--tt-green-700); font-weight: 900; }
.care-benefits strong { display: block; font-size: 13px; }
.care-plan form { display: grid; gap: 12px; margin-top: 20px; }
.care-note { max-width: 720px; margin: 18px auto; text-align: center; }
.worker-grid { display: grid; gap: 12px; }
.worker-manage-card { display: flex; gap: 14px; align-items: center; padding: 18px; }
.worker-avatar { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; color: #fff; background: var(--tt-green-700); border-radius: 50%; font-size: 21px; font-weight: 850; }
.worker-manage-card__body { min-width: 0; flex: 1; }
.worker-manage-card__body p { margin: 6px 0; }
.availability-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; }
.availability-row p { margin: 4px 0 0; }
.dispatch-head { display: grid; gap: 18px; }
.dispatch-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.dispatch-filters .field { flex: 1 1 180px; margin: 0; }
.dispatch-urgent { flex: 0 0 auto; }
.dispatch-urgent label { min-height: 48px; }
.dispatch-layout { display: grid; gap: 18px; }
.dispatch-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82vw); gap: 12px; padding-bottom: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; }
.dispatch-column { min-height: 420px; padding: 12px; background: #eef3f0; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); scroll-snap-align: start; }
.dispatch-column__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 3px 12px; }
.dispatch-column__head h2 { margin: 0; font-size: 16px; }
.dispatch-column__head span { min-width: 28px; height: 28px; display: grid; place-items: center; background: #fff; border-radius: 50%; font-size: 12px; font-weight: 800; }
.dispatch-column__list { display: grid; gap: 9px; }
.dispatch-card { display: block; padding: 14px; background: #fff; border: 1px solid transparent; border-radius: var(--tt-radius-md); box-shadow: 0 3px 10px rgba(24,55,46,.05); }
.dispatch-card--warning { border-color: #ebc982; }
.dispatch-card--danger { border-color: #dfaaa2; background: #fffafa; }
.dispatch-card h3 { margin: 9px 0 5px; font-size: 15px; }
.dispatch-card p { margin: 0 0 10px; color: var(--tt-muted); font-size: 13px; }
.dispatch-card__meta { display: grid; gap: 4px; color: var(--tt-muted); font-size: 12px; }
.dispatch-alert { color: var(--tt-danger); font-size: 11px; font-weight: 850; }
.urgent-chip { padding: 4px 7px; color: #8b2f25; background: #ffe8e4; border-radius: var(--tt-radius-pill); font-size: 11px; font-weight: 850; }
.dispatch-empty { padding: 24px 8px; color: var(--tt-muted); text-align: center; font-size: 13px; }
.dispatch-workforce { padding: 18px; background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-lg); }
.dispatch-worker-list { display: grid; gap: 8px; }
.dispatch-worker { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--tt-radius-md); }
.dispatch-worker:hover { background: var(--tt-green-50); }
.dispatch-worker .worker-avatar { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
.dispatch-worker > span:last-child { display: grid; gap: 2px; min-width: 0; }
.dispatch-worker small { color: var(--tt-muted); font-size: 11px; }
.stat-card--danger strong { color: var(--tt-danger); }
.job-row--alert { border-color: #dfaaa2; background: #fffafa; }
.notification-link { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--tt-green-800); background: var(--tt-green-50); border-radius: 50%; }
.notification-link > span { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; color: #fff; background: var(--tt-danger); border: 2px solid #fff; border-radius: 10px; font-size: 10px; font-weight: 850; }
.notification-list { display: grid; gap: 10px; }
.notification-item { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px; }
.notification-item > span:nth-child(2) { display: grid; gap: 4px; }
.notification-item small { color: var(--tt-muted); }
.notification-item--unread { border-color: #acd7c5; background: var(--tt-green-50); }
.notification-dot { width: 8px; height: 8px; background: #bdc9c4; border-radius: 50%; }
.notification-item--unread .notification-dot { background: var(--tt-green-700); box-shadow: 0 0 0 4px rgba(32,112,91,.12); }
.notification-filters { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:20px; }
.notification-filters a,.notification-filters button { border:0; border-radius:999px; padding:9px 14px; color:var(--tt-muted); background:#f2f6f4; font:inherit; cursor:pointer; text-decoration:none; }
.notification-filters a.is-active { background:var(--tt-green-700); color:#fff; }
.notification-filters form { margin-left:auto; }
.notification-filters button { background:transparent; color:var(--tt-green-700); font-weight:700; }
.notification-empty { padding:40px 24px; text-align:center; }
.notification-empty>span { display:grid; place-items:center; width:52px; height:52px; margin:0 auto 12px; border-radius:50%; background:var(--tt-green-50); color:var(--tt-green-700); font-size:24px; }
.push-status-card,.push-offer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; }
.push-status-card h2,.push-offer p { margin:0; }.push-status-card p { margin:5px 0 0; }
.notification-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid var(--tt-line); cursor:pointer; }
.notification-switch>span { display:grid; gap:3px; }.notification-switch small,.device-list small { color:var(--tt-muted); }
.notification-switch input { position:absolute; opacity:0; }.notification-switch i { width:46px; height:26px; border-radius:999px; background:#cbd5d1; position:relative; transition:.2s; flex:none; }.notification-switch i:after { content:""; position:absolute; width:20px; height:20px; top:3px; left:3px; border-radius:50%; background:#fff; box-shadow:0 1px 4px #0003; transition:.2s; }.notification-switch input:checked+i { background:var(--tt-green-700); }.notification-switch input:checked+i:after { transform:translateX(20px); }
.device-list>div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 0; border-top:1px solid var(--tt-line); }.device-list span { display:grid; gap:3px; }
.push-toast { position:fixed; z-index:1200; top:86px; right:20px; width:min(360px,calc(100vw - 32px)); padding:16px 18px; display:grid; gap:4px; border-radius:16px; background:#fff; color:var(--tt-text); box-shadow:0 16px 45px #16372d35; border:1px solid var(--tt-line); animation:toast-in .25s ease-out; }.push-toast span { color:var(--tt-muted); }@keyframes toast-in { from { opacity:0; transform:translateY(-8px); } }
@media (max-width:600px){.push-status-card,.push-offer{align-items:flex-start;flex-direction:column}.push-status-card .btn-tt,.push-offer .btn-tt{width:100%}.notification-filters form{margin-left:0;width:100%}.notification-filters form button{padding-left:0}.push-toast{top:16px;right:16px}}
.notification-menu { position:relative; }.notification-menu>summary { list-style:none; cursor:pointer; }.notification-menu>summary::-webkit-details-marker { display:none; }
.notification-menu__panel { position:absolute; z-index:80; top:calc(100% + 14px); right:-16px; width:380px; max-height:520px; overflow:auto; padding:10px; border:1px solid var(--tt-line); border-radius:18px; background:#fff; box-shadow:0 20px 60px #173c3030; }
.notification-menu__head { display:flex; justify-content:space-between; align-items:center; padding:8px 10px 12px; }.notification-menu__head a,.notification-menu__all { color:var(--tt-green-700); font-weight:700; text-decoration:none; font-size:13px; }
.notification-menu__item { display:grid; grid-template-columns:8px 1fr; gap:11px; padding:12px 10px; border-radius:12px; color:var(--tt-text); text-decoration:none; }.notification-menu__item.is-unread { background:var(--tt-green-50); }.notification-menu__item>span:last-child { display:grid; gap:3px; }.notification-menu__item small,.notification-menu__item time { color:var(--tt-muted); font-size:12px; }.notification-menu__all { display:block; text-align:center; padding:12px; border-top:1px solid var(--tt-line); }.notification-menu__empty { padding:20px 10px; color:var(--tt-muted); text-align:center; }
@media(max-width:767px){
    .site-header:has(.notification-menu[open]) { z-index:240; }
    body:has(.notification-menu[open]) { overflow:hidden; }
    .notification-menu[open]::before { content:"";position:fixed;z-index:230;inset:0;background:rgba(7,26,59,.43);backdrop-filter:blur(2px);animation:notification-fade-in .18s ease-out; }
    .notification-menu__panel { position:fixed;z-index:250;top:auto;right:8px;bottom:max(8px,env(safe-area-inset-bottom));left:8px;width:auto;max-height:min(72dvh,560px);padding:9px 9px calc(10px + env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:24px 24px 18px 18px;box-shadow:0 -20px 60px rgba(7,26,59,.3);animation:notification-sheet-in .22s ease-out; }
    .notification-menu__panel::before { content:"";display:block;width:42px;height:4px;margin:1px auto 8px;background:#ced8d3;border-radius:999px; }
    .notification-menu__head { position:sticky;z-index:2;top:-9px;padding:10px 10px 12px;background:rgba(255,255,255,.97);border-bottom:1px solid #eef2f0;backdrop-filter:blur(12px); }
    .notification-menu__head strong { font-size:17px; }
    .notification-menu__head a { min-height:44px;display:inline-flex;align-items:center;padding:0 4px; }
    .notification-menu__item { min-height:66px;padding:13px 10px; }
    .notification-menu__item strong { font-size:14px;line-height:1.35; }
    .notification-menu__item small { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.4; }
    .notification-menu__all { min-height:48px;display:grid;place-items:center; }
    .notification-center .section-head,.notification-settings .section-head { align-items:flex-start;gap:10px; }
    .notification-center .section-head h1,.notification-settings .section-head h1 { font-size:28px; }
    .notification-center .section-head .section-link,.notification-settings .section-head .section-link { min-height:44px;display:inline-flex;align-items:center;white-space:nowrap; }
    .notification-filters { flex-wrap:nowrap;margin:15px -16px 0;padding:0 16px 4px;overflow-x:auto;scrollbar-width:none; }
    .notification-filters::-webkit-scrollbar { display:none; }
    .notification-filters a { flex:0 0 auto;min-height:42px;display:inline-flex;align-items:center;padding-inline:15px; }
    .notification-filters form { flex:0 0 100%;margin:0; }
    .notification-filters form button { min-height:42px;white-space:nowrap; }
    .notification-list.section { margin-top:16px; }
    .notification-item { min-height:78px;grid-template-columns:8px minmax(0,1fr) 18px;gap:11px;padding:14px 13px; }
    .notification-item strong { font-size:14px;line-height:1.35; }
    .notification-item small { font-size:11px;line-height:1.4;overflow-wrap:anywhere; }
    .notification-empty { padding:34px 18px; }
    .notification-switch { min-height:67px;padding:13px 0; }
    .notification-switch small { font-size:11px;line-height:1.35; }
    .device-list>div { min-height:64px; }
}
@keyframes notification-sheet-in { from { opacity:0;transform:translateY(24px); } to { opacity:1;transform:translateY(0); } }
@keyframes notification-fade-in { from { opacity:0; } to { opacity:1; } }
.notification-admin { padding: 16px; }
.notification-admin p { margin: 8px 0; }
.privacy-consent { display: grid; gap: 18px; padding: 20px; border-color: #b9ddcf; background: var(--tt-green-50); }
.privacy-consent h2, .privacy-consent p { margin: 5px 0; }
.recent-work-grid { display: grid; gap: 14px; }
.recent-work { overflow: hidden; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--tt-line); }
.before-after figure { position: relative; margin: 0; background: #fff; }
.before-after img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.before-after figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; color: #fff; background: rgba(18,40,34,.78); border-radius: var(--tt-radius-sm); font-size: 11px; font-weight: 800; }
.recent-work__body { padding: 16px; }
.recent-work__body h3 { margin: 0 0 7px; }
.privacy-note { display: flex; align-items: center; gap: 8px; color: var(--tt-muted); font-size: 13px; }
.location-status { display: block; min-height: 20px; margin-top: 8px; }
.field-label { display: block; margin: 18px 0 8px; font-weight: 750; }
[data-slot] label { display: grid; gap: 3px; }
[data-slot] label small { color: var(--tt-muted); font-weight: 550; }
.booking-price { padding: 22px; margin: 18px 0; border-color: #b9ddcf; background: var(--tt-green-50); }
.booking-price h3 { margin: 8px 0; color: var(--tt-green-800); font-size: 30px; }
.booking-price p:last-child { margin-bottom: 0; }
.booking-summary { display: grid; gap: 0; margin: 18px 0 24px; border: 1px solid var(--tt-line); border-radius: var(--tt-radius-md); overflow: hidden; }
.booking-summary > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--tt-line); }
.booking-summary > div:last-child { border-bottom: 0; }
.booking-summary span { color: var(--tt-muted); }
.booking-summary strong { overflow-wrap: anywhere; }
.intake-suggestion { margin: -4px 0 14px; padding: 13px 14px; color: var(--tt-green-900); background: var(--tt-green-50); border: 1px solid #b9ddcf; border-radius: var(--tt-radius-md); font-size: 14px; }
.intake-suggestion--urgent { color: #7d2d24; background: #fff0ee; border-color: #dfaaa2; }
.intake-suggestion button { margin-left: 8px; padding: 3px 8px; color: inherit; background: #fff; border: 1px solid currentColor; border-radius: 8px; font-weight: 750; cursor: pointer; }
.footer { padding: 36px 0 110px; color: var(--tt-muted); font-size: 13px; }
.footer strong { color: var(--tt-text); }

@media (min-width: 768px) {
    .container-tt { width: min(100% - 56px, 1240px); }
    .main-content { padding-top: 42px; }
    .desktop-nav { display: flex; }
    .brand { gap: 10px; }
    .brand__mark { width: 72px; height: 72px; flex-basis: 72px; }
    .brand__mark img { left: -8px; height: 70px; }
    .brand__company, .brand__tagline { font-size: 9px; }
    .intake-hero { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; padding: 32px 0 12px; }
    .quick-services { grid-template-columns: repeat(6, 1fr); }
    .scroller { grid-auto-columns: minmax(250px, 280px); }
    .trust-strip { grid-template-columns: repeat(3, 1fr); }
    .service-list { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .admin-layout { grid-template-columns: 1fr 1.45fr; align-items: start; }
    .media-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .inline-form { grid-template-columns: 1fr auto; align-items: end; }
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .care-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
    .worker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recent-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-consent { grid-template-columns: 1fr auto; align-items: center; }
    .dispatch-head { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 1024px) {
    .app-shell { padding-bottom: 0; }
    .bottom-nav { display: none; }
    .footer { padding-bottom: 42px; }
    .metrics { gap: 16px; }
    .metric { padding: 22px; }
    .dispatch-layout { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
    .dispatch-board { grid-auto-columns: 280px; }
    .dispatch-workforce { position: sticky; top: 88px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* 2026 homepage visual system — derived from the approved reference */
:root {
    --tt-primary: #0d9348;
    --tt-primary-dark: #08743a;
    --tt-secondary: #1668c7;
    --tt-accent: #f28a22;
    --tt-navy: #071a3b;
    --tt-text: #13233d;
    --tt-text-muted: #627086;
    --tt-bg: #f8fbfd;
    --tt-surface-green: #ecfbf2;
    --tt-border: #e1e8ee;
    --tt-radius-sm: 9px;
    --tt-radius-md: 14px;
    --tt-radius-lg: 18px;
    --tt-radius-xl: 24px;
    --tt-shadow-sm: 0 5px 16px rgba(15, 43, 72, .07);
    --tt-shadow-md: 0 14px 34px rgba(15, 43, 72, .1);
}
body { overflow-x: hidden; background: var(--tt-bg); color: var(--tt-text); }
.site-header { background: rgba(255,255,255,.97); border-bottom-color: #edf1f4; backdrop-filter: blur(12px); }
.site-header__inner { min-height: 84px; }
.brand__name { font-size: clamp(19px, 1.7vw, 28px); }
.brand__mark { width: 60px; height: 62px; flex-basis: 60px; }
.brand__mark img { height: 60px; }
.nav-link-tt { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 30px 10px 27px; color: #344158; font-size: 13px; border-radius: 0; white-space: nowrap; }
.nav-link-tt .icon { width: 16px; height: 16px; flex: 0 0 16px; color: #708197; transition: color .18s, transform .18s; }
.nav-link-tt:hover { color: var(--tt-primary-dark); background: transparent; }
.nav-link-tt:hover .icon { color: var(--tt-primary); transform: translateY(-1px); }
.nav-link-tt.is-active { color: var(--tt-navy); }
.nav-link-tt.is-active .icon { color: var(--tt-primary); }
.nav-link-tt.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 20px; height: 2px; background: var(--tt-primary); border-radius: 2px; }
.header-actions { flex: 0 0 auto; gap: 14px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 9px; }
.header-phone__icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--tt-primary); background: #eaf8f0; border-radius: 50%; }
.header-phone > span:last-child { display: grid; line-height: 1.15; }
.header-phone small { color: var(--tt-text-muted); font-size: 10px; }
.header-phone strong { color: var(--tt-navy); font-size: 14px; }
.header-login { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 17px; color: #fff; background: linear-gradient(135deg, var(--tt-primary), var(--tt-primary-dark)); border-radius: 10px; box-shadow: 0 8px 20px rgba(13,147,72,.22); font-size: 13px; font-weight: 800; }
.main-content { padding-top: 26px; }
.home-hero { min-height: 440px; position: relative; isolation: isolate; display: flex; align-items: center; margin-top: -26px; overflow: hidden; background: #f2f8fb url('../images/home-hero-family.webp') right center / auto 100% no-repeat; }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#f6fbfe 0%,#f6fbfe 46%,rgba(246,251,254,.9) 55%,rgba(246,251,254,.05) 76%); }
.home-hero__content { width: 65%; padding: 48px 0 34px; }
.home-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: #204662; font-size: 12px; letter-spacing: .08em; }
.home-eyebrow strong { color: var(--tt-navy); }
.home-eyebrow strong::after { content: "·"; margin-left: 12px; color: var(--tt-primary); }
.home-hero h1 { margin: 0; color: var(--tt-navy); font-size: clamp(37px, 4vw, 58px); font-weight: 850; letter-spacing: -.045em; }
.home-hero h1 em { color: var(--tt-primary); font-style: normal; }
.home-hero__lead { margin: 10px 0 26px; color: #253850; font-size: clamp(15px, 1.4vw, 19px); }
.hero-task { width: min(100%, 760px); min-height: 67px; display: grid; grid-template-columns: 28px minmax(0,1fr) 42px 42px auto; align-items: center; gap: 4px; padding: 5px 6px 5px 18px; background: #fff; border: 1px solid #dfe8ee; border-radius: 999px; box-shadow: 0 12px 32px rgba(20,55,90,.1); }
.hero-task__search { color: #17355a; }
.hero-task input { min-width: 0; height: 52px; padding: 0 10px; color: var(--tt-text); background: transparent; border: 0; outline: 0; }
.hero-task__icon { width: 40px; height: 40px; display: grid; place-items: center; color: #183b67; background: #f2f6fa; border: 0; border-radius: 50%; cursor: pointer; }
.hero-task__submit { min-height: 55px; display: inline-flex; align-items: center; gap: 18px; padding: 10px 25px; color: #fff; background: linear-gradient(135deg,#16a653,#07843f); border: 0; border-radius: 999px; box-shadow: 0 8px 20px rgba(13,147,72,.25); font-weight: 800; white-space: nowrap; cursor: pointer; }
.hero-trust { width: min(100%, 760px); display: grid; grid-template-columns: repeat(4,1fr); margin-top: 24px; }
.hero-trust > div { display: flex; align-items: center; gap: 10px; padding: 0 13px; border-right: 1px solid #dce5e9; }
.hero-trust > div:first-child { padding-left: 0; }.hero-trust > div:last-child { border: 0; }
.hero-trust span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: var(--tt-primary); background: #e7f8ef; border-radius: 50%; }
.hero-trust p { margin: 0; color: #50647c; font-size: 11px; line-height: 1.35; }.hero-trust strong { display: block; color: var(--tt-navy); font-size: 12px; }
.hero-note { position: absolute; top: 47px; right: 31%; color: #168743; font-family: "Segoe Print", cursive; font-size: 19px; line-height: 1.5; transform: rotate(-4deg); }
.hero-note b { color: var(--tt-primary); }
.hero-bubble { position: absolute; right: 3%; bottom: 92px; padding: 14px 18px; color: #183252; background: #fff; border: 1px solid #dce4e9; border-radius: 17px; box-shadow: var(--tt-shadow-sm); font-size: 12px; line-height: 1.35; }
.hero-mobile-visual { display: none; }
.home-section { margin-top: 44px; }
.home-section__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.home-section__head h2, .assurance h2 { margin: 0 0 3px; color: var(--tt-navy); font-size: clamp(22px,2vw,28px); font-weight: 850; }
.home-section__head p, .assurance__head p { margin: 0; color: var(--tt-text-muted); font-size: 13px; }
.home-section__head > a, .home-section__head > small { display: inline-flex; align-items: center; gap: 7px; color: var(--tt-primary-dark); font-size: 12px; white-space: nowrap; }
.home-section__head .icon { width: 16px; }
.services-overview { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(340px,.85fr); gap: 30px; }
.home-categories { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.home-category { min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 7px; background: #fff; border: 1px solid var(--tt-border); border-radius: 14px; box-shadow: var(--tt-shadow-sm); text-align: center; transition: transform .18s, box-shadow .18s; }
.home-category:hover { transform: translateY(-2px); box-shadow: var(--tt-shadow-md); }
.home-category__icon { width: 44px; height: 44px; margin-bottom: 7px; color: var(--tt-primary); stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-category:nth-child(2) .home-category__icon { color: var(--tt-accent); }.home-category:nth-child(3) .home-category__icon,.home-category:nth-child(4) .home-category__icon,.home-category:nth-child(6) .home-category__icon { color: #2c7be5; }
.home-category strong { color: var(--tt-navy); font-size: 13px; }.home-category small { margin-top: 2px; color: var(--tt-text-muted); font-size: 10px; }
.urgent-home { min-height: 190px; position: relative; display: flex; align-items: center; overflow: hidden; padding: 25px 20px 22px 28px; background: linear-gradient(135deg,#e8fbef,#dff8e9); border-radius: 18px; }
.urgent-home > div:first-child { position: relative; z-index: 2; }.urgent-home h2 { margin: 0 0 6px; color: var(--tt-navy); font-size: 24px; }.urgent-home h2 span { color: var(--tt-accent); }.urgent-home p { margin: 0; color: #2d4056; font-size: 13px; }.urgent-home > div > div { display: flex; gap: 10px; margin-top: 18px; }.urgent-home .btn-tt { min-height: 42px; padding: 8px 13px; font-size: 12px; }.urgent-home__phone { position: absolute; right: 4px; bottom: -9px; width: 120px; height: 165px; }.urgent-home__phone svg { width: 100%; height: 100%; }
.popular-scroller,.recent-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 50px)/6); gap: 10px; padding: 2px 2px 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: inline mandatory; }.popular-scroller::-webkit-scrollbar,.recent-scroller::-webkit-scrollbar { display:none; }
.popular-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--tt-border); border-radius: 13px; box-shadow: var(--tt-shadow-sm); scroll-snap-align: start; }
.popular-card__image { width:100%;height:116px;display:block;object-fit:cover;background-color:#edf3f0; }
.popular-card__image--fallback { background-image: url('../images/service-thumbnails.webp'); background-repeat: no-repeat; background-size: 300% 200%; }
.popular-card__image--0 { background-position: 0 0; }.popular-card__image--1 { background-position: 50% 0; }.popular-card__image--2 { background-position: 100% 0; }.popular-card__image--3 { background-position: 0 100%; }.popular-card__image--4 { background-position: 50% 100%; }.popular-card__image--5 { background-position: 100% 100%; }
.popular-card__body { display: grid; gap: 4px; padding: 11px 12px 12px; }.popular-card__body strong { padding-right: 24px; color: var(--tt-navy); font-size: 13px; }.popular-card__body b { color: var(--tt-accent); font-size: 13px; }.popular-card__body small { display: flex; align-items: center; gap: 5px; color: #4d6078; font-size: 10px; }.popular-card__body .icon { width: 14px;height:14px; }.popular-card__arrow { position: absolute; right: 10px; bottom: 35px; width: 27px; height: 27px; display: grid; place-items: center; color: #15365f; background: #f1f5f8; border-radius:50%; }.popular-card__arrow .icon { width:14px; }
.today-grid { display:grid;grid-template-columns:minmax(0,2.2fr) minmax(270px,.8fr);gap:20px; }.today-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.today-card{min-height:112px;display:flex;align-items:center;gap:14px;padding:18px;background:#fff;border:1px solid var(--tt-border);border-radius:14px;box-shadow:var(--tt-shadow-sm)}.today-card__icon{width:57px;height:57px;flex:0 0 57px;display:grid;place-items:center;color:#fff;border-radius:50%}.today-card__icon .icon{width:28px;height:28px}.today-card__icon--green{background:linear-gradient(135deg,#37bd62,#0b8b42)}.today-card__icon--blue{background:linear-gradient(135deg,#55a3ff,#176ada)}.today-card__icon--orange{background:linear-gradient(135deg,#ffad4f,#f07b14)}.today-card p{display:grid;margin:0;line-height:1.2}.today-card b{color:var(--tt-navy);font-size:27px}.today-card strong{color:var(--tt-navy);font-size:12px}.today-card small{margin-top:5px;color:var(--tt-text-muted);font-size:10px}.today-card .today-card__word{font-size:20px}.team-card{min-height:112px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:16px 0 16px 22px;background:linear-gradient(110deg,#e8f7ff,#f0fbff);border-radius:14px}.team-card p{margin:0 0 12px;color:#173251;font-size:13px}.team-card a{display:inline-flex;align-items:center;gap:5px;color:var(--tt-primary-dark);font-size:11px;font-weight:800;text-decoration:underline}.team-card__person{align-self:stretch;display:grid;place-items:center;width:100px;font-size:64px;background:linear-gradient(90deg,transparent,rgba(36,153,93,.12))}
.recent-scroller { grid-auto-columns: calc((100% - 30px)/4); }.recent-card{overflow:hidden;background:#fff;border:1px solid var(--tt-border);border-radius:13px;box-shadow:var(--tt-shadow-sm);scroll-snap-align:start}.recent-card .before-after img{aspect-ratio:1.2/1}.recent-card__body{padding:11px 12px 13px}.recent-card__body h3{margin:0 0 9px;color:var(--tt-navy);font-size:13px}.recent-card__body p{display:flex;justify-content:space-between;gap:8px;margin:0;color:#52657c;font-size:10px}.recent-card__body span{display:flex;align-items:center;gap:4px}.recent-card__body .icon{width:13px;height:13px}.home-empty{display:flex;align-items:center;justify-content:center;gap:15px;min-height:150px;padding:24px;background:#fff;border:1px dashed #cbd8df;border-radius:16px;color:var(--tt-text-muted)}.home-empty>span{width:50px;height:50px;display:grid;place-items:center;color:var(--tt-primary);background:var(--tt-surface-green);border-radius:50%}.home-empty p{margin:4px 0 0;font-size:13px}
.assurance{margin-top:38px;padding:24px 30px;background:linear-gradient(100deg,#edfff4,#e7faef);border-radius:18px}.assurance__head{margin-bottom:18px}.assurance-grid{display:grid;grid-template-columns:repeat(4,1fr)}.assurance-grid article{display:flex;align-items:center;gap:13px;padding:0 22px;border-right:1px solid #d5ebdd}.assurance-grid article:first-child{padding-left:0}.assurance-grid article:last-child{border:0;padding-right:0}.assurance-grid article>span{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;color:var(--tt-primary);background:#fff;border:1px solid #d9e9df;border-radius:50%;box-shadow:var(--tt-shadow-sm)}.assurance-grid article>span .icon{width:29px;height:29px}.assurance-grid h3{margin:0 0 3px;color:var(--tt-navy);font-size:13px}.assurance-grid p{margin:0;color:var(--tt-text-muted);font-size:10px;line-height:1.45}
.footer{margin-top:28px;padding:32px 0 90px;background:#fff;border-top:1px solid #e5ebef}.footer-grid{display:grid;grid-template-columns:1.1fr 1.25fr 1fr 1.25fr .8fr;gap:28px;align-items:start}.footer h3{margin:4px 0 9px;color:var(--tt-navy);font-size:12px}.footer p{margin:0;color:var(--tt-text-muted);font-size:10px;line-height:1.6}.footer-brand .brand__mark{width:52px;height:55px;flex-basis:52px}.footer-brand .brand__mark img{height:53px}.footer-brand .brand__name{font-size:20px}.footer-brand .brand__company,.footer-brand .brand__tagline{font-size:6px}.footer-phone{display:block;margin-bottom:3px;color:var(--tt-navy);font-size:13px;font-weight:850}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;color:var(--tt-text-muted);font-size:10px}.social-links{display:flex;gap:7px}.social-links a{width:25px;height:25px;display:grid;place-items:center;color:#fff;background:#1554a6;border-radius:6px;font-size:11px;font-weight:900}.social-links a:nth-child(2){background:#1687db}.social-links a:nth-child(3){background:#e9232e}.social-links a:nth-child(4){background:#111}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:26px;padding-top:20px;border-top:1px solid #e8edf0;color:#8390a0;font-size:9px}.footer-bottom b{color:#e84c5c}
.task-sheet,.sheet-backdrop{display:none}
@media (min-width:768px){.main-content{padding-top:42px}.home-hero{margin-top:-42px}.footer{padding-bottom:34px}}
@media (min-width:1100px){.desktop-nav{display:flex}.header-phone{display:flex}}
@media (max-width:1099px){.desktop-nav{display:none}.services-overview{grid-template-columns:1fr}.urgent-home{min-height:170px}.popular-scroller{grid-auto-columns:calc((100% - 30px)/4)}.today-grid{grid-template-columns:1fr}.assurance-grid{grid-template-columns:repeat(2,1fr);gap:20px}.assurance-grid article{border:0;padding:0}.footer-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){.site-header__inner{min-height:68px}.brand{max-width:calc(100% - 58px);overflow:hidden}.brand__mark{width:46px;height:49px;flex-basis:46px}.brand__mark img{height:47px;left:-5px}.brand__name{font-size:18px}.brand__company,.brand__tagline{font-size:6px}.header-login{width:42px;height:42px;padding:0;border-radius:50%}.header-login span{display:none}.header-phone{display:none}.main-content{padding-top:20px}.home-hero{width:calc(100% + 32px);min-height:auto;margin-top:-20px;margin-left:-16px;margin-right:-16px;padding:0 16px 22px;background-position:72% top;background-size:auto 255px}.home-hero::before{background:linear-gradient(180deg,rgba(246,251,254,.18) 0,rgba(246,251,254,.72) 175px,#f6fbfe 255px)}.home-hero__content{width:100%;min-width:0;padding:215px 0 0}.hero-note,.hero-bubble{display:none}.home-eyebrow{margin-bottom:7px;font-size:10px}.home-eyebrow span{display:none}.home-hero h1{font-size:36px;line-height:1.05}.home-hero h1 em{display:block}.home-hero__lead{max-width:100%;margin:10px 0 17px;font-size:15px;overflow-wrap:anywhere}.hero-task{width:100%;max-width:100%;grid-template-columns:24px minmax(0,1fr) 40px 40px;min-height:auto;overflow:hidden;padding:6px 8px 6px 14px;border-radius:18px}.hero-task input{width:100%;height:48px;font-size:14px}.hero-task__submit{grid-column:1/-1;min-height:50px;justify-content:center;margin:3px -2px -1px;border-radius:14px}.hero-trust{grid-template-columns:repeat(2,1fr);gap:13px;margin-top:19px}.hero-trust>div{padding:0;border:0}.hero-trust p{font-size:10px}.hero-trust strong{font-size:11px}.home-section{margin-top:34px}.home-section__head{align-items:start}.home-section__head h2{font-size:22px}.home-section__head p{font-size:12px}.home-section__head>a{font-size:0}.home-section__head>a::after{content:'→';font-size:20px}.home-section__head>a .icon{display:none}.services-overview{gap:16px}.home-categories{grid-template-columns:repeat(3,1fr);gap:9px}.home-category{min-height:110px}.urgent-home{min-height:180px;padding-left:20px}.urgent-home h2{font-size:21px}.urgent-home__phone{opacity:.75}.popular-scroller{grid-auto-columns:72%}.popular-card__image{height:140px}.today-metrics{grid-template-columns:1fr}.today-card{min-height:92px}.team-card{min-height:110px}.recent-scroller{grid-auto-columns:82%}.assurance{margin-inline:-4px;padding:22px 18px}.assurance-grid{grid-template-columns:1fr;gap:20px}.footer{margin-top:24px;padding-bottom:112px}.footer-grid{grid-template-columns:1fr 1fr;gap:25px 18px}.footer-brand{grid-column:1/-1}.footer-bottom{display:grid;text-align:center}.task-sheet{display:block;position:fixed;z-index:210;left:0;right:0;bottom:0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -20px 50px rgba(7,26,59,.18);transform:translateY(105%);transition:transform .25s ease}.task-sheet.is-open{transform:translateY(0)}.sheet-backdrop{position:fixed;z-index:200;inset:0;display:block;background:rgba(7,26,59,.42);backdrop-filter:blur(3px)}.sheet-backdrop[hidden]{display:none}.task-sheet__handle{width:42px;height:4px;margin:0 auto 14px;background:#ced7de;border-radius:4px}.task-sheet__head{display:flex;align-items:center;justify-content:space-between}.task-sheet__head h2{font-size:21px}.task-sheet__head button{width:38px;height:38px;border:0;border-radius:50%;background:#f0f4f6;font-size:24px}.task-sheet__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.task-sheet__grid a{padding:13px 7px;background:#f5faf7;border:1px solid #e0ece4;border-radius:12px;text-align:center;font-size:12px;font-weight:750}.task-sheet__actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}}

/* Brand artwork supplied by Trí Trung: keep its native 3:1 ratio everywhere. */
.brand--image {
    flex: 0 0 auto;
    overflow: visible;
}

.brand__full-logo {
    display: block;
    width: 220px;
    height: auto;
    object-fit: contain;
}

.footer-brand .brand__full-logo {
    width: 190px;
}

.team-card {
    isolation: isolate;
    min-height: 112px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 16px 0 16px 22px;
    background: #edf8f3;
    border-radius: 14px;
}

.team-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(238, 250, 245, .98) 0%, rgba(238, 250, 245, .9) 39%, rgba(238, 250, 245, .16) 66%, transparent 100%);
}

.team-card__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-card__content {
    position: relative;
    z-index: 1;
}

.team-card__content p {
    margin: 0 0 12px;
    color: #173251;
    font-size: 13px;
    font-weight: 650;
}

.team-card__content a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tt-primary-dark);
    font-size: 11px;
    font-weight: 800;
    text-decoration: underline;
}

.footer-hotlines {
    display: grid;
    gap: 2px;
    margin-bottom: 7px;
}

.footer-hotlines .footer-phone {
    margin-bottom: 0;
}

.account-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.account-heading h1 {
    margin-bottom: 0;
}

.account-menu {
    position: relative;
}

.account-menu > summary {
    list-style: none;
    cursor: pointer;
}

.account-menu > summary::-webkit-details-marker {
    display: none;
}

.account-menu__chevron {
    margin-left: 1px;
    font-size: 15px;
    transition: transform .18s ease;
}

.account-menu[open] .account-menu__chevron {
    transform: rotate(180deg);
}

.account-menu__panel {
    position: absolute;
    z-index: 180;
    top: calc(100% + 12px);
    right: 0;
    width: 270px;
    display: grid;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(7, 26, 59, .18);
}

.account-menu__panel::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid var(--tt-border);
    border-left: 1px solid var(--tt-border);
    transform: rotate(45deg);
}

.account-menu__panel a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    color: #30435a;
    border-radius: 10px;
}

.account-menu__panel a:hover {
    color: var(--tt-primary-dark);
    background: var(--tt-surface-green);
}

.account-menu__panel a > span:first-child {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--tt-primary-dark);
    background: #edf8f2;
    border-radius: 9px;
    font-weight: 850;
}

.account-menu__panel strong,
.account-menu__panel small {
    display: block;
}

.account-menu__panel strong {
    font-size: 12px;
}

.account-menu__panel small {
    margin-top: 1px;
    color: #7a8795;
    font-size: 10px;
}

.account-menu__panel .account-menu__logout {
    margin-top: 5px;
    padding-top: 11px;
    color: var(--tt-danger);
    border-top: 1px solid #edf0f2;
    border-radius: 0 0 10px 10px;
}

.account-menu__panel .account-menu__logout > span:first-child {
    color: var(--tt-danger);
    background: #fff0f0;
}

@media (max-width: 767.98px) {
    .account-menu__chevron {
        display: none;
    }

    .account-menu__panel {
        position: fixed;
        top: 66px;
        right: 12px;
        width: min(290px, calc(100vw - 24px));
    }
}

/* Operations center: vertical, permission-aware navigation. */
.admin-console {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 102px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 20px;
    box-shadow: var(--tt-shadow-sm);
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 18px;
    color: #fff;
    background: linear-gradient(135deg, #123c69, #0d7045);
}

.admin-sidebar__brand > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
}

.admin-sidebar__brand .icon {
    width: 22px;
    height: 22px;
}

.admin-sidebar__brand strong,
.admin-sidebar__brand small {
    display: block;
}

.admin-sidebar__brand strong {
    font-size: 14px;
}

.admin-sidebar__brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
}

.admin-sidebar__nav {
    padding: 10px;
}

.admin-sidebar__nav > p {
    margin: 11px 10px 6px;
    color: #8a98a8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.admin-sidebar__link {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    color: #344960;
    border-radius: 12px;
    transition: background .18s, color .18s, transform .18s;
}

.admin-sidebar__link:hover {
    color: var(--tt-primary-dark);
    background: #f1f8f4;
    transform: translateX(2px);
}

.admin-sidebar__link.is-active {
    color: #08783d;
    background: #eaf8f0;
}

.admin-sidebar__link > span:first-child {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #42627e;
    background: #f2f6f8;
    border-radius: 10px;
}

.admin-sidebar__link.is-active > span:first-child {
    color: #fff;
    background: linear-gradient(135deg, #18a956, #087e40);
}

.admin-sidebar__link .icon {
    width: 18px;
    height: 18px;
}

.admin-sidebar__link strong,
.admin-sidebar__link small {
    display: block;
}

.admin-sidebar__link strong {
    font-size: 12px;
}

.admin-sidebar__link small {
    margin-top: 1px;
    color: #8491a0;
    font-size: 9px;
}

.admin-sidebar__link i {
    position: absolute;
    top: 13px;
    right: 8px;
    width: 3px;
    height: 28px;
    background: var(--tt-primary);
    border-radius: 3px;
}

.admin-sidebar__back {
    display: block;
    margin: 0 10px 10px;
    padding: 12px;
    color: #607286;
    background: #f7f9fa;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 750;
    text-align: center;
}

.admin-console__main {
    min-width: 0;
}

.admin-console__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    padding: 3px 0 4px;
}

.admin-console__head h1 {
    margin: 3px 0 5px;
    color: var(--tt-navy);
    font-size: clamp(27px, 3vw, 38px);
}

.admin-console__head p {
    margin-bottom: 0;
}

.admin-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1099.98px) {
    .admin-console {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 18px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .admin-console {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admin-sidebar {
        position: static;
        border-radius: 17px;
    }

    .admin-sidebar__brand {
        padding: 15px 16px;
    }

    .admin-sidebar__nav {
        display: grid;
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .admin-sidebar__link {
        padding-block: 8px;
    }

    .admin-sidebar__back {
        margin: 2px 8px 8px;
    }

    .admin-console__head {
        display: grid;
        align-items: start;
    }

    .admin-console__head .btn-tt {
        width: 100%;
        justify-content: center;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Authentication experience */
.auth-page {
    width: min(100%, 1120px);
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    margin: 10px auto 36px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(10, 48, 80, .12);
}

.auth-welcome {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 54px 48px;
    color: #fff;
    background: linear-gradient(145deg, #075ca6 0%, #087a75 48%, #119347 100%);
}

.auth-welcome::before,
.auth-welcome::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-welcome::before {
    width: 330px;
    height: 330px;
    top: -170px;
    right: -140px;
    border: 45px solid rgba(255, 255, 255, .09);
}

.auth-welcome::after {
    width: 240px;
    height: 240px;
    left: -150px;
    bottom: -115px;
    background: rgba(255, 255, 255, .07);
}

.auth-welcome > * {
    position: relative;
    z-index: 1;
}

.auth-welcome__eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
}

.auth-welcome h1 {
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(35px, 3.3vw, 51px);
    line-height: 1.08;
}

.auth-welcome h1 em {
    color: #caffdd;
    font-style: normal;
}

.auth-welcome > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
}

.auth-benefits {
    display: grid;
    gap: 18px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
    align-items: center;
}

.auth-benefits li > span {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #087747;
    background: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.auth-benefits strong {
    font-size: 14px;
}

.auth-benefits small {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.auth-welcome .auth-welcome__help {
    margin-top: 42px;
    font-size: 12px;
}

.auth-welcome__help a {
    color: #fff;
    font-weight: 850;
    text-decoration: underline;
}

.auth-panel {
    align-self: center;
    padding: 48px clamp(35px, 5vw, 72px);
}

.auth-panel__head {
    margin-bottom: 28px;
}

.auth-panel__head .eyebrow {
    margin-bottom: 7px;
}

.auth-panel__head h2 {
    margin-bottom: 8px;
    color: var(--tt-navy);
    font-size: 34px;
}

.auth-panel__head > p:last-child {
    margin: 0;
    color: var(--tt-text-muted);
    font-size: 14px;
}

.auth-form .field {
    margin-bottom: 17px;
}

.auth-form .field > small {
    display: block;
    margin-top: 6px;
    color: var(--tt-text-muted);
    font-size: 11px;
}

.auth-input {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: #f8fafb;
    border: 1px solid #d7e0e5;
    border-radius: 13px;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.auth-input:focus-within {
    background: #fff;
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 4px rgba(13, 147, 72, .1);
}

.auth-input .icon,
.auth-input__symbol {
    flex: 0 0 20px;
    color: #71849a;
}

.auth-input__symbol {
    text-align: center;
    font-weight: 850;
}

.auth-input input {
    min-width: 0;
    min-height: 50px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.auth-input input:focus {
    border: 0;
    box-shadow: none;
}

/* Accessible show/hide control shared by every password form. */
.password-control {
    position: relative;
}

.password-control:not(.auth-input) {
    display: block;
    width: 100%;
}

.password-control > input {
    width: 100%;
    padding-right: 46px;
}

.auth-input.password-control > input {
    flex: 1 1 auto;
    padding-right: 38px;
}

.password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 7px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #71849a;
    background: transparent;
    border: 0;
    border-radius: 9px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .18s, background .18s, box-shadow .18s;
}

.password-toggle:hover,
.password-toggle.is-visible {
    color: var(--tt-primary-dark);
    background: rgba(13, 147, 72, .08);
}

.password-toggle:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(13, 147, 72, .18);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle__slash {
    display: none;
}

.password-toggle.is-visible .password-toggle__slash {
    display: block;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 2px 0 19px;
    color: #526479;
    font-size: 12px;
    cursor: pointer;
}

.auth-remember input {
    width: 17px;
    height: 17px;
    accent-color: var(--tt-primary);
}

.auth-submit {
    width: 100%;
    min-height: 52px;
    gap: 12px;
    border-radius: 13px;
}

.auth-submit .icon {
    width: 17px;
    transition: transform .18s;
}

.auth-submit:hover .icon {
    transform: translateX(3px);
}

.auth-switch {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    color: var(--tt-text-muted);
    font-size: 13px;
}

.auth-switch a {
    color: var(--tt-primary-dark);
    font-weight: 850;
}

.auth-privacy,
.auth-consent {
    color: #7b8897;
    font-size: 10px;
    line-height: 1.55;
}

.auth-privacy {
    margin: 27px 0 0;
    padding-top: 18px;
    border-top: 1px solid #edf0f2;
    text-align: center;
}

.auth-consent {
    margin: 3px 0 18px;
}

.auth-password-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-page--register .auth-panel {
    padding-top: 36px;
    padding-bottom: 36px;
}

.admin-user-list {
    display: grid;
    gap: 10px;
}

.customer-filters {
    grid-template-columns: minmax(260px, 1fr) minmax(190px, 260px) auto;
    align-items: end;
}

.customer-admin-list {
    display: grid;
    gap: 10px;
}

.customer-admin-row {
    display: grid;
    grid-template-columns: 46px minmax(230px, 1.5fr) minmax(80px, .45fr) minmax(125px, .65fr) minmax(175px, .9fr);
    gap: 16px;
    align-items: center;
    padding: 15px 17px;
}

.customer-admin-row > span:not(.worker-avatar),
.customer-admin-row__identity {
    display: grid;
    gap: 4px;
}

.customer-admin-row small {
    color: var(--tt-text-muted);
    font-size: 11px;
}

.customer-admin-row .worker-avatar {
    overflow: hidden;
}

.customer-admin-row .worker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    gap: 22px;
    align-items: start;
}

.customer-detail-layout > aside {
    position: sticky;
    top: 104px;
}

.customer-profile-summary__head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.customer-profile-summary__head .account-avatar-preview {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    font-size: 27px;
}

.customer-profile-summary__head h2,
.customer-profile-summary__head p {
    margin: 0 0 4px;
}

.customer-care-form hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid var(--tt-border);
}

.customer-interactions p {
    margin: 6px 0 0;
    color: var(--tt-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.admin-user-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(100px, auto) minmax(145px, auto);
    gap: 15px;
    align-items: center;
    padding: 14px 16px;
}

.admin-user-row__avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--tt-secondary), var(--tt-primary));
    border-radius: 50%;
    font-weight: 900;
}

.admin-user-row__identity strong,
.admin-user-row__identity small {
    display: block;
}

.admin-user-row__identity strong {
    color: var(--tt-navy);
    font-size: 14px;
}

.admin-user-row__identity small {
    margin-top: 3px;
    color: var(--tt-text-muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.admin-user-row__roles,
.admin-user-row__action {
    font-size: 11px;
}

.admin-user-row__action {
    justify-self: end;
}

.admin-role-revoke {
    color: var(--tt-danger);
}

@media (max-width: 699.98px) {
    .admin-user-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .admin-user-row__roles {
        grid-column: 2;
    }

    .admin-user-row__action {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .admin-user-row__action .btn-tt,
    .admin-user-row__action form {
        width: 100%;
    }
}

@media (max-width: 899.98px) {
    .auth-page {
        grid-template-columns: minmax(0, 1fr);
        max-width: 650px;
        min-height: 0;
    }

    .auth-welcome {
        padding: 36px 40px;
    }

    .auth-welcome h1 {
        font-size: 36px;
    }

    .auth-benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 27px;
    }

    .auth-benefits li {
        grid-template-columns: 32px 1fr;
    }

    .auth-benefits li > span {
        width: 32px;
        height: 32px;
    }

    .auth-benefits small,
    .auth-welcome__help {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .auth-page {
        width: calc(100% + 16px);
        margin: -8px -8px 22px;
        border-radius: 20px;
    }

    .auth-welcome {
        padding: 30px 24px 27px;
    }

    .auth-welcome__eyebrow {
        margin-bottom: 10px;
        font-size: 9px;
    }

    .auth-welcome h1 {
        margin-bottom: 10px;
        font-size: 31px;
    }

    .auth-welcome > p {
        font-size: 13px;
    }

    .auth-benefits {
        display: none;
    }

    .auth-panel,
    .auth-page--register .auth-panel {
        padding: 30px 22px 34px;
    }

    .auth-panel__head {
        margin-bottom: 23px;
    }

    .auth-panel__head h2 {
        font-size: 28px;
    }

    .auth-password-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-switch {
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .brand__full-logo {
        width: 190px;
    }
}

@media (max-width: 767.98px) {
    .customer-filters,
    .customer-detail-layout {
        grid-template-columns: 1fr;
    }

    .customer-admin-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .customer-admin-row > span:nth-child(n+3) {
        grid-column: 2;
    }

    .customer-detail-layout > aside {
        position: static;
    }

    .brand--image {
        max-width: calc(100% - 58px);
    }

    .brand__full-logo {
        width: 168px;
        max-width: 100%;
    }

    .footer-brand .brand__full-logo {
        width: 180px;
    }
}

/* Mobile refinement: compact header account, focused hero and lighter footer. */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px 16px;
}

@media (max-width: 767.98px) {
    .site-header--authenticated .brand--image {
        max-width: calc(100% - 104px);
    }

    .site-header--authenticated .brand__full-logo {
        width: 146px;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 7px;
    }

    .notification-link,
    .account-menu > .header-login {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border: 1px solid #d8e9df;
        box-shadow: none;
    }

    .notification-link {
        color: var(--tt-primary-dark);
        background: #f2faf5;
    }

    .account-menu {
        flex: 0 0 40px;
    }

    .account-menu > .header-login {
        display: grid;
        place-items: center;
        padding: 0;
        color: var(--tt-primary-dark);
        background: #edf8f2;
    }

    .account-menu > .header-login .icon {
        width: 19px;
        height: 19px;
    }

    .account-menu[open] > .header-login {
        color: #fff;
        background: linear-gradient(135deg, #16a653, #07843f);
        border-color: transparent;
        box-shadow: 0 7px 18px rgba(13, 147, 72, .22);
    }

    .account-menu__panel {
        top: 70px;
        right: 10px;
        width: min(310px, calc(100vw - 20px));
        max-height: calc(100dvh - 166px);
        overflow-y: auto;
        border-radius: 18px;
    }

    .account-menu__panel::before {
        right: 16px;
    }

    .home-hero {
        padding-bottom: 20px;
        background-image: none;
        background-color: #f6fbfe;
    }

    .home-hero::before {
        background: linear-gradient(180deg, #f6fbfe 0%, #f2faf6 100%);
    }

    .home-hero__content {
        padding-top: 24px;
    }

    .home-eyebrow {
        display: inline-flex;
        padding: 5px 9px;
        color: var(--tt-primary-dark);
        background: rgba(255, 255, 255, .88);
        border: 1px solid rgba(13, 147, 72, .14);
        border-radius: 999px;
        backdrop-filter: blur(5px);
    }

    .home-hero h1 {
        max-width: 340px;
        font-size: clamp(30px, 9.2vw, 35px);
        line-height: 1.03;
    }

    .home-hero__lead {
        margin: 9px 0 15px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-task {
        box-shadow: 0 10px 26px rgba(20, 55, 90, .09);
    }

    .hero-task__submit {
        min-height: 48px;
    }

    .hero-trust {
        gap: 8px;
        margin-top: 14px;
    }

    .hero-trust > div {
        min-height: 56px;
        gap: 8px;
        padding: 7px 8px;
        background: rgba(255, 255, 255, .68);
        border: 1px solid rgba(211, 228, 219, .72);
        border-radius: 12px;
    }

    .hero-trust > div:first-child,
    .hero-trust > div:last-child {
        padding: 7px 8px;
        border: 1px solid rgba(211, 228, 219, .72);
    }

    .hero-trust span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .footer {
        margin-top: 20px;
        padding-top: 24px;
        padding-bottom: 104px;
    }

    .footer-grid {
        gap: 20px 16px;
    }

    .footer-brand {
        padding-bottom: 3px;
        border-bottom: 1px solid #edf1f3;
    }

    .footer-brand .brand__full-logo {
        width: 154px;
    }

    .footer h3 {
        margin-bottom: 7px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .footer-bottom {
        gap: 10px;
        margin-top: 20px;
        padding-top: 15px;
        text-align: left;
    }

    .footer-legal {
        justify-content: flex-start;
        gap: 5px 13px;
    }
}

@media (max-width: 389.98px) {
    .site-header--authenticated .brand__full-logo {
        width: 132px;
    }

    .home-hero__content {
        padding-top: 20px;
    }

    .hero-task {
        grid-template-columns: 22px minmax(0, 1fr) 38px 38px;
    }

    .hero-trust p {
        line-height: 1.25;
    }
}

/* Personal avatar and password management. */
.header-avatar {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
}

.account-avatar-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 18px 0;
    padding: 20px;
}

.account-avatar-card h2,
.account-avatar-card p {
    margin: 0 0 6px;
}

.account-avatar-preview {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--tt-secondary), var(--tt-primary));
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(15, 73, 54, .16);
    font-size: 34px;
    font-weight: 900;
}

.account-avatar-preview img,
.admin-user-row__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-avatar-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 11px;
}

.account-avatar-form input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.admin-user-row__avatar {
    overflow: hidden;
}

.admin-password-reset {
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px solid #edf0f2;
}

.admin-password-reset summary {
    width: max-content;
    color: var(--tt-primary-dark);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.admin-password-reset form {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 12px;
}

.admin-password-reset .field {
    margin: 0;
}

@media (max-width: 767.98px) {
    .header-login {
        display: grid;
        place-items: center;
        line-height: 1;
        overflow: hidden;
    }

    .header-login > .icon {
        width: 19px;
        height: 19px;
        transform: translateY(1px);
    }

    .account-menu > .header-login .header-avatar {
        width: 36px;
        height: 36px;
        border: 0;
        transform: none;
    }

    .account-avatar-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .account-avatar-preview {
        width: 70px;
        height: 70px;
        font-size: 27px;
    }

    .account-avatar-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .account-avatar-form .btn-tt {
        justify-content: center;
    }

    .admin-password-reset form {
        grid-template-columns: 1fr;
    }
}
/* Animated mobile hero artwork: content and CTA remain first. */
@media (max-width: 767.98px) {
    .hero-mobile-visual { position:relative;display:block;height:118px;margin:13px 0 0;overflow:hidden;background:#deeee6;border:1px solid rgba(20,129,72,.14);border-radius:17px;box-shadow:0 10px 24px rgba(16,71,52,.1);isolation:isolate; }
    .hero-mobile-visual::after { content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,48,37,.7) 0%,rgba(8,48,37,.2) 51%,transparent 76%);pointer-events:none; }
    .hero-mobile-visual img { width:100%;height:100%;display:block;object-fit:cover;object-position:68% 37%;animation:tt-hero-drift 9s ease-in-out infinite alternate;will-change:transform; }
    .hero-mobile-visual figcaption { position:absolute;z-index:3;left:14px;bottom:13px;display:grid;grid-template-columns:9px 1fr;column-gap:8px;color:#fff;text-shadow:0 1px 8px rgba(0,24,17,.3); }
    .hero-mobile-visual figcaption strong,.hero-mobile-visual figcaption small { grid-column:2;display:block; }
    .hero-mobile-visual figcaption strong { font-size:13px; }
    .hero-mobile-visual figcaption small { margin-top:2px;color:rgba(255,255,255,.83);font-size:9px; }
    .hero-mobile-visual__pulse { grid-row:1/3;align-self:center;width:8px;height:8px;background:#60e890;border:2px solid rgba(255,255,255,.85);border-radius:50%;animation:tt-status-pulse 2s ease-out infinite; }
    .hero-mobile-visual__shine { position:absolute;z-index:2;top:-30%;bottom:-30%;left:-35%;width:22%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transform:rotate(13deg);animation:tt-hero-shine 6s ease-in-out infinite;pointer-events:none; }
}

@keyframes tt-hero-drift { from { transform:scale(1.02) translate3d(-1%,0,0); } to { transform:scale(1.08) translate3d(1.5%,-1%,0); } }
@keyframes tt-hero-shine { 0%,55% { left:-35%;opacity:0; } 65% { opacity:1; } 86%,100% { left:120%;opacity:0; } }
@keyframes tt-status-pulse { 0% { box-shadow:0 0 0 0 rgba(96,232,144,.65); } 70%,100% { box-shadow:0 0 0 8px rgba(96,232,144,0); } }

.source-badge { display:inline-flex;margin-left:6px;padding:3px 7px;color:#08783d;background:#eaf8f0;border-radius:999px;font-size:9px;font-weight:850;vertical-align:middle; }
.hotline-entry { max-width:900px; }
.hotline-entry__section + .hotline-entry__section { margin-top:26px;padding-top:24px;border-top:1px solid #e7ecef; }
.hotline-entry__section h2 { margin:0 0 16px;color:var(--tt-navy);font-size:18px; }
.hotline-entry__submit { width:100%;justify-content:center;margin-top:24px; }
.notification-admin--unread { border-color:#a9dcc0;background:linear-gradient(100deg,#f3fcf7,#fff);box-shadow:0 8px 24px rgba(13,126,65,.08); }
.channel-notice { display:flex;align-items:flex-start;gap:9px;padding:14px 16px;color:#6d5424;background:#fff9e8;border:1px solid #eddba8;border-radius:14px;font-size:12px; }.channel-notice strong{flex:0 0 auto;color:#6a4a0f}.notification-admin--unavailable{border-style:dashed;background:#fafbfb}.channel-unavailable-text{color:#75694f}
@media(max-width:767px){.channel-notice{display:grid}.channel-notice strong{font-size:13px}}

/* Camera hand-off from home to booking. */
[data-booking-camera].is-uploading { pointer-events:none;opacity:.68; }
[data-booking-camera].is-uploading::after { content:"Đang lưu ảnh…";position:fixed;z-index:300;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 15px;color:#fff;background:rgba(7,26,59,.92);border-radius:999px;box-shadow:0 8px 24px rgba(7,26,59,.22);font-size:12px;font-weight:800;white-space:nowrap; }
.booking-draft-media { display:grid;grid-template-columns:76px minmax(0,1fr) 38px;gap:12px;align-items:center;margin:14px 0;padding:10px;background:#effaf4;border:1px solid #bfe2cf;border-radius:14px; }
.booking-draft-media img { width:76px;height:66px;display:block;object-fit:cover;border-radius:10px; }
.booking-draft-media div { min-width:0;display:grid;gap:3px; }
.booking-draft-media strong { color:var(--tt-navy);font-size:13px; }
.booking-draft-media small { overflow:hidden;color:var(--tt-text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap; }
.booking-draft-media button { width:34px;height:34px;padding:0;color:#6c7a87;background:#fff;border:1px solid #d8e3de;border-radius:50%;font-size:22px;line-height:1;cursor:pointer; }
.booking-draft-media button:hover,.booking-draft-media button:focus-visible { color:var(--tt-danger);border-color:#e3b9b9;outline:0; }

/* Service catalogue management and shared service imagery. */
.service-row__image { width:72px;height:58px;flex:0 0 72px;display:block;object-fit:cover;border-radius:13px;background:#edf3f0; }
.service-detail-image { width:100%;aspect-ratio:16/9;display:block;margin:18px 0;object-fit:cover;border:1px solid var(--tt-line);border-radius:var(--tt-radius-lg);box-shadow:var(--tt-shadow-sm); }
.service-admin-heading { display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px; }
.service-admin-heading h1 { margin-bottom:5px;color:var(--tt-navy); }
.service-admin-heading p { margin-bottom:0; }
.service-admin-heading__actions { display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px; }
.service-admin-list { display:grid;gap:12px; }
.service-admin-row { display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px; }
.service-admin-row__image,.service-admin-row__placeholder { width:104px;height:82px;display:block;border-radius:13px; }
.service-admin-row__image { object-fit:cover;background:#edf3f0; }
.service-admin-row__placeholder { display:grid;place-items:center;color:var(--tt-primary);background:var(--tt-surface-green); }
.service-admin-row__body { min-width:0; }
.service-admin-row__body>div { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px; }
.service-admin-row__body h2 { margin:0 0 4px;color:var(--tt-navy);font-size:18px; }
.service-admin-row__body p { margin:0 0 5px;color:var(--tt-text-muted);font-size:13px; }
.service-admin-row__body small { color:#7a8999;font-size:11px; }
.status-badge--blue { color:#155ca5;background:#edf5ff; }
.service-admin-row__price { min-width:138px;display:grid;justify-items:end;gap:10px; }
.service-admin-row__price strong { color:var(--tt-accent);font-size:14px; }
.service-admin-form { display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;padding:24px; }
.service-admin-form__main { min-width:0; }
.service-price-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.service-image-editor { align-self:start;padding:18px;background:#f7faf8;border:1px solid #e0e9e4;border-radius:16px; }
.service-image-editor h2 { margin:0 0 5px;color:var(--tt-navy);font-size:18px; }
.service-image-editor>p { margin:0 0 14px;font-size:12px; }
.service-image-preview { aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;margin-bottom:12px;color:var(--tt-primary-dark);background:#eaf5ef;border:1px dashed #aed0be;border-radius:14px; }
.service-image-preview img { width:100%;height:100%;display:block;object-fit:cover; }
.service-image-preview span { display:grid;justify-items:center;gap:7px;font-size:12px; }
.service-image-picker { width:100%; }
.service-image-editor>small { display:block;margin-top:9px;font-size:10px; }
.service-image-remove { display:flex;align-items:center;gap:7px;margin-top:14px;color:var(--tt-danger);font-size:12px;font-weight:700; }
.service-admin-form__actions { grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid var(--tt-line); }
.service-delete-form { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:18px 20px;background:#fff8f7;border:1px solid #efcfca;border-radius:16px; }
.service-delete-form strong { color:#8e332d; }
.service-delete-form p { margin:3px 0 0;color:#87645f;font-size:12px; }
.btn-tt--danger { color:#fff;background:#b4473e;border-color:#b4473e; }
.btn-tt--danger:hover { color:#fff;background:#96372f; }

@media(max-width:767.98px){
    .service-row__image{width:58px;height:54px;flex-basis:58px}.service-admin-heading{display:grid;align-items:start}.service-admin-heading__actions{display:grid;grid-template-columns:1fr 1fr}.service-admin-heading__actions .btn-tt{padding-inline:10px;text-align:center}.service-admin-row{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px}.service-admin-row__image,.service-admin-row__placeholder{width:72px;height:68px}.service-admin-row__body h2{font-size:16px}.service-admin-row__body p{display:none}.service-admin-row__price{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;justify-items:start;padding-top:10px;border-top:1px solid #edf1ef}.service-admin-form{grid-template-columns:1fr;padding:16px}.service-price-grid{grid-template-columns:1fr}.service-image-editor{grid-row:2}.service-admin-form__actions{justify-content:stretch}.service-admin-form__actions>*{flex:1}.service-delete-form{display:grid}.service-delete-form .btn-tt{width:100%}}

/* Legal pages */
.legal-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 54px);
    background: linear-gradient(125deg, #edf9f2 0%, #f7fbff 72%);
    border: 1px solid #dcebe3;
    border-radius: var(--tt-radius-xl);
}
.legal-hero::after { content:"";position:absolute;right:-55px;bottom:-75px;width:230px;height:230px;border:42px solid rgba(13,147,72,.07);border-radius:50%;pointer-events:none; }
.legal-hero--privacy::after { border-color:rgba(22,104,199,.07); }
.legal-breadcrumb { position:relative;z-index:1;display:flex;gap:8px;margin-bottom:24px;color:var(--tt-text-muted);font-size:12px; }
.legal-breadcrumb a { color:var(--tt-primary-dark);font-weight:750; }
.legal-hero h1 { position:relative;z-index:1;margin:0 0 12px;color:var(--tt-navy);font-size:clamp(32px,5vw,52px);font-weight:900; }
.legal-hero__lead { position:relative;z-index:1;max-width:720px;margin:0;color:#40536b;font-size:clamp(15px,1.7vw,18px); }
.legal-updated { position:relative;z-index:1;display:flex;align-items:center;gap:7px;margin:20px 0 0;color:var(--tt-text-muted);font-size:12px; }
.legal-updated span { color:var(--tt-primary);font-size:9px; }
.legal-layout { display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;max-width:1100px;margin-inline:auto; }
.legal-toc { position:sticky;top:104px;padding:20px;box-shadow:none; }
.legal-toc>strong { display:block;margin-bottom:12px;color:var(--tt-navy);font-size:14px; }
.legal-toc ol { display:grid;gap:2px;margin:0;padding:0;list-style:none;counter-reset:legal-toc; }
.legal-toc li { counter-increment:legal-toc; }
.legal-toc a { display:grid;grid-template-columns:24px 1fr;gap:5px;padding:7px 6px;color:var(--tt-text-muted);border-radius:8px;font-size:12px;line-height:1.35; }
.legal-toc a::before { content:counter(legal-toc,decimal-leading-zero);color:#8da09a;font-size:10px;font-weight:800; }
.legal-toc a:hover,.legal-toc a:focus-visible { color:var(--tt-primary-dark);background:var(--tt-surface-green);outline:0; }
.legal-document { padding:clamp(22px,4vw,48px); }
.legal-document section { position:relative;padding-top:8px;scroll-margin-top:105px; }
.legal-document section+section { margin-top:32px;padding-top:34px;border-top:1px solid #e5ece8; }
.legal-section-number { display:block;margin-bottom:7px;color:var(--tt-primary);font-size:11px;font-weight:900;letter-spacing:.12em; }
.legal-document h2 { margin:0 0 14px;color:var(--tt-navy);font-size:clamp(21px,3vw,27px);font-weight:850; }
.legal-document h3 { margin:22px 0 8px;color:#1e3855;font-size:16px; }
.legal-document p { margin:0 0 13px;color:#465970; }
.legal-document ul { display:grid;gap:8px;margin:10px 0 16px;padding-left:21px;color:#465970; }
.legal-document li::marker { color:var(--tt-primary); }
.legal-document section a { color:var(--tt-primary-dark);font-weight:750;text-decoration:underline;text-underline-offset:3px; }
.legal-summary { margin-bottom:34px;padding:18px 20px;background:#f1faf5;border-left:4px solid var(--tt-primary);border-radius:0 13px 13px 0; }
.legal-summary strong { display:block;margin-bottom:4px;color:var(--tt-navy); }
.legal-summary p { margin:0;font-size:14px; }
.legal-data-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px; }
.legal-data-grid>div { padding:16px;background:#f8fafb;border:1px solid #e4eaee;border-radius:13px; }
.legal-data-grid strong { color:#173654;font-size:14px; }
.legal-data-grid p { margin:5px 0 0;font-size:13px; }
.legal-contact { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0;padding:20px;background:linear-gradient(110deg,#effaf4,#f3f8fd);border:1px solid #dceae2;border-radius:16px; }
.legal-contact strong { color:var(--tt-navy); }
.legal-contact p { margin:4px 0 0;font-size:13px; }
.legal-contact .btn-tt { flex:0 0 auto; }
.legal-reference { margin-top:38px;padding-top:24px;border-top:1px dashed #cad7d0;color:var(--tt-text-muted);font-size:12px; }
.legal-reference>strong { color:var(--tt-navy);font-size:13px; }
.legal-reference p { margin:5px 0 10px;font-size:12px; }
.legal-reference>div { display:flex;flex-wrap:wrap;gap:8px 16px; }
.legal-reference a { color:var(--tt-primary-dark);font-weight:750; }
.footer-legal a:hover,.footer-legal a:focus-visible { color:var(--tt-primary-dark);text-decoration:underline;text-underline-offset:3px; }

@media(max-width:767.98px){
    .legal-hero{margin-inline:-4px;margin-bottom:18px;padding:24px 20px;border-radius:18px}.legal-breadcrumb{margin-bottom:18px}.legal-hero h1{font-size:32px}.legal-hero__lead{font-size:14px}.legal-layout{grid-template-columns:1fr;gap:12px}.legal-toc{position:static;padding:16px}.legal-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}.legal-toc a{padding:6px 3px;font-size:11px}.legal-document{padding:21px 17px}.legal-document section+section{margin-top:26px;padding-top:28px}.legal-summary{margin-bottom:27px;padding:16px}.legal-data-grid{grid-template-columns:1fr}.legal-contact{display:grid;padding:17px}.legal-contact .btn-tt{width:100%}.legal-reference>div{display:grid}}
