/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --paper: #f8f7f2;
    --white: #fdfcf8;
    --ink: #34483d;
    --muted: #667166;
    --green: #3f5946;
    --sage: #e9ecdf;
    --sage-deep: #dce3d1;
    --line: #dedfd5;
    --peach: #f0e5db;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: .9375rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button { color: inherit; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
p, h1, h2, h3, figure { margin: 0; }
p { color: var(--muted); text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 4.6vw, 4.25rem); }
h2 { font-size: 2rem; }
h3 { font-size: 1.625rem; }
em { color: #718062; font-weight: 400; }
strong { font-weight: 500; }
::selection { background: #dce4ce; color: #233a2b; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
h1:focus, main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 22px; color: white; background: var(--green); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.icon { width: 20px; height: 20px; }
.eyebrow { display: block; font-size: .6875rem; font-weight: 500; line-height: 1.7; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 20px; border: 1px solid #b7c0af; border-radius: 100px; background: transparent; color: var(--green); font-size: .8125rem; font-weight: 500; line-height: 1.4; transition: background .18s, border-color .18s; }
.button:hover:not(:disabled) { background: var(--sage); border-color: #87987f; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--green); border-color: var(--green); color: var(--white); }
.button-primary:hover:not(:disabled) { background: #2f4436; border-color: #2f4436; }
.button-danger { color: #854e3b; border-color: #c3a18f; }
.button-danger:hover:not(:disabled) { background: #f1e1d6; border-color: #a97660; }
.button-full { width: 100%; }
.button-small { min-height: 40px; padding: 8px 16px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 8px; font-size: .8125rem; font-weight: 500; border-bottom: 1px solid #b9c1ae; }
.text-link .icon { width: 17px; height: 17px; }
.text-link:hover { border-bottom-color: var(--ink); }
.text-button { padding: 9px 2px; border: 0; background: transparent; min-height: 44px; font-size: .8125rem; text-decoration: underline; text-decoration-color: #b9c1ae; text-underline-offset: 5px; }
.text-button:hover:not(:disabled) { text-decoration-color: currentColor; }
.subtle-danger { color: #8b5b48; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.icon-button:hover { background: var(--sage); border-color: var(--line); }
.back-link { display: inline-flex; min-height: 44px; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .8125rem; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.small-copy, .count-label { font-size: .75rem; color: var(--muted); }
.little-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8d9b77; }
/* A persistent, quiet home for the practice. */
.practice-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { display: flex; flex-direction: column; padding: 42px 23px 24px; background: #f1f2e9; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100dvh; }
.brand { display: inline-flex; align-items: center; gap: 7px; width: fit-content; }
.brand .brand-mark { width: 33px; height: 42px; }
.brand > span { font-size: 1.3rem; font-weight: 500; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.brand small { display: block; margin-top: 10px; font-size: .5rem; letter-spacing: .21em; font-weight: 400; }
.primary-nav { display: flex; flex-direction: column; gap: 7px; margin-top: 62px; }
.primary-nav a { display: flex; align-items: center; gap: 13px; min-height: 47px; padding: 11px 15px; border-radius: 9px; font-size: .84375rem; color: #65715e; transition: background .15s, color .15s; }
.primary-nav a:hover { background: #e7ebdd; color: var(--ink); }
.primary-nav a.active { color: var(--ink); background: #e1e7d7; font-weight: 500; }
.primary-nav a .icon { width: 19px; height: 19px; }
.sidebar-bottom { margin-top: auto; padding-top: 50px; }
.quiet-note { font-family: var(--serif); font-size: 1.65rem; font-style: italic; line-height: 1.3; letter-spacing: -.02em; color: #7b8771; padding: 0 15px 38px; }
.profile-line { display: flex; align-items: center; gap: 10px; padding-top: 23px; border-top: 1px solid var(--line); }
.profile-line > span:nth-child(2) { min-width: 0; }
.profile-line strong { display: block; font-size: .8125rem; overflow-wrap: anywhere; }
.profile-line small { display: block; color: var(--muted); font-size: .6875rem; }
.profile-line form { margin-left: auto; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 37px; height: 37px; border-radius: 50%; background: #e3e6d8; color: #657054; font-family: var(--serif); font-size: 1.3rem; }
.avatar-large { width: 56px; height: 56px; font-size: 1.6rem; }
.avatar-hero { width: 76px; height: 76px; font-size: 2.25rem; background: var(--peach); color: #7f6c56; }
.workspace { display: flex; flex-direction: column; width: 100%; max-width: 1640px; min-width: 0; margin-inline: auto; padding: 0 clamp(24px, 4.2vw, 72px); }
.workspace-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 93px; font-size: .6875rem; color: #788172; border-bottom: 1px solid var(--line); }
.workspace-top > span:first-child { display: flex; align-items: center; gap: 9px; }
.workspace main { flex: 1; padding: 43px 0 64px; min-width: 0; }
.workspace-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0 24px; font-size: .625rem; color: #6e796d; }
.page-heading { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-bottom: 35px; }
.page-heading .eyebrow { margin-bottom: 11px; }
.page-heading p { margin-top: 14px; font-size: .875rem; }
.page-heading > .button, .page-heading > .status-badge { flex-shrink: 0; }
.section-block { margin-top: 38px; scroll-margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.section-heading p { margin-top: 7px; font-size: .8125rem; }
.section-heading .text-link { flex-shrink: 0; }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: var(--white); }
/* The overview puts the next person ahead of numbers. */
.overview-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; }
.next-session-card { position: relative; overflow: hidden; padding: 29px 32px 32px; border: 1px solid #d9dece; border-radius: 16px; background: #e8eddf; }
.next-session-card .section-heading { margin-bottom: 29px; }
.next-session-card .section-heading > .icon { color: #8b987d; }
.next-person { display: flex; align-items: center; gap: 16px; }
.next-person .avatar { background: #d8dfca; }
.next-person h2 { font-size: 2.25rem; }
.next-person p { margin-top: 7px; font-size: .8125rem; }
.next-date { margin-top: 25px; font-weight: 500; font-size: .875rem; color: var(--ink); }
.next-time { font-size: .875rem; margin-top: 4px; color: var(--ink); }
.next-time span { color: var(--muted); }
.next-session-card > .button { margin-top: 24px; }
.empty-next h2 { max-width: 12ch; font-size: 2.8rem; }
.empty-next p { max-width: 44ch; margin-top: 15px; font-size: .875rem; }
.requests-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e4dbcf; background: #f0e9df; border-radius: 16px; padding: 29px 28px; }
.request-count { display: flex; gap: 20px; align-items: center; font-size: 5rem; line-height: 1; font-family: var(--serif); margin: 26px 0 24px; color: #7b715d; }
.request-count span { font-family: var(--sans); font-size: .8125rem; line-height: 1.6; }
.requests-card > p { font-size: .8125rem; max-width: 32ch; }
.requests-card .text-link { margin-top: auto; padding-top: 23px; }
/* Lists keep the same reading rhythm across sessions and requests. */
.list-card { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.appointment-row { display: grid; grid-template-columns: 48px minmax(130px, 1.3fr) minmax(130px, 1fr) auto 16px; gap: 20px; align-items: center; padding: 21px 23px; transition: background .15s; }
.appointment-row + .appointment-row { border-top: 1px solid #e8e8df; }
.appointment-row:hover { background: #f1f3e9; }
.appointment-row > .icon { width: 17px; height: 17px; color: #87917e; }
.date-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 56px; border: 1px solid #e1e4d7; border-radius: 9px; background: #f1f3e9; line-height: 1; }
.date-tile small { font-size: .5625rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 5px; color: var(--muted); }
.date-tile strong { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.row-main, .row-time { min-width: 0; }
.row-main strong, .row-time strong { display: block; font-size: .8125rem; }
.row-main span, .row-time span { display: block; font-size: .6875rem; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.row-time strong { font-size: .75rem; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; white-space: nowrap; border-radius: 50px; background: #e9eee3; color: #506044; padding: 6px 10px; font-size: .625rem; line-height: 1.3; }
.status-badge > span { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.status-requested { color: #88623c; background: #f3e9d6; }
.status-cancelled { color: #82695b; background: #eee7df; }
.status-completed { color: #617179; background: #e8edee; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 24px; }
.segmented-control { display: flex; gap: 4px; border-radius: 100px; background: #eeefe6; padding: 4px; border: 1px solid #e2e4d9; }
.segmented-control button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 18px; border: 0; border-radius: 100px; background: transparent; font-size: .75rem; color: var(--muted); }
.segmented-control button.selected { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px #34483d12; }
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 100px; background: var(--peach); padding-inline: 4px; color: #805e3f; font-size: .5625rem; }
.list-intro { font-size: .8125rem; margin-bottom: 22px; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 25px; border: 1px dashed #d6dacc; border-radius: 15px; background: #f8f8f1; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 49px; border-radius: 50%; background: #edf0e5; color: #7b8a6d; margin-bottom: 22px; }
.empty-state p { max-width: 48ch; font-size: .875rem; margin-top: 12px; }
.empty-state .button { margin-top: 24px; }
.empty-horizontal { flex-direction: row; text-align: left; gap: 22px; align-items: center; padding: 28px; }
.empty-horizontal .empty-icon { margin: 0; flex-shrink: 0; }
.empty-horizontal h3 { font-size: 1.75rem; }
.empty-horizontal p { margin-top: 7px; font-size: .8125rem; max-width: none; }
.loading-state { min-height: 190px; display: flex; gap: 12px; align-items: center; justify-content: center; font-size: .875rem; color: var(--muted); }
.loading-dot { width: 8px; height: 8px; background: #a4b391; border-radius: 50%; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .3; transform: scale(.7); } }
.notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 15px 19px; border-radius: 10px; margin-bottom: 24px; font-size: .8125rem; line-height: 1.6; }
.notice-error { background: #f2e8df; border: 1px solid #e2d1c1; color: #7b5140; }
.notice-success { background: #e9eee0; border: 1px solid #d9e2cc; color: #51633f; }
.notice .text-button { margin-left: auto; }
/* A client's space. */
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 16px; width: 330px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); }
.search-field .icon { width: 18px; height: 18px; color: #88927f; }
.search-field input { width: 100%; height: 46px; border: 0; background: transparent; font-size: .8125rem; color: var(--ink); outline: none; padding: 0; min-width: 0; }
.search-field:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.client-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 25px; transition: border-color .18s, background .18s; }
.client-card:hover { border-color: #abb9a0; background: #f4f6ee; }
.client-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.client-card-top > .icon { width: 16px; color: #8a947f; }
.client-card:nth-child(3n+2) .avatar { background: var(--peach); color: #85715d; }
.client-card:nth-child(3n+3) .avatar { background: #e8e6ea; color: #817787; }
.client-card h2 { font-size: 1.875rem; overflow-wrap: anywhere; }
.client-card > p { font-size: .75rem; margin-top: 10px; overflow-wrap: anywhere; }
.client-card-footer { display: block; border-top: 1px solid #e7e8df; margin-top: 25px; padding-top: 16px; color: var(--muted); font-size: .6875rem; }
.client-heading { justify-content: flex-start; gap: 22px; }
.client-heading h1 { font-size: clamp(2.8rem, 4vw, 3.75rem); }
.client-heading p { margin-top: 10px; font-size: .8125rem; }
.client-heading a:hover { text-decoration: underline; }
.meta-divider { margin-inline: 10px; color: #aaa; }
.detail-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.session-panel .eyebrow { margin-bottom: 18px; }
.session-panel h2 { font-size: 2.375rem; }
.session-time { font-size: 1rem; color: var(--ink); margin-top: 10px; }
.session-time span { font-size: .8125rem; color: var(--muted); }
.details-list { margin: 25px 0 13px; font-size: .8125rem; }
.details-list > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 12px; border-top: 1px solid #e6e8dd; }
.details-list dt { color: var(--muted); flex-shrink: 0; }
.details-list dd { text-align: right; margin: 0; overflow-wrap: anywhere; min-width: 0; }
.details-list a:hover { text-decoration: underline; }
.session-actions { background: #eff1e7; }
.session-actions > p { font-size: .875rem; margin-top: 18px; }
.session-actions > .button { margin-top: 26px; }
.session-actions > .text-button { display: block; margin: 12px auto 0; }
.confirm-box { margin-top: 20px; padding: 19px; border: 1px solid #dac9b8; border-radius: 10px; background: #f7f0e7; }
.confirm-box strong { font-size: .875rem; }
.confirm-box p { font-size: .8125rem; margin-top: 6px; }
.confirm-box .button-row { margin-top: 14px; }
.confirm-box .button { font-size: .75rem; }
.meeting-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 25px; }
.meeting-panel h2 { margin-top: 12px; }
.meeting-panel p { margin-top: 13px; font-size: .8125rem; max-width: 40ch; }
.meeting-panel form > .button { margin-top: 17px; }
/* Forms ask only what the task needs. */
.stack-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .75rem; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d7dccf; background: #fffefb; border-radius: 8px; color: var(--ink); font-size: .8125rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #899080; }
.field select { padding-right: 28px; }
.field textarea { resize: vertical; min-height: 170px; }
.field-hint { color: var(--muted); font-size: .6875rem; }
.optional { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-field { display: flex; gap: 12px; cursor: pointer; align-items: flex-start; }
.checkbox-field input { accent-color: var(--green); margin: 4px 0 0; flex-shrink: 0; width: 18px; height: 18px; }
.checkbox-field strong { display: block; font-size: .8125rem; }
.checkbox-field small { display: block; margin-top: 5px; font-size: .75rem; line-height: 1.6; color: var(--muted); }
.privacy-caption { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .6875rem; flex-shrink: 0; }
.privacy-caption .icon { width: 15px; height: 15px; }
.client-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 25px 30px; }
.client-selector p { margin-top: 8px; font-size: .8125rem; }
.notebook-placeholder { display: flex; align-items: center; flex-direction: column; padding: 78px 20px 35px; text-align: center; color: #8d9980; }
.notebook-placeholder .brand-mark { width: 52px; height: 62px; }
.notebook-placeholder p { font-family: var(--serif); font-size: 2.75rem; line-height: 1.12; letter-spacing: -.02em; color: #87917c; margin-top: 26px; }
.note-editor { margin-bottom: 24px; border-color: #b9c5ac; }
.note-editor .field { margin-bottom: 21px; }
.note-editor .button-row { margin-top: 24px; }
.note-visibility { display: inline-flex; align-items: center; gap: 6px; color: #737c6e; font-size: .6875rem; }
.note-visibility .icon { width: 14px; height: 14px; }
.note-visibility.shared { color: #627653; }
.notes-list { display: grid; gap: 18px; }
.note-card { border: 1px solid var(--line); border-radius: 13px; padding: 25px 29px; background: var(--white); }
.note-card header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.note-card header > div { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.note-card time { color: var(--muted); font-size: .625rem; }
.note-content { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.85; color: #4c5c4d; }
.note-session { display: inline-block; font-size: .6875rem; color: #77836b; margin-bottom: 12px; }
.note-session:hover { text-decoration: underline; }
/* Availability is a calm calendar first, with booking choices below. */
.availability-heading p { max-width: 60ch; }
.availability-summary { display: flex; gap: 12px; margin: 26px 0 30px; }
.availability-summary > div { min-width: 150px; display: flex; align-items: baseline; gap: 11px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: #f1f2ea; }
.availability-summary strong { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--green); }
.availability-summary span { font-size: .6875rem; color: var(--muted); }
.availability-workspace { display: grid; grid-template-columns: minmax(290px, .85fr) minmax(340px, 1.15fr); gap: 32px; align-items: start; }
.opening-composer { background: #fcfbf6; }
.opening-composer h2 { font-size: 2.45rem; margin-top: 13px; }
.opening-composer > p, .agenda-heading p { font-size: .8125rem; margin-top: 10px; }
.opening-composer form { display: grid; gap: 20px; margin-top: 27px; }
.opening-composer .form-row { gap: 12px; }
.opening-composer .time-zone-hint { display: flex; align-items: center; gap: 7px; margin-top: -12px; }
.time-zone-hint .icon { width: 13px; height: 13px; }
.opening-composer .composer-footnote { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; font-size: .75rem; }
.agenda-heading { margin: 8px 0 24px; }
.agenda-heading h2 { font-size: 2.3rem; margin-top: 11px; }
.agenda-day + .agenda-day { margin-top: 29px; }
.agenda-day > h3 { margin-bottom: 11px; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .01em; }
.agenda-list { display: grid; gap: 9px; }
.agenda-opening { display: grid; grid-template-columns: minmax(112px, .75fr) minmax(110px, 1fr) auto; align-items: center; gap: 16px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.agenda-time, .agenda-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.agenda-time strong { font-size: .875rem; font-weight: 600; }
.agenda-time span, .agenda-details span { font-size: .6875rem; color: var(--muted); }
.agenda-details strong { overflow-wrap: anywhere; font-size: .75rem; font-weight: 500; }
.agenda-remove, .agenda-confirm .text-button { color: var(--muted); font-size: .6875rem; }
.agenda-confirm { display: flex; flex-wrap: wrap; gap: 0 11px; align-items: center; grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; }
.agenda-confirm > span { margin-right: auto; font-size: .75rem; }
.availability-caption { margin: 20px 2px 0; font-size: .75rem; line-height: 1.7; }
.availability-caption a { text-decoration: underline; text-underline-offset: 3px; }
.booking-settings-heading { margin: 60px 0 22px; }
.booking-settings-heading h2 { font-size: 2.65rem; margin-top: 10px; }
.booking-settings-heading p { font-size: .8125rem; margin-top: 8px; }
.availability-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.setting-panel { display: flex; flex-direction: column; }
.setting-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.setting-heading h3 { font-size: 1.85rem; }
.setting-heading p { font-size: .75rem; margin-top: 7px; }
.setting-count { flex: none; border-radius: 100px; padding: 5px 10px; background: var(--sage); font-size: .625rem; color: var(--green); }
.setting-list { margin-top: 22px; border-top: 1px solid var(--line); }
.setting-item { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.setting-item > div:first-child { display: grid; gap: 3px; min-width: 0; }
.setting-item strong { font-size: .8125rem; font-weight: 600; }
.setting-item span, .setting-item small { font-size: .6875rem; line-height: 1.55; color: var(--muted); }
.setting-item small { color: #986f58; }
.setting-inactive { opacity: .66; }
.setting-actions { display: flex; flex: none; gap: 11px; align-self: center; }
.setting-actions .text-button { font-size: .6875rem; }
.setting-form { display: grid; gap: 15px; margin-top: auto; padding-top: 25px; }
.setting-form .field { gap: 6px; }
.setting-form .button { min-height: 42px; font-size: .75rem; }
/* The sign-in feels like arriving, not entering an administration system. */
.guest-page { display: flex; min-height: 100dvh; }
.login-art { position: relative; width: 44%; overflow: hidden; background: #dfe5d4; isolation: isolate; min-height: 100dvh; }
.login-art p { position: absolute; bottom: 12%; left: 14%; z-index: 3; color: #46553c; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); line-height: 1.05; letter-spacing: -.025em; }
.login-art em { color: #7b8568; }
.art-sun { position: absolute; top: 14%; left: 22%; width: 25%; aspect-ratio: 1; border-radius: 50%; background: #eee1c6; }
.art-hill { position: absolute; right: -30%; bottom: -8%; width: 102%; height: 90%; border-radius: 52% 52% 0 0; rotate: -19deg; background: #c3cdb4; }
.art-arch { position: absolute; width: 63%; height: 63%; top: 7%; right: -14%; border-radius: 48% 48% 0 0; border: 1px solid #929f7f; rotate: 15deg; }
.art-stem { position: absolute; top: 28%; left: 33%; height: 34%; width: 30%; border: 1px solid #879771; border-right: 0; border-bottom: 0; border-radius: 100% 0 0 0; rotate: -30deg; }
.art-stem::before, .art-stem::after { content: ''; position: absolute; width: 70%; height: 24%; border-radius: 100% 0 100% 0; background: #8c9b78; opacity: .6; rotate: -23deg; top: 42%; left: -28%; }
.art-stem::after { top: 12%; left: 4%; rotate: 62deg; width: 66%; opacity: .38; }
.login-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 55px clamp(40px, 7.5vw, 140px) 30px; }
.login-content .brand > span { font-size: 1.5rem; }
.login-content .brand .brand-mark { width: 36px; height: 45px; }
.login-form-wrap { width: 100%; max-width: 390px; margin: auto 0; padding-block: 70px; }
.login-form-wrap h1 { font-size: clamp(3.4rem, 4.5vw, 4.8rem); margin-top: 17px; }
.login-form-wrap > p { font-size: .875rem; margin-top: 23px; max-width: 33ch; }
.login-form-wrap form { margin-top: 32px; }
.login-form-wrap .notice { margin-top: 24px; margin-bottom: 0; }
.login-form-wrap .field input { min-height: 49px; }
.login-form-wrap .button { margin-top: 7px; min-height: 48px; }
.login-form-wrap > .login-caption { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: none; width: 100%; font-size: .625rem; margin-top: 25px; }
.login-caption .icon { width: 12px; height: 12px; }
.login-footer { font-size: .5625rem; color: #818a79; }
.standalone-message { max-width: 640px; margin: auto; padding: 70px 28px; text-align: center; }
.standalone-message .brand-mark { display: block; width: 50px; height: 60px; margin: 0 auto 35px; }
.standalone-message h1 { margin-top: 20px; }
.standalone-message p { margin: 22px auto 30px; max-width: 40ch; }
#blazor-error-ui { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); display: none; background: #f3e7da; border: 1px solid #d9c2ae; border-radius: 12px; color: #704e3b; padding: 16px 54px 16px 22px; z-index: 1000; font-size: .8125rem; box-shadow: 0 8px 35px #34483d18; width: min(560px, calc(100% - 30px)); }
#blazor-error-ui .reload { text-decoration: underline; margin-left: 6px; }
#blazor-error-ui .dismiss { position: absolute; right: 9px; top: 8px; background: transparent; border: 0; font-size: 1.4rem; width: 36px; height: 36px; }
@media (min-width: 1600px) { .workspace main { padding-top: 54px; } .overview-grid { grid-template-columns: 1.8fr 1fr; } }
@media (max-width: 1190px) {
    .practice-shell { grid-template-columns: 216px minmax(0, 1fr); }
    .sidebar { padding-inline: 17px; }
    .brand > span { font-size: 1.18rem; }
    .workspace { padding-inline: 30px; }
    .appointment-row { gap: 13px; grid-template-columns: 43px minmax(100px, 1fr) minmax(85px, 1fr) auto; padding: 18px; }
    .appointment-row > .icon { display: none; }
    .appointment-row .date-tile { width: 43px; }
    .row-time span { font-size: .625rem; }
    .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .availability-workspace { gap: 22px; }
    .panel { padding: 25px; }
}
@media (max-width: 1000px) {
    .page-heading { align-items: flex-start; gap: 20px; }
    .page-heading > .button { padding-inline: 15px; margin-top: 25px; }
    .overview-grid { grid-template-columns: 1.35fr 1fr; gap: 17px; }
    .next-session-card, .requests-card { padding: 25px; }
    .next-person { gap: 12px; }
    .next-person h2 { font-size: 1.9rem; }
    .next-person .avatar { width: 44px; height: 44px; font-size: 1.4rem; }
    .row-time { grid-column: 2; grid-row: 2; }
    .row-time strong, .row-time span { display: inline; }
    .row-time span::before { content: ' · '; }
    .appointment-row { grid-template-columns: 43px minmax(0, 1fr) auto; gap: 2px 15px; }
    .appointment-row .date-tile { grid-row: span 2; }
    .appointment-row .status-badge { grid-column: 3; grid-row: 1 / span 2; }
    .availability-workspace { grid-template-columns: 1fr; }
    .availability-settings { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .meeting-panel { gap: 25px; }
    .session-actions > .button { width: auto; }
    .session-actions > .text-button { margin-left: 0; }
    .client-heading { gap: 18px; }
    .client-heading .avatar-hero { width: 59px; height: 59px; font-size: 1.8rem; margin-top: 15px; }
    .privacy-caption { display: none; }
    .login-content { padding-inline: 7%; }
}
@media (max-width: 760px) {
    .practice-shell { display: block; }
    .sidebar { position: static; width: 100%; height: auto; padding: 21px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; }
    .brand > span { font-size: 1.25rem; }
    .brand .brand-mark { width: 30px; height: 38px; }
    .primary-nav { margin-top: 22px; flex-direction: row; gap: 5px; grid-column: 1 / -1; order: 3; padding-bottom: 10px; justify-content: space-between; }
    .primary-nav a { flex-direction: column; justify-content: center; gap: 6px; padding: 9px 8px; min-width: 0; flex: 1; font-size: .5625rem; border-radius: 8px; }
    .primary-nav a .icon { width: 18px; height: 18px; }
    .sidebar-bottom { padding: 0; margin: 0; }
    .quiet-note { display: none; }
    .profile-line { padding: 0; border: 0; gap: 5px; }
    .profile-line > .avatar, .profile-line > span:nth-child(2) { display: none; }
    .workspace { padding-inline: 24px; }
    .workspace-top { min-height: 57px; font-size: .5625rem; }
    .workspace main { padding-top: 29px; padding-bottom: 43px; }
    .page-heading { margin-bottom: 27px; }
    .page-heading p { font-size: .8125rem; max-width: 38ch; }
    .page-heading .eyebrow { font-size: .625rem; }
    .page-heading > .button { font-size: .6875rem; gap: 7px; }
    .page-heading > .button .icon { width: 14px; height: 14px; }
    .overview-grid { grid-template-columns: 1.5fr 1fr; }
    .section-heading h2 { font-size: 1.875rem; }
    .section-block { margin-top: 31px; }
    .section-heading .text-link { font-size: .6875rem; gap: 7px; }
    .section-heading p { font-size: .6875rem; }
    .requests-card { padding: 23px; }
    .request-count { gap: 13px; font-size: 4.2rem; }
    .request-count span { font-size: .6875rem; }
    .requests-card > p { font-size: .75rem; }
    .requests-card .text-link { font-size: .75rem; }
    .filter-bar { gap: 15px; }
    .client-grid { gap: 15px; }
    .client-card { padding: 22px; }
    .detail-grid { grid-template-columns: 1.1fr 1fr; gap: 18px; }
    .session-panel h2 { font-size: 2rem; }
    .session-panel .details-list > div { flex-direction: column; gap: 3px; }
    .session-panel .details-list dd { text-align: left; }
    .session-actions h2 { font-size: 1.9rem; }
    .session-actions > p { font-size: .8125rem; }
    .session-actions > .button { width: 100%; }
    .session-actions > .text-button { margin-left: auto; }
    .guest-page { display: block; }
    .login-art { display: none; }
    .login-content { padding: 35px 30px 26px; min-height: 100dvh; align-items: center; }
    .login-content .brand { align-self: flex-start; }
    .login-form-wrap { padding-block: 55px; }
    .login-form-wrap h1 { font-size: 4.15rem; }
    .login-footer { align-self: center; text-align: center; }
    .standalone-message { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
}
@media (max-width: 540px) {
    .workspace { padding-inline: 19px; }
    .workspace-top > span:first-child { font-size: .5rem; gap: 6px; }
    .workspace-date { font-size: .5rem; }
    .page-heading { flex-wrap: wrap; gap: 18px; }
    .page-heading > .button { margin-top: 0; min-height: 40px; }
    .page-heading h1 { font-size: 3.1rem; }
    .page-heading p { margin-top: 12px; }
    .overview-grid { grid-template-columns: 1fr; }
    .next-session-card { padding: 25px; }
    .requests-card { position: relative; display: block; padding: 24px; }
    .request-count { float: left; margin: 20px 23px 8px 0; gap: 11px; font-size: 3.6rem; }
    .requests-card > p { max-width: none; font-size: .75rem; padding-top: 20px; }
    .requests-card .text-link { clear: both; margin-top: 13px; padding-top: 9px; }
    .empty-next h2 { max-width: none; font-size: 2.6rem; }
    .section-heading { gap: 12px; }
    .section-heading h2 { font-size: 1.75rem; }
    .section-heading > .count-label { font-size: .625rem; }
    .empty-horizontal { align-items: flex-start; gap: 16px; padding: 24px 20px; }
    .empty-horizontal .empty-icon { width: 37px; height: 37px; }
    .empty-horizontal h3 { font-size: 1.5rem; }
    .empty-horizontal p { font-size: .75rem; }
    .appointment-row { padding: 17px 15px; gap: 3px 12px; grid-template-columns: 40px minmax(0, 1fr); }
    .appointment-row .date-tile { grid-row: 1 / span 2; width: 40px; height: 49px; }
    .appointment-row .status-badge { grid-column: 2; grid-row: 3; margin-top: 7px; }
    .row-main span { font-size: .625rem; }
    .row-time { margin-top: 2px; }
    .row-time strong { font-size: .6875rem; }
    .row-time span { font-size: .625rem; }
    .filter-bar > .small-copy { font-size: .6875rem; }
    .segmented-control { width: 100%; }
    .segmented-control button { flex: 1; padding-inline: 8px; font-size: .6875rem; white-space: nowrap; }
    .search-field { width: 100%; }
    .client-grid { grid-template-columns: 1fr; }
    .client-card { display: grid; grid-template-columns: 1fr; padding: 22px; }
    .client-card-top { margin-bottom: 20px; }
    .client-heading { flex-wrap: nowrap; gap: 16px; align-items: flex-start; }
    .client-heading .avatar-hero { width: 48px; height: 48px; font-size: 1.5rem; }
    .client-heading h1 { font-size: 2.65rem; }
    .client-heading p { font-size: .75rem; overflow-wrap: anywhere; }
    .client-heading .meta-divider { display: block; height: 4px; font-size: 0; }
    .detail-grid, .meeting-panel, .client-selector { grid-template-columns: 1fr; }
    .session-panel .details-list > div { flex-direction: row; gap: 20px; }
    .session-panel .details-list dd { text-align: right; }
    .panel { padding: 24px; }
    .meeting-panel { gap: 25px; }
    .note-card { padding: 21px; }
    .note-card header > div { gap: 6px; flex-direction: column; align-items: flex-start; }
    .note-card header { margin-bottom: 13px; }
    .note-editor .section-heading { flex-wrap: wrap; }
    .note-editor .section-heading h3 { font-size: 1.7rem; }
    .section-heading .button { padding-inline: 13px; font-size: .6875rem; min-height: 40px; }
    .section-heading .button .icon { width: 13px; height: 13px; }
    .form-row { gap: 12px; }
    .field label { font-size: .6875rem; }
    .field input, .field select, .field textarea { font-size: 1rem; }
    .availability-summary { gap: 7px; }
    .availability-summary > div { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 4px; padding: 10px; }
    .availability-summary span { font-size: .625rem; }
    .opening-composer { padding: 23px 19px; }
    .agenda-opening { grid-template-columns: minmax(90px, .8fr) 1fr; padding: 16px; }
    .agenda-remove { grid-column: 2; justify-self: start; min-height: 30px; padding: 0; }
    .setting-item { flex-wrap: wrap; }
    .workspace-footer { font-size: .5625rem; }
    .workspace-footer > span:last-child { display: none; }
    .login-content { padding: 30px 26px 23px; }
    .login-form-wrap h1 { font-size: 3.6rem; }
    .login-form-wrap { padding-block: 55px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
