/* Admin-only styles. The public site's fonts, palette, and wordmark are shared. */
.admin-page { font-size: 15px; line-height: 1.6; }
.admin-page [hidden] { display: none !important; }
.admin-shell { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.admin-header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.header-label { border-left: 1px solid var(--line); padding-left: 25px; color: var(--muted); font-size: 13px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.return-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 550; }
.return-link:hover { color: #58733e; }
.admin-main { padding-top: 48px; padding-bottom: 24px; }
.admin-page h1 { font-size: clamp(31px, 3.6vw, 43px); letter-spacing: -1.6px; font-weight: 600; }
.admin-page h2 { font-size: clamp(25px, 2.7vw, 32px); letter-spacing: -1.1px; font-weight: 600; }
.admin-page h3 { font-size: 22px; letter-spacing: -.65px; font-weight: 600; }
.admin-page .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 13px; color: #637855; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.workspace-subtitle { color: var(--muted); margin-top: 13px; font-size: 14px; }
.account-caption { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 30px; padding: 5px 11px; font-size: 10px; line-height: 1.4; font-weight: 600; background: var(--sage); color: #466137; white-space: nowrap; }
.muted-badge { background: #f0f2ed; color: #697369; }
.badge.confirmed, .badge.active-badge { background: #e8f2dd; color: #3e632b; }
.badge.cancelled, .badge.declined { background: #f8ede5; color: #925537; }
.badge.pending { background: #fcf1d9; color: #785e2c; }
.badge.completed, .badge.fulfilled { background: #eff1ed; color: #667064; }
.workspace-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 40px; align-items: start; }
.workspace-sidebar { position: sticky; top: 115px; }
.panel-nav { display: flex; flex-direction: column; gap: 6px; }
.panel-link { display: flex; align-items: center; text-align: left; gap: 12px; padding: 15px 14px; min-height: 50px; width: 100%; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.45; }
.panel-link:hover { background: #edf1e6; color: var(--forest); }
.panel-link.active { background: var(--forest); color: white; }
.nav-number { font-size: 9px; color: #91a080; }
.panel-link.active .nav-number { color: #b9d394; }
.sidebar-note { margin: 28px 14px 0; border-top: 1px solid var(--line); padding-top: 25px; }
.sidebar-note p { font-size: 11px; color: var(--muted); margin-top: 12px; }
.sidebar-note .timezone-note { margin-top: 23px; line-height: 1.8; }
.timezone-note strong { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.workspace-content { min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin: 1px 0 25px; }
.panel-heading p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 560px; }
.timezone-caption { font-size: 11px; color: var(--muted); margin: -3px 0 20px; }
.timezone-caption strong { font-weight: 500; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 45px; padding: 12px 19px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 550; line-height: 1.4; transition: background .15s, border-color .15s; }
.admin-button span[aria-hidden] { font-size: 17px; }
.admin-button.primary { background: var(--forest); color: white; border-color: var(--forest); }
.admin-button.primary:hover { background: #315443; }
.admin-button.secondary { background: #fff; color: var(--ink); }
.admin-button.secondary:hover { background: var(--sage); border-color: #b9c8ac; }
.admin-button.compact { min-height: 39px; padding: 9px 14px; font-size: 11px; white-space: nowrap; }
.admin-button.danger { color: #924f36; background: #fff; }
.admin-button.danger:hover { background: #fff4ee; border-color: #dfc6b8; }
.admin-button:disabled { opacity: .6; transform: none; }
.admin-page :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #8aab59; outline-offset: 3px; }
.admin-card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 28px; margin-bottom: 20px; }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }
.card-heading .eyebrow { margin-bottom: 9px; }
.small-note { font-size: 12px; line-height: 1.85; color: var(--muted); }
.small-note strong { color: var(--ink); font-weight: 550; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.four-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; margin-bottom: 21px; }
.field label { font-size: 12px; font-weight: 550; }
.field input, .field select, .field textarea, .window-row input { border: 1px solid #d9e0d5; color: var(--ink); background: #fbfcf9; padding: 12px 13px; width: 100%; min-width: 0; border-radius: 7px; min-height: 46px; font-size: 14px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #8a9186; }
.field input:hover, .field select:hover, .field textarea:hover, .window-row input:hover { border-color: #a8b69c; }
.field input:disabled { color: #848c80; background: #f0f2ed; }
.field textarea { resize: vertical; min-height: 114px; }
.field small { color: var(--muted); font-size: 11px; line-height: 1.7; }
.optional { color: var(--muted); font-size: 11px; font-weight: 400; margin-left: 5px; }
.unit-input { display: flex; align-items: center; border: 1px solid #d9e0d5; background: #fbfcf9; border-radius: 7px; }
.unit-input input { border: 0; background: transparent; }
.unit-input span { font-size: 11px; color: var(--muted); padding-right: 13px; }
.check-label, .switch-label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.check-label input, .switch-label input { width: 19px; height: 19px; accent-color: var(--forest); flex-shrink: 0; margin: 0; }
.check-label strong { display: block; font-size: 15px; font-weight: 550; }
.check-label small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 4px; }
.switch-label { background: var(--sage); border-radius: 8px; padding: 12px 15px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.duration-list { border-top: 1px solid var(--line); margin: 3px 0 19px; }
.duration-row { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.price-field { width: 170px; flex-shrink: 0; margin-bottom: 0; }
.currency-label { color: var(--muted); font-size: 10px; margin-left: 5px; }
.weekly-windows { margin-top: 20px; }
.weekday-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.weekday-label { padding-top: 13px; font-size: 13px; font-weight: 550; }
.day-windows { min-width: 0; }
.window-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.window-row input { font-size: 13px; max-width: 180px; padding: 10px; }
.window-row .time-divider { color: var(--muted); font-size: 11px; }
.icon-button { background: #f4f5ef; border: 1px solid var(--line); color: #7b5b4b; width: 40px; height: 42px; border-radius: 6px; flex-shrink: 0; font-size: 20px; }
.icon-button:hover { background: #f8ede5; }
.add-window { border: 0; padding: 7px 0; min-height: 36px; background: transparent; color: #5f7c43; font-size: 11px; font-weight: 550; text-align: left; }
.add-window:hover { color: var(--forest); }
.day-unavailable { font-size: 12px; color: #7f8878; display: inline-block; margin: 10px 15px 10px 0; }
.save-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin: 24px 0 35px; }
.save-bar .form-error { flex-basis: 100%; }
.save-bar > .small-note { max-width: 280px; }
.blocked-card { margin-top: 20px; }
.blocked-card > .small-note { margin-bottom: 20px; }
.blocked-card form { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.record-list { display: flex; flex-direction: column; gap: 15px; }
.record-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 24px; overflow-wrap: anywhere; }
.record-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.record-title { font-family: var(--heading); font-size: 18px; font-weight: 600; letter-spacing: -.45px; line-height: 1.4; }
.record-subtitle { color: var(--muted); font-size: 12px; margin-top: 5px; }
.record-subtitle a { text-decoration: underline; text-underline-offset: 3px; }
.record-meta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 24px; margin: 23px 0 0; }
.record-meta > div { min-width: 0; }
.record-meta dt { font-size: 10px; color: #7b8573; margin-bottom: 5px; }
.record-meta dd { margin: 0; font-size: 13px; font-weight: 500; }
.record-meta dd small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.record-message { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 16px; font-size: 12px; }
.record-message strong { display: block; color: #7b8573; font-size: 10px; font-weight: 400; margin-bottom: 6px; }
.record-message p { white-space: pre-wrap; }
.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.record-actions .record-id { margin-left: auto; font-size: 9px; color: #879080; }
.record-footnote { color: var(--muted); font-size: 10px; margin-top: 18px; }
.archive { border-top: 1px solid var(--line); margin-top: 20px; }
.archive > summary { cursor: pointer; font-size: 12px; color: var(--muted); padding: 19px 0; }
.archive .record-list { margin-bottom: 10px; }
.empty-state { border: 1px dashed #ccd7c2; background: #f0f4e9; border-radius: 13px; padding: 35px 28px; }
.empty-state h3 { font-size: 21px; margin-bottom: 11px; }
.empty-state p { font-size: 12px; color: var(--muted); max-width: 490px; }
.empty-state .admin-button { margin-top: 20px; }
.notice { background: #eef3e5; border: 1px solid #dde6d1; border-radius: 9px; padding: 16px 19px; font-size: 12px; color: #607453; margin-bottom: 22px; line-height: 1.8; }
.error-notice, .form-error { color: #87452f; background: #fff3eb; border: 1px solid #ecd9cb; border-radius: 8px; padding: 12px 15px; font-size: 12px; line-height: 1.75; }
.form-error { margin: 0 0 17px; }
.compact-list { margin-top: 21px; }
.compact-list .record-card { padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.compact-list .record-title { font-size: 15px; }
.compact-list .empty-state { padding: 23px; }
.share-note { background: #f2f5eb; border-radius: 8px; margin-top: 24px; padding: 17px 19px; font-size: 12px; }
.share-note strong { font-weight: 550; }
.share-note p { color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.share-note a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
#user-form, #block-form { margin-top: 20px; }
.admin-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 57px; padding: 23px 0 6px; border-top: 1px solid var(--line); color: #7b8573; font-size: 10px; }
.access-card { background: white; border: 1px solid var(--line); border-radius: 20px; width: min(100%, 590px); margin: 35px auto 70px; padding: 48px; }
.access-mark { display: block; font-family: var(--heading); font-size: 54px; letter-spacing: -5px; line-height: 1; color: #cfdbbf; margin-bottom: 32px; font-weight: 650; }
.access-mark > span { color: #9bb877; }
.access-card h1 { font-size: clamp(29px, 4vw, 37px); letter-spacing: -1.4px; }
#access-description { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 19px 0 24px; }
.access-card .admin-button { margin-bottom: 20px; }
.access-card .small-note { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 7px; font-size: 11px; }
.loading-state { display: flex; align-items: center; gap: 12px; min-height: 85px; font-size: 12px; color: var(--muted); }
.login-form .admin-button { width: 100%; }
.password-settings { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.password-settings > summary { cursor: pointer; padding: 12px 19px; color: var(--forest); font-size: 12px; font-weight: 550; min-height: 44px; }
.password-settings[open] > summary { border-bottom: 1px solid var(--line); }
.password-card { padding: 24px; max-width: 760px; }
.password-card h2 { font-size: 23px; letter-spacing: -.65px; }
.password-card > .small-note { margin: 10px 0 21px; }
.login-form[aria-busy="true"], #password-form[aria-busy="true"] { cursor: progress; }
.spinner { width: 18px; height: 18px; border: 2px solid #dce5d3; border-top-color: #657e4c; border-radius: 50%; animation: admin-spin .9s linear infinite; flex-shrink: 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: var(--forest); color: white; max-width: min(560px, calc(100% - 32px)); padding: 15px 23px; box-shadow: 0 8px 25px #1e3b3125; border-radius: 9px; font-size: 13px; z-index: 80; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes admin-spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .workspace-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 55px; } .admin-card { padding: 34px; } .four-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .admin-shell { width: calc(100% - 48px); } .workspace-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 27px; } .panel-link { font-size: 12px; padding-inline: 11px; gap: 9px; } .admin-card { padding: 23px; } .weekday-row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; } .header-label { display: none; } }
@media (max-width: 820px) { .admin-header-inner { min-height: 75px; } .admin-main { padding-top: 32px; } .workspace-heading { margin-bottom: 27px; } .workspace-layout { display: block; } .workspace-sidebar { position: static; margin-bottom: 30px; } .panel-nav { flex-direction: row; flex-wrap: wrap; gap: 7px; } .panel-link { width: auto; min-height: 44px; padding: 11px 15px; font-size: 12px; } .nav-number { display: none; } .sidebar-note { display: flex; align-items: center; gap: 12px; padding: 17px 0 0; margin: 17px 0 0; } .sidebar-note > p:not(.timezone-note) { display: none; } .sidebar-note .timezone-note { font-size: 10px; margin: 0 0 0 auto; } .timezone-note br { display: none; } .timezone-note strong { margin-left: 7px; } .admin-card { padding: 27px; } }
@media (max-width: 560px) { .admin-shell { width: calc(100% - 32px); } .admin-header-inner { gap: 12px; flex-wrap: wrap; padding-block: 16px; } .admin-header .wordmark { font-size: 17px; } .header-actions { gap: 12px; } .return-link { font-size: 0; gap: 0; } .return-link span { font-size: 17px; } .header-actions .admin-button { padding: 8px 11px; font-size: 10px; min-height: 36px; } .workspace-heading { display: block; } .account-caption { margin-top: 18px; font-size: 11px; } .workspace-subtitle { font-size: 12px; max-width: 290px; } .panel-nav { gap: 6px; } .panel-link { font-size: 11px; padding: 11px 12px; } .sidebar-note { gap: 8px; } .sidebar-note .timezone-note { font-size: 9px; } .timezone-note strong { display: block; margin: 0; } .panel-heading { gap: 13px; margin-bottom: 23px; } .panel-heading p { font-size: 12px; } .panel-heading .admin-button { padding: 8px 10px; font-size: 10px; } .admin-page h2 { font-size: 27px; } .admin-page h3 { font-size: 21px; } .admin-card { padding: 22px 19px; border-radius: 12px; } .card-heading { gap: 15px; flex-wrap: wrap; margin-bottom: 18px; } .form-grid, .four-fields { grid-template-columns: 1fr; gap: 0; } .field input, .field select, .field textarea { font-size: 16px; } .duration-row { align-items: flex-start; flex-direction: column; gap: 16px; } .price-field { width: 100%; } .check-label strong { font-size: 14px; } .weekday-row { grid-template-columns: 1fr; gap: 6px; padding-block: 17px; } .weekday-label { padding-top: 0; font-size: 12px; } .window-row { gap: 7px; } .window-row input { font-size: 16px; padding-inline: 7px; max-width: none; } .window-row .time-divider { font-size: 10px; } .icon-button { width: 35px; height: 45px; } .weekly-timezone { font-size: 9px; } .save-bar { align-items: stretch; flex-direction: column; } .save-bar > .small-note { max-width: none; } .save-bar .admin-button { width: 100%; } .record-card { padding: 21px 19px; } .record-title { font-size: 17px; } .record-meta { grid-template-columns: 1fr; gap: 15px; margin-top: 20px; } .record-meta dd { font-size: 13px; } .record-actions .record-id { flex-basis: 100%; margin-top: 4px; } .record-actions .admin-button { flex-grow: 1; } .empty-state { padding: 28px 22px; } .admin-footer { flex-direction: column; gap: 5px; margin-top: 35px; font-size: 9px; } .access-card { margin: 20px auto 45px; padding: 34px 25px; } .access-mark { font-size: 48px; margin-bottom: 26px; } .access-card h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-color: #a2b58b; } }

.access-mark > img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
