#assistantView{max-width:1240px!important;min-height:100vh;background:#faf7f9;color:#493347;padding:28px!important;font-family:Tahoma,Arial,sans-serif;box-sizing:border-box}#assistantView header{background:linear-gradient(120deg,#faf0f4,#f0e0e9);border:1px solid #d9b9cc;border-radius:20px;padding:20px 24px;margin-bottom:22px;box-shadow:0 6px 22px #89516f0b}#assistantView h1{color:#73445e;font-weight:800}#assistantView header p{line-height:2;color:#786675}#assistantView input,#assistantView select{background:#fff;border:1px solid #ddc6d4;border-radius:10px;min-height:42px;padding:8px 12px;color:#493347}#assistantPatients{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}#assistantPatients article{border:1px solid #dec2d3!important;border-right:4px solid #b889a3!important;box-shadow:0 5px 18px #89516f08;padding:22px!important}#assistantPatients h2{font-family:Tahoma,Arial,sans-serif;font-weight:800;color:#493347;margin-top:0;line-height:1.8}#assistantPatients p,#assistantPatients li{line-height:1.9}#assistantPatients .btn{margin:6px 0 0 8px}#assistantView .btn.primary{background:#a86281;color:white;border-color:#a86281}#assistantView .btn.secondary{background:#fcf5f8;border:1px solid #d7b4c9;color:#73445e}#assistantStatus{color:#89516f}.as-history-card{max-width:1100px!important;width:calc(100vw - 28px)!important;max-height:90dvh;overflow:auto;box-sizing:border-box;background:#fff!important;color:#493347!important}.as-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;background:#fff;z-index:1;padding:8px 0 14px;border-bottom:1px solid #ead5e1}.as-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.as-history-record{border:1px solid #e5cedc;border-right:3px solid #b889a3;border-radius:12px;padding:14px;background:#fcf8fa;overflow-wrap:anywhere}.as-history-record p{white-space:pre-wrap;line-height:2;margin:6px 0}.as-history-card h4{margin:24px 0 12px;color:#89516f}.as-history-card .as-note{box-shadow:none}.as-access-caption{color:#89516f;font-size:12px;line-height:2}@media(max-width:700px){#assistantView{padding:12px!important}#assistantView header{padding:14px;align-items:flex-start!important}#assistantView h1{font-size:18px!important}#assistantPatients,.as-history-grid{grid-template-columns:minmax(0,1fr)}#assistantPatients article{padding:16px!important}.as-history-card{padding:14px!important}.as-history-heading h3{font-size:17px}.as-history-heading{align-items:flex-start}}

#assistantPatients .as-doctor-presence{background:#fff0f0;border:2px solid #ca3945;border-radius:12px;padding:14px;margin:12px 0;color:#a31525;font-weight:800;line-height:1.9}#assistantPatients .as-doctor-presence strong{color:#a31525;font-size:16px;font-weight:900}#assistantPatients .as-doctor-presence p{color:#a31525;margin:6px 0 0;font-weight:800}
/* Assistant workspace: clinic palette, clear session actions and compact mobile cards. */
#assistantView{background:#f8f6f9!important;max-width:1240px!important}#assistantView header{border-radius:17px!important;background:linear-gradient(125deg,#fff,#faedf4)!important;padding:20px!important;box-shadow:none!important;margin-bottom:18px!important}#assistantView header h1{font-size:22px!important;margin:0 0 7px!important}#assistantView header p{font-size:11px;margin:0;max-width:680px}#assistantView header>.btn{min-height:40px;margin:0;flex-shrink:0}#assistantView>.field{background:white;border:1px solid #e0c7d6;border-radius:13px;padding:11px 14px;gap:5px}#assistantView>.field>span{font-size:10px;color:#9a7d90}#assistantView #assistantSearch{border:0!important;outline:0!important;box-shadow:none!important;padding:4px 0!important;min-height:34px!important;font-size:16px!important;background:transparent!important}#assistantView>.field:focus-within{border-color:#b4799a;box-shadow:0 0 0 3px #a35f8810}.as-summary{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px;margin:14px 0}.as-summary>div{background:#fff;border:1px solid #e8d3df;border-top:3px solid #c792af;border-radius:12px;padding:13px 15px;min-width:0}.as-summary small{font-size:10px;color:#967a8d}.as-summary b{display:block;margin-top:9px;font:700 21px Tahoma;color:#80516d}.as-summary #assistantDay{font-size:12px;line-height:1.9}.as-filters{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.as-filters .btn{font-size:11px;min-height:38px}.as-filters [aria-pressed=true]{background:#a35f88!important;color:white!important;border-color:#a35f88!important}#assistantClearSearch[hidden]{display:none!important}#assistantConnectionStatus{background:#fff4df;color:#916d26;border:1px solid #eddbb5;border-radius:10px;font-size:11px;line-height:1.9;padding:10px}#assistantConnectionStatus:empty{display:none}#assistantStatus{font-size:11px;margin:13px 2px}#assistantPatients .as-patient-card{padding:18px!important;border:1px solid #e1c5d6!important;border-right:3px solid #c28caa!important;border-radius:16px;box-shadow:0 3px 13px #89516f05}.as-patient-heading{display:flex;gap:10px;align-items:center;margin-bottom:12px}.as-patient-avatar{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;background:linear-gradient(135deg,#faf0f6,#f0dfeb);border:1px solid #ead2e0;color:#a36d8e;border-radius:12px;font-weight:700;font-size:18px}#assistantPatients .as-patient-heading h2{font-size:16px!important;margin:0;line-height:1.9}.as-treatment-details{display:flex;flex-direction:column;gap:8px;margin-top:12px}.as-treatment-details .as-session-time{order:-1;background:#faf1f7;border:1px solid #ecd5e2;border-radius:8px;padding:7px 10px;font-size:11px;color:#946280;margin:0!important}.as-body-areas{margin:0!important;font-size:12px;color:#826678}.as-treatment-details>p:not(.as-body-areas):not(.as-session-time){font-size:11px;margin:0!important;color:#a08a99}.as-treatment-details>strong{font-size:11px;margin-top:4px;color:#94758a}.as-service-list{display:flex;flex-wrap:wrap;gap:6px;padding:0!important;margin:0 0 5px!important;list-style:none}.as-service-list>li{background:#f8f5f8;border:1px solid #e9dfe6;border-radius:7px;padding:4px 8px;font-size:10px!important;color:#7c6576}.as-session-selector>span{font-size:10px!important;color:#9a7f92}.as-session-selector select{min-height:37px!important;font-size:12px!important}.as-single-session{margin-top:10px}#assistantPatients .as-write-note{width:100%;min-height:43px;margin:8px 0 0!important;font-weight:700;font-size:12px;background:linear-gradient(130deg,#b87899,#9b5a7e)!important;border:1px solid #ad708f;border-radius:10px;box-shadow:0 3px 9px #a35f8814}#assistantPatients .as-history-button{width:100%;min-height:38px;font-size:11px;margin:9px 0 0!important;border-radius:10px;background:#fff!important}#assistantPatients .as-access-caption{font-size:9px;text-align:center;color:#a48b9b;margin:7px 0 0}.as-empty{grid-column:1/-1;padding:35px 15px;text-align:center;border:1px dashed #dcc2d1;border-radius:13px;color:#95768a;font-size:12px;line-height:2;background:#fff}#assistantNoteModal .modal-card{max-width:760px!important;border-radius:17px;border:1px solid #dec1d2}#assistantNoteTitle{font-size:17px;color:#7d4d68;line-height:1.9}#assistantNoteDate{font-size:11px;color:#95738a;background:#faf0f6;padding:9px;border-radius:8px}#assistantNoteText{font-size:16px;line-height:2;border:1px solid #dcbfd0;border-radius:11px;padding:12px;background:white;color:#493347}#assistantNoteStatus{font-size:12px;line-height:1.9;color:#8e5d79}#assistantNoteModal .actions{display:flex;gap:8px;flex-wrap:wrap}#assistantNoteModal .actions .btn{min-height:42px;font-size:11px}#assistantNoteModal .as-filming-check{font-size:12px;line-height:1.9;align-items:center}#assistantNoteModal .as-filming-check input{flex:0 0 20px}
@media(max-width:700px){#assistantView{padding:12px 12px 30px!important}#assistantView header{padding:15px!important;gap:8px!important}#assistantView header h1{font-size:18px!important}#assistantView header p{font-size:10px;line-height:1.9}.as-summary{gap:6px}.as-summary>div{padding:10px 7px}.as-summary small{font-size:9px}.as-summary b{font-size:19px}.as-summary #assistantDay{font-size:10px}#assistantPatients .as-patient-card{padding:14px!important}#assistantPatients{gap:12px!important}.as-filters .btn{font-size:10px;padding:8px 10px}.as-patient-heading{margin-bottom:9px}#assistantPatients .as-doctor-presence{padding:10px;margin:10px 0}#assistantPatients .as-doctor-presence strong{font-size:13px}#assistantPatients .as-doctor-presence p{font-size:11px;line-height:1.9}#assistantNoteModal .modal-card{padding:15px!important}#assistantNoteModal .actions #assistantSaveNote{flex-basis:100%}#assistantNoteModal .actions .btn{flex:1}#assistantNoteModal .as-filming-check{padding:10px;font-size:11px}#assistantNoteModal h4{font-size:13px}}

/* Compact patient list and structured session notes. */
.as-list-time{margin-inline-start:auto;font:700 12px Tahoma;white-space:nowrap;background:#f8edf4;border:1px solid #e4c5d6;border-radius:8px;padding:6px 8px;color:#875371}
.as-patient-heading[role=button]{cursor:pointer;outline-offset:4px}
.as-structured-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.as-structured-fields .field{min-width:0;margin:0}
.as-structured-fields textarea,.as-structured-fields select{width:100%;box-sizing:border-box;min-width:0;border:1px solid #dcbfd0;border-radius:9px;padding:9px;font:14px/1.8 Tahoma;background:#fff;color:#493347}
.as-structured-fields textarea{min-height:78px!important;resize:vertical}
.as-review-check{display:flex;align-items:center;gap:8px;align-self:center;font-size:12px;font-weight:bold;color:#a33548}
.as-review-check input{width:20px;height:20px;accent-color:#ac526c}
.as-needs-doctor{border-color:#d8949f!important;background:#fff2f3!important}
.as-review-flag{display:block;color:#a33548;font-size:12px;margin-bottom:8px}
.as-notes-modes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.as-notes-modes [aria-pressed=true]{background:#a35f88!important;color:#fff!important}
@media(max-width:700px){
#assistantPatients .as-patient-card{padding:10px 11px!important;border-radius:11px}
#assistantPatients{gap:7px!important}
#assistantPatients .as-patient-heading{margin:0;gap:8px;min-height:39px}
#assistantPatients .as-patient-heading h2{font-size:13px!important;min-width:0;overflow-wrap:anywhere;line-height:1.7}
#assistantPatients .as-patient-avatar{width:29px;height:29px;font-size:13px;border-radius:8px}
#assistantPatients .as-patient-card:not(.as-expanded)>:not(.as-patient-heading):not(.as-doctor-presence){display:none!important}
#assistantPatients .as-patient-card:not(.as-expanded)>.as-doctor-presence{padding:4px 7px;margin:6px 0 0;border-width:1px}
#assistantPatients .as-patient-card:not(.as-expanded)>.as-doctor-presence strong{font-size:11px}
#assistantPatients .as-patient-card:not(.as-expanded)>.as-doctor-presence p{display:none}
#assistantPatients .as-expanded .as-patient-heading{padding-bottom:8px;border-bottom:1px solid #ead5e1;margin-bottom:8px}
.as-list-time{font-size:11px;padding:5px;max-width:110px;white-space:normal;text-align:center}
.as-structured-fields{grid-template-columns:minmax(0,1fr);gap:10px}
.as-structured-fields textarea,.as-structured-fields select{font-size:16px}
.as-structured-fields textarea{min-height:70px!important}
#assistantNoteModal .modal-card{padding:12px!important}
#assistantNoteModal>.modal-card>p{font-size:11px;line-height:1.8}
}

.as-summary>#assistantDoctorSummary{background:#fff5f6;border:1px solid #dfbdcb;border-top:3px solid #c792af;border-radius:12px;padding:13px 15px;min-width:0;text-align:right;font:inherit;cursor:pointer;color:inherit}.as-summary>#assistantDoctorSummary:hover{background:#fbe9ef}.as-summary>#assistantDoctorSummary:focus-visible{outline:2px solid #a35f88;outline-offset:2px}
@media(max-width:700px){.as-summary>#assistantDoctorSummary{padding:10px 7px}}

/* App-style workspace navigation and compact read-only schedule. */
#assistantView header{border-top:4px solid #ae7294!important}#assistantView header h1{letter-spacing:-.4px}.as-workspace-nav{display:flex;gap:7px;background:#f0e6ee;border:1px solid #e5d2df;border-radius:13px;padding:5px;margin-bottom:16px}.as-workspace-nav .btn{flex:1;background:transparent;border:0;border-radius:9px;min-height:42px;color:#8a6380;font-weight:700}.as-workspace-nav [aria-pressed=true]{background:white;box-shadow:0 2px 6px #78496312;color:#79425f}.as-summary>div,.as-summary>button{border-radius:13px;border:1px solid #e6d1df;background:linear-gradient(140deg,#fff,#faf0f6);padding:12px;color:#75435e}.as-summary>button{font:inherit;text-align:right;cursor:pointer}.as-future-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.as-future-heading h2{font-size:19px;margin:0 0 5px}.as-future-heading p{font-size:11px;color:#957d8d}.as-future-heading>span{font-size:11px;color:#89516f;background:#f1e4ed;padding:7px 10px;border-radius:8px}.as-future-tools{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:12px 0}.as-future-tools .field{flex:1;min-width:130px;margin:0}.as-future-tools input{width:100%;box-sizing:border-box}.as-future-tools .btn{min-height:42px}#assistantFuture{background:#fff;border:1px solid #e4cddd;border-radius:16px;padding:18px}#assistantFuture>.field{margin:12px 0}#assistantFutureSearch{width:100%;box-sizing:border-box;font-size:16px}#assistantFutureStatus{font-size:11px;color:#907087;line-height:1.9}#assistantFutureRows{display:grid;gap:8px}.as-future-row{display:flex;gap:12px;align-items:center;background:#fcf9fb;border:1px solid #eedfe9;border-radius:11px;padding:12px}.as-future-row>b{padding:8px;background:#f3e6ef;border-radius:8px;color:#8e5275;font:700 13px Tahoma}.as-future-row strong{font-size:13px}.as-future-row small{display:block;margin-top:5px;color:#95788c;font-size:11px}#assistantView[data-section=future]>:not(header):not(.as-workspace-nav):not(#assistantFuture){display:none!important}
@media(max-width:700px){#assistantView{padding:10px!important}#assistantView header{padding:13px!important;border-radius:13px!important}.as-workspace-nav{margin-bottom:11px}.as-workspace-nav .btn{font-size:12px}.as-summary{margin:10px 0}.as-summary>div,.as-summary>button{padding:9px 7px}#assistantFuture{padding:12px;border-radius:13px}.as-future-tools{gap:6px}.as-future-tools .btn{padding:7px;font-size:11px}.as-future-tools .field{min-width:110px}.as-future-row{padding:10px}.as-future-heading h2{font-size:16px}}
