.workspace{background:#f7fbf8;display:grid;grid-template-columns:252px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:white;border-right:1px solid var(--line);padding:30px 23px;display:flex;flex-direction:column}.workspace-name{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:30px 0 24px}.practice-avatar{width:36px;height:36px;border-radius:10px;background:var(--ice);display:grid;place-items:center;color:var(--blue);font-family:var(--display);font-weight:650}.workspace-name strong{font-size:13px}.workspace-name small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.sidebar nav{display:grid;gap:7px}.nav-item{padding:13px 15px;display:flex;gap:14px;text-align:left;border-radius:9px;color:var(--muted);background:none;font-size:14px}.nav-item>span{font-size:19px;width:20px;line-height:20px}.nav-item:hover,.nav-item.active{background:var(--ice);color:var(--blue)}.nav-item.active{font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom p{color:#819e8a;font-size:13px;line-height:1.7}.sidebar-bottom a{font-size:12px;color:var(--blue)}.workspace-content{min-width:0;padding:35px 38px 0}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:25px}.workspace-header h1{font-family:var(--display);font-size:32px;letter-spacing:-.04em;font-weight:550;margin:9px 0 0}.workspace-header .section-eyebrow{font-size:9px!important}.demo-badge{background:#e9f3ec;padding:8px 11px;border-radius:30px;font-size:10px;color:var(--muted);white-space:nowrap}.notice{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:28px}.notice p{margin:0;line-height:1.6}.notice a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.notice-dot{width:6px;height:6px;background:#76a39b;border-radius:50%;flex:none}.calendar-toolbar{display:flex;align-items:center;gap:10px;margin:24px 0 20px;flex-wrap:wrap}.calendar-toolbar h2{font-size:20px;font-weight:600;margin-right:auto}.outline-button{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 15px;color:var(--ink);font-size:12px;min-height:40px}.outline-button:hover{background:var(--ice)}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{background:white;border:1px solid #e3efe7;border-radius:12px;padding:18px 23px}.stat span{display:block;font-size:11px;color:var(--muted)}.stat strong{font-family:var(--display);font-size:29px;font-weight:500;margin-top:6px;display:block;letter-spacing:-.04em}.calendar-shell{border:1px solid var(--line);border-radius:12px;overflow:auto;background:white}.calendar-grid{display:grid;grid-template-columns:64px repeat(5,minmax(115px,1fr));min-width:665px}.calendar-grid>.day-head{position:sticky;top:0;text-align:center;padding:18px 6px;border-bottom:1px solid var(--line);font-size:12px;background:#fff}.calendar-grid>.time-label{font-size:10px;color:var(--muted);padding:18px 12px;border-bottom:1px solid #edf4ef;min-height:95px}.calendar-cell{padding:8px;border-left:1px solid #edf4ef;border-bottom:1px solid #edf4ef;min-height:95px;display:flex;flex-direction:column;gap:5px}.empty-slot{width:100%;height:100%;min-height:65px;background:none;border:1px dashed transparent;border-radius:7px;color:#bdd2c4;font-size:20px}.empty-slot:hover{background:#f8fcf9;border-color:var(--line);color:var(--blue)}.appointment-chip{width:100%;text-align:left;background:#ecf5ef;border-left:3px solid #52a66c;border-radius:5px;padding:8px 9px;color:#316340}.appointment-chip.arrived{background:#eaf5ef;border-color:#65a384;color:#346e54}.appointment-chip.fulfilled{background:#f1f5f2;border-color:#abc5b3;color:#6b8b75}.appointment-chip strong{font-size:11px;display:block;font-weight:650}.appointment-chip small{font-size:10px;display:block;line-height:1.5;margin-top:3px}.workspace-footer{margin-top:30px;padding:22px 0;background:none;display:flex;justify-content:space-between;gap:20px;color:#8aa693;font-size:10px}.empty-state{padding:60px 30px;text-align:center;border:1px dashed var(--line);border-radius:12px;background:white}.empty-state h2{font-size:26px;margin-bottom:15px}.empty-state p{font-size:14px;color:var(--muted);line-height:1.7}.empty-state a{display:inline-block;color:var(--blue);font-size:14px;margin-top:10px}.table-shell{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-weight:550;color:var(--muted);font-size:11px;background:#fbfdfc}th,td{padding:17px 18px;border-bottom:1px solid #edf4ef;line-height:1.6}tr:last-child td{border-bottom:0}.table-action{font-size:12px;color:var(--blue);background:none;padding:8px 0}.status-pill{display:inline-block;border-radius:30px;background:var(--ice);font-size:10px;padding:4px 9px;white-space:nowrap}.status-pill.cancelled{background:#f5edeb;color:#8e6356}.intro-panel{margin:8px 0 25px;max-width:780px}.intro-panel h2{font-size:29px;margin-bottom:15px}.intro-panel p{font-size:15px;line-height:1.7;color:var(--muted)}.role-card{background:white;border:1px solid var(--line);padding:25px;border-radius:12px;margin-bottom:14px}.role-card h3{font-size:17px;margin:0 0 10px}.role-card p,.role-card li{font-size:13px;color:var(--muted);line-height:1.8}.role-card ul{padding-left:20px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.connection-grid .role-card{display:flex;flex-direction:column}.connection-grid a{margin-top:auto;color:var(--blue);font-size:13px;line-height:1.6}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.dialog-actions .button{font-size:13px;min-height:44px;padding:12px 20px}.danger-text{color:#995848}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.filter-bar input,.filter-bar select{padding:12px;border:1px solid var(--line);border-radius:8px;background:white;min-width:0;font-size:13px}.filter-bar input{flex:1}.calendar-hint{font-size:11px;line-height:1.8;color:var(--muted)}
@media(max-width:1000px){.workspace{grid-template-columns:200px 1fr}.sidebar{padding:25px 16px}.workspace-content{padding:28px 24px 0}.workspace-header{align-items:flex-start;flex-direction:column;gap:12px}.connection-grid{grid-template-columns:1fr}}
@media(max-width:700px){.workspace{display:block}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:18px}.sidebar>.logo{font-size:24px}.sidebar .brand-symbol{width:30px;height:30px}.workspace-name,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;margin-top:17px}.nav-item{flex:none;padding:10px 12px;font-size:12px}.nav-item>span{display:none}.workspace-content{padding:24px 18px 0}.workspace-header h1{font-size:28px}.stat-grid{gap:8px}.stat{padding:14px 12px}.stat strong{font-size:24px}.stat span{font-size:10px}.calendar-toolbar{gap:7px}.calendar-toolbar h2{width:100%;font-size:19px}.filter-bar{flex-wrap:wrap}.filter-bar input{width:100%;flex:auto}.calendar-shell{margin:0 -3px}.calendar-hint{max-width:40ch}}

#practice-select{display:block;max-width:180px;width:100%;background:transparent;border:0;color:inherit;font:inherit;font-weight:600;padding:8px 0;white-space:normal}.workspace-name label{font-size:13px;color:var(--muted)}
.agenda-doctor-filter{display:flex;align-items:center;gap:20px;margin:26px 0 20px}.agenda-doctor-filter label{font-size:14px;font-weight:600;white-space:nowrap}.agenda-doctor-filter select{max-width:330px;margin:0}@media(max-width:600px){.agenda-doctor-filter{align-items:stretch;flex-direction:column;gap:10px}.agenda-doctor-filter select{max-width:none}}
.account-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:28px}.account-heading h1{margin-bottom:12px}.account-heading p{max-width:600px;line-height:1.6;color:var(--muted,#68806f)}.account-heading>.button{flex-shrink:0}.account-profile-bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;padding:20px 0;border-top:1px solid #dce9e0;border-bottom:1px solid #dce9e0;margin-bottom:36px;font-size:13px}.profile-panel{max-width:760px;margin:auto}.profile-panel>p{line-height:1.7;color:#617e6a}.profile-panel form{margin-top:28px}.profile-panel .form-grid{gap:16px}.profile-panel .button{margin-top:14px}@media(max-width:650px){.account-heading{display:block}.account-heading>.button{margin-top:12px}.account-profile-bar{gap:8px 18px}.profile-panel h1{font-size:36px}}

/* Identity stays absent until the authenticated calendar response is validated. */
.workspace [hidden]{display:none!important}
#workspace-identity{align-items:flex-start;gap:10px}
#workspace-identity>div{min-width:0}
#workspace-identity .practice-avatar{flex:none}
#workspace-identity .identity-label{font-size:11px;color:var(--muted);margin:0 0 5px}
#workspace-identity strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#workspace-identity small{font-size:12px;line-height:1.5}
.identity-details{margin:18px 0 0}
.identity-details>div+div{margin-top:14px}
.identity-details dt{font-size:11px;color:var(--muted);margin-bottom:5px}
.identity-details dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:700px){#workspace-identity:not([hidden]){display:flex;margin:18px 0 0;padding:16px 0}.identity-details{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:12px}.identity-details>div+div{margin-top:0}}
