[hidden]{display:none!important}

.password-control{position:relative;display:block}
.password-control input{padding-right:52px}
.password-control [data-toggle-password],.password-control [data-toggle-public-password]{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--deep);font-size:18px;display:grid;place-items:center}
.password-control [data-toggle-password]:hover,.password-control [data-toggle-public-password]:hover{background:var(--light)}

.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-pair>label{min-width:0}

.inline-details{margin:14px 0;border:1px solid #dce6e8;border-radius:12px;padding:12px 14px}
.inline-details>summary{cursor:pointer;color:#215c68;font-size:14px;font-weight:600}
.inline-details[open]>summary{margin-bottom:12px}

.consent-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important;font-size:14px}
.consent-check input[type=checkbox],.weekday-picks input[type=checkbox]{width:18px!important;height:18px;min-width:18px;margin:3px 0 0!important;display:inline-block!important;accent-color:#247f91}
.spam-trap{display:none!important}
.quiet-note{font-size:13px;line-height:1.5;color:#5a7279}

/* One compact rhythm across the practice workspace. */
.portal-shell{grid-template-columns:190px minmax(0,1fr)}
.portal-workspace{padding:18px 22px}
.portal-heading{margin-bottom:14px}
.portal-heading h1{font-size:24px}
.portal-heading .nav-label{font-size:10px}
.portal-nav nav button{font-size:13px;padding:8px 10px}
.portal-workspace h2{font-size:18px}
.portal-workspace h3{font-size:15px}
.portal-workspace p{line-height:1.5}
.portal-workspace .card,.portal-workspace form.editor{padding:15px;border-radius:12px}
.portal-workspace label{font-size:13px;margin-top:10px}
.portal-workspace button,.portal-workspace input,.portal-workspace select,.portal-workspace textarea{font-size:14px}
.portal-workspace input,.portal-workspace select{padding:8px 10px;min-height:36px}
.portal-workspace textarea{min-height:88px}
.list-filters{padding:12px 14px;gap:10px}
.compact-table th,.compact-table td{padding:9px 13px}
.compact-table td:first-child{min-width:180px}
.status-label{font-size:12px;padding:3px 8px}
.list-topline h2{margin:0}
.list-surface>.list-topline{padding:13px 15px;margin:0;border-bottom:1px solid #e4eaec}
.list-surface+.list-surface,.client-waitlist{margin-top:18px}
.patient-table .secondary{padding:6px 10px}
.button-link{display:inline-block;background:#247f91;color:white;padding:8px 14px;border-radius:20px;text-decoration:none;font-size:14px}

.message-folders{display:flex;gap:7px;flex-wrap:wrap;padding:0 14px 12px}
.message-folders button{padding:7px 11px}
.message-folders .active{background:#1c6571;color:white}
.message-row{border-bottom:1px solid #e5ebed;background:white}
.message-row:last-child{border-bottom:0}
.message-row>summary{list-style:none;display:flex;align-items:center;gap:13px;cursor:pointer;padding:12px 15px;min-height:58px}
.message-row>summary::-webkit-details-marker{display:none}
.message-row>summary:after{content:'⌄';color:#527b83}
.message-row[open]>summary:after{transform:rotate(180deg)}
.message-row>summary:hover,.message-row[open]>summary{background:#f1f7f7}
.message-row summary strong{font-size:14px;font-weight:600}
.message-row summary small{display:block;font-size:12px;color:#607b82;margin-top:3px}
.message-subject,.message-row summary>span:first-child:not(.message-dot){flex:1;min-width:0}
.message-subject strong{display:block;overflow-wrap:anywhere}
.message-meta{text-align:right;font-size:12px;color:#58757b;white-space:nowrap}
.message-dot{width:7px;height:7px;border-radius:50%;background:#e96026;flex:none}
.message-dot.done{background:#b7c7cc}
.message-reading{padding:16px 20px;background:#fcfdfd;font-size:14px;overflow-wrap:anywhere}
.message-reading .action-row{margin:14px 0 0}
.message-reading p{margin:8px 0}
.message-reading form{max-width:620px}
.message-reading fieldset{border:1px solid #dbe6e8;border-radius:10px;padding:12px}
.directory-drawer #richEditor{min-height:170px;padding:14px;border:1px solid #c6d9dd;border-radius:0 0 10px 10px}
.directory-drawer .rich-toolbar{padding:8px;gap:5px}
.directory-drawer .rich-toolbar button{font-size:12px;padding:5px 9px}
.directory-drawer .letter-preview{font-size:14px;margin:0}
.directory-drawer .letter-preview>img{max-height:130px;object-fit:contain;object-position:top}
.directory-drawer .editor{margin-bottom:10px}
.history-summary{padding:14px;cursor:pointer;font-size:14px}

.calendar-policy{padding:10px 14px;border:1px solid #dbe5e7;border-radius:12px;background:#fff;margin-bottom:14px}
.policy-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.policy-top label{margin:0!important}
.policy-top>label:first-child:not(.consent-check){display:flex;align-items:center;gap:10px;font-size:12px}
.policy-top select{width:auto;max-width:230px;margin:0}
.policy-top .consent-check{align-items:center;font-weight:600!important}
.policy-top .consent-check input{margin:0!important}
.policy-top .secondary{padding:6px 10px;font-size:12px}
.policy-top>.muted{flex:1;font-size:12px}
.policy-fields{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;border-top:1px solid #e1e9eb;margin-top:10px}
.policy-fields label{flex:1;min-width:150px}
.calendar-policy form p{font-size:12px;margin-bottom:0}
.care-tabs{gap:6px;margin-bottom:12px}
.care-tabs button{font-size:13px;padding:7px 11px}
.calendar-direct{gap:10px}
.calendar-direct label{font-size:12px}
.calendar-legend{font-size:11px}
.care-ribbon{font-size:13px;margin-bottom:12px;padding:8px 12px}
.notice-list{padding:12px 15px}
.notice-line{padding:10px 0;gap:12px;font-size:14px}
.notice-line p{margin:4px 0}
.notice-line small{font-size:11px}
.notice-line button{font-size:12px;padding:6px 9px}

.dashboard-greeting{margin:0 0 18px}
.dashboard-greeting h2{margin:0 0 5px;font-size:22px}
.dashboard-greeting p{margin:0;color:#5c7880;font-size:14px}
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.dashboard-shortcuts button{padding:14px 18px;text-align:left;display:flex;align-items:center;gap:13px;background:white!important;border:1px solid #dbe5e7;border-radius:12px}
.dashboard-shortcuts strong{font-size:25px;font-weight:500}
.dashboard-shortcuts span{font-size:13px}
.dashboard-appointment{display:flex;align-items:center;gap:16px;padding:12px 15px;border-bottom:1px solid #e4ecee;font-size:14px}
.dashboard-appointment>span:nth-child(2){flex:1}
.client-next-section{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:35px;min-height:330px;margin:0 0 22px;padding:30px 48px;border-radius:38px 90px 38px 38px;background:linear-gradient(135deg,#e5f1ec,#f5eee3);overflow:hidden;position:relative}.client-next-section:before,.client-next-section:after{content:'';position:absolute;width:55px;height:63px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#fff8;pointer-events:none}.client-next-section:before{left:22px;bottom:-21px}.client-next-section:after{left:72px;bottom:-50px;background:#e9602620}.client-next-section h2{font-size:30px;margin:0 0 10px}.client-next-section>div>p:not(.eyebrow){max-width:430px;color:#506f73}.client-next-hex{position:relative;width:255px;aspect-ratio:.94;padding:0;border:0;background:none;perspective:1200px;color:#193f49}.client-next-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20%;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);backface-visibility:hidden;transition:transform .5s ease;background:#fff9f1;filter:drop-shadow(0 8px 20px #193f4918)}.client-next-front{background:#fff4e8}.client-next-front small{text-transform:uppercase;letter-spacing:.13em;color:#a94821}.client-next-front strong{font-size:64px;line-height:1}.client-next-front span{font-weight:700;margin:5px 0}.client-next-face em{font-style:normal;font-size:12px;margin-top:9px;color:#37646b;text-align:center}.client-next-back{transform:rotateY(-180deg);background:#dcece7;text-align:center;gap:7px}.client-next-back strong{font-size:17px}.client-next-back span{font-size:13px}.client-next-hex:focus-visible{outline:4px solid #e96026;outline-offset:7px}.client-next-empty{display:flex;align-items:center;gap:28px;padding:26px 34px;margin-bottom:22px;border-radius:35px;background:#eef5ef}.client-brand-hexes{position:relative;width:105px;height:105px;flex:none}.client-brand-hexes i{position:absolute;width:40px;height:46px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#bfc6c1}.client-brand-hexes i:nth-child(1){left:0;top:0}.client-brand-hexes i:nth-child(2){left:44px;top:24px;background:#e96026}.client-brand-hexes i:nth-child(3){left:0;top:49px;background:#94bcb4}.client-brand-hexes i:nth-child(4){left:44px;top:73px;background:#d6d1c6}.client-brand-hexes i:nth-child(5){left:88px;top:49px;background:#247f91}.client-appointment-detail{border-radius:28px!important;background:#fffdf9!important}.client-appointment-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.client-appointment-detail dl>div{padding:11px 13px;border-radius:14px;background:#edf5f1}.client-appointment-detail dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#57757a}.client-appointment-detail dd{margin:3px 0 0;font-weight:600}.client-appointment-actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.appointment-policy{padding:13px 16px;border-radius:16px;background:#eef5ef;font-size:13px}.appointment-policy.late,.late-cancel-warning{background:#fff0e4!important;color:#743914;padding:13px 16px;border-radius:16px}.late-cancel-warning{font-weight:600}
@media(hover:hover) and (pointer:fine){.client-next-hex:hover .client-next-front{transform:rotateY(180deg)}.client-next-hex:hover .client-next-back{transform:rotateY(0)}}
body[data-portal-role="client"]{background:#f8f4ee}body[data-portal-role="client"] .portal-nav{background:#e9f2ed}body[data-portal-role="client"] .portal-workspace{background:radial-gradient(circle at 97% 3%,#f6dfcf 0 75px,transparent 76px),#fbfaf7}body[data-portal-role="client"] .portal-nav nav button{border-radius:18px}body[data-portal-role="client"] .portal-workspace .list-surface,body[data-portal-role="client"] .dashboard-shortcuts button{border-radius:22px;border-color:#dbe5dc;background:#fffdf9!important}body[data-portal-role="client"] .message-row:first-of-type{border-radius:18px 18px 0 0}body[data-portal-role="client"] .message-row:last-of-type{border-radius:0 0 18px 18px}body[data-portal-role="client"] .care-ribbon{border-radius:20px;background:#fff0e4}body[data-portal-role="client"] .button-link{border-radius:999px;background:#247f91}

@media(max-width:900px){.portal-shell{grid-template-columns:1fr}
.portal-workspace{padding:16px}
.portal-nav nav{gap:4px}
.portal-nav nav button{min-height:38px}
.portal-nav .nav-label{display:none}
.policy-top{gap:9px}
.dashboard-shortcuts{gap:8px}
.dashboard-shortcuts button{padding:12px;display:block}
.dashboard-shortcuts span{display:block;margin-top:5px}
.form-pair{gap:10px}
.message-meta{white-space:normal}
.compact-table.patient-table{min-width:660px}
.client-next-section{grid-template-columns:minmax(0,1fr) 220px;padding:28px 34px}.client-next-hex{width:215px}
}

@media(max-width:540px){.portal-workspace{padding:12px}
.form-pair{grid-template-columns:1fr}
.portal-workspace button{min-height:40px}
.portal-workspace input,.portal-workspace select{min-height:42px}
.message-row>summary{gap:8px;padding:12px}
.message-meta{max-width:90px;font-size:11px}
.message-reading{padding:12px}
.dashboard-appointment{flex-wrap:wrap;gap:6px}
.dashboard-appointment>strong{width:100%}
.policy-top>.muted{flex-basis:100%}
.policy-top>label:first-child:not(.consent-check){width:100%;justify-content:space-between}
.policy-fields{display:grid;grid-template-columns:1fr}
.dashboard-shortcuts span{font-size:11px}
.care-ribbon{align-items:flex-start}
.care-ribbon button{white-space:normal}
.portal-heading .nav-label{letter-spacing:.05em}
.client-next-section{grid-template-columns:1fr;padding:25px 20px;border-radius:28px 58px 28px 28px;text-align:center}.client-next-section>div>p:not(.eyebrow){margin-left:auto;margin-right:auto}.client-next-hex{width:min(240px,82vw);justify-self:center}.client-next-section>div p:last-child{font-size:12px}.client-next-empty{padding:22px;align-items:flex-start}.client-brand-hexes{transform:scale(.7);transform-origin:left top;width:72px}.client-appointment-detail dl{grid-template-columns:1fr}.client-appointment-actions>*{width:100%}
}

/* Public route: audience, category, service, practitioner, time or waiting list. */
body:has(.discovery-page) main{min-height:55vh}
.discovery-page,.public-waiting{max-width:1120px!important;padding-top:34px!important;padding-bottom:40px!important;margin:auto!important}
.discovery-page h1{font-size:clamp(28px,4vw,44px)!important;line-height:1.15;margin:14px 0 16px;max-width:840px}
.discovery-page .lead{font-size:17px;max-width:770px;line-height:1.55}
.discovery-page h2{font-size:23px;margin:24px 0 12px}
.discovery-page p{line-height:1.55}
.discovery-page .public-card{padding:22px;border-radius:20px}
.discovery-page label{font-size:14px}
.discovery-page input,.discovery-page select,.discovery-page textarea{font-size:15px;padding:10px 12px;border-radius:10px;min-height:42px}
.discovery-page textarea{min-height:90px}
.discovery-page .eyebrow{font-size:11px;letter-spacing:.13em;margin-top:22px}
.discovery-page .button{font-size:14px;padding:9px 15px;min-height:40px}
.audience-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}
.audience-choice{display:flex;align-items:center;gap:14px;border:1px solid #cddfe0;background:#f5f9f8;border-radius:20px;padding:20px;text-decoration:none;transition:background .15s}
.audience-choice.selected,.audience-choice:hover{background:#e5f1ed;border-color:#247f91}
.audience-choice>span:nth-child(2){flex:1}
.audience-choice strong{display:block;font-size:18px}
.audience-choice small{display:block;color:#58757b;font-size:13px;margin-top:4px}
.audience-mark{font-size:35px;line-height:1;color:#e96026}
.audience-choice:nth-child(2) .audience-mark{color:#247f91}
.discovery-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:22px;font-size:14px}
.discovery-toolbar label{flex:1;max-width:440px;margin:0}
.discovery-toolbar input{margin:4px 0 0}
.discovery-toolbar>span{margin-left:auto;font-size:13px;color:#607a81}
.offer-category{border:1px solid #dbe5e6;border-radius:16px;margin:14px 0;background:white;overflow:hidden}
.offer-category>summary{display:flex;align-items:center;gap:12px;cursor:pointer;background:#f2f7f6;padding:13px 18px;list-style:none}
.offer-category>summary::-webkit-details-marker{display:none}
.offer-category>summary strong{flex:1;font-size:16px}
.offer-category>summary span{font-size:12px;color:#5b7780}
.offer-category>summary:after{content:'⌄';font-size:15px}
.offer-category[open]>summary:after{transform:rotate(180deg)}
.offering-row{border-top:1px solid #e3ebeb}
.offering-row:first-child{border-top:0}
.offering-row>summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none;padding:14px 18px}
.offering-row>summary::-webkit-details-marker{display:none}
.offering-row>summary>span:first-child{flex:1;min-width:0}
.offering-row strong{font-size:15px}
.offering-row small{display:block;font-size:12px;color:#607a81;margin-top:4px}
.offering-price{font-size:15px;white-space:nowrap}
.disclosure-label{font-size:13px;color:#247f91}
.offering-row[open]>summary{background:#fcf5ef}
.offering-detail{padding:5px 18px 16px}
.offering-detail>p{font-size:14px;color:#52727a}
.booking-person{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf1f2}
.booking-person:last-child{border-bottom:0}
.booking-person>span{flex:1}
.booking-person .button{white-space:nowrap;font-size:13px}
.public-empty{padding:24px;text-align:center;color:#5b7880;background:#f7faf9;border-radius:14px}
.team-row>summary{list-style:none;display:flex;align-items:center;gap:15px;padding:14px 18px;cursor:pointer;border-top:1px solid #e1ebec}
.team-row:first-child>summary{border-top:0}
.team-row>summary::-webkit-details-marker{display:none}
.team-row>summary>span:nth-child(2){flex:1}
.team-row summary strong{font-size:15px}
.team-row summary small{display:block;font-size:12px;color:#5c7b82}
.tiny-portrait{width:48px;height:48px;flex:none}
.tiny-portrait img,.tiny-portrait .initials{width:48px!important;height:48px!important;min-height:48px!important;border-radius:50%;object-fit:cover;font-size:16px}
.availability-label{display:inline-block;padding:4px 10px;border-radius:20px;background:#edf5f3;color:#2c646d;font-size:12px}
.team-row-body{padding:2px 18px 16px}
.team-row-body>p{font-size:14px;max-width:850px}
.team-row-body>a{display:inline-block;font-size:13px;margin-bottom:15px}
.profile-intro{display:flex;align-items:center;gap:25px;margin:28px 0}
.profile-portrait{width:140px;flex:none}
.profile-portrait img,.profile-portrait .initials{width:140px!important;height:160px!important;min-height:160px!important;border-radius:32px;object-fit:cover;font-size:38px}
.profile-intro h1{margin:7px 0}
.profile-intro .eyebrow{margin:0}
.profile-intro p{margin:8px 0}
.profile-story{padding:6px 20px 22px}
.profile-story p{white-space:pre-line;font-size:15px}
.wait-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start;margin-top:24px}
.wait-summary p,.wait-summary a{font-size:14px}
.public-waiting .public-card{max-width:none}
.public-waiting fieldset{border:1px solid #d7e4e5;border-radius:13px;padding:12px 16px;margin:16px 0}
.public-waiting legend{padding:0 6px;font-size:14px;font-weight:600}
.public-waiting fieldset>label:first-of-type{margin-top:0}
.public-waiting .weekday-picks{display:flex;flex-wrap:wrap;gap:10px}
.public-waiting .weekday-picks label{display:flex;gap:6px;align-items:center}
.receipt-page{max-width:760px!important}
.receipt-page .receipt-link input{font-size:12px;color:#57717a}
.receipt-page .public-card{margin:24px 0}
.receipt-page .receipt-link{margin-top:20px}
.receipt-page h2{font-size:20px}
.public-waiting button.primary{margin-top:10px}
.discovery-page #booking-message{font-size:15px;color:#215e69}
.discovery-page #booking-message:empty{display:none}

@media(max-width:760px){.wait-layout{grid-template-columns:1fr}
.wait-summary{display:flex;gap:15px;align-items:start;flex-wrap:wrap}
.wait-summary label{flex:1;min-width:220px}
.wait-summary p{flex:1;min-width:200px}
.discovery-page{padding-left:18px!important;padding-right:18px!important}
.audience-choices{gap:12px}
.audience-choice{padding:16px;gap:10px}
.audience-choice strong{font-size:16px}
.audience-mark{font-size:26px}
.discovery-toolbar{gap:12px}
.discovery-toolbar label{min-width:100%;order:3}
.team-row .availability-label{max-width:100px}
.offering-row>summary{gap:10px;padding:12px 14px}
}

@media(max-width:520px){.audience-choices{grid-template-columns:1fr;gap:10px}
.audience-choice{padding:16px}
.audience-choice strong{font-size:17px}
.discovery-page .lead{font-size:15px}
.disclosure-label{font-size:0}
.disclosure-label span{font-size:15px}
.offering-row>summary{gap:10px}
.offering-price{font-size:14px}
.offering-row strong{font-size:14px}
.offer-category>summary{padding:12px 14px}
.offer-category>summary strong{font-size:15px}
.booking-person{flex-wrap:wrap;gap:8px}
.booking-person>span{min-width:150px}
.booking-person .button{min-height:44px}
.profile-intro{gap:16px;align-items:start}
.profile-portrait{width:95px}
.profile-portrait img,.profile-portrait .initials{width:95px!important;height:115px!important;min-height:115px!important;border-radius:24px}
.profile-intro h1{font-size:27px!important}
.profile-intro .eyebrow{font-size:10px}
.tiny-portrait,.tiny-portrait img,.tiny-portrait .initials{width:38px!important;height:38px!important;min-height:38px!important}
.team-row>summary{padding:12px;gap:10px}
.team-row .availability-label{font-size:10px;padding:3px 6px}
.wait-layout{gap:14px}
.discovery-page .public-card{padding:17px}
.discovery-page input,.discovery-page select{font-size:16px}
.public-waiting fieldset{padding:10px 12px}
}

@media(prefers-reduced-motion:reduce){.audience-choice{transition:none}
}

.booking-page .book-layout{grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:20px;align-items:start}
.booking-page .public-card{padding:20px;border-radius:18px}
.booking-page .month-head h3{font-size:20px;margin:0}
.booking-page .month-head button{padding:8px 14px}
.booking-page .month-day{min-height:52px;padding:8px 2px;border-radius:10px;font-size:15px}
.booking-page .month-grid{gap:6px}
.booking-page .book-feedback{padding:12px;font-size:14px}
.booking-page aside p{font-size:13px;line-height:1.55}
.booking-page .primary{font-size:14px;padding:10px 14px}
.booking-page .book-layout select{font-size:14px;padding:10px}
.time-batch-panel>summary{cursor:pointer;font-weight:600;font-size:14px}
.time-batch-panel>form.editor{margin-top:15px;margin-bottom:0;padding:0;border:0}

@media(max-width:760px){.booking-page .book-layout{grid-template-columns:1fr}
.booking-page aside.public-card{padding:16px}
.booking-page .book-layout select{font-size:16px}
}

.recipient-picker{min-width:0}
.recipient-picker>label{margin-top:0}
.recipient-selection{margin:6px 0 0;font-size:12px;color:#496e76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipient-results{margin-top:7px;border:1px solid #d6e3e5;border-radius:10px;background:white;max-height:220px;overflow:auto;box-shadow:0 8px 22px rgba(25,63,73,.1)}
.recipient-results:empty{display:none}
.recipient-results button{display:block;width:100%;padding:9px 11px;border:0;border-bottom:1px solid #edf2f3;border-radius:0;background:white;color:#193f49;text-align:left;font-size:13px}
.recipient-results button:last-child{border-bottom:0}
.recipient-results button:hover,.recipient-results button:focus{background:#edf6f4;color:#174c56}
.recipient-help{margin:0;padding:10px 11px;font-size:12px;color:#5a767d}
