body:has([data-backoffice]) .backoffice-sidebar{--card:216 52% 19%;--foreground:218 57% 97%;--muted-foreground:218 57% 97%;--accent:214 42% 27%;--accent-foreground:0 0% 100%;--action:218 60% 39%;--action-foreground:0 0% 100%;--ring:0 0% 100%;--background:216 52% 19%;--border:214 42% 27%;color:#f4f7fc;background:#172b48}.backoffice-sidebar nav a{position:relative}.backoffice-sidebar nav a[aria-current=page]{background:#2854a0;color:#fff}.backoffice-sidebar nav a[aria-current=page]:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:#fff}@media screen{body:has([data-backoffice]) .hn-table-header{background:#203f78}body:has([data-backoffice]) .hn-table-header tr{background:transparent;border-color:#203f78}body:has([data-backoffice]) .hn-table-header th{color:#fff;font-weight:600;text-transform:none;letter-spacing:normal}body:has([data-backoffice]) .hn-table-header :is(a,button){color:inherit}body:has([data-backoffice]) .hn-table-header :is(a,button):hover{background-color:hsla(0,0%,100%,.1)}body:has([data-backoffice]) .hn-table-header :is(a,button,input):focus-visible{outline:2px solid #fff;outline-offset:-3px}[data-backoffice] .backoffice-invoice-summary>button,body:has([data-backoffice]) .backoffice-summary-card{border-top:3px solid #203f78;background:linear-gradient(135deg,#edf3ff,#fff 75%)}[data-backoffice] .backoffice-invoice-summary>button:hover{background:#e8f0ff}[data-backoffice] .backoffice-invoice-summary>button:focus-visible{outline:2px solid hsl(var(--action));outline-offset:3px}body:has([data-backoffice]) .backoffice-patient-heading{background:#edf3ff;border-top:3px solid #203f78}}[data-backoffice],[data-staff-auth],body:has([data-backoffice]),body:has([data-staff-auth]){--background:218 67% 98%;--foreground:216 52% 19%;--card:0 0% 100%;--card-foreground:218 41% 21%;--popover:0 0% 100%;--popover-foreground:218 41% 21%;--primary:221 78% 51%;--primary-foreground:0 0% 100%;--brand:221 78% 51%;--brand-foreground:0 0% 100%;--action:221 78% 51%;--action-foreground:0 0% 100%;--secondary:218 65% 95%;--secondary-foreground:218 34% 32%;--muted:218 45% 96%;--muted-foreground:214 29% 31%;--accent:218 65% 95%;--accent-foreground:221 68% 41%;--border:218 45% 90%;--input:218 26% 67%;--ring:221 78% 51%;--destructive:4 65% 43%;--destructive-foreground:0 0% 100%;--status-booked:30 100% 40%;--status-arrived:218 64% 24%;--status-in-session:195 100% 38%;--status-completed:140 70% 29%;--status-cancelled:0 72% 47%;--status-no-show:328 81% 43%;--schedule-unavailable:218 30% 94%;--schedule-unavailable-strong:218 18% 58%;--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-display:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:hsl(var(--foreground));background:hsl(var(--background));font-family:var(--font-sans);color-scheme:light}.backoffice-content{line-height:1.5}body:has([data-backoffice]) .backoffice-patient-workspace{font-family:var(--font-clinical-sans,var(--font-sans));font-size:15px}body:has([data-backoffice]) .patient-overview-card-heading,body:has([data-backoffice]) .patient-overview-heading,body:has([data-backoffice]) .patient-overview-title,body:has([data-backoffice]) .patient-record-title{font-family:var(--font-clinical-display,var(--font-clinical-sans,sans-serif));font-weight:600}body:has([data-backoffice]) .patient-record-title{letter-spacing:-.015em}body:has([data-backoffice]) .patient-overview-intro{position:relative;padding-left:16px}body:has([data-backoffice]) .patient-overview-intro:before{content:"";position:absolute;inset:3px auto 3px 0;width:3px;border-radius:999px;background:#215ee4}body:has([data-backoffice]) .patient-overview-eyebrow{color:#526985;font-size:11px;font-weight:700;letter-spacing:.13em;line-height:1;text-transform:uppercase}body:has([data-backoffice]) .patient-overview-title{margin-top:5px;color:#172b48;font-size:clamp(1.55rem,2vw,1.8rem);line-height:1.15;letter-spacing:-.025em}body:has([data-backoffice]) .patient-overview-heading{color:#172b48;font-size:1.15rem;line-height:1.3;letter-spacing:-.015em}body:has([data-backoffice]) .patient-overview-card-heading{color:#172b48;font-size:1.05rem;line-height:1.3}body:has([data-backoffice]) .patient-overview-panel{border-color:#dfe7f1;box-shadow:0 1px 2px rgba(23,43,72,.04),0 12px 28px -24px rgba(23,43,72,.42);transition:border-color .16s ease,box-shadow .16s ease}body:has([data-backoffice]) .patient-overview-panel:hover{border-color:#ccd9e9;box-shadow:0 2px 4px rgba(23,43,72,.04),0 16px 34px -25px rgba(23,43,72,.46)}body:has([data-backoffice]) .patient-overview-stat{min-height:142px;box-shadow:0 8px 24px -22px rgba(23,43,72,.6)}body:has([data-backoffice]) .patient-overview-stat:hover{box-shadow:0 14px 28px -20px rgba(23,43,72,.55)}body:has([data-backoffice]) .patient-overview-stat-icon{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border:1px solid;border-radius:11px;background:hsla(0,0%,100%,.62);opacity:.9}body:has([data-backoffice]) .patient-overview-details dt{color:#647790;font-size:12px;font-weight:600;letter-spacing:.015em}body:has([data-backoffice]) .patient-overview-details dd{color:#172b48;line-height:1.45}body:has([data-backoffice]) .recent-overview-panel .divide-y>:is(button,a){margin-inline:-8px;padding-inline:8px;border-radius:8px;transition:background-color .14s ease,color .14s ease}body:has([data-backoffice]) .recent-overview-panel .divide-y>:is(button,a):hover{background:#f5f8fd}body:has([data-backoffice]) .patient-record-tabs [role=tablist]{gap:2px;border-radius:12px;padding:4px}body:has([data-backoffice]) .patient-record-tabs [role=tab]{border-radius:8px;padding-inline:14px;font-size:13px;font-weight:600}[data-staff-auth]{background:#f5f8fd}[data-staff-auth] .staff-auth-story:before{content:"";position:absolute;width:34rem;height:34rem;right:-17rem;top:-14rem;border:1px solid rgba(33,94,228,.2);border-radius:9999px;box-shadow:0 0 0 5rem rgba(33,94,228,.035),0 0 0 10rem hsla(0,0%,100%,.02)}[data-staff-auth] .staff-auth-story:after{content:"";position:absolute;width:22rem;height:22rem;left:-12rem;bottom:-10rem;border-radius:9999px;background:rgba(33,94,228,.08);filter:blur(1px)}[data-staff-auth] .staff-auth-form{background:linear-gradient(hsla(0,0%,100%,.76),hsla(0,0%,100%,.76)),radial-gradient(circle at 75% 15%,rgba(33,94,228,.12),transparent 32%),#f5f8fd}[data-staff-auth] .staff-auth-glow{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#8ea3bd .55px,transparent 0);background-size:18px 18px;opacity:.16;-webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%)}[data-staff-auth] .staff-auth-card,[data-staff-auth] .staff-auth-content>.bg-card{overflow:hidden;border:1px solid #dce4ef;border-radius:18px;background:hsla(0,0%,100%,.96);box-shadow:0 24px 70px -35px rgba(23,43,72,.42),0 8px 24px -16px rgba(23,43,72,.18)}[data-staff-auth] .staff-auth-card:before{content:"";display:block;width:100%;height:4px;background:linear-gradient(90deg,#215ee4 0 30%,#203f78 30% 100%)}[data-staff-auth] :is(input:not([type=hidden]),select,button[type=submit]){min-height:44px}[data-staff-auth] input{background:#fff;color:#172b48;border-color:#a8b6c8;border-radius:9px}[data-staff-auth] label{font-weight:600}[data-staff-auth] .font-display{color:#203f78;font-family:var(--font-sans)}[data-staff-auth] button[type=submit]{border-radius:9px;box-shadow:0 8px 18px -10px rgba(33,94,228,.75)}[data-staff-auth] a:focus-visible,[data-staff-auth] button:focus-visible,[data-staff-auth] input:focus-visible{outline-offset:3px}@media screen{body:has([data-backoffice]) .backoffice-notes{--background:0 0% 100%}body:has([data-backoffice]) :is(textarea,.ProseMirror),body:has([data-backoffice]) [role=alertdialog],body:has([data-backoffice]) [role=dialog]:not(.backoffice-sidebar),body:has([data-backoffice]) textarea[readonly]{background-color:#fff}body:has([data-backoffice]) .backoffice-share-dialog>button{color:#fff}body:has([data-backoffice]) .backoffice-share-dialog>button:hover{background:hsla(0,0%,100%,.12);opacity:1}body:has([data-backoffice]) .hn-dialog-footer{gap:12px;padding-top:8px;flex-wrap:wrap}body:has([data-backoffice]) .backoffice-patient-actions>button:not(.w-10),body:has([data-backoffice]) .hn-dialog-footer>button{min-height:44px;padding-inline:20px;padding-block:10px;height:auto}body:has([data-backoffice]) .backoffice-patient-heading{--foreground:0 0% 100%;--muted-foreground:218 100% 94%;--background:219 58% 30%;color:#fff;background:#203f78;border-color:#203f78}body:has([data-backoffice]) .backoffice-patient-heading>.bg-secondary{color:#203f78}body:has([data-backoffice]) .backoffice-patient-heading .backoffice-patient-status{min-height:28px;padding:4px 10px;border-width:1px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}body:has([data-backoffice]) .backoffice-patient-status[data-status-tone=neutral]{background:#edf3ff;border-color:#c8d9f4;color:#203f78}body:has([data-backoffice]) .backoffice-patient-status[data-status-tone=success]{background:#edf8f4;border-color:#a9d8ca;color:#126454}body:has([data-backoffice]) .backoffice-patient-status[data-status-tone=attention]{background:#fff7e8;border-color:#e5ca98;color:#80520c}body:has([data-backoffice]) .backoffice-patient-status[data-status-tone=error]{background:#fff5f4;border-color:#e8b5b2;color:#aa2924}@media (max-width:1023px){body:has([data-backoffice]) .backoffice-patient-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:8px 12px}body:has([data-backoffice]) .backoffice-patient-identity{grid-column:1;grid-row:1;gap:6px}body:has([data-backoffice]) .backoffice-patient-avatar{display:none}body:has([data-backoffice]) .patient-record-title{font-size:17px}body:has([data-backoffice]) .backoffice-patient-statuses{grid-column:1/-1;grid-row:2;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}body:has([data-backoffice]) .backoffice-patient-status{flex-shrink:0}body:has([data-backoffice]) .backoffice-patient-actions{grid-column:2;grid-row:1;margin-left:0;flex-wrap:nowrap;gap:4px}body:has([data-backoffice]) .backoffice-patient-actions>button:not(.w-10){padding-inline:10px}body:has([data-backoffice]) .backoffice-patient-edit-suffix{display:none}body:has([data-backoffice]) .backoffice-patient-new-letter-label{display:none}body:has([data-backoffice]) .backoffice-patient-heading[data-mode=edit] .backoffice-patient-identity{grid-column:1/-1}body:has([data-backoffice]) .backoffice-patient-heading[data-mode=edit] .backoffice-patient-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end}body:has([data-backoffice]) .backoffice-patient-heading[data-mode=edit] .backoffice-patient-statuses{grid-row:3}body:has([data-backoffice]) .patient-record-tabs{padding:6px 12px}}body:has([data-backoffice]) [role=tablist]{height:auto;min-height:44px;background:#edf3ff;color:#172b48}body:has([data-backoffice]) [role=tab]{min-height:36px;color:#172b48}body:has([data-backoffice]) [role=tab][data-state=active]{background:#203f78;color:#fff}body:has([data-backoffice]) [data-tone=completion]{--tone:#126454;--tint:#edf8f4}body:has([data-backoffice]) [data-tone=activity]{--tone:#6240a0;--tint:#f5f0ff}body:has([data-backoffice]) [data-tone=attention]{--tone:#80520c;--tint:#fff7e8}[data-backoffice] .backoffice-invoice-summary>button[data-tone],body:has([data-backoffice]) .backoffice-summary-card[data-tone]{background:var(--tint);border-top-color:var(--tone)}body:has([data-backoffice]) .backoffice-summary-card[data-tone] h3{color:var(--tone)}[data-backoffice] .backoffice-invoice-summary>button[data-tone]:hover{box-shadow:inset 0 0 0 1px var(--tone)}body:has([data-backoffice]) :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=date],input[type=number],input[type=password],select,textarea){min-height:44px;border-color:#75869e;color:#172b48}body:has([data-backoffice]) :is(input,select,textarea):disabled,body:has([data-backoffice]) :is(input,textarea)[readonly]{background-color:#edf0f3;color:#45536a;opacity:1}body:has([data-backoffice]) :is(input,select,textarea)[aria-invalid=true]{border:2px solid #aa2924}body:has([data-backoffice]) textarea[readonly]:not(:disabled){background-color:#fff}body:has([data-backoffice]) input:is([type=checkbox],[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-grid;place-content:center;width:20px;height:20px;min-width:20px;padding:0;flex-shrink:0;vertical-align:middle;border:2px solid #203f78;border-radius:4px;background:#fff;cursor:pointer}body:has([data-backoffice]) input[type=radio]{border-radius:50%}body:has([data-backoffice]) input[type=checkbox]:is(:checked,:indeterminate){background:#215ee4;border-color:#215ee4}body:has([data-backoffice]) input[type=checkbox]:checked:before{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg)}body:has([data-backoffice]) input[type=checkbox]:indeterminate:before{content:"";width:10px;height:2px;background:#fff;border:0;transform:none}body:has([data-backoffice]) input[type=radio]:checked:before{content:"";width:10px;height:10px;border-radius:50%;background:#215ee4}body:has([data-backoffice]) input:is([type=checkbox],[type=radio]):disabled{cursor:not-allowed;border-color:#79879a;opacity:.65}body:has([data-backoffice]) input:is([type=checkbox],[type=radio]):focus-visible{outline:3px solid #b76500;outline-offset:3px}body:has([data-backoffice]) label:has(>input:is([type=checkbox],[type=radio])){min-height:44px;align-items:center;cursor:pointer}}@media (forced-colors:active){body:has([data-backoffice]) input:is([type=checkbox],[type=radio]){-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}body:has([data-backoffice]) input:is([type=checkbox],[type=radio]):before{display:none}}.backoffice-page{margin-inline:auto;max-width:1440px}.backoffice-title{font-size:clamp(1.75rem,2.5vw,2.5rem);line-height:1.2;letter-spacing:-.035em;font-weight:600}.backoffice-content input:not([type=checkbox]):not([type=radio]),.backoffice-content select,.backoffice-content textarea{background-color:hsl(var(--card))}.backoffice-content table thead{background:hsl(var(--muted))}.backoffice-content table th{color:hsl(var(--muted-foreground));font-weight:500}.backoffice-patients td{padding-block:.875rem}.backoffice-patients table thead{background:#203f78}.backoffice-patients table thead tr{border-bottom-color:#203f78}.backoffice-patients table th{height:3rem;text-transform:none;letter-spacing:normal;font-size:.8125rem;color:#fff;font-weight:600}.backoffice-patients thead a{color:inherit}.backoffice-patients thead a:hover{background:hsla(0,0%,100%,.1)}.backoffice-patients thead a:focus-visible{outline:2px solid #fff;outline-offset:-4px}.backoffice-patients tbody tr{border-color:hsl(var(--border)/.6);background:hsl(var(--card))}.backoffice-patients tbody tr:nth-child(2n){background:hsl(var(--background)/.6)}.backoffice-patients tbody tr:focus-within,.backoffice-patients tbody tr:hover{background:hsl(var(--accent))}.backoffice-patients .patient-active-status{display:inline-flex;align-items:center;gap:.5rem;color:hsl(var(--status-completed));font-size:.8125rem;font-weight:500;white-space:nowrap}.backoffice-dashboard [data-testid=dashboard-widgets]{border-top:1px solid hsl(var(--border));padding-top:1.5rem}.backoffice-dashboard [data-testid=myday-drafts],.backoffice-dashboard [data-testid=myday-schedule],.backoffice-dashboard [data-testid=myday-tasks]{border-top:1px solid hsl(var(--border));padding-top:1.25rem}.backoffice-dashboard [data-testid=myday-schedule-row]{min-height:5rem;padding:1rem;background:hsl(var(--card));border-radius:.5rem}.backoffice-dashboard [data-testid=myday-schedule-row]:has(a[href*="appointment="]){background:hsl(var(--accent));border-left-color:hsl(var(--action))}.backoffice-schedule{background:hsl(var(--background))}.backoffice-schedule .fc{background:hsl(var(--card))}.backoffice-schedule .fc .fc-event:not(.fc-bg-event){border-left-width:4px}.backoffice-schedule .fc .fc-timegrid-slot{height:76px}.backoffice-schedule[data-density=compact] .fc .fc-timegrid-slot{height:52px}.backoffice-schedule .fc .fc-timegrid-slot-minor{border-top-style:dotted}.backoffice-schedule .fc .fc-col-header-cell{background:#203f78;color:#fff}.backoffice-schedule .fc .fc-col-header-cell a{color:#fff}.backoffice-schedule .fc .fc-col-header-cell-cushion{display:block;white-space:normal}.backoffice-schedule .hn-resource-heading{white-space:normal}.backoffice-schedule .hn-resource-heading>span:first-child{overflow-wrap:anywhere}.backoffice-schedule .hn-appointment-card{height:100%;overflow:hidden;padding:5px 7px;display:flex;flex-direction:column;gap:2px;color:#fff;font-size:12px;line-height:1.2;cursor:pointer}.backoffice-schedule .hn-appointment-card>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}.backoffice-schedule .hn-appointment-card strong{font-size:14px}.backoffice-schedule .hn-appointment-card:focus-visible{outline:2px solid #fff;outline-offset:-3px}body:has([data-backoffice]) .hn-appointment-preview{position:fixed;z-index:60;width:320px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:16px;border-radius:10px;background:#172b48;color:#fff;box-shadow:0 8px 25px #172b4840;font-size:14px;overflow-wrap:anywhere}.hn-appointment-preview p{margin-top:6px}.hn-appointment-preview small{display:block;margin-top:10px;color:#e0eaff}.backoffice-schedule .fc .fc-col-header-cell-cushion{font-size:.8125rem}.backoffice-schedule .fc .fc-timegrid-slot-label-cushion{font-size:.75rem;font-variant-numeric:tabular-nums}@media (max-width:639px){.backoffice-dashboard [data-testid=myday-schedule-row]{flex-wrap:wrap}}