:root{--purple:#8b35f6;--purple-dark:#6520c3;--purple-pale:#f5efff;--ink:#221a31;--muted:#756d80;--line:#e9e4ef;--green:#2bae78;--sidebar:#0d0920}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:#f7f6fa;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;padding:24px 18px;background:radial-gradient(circle at 40% 0,#271150 0,transparent 32%),linear-gradient(180deg,#100a28,#090718);color:#fff;display:flex;flex-direction:column}.brand{height:55px;display:flex;gap:12px;align-items:center;padding:0 9px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border:2px solid #a34bff;border-radius:50%;color:#b45cff;font-size:35px;font-weight:900;line-height:1;transform:rotate(0deg)}.brand span,.brand strong{display:block;line-height:.85;font-weight:900;letter-spacing:.04em}.brand strong{font-size:23px;color:#b55cff}.brand span{font-size:15px}.practice{margin:28px 3px 18px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.04)}.practice small,.sync-card small{display:block;color:#9e96af;font-size:10px;margin-bottom:5px}.practice b{font-size:12px}.sidebar nav{display:grid;grid-gap:5px;gap:5px}.sidebar nav button{height:46px;border:0;border-radius:10px;padding:0 14px;background:transparent;color:#aaa1bd;display:flex;align-items:center;gap:13px;text-align:left;cursor:pointer}.sidebar nav button.active,.sidebar nav button:hover{color:#fff;background:linear-gradient(100deg,#8030ec,#9a40fc);box-shadow:0 8px 24px rgba(126,43,235,.23)}.sync-card{margin-top:auto;padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(255,255,255,.045)}.sync-card span{display:flex;align-items:center;gap:8px;font-size:12px}.sync-card i,.sync-status i{width:8px;height:8px;background:#f5b84b;border-radius:50%;box-shadow:0 0 0 4px rgba(245,184,75,.12)}.sync-card small{margin:6px 0 12px 16px}.sync-card button{width:100%;border:1px solid rgba(178,91,255,.5);border-radius:8px;background:rgba(143,52,245,.12);color:#d9b8ff;padding:8px;font-size:11px;cursor:pointer}.workspace{min-width:0;flex:1 1;margin-left:246px}.topbar{height:72px;padding:0 32px;background:#fff;border-bottom:1px solid var(--line);justify-content:space-between}.topbar,.topbar>label{display:flex;align-items:center}.topbar>label{width:330px;height:40px;padding:0 13px;border:1px solid var(--line);border-radius:10px;background:#faf9fc;gap:10px;color:#92899d}.topbar input{border:0;outline:0;background:transparent;width:100%}.clinician-chip{display:flex;align-items:center;gap:10px}.clinician-chip>span{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:var(--purple-pale);color:var(--purple-dark);font-weight:800;font-size:12px}.clinician-chip p{margin:0}.clinician-chip b,.clinician-chip small{display:block}.clinician-chip b{font-size:12px}.clinician-chip small{font-size:10px;color:var(--muted);margin-top:3px}.page{padding:34px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{color:var(--purple);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.page-heading h1{font-size:30px;margin:4px 0 5px;letter-spacing:-.025em}.page-heading p{margin:0;color:var(--muted);font-size:13px}.heading-actions{display:flex;gap:10px}.primary,.secondary{height:42px;border-radius:10px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:750;cursor:pointer}.primary{border:0;color:#fff;background:linear-gradient(135deg,#9c45fc,#7625df);box-shadow:0 8px 22px rgba(120,36,217,.2)}.secondary{color:#51495d}.diary-toolbar,.secondary{border:1px solid var(--line);background:#fff}.diary-toolbar{height:66px;padding:0 14px;margin-bottom:12px;border-radius:14px;display:flex;align-items:center;gap:7px}.diary-toolbar>button{width:35px;height:35px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#665e71;display:grid;place-items:center;cursor:pointer}.diary-toolbar .today{width:auto;padding:0 14px}.diary-toolbar>label{height:36px;margin-left:8px;padding:0 12px;border-left:1px solid var(--line);display:flex;align-items:center;gap:9px;color:var(--purple)}.diary-toolbar input{border:0;outline:0;color:var(--ink);font-weight:700}.sync-status{margin-left:auto;display:flex;align-items:center;gap:11px;padding-right:10px}.sync-status b,.sync-status small,.sync-status span{display:block}.sync-status b{font-size:11px}.sync-status small{font-size:9px;color:var(--muted);margin-top:2px}.diary-card,.patient-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 35px rgba(40,20,70,.04)}.day-header{height:73px;padding:0 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.day-header span{display:block;font-weight:800;font-size:15px}.day-header small,.legend{color:var(--muted);font-size:10px}.legend{display:flex;align-items:center;gap:7px}.legend i{width:9px;height:9px;border-radius:3px;background:var(--purple)}.timeline{padding:14px 25px 25px}.time-row{display:grid;grid-template-columns:61px 1fr;min-height:54px}.time-row>time{padding-top:10px;font-size:10px;color:#8d8596;font-weight:700}.slot{border-top:1px solid #f0edf3;position:relative;padding:4px 0}.empty-slot{opacity:0;width:90px;border:1px dashed #d9cced;border-radius:7px;background:#fbf8ff;color:var(--purple);padding:6px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;cursor:pointer}.slot:hover .empty-slot{opacity:1}.appointment{width:100%;min-height:46px;padding:7px 12px;border:0;border-left:4px solid var(--purple);border-radius:8px;background:linear-gradient(90deg,#f2e8ff,#faf7ff);display:grid;grid-template-columns:34px 1fr auto;align-items:center;text-align:left;color:var(--ink);cursor:pointer}.appt-icon{width:28px;height:28px;border-radius:7px;background:#fff;display:grid;place-items:center;color:var(--purple)}.appointment b,.appointment small{display:block}.appointment b{font-size:11px}.appointment small{margin-top:2px;color:#7a7088;font-size:9px}.appointment em{font-style:normal;font-size:10px;font-weight:700;padding-right:10px}.appointment em small{font-weight:500;text-align:right}.patient-row,.table-head{display:grid;grid-template-columns:1.45fr .8fr .9fr 1.2fr .5fr;align-items:center;grid-gap:18px;gap:18px;padding:0 22px}.table-head{height:48px;background:#fbfafd;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#91899a;font-weight:800}.patient-row,.table-head{border-bottom:1px solid var(--line)}.patient-row{min-height:67px;font-size:11px;color:#675f70}.patient-row:last-child{border:0}.patient-row>span:first-child{display:flex;align-items:center;gap:10px;color:var(--ink)}.patient-row i{width:32px;height:32px;border-radius:9px;background:var(--purple-pale);color:var(--purple);display:grid;place-items:center}.patient-row em,.patient-row i{font-style:normal;font-weight:800}.patient-row em{padding:5px 9px;border-radius:99px;background:#e8f8f1;color:#168459;font-size:9px}.modal-backdrop{position:fixed;inset:0;z-index:10;background:rgba(15,9,30,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}.modal{width:min(680px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:19px;box-shadow:0 25px 80px rgba(17,8,35,.3)}.booking-modal{width:min(570px,100%)}.modal-heading{height:86px;padding:0 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px}.modal-icon{width:41px;height:41px;border-radius:11px;background:var(--purple-pale);color:var(--purple);display:grid;place-items:center}.modal-heading h2{font-size:17px;margin:0 0 4px}.modal-heading p{font-size:10px;color:var(--muted);margin:0}.modal-heading>button{margin-left:auto;border:0;background:transparent;color:#8d8498;font-size:25px;cursor:pointer}.modal form{padding:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:15px;gap:15px}.form-grid.names{grid-template-columns:.45fr 1fr 1fr}.modal label{display:grid;grid-gap:7px;gap:7px;margin-bottom:15px;font-size:10px;font-weight:750;color:#51495d}.modal input,.modal select{height:42px;padding:0 11px;border:1px solid #ded8e5;border-radius:9px;background:#fff;color:var(--ink);outline:none}.modal input:focus,.modal select:focus{border-color:#a65af1;box-shadow:0 0 0 3px #f2e7ff}.consent{display:flex!important;grid-template-columns:18px 1fr;align-items:center!important;padding:11px 13px;border-radius:9px;background:#faf8fc;color:var(--muted)!important;font-weight:500!important}.consent input{width:15px;height:15px}.modal footer{display:flex;justify-content:flex-end;gap:9px;padding-top:17px;border-top:1px solid var(--line)}.appointment-summary{display:flex;align-items:center;gap:13px;padding:14px;margin-bottom:16px;border:1px solid #dfd1f1;border-radius:11px;background:linear-gradient(100deg,#f7f0ff,#fcfaff)}.summary-icon{width:42px;height:42px;border-radius:10px;background:var(--purple);color:#fff;display:grid;place-items:center}.appointment-summary b,.appointment-summary small{display:block}.appointment-summary small{font-size:9px;color:var(--muted)}.appointment-summary b{font-size:13px;margin:3px 0}.appointment-summary em{display:flex;align-items:center;gap:4px;font-size:9px;color:var(--purple);font-style:normal;font-weight:700}.readonly-clinician{height:54px;padding:0 13px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:11px}.readonly-clinician>i{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--purple-pale);color:var(--purple);font-style:normal}.readonly-clinician b,.readonly-clinician small,.readonly-clinician span{display:block}.readonly-clinician b{font-size:11px}.readonly-clinician small{font-size:9px;color:var(--muted);margin-top:2px}.readonly-clinician svg{margin-left:auto;color:var(--green)}.google-note{display:flex;align-items:center;gap:11px;padding:12px;margin:4px 0 18px;border-radius:9px;background:#fff8e8;color:#a16b0d}.google-note b,.google-note small,.google-note span{display:block}.google-note b{font-size:10px}.google-note small{font-size:9px;margin-top:2px;color:#866f48}.toast{position:fixed;z-index:20;right:24px;bottom:24px;padding:13px 17px;border-radius:11px;background:#171124;color:#fff;box-shadow:0 15px 40px rgba(18,10,30,.3);display:flex;align-items:center;gap:9px;font-size:11px}.toast svg{color:#64dc9e}@media(max-width:900px){.sidebar{width:72px;padding:18px 9px}.brand>div:last-child,.practice,.sidebar nav button:not(.active){font-size:0}.sidebar nav button{justify-content:center;padding:0}.sync-card{display:none}.workspace{margin-left:72px}.page{padding:22px}.topbar{padding:0 20px}.patient-row,.table-head{grid-template-columns:1.2fr .8fr .9fr}.patient-row>span:nth-child(4),.patient-row>span:nth-child(5),.table-head span:nth-child(4),.table-head span:nth-child(5){display:none}}@media(max-width:620px){.topbar>label{display:none}.topbar{justify-content:flex-end}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%;flex-wrap:wrap}.heading-actions button{flex:1 1}.diary-toolbar>label{display:none}.day-header{align-items:flex-start;flex-direction:column;justify-content:center;gap:7px}.legend{display:none}.timeline{padding:10px}.time-row{grid-template-columns:46px 1fr}.appointment{grid-template-columns:31px 1fr}.appointment>em{display:none}.form-grid,.form-grid.names{grid-template-columns:1fr}.modal form{padding:18px}.patient-row,.table-head{grid-template-columns:1fr .8fr}.patient-row>span:nth-child(3),.table-head span:nth-child(3){display:none}}.success-modal{width:min(460px,100%);padding:34px;text-align:center}.success-icon{width:62px;height:62px;margin:0 auto 17px;border-radius:50%;display:grid;place-items:center;background:#e8f8f1;color:var(--green)}.success-modal h2{margin:0 0 8px;font-size:22px}.success-modal>p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.success-modal footer{margin-top:26px;justify-content:center}.patient-row,.table-head{grid-template-columns:1.25fr .72fr .8fr 1.05fr 1.25fr .45fr}.form-section{margin-bottom:20px;padding-bottom:5px;border-bottom:1px solid var(--line)}.form-section h3{margin:0 0 14px;font-size:12px;color:var(--purple-dark)}.form-section label small{color:var(--muted);font-size:8px;font-weight:500}.form-grid .full-width{grid-column:1/-1}@media(max-width:1100px){.patient-row,.table-head{grid-template-columns:1.2fr .75fr .85fr 1.15fr .5fr}.patient-row>span:nth-child(5),.table-head span:nth-child(5){display:none}}@media(max-width:620px){.form-grid .full-width{grid-column:auto}}button.patient-row{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;cursor:pointer;color:#675f70}.patient-row:hover{background:#fbf8ff}.patient-row b small{display:block;margin-top:3px;color:var(--muted);font-size:8px;font-weight:600}.patient-row em.archived{background:#f0edf3;color:#756d80}.empty-patients{padding:34px;text-align:center;color:var(--muted);font-size:12px}.patient-profile{width:min(720px,100%)}.profile-body{padding:24px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:13px;gap:13px}.profile-grid>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfafd}.profile-grid b,.profile-grid small{display:block}.profile-grid small{margin-bottom:5px;color:var(--muted);font-size:9px}.profile-grid b{font-size:11px;line-height:1.45}.portal-ready{display:flex;align-items:center;gap:12px;margin:18px 0;padding:15px;border:1px solid #dfd1f1;border-radius:11px;background:var(--purple-pale);color:var(--purple-dark)}.portal-ready b,.portal-ready small,.portal-ready span{display:block}.portal-ready b{font-size:11px}.portal-ready small{margin-top:3px;font-size:9px;color:var(--muted)}.portal-ready em{margin-left:auto;padding:5px 9px;border-radius:99px;background:#fff;font-size:8px;font-style:normal;font-weight:800}.archive-warning{margin:15px 0;padding:15px;border:1px solid #f0c9c9;border-radius:10px;background:#fff5f5}.archive-warning b{font-size:11px;color:#a13939}.archive-warning p{margin:5px 0 12px;font-size:9px;color:#805f5f}.archive-warning>div{display:flex;gap:8px}.danger{height:42px;padding:0 15px;border:0;border-radius:10px;background:#b63d4b;color:#fff;font-size:11px;font-weight:750;cursor:pointer}.profile-body footer{display:flex;justify-content:flex-end;gap:9px;padding-top:18px;border-top:1px solid var(--line)}.modal textarea{min-height:78px;border:1px solid #ded8e5;outline:none}.profile-section-title{margin:20px 0 10px;color:var(--purple-dark);font-size:11px;font-weight:800}.patient-alert{display:flex;align-items:flex-start;gap:11px;margin:0 0 17px;padding:14px;border:1px solid #f2c2c8;border-radius:11px;background:#fff2f4;color:#9d2738}.patient-alert b,.patient-alert small,.patient-alert span{display:block}.patient-alert small{margin-bottom:3px;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.patient-alert b{font-size:11px;line-height:1.4}@media(max-width:620px){.profile-grid{grid-template-columns:1fr}.profile-body footer{flex-wrap:wrap}.profile-body footer button{flex:1 1}}.account-area{display:flex;align-items:center;gap:10px}.icon-button{width:37px;height:37px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#756d80;display:grid;place-items:center;cursor:pointer}.icon-button:hover{color:var(--purple);background:var(--purple-pale)}.security-grid{display:grid;grid-template-columns:.8fr 1.2fr;grid-gap:18px;gap:18px}.security-card,.staff-card{padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 35px rgba(40,20,70,.04)}.security-heading{align-items:center;gap:12px;margin-bottom:19px;color:var(--purple)}.security-heading h2,.security-heading p{margin:0}.security-heading h2{font-size:15px;color:var(--ink)}.security-heading p{margin-top:3px;font-size:9px}.security-card ul{display:grid;grid-gap:13px;gap:13px;margin:0;padding:0;list-style:none;font-size:11px;color:#5f566b}.security-card li{display:flex;align-items:center;gap:9px}.security-card li svg{width:16px;color:var(--green)}.invite-form{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.invite-form label{display:grid;grid-gap:6px;gap:6px;font-size:9px;font-weight:750;color:#51495d}.invite-form label:nth-child(3){grid-column:1/-1}.invitation-result input,.invite-form input,.invite-form select{height:40px;padding:0 11px;border:1px solid #ded8e5;border-radius:9px;background:#fff;color:var(--ink);outline:none}.invite-form button{justify-self:start}.invitation-result{margin-top:17px;padding:14px;border:1px solid #d9c7f1;border-radius:10px;background:var(--purple-pale)}.invitation-result>b{font-size:11px}.invitation-result p{margin:4px 0 10px;font-size:9px;color:var(--muted)}.invitation-result>div{display:flex;gap:8px}.invitation-result input{min-width:0;flex:1 1;font-size:9px}.staff-card{margin-top:18px}.staff-row{min-height:60px;display:grid;grid-template-columns:36px 1fr auto 72px;grid-gap:11px;gap:11px;align-items:center;border-top:1px solid var(--line);font-size:10px}.staff-row>span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--purple-pale);color:var(--purple);font-weight:800}.staff-row b,.staff-row small{display:block}.staff-row small{margin-top:3px;color:var(--muted)}.staff-row em{font-style:normal;color:#61586d}.staff-row>i{padding:5px 8px;border-radius:99px;background:#e8f8f1;color:#168459;text-align:center;font-style:normal;font-size:8px;font-weight:800}@media(max-width:850px){.invite-form,.security-grid{grid-template-columns:1fr}.invite-form label:nth-child(3){grid-column:auto}.staff-row{grid-template-columns:36px 1fr 65px}.staff-row em{display:none}}.staff-row.managed{grid-template-columns:36px minmax(190px,1fr) minmax(470px,auto)}.staff-row.invitation-row{grid-template-columns:36px minmax(160px,1fr) minmax(155px,190px) 72px auto}.staff-controls{display:grid;grid-template-columns:minmax(155px,190px) 112px 72px 90px;grid-gap:10px;gap:10px;align-items:center;justify-content:end;min-width:0}.staff-controls>em{padding-left:10px}.staff-control-placeholder{display:block;min-width:0;height:1px;visibility:hidden}.staff-controls>i{padding:6px 10px;border-radius:99px;background:#e8f8f1;color:#168459;text-align:center;font-style:normal;font-size:8px;font-weight:800}.staff-controls>i.suspended{background:#fff3f3;color:#b42318}.staff-row select{height:34px;padding:0 9px;border:1px solid #ded8e5;border-radius:8px;background:#fff;color:#51495d;font-size:10px}.staff-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 10px;border:1px solid #d9c7f1;border-radius:8px;background:var(--purple-pale);color:var(--purple);font-size:9px;font-weight:800;cursor:pointer}.staff-action.warning{border-color:#f3d0d0;background:#fff3f3;color:#b42318}.staff-actions{display:flex;gap:6px}.staff-row>i.suspended{background:#fff3f3;color:#b42318}@media(max-width:1050px){.staff-row.managed{grid-template-columns:36px 1fr}.staff-row.managed .staff-controls{grid-column:2/-1;grid-template-columns:minmax(150px,1fr) 112px 72px 90px;padding-bottom:12px}.staff-row.invitation-row{grid-template-columns:36px 1fr 150px auto}.staff-row.invitation-row>i{display:none}.staff-actions{grid-column:2/-1}}@media(max-width:680px){.staff-row.managed .staff-controls{grid-template-columns:1fr 96px}.staff-controls>i{grid-column:1}.staff-controls .staff-action{grid-column:2}.associate-fee-setting{justify-self:end}}.brand{height:100px;overflow:hidden;justify-content:center;padding:0;background:#fff;border:1px solid var(--line);border-radius:14px}.brand img{display:block;width:190px;height:190px;max-width:none;transform:none}.login-brand{width:230px;height:118px;margin:0 auto 18px;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(44,20,78,.08)}.login-brand img{display:block;width:230px;height:230px;transform:none}@media(max-width:900px){.brand{height:55px}.brand img{width:72px;height:72px;transform:none}}.sidebar{width:var(--sidebar-width,246px);background:#fff;color:var(--ink);border-right:1px solid var(--line);overflow:hidden}.workspace{margin-left:var(--sidebar-width,246px)}.sidebar-resizer{position:absolute;z-index:3;top:0;right:-8px;width:16px;height:100%;cursor:col-resize;touch-action:none;outline:none}.sidebar-resizer:after{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent;transition:background .15s,box-shadow .15s}.sidebar-resizer:focus-visible:after,.sidebar-resizer:hover:after,.sidebar-resizing .sidebar-resizer:after{background:#9b43f7;box-shadow:0 0 0 3px rgba(155,67,247,.12)}.sidebar-resizer:before{content:"↔";position:absolute;z-index:1;top:50%;left:50%;width:22px;height:42px;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid #d9c8ed;border-radius:9px;background:#fff;color:#7830d0;font-size:12px;font-weight:900;box-shadow:0 4px 14px rgba(55,25,85,.13);opacity:.78;transition:opacity .15s,box-shadow .15s}.sidebar-resizer:focus-visible:before,.sidebar-resizer:hover:before,.sidebar-resizing .sidebar-resizer:before{opacity:1;box-shadow:0 5px 18px rgba(104,38,175,.24)}.sidebar-resizing{cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-resizing *{cursor:col-resize!important}.sidebar nav{flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px 4px 12px 0;scrollbar-gutter:stable}.sidebar nav::-webkit-scrollbar{width:7px}.sidebar nav::-webkit-scrollbar-track{background:transparent}.sidebar nav::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:99px;background:#d8c9e8}.sidebar nav::-webkit-scrollbar-thumb:hover{background:#b99bd9}.sidebar nav{scrollbar-width:thin;scrollbar-color:#d8c9e8 transparent}@media(min-width:621px) and (max-width:900px){.sidebar{width:min(var(--sidebar-width,246px),48vw);padding:18px 12px}.workspace{margin-left:min(var(--sidebar-width,246px),48vw)}.brand>div:last-child,.practice{display:block}.sidebar nav button:not(.active){font-size:inherit}.sidebar nav button{justify-content:flex-start;padding:0 12px}.sidebar .sync-card{display:none}}@media(max-width:620px){.sidebar-resizer{display:none}}.practice{border-color:var(--line);background:#faf8fd}.practice small,.sync-card small{color:var(--muted)}.sidebar nav button{color:#665e71}.sidebar nav button:hover{color:var(--purple-dark);background:var(--purple-pale);box-shadow:none}.sidebar nav button.active{color:#fff;background:linear-gradient(100deg,#8030ec,#9a40fc);box-shadow:0 8px 24px rgba(126,43,235,.2)}.sidebar nav button.has-unread{color:#6520c3;background:#f5efff;box-shadow:0 0 0 2px rgba(139,53,246,.14),0 0 22px rgba(139,53,246,.22)}.nav-unread-badge{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#e73558;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;box-shadow:0 0 0 4px rgba(231,53,88,.12)}.sidebar nav button.active .nav-unread-badge{background:#fff;color:#7b2ce6}.conversation-workspace{min-height:620px;display:grid;grid-template-columns:340px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.conversation-list{overflow:auto;border-right:1px solid var(--line);background:#fbfafd}.conversation-list>button{width:100%;padding:15px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.conversation-list>button.active,.conversation-list>button:hover{background:#f5efff}.conversation-list>button.unread{border-left:4px solid var(--purple);background:#faf6ff}.conversation-list span{display:flex;align-items:center;gap:8px}.conversation-list b{font-size:12px}.conversation-list i{margin-left:auto;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#e73558;color:#fff;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:900}.conversation-list p{margin:6px 0;overflow:hidden;color:#625a6c;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.conversation-list small{color:#948b9e;font-size:8px}.conversation-thread{padding:24px;overflow:auto;background:#f8f9fc}.conversation-thread article{width:min(76%,680px);margin:0 auto 12px 0;padding:13px 15px;border:1px solid #e0e4ea;border-radius:12px;background:#fff}.conversation-thread article.outbound{margin-left:auto;margin-right:0;border-color:#d8c2f3;background:#f5efff}.conversation-thread article em,.conversation-thread article small{color:#847b8d;font-size:8px;font-style:normal}.conversation-thread article p{margin:6px 0;white-space:pre-wrap;font-size:12px;line-height:1.5}@media(max-width:850px){.conversation-workspace{grid-template-columns:1fr}.conversation-list{max-height:260px;border-right:0;border-bottom:1px solid var(--line)}}.conversation-source{margin-left:auto;padding:3px 7px;border-radius:999px;background:#eef2f7;color:#586273;font-size:8px;font-style:normal;font-weight:800}.conversation-source.portal{background:#e8faf4;color:#08765a}.conversation-list .conversation-source+i{margin-left:0}.conversation-list b{cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:transparent;text-decoration-color:transparent;text-underline-offset:3px}.conversation-list b:hover{-webkit-text-decoration-color:currentColor;text-decoration-color:currentColor}.duplicate-warning-backdrop{z-index:140}.duplicate-patient-modal{width:min(680px,calc(100vw - 32px))}.duplicate-patient-list{display:grid;grid-gap:10px;gap:10px;padding:20px}.duplicate-patient-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;border:1px solid #eadff3;border-radius:12px;background:#fbf8fe}.duplicate-patient-list article div{min-width:0}.duplicate-patient-list b,.duplicate-patient-list small{display:block}.duplicate-patient-list small{margin-top:4px;color:#7a6d82}.duplicate-patient-list p{margin:7px 0 0;color:#5f5666;font-size:11px}.duplicate-patient-modal>footer{display:flex;justify-content:flex-end;gap:10px;padding:0 20px 20px}@media(max-width:650px){.duplicate-patient-list article,.duplicate-patient-modal>footer{align-items:stretch;flex-direction:column}}.sync-card{border-color:var(--line);background:#faf8fd}.sync-card span{color:var(--ink)}.sync-card button{border-color:#d7b9fa;background:#fff;color:var(--purple-dark)}.mfa-drawer{position:fixed;right:28px;bottom:28px;z-index:8;width:min(420px,calc(100vw - 40px));padding:22px;border:1px solid #d9c7f1;border-radius:16px;background:#fff;box-shadow:0 20px 60px rgba(44,20,78,.18)}.mfa-setup{text-align:center}.mfa-setup img{width:210px;height:210px}.mfa-setup p,.recovery-panel p,.security-copy{font-size:10px;color:var(--muted);line-height:1.5}.mfa-setup form{display:flex;gap:8px}.mfa-setup input{min-width:0;flex:1 1;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px}.recovery-panel code{display:block;white-space:pre-wrap;margin:13px 0;padding:14px;border-radius:9px;background:#171124;color:#fff;font-size:12px;line-height:1.7;letter-spacing:.08em}.mfa-admin{position:fixed;right:470px;bottom:28px;z-index:8;width:300px;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 16px 45px rgba(44,20,78,.12)}.mfa-admin>b,.mfa-admin>small{display:block}.mfa-admin>b{font-size:12px}.mfa-admin>small{margin:4px 0 10px;color:var(--muted);font-size:9px}.mfa-admin button{width:100%;display:flex;justify-content:space-between;padding:9px;border:0;border-top:1px solid var(--line);background:#fff;font-size:9px;cursor:pointer}.mfa-admin em{color:#b42318;font-style:normal;font-weight:800}@media(max-width:1000px){.mfa-admin{right:28px;bottom:270px}}.sync-card.connected i,.sync-status.connected i{background:#2bae78;box-shadow:0 0 0 4px rgba(43,174,120,.13)}.settings-page{max-width:980px;margin:0}.settings-page .page-heading{align-items:flex-start}.settings-card{margin-bottom:18px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 35px rgba(40,20,70,.04)}.security-heading{display:flex;align-items:flex-start;gap:13px}.security-heading>svg{width:38px;height:38px;padding:9px;border-radius:10px;background:var(--purple-pale);color:var(--purple)}.security-heading h2{margin:0 0 5px;font-size:17px}.security-heading p{margin:0;color:var(--muted);font-size:11px}.calendar-connection{margin-top:20px;padding:16px;border:1px solid #eadff7;border-radius:12px;background:#faf8fd;display:flex;align-items:center;justify-content:space-between;gap:18px}.calendar-connection span{position:relative;padding-left:21px}.calendar-connection b,.calendar-connection small,.calendar-connection span{display:block}.calendar-connection i{position:absolute;left:2px;top:5px;width:8px;height:8px;border-radius:50%;background:#f5b84b;box-shadow:0 0 0 4px rgba(245,184,75,.12)}.calendar-connection.connected i{background:var(--green);box-shadow:0 0 0 4px rgba(43,174,120,.13)}.calendar-connection b{font-size:12px}.calendar-connection small{margin-top:4px;color:var(--muted);font-size:10px}.calendar-connection .primary:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.settings-card .mfa-setup,.settings-card>.primary{margin-top:18px}.settings-card .security-copy{margin:18px 0 0}@media(max-width:620px){.calendar-connection{align-items:stretch;flex-direction:column}.calendar-connection .primary{width:100%}}.appointment.google-block{border-left-color:#8a8294;background:linear-gradient(90deg,#efedf2,#f7f6f8);color:#5f5868}.appointment.google-block .appt-icon{color:#706878}.appointment.google-block small{color:#81798a}.closed-day{padding:42px 20px;text-align:center;color:var(--muted);display:grid;justify-items:center;grid-gap:7px;gap:7px}.closed-day svg{color:var(--purple)}.closed-day b{color:var(--ink);font-size:13px}.closed-day small{font-size:10px}.working-hours-card form{margin-top:20px}.hours-table{border:1px solid var(--line);border-radius:12px;overflow:hidden}.hours-row{display:grid;grid-template-columns:120px 90px 90px 80px 105px 105px;align-items:end;grid-gap:10px;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}.hours-row:last-child{border:0}.hours-row.disabled{background:#faf9fb;color:var(--muted)}.hours-row label{display:grid;grid-gap:5px;gap:5px;font-size:9px;color:var(--muted)}.hours-row input[type=time]{width:100%;height:36px;padding:0 7px;border:1px solid var(--line);border-radius:8px;background:#fff}.break-toggle,.day-toggle{display:flex!important;align-items:center;gap:7px!important;height:36px}.day-toggle b{font-size:11px;color:var(--ink)}.working-hours-card form>.primary{margin-top:16px}@media(max-width:850px){.hours-row{grid-template-columns:1fr 1fr 1fr}.day-toggle{grid-column:1/-1}.break-toggle{align-self:end}}.calendar-connect-button{height:42px;border:1px solid #d7b9fa;border-radius:10px;padding:0 16px;background:#fff;color:var(--purple-dark);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:750;cursor:pointer}.calendar-connect-button.connected{border-color:#b9e5d1;background:#edf9f4;color:#168459}.google-note.connected{background:#eaf8f2;color:#168459}.time-row.outside-hours:not(.has-booking){background:#f1eff3}.time-row.outside-hours:not(.has-booking)>time{color:#aaa4af}.time-row.outside-hours:not(.has-booking) .slot{border-color:#ddd9e1}.time-row.outside-hours:not(.has-booking) .empty-slot{opacity:.68;border-color:#c9c3ce;background:#e8e5eb;color:#6e6875;width:132px}.time-row.outside-hours:not(.has-booking) .empty-slot:hover{opacity:1;background:#ded9e3}.time-row.outside-hours:not(.has-booking) .empty-slot svg{color:#837b8d}.notes-backdrop{position:fixed;inset:0;z-index:30;background:rgba(17,10,31,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.notes-drawer{position:absolute;inset:0 0 0 auto;width:min(720px,94vw);overflow:auto;background:#f8f7fa;box-shadow:-24px 0 70px rgba(26,13,45,.25)}.notes-drawer>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;min-height:92px;padding:22px 26px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between}.notes-drawer>header h2{margin:4px 0;font-size:20px}.notes-drawer>header p{margin:0;color:var(--muted);font-size:10px}.notes-drawer>header>button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:23px;cursor:pointer}.notes-warning{margin:18px 24px 0;padding:13px;border:1px solid #efbdc5;border-radius:11px;background:#fff1f3;color:#9d2738;display:flex;align-items:flex-start;gap:10px}.notes-warning b,.notes-warning small,.notes-warning span{display:block}.notes-warning b{font-size:10px}.notes-warning small{margin-top:3px;font-size:9px}.notes-filters{padding:17px 24px 8px;display:flex;gap:7px;overflow:auto}.notes-filters button{white-space:nowrap;padding:7px 11px;border:1px solid var(--line);border-radius:99px;background:#fff;color:#6d6577;font-size:9px;font-weight:750;cursor:pointer}.notes-filters button.active{border-color:#c99cf9;background:var(--purple-pale);color:var(--purple-dark)}.notes-actions{padding:8px 24px 16px;border-bottom:1px solid var(--line)}.manual-note-form{margin:18px 24px;padding:18px;border:1px solid #d9c7f1;border-radius:13px;background:#fff}.manual-note-form label{display:grid;grid-gap:6px;gap:6px;margin-bottom:12px;color:#51495d;font-size:9px;font-weight:750}.manual-note-form input,.manual-note-form select,.manual-note-form textarea{width:100%;padding:10px;border:1px solid #ded8e5;border-radius:9px;background:#fff;color:var(--ink);font:inherit}.manual-note-form footer{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}.notes-timeline{padding:22px 24px}.notes-timeline article{position:relative;display:grid;grid-template-columns:18px 1fr;grid-gap:11px;gap:11px;padding-bottom:14px}.notes-timeline article:before{content:"";position:absolute;left:5px;top:13px;bottom:-4px;width:1px;background:#ddd5e7}.notes-timeline article:last-child:before{display:none}.notes-timeline article>i{position:relative;z-index:1;width:11px;height:11px;margin-top:11px;border:3px solid #d9b8fb;border-radius:50%;background:var(--purple)}.note-card{padding:15px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 7px 22px rgba(39,20,65,.04)}.note-card>header{display:flex;justify-content:space-between;gap:14px}.note-card b,.note-card em,.note-card span{display:block}.note-card em{margin-bottom:4px;color:var(--purple);font-size:8px;font-style:normal;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.note-card b{font-size:11px}.note-card time{white-space:nowrap;color:var(--muted);font-size:8px}.note-card p{margin:11px 0;color:#5d5567;font-size:10px;line-height:1.55;white-space:pre-wrap}.note-card>small{color:#958d9e;font-size:8px}.empty-notes{padding:50px 20px;text-align:center;color:var(--muted);display:grid;justify-items:center;grid-gap:8px;gap:8px}.empty-notes svg{color:#b999dc}.empty-notes b{font-size:11px}@media(max-width:620px){.notes-drawer{width:100%}.notes-drawer>header{padding:18px}.notes-actions,.notes-filters,.notes-timeline{padding-left:18px;padding-right:18px}.manual-note-form{margin:15px 18px}.manual-note-form .form-grid{grid-template-columns:1fr}}.profile-heading-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.patient-profile .modal-heading>.profile-heading-actions+button{margin-left:0}.notes-spotlight{height:42px;padding:0 15px;border:0;border-radius:10px;background:linear-gradient(135deg,#14a69b,#08746f);color:#fff;box-shadow:0 8px 20px rgba(8,116,111,.2);display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer}.notes-spotlight:hover{filter:brightness(.96)}@media(max-width:720px){.patient-profile .modal-heading{height:auto;min-height:86px;flex-wrap:wrap;padding:15px 18px}.profile-heading-actions{width:100%;order:3;margin-left:54px}.profile-heading-actions button{flex:1 1}.patient-profile .modal-heading>.profile-heading-actions+button{position:absolute;right:16px;top:16px}}.booking-day-context{margin:-2px 0 15px;padding:12px;border:1px solid #ddd7e5;border-radius:10px;background:#f8f6fa}.booking-day-context>b{display:block;margin-bottom:7px;font-size:9px;color:#5d5567}.booking-day-context>span{display:grid;grid-template-columns:82px 1fr auto;grid-gap:8px;gap:8px;align-items:center;padding:6px 0;border-top:1px solid #e8e3ed}.booking-day-context time{font-size:9px;font-weight:800;color:var(--purple-dark)}.booking-day-context em{font-size:9px;font-style:normal;color:var(--ink)}.booking-day-context small{font-size:8px;color:var(--muted)}@media(max-width:620px){.booking-day-context>span{grid-template-columns:72px 1fr}.booking-day-context small{grid-column:2}}.medical-history-card{margin:12px 0 18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfafd}.medical-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.medical-history-head b,.medical-history-head small{display:block}.medical-history-head b{font-size:11px}.medical-history-head b svg{margin-right:6px;vertical-align:middle;color:var(--purple)}.medical-history-head small{margin-top:3px;color:var(--muted);font-size:8px}.medical-history-head button{height:32px;padding:0 11px;border:1px solid #d7b9fa;border-radius:8px;background:#fff;color:var(--purple-dark);font-size:9px;font-weight:800;cursor:pointer}.medical-history-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:9px;gap:9px}.medical-history-grid>div{padding:11px;border-radius:9px;background:#fff}.medical-history-grid small,.medical-history-grid span{display:block}.medical-history-grid small{margin-bottom:5px;color:var(--muted);font-size:8px}.medical-history-grid span{font-size:10px;line-height:1.45}.medical-history-form{padding:0 0 18px}.medical-history-form textarea{min-height:90px}.medical-history-form footer{margin-top:5px}@media(max-width:620px){.medical-history-grid{grid-template-columns:1fr}}.medical-form-section{margin-bottom:19px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbfafd}.medical-form-section>h3{margin:0 0 14px;color:var(--purple-dark);font-size:12px}.medical-question-list{display:grid;grid-gap:9px;gap:9px;margin-bottom:15px}.medical-question{display:grid;grid-template-columns:minmax(230px,1fr) 82px minmax(170px,.8fr);grid-gap:9px;gap:9px;align-items:center;padding:9px;border-radius:9px;background:#fff}.medical-question>b{font-size:9px;line-height:1.4}.medical-question input,.medical-question select{height:36px;font-size:9px}.secure-upload-note{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #d9c7f1;border-radius:9px;background:var(--purple-pale);color:var(--purple-dark)}.secure-upload-note b,.secure-upload-note small,.secure-upload-note span{display:block}.secure-upload-note b{font-size:10px}.secure-upload-note small{margin-top:3px;color:var(--muted);font-size:8px}@media(max-width:720px){.medical-question{grid-template-columns:1fr 78px}.medical-question input{grid-column:1/-1}}.available-slot{height:42px;border:1px solid #ccebdd;border-radius:8px;background:linear-gradient(90deg,#effbf6,#f9fefc);display:flex;align-items:center;gap:9px;padding:0 12px;color:#168459;font-size:10px;font-weight:800}.available-slot i{width:7px;height:7px;border-radius:50%;background:#2bae78;box-shadow:0 0 0 4px rgba(43,174,120,.12)}.available-slot.nearest{border-color:#8b35f6;background:linear-gradient(90deg,#f3eaff,#fbf8ff);color:#7024d2;box-shadow:0 0 0 3px rgba(139,53,246,.1)}.available-slot.nearest i{background:#8b35f6;box-shadow:0 0 0 4px rgba(139,53,246,.12)}.next-available-button:disabled{opacity:.65;cursor:wait}.available-slot{width:100%;text-align:left;cursor:pointer}.booking-availability-list{display:flex;flex-wrap:wrap;gap:7px}.booking-availability-list button{height:34px;padding:0 12px;border:1px solid #bfe5d2;border-radius:8px;background:#effbf6;color:#168459;display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;cursor:pointer}.booking-availability-list button.selected,.booking-availability-list button:hover{border-color:var(--purple);background:var(--purple-pale);color:var(--purple-dark)}.booking-availability>small{display:block;margin-top:6px;color:var(--muted);font-size:9px}.appointment-editor-footer{align-items:center}.appointment-editor-footer>span{flex:1 1}.danger-action{height:42px;padding:0 14px;border:1px solid #efb8c0;border-radius:10px;background:#fff3f4;color:#b32439;display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer}.danger-action:hover{background:#ffe8eb}.associate-fee-setting{position:relative;display:grid;grid-template-columns:1fr 58px;align-items:center;grid-gap:6px;gap:6px;color:var(--muted);font-size:8px;font-weight:800;white-space:nowrap}.associate-fee-setting small{margin:0;font-size:8px}.associate-fee-setting input{width:58px;height:34px;padding:0 20px 0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:10px}.associate-fee-setting span{position:absolute;right:8px;bottom:9px;color:var(--purple-dark)}.treatment-plan-profile-button{height:42px;padding:0 15px;border:1px solid #cbb2f4;border-radius:10px;background:linear-gradient(135deg,#f8f3ff,#eee3ff);color:#6520c3;box-shadow:0 7px 18px rgba(101,32,195,.12);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.treatment-plan-profile-button:hover{border-color:#a873ed;background:linear-gradient(135deg,#f2e9ff,#e5d4ff);transform:translateY(-1px)}.attended-action{height:42px;padding:0 14px;border:0;border-radius:10px;background:linear-gradient(135deg,#27b77d,#168459);color:#fff;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:850;cursor:pointer}.modal textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);resize:vertical;font:inherit;line-height:1.5}.complete-stage-action{height:42px;padding:0 14px;border:0;border-radius:10px;background:linear-gradient(135deg,#8b35f6,#6520c3);color:#fff;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:850;cursor:pointer;box-shadow:0 7px 18px rgba(101,32,195,.18)}.acceptance-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:15px;border:1px solid #d9c7f1;border-radius:11px;background:#faf7ff}.acceptance-summary b,.acceptance-summary small,.acceptance-summary span{display:block}.acceptance-summary small{color:var(--muted);font-size:8px}.acceptance-summary b{margin-top:4px;font-size:11px}.acceptance-summary strong{font-size:20px}.acceptance-lock-note{display:flex;gap:10px;margin:14px 0 18px;padding:13px;border-radius:10px;background:#eef9f4;color:#168459}.acceptance-lock-note b,.acceptance-lock-note small,.acceptance-lock-note span{display:block}.acceptance-lock-note b{font-size:10px}.acceptance-lock-note small{margin-top:3px;color:#527464;font-size:8px;line-height:1.45}.plan-balance{display:inline-flex;align-items:center;padding:7px 10px;border-radius:8px;background:#fff4dc;color:#9b6810;font-size:9px;font-weight:850}.treatment-plan-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.treatment-plan-summary>div{padding:17px 19px;border:1px solid var(--line);border-radius:13px;background:#fff}.treatment-plan-summary b,.treatment-plan-summary small{display:block}.treatment-plan-summary small{color:var(--muted);font-size:9px}.treatment-plan-summary b{margin-top:6px;font-size:21px}.treatment-plan-list{display:grid;grid-gap:14px;gap:14px}.treatment-plan-card{border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 9px 30px rgba(39,20,65,.04);overflow:hidden}.treatment-plan-card>header{padding:18px 20px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto auto;grid-gap:16px;gap:16px;align-items:center}.treatment-plan-card header small{color:var(--purple);font-size:8px;font-weight:850}.treatment-plan-card h2{margin:4px 0 2px;font-size:15px}.treatment-plan-card p{margin:0;color:var(--muted);font-size:9px}.treatment-plan-card strong{font-size:18px}.plan-status{padding:6px 9px;border-radius:99px;background:#f2eef6;color:#6f6679;font-size:8px;font-style:normal;font-weight:850}.plan-status.accepted{background:#e8f8f1;color:#168459}.plan-status.sent{background:#eef5ff;color:#2762a6}.plan-stages{display:grid;grid-template-columns:repeat(5,1fr);padding:16px 20px;grid-gap:8px;gap:8px}.plan-stages>div{min-height:64px;padding:10px;border-radius:9px;background:#faf8fc;display:flex;gap:9px;align-items:flex-start}.plan-stages i{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:var(--purple-pale);color:var(--purple-dark);font-size:8px;font-style:normal;font-weight:850}.plan-stages b,.plan-stages small{display:block}.plan-stages b{font-size:9px;line-height:1.35}.plan-stages small{margin-top:4px;color:var(--muted);font-size:8px}.treatment-plan-card>footer{padding:0 20px 17px;display:flex;justify-content:flex-end;gap:8px}.accepted-plan{padding:8px 11px;border-radius:8px;background:#e8f8f1;color:#168459;display:flex;align-items:center;gap:6px;font-size:9px;font-weight:850}.empty-treatment-plans{padding:70px 20px;border:1px dashed #d8cde4;border-radius:14px;background:#fff;text-align:center;color:var(--muted)}.empty-treatment-plans svg{color:var(--purple)}.empty-treatment-plans b,.empty-treatment-plans p{display:block}.empty-treatment-plans b{margin-top:9px;color:var(--ink);font-size:13px}.empty-treatment-plans p{font-size:10px}.package-picker{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-bottom:15px}.package-picker button{padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left;color:var(--ink);cursor:pointer}.package-picker button.selected{border-color:var(--purple);background:var(--purple-pale);box-shadow:0 0 0 3px rgba(139,53,246,.08)}.package-picker b,.package-picker small{display:block}.package-picker b{font-size:12px}.package-picker small{margin-top:4px;color:var(--muted);font-size:8px}.plan-price-preview{margin:4px 0 18px;padding:14px;border:1px solid #d9c7f1;border-radius:11px;background:#faf7ff}.plan-price-preview>span{display:flex;align-items:end;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #e6daef}.plan-price-preview>span b,.plan-price-preview>span small{display:block}.plan-price-preview>span small{font-size:9px;color:var(--muted)}.plan-price-preview>span b{font-size:20px}.plan-price-preview>div{display:flex;justify-content:space-between;padding-top:8px;font-size:9px}.plan-price-preview em{font-style:normal;color:var(--purple-dark);font-weight:750}@media(max-width:900px){.plan-stages{grid-template-columns:1fr 1fr}.treatment-plan-summary{grid-template-columns:1fr}.treatment-plan-card>header{grid-template-columns:1fr auto}.treatment-plan-card header strong{grid-column:2}}.note-sign-confirm{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0;padding:12px;border:1px solid #d9c7f1;border-radius:9px;background:#faf7ff;color:var(--ink)!important;font-size:9px!important;font-weight:750}.note-sign-confirm input{width:16px!important;height:16px!important;margin-top:1px;flex:0 0 auto}.note-signature{color:#16765e;font-weight:850}.note-legacy{color:#9b6b28;font-weight:750}.treatment-balance{margin-top:16px;border:1px solid #ddd2e9;border-radius:12px;background:#fff;overflow:hidden}.treatment-balance>header{display:flex;justify-content:space-between;padding:13px 15px;background:#f6f0fd;color:var(--ink)}.treatment-balance>header strong{color:var(--purple);font-size:10px}.treatment-balance>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-top:1px solid var(--line)}.treatment-balance>div b,.treatment-balance>div small,.treatment-balance>div span{display:block}.treatment-balance>div b{font-size:10px}.treatment-balance>div small{margin-top:3px;color:var(--muted);font-size:8px;text-transform:capitalize}.plan-financial-summary{margin-top:16px;border:1px solid #dcd0ec;border-radius:14px;background:#fff;overflow:hidden}.plan-financial-summary>header{padding:14px 16px;background:linear-gradient(135deg,#f7f2ff,#fff)}.plan-financial-summary>header b,.plan-financial-summary>header small{display:block}.plan-financial-summary>header small{margin-top:4px;color:var(--muted);font-size:9px}.plan-financial-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:1px;gap:1px;background:var(--line)}.plan-financial-grid>span{min-height:76px;padding:13px;background:#fff}.plan-financial-grid b,.plan-financial-grid em,.plan-financial-grid small{display:block}.plan-financial-grid small{color:var(--muted);font-size:8px}.plan-financial-grid b{margin-top:7px;color:var(--ink);font-size:16px}.plan-financial-grid em{margin-top:4px;color:var(--muted);font-size:8px;font-style:normal}.plan-financial-grid .current{background:#fff9eb}.plan-financial-grid .current b{color:#a86800}.plan-financial-grid .total{background:#f5edff}.plan-financial-grid .total b{color:var(--purple)}@media(max-width:800px){.plan-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-financial-grid .total{grid-column:span 2}}.earnings-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.earnings-heading h2{margin:4px 0}.earnings-heading p{margin:0;color:var(--muted);font-size:9px}.earnings-heading label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:8px;font-weight:750}.earnings-heading input{padding:9px;border:1px solid var(--line);border-radius:8px}.earnings-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-top:18px}.earnings-summary span{padding:14px;border:1px solid var(--line);border-radius:10px;background:#faf8fd}.earnings-summary b,.earnings-summary small{display:block}.earnings-summary small{color:var(--muted);font-size:8px}.earnings-summary b{margin-top:5px;font-size:15px}.earnings-summary span:first-child b{color:#16765e}.earnings-table{margin-top:14px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.earnings-table>div{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border-top:1px solid var(--line)}.earnings-table>div:first-child{border-top:0}.earnings-table b,.earnings-table small,.earnings-table span{display:block}.earnings-table b{font-size:9px}.earnings-table small{margin-top:3px;color:var(--muted);font-size:8px}.earnings-table em{font-size:9px;font-style:normal;font-weight:850}.earnings-table em.eligible{color:#16765e}.earnings-table em.awaiting{color:#a66a14}.earnings-table>p{padding:20px;text-align:center;color:var(--muted);font-size:9px}@media(max-width:700px){.earnings-heading{align-items:stretch;flex-direction:column}.earnings-summary{grid-template-columns:1fr}}.charge-actions{display:flex!important;gap:7px;align-items:center}.charge-actions button{white-space:nowrap}.appointment:not(.google-block):not(.in-progress):not(.completed){border-left-color:color-mix(in srgb,var(--appt) 72%,#111);background:linear-gradient(90deg,color-mix(in srgb,var(--appt) 88%,#111),var(--appt));color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--appt) 22%,transparent)}.appointment:not(.google-block):not(.in-progress):not(.completed) .appt-icon{background:rgba(255,255,255,.2);color:#fff}.appointment:not(.google-block):not(.in-progress):not(.completed) em,.appointment:not(.google-block):not(.in-progress):not(.completed) small{color:#fff}.appointment.in-progress:not(.google-block){border-left-color:var(--appt);background:linear-gradient(90deg,var(--appt-soft),#fff);color:var(--appt-text);box-shadow:none}.appointment.in-progress:not(.google-block) .appt-icon{background:#fff;color:var(--appt)}.appointment.in-progress:not(.google-block) em,.appointment.in-progress:not(.google-block) small{color:var(--appt-text)}.appointment.completed:not(.google-block){box-shadow:none}.appointment.completed:not(.google-block) em,.appointment.completed:not(.google-block) small{color:var(--appt-text);opacity:.65}\n.appointment.type-impression{--appt:#2778d8;--appt-soft:#e4f0ff;--appt-pale:#f5f9ff;--appt-light:#9bc4f2;--appt-text:#174f91}.appointment.type-consultation{--appt:#e47c22;--appt-soft:#fff0df;--appt-pale:#fff8f1;--appt-light:#f2bd88;--appt-text:#8a430c}.appointment.type-bite{--appt:#d2a112;--appt-soft:#fff1b9;--appt-pale:#fffbef;--appt-light:#e7d389;--appt-text:#745400}.appointment.type-try{--appt:#219864;--appt-soft:#dff5e9;--appt-pale:#f3fbf7;--appt-light:#97d2b6;--appt-text:#176544}.appointment.type-fit{--appt:#d64d97;--appt-soft:#fce2f0;--appt-pale:#fff4fa;--appt-light:#eda9cd;--appt-text:#8f2c63}.appointment.type-aftercare{--appt:#8b5b38;--appt-soft:#efe0d3;--appt-pale:#faf6f2;--appt-light:#c8a78e;--appt-text:#5f3b23}.appointment.type-repair{--appt:#9762d3;--appt-soft:#eee3fa;--appt-pale:#faf6fe;--appt-light:#c9ace8;--appt-text:#633d91}.appointment.type-default{--appt:var(--purple);--appt-soft:#f2e8ff;--appt-pale:#faf7ff;--appt-light:#c7a6ee;--appt-text:var(--purple-dark)}.appointment:not(.google-block){border-left-color:var(--appt);background:linear-gradient(90deg,var(--appt-soft),#fff);color:var(--appt-text)}.appointment:not(.google-block) .appt-icon{color:var(--appt);background:#fff}.appointment.completed:not(.google-block){border-left-color:var(--appt-light);background:var(--appt-pale);color:var(--appt-text)}.appointment.completed:not(.google-block) .appt-icon{background:var(--appt-soft);color:var(--appt)}.appointment.completed:not(.google-block) small{color:var(--appt-text);opacity:.68}\n.appointment.completed{border-left-color:#19875f;background:linear-gradient(90deg,#dff6eb,#f3fcf8);color:#164f3c}.appointment.completed .appt-icon{background:#19875f;color:#fff}.appointment.completed small{color:#38705e}.appointment.in-progress{border-left-color:#e6a11b;background:linear-gradient(90deg,#fff3d7,#fffaf0)}.undo-completion-action{height:42px;padding:0 14px;border:1px solid #d5c3eb;border-radius:10px;background:#f8f3ff;color:var(--purple-dark);display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:850;cursor:pointer}.stage-card-status{margin-top:7px!important;color:#8a8294!important;font-size:7px!important;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.stage-card-status.booked{color:#6d38a6!important}.stage-card-status.progress{color:#a66a00!important}.stage-card-status.complete{color:#13805c!important}\n.stage-view-button{display:inline-flex;border:1px solid #cfc0e6;background:#f7f2ff;color:var(--purple)}\n.stage-in-progress,\n.stage-view-button{align-items:center;gap:5px;padding:7px 10px;border-radius:9px;font-size:9px;font-weight:800;white-space:nowrap}\n.stage-in-progress{display:inline-flex!important;background:#eaf8f2;color:#13805c}.patient-record-link{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:6px 10px;border:1px solid #d8c7ee;border-radius:8px;background:#f7f1ff;color:var(--purple);font-size:9px;font-weight:800}\n.plan-stage-row{display:grid!important;grid-template-columns:1fr auto auto!important;align-items:center;grid-gap:10px;gap:10px}.plan-stage-row b,.plan-stage-row small,.plan-stage-row span{display:block}.plan-stage-row small{margin-top:2px;color:var(--muted);font-size:8px}.stage-book-button{display:flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #cda9f4;border-radius:8px;background:#f7efff;color:var(--purple-dark);font-size:8px;font-weight:850;cursor:pointer}.appointment-patient{display:flex!important;align-items:center;gap:7px}.attendance-person{width:21px;height:21px;border-radius:50%;display:inline-grid;place-items:center;flex:0 0 auto;background:#fff}.attendance-person.arrived{color:#aaa6ae;border:1px solid #d9d6dc}.attendance-person.complete{color:#4b4750;border:1px solid #77717d;background:#eeecef}.attendance-person.failed{color:#d3263f;border:1px solid #f2aab5;background:#fff0f2}.appointment.did-not-attend:not(.google-block){border-left-color:#d3263f;background:linear-gradient(90deg,#fff0f2,#fff);color:#7b2633;box-shadow:none}.appointment.did-not-attend .appt-icon{color:#d3263f!important;background:#fff!important}.appointment.did-not-attend em,.appointment.did-not-attend small{color:#8b5961!important}.dna-label{color:#c41f37!important;font-weight:850!important}.dna-action{height:42px;padding:0 14px;border:1px solid #ec9eaa;border-radius:10px;background:#fff0f2;color:#c51f37;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:850;cursor:pointer}.dna-action:hover{background:#ffe2e7}.end-of-day-panel{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 35px rgba(40,20,70,.04);overflow:hidden}.end-of-day-panel>header{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#faf7ff,#fff)}.end-of-day-panel h2{margin:4px 0;font-size:18px}.end-of-day-panel header p{margin:0;color:var(--muted);font-size:9px}.end-of-day-panel>header>strong{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff0f2;color:#c51f37;font-size:17px}.end-of-day-panel.clear>header>strong{background:#e8f8f1;color:#168459}.safety-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1px;gap:1px;background:var(--line)}.safety-card{min-height:130px;padding:14px;background:#fff}.safety-card h3{margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;font-size:10px}.safety-card h3 em{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f2eef6;color:#655d70;font-size:9px;font-style:normal}.safety-card button{width:100%;margin-top:7px;padding:9px;border:1px solid var(--line);border-radius:9px;background:#faf9fc;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.safety-card button b,.safety-card button i,.safety-card button small,.safety-card button span{display:block}.safety-card button b{font-size:9px}.safety-card button small{margin-top:2px;color:var(--muted);font-size:8px}.safety-card button i{margin-top:5px;color:#8a5961;font-size:7px;font-style:normal}.safety-card button>strong{color:var(--purple);font-size:8px}.safety-card>p{height:65px;margin:0;display:flex;align-items:center;justify-content:center;gap:6px;color:#168459;font-size:9px;font-weight:800}.safety-card.dna h3 em{background:#fff0f2;color:#c51f37}.safety-card.charges h3 em{background:#fff8e8;color:#a86800}.safety-card.notes h3 em{background:#f5efff;color:var(--purple)}@media(max-width:1000px){.safety-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.safety-grid{grid-template-columns:1fr}.end-of-day-panel>header{align-items:flex-start;gap:12px}}.charting-profile-button{height:42px;padding:0 15px;border:1px solid #8bc9b2;border-radius:10px;background:linear-gradient(135deg,#effbf6,#ddf5eb);color:#147455;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.chart-backdrop{position:fixed;inset:0;z-index:90;padding:24px;background:rgba(18,10,30,.72);display:grid;place-items:center}.dental-chart-modal{width:min(1240px,96vw);max-height:94vh;overflow:auto;border-radius:18px;background:#f8f7fa;box-shadow:0 30px 90px rgba(10,4,20,.35)}.dental-chart-modal>header{position:-webkit-sticky;position:sticky;top:0;z-index:5;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:flex-start}.dental-chart-modal>header span{color:var(--purple);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.dental-chart-modal>header h2{margin:4px 0;font-size:20px}.dental-chart-modal>header p{margin:0;color:var(--muted);font-size:10px}.dental-chart-modal>header>button{width:36px;height:36px;border:0;border-radius:9px;background:#f4f0f7;color:#5e5667;display:grid;place-items:center;cursor:pointer}.chart-legend{padding:13px 22px 0;display:flex;gap:18px;justify-content:flex-end}.chart-legend span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px}.chart-history article>i,.chart-legend i{width:9px;height:9px;border-radius:50%}.odontogram{margin:12px 22px 18px;padding:16px;border:1px solid #e4ddea;border-radius:14px;background:#fff}.arch-label{display:flex;justify-content:space-between;align-items:center;color:#89818f;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.arch-label b{color:#463d4d}.tooth-row{display:grid;grid-template-columns:repeat(16,minmax(42px,1fr));grid-gap:4px;gap:4px;align-items:end;margin:8px 0}.tooth-row.lower{align-items:start}.chart-tooth{min-width:0;padding:3px;border:2px solid transparent;border-radius:9px}.chart-tooth.active{border-color:var(--purple);background:#f7f0ff}.chart-tooth>button{display:block;width:100%;padding:2px;border:0;background:transparent;color:#61576a;font-size:9px;font-weight:850;cursor:pointer}.chart-tooth svg{display:block;width:100%;max-height:62px}.chart-tooth polygon,.chart-tooth rect{stroke:#9b92a2;stroke-width:1.4;cursor:pointer;transition:.15s}.chart-tooth polygon:hover,.chart-tooth rect:hover{stroke:#7128c8;stroke-width:3;filter:brightness(.97)}.midline{height:1px;background:linear-gradient(90deg,transparent,#d7cfe0 18%,#d7cfe0 82%,transparent)}.chart-workspace{display:grid;grid-template-columns:330px 1fr;grid-gap:14px;gap:14px;padding:0 22px 24px}.chart-history,.chart-workspace>aside{border:1px solid var(--line);border-radius:14px;background:#fff;padding:17px}.chart-workspace h3{margin:0 0 10px;font-size:13px}.chart-workspace aside>p{margin:0 0 12px;color:var(--muted);font-size:9px}.surface-picker{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px}.surface-picker button{padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:#faf9fc;color:#6a6271;font-size:8px;cursor:pointer;text-transform:capitalize}.surface-picker button.active{border-color:var(--purple);background:var(--purple-pale);color:var(--purple-dark);font-weight:800}.chart-workspace form{display:grid;grid-gap:10px;gap:10px}.chart-workspace form label{display:grid;grid-gap:5px;gap:5px;color:#665e6d;font-size:8px;font-weight:750}.chart-workspace form label em{font-weight:400}.chart-workspace select,.chart-workspace textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.chart-sign{display:flex!important;grid-template-columns:16px 1fr!important;align-items:flex-start!important;gap:8px!important;padding:10px;border-radius:8px;background:#f8f3ff}.chart-sign input{width:15px!important;height:15px!important;margin:0!important}.chart-save{height:38px;border:0;border-radius:9px;background:linear-gradient(135deg,#8b35f6,#6520c3);color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;font-weight:850;cursor:pointer}.chart-save:disabled{opacity:.6}.chart-error{margin:0;padding:9px;border-radius:8px;background:#fff0f2;color:#ad2338;font-size:8px}.chart-history h3{display:flex;align-items:center;gap:7px}.chart-history article{display:grid;grid-template-columns:10px 1fr auto;grid-gap:9px;gap:9px;padding:11px 0;border-top:1px solid var(--line);align-items:start}.chart-history article>i{margin-top:3px}.chart-history article b,.chart-history article small,.chart-history article span{display:block}.chart-history article b{font-size:9px}.chart-history article small{margin-top:3px;color:var(--muted);font-size:8px}.chart-history article p{margin:6px 0 0;color:#5c5364;font-size:8px}.chart-history time{text-align:right;color:#807887;font-size:7px}.chart-history time strong{display:block;margin-top:4px;color:#18795a}.chart-empty{padding:35px;text-align:center;color:var(--muted);font-size:9px}@media(max-width:900px){.tooth-row{grid-template-columns:repeat(8,1fr)}.chart-workspace{grid-template-columns:1fr}.profile-heading-actions{flex-wrap:wrap}}@media(max-width:600px){.chart-backdrop{padding:0}.dental-chart-modal{width:100vw;max-height:100vh;border-radius:0}.tooth-row{grid-template-columns:repeat(4,1fr)}.chart-workspace{padding:0 12px 18px}.odontogram{margin:10px 12px}.chart-legend{justify-content:flex-start;flex-wrap:wrap}}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 22px 0}.chart-toolbar .chart-legend{padding:0}.dentition-switch{display:flex;padding:3px;border:1px solid #ded5e7;border-radius:12px;background:#fff}.dentition-switch button{border:0;background:transparent;color:#706879;font-weight:800;padding:8px 13px;border-radius:9px;cursor:pointer}.dentition-switch button.active{background:#7925d8;color:#fff;box-shadow:0 5px 12px rgba(121,37,216,.2)}.odontogram.deciduous .tooth-row{max-width:720px;margin-left:auto;margin-right:auto}@media(max-width:600px){.chart-toolbar{align-items:flex-start;flex-direction:column}.dentition-switch{width:100%}.dentition-switch button{flex:1 1}}.practice-profile-settings{grid-column:1/-1}.practice-logo-editor{display:flex;align-items:center;gap:10px;margin:18px 0}.practice-logo-preview{width:min(280px,100%);min-height:120px;padding:14px;border:1px dashed #cfc4dc;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:9px}.practice-logo-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:190px;object-fit:contain}.practice-logo-editor label{display:inline-flex!important;align-items:center;cursor:pointer}.practice-logo-editor input{display:none}.practice-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:16px}.practice-details-grid label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:9px;font-weight:750}.practice-details-grid input{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}@media(max-width:650px){.practice-details-grid{grid-template-columns:1fr}.practice-logo-editor{align-items:flex-start;flex-wrap:wrap}.practice-logo-preview{width:100%}}.logo-size-settings{grid-column:1/-1}.logo-size-control{display:grid;grid-template-columns:minmax(220px,360px) 1fr;align-items:center;grid-gap:24px;gap:24px;margin:18px 0}.flexible-logo-preview{min-height:120px;padding:16px;border:1px dashed #cfc4dc;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:flex-start;overflow:auto}.flexible-logo-preview img{display:block;max-width:none;height:auto;object-fit:contain}.logo-size-control label{display:grid;grid-gap:10px;gap:10px;color:var(--muted);font-size:10px}.logo-size-control label span{display:flex;justify-content:space-between}.logo-size-control input[type=range]{width:100%;accent-color:var(--purple)}@media(max-width:650px){.logo-size-control{grid-template-columns:1fr}}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;margin-bottom:22px}.dashboard-metrics>button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;grid-column-gap:13px;column-gap:13px;padding:20px;text-align:left;background:#fff;border:1px solid #e7e0ec;border-radius:17px;box-shadow:0 7px 24px rgba(34,16,50,.05);cursor:pointer}.dashboard-metrics>button>span{grid-row:1/4;display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f3e9fc;color:#8127e7}.dashboard-metrics>button small{color:#777080}.dashboard-metrics>button b{font-size:28px}.dashboard-metrics>button em{color:#8329e8;font-size:11px;font-style:normal;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;grid-gap:20px;gap:20px}.dashboard-panel{overflow:hidden;background:#fff;border:1px solid #e7e0ec;border-radius:18px;box-shadow:0 8px 28px rgba(34,16,50,.05)}.dashboard-panel>header{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid #eee9f1}.dashboard-panel>header h2{margin:3px 0 0;font-size:20px}.dashboard-panel>header button{border:0;background:transparent;color:#7e25e1;font-weight:800;cursor:pointer}.dashboard-schedule>button{display:grid;grid-template-columns:58px 1fr auto;align-items:center;grid-gap:14px;gap:14px;width:100%;padding:15px 21px;border:0;border-bottom:1px solid #f0ecf2;background:#fff;text-align:left;cursor:pointer}.dashboard-schedule>button:hover{background:#fbf8fd}.dashboard-schedule time{font-weight:800;color:#7923d8}.dashboard-schedule span{display:flex;flex-direction:column;gap:3px}.dashboard-schedule small{color:#777080}.dashboard-schedule em{padding:5px 8px;border-radius:99px;background:#eef8f4;color:#176747;font-size:10px;font-style:normal}.dashboard-empty{display:grid;place-items:center;padding:45px;text-align:center;color:#817889}.dashboard-empty svg{color:#a64cef}.dashboard-empty b{margin-top:9px;color:#26202d}.dashboard-empty p{margin:5px}.dashboard-pipeline{display:grid;grid-gap:18px;gap:18px;padding:22px}.dashboard-pipeline>div>span{display:flex;justify-content:space-between;margin-bottom:7px}.dashboard-pipeline i{display:block;height:8px;overflow:hidden;border-radius:99px;background:#eee9f2}.dashboard-pipeline i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8528e9,#ba57fb)}.dashboard-value{margin:0 22px 22px;padding:17px;border-radius:13px;background:#171026;color:#fff;display:flex;flex-direction:column;gap:5px}.dashboard-value small{color:#c7bcd1}.dashboard-value b{font-size:25px}@media(max-width:1050px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.dashboard-grid{grid-template-columns:1fr}}@media(max-width:560px){.dashboard-metrics{grid-template-columns:1fr}.dashboard-schedule>button{grid-template-columns:48px 1fr}.dashboard-schedule>button>em{grid-column:2}}.dashboard-reporting-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-7px 0 20px;padding:14px 17px;border:1px solid #dfd2ee;border-radius:14px;background:linear-gradient(100deg,#faf6ff,#fff);box-shadow:0 5px 18px rgba(77,34,112,.04)}.dashboard-reporting-bar>div{display:flex;align-items:center;gap:11px;color:var(--purple)}.dashboard-reporting-bar b,.dashboard-reporting-bar small,.dashboard-reporting-bar span{display:block}.dashboard-reporting-bar b{color:var(--ink);font-size:13px}.dashboard-reporting-bar small{margin-top:3px;color:var(--muted);font-size:10px}.dashboard-reporting-bar select{min-width:210px;height:42px;padding:0 38px 0 13px;border:1px solid #cab4df;border-radius:10px;background:#fff;color:var(--ink);font-size:13px;font-weight:800;cursor:pointer;outline:none}.dashboard-reporting-bar select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #eee2fc}@media(max-width:850px){.dashboard-page .page-heading{align-items:flex-start;flex-direction:column}.dashboard-page .heading-actions{width:100%;flex-wrap:wrap}.dashboard-reporting-bar{align-items:stretch;flex-direction:column}.dashboard-reporting-bar select{width:100%}}.dashboard-kpi-section{margin:0 0 24px}.dashboard-kpi-section>header{display:flex;align-items:flex-end;justify-content:space-between;margin:0 2px 11px}.dashboard-kpi-section>header h2{margin:3px 0 0;font-size:18px}.dashboard-kpi-section .dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.dashboard-kpi-section .headline-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.headline-metrics>button{padding:25px;border-color:#d9c5ec;box-shadow:0 12px 32px rgba(73,28,110,.1)}.headline-metrics>button b{font-size:35px}.dashboard-kpi-section.weekly{padding:18px;border:1px solid #e8dfef;border-radius:20px;background:#faf8fc}.dashboard-kpi-section.all-time{padding:18px;border:1px solid #d8ccdf;border-radius:20px;background:#eee9f2}.dashboard-kpi-section.all-time .dashboard-metrics>button{background:#f8f5fa;border-color:#d5c9dc}.dashboard-kpi-section.all-time .dashboard-metrics>button>span{background:#ddd0e7;color:#5d2b7d}.dashboard-kpi-section.all-time .dashboard-metrics>button em{color:#6b4a7b}.tasks-page .task-panel{grid-column:auto}.tasks-page .task-list{padding:0 21px 18px}@media(max-width:1050px){.dashboard-kpi-section .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.dashboard-kpi-section .dashboard-metrics,.dashboard-kpi-section .headline-metrics{grid-template-columns:1fr}.dashboard-kpi-section.all-time,.dashboard-kpi-section.weekly{padding:13px}}.dashboard-financial-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin:-5px 0 22px}.dashboard-financial-metrics>button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;grid-column-gap:14px;column-gap:14px;padding:20px;text-align:left;background:linear-gradient(145deg,#171026,#28123f);color:#fff;border:1px solid #3e235a;border-radius:17px;box-shadow:0 10px 26px rgba(38,16,58,.13);cursor:pointer}.dashboard-financial-metrics>button>span{grid-row:1/4;display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#8b2be8;color:#fff}.dashboard-financial-metrics small{color:#cfc3d9}.dashboard-financial-metrics b{font-size:25px}.dashboard-financial-metrics em{color:#c991ff;font-size:11px;font-style:normal;font-weight:700}@media(max-width:900px){.dashboard-financial-metrics{grid-template-columns:1fr}}.stock-message{margin:0 0 16px;padding:11px 14px;border:1px solid #d9c6ed;border-radius:10px;background:#f8f2ff;color:#66209b;font-weight:750}.stock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:15px;gap:15px;margin-bottom:22px}.stock-grid>article{overflow:hidden;border:1px solid #e4ddec;border-radius:16px;background:#fff;box-shadow:0 7px 22px #2b15330b}.stock-grid>article.low{border-color:#efc97c}.stock-grid article>header{display:flex;align-items:center;gap:10px;padding:16px}.stock-grid article>header>span{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f2e8fc;color:#8129df}.stock-grid article>header div{min-width:0;flex:1 1}.stock-grid h2{margin:2px 0 0;font-size:16px}.stock-grid small{color:var(--muted)}.stock-grid header em{display:flex;align-items:center;gap:4px;color:#9a6100;font-size:9px;font-style:normal;font-weight:850}.stock-numbers{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #eee8f2}.stock-numbers span{display:flex;flex-direction:column;padding:13px 16px}.stock-numbers span+span{border-left:1px solid #eee8f2}.stock-numbers b{font-size:20px}.stock-grid footer{display:flex;gap:8px;padding:13px}.stock-grid footer button{flex:1 1;justify-content:center}.stock-history-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px}.stock-history{display:grid}.stock-history>article{display:grid;grid-template-columns:56px 1fr auto;align-items:center;grid-gap:11px;gap:11px;padding:12px 17px;border-bottom:1px solid #eee9f2}.stock-history>article>span{font-weight:900;color:#14815b}.stock-history>article>span.out{color:#a73551}.stock-history>article>span.sale{color:#7224b9}.stock-history div{display:flex;flex-direction:column}.stock-history time{color:var(--muted);font-size:9px}.stock-modal form{display:grid;grid-gap:14px;gap:14px}.stock-modal label{display:grid;grid-gap:6px;gap:6px;font-weight:750}.stock-modal small{color:var(--muted);font-weight:500}.two-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.anonymous-sale{padding:12px;border:1px solid #ebd7d7;border-radius:10px;background:#fffafa}.anonymous-sale summary{cursor:pointer;color:#9e3440;font-weight:800}.anonymous-sale label{margin-top:11px}.check-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important}.check-line input{width:auto!important}.stock-photo{grid-template-columns:auto 1fr auto!important;align-items:center;padding:12px;border:1px dashed #bca1d5;border-radius:11px;background:#faf7fd;cursor:pointer}.stock-photo input{max-width:210px}.stock-photo-preview{width:100%;max-height:230px;object-fit:contain;border-radius:10px;background:#eee}.referral-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:15px;gap:15px;margin-bottom:18px}.referral-summary>span{display:grid;grid-template-columns:auto 1fr;grid-column-gap:12px;column-gap:12px;padding:18px;border:1px solid #e4dcec;border-radius:15px;background:#fff}.referral-summary svg{grid-row:1/3;color:#872be7}.referral-summary b{font-size:24px}.referral-setup{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px;margin-bottom:20px}.referral-setup form{display:grid;grid-gap:12px;gap:12px;padding:18px;border:1px solid #e4dcec;border-radius:15px;background:#fff}.referral-setup h2{margin:0;font-size:17px}.referral-setup label{display:grid;grid-gap:5px;gap:5px;font-size:11px;font-weight:800}.referral-table{display:grid}.referral-head,.referral-row{display:grid;grid-template-columns:1.5fr 1fr .7fr .55fr .65fr;align-items:center;grid-gap:12px;gap:12px;padding:12px 18px}.referral-head{background:#f7f3fa;color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase}.referral-row{border-top:1px solid #eee8f1}.referral-row>span:first-child{display:flex;flex-direction:column}.referral-row button{padding:7px 9px;border:0;border-radius:99px;font-size:9px;font-weight:850}.referral-row button.due{background:#fff1d5;color:#906000}.referral-row button.paid{background:#e6f7ef;color:#126445}@media(max-width:1050px){.stock-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.referral-setup,.stock-history-grid{grid-template-columns:1fr}.referral-head{display:none}.referral-row{grid-template-columns:1fr auto}.referral-row>:not(:first-child){grid-column:2}.referral-summary{grid-template-columns:1fr}}@media(max-width:560px){.stock-grid,.two-fields{grid-template-columns:1fr}}.booking-patient-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:end}.booking-patient-field label{margin:0}.booking-patient-field input[type=search]{width:100%}.booking-add-patient{min-height:43px;border:1px solid #d9c9f7;border-radius:10px;background:#f7f1ff;color:#7624d8;font-weight:800;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.booking-add-patient:hover{background:#efe2ff;border-color:#b98be9}@media(max-width:800px){.booking-patient-field{grid-template-columns:1fr 1fr}.booking-add-patient{grid-column:1/-1;width:100%}}@media(max-width:620px){.booking-patient-field{grid-template-columns:1fr}.booking-add-patient{grid-column:auto}}.appointment-type-picker{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-bottom:14px}.appointment-type-picker label{margin:0}.appointment-type-picker input[type=search]{width:100%}.appointment-type-empty{grid-column:1/-1;color:#a23a4b;font-weight:700}@media(max-width:620px){.appointment-type-picker{grid-template-columns:1fr}}.secure-medical-upload{margin-top:14px;padding:14px;border:1px solid #ded2ef;border-radius:12px;background:#faf7ff}.secure-medical-upload>div:first-child{display:flex;align-items:center;gap:10px}.secure-medical-upload b,.secure-medical-upload small,.secure-medical-upload span{display:block}.secure-medical-upload small{margin-top:3px;color:var(--muted);font-size:9px}.secure-medical-upload>label{margin-top:12px;width:max-content}.secure-medical-upload>label input{display:none}.medical-document-list{display:grid!important;grid-gap:7px!important;gap:7px!important;margin-top:12px}.medical-document-list a{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid #e5ddec;border-radius:9px;background:#fff;color:var(--ink);text-decoration:none}.medical-document-list a:hover{border-color:#a85bef;background:#fdfaff}.medical-document-list a svg{color:var(--purple)}.documents-profile-button{border:1px solid #d7c4ee;border-radius:9px;background:#f8f2ff;color:#7025af;font-weight:800;padding:0 13px;display:inline-flex;align-items:center;gap:7px}.patient-documents-modal{width:min(720px,100%)}.patient-documents-toolbar{margin:18px 20px 0;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #ded2ef;border-radius:12px;background:#faf7ff}.patient-documents-toolbar b,.patient-documents-toolbar small{display:block}.patient-documents-toolbar small{margin-top:4px;color:var(--muted);font-size:10px}.document-upload-button{cursor:pointer;white-space:nowrap}.document-upload-button input{display:none}.patient-documents-list{display:grid;grid-gap:9px;gap:9px;padding:20px}.patient-documents-list>a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;grid-gap:12px;gap:12px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);text-decoration:none}.patient-documents-list>a:hover{border-color:#a65af1;background:#fdfaff}.patient-documents-list a span b,.patient-documents-list a span small{display:block}.patient-documents-list a span small{margin-top:4px;color:var(--muted);font-size:9px}.patient-documents-list a em{color:var(--purple);font-size:10px;font-style:normal;font-weight:800}.document-file-icon{width:40px;height:40px;display:grid!important;place-items:center;border-radius:9px;background:var(--purple-pale);color:var(--purple)}.documents-empty{padding:35px;text-align:center;color:var(--muted)}.documents-empty b,.documents-empty p{display:block;margin:8px 0 0}.patient-documents-modal>footer{padding:15px 20px}@media(max-width:720px){.patient-documents-toolbar{align-items:stretch;flex-direction:column}.document-upload-button{justify-content:center}.patient-documents-list>a{grid-template-columns:38px 1fr}.patient-documents-list a em{display:none}}.appointments-profile-button{border:1px solid #c9ddec;border-radius:9px;background:#f3f9fd;color:#24688f;font-weight:800;padding:0 13px;display:inline-flex;align-items:center;gap:7px}.patient-appointments-modal{width:min(720px,100%)}.patient-appointments-list{display:grid;grid-gap:9px;gap:9px;padding:20px}.patient-appointments-list article{display:grid;grid-template-columns:150px 1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.patient-appointments-list span b,.patient-appointments-list span small{display:block}.patient-appointments-list span small{margin-top:4px;color:var(--muted);font-size:10px}.patient-appointment-actions{display:flex;align-items:center;gap:8px}.patient-appointment-actions>em{padding:5px 9px;border-radius:999px;background:#eaf8f2;color:#187853;font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase}.patient-appointment-actions>button{display:inline-flex;align-items:center;gap:5px;padding:7px 10px}.appointment-date{padding-right:14px;border-right:1px solid var(--line)}.appointments-empty{padding:38px;text-align:center;color:var(--muted)}.appointments-empty b,.appointments-empty p{display:block;margin:8px 0 0}.patient-appointments-modal>footer{padding:15px 20px;display:flex;justify-content:flex-end;gap:10px}@media(max-width:720px){.patient-appointments-list article{grid-template-columns:105px 1fr}.patient-appointment-actions{grid-column:2;justify-content:flex-start}}.payments-profile-button{border:1px solid #e4d09b;background:#fff9e9;color:#825d08;font-weight:800;display:inline-flex;align-items:center;gap:7px}.patient-payments-modal{width:min(820px,100%);max-height:90vh;overflow:auto}.patient-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 20px 0;border:1px solid var(--line);border-radius:11px;background:#faf8fc;overflow:hidden}.patient-payment-summary span{padding:13px 16px;border-left:1px solid var(--line)}.patient-payment-summary span:first-child{border-left:0}.patient-payment-summary b,.patient-payment-summary small{display:block}.patient-payment-summary small{color:var(--muted);font-size:9px}.patient-payment-summary b{margin-top:4px;font-size:16px}.patient-payments-list{display:grid;grid-gap:9px;gap:9px;padding:20px}.patient-payments-list article{display:grid;grid-template-columns:130px 1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:14px;border:1px solid var(--line);border-left:4px solid #20a06b;border-radius:11px;background:#fff}.patient-payments-list article.refund{border-left-color:#ca4c5f}.patient-payments-list span b,.patient-payments-list span small{display:block}.patient-payments-list span small{margin-top:4px;color:var(--muted);font-size:9px}.patient-payments-list strong{font-size:15px;color:#187853}.patient-payments-list article.refund strong{color:#b33046}.payment-date{padding-right:14px;border-right:1px solid var(--line)}.patient-payments-modal>footer{padding:15px 20px;display:flex;justify-content:flex-end}@media(max-width:720px){.patient-payment-summary{grid-template-columns:1fr}.patient-payment-summary span{border-left:0;border-top:1px solid var(--line)}.patient-payment-summary span:first-child{border-top:0}.patient-payments-list article{grid-template-columns:95px 1fr}.patient-payments-list article>strong{grid-column:2}}.patient-payment-actions{display:grid;justify-items:end;grid-gap:8px;gap:8px}.patient-payment-actions .secondary{padding:7px 11px;font-size:11px}@media(max-width:720px){.patient-payment-actions{grid-column:2;justify-items:start}}.timeline .time-row{min-height:34px}.timeline .time-row>time{padding-top:8px}.timeline .appointment{position:absolute;z-index:2;top:4px;left:0;min-height:30px;overflow:hidden}.timeline .time-row.has-booking .slot{z-index:1}.timeline .time-row.has-booking:has(.appointment) .slot{z-index:3}.timeline .time-row{min-height:14px}.timeline .time-row>time{padding-top:0;line-height:14px}.timeline .time-row.sub-hour>.slot{border-top-color:transparent}.timeline .time-row.hour-mark>.slot{border-top-color:#ded8e5}.timeline .time-row.hour-mark>time{color:#655d6f;font-size:10px}.timeline .time-row.sub-hour>time{color:transparent}.timeline .slot{min-height:14px;padding:0}.timeline .overlap-slot{height:14px}.timeline .appointment{top:1px;min-height:0;padding:3px 9px}.timeline .available-slot{height:14px;min-height:14px;border:0;background:transparent;padding:0;overflow:hidden;color:transparent}.timeline .available-slot i,.timeline .available-slot span{display:none}.consultation-capacity-summary{margin-left:18px;padding-left:18px;border-left:1px solid var(--line);display:grid;grid-gap:2px;gap:2px;text-align:right}.consultation-capacity-summary b{font-size:11px;color:var(--ink)}.consultation-capacity-summary small{font-size:9px;color:var(--muted)}.consultation-capacity-hold{position:relative;z-index:2;width:100%;padding:5px 12px;border:2px dashed #8b35f6;border-radius:8px;background:repeating-linear-gradient(135deg,#f5efff,#f5efff 8px,#fbf9ff 0,#fbf9ff 16px);color:#6520c3;text-align:left;cursor:-webkit-grab;cursor:grab;box-shadow:0 4px 14px rgba(101,32,195,.09)}.consultation-capacity-hold:active{cursor:-webkit-grabbing;cursor:grabbing}.consultation-capacity-hold b,.consultation-capacity-hold small,.consultation-capacity-hold span{display:block}.consultation-capacity-hold b{font-size:10px}.consultation-capacity-hold small{margin-top:2px;font-size:9px;color:#77658b}.consultation-capacity-hold.overflow{border-color:#e2a83d;background:repeating-linear-gradient(135deg,#fff8e8,#fff8e8 8px,#fffcf4 0,#fffcf4 16px);color:#95600b}.consultation-capacity-hold.overflow small{color:#8a7043}.timeline .time-row{position:relative}.timeline .time-row:has(.overlap-slot .appointment){z-index:5}.timeline .overlap-slot{position:absolute;z-index:4;top:0;right:0;width:calc((100% - 61px)/2 - 2px);min-height:34px;display:flex;gap:3px}.timeline .overlap-slot .appointment{position:relative;flex:1 1;width:auto;min-width:0;left:auto;top:1px}.timeline .time-row:has(.overlap-slot .appointment)>.slot{width:calc(50% - 2px)}@media(max-width:620px){.timeline .overlap-slot{width:calc((100% - 46px)/2 - 2px)}}.legal-page{min-height:100vh;padding:48px 20px;background:radial-gradient(circle at 85% 0,#efe0ff 0,transparent 30%),#f8f7fb}.legal-page article{width:min(860px,100%);margin:auto;padding:42px 52px;border:1px solid #e6dfee;border-radius:20px;background:#fff;box-shadow:0 18px 55px rgba(42,19,64,.08)}.legal-page footer,.legal-page header{display:flex;align-items:center;justify-content:space-between;gap:20px}.legal-page header{padding-bottom:24px;border-bottom:1px solid #ece6f1}.legal-page header a{color:#8128e7;font-size:24px;font-weight:900;text-decoration:none}.legal-page footer span,.legal-page header span{color:#7b7283;font-size:12px}.legal-page h1{margin:34px 0 4px;font-size:38px}.legal-page h2{margin:28px 0 7px;font-size:17px}.legal-page p{color:#51495a;font-size:14px;line-height:1.75}.legal-page a{color:#7624d8}.legal-updated{margin-top:0!important;color:#847a8c!important}.legal-page footer{margin-top:38px;padding-top:22px;border-top:1px solid #ece6f1}@media(max-width:650px){.legal-page{padding:0}.legal-page article{padding:28px 22px;border:0;border-radius:0}.legal-page footer,.legal-page header{align-items:flex-start;flex-direction:column}.legal-page h1{font-size:30px}}.quick-note-context{width:100%;margin-top:13px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#4f4758;font-size:9px}.current-note-composer textarea,.laboratory-note-panel textarea{font-size:14px}.notes-workspace .note-card b{font-size:12px}.notes-workspace .note-card p{font-size:13px;line-height:1.65}.notes-workspace .note-card>small{font-size:9px}.quick-note-list b{font-size:11px}.quick-note-list small{font-size:9px}.appointment-heading-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.appointment-heading-actions .patient-record-link{margin-top:0}.clinical-notes-link{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #148f89;border-radius:8px;background:#e8faf7;color:#08746f;font-size:9px;font-weight:850;cursor:pointer}.notes-header-actions{display:flex;align-items:center;gap:9px}.notes-header-actions>a{height:36px;padding:0 12px;border:1px solid #c7a2ee;border-radius:9px;background:#f6efff;color:var(--purple-dark);display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:850;text-decoration:none}.notes-header-actions>button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:22px;cursor:pointer}.notes-workspace{position:absolute;inset:18px;width:auto;overflow:hidden;border-radius:18px;background:#f7f8fb;box-shadow:0 28px 85px rgba(20,10,38,.32);display:flex;flex-direction:column}.notes-workspace-header{flex:0 0 auto;min-height:76px;padding:16px 22px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between}.notes-workspace-header h2{margin:3px 0;font-size:20px}.notes-workspace-header p{margin:0;color:var(--muted);font-size:10px}.notes-workspace-header>button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:22px;cursor:pointer}.notes-workspace>.notes-warning{flex:0 0 auto;margin:12px 18px 0}.notes-workspace-grid{min-height:0;flex:1 1;display:grid;grid-template-columns:minmax(0,1fr) var(--quick-notes-width);grid-gap:1px;gap:1px;background:var(--line)}.notes-main-column{min-width:0;overflow:auto;padding:18px;background:#f8f9fc}.current-note-composer,.laboratory-note-panel{border:1px solid #dfe3ea;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(25,36,56,.04)}.current-note-composer{padding:16px}.current-note-composer>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.current-note-composer>header>div{display:flex;align-items:center;gap:9px;color:#276fc7}.current-note-composer header b,.current-note-composer header small,.current-note-composer header span{display:block}.current-note-composer header b{color:#242b36;font-size:12px}.current-note-composer header small{margin-top:2px;color:var(--muted);font-size:8px}.current-note-composer header em{color:#8a929d;font-size:8px;font-style:normal}.current-note-composer textarea,.laboratory-note-panel textarea{width:100%;resize:vertical;padding:13px;border:1px solid #d9dee7;border-radius:9px;background:#fff;color:#222936;font:inherit;line-height:1.6}.current-note-composer>footer,.laboratory-note-panel form>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:11px}.current-note-composer .note-sign-confirm,.laboratory-note-panel .note-sign-confirm{margin:0}.laboratory-note-panel{margin-top:13px;overflow:hidden}.laboratory-note-panel>button{width:100%;padding:14px 16px;border:0;background:#fff;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.laboratory-note-panel>button>span{display:grid;grid-template-columns:auto 1fr;grid-column-gap:9px;column-gap:9px;text-align:left}.laboratory-note-panel>button svg{grid-row:1/3;color:#8540c8}.laboratory-note-panel>button b,.laboratory-note-panel>button small{display:block}.laboratory-note-panel>button b{font-size:11px}.laboratory-note-panel>button small{margin-top:2px;color:var(--muted);font-size:8px}.laboratory-note-panel>button>svg{transition:.2s}.laboratory-note-panel.open>button>svg{transform:rotate(90deg)}.laboratory-note-panel form{padding:0 16px 15px}.notes-main-column>.notes-filters{padding:18px 0 8px}.notes-main-column>.notes-timeline{padding:10px 0}.quick-notes-panel{min-width:0;overflow:auto;padding:17px;background:#fff}.quick-notes-panel>header{display:flex;align-items:flex-start;justify-content:space-between}.quick-notes-panel>header>div{display:flex;gap:8px}.quick-notes-panel h3{margin:0;font-size:13px}.quick-notes-panel header p{margin:3px 0 0;color:var(--muted);font-size:8px}.quick-notes-panel>header>button{width:31px;height:31px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#71677b;display:grid;place-items:center;cursor:pointer}.quick-note-list{display:grid;grid-gap:8px;gap:8px;margin-top:15px}.quick-note-list>button{width:100%;padding:11px;border:1px solid #cddcf0;border-radius:9px;background:#f8fbff;color:#245d9d;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}.quick-note-list>button:hover{border-color:#5895d5;background:#eef7ff}.quick-note-list b,.quick-note-list small,.quick-note-list span{display:block;min-width:0}.quick-note-list b{font-size:9px}.quick-note-list small{margin-top:3px;overflow:hidden;color:#738194;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.quick-note-list>button svg{flex:0 0 auto}.quick-notes-empty{padding:35px 10px;text-align:center;color:#969da7}.quick-notes-empty b{display:block;margin-top:8px;color:#69717c;font-size:10px}.quick-notes-empty p{font-size:8px}.manage-quick-notes{margin-top:14px;border:0;background:transparent;color:#4f7fb6;display:flex;align-items:center;gap:6px;font-size:9px;font-weight:800;cursor:pointer}.quick-note-manager{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.quick-note-manager>label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:8px}.quick-note-manager input[type=range]{width:100%;accent-color:var(--purple)}.quick-note-manager form{display:grid;grid-gap:8px;gap:8px;margin:12px 0}.quick-note-manager input,.quick-note-manager textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;font:inherit}.quick-note-manager fieldset{max-height:150px;overflow:auto;padding:9px;border:1px solid var(--line);border-radius:8px}.quick-note-manager legend{padding:0 4px;color:var(--muted);font-size:8px}.quick-note-manager fieldset label{display:flex;align-items:center;gap:6px;margin:5px 0;font-size:8px}.quick-note-manager fieldset input{width:auto}.managed-quick-note{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 0;border-top:1px solid #eeeaf2}.managed-quick-note b,.managed-quick-note small,.managed-quick-note span{display:block;min-width:0}.managed-quick-note b{font-size:8px}.managed-quick-note small{margin-top:2px;color:var(--muted);font-size:7px}.managed-quick-note button{border:0;background:transparent;color:#b32c42;font-size:7px;cursor:pointer}@media(max-width:850px){.notes-workspace{inset:0;border-radius:0}.notes-workspace-grid{grid-template-columns:1fr}.quick-notes-panel{border-top:1px solid var(--line);max-height:42vh}.notes-main-column{min-height:58vh}.current-note-composer>footer,.laboratory-note-panel form>footer{align-items:flex-start;flex-direction:column}}.treatment-stage-tabs{flex:0 0 auto;display:flex;gap:8px;padding:12px 18px 0;overflow-x:auto;background:#f7f8fb}.treatment-stage-tabs button{min-width:128px;padding:10px 12px;border:1px solid #dce2ea;border-radius:10px;background:#fff;color:#586171;text-align:left;cursor:pointer}.treatment-stage-tabs button b,.treatment-stage-tabs button small{display:block}.treatment-stage-tabs button b{font-size:11px}.treatment-stage-tabs button small{margin-top:3px;color:#8b94a1;font-size:8px}.treatment-stage-tabs button.active{border-color:#8e36d6;background:#f5eaff;color:#7121ae;box-shadow:0 5px 15px rgba(126,42,183,.12)}.active-stage-heading{flex:0 0 auto;padding:11px 20px;border-bottom:1px solid #e4e7ed;background:#fff}.active-stage-heading b,.active-stage-heading small{display:block}.active-stage-heading b{font-size:14px}.active-stage-heading small{margin-top:2px;color:#7f8895;font-size:9px}.stage-signed-notes{margin:0 18px 13px;padding:13px;border:1px solid #dfe3ea;border-radius:12px;background:#fff}.stage-signed-notes h3{margin:0 0 10px;font-size:12px}.stage-note-entry{padding:10px 0;border-top:1px solid #eceff3}.stage-note-entry:first-of-type{border-top:0}.stage-note-entry em{color:#7629b3;font-size:8px;font-style:normal;font-weight:800;text-transform:uppercase}.stage-note-entry p{margin:5px 0;color:#242b36;font-size:14px;line-height:1.6;white-space:pre-wrap}.stage-note-entry small{color:#7b8490;font-size:9px}.stage-note-entry.laboratory{border-left:3px solid #8d43ca;padding-left:10px}.stage-empty{margin:0;color:#89919c;font-size:10px}.notes-workspace>.stage-signed-notes{flex:0 1 150px;min-height:70px;max-height:16vh;overflow:auto;overscroll-behavior:contain}.notes-workspace>.notes-workspace-grid{min-height:360px}.notes-workspace>.stage-signed-notes .stage-note-entry p{overflow-wrap:anywhere}.quick-notes-panel{height:100%;min-height:0}.quick-note-list{min-height:140px}.appointment-start-time{color:inherit;font-size:inherit;font-weight:850}.timeline.dragging-booking .time-row{transition:background-color .12s ease,box-shadow .12s ease}.timeline .time-row.timeline-drop-target,.timeline.dragging-booking .time-row:hover{background:#f3e8ff;box-shadow:inset 0 0 0 2px #a855f7}.appointment[draggable=true]{cursor:-webkit-grab;cursor:grab}.appointment[draggable=true]:active{cursor:-webkit-grabbing;cursor:grabbing}.quick-note-list>button{padding:14px 13px;min-height:64px}.quick-note-list b{font-size:12px}.quick-note-list small{margin-top:5px;overflow:visible;font-size:10px;line-height:1.4;text-overflow:clip;white-space:normal}.managed-quick-note>div,.quick-note-form-actions{display:flex;flex-wrap:wrap;gap:5px}.quick-note-form-actions button{min-height:32px}.managed-quick-note{align-items:flex-start}.managed-quick-note b{font-size:10px}.managed-quick-note small{font-size:8px}.managed-quick-note button{padding:4px;color:#67407f;font-size:8px}.managed-quick-note button.remove{color:#b32c42}@media(max-width:850px){.treatment-stage-tabs{padding-left:12px}.stage-signed-notes{margin-left:12px;margin-right:12px}}.notes-timeline .note-card>footer,.stage-note-entry footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.note-addendum-button{flex:0 0 auto;border:1px solid #b89add;border-radius:7px;background:#faf6ff;color:#6f27a6;padding:6px 9px;font-size:8px;font-weight:800;cursor:pointer}.signed-addendum,.stage-note-entry.addendum{border-left:4px solid #7d32ba!important;background:#fcf9ff}.addendum-reason{display:block;margin:7px 0;padding:7px 9px;border-radius:7px;background:#f2e8fb;color:#64258f;font-size:9px;font-weight:750}.quick-note-scope{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:99px;background:#dceeff;color:#346a9e;font-size:7px;font-style:normal;text-transform:capitalize}.quick-note-manager select{width:100%;height:38px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.addendum-modal{width:min(620px,100%)}.addendum-original{margin-bottom:17px;padding:13px;border:1px solid #ded7e7;border-radius:10px;background:#faf9fc}.addendum-original b,.addendum-original small{display:block}.addendum-original p{white-space:pre-wrap;line-height:1.55}.addendum-original small{color:var(--muted);font-size:9px}.addendum-modal textarea{width:100%;padding:11px;border:1px solid #ded8e5;border-radius:9px;resize:vertical;font:inherit}.addendum-modal .form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}@media(max-width:650px){.notes-timeline .note-card>footer,.stage-note-entry footer{align-items:flex-start;flex-direction:column}}.clinician-hours-tabs{display:flex;gap:8px;overflow-x:auto;margin:18px 0 14px;padding-bottom:3px}.clinician-hours-tabs button{min-width:170px;text-align:left;display:grid;grid-gap:2px;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.clinician-hours-tabs button.active{border-color:var(--purple);background:#f7f0ff;box-shadow:0 0 0 2px rgba(144,42,240,.08)}.clinician-hours-tabs span{font-weight:800;font-size:12px}.clinician-hours-tabs small{color:var(--muted);font-size:9px}.clinician-hours-tabs i{font-style:normal;font-size:9px;font-weight:700;margin-top:5px}.clinician-hours-tabs i.configured{color:#16865a}.clinician-hours-tabs i.not-configured{color:#b36a00}.day-list-controls{display:grid;grid-template-columns:1fr minmax(170px,220px) auto;grid-gap:14px;gap:14px;align-items:end;margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#faf8fc}.day-list-controls span b,.day-list-controls span small{display:block}.day-list-controls span small{margin-top:4px;color:var(--muted);font-size:9px}.day-list-controls label{margin:0}.day-list-controls button{height:42px;white-space:nowrap}@media(max-width:760px){.day-list-controls{grid-template-columns:1fr}.day-list-controls button{width:100%}}.diary-clinician-tabs{display:flex;gap:8px;overflow-x:auto;margin:-10px 0 14px;padding:3px 1px}.diary-clinician-tabs button{min-width:145px;min-height:46px;padding:8px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.diary-clinician-tabs button:not(:first-child){display:grid;text-align:left;justify-content:stretch}.diary-clinician-tabs button.active{border-color:var(--purple);background:var(--purple-pale);color:var(--purple-dark);box-shadow:0 0 0 2px rgba(139,53,246,.08)}.diary-clinician-tabs span{font-size:11px;font-weight:800}.diary-clinician-tabs small{font-size:8px;color:var(--muted)}.package-picker{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.package-picker{grid-template-columns:1fr}}.patient-profile{width:min(1040px,96vw)}.patient-profile .modal-heading{padding:0 20px;gap:11px}.patient-profile .profile-heading-actions{flex:0 0 auto;flex-wrap:nowrap;gap:7px}.patient-profile .profile-heading-actions>button{height:36px;min-width:0;padding:0 11px;border-radius:9px;gap:6px;font-size:10px;line-height:1;white-space:nowrap}.patient-profile .profile-heading-actions>button svg{width:15px;height:15px;flex:0 0 auto}.patient-profile .notes-spotlight{box-shadow:0 5px 14px rgba(8,116,111,.16)}.patient-profile .treatment-plan-profile-button{box-shadow:0 5px 14px rgba(101,32,195,.09)}.patient-profile .documents-profile-button{height:36px;cursor:pointer}@media(max-width:900px){.patient-profile .modal-heading{height:auto;min-height:86px;flex-wrap:wrap;padding:14px 18px}.patient-profile .profile-heading-actions{width:100%;order:3;margin-left:0;overflow-x:auto;padding-bottom:2px}.patient-profile .profile-heading-actions>button{flex:0 0 auto}.patient-profile .modal-heading>.profile-heading-actions+button{position:absolute;right:16px;top:16px}}.appointment.type-impression{--appt:#2778d8;--appt-soft:#e4f0ff;--appt-pale:#f5f9ff;--appt-light:#9bc4f2;--appt-text:#174f91}.conversation-reply-button{position:fixed;right:28px;bottom:28px;z-index:8;height:46px;padding:0 20px;border:0;border-radius:12px;background:linear-gradient(135deg,#9c45fc,#7625df);color:#fff;display:flex;align-items:center;gap:8px;font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(120,36,217,.3)}.conversation-reply-modal{width:min(560px,100%)}.conversation-reply-modal textarea{width:100%;padding:12px;border:1px solid #ded8e5;border-radius:9px;resize:vertical;font:inherit}.conversation-reply-modal textarea:focus{outline:0;border-color:#a65af1;box-shadow:0 0 0 3px #f2e7ff}.patient-conversations-button{border:1px solid #d8c2f3;background:#f8f2ff;color:#6a24bd;cursor:pointer}.prescription-profile-button{border:1px solid #b9d3e7;background:#f3f8fc;color:#244d75;cursor:pointer}.prescription-backdrop{z-index:170}.prescription-modal{width:min(860px,96vw);max-height:94vh;overflow:auto}.prescription-destination-step,.prescription-form{padding:22px}.prescription-destination-step>h3,.prescription-form>h3{margin:0 0 7px;color:#244d75}.prescription-destination-step>p{margin:0 0 18px;color:var(--muted);font-size:11px}.prescription-practice-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-bottom:16px}.prescription-practice-list>button{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #d6e0ea;border-radius:12px;background:#fff;color:#273241;text-align:left;cursor:pointer}.prescription-practice-list>button:focus-visible,.prescription-practice-list>button:hover{border-color:#315f8b;background:#f4f8fc;outline:3px solid rgba(36,77,117,.1)}.prescription-practice-list svg{color:#315f8b}.prescription-practice-list b,.prescription-practice-list em,.prescription-practice-list small,.prescription-practice-list span{display:block}.prescription-practice-list small{margin-top:3px;color:var(--muted);font-size:9px}.prescription-practice-list em{margin-top:7px;color:#58697b;font-size:9px;line-height:1.4;font-style:normal}.add-referral-practice{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:10px;gap:10px;margin-top:14px;padding:15px;border:1px solid #d7e0ea;border-radius:12px;background:#f7fafc}.add-referral-practice label,.prescription-grid label{display:grid;grid-gap:6px;gap:6px;color:#526171;font-size:9px;font-weight:800}.add-referral-practice .wide,.prescription-grid .wide{grid-column:1/-1}.add-referral-practice input,.add-referral-practice textarea,.prescription-grid input,.prescription-grid select,.prescription-grid textarea{width:100%;padding:10px;border:1px solid #d7dee8;border-radius:9px;background:#fff;color:#273241;font:inherit}.prescription-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:11px;gap:11px;margin:12px 0 22px}.prescription-grid.readonly input,.prescription-grid.readonly textarea{background:#f5f7fa;color:#465669}.change-practice{display:inline-flex;align-items:center;gap:5px;margin-bottom:14px;border:0;background:transparent;color:#315f8b;font-size:10px;font-weight:800;cursor:pointer}.practice-process{margin:0 0 18px;padding:13px 15px;border-left:4px solid #315f8b;border-radius:8px;background:#eef5fb}.practice-process b{color:#244d75;font-size:10px}.practice-process p{margin:5px 0 0;color:#526171;font-size:10px;line-height:1.5;white-space:pre-wrap}.prescription-form footer{display:flex;justify-content:flex-end;gap:9px}.prescription-message{color:#a12c3e;font-size:10px;font-weight:750}@media(max-width:680px){.add-referral-practice,.prescription-grid,.prescription-practice-list{grid-template-columns:1fr}.add-referral-practice .wide,.prescription-grid .wide{grid-column:auto}}.schedule-effective-control{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:16px 0;padding:14px;border:1px solid #e3d8ef;border-radius:12px;background:#faf7ff}.schedule-effective-control>span{flex:1 1;min-width:260px}.schedule-effective-control b,.schedule-effective-control small{display:block}.schedule-effective-control small{margin-top:3px;color:var(--muted)}.day-override-controls label,.schedule-effective-control label{display:grid;grid-gap:5px;gap:5px;font-size:10px;font-weight:750}.day-override-controls input,.schedule-effective-control input{height:38px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff}.schedule-effective-control em{width:100%;color:#6d28d9;font-size:10px;font-style:normal;font-weight:750}.day-override-panel{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.day-override-panel h3{margin:0;font-size:15px}.day-override-controls{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-top:14px}.day-override-controls button{height:38px}.upcoming-overrides{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.upcoming-overrides>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e8e1ee;border-radius:10px;background:#fff}.upcoming-overrides b,.upcoming-overrides small{display:block}.upcoming-overrides small{margin-top:2px;color:var(--muted)}.conversation-dnd-list{display:flex!important;flex-wrap:wrap;gap:6px;margin-top:6px}.conversation-dnd-list i{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:800}.conversation-compose-dock>.conversation-dnd-warning{display:block;color:#991b1b;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700;margin-bottom:8px}.conversation-compose-dock{position:fixed;z-index:7;right:34px;bottom:20px;width:min(720px,calc(100vw - 300px));padding:13px;border:1px solid #d8cde4;border-radius:14px;background:#fff;box-shadow:0 16px 45px rgba(36,20,55,.2)}.conversation-compose-dock header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px}.conversation-compose-dock header b,.conversation-compose-dock header small,.conversation-compose-dock header span{display:block}.conversation-compose-dock header b{font-size:12px}.conversation-compose-dock header small{margin-top:2px;color:var(--muted);font-size:8px}.conversation-compose-dock header label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:9px}.conversation-compose-dock select,.conversation-compose-dock>input{height:34px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff}.conversation-compose-dock>input{width:100%;margin-bottom:8px}.conversation-compose-dock>div{display:grid;grid-template-columns:1fr auto;align-items:end;grid-gap:9px;gap:9px}.conversation-compose-dock textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;resize:vertical;font:inherit}.conversation-compose-dock textarea:focus{outline:0;border-color:#a65af1;box-shadow:0 0 0 3px #f2e7ff}@media(max-width:850px){.conversation-compose-dock{right:12px;bottom:12px;width:calc(100vw - 96px)}}.timeline .consultation-overlay-hold{position:absolute;z-index:6;top:0;right:0;width:calc((100% - 61px)/2 - 2px)}.timeline .time-row:has(.consultation-overlay-hold)>.slot{width:calc(50% - 2px)}@media(max-width:620px){.timeline .consultation-overlay-hold{width:calc((100% - 46px)/2 - 2px)}}.patient-sticky-note{position:fixed;z-index:1200;width:320px;max-width:calc(100vw - 16px);background:#fff1a8;border:1px solid #dfbd43;border-radius:14px;box-shadow:0 18px 55px rgba(42,31,3,.28);overflow:hidden;color:#332707}.patient-sticky-note>header{display:flex;align-items:center;gap:8px;padding:10px 10px 9px;background:#f5d967;border-bottom:1px solid rgba(107,78,0,.16);cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.patient-sticky-note>header:active{cursor:-webkit-grabbing;cursor:grabbing}.patient-sticky-note>header>span{display:flex;flex-direction:column;min-width:0;flex:1 1}.patient-sticky-note>header b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-sticky-note>header small{font-size:10px;color:#755c14}.patient-sticky-note>header button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;background:rgba(255,255,255,.5);color:#4e3b05;cursor:pointer}.patient-sticky-note>header button:focus-visible,.patient-sticky-note>header button:hover{background:#fff;outline:2px solid #755c14;outline-offset:1px}.patient-sticky-note-body{padding:12px}.patient-sticky-note-body>p{margin:18px 0;text-align:center;font-size:13px}.patient-sticky-note textarea{display:block;width:100%;min-height:150px;resize:vertical;border:1px solid rgba(100,75,8,.25);border-radius:9px;background:rgba(255,255,255,.52);padding:10px;color:#342707;font:inherit;line-height:1.45}.patient-sticky-note textarea:focus{outline:3px solid rgba(117,92,20,.25);border-color:#755c14;background:#fffceb}.patient-sticky-note footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.patient-sticky-note footer small{font-size:9px;line-height:1.3;color:#755c14}.patient-sticky-note footer button{flex:none;padding:8px 10px;font-size:12px}.patient-sticky-note.collapsed{width:300px}.patient-sticky-note.collapsed>header{border-bottom:0}.sticky-note-hint{display:inline-flex;align-items:center;gap:4px;margin-left:8px;color:#6f3cc3;font-weight:700;font-size:12px}.patient-sticky-note.colour-financial{background:#e8f5ff;border-color:#5e9fc8}.patient-sticky-note.colour-financial>header{background:#bfe3fa}.patient-sticky-note.colour-treatment{background:#e9f8ef;border-color:#55a979}.patient-sticky-note.colour-treatment>header{background:#c4ebd3}.patient-sticky-note.colour-warning{background:#ffe7e7;border-color:#d76868}.patient-sticky-note.colour-warning>header{background:#f5bcbc}.patient-sticky-note.colour-general{background:#f1ebfa;border-color:#9b74c5}.patient-sticky-note.colour-general>header{background:#dac8ee}.sticky-colour-picker{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}.sticky-colour-picker button{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid rgba(70,55,30,.18);border-radius:99px;background:rgba(255,255,255,.58);color:#443a35;font-size:9px;font-weight:750;cursor:pointer}.sticky-colour-picker button.selected{border-color:#5f4677;background:#fff;box-shadow:0 0 0 2px rgba(95,70,119,.12)}.colour-dot{width:9px;height:9px;border-radius:50%;background:#f0cf4d}.colour-dot.colour-financial{background:#68b8e8}.colour-dot.colour-treatment{background:#65be88}.colour-dot.colour-warning{background:#e56c6c}.colour-dot.colour-general{background:#a985cf}.patient-sticky-note footer .sticky-remove{display:inline-flex;align-items:center;gap:4px;padding:7px 8px;border:1px solid rgba(144,45,45,.22);border-radius:8px;background:rgba(255,255,255,.55);color:#9b3232;font-size:10px;font-weight:800;cursor:pointer}.patient-sticky-note footer>small{flex:1 1;text-align:center}@media(max-width:700px){.patient-sticky-note{left:8px!important;right:8px;width:auto;max-width:none}.sticky-note-hint{display:flex;margin:5px 0 0}}.prescription-external-link{margin-top:14px;text-decoration:none;width:max-content}