:root {
    --ink: #232b2b;
    --green: #397653;
    --mint: #bce1ca;
    --paper: #f7f8f3;
    --white: #fff;
    --muted: #69746f;
    --line: #e1e6df;
    --soft: #edf3ed;
    --radius: 16px;
    --sidebar: 232px;
    font-family:
        Inter,
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    font-size: 15px;
    line-height: 1.55;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
a {
    color: var(--green);
    text-underline-offset: 4px;
}
a:hover {
    text-decoration-thickness: 2px;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.55;
}
[hidden] {
    display: none !important;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.045em;
    max-width: 850px;
}
h2 {
    font-size: 1.28rem;
    line-height: 1.3;
    font-weight: 650;
    letter-spacing: -0.025em;
}
h3 {
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.4;
}
p {
    color: var(--muted);
}
small {
    font-size: 0.8rem;
}
.icon {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}
button,
.button {
    border: 1px solid transparent;
    background: var(--green);
    color: white;
    border-radius: 8px;
    padding: 11px 17px;
    min-height: 44px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1.35;
    transition:
        background 0.15s,
        border-color 0.15s;
}
button:hover,
.button:hover {
    background: #2c6042;
}
.quiet {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.quiet:hover {
    background: var(--soft);
    border-color: #b3c6b5;
}
.selected {
    background: var(--ink);
    color: white;
}
.selected:hover {
    background: #35403b;
}
:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}
.skip {
    position: absolute;
    top: -100px;
    left: 15px;
    padding: 10px;
    background: white;
    z-index: 10;
}
.skip:focus {
    top: 10px;
}
header {
    height: 90px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(28px, calc((100vw - 1200px) / 2));
    gap: 24px;
}
header > a {
    display: flex;
    align-items: center;
}
header img {
    width: 56px;
    height: auto;
}
header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.87rem;
}
header nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 550;
}
header nav a[aria-current="page"] {
    color: var(--green);
}
header nav a.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 17px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--ink);
    font-weight: 650;
}
header nav a.nav-login:hover {
    background: var(--green);
}
header nav button {
    padding: 8px 13px;
    min-height: 38px;
}
main {
    max-width: 1200px;
    margin: auto;
    padding: 46px 28px 64px;
    min-height: calc(100vh - 164px);
}
#intro {
    margin-bottom: 32px;
}
#intro > p:last-child {
    margin-top: 14px;
    font-size: 1.03rem;
    max-width: 650px;
}
.eyebrow {
    font-size: 0.69rem;
    letter-spacing: 0.13em;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
#content,
#account {
    min-width: 0;
}
#side-panel {
    display: none;
    min-width: 0;
}
body[data-view="booking"] .page-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
}
body[data-view="booking"] #side-panel {
    display: block;
    position: sticky;
    top: 24px;
}
body:not(.authenticated):is([data-view="manage"], [data-view="account"])
    .page-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
}
body:not(.authenticated):is([data-view="manage"], [data-view="account"])
    #side-panel {
    display: block;
}
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: var(--white);
    margin-bottom: 22px;
}
.card > h2 {
    margin-bottom: 22px;
}
.card > p {
    margin-top: 12px;
}
.card > h2 + p {
    margin-top: -8px;
}
.card p + p {
    margin-top: 10px;
}
footer {
    padding: 24px 28px;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}
#notice:empty {
    display: none;
}
#notice {
    padding: 14px 18px;
    border: 1px solid #c4dbcb;
    background: #edf6ed;
    border-radius: 10px;
    margin-bottom: 24px;
    color: #285b3c;
}
#notice.error {
    border-color: #eccabf;
    background: #fff1eb;
    color: #963f29;
}
form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 18px;
    margin: 22px 0;
}
label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4d5b54;
    flex: 1 1 200px;
    min-width: 0;
}
input,
select {
    width: 100%;
    min-width: 0;
    border: 1px solid #d2dbd2;
    background: #fff;
    color: var(--ink);
    padding: 11px 12px;
    border-radius: 8px;
    min-height: 46px;
    outline: none;
    font-weight: 450;
    font-size: 0.93rem;
}
input:focus,
select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px #39765318;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    appearance: none;
    min-height: 46px;
}
form > button {
    flex-shrink: 0;
    min-height: 46px;
}
details {
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
    margin-top: 22px;
}
summary {
    cursor: pointer;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--ink);
    list-style-position: inside;
}
summary:hover {
    color: var(--green);
}
details[open] > summary {
    margin-bottom: 20px;
}
.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}
.row > label {
    flex: 1 1 200px;
}
#identity {
    padding: 28px;
}
#identity h2 {
    font-size: 1.45rem;
    max-width: 270px;
}
#identity > p:not(.eyebrow) {
    font-size: 0.88rem;
    line-height: 1.7;
}
#identity form {
    display: grid;
    grid-template-columns: 1fr;
    margin: 22px 0 0;
    gap: 17px;
}
#identity form button {
    width: 100%;
}
#identity details {
    margin-top: 24px;
}
#identity input[name="code"] {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
}
#identity .eyebrow {
    margin-top: 0;
}
.welcome-panel {
    padding: 26px 44px 24px 0;
    max-width: 590px;
}
.welcome-panel > h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    max-width: 450px;
    line-height: 1.18;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}
.welcome-panel > p:not(.eyebrow) {
    font-size: 1rem;
    max-width: 460px;
}
.welcome-feature {
    display: flex;
    gap: 18px;
    align-items: start;
    margin-top: 30px;
}
.welcome-feature > .icon {
    background: var(--mint);
    color: var(--green);
    box-sizing: content-box;
    padding: 12px;
    border-radius: 12px;
}
.welcome-feature h3 {
    margin: 1px 0 4px;
}
.welcome-feature p {
    font-size: 0.87rem;
}
#business-sidebar {
    width: var(--sidebar);
    background: var(--ink);
    color: white;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 5;
    padding: 27px 18px;
    display: flex;
    flex-direction: column;
}
.sidebar-brand {
    padding: 0 12px 35px;
    display: block;
}
.sidebar-brand img {
    width: 72px;
    height: auto;
}
.sidebar-caption {
    font-size: 0.62rem;
    color: #9ea9a3;
    letter-spacing: 0.15em;
    margin: 8px 16px 14px;
}
.sidebar-note {
    margin: auto 15px 7px;
    padding-top: 28px;
    border-top: 1px solid #ffffff16;
    font-size: 0.85rem;
    color: var(--mint);
}
.sidebar-note small {
    display: block;
    color: #a2aea6;
    margin-top: 5px;
}
.status-dot {
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
#business-nav {
    display: grid;
    gap: 7px;
}
#business-nav button {
    justify-content: start;
    background: transparent;
    color: #b8c2bb;
    border: 0;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 0.87rem;
    gap: 14px;
}
#business-nav button:hover {
    background: #ffffff09;
    color: white;
}
#business-nav button.selected {
    background: var(--mint);
    color: var(--ink);
    font-weight: 650;
}
#business-nav .icon {
    width: 20px;
    height: 20px;
}
.business header {
    margin-left: var(--sidebar);
    height: 76px;
    padding: 0 38px;
    justify-content: flex-end;
}
.business header > a {
    display: none;
}
.business main {
    margin-left: var(--sidebar);
    max-width: 1480px;
    padding: 38px;
}
.business h1 {
    font-size: 2.15rem;
}
.business footer {
    margin-left: var(--sidebar);
}
.business #intro {
    margin-bottom: 30px;
}
.business #intro > p:last-child {
    font-size: 0.94rem;
}
.venue-context {
    display: flex;
    gap: 25px;
    align-items: center;
    background: transparent;
    padding: 0 0 26px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin-bottom: 26px;
}
.venue-context .row {
    flex: 1;
    max-width: 650px;
}
.venue-context details {
    margin: 18px 0 0 auto;
    padding: 0;
    border: 0;
    max-width: 450px;
}
.venue-context details[open] {
    width: 100%;
}
.venue-context:has(details[open]) {
    flex-wrap: wrap;
}
.venue-context details[open] form {
    margin-top: 16px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}
.section-header > a {
    font-size: 0.78rem;
    font-weight: 550;
    flex-shrink: 0;
}
.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}
.metric {
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.metric > span {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}
.metric strong {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 600;
}
.metric.attention strong {
    color: #906128;
}
.agenda-day {
    text-transform: none;
    font-size: 0.85rem;
}
.empty-state {
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed #d2dbd2;
    border-radius: 12px;
    margin-top: 25px;
}
.empty-state > .icon {
    width: 38px;
    height: 38px;
    color: var(--green);
    margin-bottom: 15px;
}
.empty-state h3 {
    font-size: 1rem;
    margin-bottom: 9px;
}
.empty-state p {
    font-size: 0.86rem;
    max-width: 430px;
    margin: 0 auto;
}
.booking {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    margin: 16px 0;
    background: white;
    position: relative;
    overflow-wrap: anywhere;
}
.booking h3 {
    font-size: 1.08rem;
    margin: 8px 0;
}
.booking p {
    font-size: 0.85rem;
    margin: 6px 0;
}
.booking .row {
    margin-top: 20px;
    gap: 9px;
    align-items: start;
}
.booking .row > details {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 1 1 150px;
}
.booking .row > details > summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 13px;
    min-height: 44px;
    line-height: 1.35;
    font-size: 0.83rem;
}
.booking .row > details[open] {
    flex-basis: 100%;
}
.booking .row > button {
    font-size: 0.83rem;
}
.booking-time {
    position: absolute;
    left: 22px;
    top: 24px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    padding-right: 20px;
    height: calc(100% - 48px);
    width: 85px;
}
.booking-time strong {
    font-size: 1.2rem;
    font-weight: 650;
}
.booking-time small {
    color: var(--muted);
}
.agenda-booking {
    padding-left: 128px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.67rem;
    font-weight: 650;
    border-radius: 5px;
    padding: 4px 8px;
    background: #edf5ee;
    color: #326445;
}
.badge:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.badge.pending {
    background: #faf1de;
    color: #85601b;
}
.booking[data-status="cancelled"] .badge,
.booking[data-status="rejected"] .badge {
    color: #8b4935;
    background: #f9ece7;
}
.booking[data-status="completed"] .badge,
.booking[data-status="no_show"] .badge {
    color: #68716b;
    background: #eff1ed;
}
.schedule-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 0.6fr auto;
    gap: 14px;
    align-items: end;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}
.schedule-row label {
    font-size: 0.72rem;
}
.schedule-row input,
.schedule-row select {
    font-size: 0.86rem;
    padding: 10px;
}
.schedule-row + .row,
.card > .row:last-child {
    margin-top: 24px;
}
body[data-view="account"] .metrics {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}
.account-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.account-filters button[aria-pressed="true"] {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.service-choices {
    display: grid;
    gap: 12px;
}
.service-choice {
    background: white;
    color: var(--ink);
    padding: 18px;
    border: 1px solid var(--line);
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
    border-radius: 10px;
    min-height: 86px;
}
.service-choice:hover {
    background: var(--soft);
    border-color: #9ebba4;
}
.service-choice[aria-pressed="true"] {
    background: #f0f6ef;
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green);
}
.service-description {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}
.service-description strong {
    font-size: 0.94rem;
    font-weight: 600;
}
.service-description small {
    color: var(--muted);
    font-weight: 450;
}
.service-price {
    font-size: 0.9rem;
    font-weight: 550;
}
.service-choice > .icon:first-child {
    background: var(--paper);
    box-sizing: content-box;
    padding: 10px;
    border-radius: 8px;
    color: var(--green);
}
.service-choice > .icon:last-child {
    width: 19px;
    height: 19px;
    visibility: hidden;
    color: var(--green);
}
.service-choice[aria-pressed="true"] > .icon:last-child {
    visibility: visible;
}
.step-label {
    margin-top: 35px !important;
    margin-bottom: 10px;
}
.availability-filters {
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}
.availability-filters > label {
    flex-basis: 160px;
}
.slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
    gap: 10px;
}
.slots > p {
    grid-column: 1/-1;
    padding: 24px 10px;
    font-size: 0.88rem;
    text-align: center;
}
.slot {
    border: 1px solid #d9e1d8;
    background: white;
    color: var(--ink);
    padding: 12px 7px;
    flex-direction: column;
    gap: 4px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    min-height: 72px;
}
.slot small {
    font-size: 0.66rem;
    font-weight: 450;
    color: var(--muted);
}
.slot:hover {
    background: var(--soft);
    border-color: var(--green);
}
.slot[aria-pressed="true"] {
    background: var(--green);
    border-color: var(--green);
    color: white;
}
.slot[aria-pressed="true"] small {
    color: #d2eadb;
}
.policy-note {
    padding-top: 20px;
    font-size: 0.78rem;
    border-top: 1px solid var(--line);
    margin-top: 24px !important;
    line-height: 1.6;
}
.reservation-summary {
    border: 1px solid var(--line);
    box-shadow: 0 8px 28px #232b2b08;
}
.reservation-summary > .eyebrow {
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    margin-bottom: 12px;
}
.reservation-summary > h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.summary-venue {
    font-size: 0.85rem;
}
.summary-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 22px 0;
    margin-top: 20px;
    border-block: 1px solid var(--line);
}
.summary-details strong {
    font-size: 1rem;
    font-weight: 600;
}
.summary-details span {
    color: var(--muted);
    font-size: 0.85rem;
}
.summary-placeholder {
    padding: 25px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.summary-placeholder > .icon {
    color: var(--green);
}
.summary-placeholder p {
    font-size: 0.85rem;
}
.subtle {
    font-size: 0.75rem;
    color: var(--muted);
}
.reservation-summary form {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 0;
}
.reservation-summary form button {
    width: 100%;
}
.confirmation {
    border-color: #b4d4bc;
}
.confirmation > .icon {
    box-sizing: content-box;
    padding: 14px;
    width: 30px;
    height: 30px;
    background: var(--mint);
    color: var(--green);
    border-radius: 50%;
    margin-bottom: 18px;
}
.confirmation p {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}
.confirmation .button {
    margin-top: 24px;
}
#account {
    scroll-margin-top: 20px;
}
.tabs {
    margin-bottom: 20px;
}
@media (min-width: 1550px) {
    .business main {
        margin-right: auto;
    }
    .business header {
        padding-right: 6vw;
    }
}
@media (max-width: 1100px) {
    :root {
        --sidebar: 205px;
    }
    .business main {
        padding: 30px 24px;
    }
    .business header {
        padding-inline: 24px;
    }
    .metric {
        padding: 17px;
    }
    .venue-context {
        gap: 16px;
    }
    .venue-context .row {
        gap: 12px;
    }
    .section-header {
        align-items: start;
    }
    .section-header > a {
        max-width: 150px;
    }
    .schedule-row {
        gap: 8px;
    }
    .sidebar-brand {
        padding-inline: 7px;
    }
    .sidebar-brand img {
        width: 72px;
    }
    body[data-view="booking"] .page-layout {
        gap: 20px;
        grid-template-columns: minmax(0, 1.5fr) minmax(285px, 1fr);
    }
    .card {
        padding: 23px;
    }
}
@media (max-width: 760px) {
    :root {
        font-size: 14px;
    }
    header {
        height: 76px;
        padding: 0 20px;
        gap: 15px;
    }
    header img {
        width: 48px;
    }
    header nav {
        gap: 16px;
        font-size: 0.76rem;
    }
    header nav button {
        min-height: 34px;
        padding: 6px 9px;
    }
    main {
        padding: 32px 18px 40px;
    }
    #intro {
        margin-bottom: 25px;
    }
    #intro > p:last-child {
        font-size: 0.95rem;
        margin-top: 12px;
    }
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    .card {
        padding: 22px;
        border-radius: 13px;
    }
    .page-layout,
    body[data-view="booking"] .page-layout,
    body:not(.authenticated):is([data-view="manage"], [data-view="account"])
        .page-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    body[data-view="booking"] #side-panel {
        position: static;
    }
    .welcome-panel {
        padding: 0 0 30px;
    }
    .welcome-panel > h2 {
        font-size: 2rem;
        max-width: 370px;
    }
    .welcome-feature {
        margin-top: 20px;
    }
    .welcome-feature > .icon {
        width: 21px;
        height: 21px;
        padding: 10px;
    }
    .welcome-panel > p {
        font-size: 0.92rem;
    }
    .business header {
        margin-left: 0;
        height: 68px;
        padding: 0 18px;
        justify-content: space-between;
    }
    .business header > a {
        display: flex;
    }
    .business header img {
        width: 44px;
    }
    .business main {
        margin: 0;
        padding: 27px 18px 40px;
        min-height: calc(100vh - 205px);
    }
    .business h1 {
        font-size: 1.9rem;
    }
    .business #intro {
        margin-bottom: 24px;
    }
    .business footer {
        margin: 0 0 83px;
        font-size: 0.72rem;
    }
    .business #business-sidebar {
        inset: auto 0 0;
        width: 100%;
        height: 76px;
        padding: 0 8px;
        background: var(--ink);
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(76px + env(safe-area-inset-bottom));
    }
    .sidebar-brand,
    .sidebar-caption,
    .sidebar-note {
        display: none;
    }
    #business-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        height: 76px;
        align-items: center;
    }
    #business-nav button {
        flex-direction: column;
        gap: 6px;
        padding: 10px 1px;
        border-radius: 8px;
        font-size: 0.65rem;
        min-height: 60px;
        justify-content: center;
        text-align: center;
        font-weight: 500;
    }
    #business-nav button.selected {
        background: #ffffff0e;
        color: var(--mint);
    }
    #business-nav .icon {
        width: 20px;
        height: 20px;
    }
    .venue-context {
        display: block;
        padding: 0 0 22px;
        margin-bottom: 22px;
    }
    .venue-context .row {
        gap: 12px;
    }
    .venue-context .row > label {
        flex-basis: calc(50% - 8px);
    }
    .venue-context details {
        margin-top: 16px;
        max-width: none;
    }
    .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 22px;
    }
    .metric {
        padding: 15px 17px;
        gap: 8px;
        border-radius: 10px;
    }
    .metric strong {
        font-size: 1.8rem;
    }
    .metric > span {
        font-size: 0.74rem;
    }
    .section-header {
        gap: 15px;
        align-items: center;
    }
    .section-header > a {
        font-size: 0.7rem;
        max-width: 100px;
        line-height: 1.5;
    }
    .section-header h2 {
        font-size: 1.15rem;
    }
    .schedule-row {
        grid-template-columns: 1.2fr 1fr;
        gap: 12px;
        padding: 20px 0;
    }
    .schedule-row label {
        font-size: 0.76rem;
    }
    .schedule-row button {
        grid-column: 1/-1;
        justify-self: end;
        min-height: 36px;
        padding: 6px 13px;
    }
    .schedule-row input,
    .schedule-row select {
        font-size: 0.9rem;
    }
    .booking {
        padding: 18px;
    }
    .agenda-booking {
        padding-top: 65px;
    }
    .booking-time {
        top: 17px;
        left: 18px;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 8px;
        align-items: baseline;
        border: 0;
        padding: 0;
    }
    .booking-time strong {
        font-size: 1.15rem;
    }
    .booking-time small:before {
        content: "– ";
    }
    .booking > .badge {
        position: relative;
    }
    .agenda-booking > .badge {
        position: absolute;
        right: 18px;
        top: 21px;
        font-size: 0.64rem;
    }
    .booking .row > button {
        flex: 1 1 auto;
    }
    .booking .row > details {
        flex: 1 1 100%;
    }
    .booking .row > details > summary {
        font-size: 0.84rem;
    }
    .booking .row form {
        flex-direction: column;
        align-items: stretch;
    }
    .booking .row form label {
        flex-basis: auto;
    }
    .booking p {
        font-size: 0.85rem;
    }
    form {
        gap: 16px;
    }
    form > label {
        flex-basis: 100%;
    }
    form > button {
        width: 100%;
    }
    .service-choice {
        padding: 14px;
        gap: 11px;
    }
    .service-description strong {
        font-size: 0.91rem;
    }
    .service-price {
        font-size: 0.84rem;
    }
    .service-choice > .icon:first-child {
        width: 20px;
        height: 20px;
        padding: 8px;
    }
    .service-choice > .icon:last-child {
        width: 16px;
        height: 16px;
    }
    .availability-filters {
        gap: 14px;
    }
    .availability-filters > label {
        flex-basis: calc(50% - 8px);
    }
    .slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .slot {
        min-height: 67px;
    }
    .policy-note {
        font-size: 0.79rem;
    }
    .empty-state {
        padding: 35px 15px;
    }
    .reservation-summary form label {
        flex-basis: auto;
    }
    .account-filters {
        gap: 6px;
    }
    .account-filters button {
        padding: 9px 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.agenda-day::first-letter {
    text-transform: uppercase;
}
.settings-form {
    display: block;
}
.settings-form fieldset {
    border: 0;
    border-bottom: 1px solid var(--line);
    margin: 0 0 28px;
    padding: 0 0 28px;
    min-width: 0;
}
.settings-form legend {
    font-size: 1rem;
    font-weight: 650;
    padding: 0;
    margin-bottom: 7px;
}
.settings-form fieldset > p {
    font-size: 0.84rem;
    margin-bottom: 22px;
}
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.agenda-date-form {
    justify-content: flex-start;
}
.agenda-date-form > label {
    flex: 0 1 230px;
}
.date-navigation {
    display: flex;
    gap: 8px;
    margin: 0 0 24px;
    flex-wrap: wrap;
}
.date-navigation button {
    font-size: 0.76rem;
    min-height: 38px;
    padding: 8px 12px;
}
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 65px;
    padding: 40px;
    background: var(--ink);
    color: white;
    border-radius: 18px;
    margin-bottom: 32px;
}
.home-hero h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.16;
    max-width: 360px;
}
.home-hero .eyebrow {
    color: var(--mint);
}
.home-hero p {
    color: #b8c6bc;
    margin-top: 22px;
    font-size: 0.95rem;
}
.home-hero .button {
    background: var(--mint);
    color: var(--ink);
    margin-top: 30px;
}
.home-steps {
    display: grid;
    gap: 28px;
    padding: 0;
    list-style: none;
    margin: 10px 0;
}
.home-steps li {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}
.home-steps li > span {
    font-size: 0.75rem;
    color: var(--mint);
    border: 1px solid #ffffff28;
    border-radius: 8px;
    padding: 10px;
}
.home-steps h3 {
    font-size: 1rem;
}
.home-steps p {
    font-size: 0.85rem;
    margin-top: 7px;
}
.demo-locals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.demo-local {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
}
.demo-local:hover {
    background: var(--soft);
    border-color: #b3c6b5;
}
.demo-local div {
    flex: 1;
}
.demo-local p {
    font-size: 0.8rem;
    margin-top: 6px;
}
.demo-local > .icon {
    color: var(--green);
}
@media (max-width: 760px) {
    .settings-grid,
    .home-hero,
    .demo-locals {
        grid-template-columns: 1fr;
    }
    .settings-grid {
        gap: 19px;
    }
    .agenda-date-form > label {
        flex-basis: 100%;
    }
    .date-navigation {
        flex-wrap: nowrap;
        gap: 6px;
    }
    .date-navigation button {
        font-size: 0.7rem;
        padding: 8px;
        flex: 1;
    }
    .home-hero {
        gap: 35px;
        padding: 28px 23px;
    }
    .home-hero h2 {
        font-size: 2.2rem;
    }
    .home-steps {
        border-top: 1px solid #ffffff20;
        padding-top: 30px;
    }
    .demo-local {
        padding: 18px;
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 650;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-large {
    width: 76px;
    height: 76px;
    font-size: 1.4rem;
}
.professional-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.professional-choice {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid var(--line);
    color: var(--ink);
    background: white;
    padding: 22px 12px 18px;
    gap: 10px;
    border-radius: 12px;
}
.professional-choice:hover {
    background: var(--soft);
    border-color: var(--green);
}
.professional-choice[aria-pressed="true"] {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green);
    background: #f0f6ef;
}
.professional-choice > strong {
    margin-top: 4px;
    font-size: 0.94rem;
    font-weight: 650;
}
.professional-choice > small {
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.5;
    font-weight: 450;
    max-width: 145px;
}
.professional-choice > .icon:first-child {
    width: 76px;
    height: 76px;
    padding: 20px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
}
.professional-choice > .icon:last-child {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 18px;
    height: 18px;
    color: var(--green);
    visibility: hidden;
}
.professional-choice[aria-pressed="true"] > .icon:last-child {
    visibility: visible;
}
.booking-flow > .step-label:first-child {
    margin-top: 0 !important;
}
.summary-professional {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 0;
    font-size: 0.86rem;
}
.summary-professional > .icon {
    color: var(--green);
}
.worker-card-header {
    display: flex;
    gap: 18px;
    align-items: center;
}
.worker-card-header h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}
.worker-photo-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}
.worker-photo-controls button {
    font-size: 0.8rem;
}
.worker-schedule > label {
    margin: 20px 0 14px;
    max-width: 420px;
}
.worker-schedule-row {
    grid-template-columns: 1.3fr 1fr 1fr auto;
}
.worker-schedule > div > .quiet {
    margin: 18px 0 12px;
}
.worker-schedule > div > p {
    margin-bottom: 20px;
}
.worker-schedule > button {
    margin-top: 18px;
}
.photo-dialog {
    width: min(460px, calc(100% - 28px));
    max-height: calc(100dvh - 30px);
    overflow-y: auto;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
    padding: 28px;
}
.photo-dialog::backdrop {
    background: #17201bcc;
}
.photo-dialog h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.photo-dialog > p {
    font-size: 0.85rem;
}
.crop-preview {
    position: relative;
    width: min(280px, 100%);
    aspect-ratio: 1;
    margin: 24px auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--ink);
}
.crop-preview canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: grab;
}
.crop-preview canvas:active {
    cursor: grabbing;
}
.crop-preview canvas:focus-visible {
    outline-offset: -4px;
}
.crop-circle {
    position: absolute;
    inset: 0;
    border: 2px solid #ffffffce;
    border-radius: 50%;
    box-shadow: 0 0 0 70px #0007;
    pointer-events: none;
}
.photo-dialog input[type="range"] {
    accent-color: var(--green);
    padding-inline: 0;
}
.photo-dialog > button {
    display: flex;
    margin-top: 14px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.8rem;
}
.crop-actions {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 24px;
    gap: 12px;
}
.crop-actions button {
    flex: 1;
}
.crop-error:not(:empty) {
    color: #963f29;
    margin-top: 20px;
}
@media (max-width: 760px) {
    .professional-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .professional-choice {
        padding: 18px 10px;
    }
    .professional-choice .avatar-large,
    .professional-choice > .icon:first-child {
        width: 64px;
        height: 64px;
    }
    .professional-choice > small {
        font-size: 0.72rem;
    }
    .professional-choice > strong {
        font-size: 0.9rem;
    }
    .worker-schedule-row {
        grid-template-columns: 1fr 1fr;
    }
    .worker-schedule-row label:first-child {
        grid-column: 1/-1;
    }
    .photo-dialog {
        padding: 22px;
    }
}
/* Shared selects: native values, accessible listbox presentation. */
.select-control {
    position: relative;
    display: block;
    min-width: 0;
}
.select-native {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    pointer-events: none;
}
.select-trigger {
    display: flex;
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    gap: 14px;
    background: white;
    border: 1px solid #d2dbd2;
    color: var(--ink);
    text-align: left;
    font-size: 0.92rem;
    font-weight: 450;
    padding: 11px 13px;
    border-radius: 9px;
}
.select-trigger:hover {
    background: #fbfcf9;
    border-color: #9bb49e;
}
.select-trigger[aria-expanded="true"] {
    border-color: var(--green);
    box-shadow: 0 0 0 3px #39765315;
    background: white;
}
.select-trigger > svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: var(--green);
    transition: transform 0.15s;
}
.select-trigger[aria-expanded="true"] > svg {
    transform: rotate(180deg);
}
.select-value {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.select-menu {
    position: fixed;
    z-index: 1000;
    margin: 0;
    padding: 6px;
    background: white;
    color: var(--ink);
    border: 1px solid #d7e0d5;
    border-radius: 12px;
    box-shadow:
        0 12px 36px #232b2b24,
        0 2px 6px #232b2b0c;
    overflow: auto;
    overscroll-behavior: contain;
    font-size: 0.9rem;
    scrollbar-width: thin;
}
.select-option {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 450;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.select-option:hover,
.select-option.is-active {
    background: var(--soft);
}
.select-option[aria-selected="true"] {
    color: var(--green);
    font-weight: 650;
}
.select-option[aria-selected="true"]::after {
    content: "✓";
    font-size: 0.9rem;
    flex-shrink: 0;
}
/* Disclosures use the same surface and focus language as other controls. */
details {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0;
    overflow: visible;
    background: #fbfcf9;
}
summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    padding: 15px 17px;
    font-size: 0.84rem;
    font-weight: 550;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border: solid var(--green);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    margin: -4px 3px 0 0;
    transition: transform 0.15s;
}
details[open] > summary {
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
details[open] > summary::after {
    transform: rotate(225deg);
    margin-top: 4px;
}
details > form,
details > label,
details > p,
details > div,
details > details,
details > button {
    margin-left: 17px;
    margin-right: 17px;
}
details > form {
    margin-bottom: 20px;
}
details > button:last-child {
    margin-bottom: 18px;
}
.venue-context details {
    background: transparent;
}
.venue-context summary {
    padding: 8px 0;
}
.booking .row > details {
    background: transparent;
}
.booking .row > details > summary {
    display: flex;
    font-weight: 500;
}
.booking .row > details[open] {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fbfcf9;
}
.booking .row > details[open] > summary {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}
.booking .row > details[open] > form {
    margin: 18px;
}
.worker-schedule > label {
    margin-left: 17px;
    margin-right: 17px;
    max-width: calc(100% - 34px);
}
.worker-schedule > div {
    margin-bottom: 18px;
}
.worker-schedule .schedule-row {
    grid-template-columns:
        minmax(100px, 1.3fr) minmax(80px, 1fr) minmax(80px, 1fr)
        auto;
}
.booking-auth-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
}
.booking-auth-copy {
    font-size: 0.88rem;
}
/* Dedicated access screens. */
body[data-view="auth"] {
    background: #eff2eb;
}
body[data-view="auth"] header {
    height: 86px;
    background: transparent;
    border: 0;
    max-width: 1240px;
    margin: auto;
    padding: 0 32px;
}
body[data-view="auth"] main {
    max-width: 1240px;
    padding: 8px 32px 42px;
    min-height: calc(100dvh - 150px);
}
body[data-view="auth"] #intro {
    display: none;
}
body[data-view="auth"] .page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.9fr);
    gap: 0;
    border: 1px solid #dce3d8;
    border-radius: 24px;
    background: white;
    overflow: hidden;
    align-items: stretch;
}
body[data-view="auth"] #side-panel {
    display: flex;
    align-items: center;
    padding: 48px 42px;
}
body[data-view="auth"] .auth-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
}
.auth-story {
    padding: 48px 42px;
    min-height: 670px;
    background: var(--ink);
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.auth-story > .eyebrow {
    color: var(--mint);
    margin-bottom: 22px;
}
.auth-story > h1 {
    color: var(--paper);
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    max-width: 440px;
    line-height: 1.08;
    font-weight: 600;
}
.auth-story > p:not(.eyebrow) {
    margin-top: 22px;
    color: #b9c8be;
    font-size: 0.96rem;
    max-width: 410px;
    line-height: 1.8;
}
.auth-visual {
    margin: 36px auto;
    width: 230px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.auth-visual::before {
    content: "";
    position: absolute;
    width: 174px;
    height: 174px;
    border: 1px solid #bce1ca38;
    border-radius: 28px;
    transform: rotate(-13deg);
    background: #bce1ca08;
}
.auth-visual::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid #bce1ca28;
    border-radius: 28px;
    transform: rotate(13deg);
}
.auth-visual > img {
    width: 120px;
    height: auto;
    z-index: 1;
}
.auth-stamp {
    position: absolute;
    bottom: 0;
    right: -10px;
    background: var(--mint);
    color: var(--ink);
    border: 5px solid var(--ink);
    border-radius: 30px;
    padding: 7px 18px;
    font-weight: 650;
    font-size: 1rem;
    z-index: 2;
    transform: rotate(-6deg);
}
.auth-benefits {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #ffffff18;
    display: grid;
    gap: 13px;
}
.auth-benefits > p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c8d6cd;
    font-size: 0.81rem;
}
.auth-benefits .icon {
    width: 19px;
    height: 19px;
    color: var(--mint);
}
#identity.auth-card h2 {
    max-width: none;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 15px;
    font-weight: 650;
}
#identity.auth-card > .eyebrow {
    font-size: 0.66rem;
    margin-bottom: 12px;
}
#identity.auth-card > #auth-description {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-top: 0;
}
.google-button {
    display: flex;
    justify-content: center;
    gap: 13px;
    align-items: center;
    border: 1px solid #cad4c9;
    border-radius: 9px;
    padding: 13px 18px;
    background: white;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 550;
    text-decoration: none;
    min-height: 48px;
    margin-top: 27px;
}
.google-button:hover {
    background: #f6f8f3;
    border-color: #9fb5a2;
}
.google-button[aria-disabled="true"] {
    color: #69746f;
    cursor: default;
    border-style: dashed;
}
.google-button[aria-disabled="true"] > img {
    opacity: 0.55;
}
#google-unavailable {
    font-size: 0.73rem !important;
    line-height: 1.6 !important;
    margin-top: 9px !important;
}
.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.71rem;
    color: #7a847d;
    gap: 15px;
    margin: 27px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: var(--line);
    flex: 1;
}
#identity.auth-card form {
    gap: 20px;
    margin-top: 0;
}
#identity.auth-card label {
    font-size: 0.79rem;
    font-weight: 550;
    gap: 9px;
}
#identity.auth-card input {
    background: #fbfcf9;
    border-radius: 9px;
    min-height: 49px;
    padding: 13px;
}
#identity.auth-card form > button {
    min-height: 49px;
    justify-content: space-between;
    margin-top: 5px;
    padding: 13px 17px;
}
.password-control {
    display: block;
    position: relative;
}
.password-control input {
    padding-right: 80px !important;
}
.password-control > button {
    position: absolute;
    right: 6px;
    top: 6px;
    min-height: 36px;
    padding: 6px 9px;
    background: transparent;
    color: var(--green);
    font-size: 0.72rem;
    border: 0;
}
.password-control > button:hover {
    background: var(--soft);
}
.auth-method {
    display: block;
    color: var(--green);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 550;
    margin-top: 20px;
    text-decoration: none;
}
#identity.auth-card .auth-switch {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 28px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}
.auth-switch a {
    text-decoration: none;
    font-weight: 650;
}
#identity.auth-card .auth-note {
    margin-top: 20px;
    font-size: 0.72rem;
    text-align: center;
    color: #7d877f;
}
#identity.auth-card input[name="code"] {
    font-size: 1.7rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.4em;
    text-align: center;
}
body[data-view="auth"] footer {
    background: transparent;
    border: 0;
    padding: 10px 24px 24px;
}
.turbo-progress-bar {
    background: var(--green);
    height: 3px;
}
@media (max-width: 1000px) {
    body[data-view="auth"] #side-panel {
        padding: 36px 28px;
    }
    .auth-story {
        padding: 38px 30px;
    }
    .auth-story > h1 {
        font-size: 3rem;
    }
}
@media (max-width: 760px) {
    body[data-view="auth"] header {
        height: 74px;
        padding: 0 22px;
    }
    body[data-view="auth"] main {
        padding: 0 18px 30px;
    }
    body[data-view="auth"] .page-layout {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    body[data-view="auth"] #side-panel {
        padding: 30px 24px;
    }
    .auth-story {
        min-height: 0;
        padding: 28px 26px 30px;
    }
    .auth-story > .eyebrow {
        font-size: 0.61rem;
        margin-bottom: 16px;
    }
    .auth-story > h1 {
        font-size: 2.25rem;
        max-width: 340px;
    }
    .auth-story > p:not(.eyebrow) {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-top: 16px;
    }
    .auth-visual,
    .auth-benefits {
        display: none;
    }
    #identity.auth-card h2 {
        font-size: 1.8rem;
    }
    #identity.auth-card input {
        min-height: 48px;
    }
    .worker-schedule .schedule-row {
        grid-template-columns: 1fr 1fr;
    }
    .worker-schedule .schedule-row > label:first-child {
        grid-column: 1/-1;
    }
    .select-trigger {
        font-size: 0.88rem;
        padding: 11px 12px;
    }
    .select-menu {
        font-size: 0.92rem;
    }
    .select-option {
        min-height: 46px;
    }
}
#identity .password-control > button {
    width: auto;
}
body[data-view="auth"] #content {
    display: flex;
}
.auth-story {
    flex: 1;
}
body[data-view="auth"] #identity.auth-card {
    padding: 0;
    border: 0;
}
@media (max-width: 760px) {
    .auth-story {
        padding: 24px 26px;
    }
    .auth-story > h1 {
        font-size: 1.8rem;
    }
    .auth-story > .eyebrow {
        margin-bottom: 12px;
    }
    .auth-story > p:not(.eyebrow) {
        display: none;
    }
}
.slot:disabled,
.slot:disabled:hover {
    opacity: 1;
    cursor: not-allowed;
    color: #70796f;
    background: #f0f2ed;
    border-color: #dfe4db;
    border-style: dashed;
    box-shadow: none;
}
.slot:disabled small {
    color: #70796f;
}
.assignment-notice {
    padding: 14px 16px;
    border: 1px solid #e2d7b6;
    background: #faf5e7;
    color: #775b26;
    border-radius: 9px;
    font-size: 0.85rem;
    margin: 20px 0;
}

/* Reservation dialogs share the booking page's typography and summary. */
.booking-dialog {
    width: min(480px, calc(100% - 24px));
    max-width: 1040px;
    max-height: calc(100dvh - 24px);
    padding: 0;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 80px #17201b33;
}
.booking-dialog-wide {
    width: min(1000px, calc(100% - 24px));
}
.booking-dialog::backdrop {
    background: #17201bbd;
    backdrop-filter: blur(3px);
}
.dialog-header,
.dialog-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--paper);
}
.dialog-header {
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
    margin: 0;
    font-size: 1.35rem;
}
.dialog-header button {
    flex-shrink: 0;
}
.dialog-body {
    padding: 24px;
}
.dialog-body > p {
    margin-top: 0;
}
.dialog-actions {
    position: sticky;
    bottom: 0;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    z-index: 2;
}
.dialog-current-booking {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    margin: 18px 0 24px;
}
.dialog-current-booking p {
    margin: 4px 0;
}
.dialog-current-booking small {
    color: var(--muted);
}
.dialog-error {
    margin: 0 24px 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fceae6;
    color: #8b3527;
}
button.danger {
    background: #973d30;
    color: white;
    border-color: #973d30;
}
button.danger:hover {
    background: #7e2f24;
}
.reschedule-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}
.reschedule-picker {
    min-width: 0;
}
.reschedule-picker > label {
    display: grid;
    gap: 6px;
    margin: 20px 0;
}
.reschedule-picker > h3 {
    font-size: 1rem;
}
.reschedule-picker .slots {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}
.reschedule-professionals {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}
.reschedule-professionals .professional-choice {
    padding: 14px 10px;
}
.reschedule-professionals .professional-choice > strong {
    font-size: 0.85rem;
}
.reschedule-summary {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}
.reschedule-summary > .eyebrow {
    margin-top: 0;
}
.reschedule-summary h3 {
    font-size: 1.2rem;
}
.reschedule-summary .summary-professional {
    margin: 16px 0;
}
.reschedule-chosen-time {
    font-weight: 650;
    color: var(--green);
}
body:has(.booking-dialog[open]) {
    overflow: hidden;
}
@media (max-width: 700px) {
    .dialog-header,
    .dialog-actions {
        padding: 16px;
    }
    .dialog-body {
        padding: 16px;
    }
    .dialog-header h2 {
        font-size: 1.15rem;
    }
    .dialog-actions {
        flex-wrap: wrap;
    }
    .dialog-actions > button {
        flex: 1;
    }
    .reschedule-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .reschedule-professionals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dialog-error {
        margin-left: 16px;
        margin-right: 16px;
    }
}

.booking-dialog .dialog-header {
    position: sticky;
    top: 0;
    z-index: 3;
}
.reschedule-professionals .professional-choice > .icon:first-child {
    width: 40px;
    height: 40px;
    padding: 8px;
}
.reschedule-summary {
    scroll-margin: 90px 0;
}
@media (min-width: 701px) {
    .reschedule-summary {
        position: sticky;
        top: 100px;
    }
}

.calendar-toolbar {
    margin: 18px 0;
}
.calendar-toolbar .agenda-date-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr auto;
    align-items: end;
    gap: 12px;
}
.calendar-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.calendar-navigation button[aria-pressed="true"] {
    background: var(--ink);
    color: white;
}
.calendar-navigation button:last-child {
    margin-left: auto;
}
.calendar-scroll {
    max-width: 100%;
    max-height: 760px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.local-calendar {
    display: grid;
    grid-template-columns: 52px repeat(var(--calendar-days), minmax(140px, 1fr));
    background: white;
}
.calendar-column {
    border-left: 1px solid var(--line);
    min-width: 0;
}
.calendar-column-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin: 0;
    padding: 6px;
    background: var(--paper);
    font-size: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.calendar-ruler,
.calendar-track {
    position: relative;
}
.calendar-ruler > span {
    position: absolute;
    right: 6px;
    font-size: 0.68rem;
    color: var(--muted);
}
.calendar-gap {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eaf0e9;
    background: white;
}
.calendar-gap:hover {
    background: var(--soft);
}
.calendar-gap.calendar-closed,
.calendar-gap.calendar-closed:hover {
    background: repeating-linear-gradient(
        135deg,
        #f1f3ef,
        #f1f3ef 5px,
        #e9ede7 5px,
        #e9ede7 6px
    );
    opacity: 1;
}
.calendar-appointment {
    position: absolute;
    display: block;
    z-index: 2;
    min-height: 0;
    padding: 5px 7px;
    text-align: left;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #a9ceb5;
    border-left: 3px solid var(--green);
    background: #e2f0e5;
    color: var(--ink);
    font-size: 0.7rem;
    line-height: 1.35;
}
.calendar-appointment:hover {
    background: #cfe6d5;
    color: var(--ink);
}
.calendar-appointment > * {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-appointment[data-status="pending"] {
    background: #fff1d4;
    border-color: #dbb96e;
}
.calendar-appointment small {
    font-size: 0.65rem;
}
.calendar-block {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    background: #f3dedcbb;
    color: #7b3029;
    font-size: 0.72rem;
    padding: 4px;
    overflow: hidden;
}
.calendar-proposal {
    position: absolute;
    right: 3px;
    width: calc(100% - 6px);
    z-index: 3;
    border: 2px dashed #9a7429;
    background: #fff4d8dd;
    color: #74551d;
    pointer-events: none;
    padding: 3px;
    overflow: hidden;
    font-size: 0.68rem;
}
.calendar-list {
    margin-top: 24px;
}
.manual-booking-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.manual-booking-form label {
    display: grid;
    gap: 6px;
}
.manual-booking-summary {
    padding: 16px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
    margin-top: 20px;
}
.booking-history {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.booking-history p {
    font-size: 0.85rem;
}
.internal-note {
    background: var(--soft);
    border-radius: 8px;
    padding: 12px;
    white-space: pre-wrap;
}
.proposal-phone-response {
    padding: 12px;
    border: 1px solid #d9be79;
    border-radius: 10px;
    margin: 16px 0;
}
.proposal-phone-response button {
    margin: 4px;
}
.exception-card {
    padding: 16px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.exception-affected {
    padding: 12px;
    background: #fff1d4;
    border-radius: 10px;
    margin: 12px 0;
}
@media (max-width: 1000px) {
    .calendar-toolbar .agenda-date-form {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .calendar-toolbar .agenda-date-form,
    .manual-booking-form {
        grid-template-columns: 1fr;
    }
    .calendar-navigation button {
        flex: 1;
        white-space: nowrap;
    }
    .calendar-navigation button:last-child {
        flex-basis: 100%;
        margin: 0;
    }
    .calendar-scroll {
        max-height: 650px;
    }
    .local-calendar {
        grid-template-columns: 42px repeat(
                var(--calendar-days),
                minmax(140px, 1fr)
            );
    }
}
.exceptions-editor {
    margin: 28px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.exception-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.exception-form label {
    display: grid;
    gap: 6px;
}
.exception-form > button {
    align-self: end;
}
.exception-affected button {
    margin: 8px 8px 0 0;
}
@media (max-width: 700px) {
    .exception-form {
        grid-template-columns: 1fr;
    }
}
.calendar-column-heading:has(.calendar-exception-label) {
    flex-direction: column;
}
.calendar-exception-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8a4c35;
    font-size: 0.65rem;
}

.availability-calendar {
    width: 100%;
    max-width: 440px;
    border: 1px solid #dde4dc;
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    margin: 12px 0 24px;
}
.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.calendar-toolbar button {
    padding: 6px 14px;
    min-width: 42px;
    min-height: 42px;
    font-size: 24px;
    background: #f0f5ed;
    color: #232b2b;
}
.calendar-toolbar strong {
    text-transform: capitalize;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.calendar-weekday {
    text-align: center;
    font-size: 12px;
    color: #69746f;
    padding: 4px 0 8px;
}
.calendar-grid .calendar-day {
    padding: 0;
    min-height: 42px;
    aspect-ratio: 1;
    border-radius: 10px;
    background: #edf6ef;
    color: #232b2b;
    box-shadow: none;
    font-weight: 650;
    border: 1px solid transparent;
    position: relative;
}
.calendar-day[data-status="AVAILABLE"]::after,
.calendar-day[data-status="FULL"]::after {
    content: "";
    width: 4px;
    height: 4px;
    background: currentColor;
    position: absolute;
    bottom: 5px;
    left: calc(50% - 2px);
    border-radius: 50%;
}
.calendar-grid .calendar-day:disabled {
    opacity: 1;
    background: #f3f4f1;
    color: #8c938e;
    cursor: default;
}
.calendar-grid .calendar-day[data-status="FULL"] {
    background: #fff0ce;
    color: #895516;
}
.calendar-grid .calendar-day[aria-pressed="true"] {
    background: #397653;
    color: white;
}
.calendar-day:focus-visible {
    outline: 3px solid #397653;
    outline-offset: 2px;
}
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    font-size: 11px;
    color: #69746f;
}
.calendar-legend span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #b7bcb7;
}
.calendar-legend [data-status="AVAILABLE"]::before {
    background: #397653;
}
.calendar-legend [data-status="FULL"]::before {
    background: #b77c24;
}
.calendar-help {
    display: block;
    color: #69746f;
    font-size: 11px;
    margin-top: 10px;
}
.calendar-loading {
    min-height: 300px;
    display: grid;
    place-items: center;
    color: #69746f;
}

.app-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px;
    margin: 24px 0;
    background: var(--soft);
    border: 1px solid #d6e3d5;
    border-radius: 20px;
}
.app-download h2 {
    margin: 8px 0;
}
.app-download p:not(.eyebrow) {
    color: var(--muted);
    max-width: 520px;
}
.app-download-action {
    display: grid;
    gap: 10px;
    flex-shrink: 0;
}
.app-download-action .subtle {
    font-size: 12px;
    text-align: center;
}
.app-install-help {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}
.app-install-help summary {
    color: var(--green);
    cursor: pointer;
}
.app-install-help p {
    margin-top: 8px;
    line-height: 1.65;
}
@media (max-width: 760px) {
    .app-download {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 24px;
    }
    .app-download-action .button {
        justify-content: center;
    }
}
