:root{--ink:#172423;--muted:#64706d;--line:#dfe5df;--paper:#f6f7f2;--white:#fff;--accent:#e9b75b;--green:#1f5845;--danger:#a13933;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9d6c15;outline-offset:3px}button{border:1px solid var(--line);background:white;border-radius:8px;padding:10px 15px;color:var(--ink);font-weight:600}button:hover:not(:disabled){background:#eff3ed}button.primary{background:var(--ink);color:white;border-color:var(--ink)}button.primary:hover{background:#314841}button.accent{background:var(--accent);color:var(--ink);border-color:var(--accent)}button.danger{color:var(--danger)}button.icon{padding:7px 12px}button.small{padding:6px 10px;font-size:12px}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:15px}small,.muted{color:var(--muted)}
.shell{display:flex;min-height:100vh}.sidebar{width:236px;flex-shrink:0;background:var(--ink);color:#f4f6ef;padding:28px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:10px;align-items:center;font-weight:750;line-height:1.05;letter-spacing:-.2px}.brand-mark{background:var(--accent);color:var(--ink);border-radius:10px;display:grid;place-items:center;width:43px;height:43px;font-size:16px;font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#c0cbc1;margin-top:6px}.side-label{font-size:10px;color:#adbbb2;letter-spacing:1.7px;margin:44px 12px 15px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{background:none;border:none;color:#c8d2cb;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 15px;font-size:14px}.nav button.active{background:#32413a;color:#fff}.nav button:hover{background:#2b3b34}.nav svg{width:19px;height:19px;stroke:currentColor}.sidebar-bottom{margin-top:auto;border-top:1px solid #405047;padding-top:22px;font-size:12px;line-height:1.6}.sidebar-bottom strong{color:var(--accent);display:block}.sidebar-bottom button{margin-top:12px;font-size:11px;background:transparent;border-color:#536158;color:white}.main{margin-left:236px;width:calc(100% - 236px);padding:33px 36px 32px;max-width:1900px}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:16px}.eyebrow{font-size:10px;color:var(--muted);font-weight:700;letter-spacing:1.7px;margin-bottom:8px}.header-actions{display:flex;gap:10px;align-items:center}.avatar{width:37px;height:37px;border-radius:50%;background:#e8ede4;display:grid;place-items:center;font-size:12px;font-weight:750;margin-left:8px}.demo-notice{border:1px solid #e8d8ae;background:#fcf4e2;padding:11px 15px;border-radius:9px;margin-bottom:22px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:12px;line-height:1.5}.demo-notice b{font-weight:700}.demo-notice button{background:transparent;padding:4px 9px;white-space:nowrap;border-color:#d5bf91;font-size:11px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:23px}.stat{border:1px solid var(--line);background:white;border-radius:11px;padding:20px 22px;min-height:108px}.stat .label{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:7px}.stat .value{font-size:30px;letter-spacing:-1px;font-weight:650;margin-top:8px}.stat small{font-size:11px;margin-left:7px;letter-spacing:0;font-weight:400}.stat .dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--accent)}
.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line);gap:14px}.panel-head small{font-size:11px;display:block;margin-top:5px}.tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.segmented{display:flex;background:#f3f5ef;border-radius:7px;padding:3px}.segmented button{border:0;background:none;font-size:12px;padding:7px 12px}.segmented button.selected{background:white;box-shadow:0 1px 4px #0001}.calendar-scroll{overflow:auto}.calendar{min-width:750px}.week-head{display:grid;grid-template-columns:60px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.week-head>div{text-align:center;padding:14px 5px;border-left:1px solid #edf0e9;font-size:10px;color:var(--muted);letter-spacing:1px}.week-head strong{display:block;font-size:22px;color:var(--ink);letter-spacing:-.5px;margin-top:5px}.week-head .today strong{background:var(--ink);color:white;width:34px;height:34px;line-height:34px;margin:1px auto -3px;border-radius:50%}.time-grid{display:grid;grid-template-columns:60px repeat(7,minmax(0,1fr));position:relative}.time-labels{background:#fcfcfa}.time-label{height:var(--hour-height,70px);font-size:10px;color:var(--muted);text-align:center;padding-top:8px;border-bottom:1px solid #edf0e9}.day-column{position:relative;border-left:1px solid #edf0e9;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--hour-height,70px) - 1px),#edf0e9 calc(var(--hour-height,70px) - 1px),#edf0e9 var(--hour-height,70px))}.day-column.is-today{background-color:#fcfdf9}.event{position:absolute;left:5px;right:5px;border:1px solid #c7d9cb;background:#eaf2e9;border-left:3px solid var(--green);border-radius:6px;padding:7px 7px;text-align:left;overflow:hidden;font-weight:400;font-size:11px;min-height:25px;z-index:1}.event:hover:not(:disabled){filter:brightness(.97);background:#e3eddf}.event.group{background:#fbf0d8;border-color:#ead4a4;border-left-color:#9d6c15}.event strong{display:block;font-size:11px;line-height:1.3;margin:2px 0}.event small{font-size:10px;color:#46554b}.event .event-type{font-size:9px;letter-spacing:.4px;font-weight:650}.event.compact{padding:3px 6px}.legend{display:flex;gap:20px;padding:14px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.legend span:before{content:"";width:8px;height:8px;border-radius:2px;background:#eaf2e9;border:1px solid #1f5845;display:inline-block;margin-right:7px}.legend span:nth-child(2):before{background:#fbf0d8;border-color:#9d6c15}
.lower{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-top:23px}.rows{padding:5px 22px}.row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #edf0e9}.row:last-child{border-bottom:0}.row strong{font-size:13px;display:block}.row small{display:block;font-size:11px;margin-top:4px}.row-left{display:flex;align-items:center;gap:12px}.initial{background:#eef2e9;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:650;flex-shrink:0}.badge{font-size:10px;font-weight:650;white-space:nowrap;padding:5px 8px;border-radius:5px;background:#eff3ec;border:1px solid #dce5d7}.badge.warn{background:#fcf0d8;border-color:#ecd6aa;color:#765009}.badge.cancelled{background:#f6e8e5;color:#91352e;border-color:#e9c9c3}.badge.completed{background:#e7f0e8;color:#24553c}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;font-size:10px;letter-spacing:.8px;text-transform:uppercase;background:#fafbf7;color:var(--muted);padding:14px 22px;font-weight:650;white-space:nowrap}td{border-top:1px solid #edf0e9;padding:17px 22px}td strong{font-weight:650}td small{display:block;font-size:11px;margin-top:4px}.search{border:1px solid var(--line);padding:9px 12px;border-radius:7px;min-width:200px;background:#fcfdfa}.empty{padding:46px 22px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty strong{display:block;font-size:16px;color:var(--ink)}.help-line{margin:17px 0;font-size:12px;color:var(--muted);line-height:1.6}.agenda-date{padding:13px 22px;background:#fafbf6;border-bottom:1px solid var(--line);font-size:12px;font-weight:650}.agenda-event{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:0;border-bottom:1px solid #edf0e9;padding:18px 22px;gap:14px;text-align:left}.agenda-event strong{display:block;font-size:13px}.agenda-event small{display:block;font-size:11px;margin-top:5px}.agenda-time{width:100px;flex-shrink:0}.agenda-title{flex:1}.footer{font-size:10px;color:var(--muted);margin-top:22px;display:flex;justify-content:space-between;line-height:1.6;gap:15px}
dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:min(560px,calc(100% - 30px));max-height:90vh;box-shadow:0 30px 100px #12251d33;color:var(--ink)}dialog::backdrop{background:#13251dcc;backdrop-filter:blur(3px)}.modal-head{padding:23px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.modal-head h2{font-size:21px}.modal-body{padding:23px 25px;line-height:1.5}.modal-body p{font-size:13px;color:var(--muted)}.modal-body .row{flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}label{display:block;font-size:12px;font-weight:650}label.full{grid-column:1/-1}label input,label select{display:block;width:100%;padding:11px 12px;margin-top:6px;border:1px solid #ccd6ca;border-radius:7px;color:var(--ink);background:white;font-size:13px;min-height:42px}.form-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:19px;margin-top:22px}.form-note{font-size:11px!important;margin-top:16px!important}.form-error{color:var(--danger)!important;font-size:12px!important;margin-top:14px!important;min-height:18px}.confirm-box{background:#fcf2dc;padding:12px 15px;border:1px solid #ead9ae;border-radius:7px;margin-top:15px;font-size:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px}.detail-grid small{display:block;font-size:11px;margin-bottom:3px}.detail-grid strong{font-size:13px}.detail-title{font-size:13px;margin:22px 0 8px}.login{min-height:100vh;display:grid;place-items:center;padding:30px}.login-card{padding:40px;background:white;border:1px solid var(--line);border-radius:15px;max-width:450px;line-height:1.7}.login-card .brand{margin-bottom:28px}.login-card h1{font-size:27px;margin-bottom:14px}.login-card p{font-size:13px;color:var(--muted);margin-bottom:22px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:var(--ink);color:white;padding:13px 22px;border-radius:9px;box-shadow:0 8px 30px #0002;z-index:20;font-size:13px;max-width:90vw;transition:transform .2s;pointer-events:none}#toast.visible{transform:translateX(-50%) translateY(0)}.loading{opacity:.65;pointer-events:none}
@media(min-width:1550px){.main{padding:40px 50px}.event strong{font-size:12px}.calendar{--hour-height:77px}}
.event strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend span:last-child:before{display:none}.tools>select{border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:12px;color:var(--ink);background:white}#toast{visibility:hidden}#toast.visible{visibility:visible}
@media(max-width:1100px){.sidebar{width:200px;padding:25px 15px}.main{margin-left:200px;width:calc(100% - 200px);padding:27px 23px}.stats{gap:10px}.stat{padding:17px 15px}.panel-head{flex-wrap:wrap}.lower{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;padding:15px 17px;flex-direction:row;align-items:center;gap:18px;justify-content:space-between}.brand{font-size:12px}.brand-mark{width:34px;height:34px;font-size:12px}.brand small{font-size:7px}.side-label,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:0}.nav button{font-size:0;padding:11px}.nav button svg{width:20px;height:20px}.main{margin-left:0;width:100%;padding:22px 16px}.topline{align-items:flex-start;gap:12px}h1{font-size:25px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.header-actions button{font-size:11px;padding:9px}.avatar{display:none}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:15px;min-height:90px}.stat .value{font-size:26px}.stat .label{font-size:11px}.demo-notice{font-size:11px;align-items:flex-start}.panel-head{padding:16px}.tools{gap:6px}.tools button{font-size:11px}.legend{padding:14px 16px}.rows{padding:5px 16px}.agenda-event{padding:16px;gap:9px}.agenda-time{width:73px}.search{min-width:140px;max-width:180px}.footer{font-size:9px}.form-grid{grid-template-columns:1fr}.form-grid label{grid-column:1}.modal-head,.modal-body{padding:19px}.lower{gap:16px}.table-wrap th,.table-wrap td{padding:14px 16px}}

.form-grid>.full{grid-column:1/-1}.form-grid .confirm-box{margin-top:0;line-height:1.6}

.calendar-slot{position:absolute;left:0;right:0;width:100%;height:35px;border:0;border-bottom:1px dashed #edf0e9;border-radius:0;background:transparent;padding:0;z-index:0;text-align:center}
.calendar-slot::after{content:"+ " attr(data-time-label);font-size:10px;color:var(--green);opacity:0}
.calendar-slot:hover:not(:disabled),.calendar-slot:focus-visible{background:#edf4e8;box-shadow:inset 0 0 0 1px #b7cbb5}
.calendar-slot:hover:not(:disabled)::after,.calendar-slot:focus-visible::after{opacity:1}
.calendar-slot:disabled{background:#f8f9f6;opacity:.5}
.calendar-slot:focus-visible{outline-offset:-3px;z-index:0}
.agenda-date{display:flex;align-items:center;justify-content:space-between;gap:12px}.agenda-date button{flex-shrink:0;background:white}.agenda-empty{font-size:12px;color:var(--muted);padding:17px 22px;border-bottom:1px solid var(--line)}

[hidden]{display:none!important}
.all-day-grid{display:grid;grid-template-columns:60px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);background:#fafbf8}
.all-day-grid>div{padding:5px;border-left:1px solid #edf0e9;min-width:0}.all-day-grid .all-day-label{border:0;display:flex;align-items:center;justify-content:center;font-size:9px;color:#52605b;padding:10px 2px}
.all-day-block{display:block;width:100%;text-align:left;padding:6px 7px;border:1px dashed #7b8580;background:#f0f2ef;border-radius:5px;margin-bottom:4px;overflow:hidden;font-size:10px}.all-day-block span{display:block;font-weight:500}.all-day-block strong{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.event.time-off,.agenda-off{border-color:#89948e;border-left:3px solid #52605b;background:repeating-linear-gradient(135deg,#edf0ec 0,#edf0ec 7px,#f6f7f4 7px,#f6f7f4 14px)}
.event.time-off:hover:not(:disabled),.agenda-off:hover:not(:disabled){background:#e5e9e3}.event.time-off small{color:#37423c}.off-badge{background:#edf0ec;border:1px dashed #7b8580;color:#37423c}
.calendar-slot.is-off{background:repeating-linear-gradient(135deg,#f0f2ee 0,#f0f2ee 7px,#f8f9f6 7px,#f8f9f6 14px);opacity:1}
.legend span:nth-child(3):before{background:#edf0ec;border:1px dashed #52605b}.legend{flex-wrap:wrap;gap:12px 20px}
@media(max-width:760px){.agenda-off .off-badge{white-space:normal;text-align:center;max-width:52px}.topline{flex-wrap:wrap}.header-actions{justify-content:flex-start}.header-actions button{font-size:12px}}

label.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;font-weight:500}label.check input{width:18px;height:18px;min-height:18px;margin:1px 0 0;padding:0;flex-shrink:0;accent-color:var(--green)}
.reminder-panel{margin-top:22px}.reminder-message{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 Inter,"Segoe UI",system-ui,sans-serif;background:#f5f7f1;border:1px solid var(--line);border-radius:8px;padding:16px;margin:18px 0}.reminder-hint{padding:0 22px}
.reminder-test{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;background:#f5f7f1;border-bottom:1px solid var(--line)}.reminder-test strong{font-size:13px}.reminder-test p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:5px;max-width:650px}.reminder-test button{flex-shrink:0}
.role-login .login-card{max-width:680px;width:100%}.login-brand{background:var(--ink);color:white;padding:20px;border-radius:9px;margin-bottom:24px}.login-brand .brand{margin:0}.login-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.login-choice{text-align:left;padding:18px;border:1px solid var(--line);background:white;line-height:1.5}.login-choice strong{display:block;font-size:15px}.login-choice span{display:block;font-size:12px;font-weight:400;margin-top:5px;color:var(--muted)}.login-choice.selected{border:2px solid var(--ink);padding:17px;background:#f4f6f0}.login-choice.selected strong:after{content:' · Selected';font-size:11px}.demo-credentials{padding:16px;background:#f5f7f1;border:1px dashed #7b8580;border-radius:8px;margin:20px 0;overflow-wrap:anywhere}.demo-credentials strong{font-size:13px}.demo-credentials p{margin:8px 0 12px;font-size:12px!important}.login-submit{width:100%;margin-top:14px}.login-note{font-size:11px!important;line-height:1.6;margin:18px 0 0!important}.account-badge{padding:9px 12px}.customer-shell{min-height:100vh}.customer-header{background:var(--ink);color:white;padding:20px max(24px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.customer-header .badge{color:var(--ink)}.customer-main{max-width:1150px;margin:auto;padding:36px 24px}.portal-intro{font-size:13px;color:var(--muted);margin:12px 0 24px;line-height:1.6}.portal-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 18px}.portal-appointment{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;border-bottom:1px solid var(--line)}.portal-appointment:last-child{border-bottom:0}.portal-appointment h3{font-size:16px;margin:8px 0}.portal-appointment p{font-size:13px;line-height:1.6}.portal-appointment small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.customer-main .detail-grid strong{overflow-wrap:anywhere}
@media(max-width:760px){.role-login{padding:18px}.role-login .login-card{padding:22px}.login-choices{grid-template-columns:1fr}.customer-header{padding:16px;flex-wrap:wrap}.customer-main{padding:26px 16px}.portal-appointment{padding:18px;align-items:flex-start;flex-direction:column;gap:12px}.customer-header .tools{gap:7px}.customer-main .stats{margin-top:20px}}
@media(max-width:760px){.reminder-test{align-items:flex-start;flex-direction:column;padding:16px;gap:12px}}
@media(max-width:760px){.sidebar{gap:8px;padding-left:12px;padding-right:12px}.nav button{padding:10px 8px}.nav button svg{width:18px;height:18px}}
@media(max-width:380px){.brand{font-size:11px}}
@media(max-width:760px){.reminder-table,.reminder-table tbody{display:block;width:100%}.reminder-table thead{display:none}.reminder-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;border-bottom:1px solid var(--line);padding:16px}.reminder-table tr:last-child{border-bottom:0}.reminder-table td{display:block;border:0;padding:0;overflow-wrap:anywhere}.reminder-table td[data-label]:before{content:attr(data-label);display:block;font-size:9px;letter-spacing:.7px;font-weight:650;text-transform:uppercase;color:var(--muted);margin-bottom:5px}.reminder-table td:last-child{grid-column:1/-1;text-align:right}.upcoming-reminder-table td:nth-child(1),.upcoming-reminder-table td:nth-child(2){grid-column:1/-1}.upcoming-reminder-table td:first-child{font-weight:650}}

.role-login .form-grid label{grid-column:1/-1}
@media(max-width:760px){.customer-main .detail-grid{grid-template-columns:1fr}}
/* Explicit text labels accompany every video and microphone state. */
.video-test{margin:0 0 24px}.video-test-account{margin-bottom:20px}.video-test-account p{margin-top:8px;overflow-wrap:anywhere}.call-window{display:block;margin-top:12px;line-height:1.5}.portal-appointment [data-join-call]{display:block;margin-top:14px}.call-modal{width:min(1000px,calc(100vw - 32px));max-width:1000px;padding:24px;border:2px solid #172423;background:#f6f8f6;border-radius:16px;max-height:calc(100dvh - 32px);overflow:auto}.call-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.call-header h2{font-size:24px;margin:6px 0;overflow-wrap:anywhere}.call-status{font-weight:700;padding:12px;border:1px solid #617673;background:white;border-radius:8px;margin:16px 0}.call-note{font-size:13px;line-height:1.6;margin-bottom:18px}.call-lobby{padding:20px;border:1px solid #617673;background:white;border-radius:10px}.call-lobby p{line-height:1.5}.call-options{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0}.call-options label{display:flex;align-items:center;gap:8px}.call-options input{width:18px;height:18px;accent-color:#172423}.call-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}.call-tile{position:relative;min-width:0;background:#172423;aspect-ratio:16/10;border:2px solid #617673;border-radius:10px;overflow:hidden}.call-tile video{width:100%;height:100%;object-fit:contain}.call-caption{position:absolute;bottom:0;left:0;right:0;padding:10px;background:rgba(0,0,0,.85);color:white;font-size:13px;overflow-wrap:anywhere}.call-controls{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.call-controls[hidden],.call-lobby[hidden]{display:none}.call-error:empty{display:none}.call-error{margin:14px 0}.call-modal audio{display:none}.call-modal [data-call="sound"]{margin-top:12px}@media(max-width:600px){.call-modal{padding:16px}.call-grid{grid-template-columns:1fr}.call-header h2{font-size:20px}.call-controls button{flex:1 1 140px}}
@media(max-width:600px){.call-controls{position:sticky;bottom:0;z-index:2;background:#f6f8f6;padding:12px 0 0;border-top:1px solid #617673}.call-controls button{flex:1 1 90px;font-size:13px;padding:9px 6px}}
/* Payment status is written in words as well as marked by a border. */
.package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;padding:24px}.package-card{border:1px solid var(--line,#d8e0da);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:13px;align-items:flex-start}.package-card h3{font-size:21px}.package-card p{line-height:1.55;margin:0;overflow-wrap:anywhere}.package-card button{margin-top:auto}.package-price{font-size:30px;font-weight:600}.package-price small{font-size:12px;font-weight:400}.payment-note{border-left:4px solid #304e45;background:#f1f5f1;padding:14px 16px;line-height:1.5;margin-bottom:20px}.payment-setup{display:grid;gap:12px;margin:24px 0 16px}.payment-setup>div{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.purchase-status{display:block;font-size:13px;font-weight:600;margin:8px 0}.purchase-review{border-left:3px solid #664e2c;padding-left:10px;margin:10px 0;font-size:13px}.purchase-actions{display:flex;flex-wrap:wrap;gap:8px}.purchase-row{gap:20px;align-items:flex-start}.purchase-row small{overflow-wrap:anywhere}.payment-methods{display:flex;flex-direction:column;gap:14px;margin:24px 0}.payment-methods paypal-button,.payment-methods venmo-button{width:100%;min-height:45px}.payment-methods button{min-height:44px}#payment-dialog{width:min(520px,calc(100vw - 28px));max-height:90vh;border:0;border-radius:16px;padding:0;box-shadow:0 25px 90px #0005}#payment-dialog::backdrop{background:#11231e80}#payment-dialog .modal-head{position:sticky;top:0;background:#fff;z-index:1}textarea{font:inherit;border:1px solid var(--line,#d8e0da);border-radius:7px;padding:10px;resize:vertical}.portal-tabs{flex-wrap:wrap}@media(max-width:600px){.package-grid{grid-template-columns:1fr;padding:18px}.purchase-row{flex-direction:column}.purchase-actions{width:100%}.purchase-actions button{flex:1}.payment-setup>div{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.sidebar{flex-wrap:wrap}.sidebar .nav{flex-basis:100%;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.sidebar .nav button{font-size:11px;gap:7px;padding:9px 6px;min-height:44px;justify-content:center;text-align:center}.sidebar .nav svg{flex-shrink:0}.sidebar .nav button.active{outline:1px solid #9aaba3}}

#payment-message.payment-info{color:var(--ink)!important}
/* Invitation state is written in text and remains readable on narrow screens. */
.admin-invitations{margin-bottom:24px}.admin-invitation-note{padding:14px 20px;font-size:12px;line-height:1.6;color:var(--muted);border-bottom:1px solid var(--line)}.admin-invitation-address{min-width:0;overflow-wrap:anywhere}.admin-invitation-address small{display:block;margin-top:5px;line-height:1.5}.admin-invitation-row{gap:14px}.admin-invitation-row button{flex-shrink:0}.admin-invitations .panel-head small{display:block;max-width:650px;line-height:1.5;margin-top:6px}
@media(max-width:760px){.admin-invitations .panel-head{flex-wrap:wrap;align-items:flex-start}.admin-invitation-row{align-items:flex-start;flex-direction:column}.admin-invitation-note{padding:14px 16px}}

/* Customer appointment calendar */
.customer-calendar-panel{overflow:hidden}.customer-calendar-head h2{font-size:20px}.customer-month-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px}.customer-month-controls h3{font-size:19px}.customer-month-controls button{min-width:44px;min-height:44px}.customer-weekdays,.customer-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.customer-weekdays{background:#f7f9f5;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.customer-weekdays span{text-align:center;padding:12px 4px;font-size:11px;font-weight:650;color:#46554b}.customer-calendar-day{min-width:0;min-height:116px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px;background:white}.customer-calendar-day:nth-child(7n){border-right:0}.customer-calendar-day.outside-month{background:#f7f8f5}.customer-calendar-day.outside-month .customer-day-number{color:#64706d}.customer-calendar-day.selected-day{box-shadow:inset 0 0 0 2px var(--ink);background:#f1f5ec}.customer-day-select{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border:0;background:transparent;width:100%;min-height:38px;padding:3px 4px;font-size:11px;text-align:left}.customer-day-number{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:13px}.current-day .customer-day-number{background:var(--ink);color:white!important;font-weight:750}.customer-today-label{font-size:10px;font-weight:650}.customer-day-count{display:none}.customer-cell-events{display:grid;gap:5px}.customer-calendar-event{display:block;width:100%;text-align:left;min-width:0;padding:6px;border:1px solid #c3d1c5;border-left:3px solid var(--green);border-radius:5px;background:#edf4ec;font-size:10px;font-weight:400;line-height:1.35}.customer-calendar-event strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;margin:2px 0}.customer-calendar-event small{display:block;font-size:9px;color:#46554b}.customer-calendar-event.cancelled-event{background:#f4f4f1;border-color:#cbd0c8;border-left-style:dashed}.customer-more-events{border:0;background:transparent;font-size:10px;padding:3px 2px;text-align:left}.customer-calendar-note{font-size:12px;color:var(--muted);line-height:1.6;padding:16px 22px}.customer-main #customer-day-heading{font-size:18px}.customer-calendar-shortcuts button{min-height:36px}
@media(max-width:600px){.customer-calendar-head{gap:10px}.customer-calendar-shortcuts{width:100%}.customer-calendar-shortcuts button{min-height:44px}.customer-month-controls{padding:14px 12px}.customer-month-controls h3{font-size:17px}.customer-weekdays span{font-size:10px;padding:10px 2px}.customer-calendar-day{min-height:73px;padding:2px}.customer-day-select{display:flex;flex-direction:column;justify-content:flex-start;gap:3px;min-height:68px;padding:4px 0;text-align:center;border-radius:4px}.customer-day-number{width:25px;height:25px;font-size:12px}.customer-today-label,.customer-cell-events,.customer-day-count-label{display:none}.customer-day-count{display:block;font-size:10px;line-height:16px;font-weight:750;min-width:20px;border:1px solid #b8c9bc;border-radius:4px;background:#e8f0e6;color:var(--ink)}.customer-day-count:after{content:' ·';font-size:14px}.customer-calendar-note{padding:14px;font-size:11px}.customer-main #customer-day-heading{font-size:17px;line-height:1.4}.customer-main .portal-tabs{gap:7px}.customer-main .portal-tabs button{font-size:12px;padding:10px 12px;min-height:44px}}

/* Private customer notes */
.client-notes-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;background:#f1f5f0;border:1px solid var(--line);border-radius:10px;margin-top:22px}.client-notes-entry p{margin-top:5px}.client-notes-entry button{flex-shrink:0}
dialog.notes-dialog{width:min(850px,calc(100% - 24px));max-height:92vh}.notes-dialog .modal-head{position:sticky;top:0;background:white;z-index:2}.notes-dialog .modal-body{padding:24px}.notes-private{border-left:3px solid var(--green);background:#f1f5ef;padding:12px 14px;margin-bottom:18px!important;color:var(--green)!important}.notes-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}.notes-filters{display:flex;align-items:end;gap:18px;margin-bottom:20px}.notes-filters>label:first-child{flex:1}.notes-check{display:flex;align-items:center;gap:8px;font-weight:500;padding-bottom:12px}.notes-check input{margin:0;width:17px;min-height:17px}.notes-list{display:grid;gap:14px}.note-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:12px;overflow-wrap:anywhere}.note-card-head{display:flex;gap:12px;justify-content:space-between;align-items:start}.note-card h3{margin-top:5px;font-size:17px}.note-card .badge{flex-shrink:0}.note-excerpt{margin:12px 0!important;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.note-card-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.note-card-foot small{font-size:11px}.note-card-foot button{flex-shrink:0}.note-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0;font-size:13px}.note-appointment{padding:12px;background:#fcf2dc;border-radius:8px}.note-sections{display:grid;gap:18px;margin-top:22px}.note-sections section{border-bottom:1px solid var(--line);padding-bottom:16px}.note-sections h3{color:var(--green);font-size:13px;font-weight:750;margin-bottom:7px}.note-sections p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)!important;font-size:14px!important}.note-audit{margin-top:20px}.note-audit p{font-size:11px!important}.note-fields{display:grid;gap:22px;margin-top:24px}.note-fields label{font-size:14px}.note-fields label>span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin:5px 0 8px}.note-fields textarea{width:100%;display:block;font-size:14px;line-height:1.6;min-height:110px}.notes-save-status{margin-top:22px!important;font-weight:650;color:var(--green)!important}.notes-more{margin-top:15px}.note-card summary{cursor:pointer;font-size:12px;line-height:1.7}.notes-dialog textarea:focus-visible{outline:3px solid #9d6c15;outline-offset:3px}
@media(max-width:600px){.client-notes-entry,.note-card-foot{align-items:flex-start;flex-direction:column}.notes-dialog .modal-body{padding:18px}.notes-dialog .modal-head{padding:18px}.notes-dialog .modal-head h2{font-size:18px;overflow-wrap:anywhere}.notes-filters{align-items:stretch;flex-direction:column;gap:8px}.notes-check{padding:4px 0}.notes-dialog .form-grid{grid-template-columns:1fr}.note-card{padding:14px}.note-card-head{flex-wrap:wrap}.notes-dialog .form-actions{flex-wrap:wrap}.notes-toolbar button{font-size:12px}}
