/* Touch layouts shared by the public site, customer portal and clinic. */
.mobile-actions,.workspace-picker,.booking-service-picker{display:none}
.account-layout>* , .booking-layout>* , .workspace>*{min-width:0}
.service-preview>*{min-width:0}
.list-row p,.legal p,.journal-entry p,.appointment p,.field-help{overflow-wrap:anywhere}
input,textarea,select{max-width:100%}
@media(max-width:850px){
  .workspace-sidebar>nav{display:none}
  .workspace-picker{display:block;margin-top:15px}
  .workspace-picker label{font-size:13px;font-weight:500}
  .workspace-picker select{width:100%;min-height:48px;font-size:16px}
  .workspace-sidebar>.text-link,.workspace-sidebar>.logout-form{display:inline-block;margin:10px 18px 0 0}
  .workspace-sidebar .text-button{min-height:44px}
}
@media(max-width:600px){
  body{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
  .wrap{padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
  input,select,textarea{font-size:16px;min-height:48px;min-width:0}
  input[type="datetime-local"]{width:100%;appearance:none;-webkit-appearance:none}
  input[type="checkbox"]{min-height:22px;min-width:22px;width:22px;height:22px}
  textarea{min-height:140px}
  .checkbox{padding-block:8px;min-height:48px;font-size:14px;gap:12px}
  .button,.button.small,.menu-toggle{min-height:48px;font-size:15px}
  .text-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.6}
  .text-button{min-height:44px;font-size:15px}
  summary{min-height:48px;padding-block:12px;font-size:15px;line-height:1.6}
  .site-header nav a{min-height:48px;font-size:16px}
  .hero h1{font-size:clamp(42px,12vw,53px)}
  .hero-photo{height:clamp(280px,98vw,380px)}
  .hero .eyebrow{line-height:1.8}
  .price-row p,.panel p,.account-panel p,.booking-slot p,.list-row p,.about-grid>div>p:not(.eyebrow),.about-detail p{font-size:16px;line-height:1.8}
  .price-row{column-gap:12px}
  .service-card h3,.legal h1,.legal h2{overflow-wrap:anywhere;hyphens:auto}
  .price-row>.text-link{justify-self:start}
  .appointment-body p{font-size:14px}
  .appointment,.panel,.account-panel{padding:22px}
  .account-layout{gap:26px}
  .account-copy h1{margin-bottom:18px}
  .account-copy>.lead{margin-bottom:15px}
  .account-copy>p:not(.eyebrow):not(.lead){display:none}
  .account-copy>.text-link{margin-top:5px}
  .account-panel form>.button,.editor>.button,.save-bar>.button{width:100%}
  .account-panel>.text-link{margin-top:15px}
  .booking-slot{align-items:stretch;gap:18px}
  .booking-filter-links{display:none}
  .booking-service-picker{display:block}
  .booking-layout.is-confirming>aside{display:none}
  .booking-slot>form{max-width:none;width:100%}
  .booking-slot .button{width:100%;margin-top:8px}
  .booking-slot .checkbox{font-size:14px}
  .list-row{align-items:stretch}
  .list-row>div{min-width:0;width:100%}
  .list-row>form,.list-row>details{width:100%;max-width:100%}
  .inline-actions form>.button,.inline-actions form>select{width:100%}
  .form-grid label,.form-grid .field-help{font-size:14px}
  .service-editor{min-width:0}
  .service-editor legend{max-width:100%;overflow-wrap:anywhere;line-height:1.35}
  .workspace-main h1{font-size:clamp(32px,9vw,39px);overflow-wrap:anywhere}
  .workspace-main>.eyebrow{font-size:10px}
  .workspace-sidebar .eyebrow{font-size:10px}
  .workspace{gap:24px;padding-top:25px}
  .workspace-sidebar{padding-bottom:14px;border-bottom:1px solid var(--line)}
  .workspace-picker{margin-top:8px}
  .footer-bottom a,.footer-main a:not(.footer-brand){display:inline-flex;align-items:center;min-height:44px}
  .footer-bottom{gap:5px 22px}
  .footer-main{gap:25px}
  .mobile-actions{display:grid;grid-template-columns:1fr 1.15fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:20;gap:6px;padding:10px max(12px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -4px 20px #2634230b}
  .mobile-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px;font-size:14px;font-weight:600;line-height:1.5;text-align:center;color:var(--olive-dark);border:1px solid var(--line)}
  .mobile-actions .primary-action{background:var(--olive);color:white;border-color:var(--olive)}
  body:has(input:focus,textarea:focus,select:focus) .mobile-actions{display:none}
  .table-scroll{overflow:visible}
  .table-scroll table,.table-scroll tbody{display:block}
  .table-scroll thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .table-scroll tr{display:block;border:1px solid var(--line);margin-bottom:16px;background:var(--white);padding:12px}
  .table-scroll td{display:grid;grid-template-columns:75px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}
  .table-scroll td:last-child{border-bottom:0}
  .table-scroll td::before{content:attr(data-label);font-weight:600;color:var(--muted)}
}
.rie-portrait{margin:0;width:100%;max-width:420px;justify-self:center}
.rie-portrait img{display:block;width:100%;height:auto;border-radius:100px 8px 8px 8px}
.rie-portrait figcaption{font-size:14px;color:var(--muted);padding-top:12px;text-align:center}
.footcare-guide{padding-top:36px;padding-bottom:48px}
.footcare-guide .section-heading{margin-bottom:24px}
.footcare-guide-figure{margin:0 auto;max-width:1040px}
.footcare-guide-figure a{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white)}
.footcare-guide-figure a:focus-visible{outline:3px solid var(--olive);outline-offset:4px}
.footcare-guide-figure img{display:block;width:100%;height:auto}
.footcare-guide-figure figcaption{padding:12px 0;color:var(--muted);font-size:14px;text-align:center}
.footcare-guide-text{max-width:1040px;margin:12px auto 0;line-height:1.7}
.footcare-guide-text summary{cursor:pointer;padding:12px 0;font-weight:600}
.footcare-guide-text ul{padding-left:24px}.footcare-guide-text li{margin-bottom:12px}
@media(max-width:360px){
  .site-header{padding-inline:16px;gap:8px}
  .brand{gap:6px}.brand img{width:24px}.brand>span{font-size:20px}.brand small{font-size:6.5px;letter-spacing:1px}
  .menu-toggle{padding-inline:11px;gap:8px;font-size:13px}
  .wrap{padding-inline:16px}.account-panel,.panel,.appointment{padding:18px}
  .page-intro h1{font-size:39px}.price-row h2{font-size:25px}
}

.bot-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.booking-slot>div{min-width:0;max-width:100%}
.week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 16px}.week-toolbar h2{font-size:30px;margin:6px 0}.week-toolbar nav{display:flex;flex-wrap:wrap;gap:8px}.week-toolbar .button{min-height:44px}
.week-date-picker{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}.week-date-picker input{width:auto;min-width:150px}.week-counts{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.week-counts span{padding:12px 16px;background:var(--sage);border-radius:6px;font-size:14px}.week-counts b{font-size:21px;margin-right:6px}.week-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.week-day-picker{display:none}
.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:30px;background:var(--white)}.week-day{min-width:0;padding:8px;border-right:1px solid var(--line)}.week-day:last-child{border:0}.week-day>header{padding:12px 2px;border-bottom:1px solid var(--line);margin-bottom:12px}.week-day h3{font-family:var(--sans);font-size:13px;margin:0}.week-day>header p{font-size:12px;margin:6px 0 0;color:var(--muted)}.week-day.is-today>header{color:var(--olive-dark);background:var(--sage);border-radius:5px}.week-empty{font-size:12px;line-height:1.5;color:var(--muted);padding:12px 0}
.week-event{border:1px solid #b7c5a7;border-left:3px solid var(--olive);border-radius:6px;margin-bottom:10px;background:#eff3e9;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.week-event.status-open{background:#fffefa;border-style:dashed;border-left:3px solid #aab59b}.week-event.status-completed{background:#edf1ef;border-color:#b9c9c1}.week-event.status-no_show{background:#fbede8;border-color:#d3afa0}.week-event summary{display:flex;flex-direction:column;gap:5px;cursor:pointer;padding:10px 7px;list-style:none}.week-event summary::-webkit-details-marker{display:none}.week-time{font-weight:700;font-size:13px}.week-status{font-size:10px;text-transform:uppercase;letter-spacing:.3px;color:var(--muted)}.week-event strong{font-size:13px;line-height:1.4}.week-expand{font-size:10px;text-decoration:underline;color:var(--olive-dark);margin-top:3px}.week-event[open] .week-expand{display:none}.week-event-body{padding:0 7px 10px}.week-event-body p{font-size:12px}.week-event-body>a{display:block;padding:8px 0;text-decoration:underline}.week-event-body form{margin-top:10px}.week-event-body label{display:block;font-size:12px}.week-event-body select{width:100%;font-size:12px;min-width:0;padding:8px 3px}.week-event-body .button{width:100%;padding:10px 3px;font-size:11px;white-space:normal}.week-event-body .checkbox{display:flex;align-items:start;gap:5px;margin-top:10px}.week-event-body input[type=checkbox]{flex-shrink:0}.week-cancelled{margin-top:20px}
@media(max-width:1150px){.week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.week-day{border-bottom:1px solid var(--line);min-height:140px}.week-toolbar{align-items:start;flex-direction:column}}
@media(max-width:700px){.week-grid{display:block;border:0;background:transparent}.week-day{display:none;padding:0;border:0}.week-day.is-selected{display:block}.week-day h3{font-size:21px}.week-day>header{padding:16px}.week-day-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:14px}.week-day-picker a{text-align:center;font-size:11px;padding:10px 0;border:1px solid var(--line);border-radius:5px;min-height:48px}.week-day-picker span{display:block;margin-top:4px;font-size:11px}.week-day-picker a[aria-current]{background:var(--olive-dark);color:white;border-color:var(--olive-dark)}.week-event summary{padding:16px;font-size:15px}.week-event strong{font-size:18px}.week-time{font-size:18px}.week-status,.week-expand{font-size:12px}.week-event-body{padding:0 16px 16px}.week-event-body p,.week-event-body label{font-size:15px}.week-event-body select{font-size:16px;padding:12px}.week-event-body .button{font-size:15px}.week-counts{gap:6px}.week-counts span{padding:8px 10px;font-size:12px}.week-counts b{font-size:18px}.week-toolbar nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.week-toolbar nav .button{font-size:12px;padding:10px 3px}.week-date-picker label{width:100%}.week-shortcuts .button{flex:1;white-space:normal;text-align:center}}
.public-calendar-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:start;padding-bottom:80px}.public-month,.public-day-times{min-width:0;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:28px}.public-month-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.public-month-heading h2{font-size:30px;margin-top:7px}.public-month-heading nav{display:flex;gap:8px}.public-month-heading nav a{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;font-size:22px}.public-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.public-month-grid .weekday{font-size:12px;text-align:center;color:var(--muted);padding:8px 0}.calendar-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:76px;border-radius:8px;background:#f5f4ef;color:#999c91;font-size:15px}.calendar-date span{font-size:9px;text-align:center}.calendar-date.outside-month{background:transparent;color:#c7c9c1}.calendar-date.has-times{background:var(--sage);color:var(--olive-dark);border:1px solid #b5c39b}.calendar-date.has-times:hover{background:#dce5cd}.calendar-date.is-selected{background:var(--olive-dark);color:white;border-color:var(--olive-dark)}.calendar-key{margin-top:20px}.calendar-key>span{color:var(--olive);margin-right:5px}.public-day-times h2{font-size:32px;margin:8px 0 18px}.public-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}.public-time{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;border:1px solid #b5c39b;border-radius:8px;color:var(--olive-dark);background:var(--sage);padding:10px}.public-time strong{font-size:20px}.public-time span{font-size:12px}.public-time:hover{background:var(--olive-dark);color:white}.public-booking-confirm{max-width:840px;padding-bottom:80px}.public-booking-confirm>.panel{margin-top:25px;padding:32px}.public-booking-confirm .editor{margin-top:25px}.public-booking-confirm h2{font-size:32px}
@media(max-width:850px){.public-calendar-layout{grid-template-columns:minmax(0,1fr);gap:22px;max-width:650px}.public-month-heading h2{font-size:28px}.calendar-date{min-height:65px}.public-day-times{scroll-margin-top:20px}}
@media(max-width:400px){.public-month,.public-day-times{padding:16px}.public-month-grid{gap:4px}.calendar-date{min-height:53px;font-size:14px}.calendar-date span{font-size:8px}.calendar-date:not(.has-times)>span{display:none}.public-month-grid .weekday{font-size:10px}.public-month-heading h2{font-size:25px}.public-month-heading{gap:5px}.public-month-heading nav a{min-width:40px;min-height:44px}.public-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-booking-confirm>.panel{padding:20px}.public-booking-confirm h2{font-size:26px}}
.closure-badge{display:block;background:#f2e5cf;color:#654b24;border:1px solid #d9c49b;border-radius:6px;padding:10px 12px;font-weight:600;margin:12px 0}.calendar-date.is-closed{background:#f2e5cf;border:1px solid #d9c49b;color:#654b24}.calendar-date.is-selected-closed{background:#765a30;color:white}.calendar-date.is-closed span{font-size:9px;display:block;overflow-wrap:anywhere}.public-day-times .closure-badge{margin:16px 0}
@media(max-width:400px){.calendar-date.is-closed span{font-size:7px;line-height:1.2;display:block}}
.public-time>b{font-size:11px;margin-top:5px}.public-time.is-busy{background:#efefeb;border-color:#d7d8d1;color:#71766b;cursor:default}.public-time.is-busy:hover{background:#efefeb;color:#71766b}.calendar-date.fully-booked{border:1px solid #d7d8d1;background:#efefeb;color:#71766b}.calendar-date.fully-booked span{display:block}

html{scroll-behavior:auto!important}.calendar-go{display:flex;flex-wrap:wrap;gap:12px 24px}.calendar-tools>.panel{margin:20px 0}.calendar-tools>[hidden]{display:none!important}.day-add-button{width:100%;padding:10px 3px;min-height:44px;background:var(--sage);border:1px solid var(--line);border-radius:5px;color:var(--olive-dark);font-size:12px;margin-bottom:10px}.calendar-tools:empty{display:none}

html,body{overflow-anchor:none}

/* One aligned, compact calendar control panel on desktop and clinic tablets. */
.calendar-dashboard{border:1px solid var(--line);border-radius:8px;background:var(--white);padding:20px;margin:20px 0 24px}
.calendar-dashboard .week-toolbar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
.calendar-dashboard .week-toolbar h2{font-size:26px;line-height:1.25;margin:4px 0 0}
.calendar-dashboard .week-toolbar .eyebrow{margin:0;font-size:10px}
.calendar-dashboard .week-toolbar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:auto;flex-shrink:0;border:1px solid var(--line);border-radius:4px;overflow:hidden}
.calendar-dashboard .week-toolbar nav .button{border:0;border-right:1px solid var(--line);border-radius:0;min-height:44px;margin:0;padding:10px 14px;font-size:12px;white-space:nowrap}
.calendar-dashboard .week-toolbar nav .button:last-child{border-right:0}
.calendar-dashboard .calendar-go{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:14px 0;border-top:1px solid var(--line)}
.calendar-dashboard .week-date-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;margin:0;min-width:0}
.calendar-dashboard .week-date-picker label{grid-column:1/-1;font-size:12px;margin:0;width:auto}
.calendar-dashboard .week-date-picker input{min-width:0;width:100%;min-height:44px;height:44px;box-sizing:border-box;margin:0;padding:8px 10px;font-size:14px}
.calendar-dashboard .week-date-picker button{min-height:44px;height:44px;padding:8px 16px;font-size:12px;margin:0}
.calendar-dashboard .week-counts{display:flex;gap:18px;flex-wrap:wrap;margin:0;padding:4px 0 15px}
.calendar-dashboard .week-counts span{padding:0;background:none;border-radius:0;font-size:12px;color:var(--muted)}
.calendar-dashboard .week-counts b{font-size:15px;color:var(--ink);margin-right:4px}
.calendar-dashboard .week-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding-top:15px;border-top:1px solid var(--line)}
.calendar-dashboard .week-shortcuts .button{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;line-height:1.3;padding:9px 6px;margin:0;white-space:normal;text-align:center;box-sizing:border-box}
@media(max-width:700px){.calendar-dashboard{padding:15px}.calendar-dashboard .week-toolbar{flex-direction:column;align-items:stretch;gap:12px}.calendar-dashboard .week-toolbar h2{font-size:24px}.calendar-dashboard .week-toolbar nav{width:100%}.calendar-dashboard .calendar-go{gap:12px}.calendar-dashboard .week-date-picker{grid-template-columns:minmax(0,1fr)}.calendar-dashboard .week-date-picker button{width:100%}.calendar-dashboard .week-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-dashboard .week-shortcuts .button:first-child{grid-column:1/-1}.calendar-dashboard .week-counts{gap:8px 14px}}

/* Calendar-first layout: the controls stay shallow until date search is opened. */
.calendar-workspace{padding-top:24px}
.calendar-workspace .workspace-main>.eyebrow{display:none}
.calendar-workspace .workspace-main>h1{font-size:28px;line-height:1.15;margin:0 0 10px}
.calendar-workspace .calendar-dashboard{position:relative;padding:12px 14px;margin:0 0 14px;border-radius:5px}
.calendar-workspace .calendar-dashboard .week-toolbar{margin:0 0 5px;gap:12px}
.calendar-workspace .calendar-dashboard .week-toolbar h2{font-size:22px;margin:2px 0 0}
.calendar-workspace .calendar-dashboard .week-toolbar .eyebrow{font-size:9px;line-height:1.2}
.calendar-workspace .calendar-dashboard .week-toolbar nav .button{min-height:32px;height:32px;padding:5px 12px;font-size:12px}
.calendar-workspace .calendar-dashboard .week-counts{gap:14px;margin:0;padding:0 0 7px}
.calendar-workspace .calendar-dashboard .week-counts span{font-size:11px;line-height:1.4}
.calendar-workspace .calendar-dashboard .week-counts b{font-size:12px}
.calendar-workspace .calendar-jump{margin:0 0 8px;padding:0}
.calendar-workspace .calendar-jump>summary{display:list-item;cursor:pointer;font-size:12px;line-height:1.3;padding:4px 0;color:var(--olive-dark)}
.calendar-workspace .calendar-dashboard .calendar-go{padding:8px 0 3px;border:0;gap:12px}
.calendar-workspace .calendar-dashboard .week-date-picker input,.calendar-workspace .calendar-dashboard .week-date-picker button{min-height:34px;height:34px;padding:5px 10px}
.calendar-workspace .calendar-dashboard .week-shortcuts{padding-top:8px;gap:6px}
.calendar-workspace .calendar-dashboard .week-shortcuts .button{min-height:34px;height:34px;padding:5px;font-size:11px}
.calendar-workspace .week-day-picker{margin-block:8px}
.calendar-workspace .calendar-tools:empty{display:none}
@media(max-width:700px){.calendar-workspace{padding-top:16px;gap:14px}.calendar-workspace .workspace-main>h1{font-size:25px;margin-bottom:8px}.calendar-workspace .calendar-dashboard{padding:10px}.calendar-workspace .calendar-dashboard .week-toolbar{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}.calendar-workspace .calendar-dashboard .week-toolbar h2{font-size:19px}.calendar-workspace .calendar-dashboard .week-toolbar nav{width:auto}.calendar-workspace .calendar-dashboard .week-toolbar nav .button{padding:5px 9px}.calendar-workspace .calendar-dashboard .week-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-workspace .calendar-dashboard .week-shortcuts .button:first-child{grid-column:auto}.calendar-workspace .calendar-dashboard .week-shortcuts .button{min-height:38px;height:auto;font-size:11px}.calendar-workspace .calendar-jump>summary{min-height:28px;padding-block:5px;box-sizing:border-box}}
@media(pointer:coarse) and (min-width:701px){.calendar-workspace .calendar-dashboard .week-shortcuts .button,.calendar-workspace .calendar-dashboard .week-toolbar nav .button{min-height:38px;height:38px}}

.customers-workspace{padding-top:24px}.customers-workspace .workspace-main>.eyebrow{display:none}.customers-workspace .workspace-main>h1{font-size:28px;line-height:1.15;margin:0 0 14px}.customer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.customer-search{display:flex;gap:6px;align-items:center;flex:1;max-width:520px;margin:0}.customer-search-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.customer-search input{width:100%;min-width:0;height:36px;min-height:36px;padding:7px 10px;font-size:13px;box-sizing:border-box}.customer-toolbar .button{min-height:36px;height:36px;padding:7px 12px;font-size:12px;white-space:nowrap;margin:0}.customer-filters{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:4px}.customer-filters a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;font-size:12px;border:1px solid transparent;border-radius:4px}.customer-filters a[aria-current]{background:var(--sage);border-color:var(--line);font-weight:600}.customer-filters a span{font-size:11px;color:var(--muted)}.customer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.customer-row-main strong{display:block;font-size:16px;font-weight:600}.customer-row-main span{display:block;font-size:12px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.customer-access-badge{font-size:11px;line-height:1.4;padding:5px 8px;background:var(--sage);border-radius:4px;white-space:nowrap}.access-offline,.access-disabled,.access-archived{background:#f0eee8;color:var(--muted)}.customer-row-action{font-size:12px;white-space:nowrap;padding:7px 0}.customer-enable{margin-top:10px}.customer-enable>summary{cursor:pointer;display:inline-flex}.customer-enable form{margin-top:15px;max-width:550px}.customer-create>summary{cursor:pointer;font-size:16px;font-weight:600}.customer-create-area{margin-top:15px}.customer-create-area .panel{padding:18px;margin-block:12px}
@media(max-width:600px){.customers-workspace{padding-top:16px}.customers-workspace .workspace-main>h1{font-size:25px}.customer-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.customer-row-action{grid-column:2;grid-row:2}.customer-row-main{grid-row:1/3}.customer-filters{gap:2px}.customer-filters a{padding:7px;font-size:11px}.customer-toolbar{gap:8px}.customer-toolbar .button{padding:7px 9px}.customer-search input{font-size:16px}.customer-access-badge{font-size:10px}}

.journal-choice{max-width:780px;margin:28px auto;padding:0 20px}.journal-choice h1{font-size:clamp(28px,4vw,40px)}.journal-choice fieldset{border:0;padding:0;margin:20px 0}.journal-choice legend{font-weight:700;margin-bottom:12px}.journal-choice .checkbox{padding:12px 0;align-items:flex-start}.journal-choice input[type=radio]{flex:0 0 auto;width:20px;height:20px;margin-top:2px}

/* The footcare guide remains visible as readable text, with the original diagram on demand. */
.footcare-guide{padding-block:30px 36px}
.guide-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.guide-heading h2{font-size:clamp(27px,3vw,36px);margin-top:8px}
.guide-heading>p{max-width:280px;font-size:14px;line-height:1.6}
.guide-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:var(--white)}
.guide-option{position:relative;padding:22px 24px 24px;border-right:1px solid var(--line)}
.guide-option:last-child{border-right:0}
.guide-number{display:block;font:italic 19px var(--serif);color:var(--olive);margin-bottom:12px}
.guide-option h3{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin-bottom:12px}
.guide-option p{font-size:14px;line-height:1.7}
.guide-option strong{color:var(--ink);font-weight:600}
.guide-option u{text-underline-offset:3px}
.guide-option .guide-extra{font-size:12px;margin-top:10px}
.guide-original{margin-top:8px;border-bottom:1px solid var(--line)}
.guide-original>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;color:var(--olive);font-size:13px;font-weight:600;list-style:none;min-height:44px}
.guide-original>summary::-webkit-details-marker{display:none}
.guide-original>summary span{font-size:21px;font-weight:400}
.guide-original[open]>summary span{transform:rotate(45deg)}
.guide-original .footcare-guide-figure{max-width:690px;margin:8px auto 18px}
.guide-original .footcare-guide-figure figcaption{font-size:12px;padding:8px}
@media(max-width:680px){.guide-heading{display:block;margin-bottom:18px}.guide-heading>p{max-width:none;margin-top:10px}.guide-options{grid-template-columns:1fr}.guide-option{padding:18px 20px 18px 55px;border-right:0;border-bottom:1px solid var(--line)}.guide-option:last-child{border-bottom:0}.guide-number{position:absolute;top:20px;left:19px;margin:0;font-size:17px}.guide-option h3{font-size:23px;margin-bottom:9px}.footcare-guide{padding-block:24px 28px}}

.footmap-editor{border:1px solid var(--line);padding:14px;margin:16px 0}.footmap-editor>summary{font-weight:600;color:var(--olive);min-height:32px}.footmap-editor>p{font-size:13px;line-height:1.6;margin-top:12px}.footmap-toolbar{display:grid;grid-template-columns:1fr 2fr;gap:14px;margin-top:16px}.footmap-toolbar label{margin:0!important}.footmap-toolbar input,.footmap-toolbar select{width:100%;min-width:0;min-height:44px;padding:9px;font-size:14px}.footmap-selected{padding:10px;background:var(--sage);color:var(--ink)}.footmap-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.footmap-tabs button{min-height:44px;padding:8px 12px;gap:6px}.footmap-tabs [aria-pressed=true]{background:var(--sage)}.footmap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:600px;margin:auto}.footmap-grid [hidden]{display:none}.footmap-canvas{position:relative;cursor:crosshair;touch-action:manipulation;overflow:hidden}.footmap-canvas svg,.footmap-saved svg{display:block;width:100%;height:auto}.footmap-pins{position:absolute;inset:0;pointer-events:none}.footmap-pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border:1px solid var(--olive);border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;font:14px/1 "Segoe UI",sans-serif;color:var(--ink)}.footmap-pin sup{position:absolute;right:-9px;top:-9px;font-size:10px;background:var(--white);padding:1px 3px}.footmap-list{padding-left:24px;font-size:13px}.footmap-list li{margin:8px 0}.footmap-list li button{margin-left:12px;min-height:40px}.footmap-saved{border-top:1px solid var(--line);padding-top:14px;margin-top:16px}.footmap-saved h4{margin:0 0 10px}.footmap-saved .footmap-grid{max-width:450px}@media(max-width:580px){.footmap-toolbar{grid-template-columns:1fr}.footmap-editor{padding:10px}.footmap-tabs button{font-size:12px}.footmap-grid{gap:6px}}

.exam-editor{border:1px solid var(--line);padding:14px;margin:16px 0}.exam-editor summary{padding:10px 0;font-weight:600;color:var(--olive)}.exam-editor details{border-top:1px solid var(--line);margin-top:8px}.exam-editor>p{font-size:13px}.exam-checks,.exam-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.exam-checks .checkbox{margin:0;padding:8px 0;font-size:13px}.exam-selects label{font-size:13px}.exam-selects select{width:100%;min-height:44px}.exam-saved{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.exam-saved p{font-size:13px}@media(max-width:580px){.exam-checks,.exam-selects{grid-template-columns:1fr}}

.footmap-editor .footmap-grid{max-width:480px}

.customer-card{padding:22px}.customer-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.customer-card-grid>label{display:block;font-size:13px;margin:0!important}.customer-card-grid input:not([type=radio]){width:100%;min-height:44px;padding:10px 12px;margin-top:6px}.customer-card-grid fieldset{border:1px solid var(--line);padding:10px 12px;margin:0;min-width:0}.customer-card-grid legend{font-size:13px;font-weight:600;padding:0 4px}.customer-card-choice{display:flex;gap:24px;align-items:center}.customer-card-choice label{display:flex;gap:8px;align-items:center;min-height:44px;margin:0!important}.customer-card-choice input{width:19px;height:19px;margin:0}.customer-card-wide{grid-column:1/-1}.customer-card textarea.customer-card-other{width:100%;height:72px;min-height:72px;padding:10px 12px;margin-top:6px;resize:vertical}.customer-card-consent{margin:14px 0;font-size:13px}.customer-card-consent summary{min-height:36px;padding:6px 0}.customer-card .button{margin-top:10px}@media(max-width:580px){.customer-card{padding:16px}.customer-card-grid{grid-template-columns:1fr;gap:12px}.customer-card-wide{grid-column:auto}}

/* Compact customer-card disclosure: only the summary takes space until editing. */
details.customer-card{padding:0;max-width:900px;margin-block:16px}
.customer-card-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;list-style:none;cursor:pointer;min-height:72px}
.customer-card-summary::-webkit-details-marker{display:none}
.customer-card-summary strong{font-size:15px;font-weight:600}
.customer-card-summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}
.customer-card-edit{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;color:var(--olive);font-weight:600}
.customer-card-edit>span{font-size:20px;font-weight:400}
.customer-card[open]>.customer-card-summary{border-bottom:1px solid var(--line)}
.customer-card[open] .customer-card-edit>span{transform:rotate(45deg)}
.customer-card>form.editor{margin:0;padding:16px 18px}
.customer-card .customer-card-grid{gap:10px 16px}
.customer-card .customer-card-grid input:not([type=radio]){min-height:40px;height:40px;margin-top:3px;padding:7px 10px;font-size:14px}
.customer-card .customer-card-grid fieldset{padding:3px 10px 5px}
.customer-card .customer-card-choice{gap:22px}
.customer-card .customer-card-choice label{min-height:40px;font-size:13px}
.customer-card .customer-card-choice input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0}
.customer-card textarea.customer-card-other{height:60px;min-height:60px;margin-top:3px;font-size:14px}
.customer-card>form>.field-help{margin-top:10px;font-size:12px;line-height:1.6}
.customer-card-consent{margin:8px 0}
.customer-card-consent summary{min-height:32px;font-size:12px}
.customer-card .button.small{min-height:42px;padding:8px 14px;margin-top:8px}
@media(max-width:580px){.customer-card-summary{padding:12px 14px;gap:10px;align-items:start}.customer-card-edit{font-size:11px;white-space:normal}.customer-card>form.editor{padding:14px}.customer-card .customer-card-grid{gap:10px}}

/* Compact journal workspace; disclosure panels never force a scroll jump. */
.journal-compose.compact-journal{padding:0;margin-block:14px}
.compact-journal>summary{padding:14px 16px;min-height:48px;font-size:14px}
.compact-journal>form.editor{padding:0 16px 16px;margin:0}
.compact-journal form.editor>label{margin:8px 0 3px;font-size:12px}
.compact-journal #journal-title{height:40px;min-height:40px;padding:8px 10px;font-size:14px}
.journal-mini-menu{display:flex;flex-wrap:wrap;gap:5px;padding:10px 0;margin-bottom:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.journal-mini-menu button{background:transparent;border:1px solid var(--line);color:var(--olive);padding:7px 9px;font-size:11px;line-height:1.4;min-height:34px}
.journal-mini-menu button[aria-expanded=true]{background:var(--sage);border-color:var(--olive)}
.journal-section,.compact-journal .footmap-editor{border:1px solid var(--line);padding:0;margin:8px 0}
.journal-section>summary,.compact-journal .footmap-editor>summary{padding:10px 12px;font-size:13px;font-weight:600;min-height:42px;color:var(--olive)}
.journal-section[open]{padding:0 12px 12px}
.journal-section[open]>summary{margin:0 -12px 8px;border-bottom:1px solid var(--line)}
.journal-section textarea.journal-textarea{height:64px;min-height:64px;margin:0;padding:8px;font-size:14px}
.journal-section .journal-photo-input{margin-top:0;padding-top:0;border:0}
.journal-thread>summary{font-size:13px}.journal-thread{padding:14px 16px}
.journal-section h4{font-size:13px;margin:6px 0}
.journal-section .exam-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.journal-section .exam-checks label.checkbox{min-height:34px;margin:0;padding:5px 0;font-size:12px;gap:8px}
.journal-section .exam-checks input[type=checkbox]{width:17px;height:17px;min-height:17px;margin:0;flex:0 0 17px}
.exam-skin-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.exam-skin-columns .exam-checks{grid-template-columns:1fr}
.journal-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.journal-table-wrap table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px;color:var(--ink)}
.journal-table-wrap th,.journal-table-wrap td{border:1px solid #c8cfbd;padding:4px 6px;line-height:1.35;font-weight:400;vertical-align:middle}
.journal-table-wrap thead th,.journal-table-wrap th.exam-table-heading,.exam-joint-group th{background:var(--sage);font-weight:600}
.journal-table-wrap th{text-align:left}
.journal-table-wrap input:not([type=checkbox]):not([type=radio]){min-width:0;width:100%;height:30px;min-height:30px;padding:4px;border:0;background:var(--white);font-size:12px;margin:0}
.journal-table-wrap input[type=checkbox],.journal-table-wrap input[type=radio]{display:inline-block;width:17px;height:17px;min-height:17px;padding:0;margin:0;vertical-align:middle;accent-color:var(--olive)}
.journal-table-wrap td:has(input[type=radio]),.nail-grid td{text-align:center}
.exam-observations th:first-child{width:43%}.exam-observations label{display:flex;align-items:center;gap:6px;font-size:12px;margin:0!important}.exam-observations small{font-size:10px}
.exam-joints{min-width:560px}.exam-joints th:first-child{width:35%}.exam-joints th:last-child{width:23%}.exam-joints thead th{text-align:center}.exam-joints thead th:first-child{text-align:left}
.journal-section [data-clear-section]{font-size:11px;min-height:32px;margin-top:5px}
.footmap-editor .footmap-toolbar{display:grid;grid-template-columns:1fr 1.6fr auto;gap:8px;margin:0 0 8px}
.footmap-toolbar label{font-size:11px;margin:0!important}.footmap-toolbar input,.footmap-toolbar select{min-height:36px;height:36px;padding:5px;font-size:12px;margin:2px 0 0}
.footmap-toolbar button{min-height:36px;padding:5px 9px;align-self:end}
.footmap-editor .footmap-selected{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 8px;min-height:36px;margin:6px 0 8px}
.footmap-selected svg{width:26px;height:26px;flex:0 0 26px;color:var(--ink)}
.footmap-paper{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;align-items:start;max-width:760px;margin:auto}
.footmap-soles,.footmap-toes{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.footmap-paper .footmap-canvas{min-width:0}.footmap-paper .footmap-canvas svg{width:100%;height:auto}
.footmap-canvas{touch-action:manipulation;position:relative}.footmap-pins{position:absolute;inset:0;pointer-events:none}
.footmap-editor .footmap-pin{border:0;border-radius:0;background:transparent;width:26px;height:26px;color:#1e291b;pointer-events:none}
.footmap-pin svg{width:100%;height:100%}.footmap-pin sup{background:#fffefa;font-size:8px;right:-5px;top:-4px;padding:0 2px}
.footmap-editor .nail-grid{min-width:300px;font-size:9px}.nail-grid th:first-child{width:105px}.footmap-editor .nail-grid th,.footmap-editor .nail-grid td{padding:2px 1px;text-align:center}.footmap-editor .nail-grid tbody th{text-align:left;font-size:9px;padding-left:3px}
.footmap-editor .nail-grid input[type=checkbox]{width:13px;height:13px;min-height:13px}.nail-grid-wrap{margin-top:8px}
.footmap-symbol-key{margin-top:8px;border-top:1px solid var(--line)}.footmap-symbol-key>summary{font-size:12px;padding:8px 0}
.footmap-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:300px;overflow:auto}
.footmap-palette button{display:flex;align-items:center;gap:8px;text-align:left;background:var(--white);border:1px solid var(--line);padding:5px;font-size:11px;min-height:40px;color:var(--ink)}
.footmap-palette button[aria-pressed=true]{background:var(--sage);border-color:var(--olive)}.footmap-palette svg{width:27px;height:27px;flex:0 0 27px}
.footmap-editor .footmap-list{font-size:11px;margin:8px 0;padding-left:0;list-style:none}.footmap-editor .footmap-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0}.footmap-editor .footmap-list button{font-size:11px;min-height:28px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){.footmap-paper{grid-template-columns:1fr;max-width:420px}.footmap-soles{max-width:260px;margin:auto}.footmap-toes{max-width:260px;margin:auto}.footmap-editor .nail-grid{font-size:10px}.footmap-editor .nail-grid input[type=checkbox]{width:17px;height:17px;min-height:17px}.exam-skin-columns{grid-template-columns:1fr}.journal-section .exam-checks{grid-template-columns:1fr}.footmap-palette{grid-template-columns:1fr}.footmap-editor .footmap-toolbar{grid-template-columns:1fr 1fr}.footmap-toolbar button{grid-column:1/-1;justify-self:start}.journal-mini-menu button{font-size:10px;padding:6px 8px}.compact-journal>form.editor{padding-inline:12px}}

.footmap-editor .footmap-pin{width:10%;height:auto;aspect-ratio:1}.footmap-saved .footmap-list>li>svg{width:22px;height:22px;display:inline-block;vertical-align:middle;margin-right:5px}

.footmap-editor .footmap-list{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px}.footmap-editor .footmap-list li{margin:0;padding:0;gap:5px;line-height:1.4;min-height:26px}.footmap-editor .footmap-list button{padding:2px 4px;min-height:26px;line-height:1.2;margin:0}@media(max-width:600px){.footmap-editor .footmap-list{grid-template-columns:1fr}}
