@font-face{font-family:Nunito;src:url("fonts/Nunito-Regular.4ddc1ca8a960.ttf") format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url("fonts/Nunito-Bold.1bb3c9b30612.ttf") format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Baloo;src:url("fonts/Baloo2-Bold.c34f9a3d2a34.ttf") format('truetype');font-weight:700;font-display:swap}
:root{--ink:#3d3d3d;--muted:#666560;--paper:#faf8f2;--line:#e9e6dc;--yellow:#f0c463;--peach:#f2b5a0;--mint:#9dc4a8;--blue:#a8c8d8;--soft-yellow:#fcf3dd;--soft-mint:#edf5ef;--soft-blue:#eff6f8;--soft-peach:#fcefe9;--hl:#fcf0d2;--hl-line:#f0c463;--accent:#e0a526;--accent-strong:#c08414;--hover:#f6f3ea;--row-hover:#fefaf0;--head:#f8f6f0;--marigold-ink:#7a5a12;--peach-ink:#9a3f24;--mint-ink:#2f6b45;--sky-ink:#2e6580;--alert:#b4492c;--sky-strong:#2f82b0;--radius:16px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Nunito,system-ui,sans-serif;font-size:15px;line-height:1.5}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Baloo,Nunito,sans-serif;font-weight:700;line-height:1.2}h1{font-size:40px;letter-spacing:-.6px}h2{font-size:25px}h3{font-size:22px}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}input,select{width:100%;min-height:44px;border:1px solid #8f8d84;border-radius:9px;padding:10px 12px;background:#fff}input:focus,select:focus{border-color:var(--ink)}label{display:block;font-size:14px;font-weight:700;margin:18px 0 7px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:#787260;display:block}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 18px;background:#fff;border:1px solid #dcd9cf;border-radius:9px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f5f3ec}.button.primary{background:var(--yellow);border-color:var(--yellow)}.button.primary:hover{background:#eabd58}.button.primary>span{font-size:22px;line-height:1}.button.compact{padding:8px 15px;font-size:14px}.full{width:100%}.icon-button{min-height:40px;min-width:40px;display:inline-grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:25px;line-height:1}.icon-button:hover{background:var(--paper)}.wordmark{display:flex;align-items:center;gap:9px;font-family:Baloo,sans-serif;font-weight:700;font-size:21px;letter-spacing:.4px;text-decoration:none}.wordmark small{display:block;max-width:160px;font-family:Nunito,sans-serif;letter-spacing:0;font-size:10px;font-weight:400;line-height:1.4}.avatar{height:44px;width:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:50%;background:var(--soft-yellow);font-size:20px;font-weight:700}.avatar.small{height:34px;width:34px;flex-basis:34px;font-size:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-60px;left:260px;background:var(--yellow);padding:10px;z-index:20}.skip-link:focus{top:8px}
.app-shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{padding:28px 20px 18px;border-right:1px solid var(--line);background:#fdfcf8;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.branch{display:flex;gap:11px;align-items:center;padding:18px 12px;margin:34px 0;border:1px solid var(--line);border-radius:12px;background:#fff}.branch strong{font-size:14px}.branch small{display:block;color:var(--muted)}.branch-symbol{font-size:28px;line-height:1}.nav-caption{font-size:10px;letter-spacing:1.7px;color:var(--muted);margin:0 12px 12px;font-weight:700}nav a{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:14px;padding:14px 12px;border-radius:9px}nav a.nav-active{background:var(--hl);font-weight:700}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}.sidebar-note{margin:46px 8px 24px}.sidebar-note .eyebrow{font-size:9px;letter-spacing:1px}.sidebar-note p{font-family:Baloo;font-size:20px;margin-top:12px;color:#7a7667}.brand-dots{display:flex;gap:7px;margin-top:18px}.brand-dots i{width:10px;height:10px;background:var(--yellow);border-radius:50%}.brand-dots i:nth-child(2){background:var(--mint)}.brand-dots i:nth-child(3){background:var(--peach)}.review-label{margin:auto 8px 20px;border-top:1px solid var(--line);padding-top:18px;display:grid;gap:2px}.review-label strong{font-size:10px;letter-spacing:1.2px}.review-label span{font-size:13px}.review-label small{color:var(--muted);margin-top:4px}.staff{display:flex;gap:10px;align-items:center;margin:0 8px}.staff strong{font-size:13px}.staff small{display:block;color:var(--muted);font-size:10px}.signout{border:0;background:transparent;margin-top:15px;padding:5px 9px;width:100%;text-align:left;font-size:12px;color:var(--muted)}.signout span{float:right}.main-content{min-width:0;padding:0 36px 30px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);gap:16px}.topbar strong{color:var(--ink);font-weight:400}.breadcrumb{padding:0 11px;color:#b1ae9f}.connection{font-size:11px;white-space:nowrap}.connection.connected:before{content:'';display:inline-block;width:6px;height:6px;background:#68836f;border-radius:50%;margin-right:7px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:34px 0 28px}.page-heading h1{margin:7px 0}.page-heading p{color:var(--muted);font-size:14px}.yellow{background:var(--soft-yellow)}.mint{background:var(--soft-mint)}.blue{background:var(--soft-blue)}.schedule-workspace{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 25px 19px}.workspace-heading p{color:var(--muted);font-size:12px;margin-top:6px}.chip{display:inline-block;padding:4px 10px;border-radius:15px;font-size:10px;font-weight:700;background:var(--soft-blue);white-space:nowrap}.chip.neutral{background:var(--paper);border:1px solid var(--line);color:#6e6a60}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 25px 21px}.day-controls{display:flex;align-items:center;gap:7px}.day-controls input{width:162px;min-height:40px;font-size:13px}.day-controls .button{min-height:40px}.search{position:relative;width:290px;max-width:40%}.search svg{position:absolute;top:13px;left:13px;width:17px;height:17px;color:var(--muted)}.search input{padding-left:39px;font-size:12px;min-height:42px;background:#fdfcf9}.board-columns{display:grid;grid-template-columns:170px 1fr 122px;gap:20px;padding:12px 25px;background:#f8f7f2;font-size:9px;letter-spacing:1.2px;color:var(--muted);font-weight:700}.child-row{display:grid;grid-template-columns:170px minmax(0,1fr) 122px;gap:20px;padding:23px 25px;border-bottom:1px solid var(--line);align-items:start}.child-row:last-child{border-bottom:0}.child-identity{display:flex;gap:10px;align-items:center;margin:4px 0 18px}.child-identity .avatar{height:37px;width:37px;flex-basis:37px;background:#f3f0e7;font-size:17px}.child-name{font-size:17px;font-weight:700;line-height:1.3}.child-code{font-size:10px;color:var(--muted);margin-top:4px}.text-button{border:0;padding:3px 0;background:none;text-align:left;font-size:12px;font-weight:700}.text-button:hover{text-decoration:underline}.child-sessions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:11px}.session-card{background:var(--soft-yellow);border:1px solid #f3e8ca;border-radius:10px;padding:13px 15px;min-height:137px;position:relative}.session-card.tone-mint{background:var(--soft-mint);border-color:#dfebe2}.session-card.tone-blue{background:var(--soft-blue);border-color:#e1ecef}.session-time{font-size:17px;font-weight:700;letter-spacing:-.3px}.session-service{font-size:12px;margin:6px 0 8px;font-weight:700}.session-meta{font-size:11px;color:#726f65;display:flex;gap:6px;flex-wrap:wrap}.session-number{font-size:9px;color:var(--muted);letter-spacing:.8px;margin-bottom:6px;display:block}.summary{padding:8px 0;display:flex;flex-direction:column;gap:5px}.summary strong{font-size:14px}.summary small{font-size:10px;color:var(--muted)}.summary .chip{align-self:flex-start;margin-top:10px}.board-footer{display:flex;justify-content:space-between;gap:12px;padding:16px 25px;background:#fdfcf9;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.legend-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--blue)}.empty-state{padding:56px 22px;text-align:center}.empty-state h3{margin-bottom:9px}.empty-state p{color:var(--muted);font-size:14px;max-width:480px;margin:auto}.empty-state button{margin-top:20px}.notice{position:fixed;bottom:25px;right:30px;max-width:450px;padding:16px 22px;border-radius:12px;border:1px solid var(--mint);background:#edf5ef;box-shadow:0 8px 30px #3d3d3d12;font-size:14px;z-index:40}.notice[hidden]{display:none}
dialog.drawer{border:1px solid var(--line);border-radius:18px 0 0 18px;width:min(520px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:31px;box-shadow:-12px 0 70px #3d3d3d15;overflow:auto}dialog::backdrop{background:#3d3d3d50;backdrop-filter:blur(2px)}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.drawer-heading h2{font-size:30px;margin-top:6px}.drawer>p{font-size:13px;line-height:1.6}.drawer .eyebrow{font-size:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-help{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.6}.booking-preview{padding:17px;background:var(--soft-yellow);border-radius:10px;margin-top:24px}.booking-preview strong{display:block;font-size:15px;margin:8px 0}.booking-preview p{font-size:12px;color:#6e6857;line-height:1.6}.form-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;margin:25px 0 13px}.form-actions .primary{min-width:190px}.error-box{background:#fceee7;border:1px solid var(--peach);padding:13px 15px;border-radius:9px;margin:16px 0;font-size:13px}.error-box ul{margin:6px 0 0;padding-left:19px}.error-box[hidden]{display:none}.child-timeline{margin:27px 0}.timeline-session{position:relative;margin-left:12px;padding:0 0 23px 26px;border-left:1px solid #d7d4c9}.timeline-session:before{content:'';position:absolute;width:13px;height:13px;border:3px solid #fff;left:-9px;top:3px;background:var(--yellow);border-radius:50%;box-sizing:content-box}.timeline-session:last-child{border-color:transparent}.timeline-session>p{font-size:11px;color:var(--muted);margin:14px 0 0}.timeline-session .session-card{min-height:148px}.timeline-session .session-time{font-size:21px}.timeline-session .session-service{font-size:15px}.timeline-session .session-meta{font-size:13px}
.login-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;max-width:1300px;margin:auto;padding:60px 70px;gap:100px}.login-story>.wordmark{margin-bottom:56px}.login-story h1{font-size:64px;line-height:1.1;margin:20px 0}.login-story>p{font-size:17px;color:var(--muted);max-width:370px}.login-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:43px 38px;box-shadow:0 15px 60px #3d3d3d04}.login-card h2{font-size:36px;margin:13px 0 8px}.login-card>p{font-size:14px}.login-card form{margin-top:28px}.login-card .button{margin-top:27px}.login-footnote{border-top:1px solid var(--line);padding-top:22px;margin-top:28px!important;font-size:11px!important;color:var(--muted);line-height:1.8}.message-page{max-width:650px;margin:15vh auto;padding:32px}.message-page h1{margin:20px 0}.message-page p{margin-bottom:25px}
@media(min-width:1600px){.main-content{padding-left:48px;padding-right:48px}.child-sessions{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.child-row,.board-columns{grid-template-columns:200px minmax(0,1fr) 145px}}
@media(max-width:1150px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 13px}.wordmark{font-size:18px;gap:6px}.wordmark img{width:31px}.main-content{padding:0 22px 24px}.page-heading h1{font-size:33px}.page-heading p{max-width:350px}.page-heading>.button{font-size:12px;padding:9px 12px}.child-row,.board-columns{grid-template-columns:128px minmax(0,1fr) 90px;gap:13px;padding-left:19px;padding-right:19px}.child-identity{gap:6px}.child-identity .avatar{display:none}.child-sessions{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.workspace-heading,.toolbar{padding-left:19px;padding-right:19px}.search{width:225px}.topbar{font-size:11px}.login-layout{gap:60px;padding:40px}.login-story h1{font-size:54px}}
@media(max-width:800px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:16px 20px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line);gap:15px}.sidebar .branch,.sidebar .nav-caption,.sidebar nav,.sidebar-note,.review-label,.staff{display:none}.sidebar form{margin-left:auto}.sidebar .signout{margin:0;font-size:12px;white-space:nowrap}.signout span{margin-left:10px}.wordmark{font-size:20px}.main-content{padding:0 18px 22px}.topbar{height:50px}.topbar>span:first-child{display:none}.page-heading{margin:25px 0;align-items:flex-start}.page-heading h1{font-size:31px}.page-heading .eyebrow{font-size:9px}.page-heading p{font-size:12px}.toolbar{flex-wrap:wrap}.search{width:100%;max-width:100%}.workspace-heading{padding:20px 17px}.workspace-heading h2{font-size:22px}.board-columns{display:none}.child-row{grid-template-columns:1fr auto;gap:16px;padding:20px 17px}.child-identity{margin:0}.child-identity .avatar{display:grid}.child-info .text-button{margin-top:10px}.child-sessions{grid-column:1/-1;grid-row:2}.summary{grid-column:2;grid-row:1;align-items:flex-end;gap:2px;padding:0}.summary .chip{display:none}.summary small{font-size:11px}.board-footer{padding:14px 17px;font-size:9px;flex-wrap:wrap}.login-layout{grid-template-columns:1fr;max-width:520px;padding:35px 23px;gap:30px}.login-story>.wordmark{margin-bottom:0}.login-story>.eyebrow,.login-story>h1,.login-story>p,.login-story>.login-modules{display:none}.login-card{padding:32px 25px}.notice{right:16px;left:16px;bottom:16px}.workspace-heading .chip{font-size:9px}}
@media(max-width:480px){.page-heading{display:block}.page-heading>.button{margin-top:20px;width:100%;font-size:14px}.day-controls{width:100%;gap:5px}.day-controls input{flex:1;min-width:0;width:130px}.day-controls .icon-button{min-width:34px}.child-sessions{grid-template-columns:1fr}.drawer{padding:23px!important}.form-grid{gap:10px}.workspace-heading .chip{display:none}.form-actions .primary{min-width:150px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.view-switch{display:inline-flex;padding:3px;background:#f4f1e8;border:1px solid var(--line);border-radius:10px;white-space:nowrap}.view-option{border:0;border-radius:7px;background:transparent;color:var(--muted);font:700 11px Nunito,sans-serif;padding:8px 12px;cursor:pointer}.view-option.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #3d3d3d12}.view-option:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.board-columns.all-session-columns,.all-session-row{grid-template-columns:90px minmax(145px,.85fr) minmax(165px,1fr) minmax(165px,1fr) 78px}.all-session-row{display:grid;gap:20px;padding:17px 25px;border-bottom:1px solid var(--line);align-items:center}.all-session-row:last-child{border-bottom:0}.all-session-time{display:flex;flex-direction:column}.all-session-time strong{font-family:Baloo;font-size:20px;line-height:1.1}.all-session-time small,.all-session-child small,.all-session-value small{color:var(--muted);font-size:10px;margin-top:3px}.all-session-child{display:flex;align-items:center;gap:10px;min-width:0}.all-session-child .avatar{width:34px;height:34px;flex:0 0 34px;font-size:14px}.all-session-child .text-button{font-size:14px}.all-session-child small,.all-session-value small{display:block}.all-session-value{font-size:13px}.all-session-value strong{display:block;font-size:13px}
@media(max-width:1150px){.board-columns.all-session-columns,.all-session-row{grid-template-columns:78px minmax(125px,.8fr) minmax(140px,1fr) minmax(145px,1fr) 68px;gap:13px;padding-left:19px;padding-right:19px}}
@media(max-width:800px){.view-switch{align-self:flex-start}.all-session-row{grid-template-columns:84px 1fr;padding:17px}.all-session-row>div:nth-child(3),.all-session-row>div:nth-child(4){grid-column:2}.all-session-row>div:nth-child(5){grid-column:1;grid-row:2}.all-session-row .chip{margin-top:3px}.all-session-time strong{font-size:18px}}
@media(max-width:480px){.workspace-heading{align-items:flex-start;flex-direction:column}.view-switch{width:100%}.view-option{flex:1}}

.board-columns[hidden]{display:none}.therapist-grid-scroll{overflow:auto;max-height:min(680px,calc(100vh - 140px));background:#fff;border-top:1px solid var(--line)}.therapist-grid-head{display:grid;position:sticky;top:0;z-index:8;min-width:max-content;background:#fdfcf8;color:var(--ink);border-bottom:1px solid #d9d5c8}.grid-time-head{display:grid;place-items:center;font-size:9px;letter-spacing:1.1px;font-weight:700;color:var(--muted);border-right:1px solid var(--line);position:sticky;left:0;z-index:9;background:#fdfcf8}.grid-therapist-head{border-right:1px solid var(--line)}.grid-therapist-title{padding:11px 12px 8px;min-height:55px}.grid-therapist-title strong{font-family:Baloo;font-size:16px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-therapist-title small{display:block;color:var(--muted);font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-subheads{display:grid;grid-template-columns:1fr 44px;background:var(--soft-yellow);color:#6e6a60;font-size:9px;font-weight:700;letter-spacing:.7px}.grid-subheads span{padding:5px 7px;border-top:1px solid var(--line)}.grid-subheads span:last-child{text-align:center;border-left:1px solid var(--line)}.therapist-grid-body{display:grid;position:relative;min-width:max-content}.grid-time{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:5px;overflow:hidden;background:#fdfcf8;color:var(--muted);border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:9px;line-height:1.25;position:sticky;left:0;z-index:4}.grid-time strong{color:var(--ink);font-size:11px}.grid-time.break{background:#f3efe4;border-bottom-color:#f3efe4;justify-content:center;padding-top:0;font-style:italic}.grid-slot{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.grid-slot.break{background:#f3efe4;border-bottom-color:#f3efe4}.grid-pa-slot{background:#f8f7f2}.grid-appointment{margin:2px 3px;padding:7px 9px;border:1px solid #efddb0;border-left:4px solid var(--yellow);border-radius:7px;background:var(--soft-yellow);z-index:3;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:0}.grid-appointment.tone-mint{background:var(--soft-mint);border-color:#d4e5d9;border-left-color:var(--mint)}.grid-appointment.tone-blue{background:var(--soft-blue);border-color:#d5e7ed;border-left-color:var(--blue)}.grid-child-button{border:0;background:transparent;padding:0;text-align:left;color:var(--ink);font:700 12px Nunito,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.grid-child-button:hover{text-decoration:underline}.grid-appointment>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grid-appointment>small{font-size:8px;color:var(--muted);white-space:nowrap}.grid-attendance{margin:2px;display:grid;place-items:center;background:#f3f1ea;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px;font-weight:700;z-index:3}.grid-attendance.present{background:var(--soft-mint);border-color:var(--mint);color:var(--ink)}.grid-attendance.absent{background:#fbece5;border-color:var(--peach);color:var(--ink)}
@media(max-width:800px){.therapist-grid-scroll{max-height:620px}.therapist-grid-head,.therapist-grid-body{min-width:760px}}

.records-card{background:#fff;padding:24px;border:1px solid var(--line);border-radius:16px;margin:24px 0}.records-card>p{color:var(--muted);font-size:13px;margin:12px 0}.records-filters{display:flex;gap:16px;align-items:end;margin:24px 0}.records-filters>div{flex:1}.records-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px}.records-table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.records-table th,.records-table td{padding:13px 16px;border-bottom:1px solid var(--line)}.records-table thead{background:var(--head)}.records-table thead th{font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);white-space:nowrap}.records-table tbody tr:hover{background:var(--row-hover)}.records-table a{font-weight:700}.records-pagination{display:flex;justify-content:space-between;margin:20px 0}.records-message{padding:16px;background:var(--soft-mint);border-radius:12px}.records-card fieldset{border:0;padding:0;min-width:0}.therapy-plan{border-top:1px solid var(--line);padding:18px 0}.plan-fields{display:grid;grid-template-columns:150px 1fr 1fr;gap:20px}.plan-fields select{min-height:110px}.source-value{white-space:pre-wrap;overflow-wrap:anywhere}.records-card .errorlist{color:#9a302d}@media(max-width:650px){.records-filters{flex-wrap:wrap}.plan-fields{grid-template-columns:1fr}.records-filters>div{min-width:150px}.records-card{padding:16px}}

.workspace-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.workspace-links .records-card{margin:12px 0;text-decoration:none}.record-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}textarea{width:100%;font:inherit;border:1px solid #8f8d84;border-radius:9px;padding:12px}input[type=checkbox]{width:auto;min-height:20px}.record-form-grid select[multiple]{min-height:120px}@media(max-width:650px){.workspace-links,.record-form-grid{grid-template-columns:1fr}}
/* Shared dashboard shell: grouped sidebar, page header, KPI cards and panel grid */
.app-sidebar{overflow-y:auto}.app-sidebar .branch{margin:22px 0}.side-nav a{padding:10px 12px}.side-nav svg,.mobile-menu nav svg{flex:0 0 20px;color:#6e6a60}.side-nav a.nav-active svg,.mobile-menu nav a.nav-active svg{color:var(--ink)}.nav-group{margin-top:4px}.nav-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;font-size:14px;font-weight:700}.nav-group>summary:focus{outline:none}.nav-group>summary:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary::after{content:'';flex:0 0 auto;width:6px;height:6px;margin:0 4px 0 auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}.nav-group[open]>summary::after{transform:rotate(45deg)}.nav-group>summary:hover,.mobile-menu .nav-group>summary:hover{background:#f5f3ec}.nav-group-links{margin:2px 0 6px 21px;padding-left:11px;border-left:1px solid var(--line)}.nav-group a{font-size:13px;font-weight:400;padding:8px 10px}.nav-group a.nav-active{font-weight:700}.side-nav a:not(.nav-active):hover{background:#f5f3ec}.app-sidebar .staff{margin-top:auto;padding-top:22px}.mobile-menu{display:none}
.page-body{padding-bottom:30px}.page-heading .page-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.back-link{display:inline-block;margin-top:24px;font-size:13px;font-weight:700;text-underline-offset:4px}.back-link+.page-heading{margin-top:12px}
.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:0 0 20px}.kpi{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px 18px;text-decoration:none;display:grid;gap:4px;min-width:0}.kpi strong{font-family:Baloo,sans-serif;font-size:28px;line-height:1.1}.kpi span{font-size:12px;font-weight:700;color:var(--muted)}a.kpi:hover{background:#fdfcf8}.kpi[aria-current=page]{background:var(--soft-yellow);border-color:var(--yellow)}.kpi[aria-current=page] span{color:var(--ink)}
.filter-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:4px 18px 16px;margin:0 0 20px}.filter-card .records-filters{margin:0}.filter-card .field-help,.filter-card>p{font-size:12px;color:var(--muted);margin-top:10px}.table-note{font-size:12px;color:var(--muted);margin:0 0 10px}
.panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 20px}.panel-grid>.records-card{margin:0;min-width:0}.records-card>h2:first-child{font-size:21px}.card-list{list-style:none;padding:0;margin:12px 0 0}.card-list li{padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.card-list li:last-child{border-bottom:0}
@media(max-width:1150px){.panel-grid{grid-template-columns:1fr}}
@media(max-width:800px){.app-sidebar{position:relative;flex-wrap:wrap;overflow:visible;z-index:20}.app-sidebar .side-nav,.app-sidebar .branch,.app-sidebar .staff{display:none}.app-sidebar .mobile-menu{display:block;margin-left:auto}.app-sidebar .mobile-menu>summary{list-style:none;cursor:pointer;font-weight:700;font-size:13px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}.app-sidebar .mobile-menu>summary::-webkit-details-marker{display:none}.app-sidebar .mobile-menu[open]>nav{display:block;position:absolute;left:0;right:0;top:100%;z-index:30;background:#fdfcf8;border-bottom:1px solid var(--line);padding:8px 16px 16px;max-height:75vh;overflow-y:auto;box-shadow:0 12px 24px rgba(61,61,61,.12)}.app-sidebar form{margin-left:0}.app-sidebar .wordmark small{display:none}.app-sidebar .signout{width:auto}.topbar>time{margin-left:auto}.page-heading .page-actions{justify-content:flex-start}}
@media(max-width:480px){.page-heading .page-actions{margin-top:16px}.kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
.workspace-links .kpi strong{font-size:18px}.workspace-links .kpi{margin:0}.workspace-links>.records-card{margin:0}
/* Insights: KPI notes, attention queues, bar and trend charts (chart colours: deeper steps of Marigold and Sky Blue, validated for contrast and colour-blind separation) */
.kpi small{font-size:11px;color:var(--muted)}
.attention-list{list-style:none;padding:0;margin:12px 0 0}.attention-list li{border-bottom:1px solid var(--line)}.attention-list li:last-child{border-bottom:0}.attention-list a{display:flex;align-items:center;gap:12px;padding:11px 0;text-decoration:none;font-size:14px}.attention-list a:hover span:nth-child(2){text-decoration:underline}.attention-list strong{min-width:42px;text-align:center;padding:4px 10px;border-radius:8px;font-size:16px}.attention-list .has-items{background:var(--soft-yellow)}.attention-list .is-clear{background:#f3f1ea;color:var(--muted)}.attention-list a>span:last-child{margin-left:auto;color:var(--muted)}
.bar-chart{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px}.bar-chart li{display:grid;grid-template-columns:minmax(110px,40%) minmax(0,1fr) 44px;align-items:center;gap:12px;font-size:13px}.bar-track{width:100%;height:12px;display:block}.bar-bg{fill:#f3f1ea}.bar-fill{fill:var(--accent-strong)}.bar-value{text-align:right}
.trend-chart{margin:14px 0 0}.trend-chart>svg{width:100%;height:auto;display:block}.series-a{fill:#c08414}.series-b{fill:#2f82b0}.chart-baseline{stroke:#d9d5c8;stroke-width:1}.chart-axis{fill:var(--muted);font-size:12px;font-family:Nunito,sans-serif}.chart-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin-bottom:8px}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.chart-legend svg{width:10px;height:10px}.chart-table{margin-top:10px;font-size:12px}.chart-table summary{cursor:pointer;font-weight:700}.chart-table table{margin-top:8px;font-size:13px}
.register-links{display:grid;gap:2px;margin-top:10px}.register-links a{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-weight:700;font-size:14px;text-decoration:none}.register-links a:hover{text-decoration:underline}.register-links a:last-child{border-bottom:0}
@media(max-width:480px){.bar-chart li{grid-template-columns:1fr 40px}.bar-chart .bar-track{grid-column:1/-1;grid-row:2}}
.bar-track,.trend-chart svg,.chart-legend svg{stroke:none}
.login-modules{list-style:none;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:520px}.login-modules li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;grid-template-columns:10px 1fr;column-gap:10px;align-items:center}.login-modules strong{font-size:14px}.login-modules small{grid-column:2;color:var(--muted);font-size:12px;line-height:1.4}.module-dot{width:8px;height:8px;border-radius:50%;background:var(--yellow)}.module-dot.peach{background:var(--peach)}.module-dot.mint{background:var(--mint)}.module-dot.blue{background:var(--blue)}
.conflict-card{margin:0 0 16px}.conflict-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.conflict-head h2{font-size:18px;margin:0}.conflict-note{font-size:12px;color:var(--muted)}.fix-options{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.fix-options form{margin:0}.fix-options .button.compact{min-height:32px;padding:5px 10px;font-size:12px}.kept-row td{background:#fdfcf8}
.nav-category{display:block;margin:18px 12px 4px;font-size:9px;letter-spacing:1.7px;text-transform:uppercase;font-weight:700;color:var(--muted)}
.draft-workspace{margin-bottom:20px}.draft-workspace .toolbar{flex-wrap:wrap}a.icon-button,a.view-option{text-decoration:none}.draft-tick{cursor:pointer;background:#fff;border-color:var(--yellow)}.draft-tick input{width:17px;height:17px;margin:0;accent-color:var(--accent-strong);cursor:pointer}.grid-appointment.draft-warning{background:#fbece5;border-color:#f2d3c6;border-left-color:var(--peach)}.grid-appointment.draft-saved{opacity:.72}.grid-child-button{text-decoration:none}.draft-decisions{margin-bottom:20px}.draft-decisions .records-table-wrap{padding:0 25px 20px}
.wordmark.brand-logo{display:block;line-height:0}.wordmark.brand-logo img{display:block;width:100%;max-width:196px;height:auto}.login-logo.brand-logo img{max-width:280px}@media(max-width:800px){.app-sidebar .wordmark.brand-logo img{width:auto;height:42px}.login-logo.brand-logo img{max-width:220px}}
.grid-appointment.clickable{cursor:pointer}.grid-appointment.clickable:hover{box-shadow:0 2px 8px #3d3d3d1f}.draft-workspace .grid-appointment{position:relative}.draft-workspace .grid-child-button::after{content:"";position:absolute;inset:0}
.grid-appointment.dragging{opacity:.45;cursor:grabbing}.drop-marker{margin:2px 3px;border:2px dashed #2E7DAA;border-radius:7px;background:#a8c8d840;z-index:6;font:700 10px Nunito,sans-serif;color:var(--ink);padding:4px 6px;overflow:hidden;pointer-events:none}.drop-marker.blocked{border-color:#c0392b;background:#f2b5a055}.drop-marker[hidden]{display:none}.notice-undo{margin-left:8px;text-decoration:underline}
.grid-appointment.clickable{user-select:none}
.away-list{margin:8px 0 14px;padding-left:18px}.away-list li{margin:6px 0}.inline-form{display:inline;margin-left:8px}
/* Staff panel: phone app screens (frame, app bar, bottom tabs, cards) */
.skip-link.staff-skip{left:16px;white-space:nowrap}
.staff-login{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.staff-login .login-card{width:100%;max-width:440px;padding:32px 24px}.staff-login h1{font-size:34px;margin:10px 0 6px}.staff-login .login-logo{margin-bottom:22px}.staff-login .login-footnote a{font-weight:700}
body.staff-app{background:#efece3}
.app-frame{max-width:480px;min-height:100vh;margin:0 auto;background:var(--paper);position:relative;box-shadow:0 0 40px #3d3d3d14}
.app-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top));background:#fdfcf8e6;backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.app-bar-logo img{display:block}.app-bar-title{min-width:0;flex:1}.app-bar-title small{display:block;font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-bar-title strong,.app-bar-title h1{display:block;margin:0;font-weight:700;font-family:Baloo,sans-serif;font-size:21px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-back{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);text-decoration:none;font-size:26px;line-height:1;flex:0 0 40px}
.review-banner{margin:0;padding:8px 16px;background:var(--soft-blue);font-size:13px;border-bottom:1px solid var(--line)}.review-banner a{font-weight:700;margin-left:6px}
.app-content{padding:16px 16px calc(92px + env(safe-area-inset-bottom))}
.tab-bar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px #3d3d3d0d}
.tab-bar a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;text-decoration:none;font-size:11px;font-weight:700;color:var(--muted);border-radius:12px}.tab-bar svg{width:24px;height:24px;padding:2px 12px;box-sizing:content-box;border-radius:14px}.tab-bar a[aria-current=page]{color:var(--ink)}.tab-bar a[aria-current=page] svg{background:var(--yellow)}
.app-toast{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:var(--soft-mint);border:1px solid var(--mint);font-size:14px;font-weight:700}.app-toast.error{background:#fbece5;border-color:var(--peach)}
.app-hello{margin:4px 0 14px}.app-hello h1{font-size:26px}.app-hello p{font-size:13px;margin-top:2px}
.app-heading{font-size:22px}.app-intro{font-size:13px;margin:0 0 12px}.small{font-size:12px}.center{text-align:center}
.app-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin:0 0 12px}
.app-section{margin:18px 0 8px}.app-section h2{font-size:19px;margin:0 0 8px;display:flex;justify-content:space-between;align-items:baseline;gap:8px}.app-section h2 small{font-family:Nunito,sans-serif;font-size:12px;color:var(--muted)}.app-section h2 a{text-decoration:none}
.app-note{background:var(--soft-yellow);border-radius:12px;padding:10px 12px;margin:0 0 12px;font-size:13px}.app-note.warn{background:#fbece5}
.app-empty{text-align:center;padding:36px 16px;background:#fff;border:1px dashed #dcd9cf;border-radius:18px}.app-empty strong{font-family:Baloo,sans-serif;font-size:18px}.app-empty p{color:var(--muted);font-size:13px;margin-top:4px}
.app-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.app-list>li+li{border-top:1px solid var(--line)}.app-list form{margin:0}
.app-row{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:60px;text-decoration:none;color:var(--ink);width:100%;background:none;border:0;text-align:left;font:inherit}.app-row:active{background:var(--soft-yellow)}.app-row-main{flex:1;min-width:0}.app-row-main strong{display:block;font-size:16px;overflow-wrap:anywhere}.app-row-main small{display:block;color:var(--muted);font-size:12px}.app-chevron{font-size:24px;color:#b1ae9f}.app-list.compact .app-row{min-height:48px;padding:8px 14px}
.app-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--soft-yellow);font-family:Baloo,sans-serif;font-size:18px}.app-avatar.large{flex-basis:56px;width:56px;height:56px;font-size:26px;background:var(--yellow)}
.row-time{flex:0 0 52px}.row-time strong{display:block;font-size:16px}.row-time small{color:var(--muted);font-size:11px}.session-row.cancelled .app-row-main strong,.session-row.cancelled .row-time strong{text-decoration:line-through;color:var(--muted)}
.badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:700;background:var(--soft-blue);white-space:nowrap}.badge.mint{background:var(--soft-mint)}.badge.peach{background:#fbece5}.badge.grey{background:#f1efe8;color:#6e6a60}.badge.yellow{background:var(--soft-yellow)}
.day-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}.round-button{display:grid;place-items:center;padding:0;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fff;border:1px solid var(--line);text-decoration:none;font-size:24px}.day-pick{display:flex;gap:6px;align-items:center;flex:1;min-width:0}.day-pick input{min-height:44px;flex:1;min-width:0;border-radius:22px;text-align:center}.week-label{font-weight:700}
.chip-button{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:18px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:700;text-decoration:none;color:var(--ink)}
.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px}.stat-strip div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 10px;text-align:center}.stat-strip strong{display:block;font-family:Baloo,sans-serif;font-size:24px;line-height:1.1}.stat-strip span{font-size:11px;color:var(--muted);font-weight:700}.stat-strip .due{background:#fbece5;border-color:var(--peach)}
.segments{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;padding:4px;margin:0 0 14px;background:#ebe8de;border-radius:14px}.segments.three{grid-template-columns:repeat(3,1fr)}.segments a{display:flex;justify-content:center;text-align:center;padding:9px 4px;border-radius:10px;text-decoration:none;font-weight:700;font-size:13px;color:#6e6a60}.segments a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:0 1px 4px #3d3d3d1a}
.day-block h2 a{text-decoration:underline;text-underline-offset:3px}.day-block.is-today h2::after{content:"Today";font-family:Nunito,sans-serif;font-size:11px;background:var(--yellow);padding:2px 8px;border-radius:10px}
.staff-timetable{display:grid;gap:8px}.staff-timetable details{margin:0}.staff-timetable summary{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;font-family:Baloo,sans-serif;font-size:17px;list-style:none;min-height:32px}.staff-timetable summary::-webkit-details-marker{display:none}.staff-timetable summary small{font-family:Nunito,sans-serif;color:var(--muted);margin-left:auto}.staff-timetable summary::after{content:"+";font-size:20px;color:var(--muted)}.staff-timetable details[open] summary::after{content:"\2013"}.staff-timetable ul{list-style:none;margin:8px 0 0;padding:0}.staff-timetable li{font-size:13px;padding:6px 0 6px 8px;border-top:1px solid var(--line);overflow-wrap:anywhere}.staff-timetable li small{display:block;color:var(--muted)}.staff-slot{border-left:3px solid var(--yellow)}.staff-slot.tone-mint{border-left-color:var(--mint)}.staff-slot.tone-blue{border-left-color:var(--blue)}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.facts dt{font-size:11px;color:var(--muted);font-weight:700}.facts dd{margin:0;font-weight:700}
.goal-chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.goal-chips li{background:var(--soft-yellow);border-radius:12px;padding:6px 10px;font-size:13px}
.child-head{display:flex;gap:14px;align-items:center}.child-head p{margin:2px 0}.child-head .badge{margin:0 4px 4px 0}
.add-row{margin:0 0 12px}
.record .record-title{font-size:18px;margin:6px 0 2px}.record-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;margin:0}.record-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:8px 0 0}.record details summary{cursor:pointer;font-size:13px;font-weight:700;color:#6e6a60;margin-top:6px}.record.goal-achieved{border-color:var(--mint)}.record.goal-stopped{opacity:.75}
.goal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.goal-actions form{margin:0}
.app-form label{margin:14px 0 6px}.app-form textarea{min-height:96px}.app-form .button{margin-top:18px}.app-form .errorlist{color:#9a302d;font-size:13px;margin:6px 0 0;padding-left:18px}.check-row{display:flex!important;gap:10px;align-items:flex-start;font-weight:700}.check-row input{margin-top:3px}
.signout-row{cursor:pointer}
@media(min-width:700px){.app-frame{margin-top:16px;border-radius:24px 24px 0 0}}
.app-list+.app-list{margin-top:12px}
.tab-bar a{position:relative}.tab-badge{position:absolute;top:2px;left:calc(50% + 8px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--alert);color:#fff;font-size:11px;line-height:18px;text-align:center}
.punch-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.punch-card strong{display:block;font-size:16px}.punch-card .button{flex:0 0 auto}
.next-card{display:block;text-decoration:none;color:var(--ink);border-left:4px solid var(--yellow)}.next-card strong{display:block;font-size:17px;margin:2px 0}
.dash-heading{font-size:17px;margin:18px 0 8px}.dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dash-tile{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px;text-decoration:none;color:var(--ink);min-width:0}.dash-tile strong{display:block;font-family:Baloo,sans-serif;font-size:28px;line-height:1.1}.dash-tile span{display:block;font-size:13px;font-weight:700}.dash-tile small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.dash-tile.wide{grid-column:1/-1}.dash-tile.alert{background:#fbece5;border-color:var(--peach)}a.dash-tile:active{background:var(--soft-yellow)}
.due-list{margin-top:10px}
.punch-box .app-heading{margin-bottom:6px}.punch-video,.punch-canvas{display:block;width:100%;max-width:360px;margin:12px auto;border-radius:16px;background:#000;transform:scaleX(-1)}.punch-canvas{transform:none}.punch-video[hidden],.punch-canvas[hidden]{display:none}.punch-status{font-weight:700;font-size:14px;margin:10px 0;min-height:1em;white-space:pre-line}.punch-box .button{margin-top:6px}
.chat-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}.chat-message{max-width:82%;align-self:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px 16px 16px 4px;padding:8px 12px}.chat-message.mine{align-self:flex-end;background:var(--soft-yellow);border-color:#f3e8ca;border-radius:16px 16px 4px 16px}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.chat-message small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.chat-empty{text-align:center;padding:24px 0}
.chat-form{display:flex;gap:8px;align-items:flex-end;position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));background:var(--paper);padding:8px 0}.chat-form textarea{flex:1;min-height:44px;border-radius:22px;padding:10px 14px;resize:vertical}.chat-form .button{border-radius:22px}
.office-chat{max-width:760px}.office-chat .chat-form{position:static}
.punch-thumb{display:block;width:64px;height:48px;object-fit:cover;border-radius:8px;background:#eee}.punch-review{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.punch-review input{min-height:36px;width:180px}
.punch-box [hidden]{display:none}
.app-avatar.desk{background:var(--soft-blue)}.chat-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto}.chat-row-side small{color:var(--muted);font-size:11px}
.count-badge{display:inline-block;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--alert);color:#fff;font-size:11px;line-height:20px;text-align:center}
.people-search{margin:0 0 10px;border-radius:22px}.select-filter{display:block;width:100%;margin:0 0 4px;padding:5px 9px;font-size:.85rem;min-height:0}[data-people]>li[hidden]{display:none}
.app-bar .button.compact{min-height:36px;padding:6px 14px;border-radius:18px}
.office-messages{max-width:760px}.office-messages .app-list{border-radius:12px}
.history-nav{display:flex;gap:4px;margin-right:12px}.history-nav button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700;color:var(--ink)}.history-nav button:hover{background:var(--soft-yellow)}.topbar>span{margin-right:auto}

@media(max-width:800px){.history-nav button{padding:6px 8px}.topbar>.history-nav+span{display:none}}
.child-bar{position:sticky;top:0;z-index:15;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px;margin:0 0 16px;background:#fdfcf8;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 12px #3d3d3d0d}.child-bar strong{font-family:Baloo,sans-serif;font-size:16px;margin-right:6px}.child-bar a{padding:6px 10px;border-radius:9px;font-size:13px;font-weight:700;text-decoration:none;background:#fff;border:1px solid var(--line)}.child-bar a:hover{background:var(--soft-yellow)}.child-bar a[aria-current=page]{background:var(--hl);border-color:var(--hl-line);box-shadow:inset 0 0 0 1px var(--hl-line);font-weight:700}
#plans,#clinical,#patient-sessions,#patient-billing,#patient-packages,#patient-documents,#away-heading{scroll-margin-top:80px}
.advice{margin:2px 0 6px}.advice strong{display:block;font-size:13px}.advice small{display:block;color:#6e6a60;font-size:12px;line-height:1.4}.conflict-fix{margin:0 0 12px;padding:8px 12px;border-radius:10px;background:var(--soft-mint);font-size:13px}
.in-place .records-card{box-shadow:none;border:0;padding:0;margin:0 0 16px}.in-place .record-form-grid{grid-template-columns:1fr}
.field-off{opacity:.45}
.panel-grid>.wide-card{grid-column:1/-1}
.inline-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.inline-actions input{min-height:36px;padding:4px 10px;font-size:13px;flex:1 1 140px;max-width:220px}.inline-actions .chip-button{min-height:32px;padding:4px 11px;font-size:12px;cursor:pointer}.chip-button.is-on{background:var(--mint,#9DC4A8);border-color:#7fae8e}.decision{border-top:1px solid var(--line);padding:10px 0}.decision p{margin:0 0 6px}.records-card h3{font-size:15px;margin:6px 0 8px}
/* LV-MIX: a leave request's own Approve / Reject / Later, and its reason box when rejected (templates/operations/_waiting_hr.html) */
.leave-pick{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 6px}.leave-pick label{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:700;cursor:pointer}.leave-pick label:has(:checked){background:var(--mint);border-color:#7fae8e}.leave-pick label:has([value=rejected]:checked){background:var(--peach);border-color:#d99a83}.leave-pick label:has(:focus-visible){outline:2px solid var(--ink,#3d3d3d);outline-offset:2px}.leave-why{display:block;width:100%;max-width:440px;min-height:38px;padding:4px 10px;font-size:14px;margin:0 0 4px}.leave-why[hidden]{display:none}
/* LV-HIST: on a waiting leave request, what it takes if approved, what is left, this month and the last leaves; a half day may be given as a short leave, its times shown once chosen (templates/operations/_waiting_hr.html); the apply form asks the emergency for unpaid leave only (staff/leave.html, team/leave.html). */
.lv-hist{max-width:680px;margin:2px 0 6px;padding:8px 12px;border-radius:12px;background:var(--soft-mint,#edf5ef);font-size:13px;line-height:1.45}.lv-hist p{margin:0 0 2px}.lv-hist .lv-ask{font-size:14px}.lv-hist .lv-ask.is-over{color:var(--peach-ink,#9a3f24)}.lv-hist:has(.is-over){background:var(--soft-peach,#fcefe9)}.leave-short{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px;font-size:13px}.leave-short input{width:120px;flex:none;min-height:36px;padding:2px 8px}.leave-pick label{white-space:nowrap}.leave-pick input[type=radio]{flex:none;width:16px;height:16px;min-height:0;margin:0}.tm-decide .panel-grid>div:only-child{grid-column:1/-1}@supports selector(:has(a)){[data-leave-row]:not(:has([value=short]:checked)) .leave-short{display:none}.app-form:not(:has(#id_kind option[value=unpaid]:checked)) .leave-emergency{display:none}}
.grid-appointment.is-planned{background:#fff;border-style:dashed;opacity:.9}.grid-therapist-head.is-today{background:var(--soft-yellow)}.grid-therapist-title a{color:inherit;text-decoration:none}.grid-therapist-title a:hover{text-decoration:underline}.day-change-other{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.day-change-other h3{font-size:15px;margin-bottom:6px}
.grid-time.strip{padding:0 0 0 8px;justify-content:center;align-items:flex-start;overflow:visible}.grid-time.strip small{font-size:10px;font-weight:700;color:var(--ink);white-space:nowrap}
.ask-answer{font-size:15px;line-height:1.55}.ask-sent{white-space:pre-wrap;font-size:11px;max-height:320px;overflow:auto;background:#fdfcf8;border:1px solid var(--line);border-radius:8px;padding:10px}
/* Session desk (29 Sep): an empty grid box books there; free-time hints in the booking panel; Ask AI side panel. */
.grid-slot.bookable{position:relative;cursor:pointer}
.grid-slot.bookable::after{content:'＋ Book';position:absolute;inset:6px;display:flex;align-items:center;justify-content:center;border:1px dashed #d9c48a;border-radius:8px;background:#fdf6e0;color:#7a6630;font-size:11px;font-weight:700;opacity:0;transition:opacity .12s}
.grid-slot.bookable:hover::after{opacity:1}
.booking-hints{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.booking-hints .eyebrow{display:block;font-size:9px;margin-top:4px}
.hint-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.hint-ok{color:#2f6b45;font-weight:700;font-size:13px;margin:0 0 10px}
.hint-busy{color:#8f3a1f;font-size:12.5px;line-height:1.55;margin:0 0 10px}
.ask-examples{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px}
.ask-result{margin-top:18px}
.ask-result h3{font-size:18px;margin-bottom:8px}
.ask-answer{white-space:pre-line}
.plan-gap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid var(--peach);border-radius:10px;background:#fcf3ee}
.plan-gap p{margin:0;font-size:13px}
/* Easy forms (29 Sep): tick boxes instead of Ctrl + click lists; a visible * on required fields. */
div.check-list{max-height:230px;overflow:auto;border:1px solid #dcd9cf;border-radius:9px;padding:6px 10px;background:#fff}
div.check-list>div{margin:0}
div.check-list label{display:flex;align-items:center;gap:8px;margin:0;padding:4px 0;font-weight:400;font-size:13px;cursor:pointer}
div.check-list input[type=checkbox]{border:0;padding:0;width:auto;min-height:0;margin:0}
div.check-list>div[hidden]{display:none}
label.required::after{content:' *';color:#b0452b}
.plan-fields div.check-list{max-height:180px}
/* Find anything (29 Sep): the box at the top of the menu, answers float over the page. */
.find{margin:0 0 16px;width:100%}
.find-box{width:100%;border-radius:20px;padding:8px 14px;font-size:13px;min-height:38px}
.find-results{position:fixed;z-index:80;width:min(440px,calc(100vw - 16px));max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 40px #3d3d3d2e;padding:6px}
.find-results[hidden]{display:none}
.find-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px;border-radius:8px}
.case-money-gap{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#fdecea;color:#7a1f18;font-size:13px}.find-row{cursor:pointer}.find-row:hover{background:#faf6ea}
.find-who{display:flex;flex-direction:column;min-width:0}
.find-who strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.find-who small{font-size:11px;color:var(--muted)}
.find-kind{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.find-links{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
.find-links a{font-size:11px;font-weight:700;padding:4px 9px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--ink);white-space:nowrap}
.find-links a:hover,.find-links a.is-active{background:var(--hl);border-color:var(--hl-line)}
.find-empty{margin:8px;font-size:12px;color:var(--muted)}
/* Fix list (30 Sep): health score ring, counts, graphs and the lists to fix. */
.health-hero{display:flex;align-items:center;gap:26px}
.health-hero h2{margin:0 0 6px}
.health-hero p{margin:0 0 8px;font-size:13px;line-height:1.6}
.health-ring{width:132px;height:132px;flex:0 0 132px}
.ring-bg{fill:none;stroke:#f3f1ea;stroke-width:12}
.ring-fill{fill:none;stroke:#e0876a;stroke-width:12;stroke-linecap:round}
.ring-fill.fair{stroke:#F0C463}
.ring-fill.good{stroke:#9DC4A8}
.ring-number{font:700 26px 'Baloo 2',sans-serif;fill:#3D3D3D;text-anchor:middle}
.ring-caption{font:600 11px Nunito,sans-serif;fill:#7a7466;text-anchor:middle}
.health-clashes{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fix-count{display:inline-block;min-width:26px;padding:1px 9px;margin-left:6px;border-radius:12px;background:#fcf3ee;border:1px solid #F2B5A0;font-size:13px;text-align:center}
.fix-table td:last-child{text-align:right;white-space:nowrap}
.fix-more summary{cursor:pointer;margin:10px 0;font-weight:700;font-size:13px}
.fix-done{color:#2f6b45;font-weight:700}
@media(max-width:650px){.health-hero{flex-direction:column;align-items:flex-start}}
/* One-click P / A on the session grid (30 Sep). */
button.grid-attendance{font:inherit;font-weight:700;padding:0;cursor:pointer}
button.grid-attendance.markable:hover{border-color:var(--accent);background:var(--row-hover)}
/* Live board (30 Sep): a box someone else just changed flashes for a moment. */
.grid-appointment.just-changed{animation:just-changed 2.6s ease-out}
@keyframes just-changed{0%,45%{box-shadow:0 0 0 3px #F0C463}100%{box-shadow:none}}
/* Group sessions and several sessions at once (1 Oct). */
.grid-appointment.group-box{border-left-width:6px;border-style:solid;background-image:repeating-linear-gradient(135deg,transparent 0 10px,#ffffff55 10px 12px)}
.grid-appointment.group-box .grid-child-button{font-weight:800}
.grid-attendance.group-count{font-size:11px}
.grid-appointment.is-selected{outline:3px solid #2E7DAA;outline-offset:-2px;box-shadow:0 0 0 3px #a8c8d880}
body.selecting .grid-appointment{cursor:copy}
body.selecting .grid-slot.bookable::after{display:none}
.workspace-heading #select-mode{margin-left:8px}
.bulk-bar{position:sticky;bottom:12px;z-index:30;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:14px 0;padding:12px 16px;background:#fff;border:2px solid #2E7DAA;border-radius:14px;box-shadow:0 10px 30px #3d3d3d26}
.bulk-bar[hidden]{display:none}
.bulk-bar .bulk-group{display:inline-flex;gap:6px;align-items:center}
.bulk-bar select,.bulk-bar input[type=date]{min-height:34px;width:auto;padding:4px 8px}
.group-children{display:grid;gap:6px;max-height:50vh;overflow:auto;border:1px solid #dcd9cf;border-radius:10px;padding:10px;margin:10px 0}
.group-child{display:flex;align-items:center;gap:8px;font-weight:400;font-size:13px;margin:0}
.group-child input{width:auto;min-height:0}
.group-view-list{list-style:none;padding:0;margin:10px 0;display:grid;gap:6px}
.group-view-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}
.group-view-row small{color:var(--muted)}
.group-view-actions{display:flex;gap:8px;align-items:center}

/* Hide / show the left menu; grid zoom (2 Oct 2026) */
.sidebar-hide{align-self:flex-end;border:1px solid var(--line);background:#fff;border-radius:8px;padding:4px 9px;font-size:11px;color:var(--muted);margin:-14px 0 10px}.sidebar-hide:hover{color:var(--ink)}
.sidebar-show{display:none;position:fixed;top:20px;left:10px;z-index:40;border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 11px;font-size:12px;font-weight:700;box-shadow:0 4px 14px #3d3d3d14}
body.sidebar-hidden .app-shell{grid-template-columns:minmax(0,1fr)}body.sidebar-hidden .app-sidebar{display:none}body.sidebar-hidden .sidebar-show{display:block}body.sidebar-hidden .main-content>.topbar{padding-left:96px}
.zoom-controls{display:flex;align-items:center;gap:5px}.zoom-controls[hidden]{display:none}.zoom-level{min-width:52px;min-height:40px;border:1px solid var(--line);background:#fff;border-radius:9px;font-size:12px;font-weight:700}.zoom-controls .button[aria-pressed=true]{background:var(--hl);border-color:var(--hl-line);box-shadow:inset 0 0 0 1px var(--hl-line)}
.therapist-grid-scroll{max-height:calc(100vh - 120px)}
/* Full screen Day grid (18 Nov 2026, for the phone): only the grid on the screen; names on top and times on the left stay, the rest scrolls; the size buttons float */
body.grid-full{overflow:hidden}body.grid-full #schedule-board{position:fixed;inset:0;z-index:35;display:flex;flex-direction:column;background:#fff;padding-top:env(safe-area-inset-top)}body.grid-full .therapist-grid-scroll{flex:1;min-height:0;max-height:none;padding-bottom:72px;overscroll-behavior:contain;border-top:0}body.grid-full .therapist-grid-head{transform:none!important}body.grid-full .zoom-controls{position:fixed;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:36;padding:6px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #3d3d3d33}.zoom-full svg{width:16px;height:16px;vertical-align:-3px;margin-right:4px}body.grid-full .chat-bell{display:none}body.grid-full .zoom-full svg{display:none}@media(max-width:800px){.zoom-controls{flex-wrap:wrap}}
.grid-compact .grid-therapist-title strong{font-size:13px}.grid-compact .grid-appointment{padding:3px 6px}.grid-compact .grid-child-button{font-size:11px}.grid-compact .grid-appointment>small{display:none}
.grid-tiny .grid-therapist-title small,.grid-tiny .grid-subheads,.grid-tiny .grid-appointment>span{display:none}.grid-tiny .grid-therapist-title strong{font-size:11px}.grid-tiny .grid-child-button{font-size:10px;line-height:1.1}.grid-tiny .grid-attendance{font-size:10px}.grid-tiny .grid-time strong{font-size:10px}
@media(max-width:800px){.sidebar-hide,.sidebar-show{display:none!important}body.sidebar-hidden .app-sidebar{display:flex}body.sidebar-hidden .main-content>.topbar{padding-left:0}.zoom-controls{order:3}}
.button.danger{border-color:#e3b4a6;color:#9a3b22;background:#fff}.button.danger:hover{background:#fbeae4}.button.danger[hidden]{display:none}
.group-heading{font-size:13px;margin:12px 0 4px}.group-children.compact{max-height:22vh}.group-more>summary{cursor:pointer;font-size:13px;font-weight:700;margin:4px 0}#group-staff[hidden],#group-guest[hidden]{display:none}.group-view-row .chip{margin-left:6px}
.group-mark-row{display:flex;align-items:center;gap:10px}.group-mark-buttons{display:flex;gap:6px;flex:0 0 auto}.group-mark-buttons form{margin:0}.group-mark-buttons .chip-button{min-width:44px;justify-content:center;cursor:pointer}
.activity-rows{border:1px solid var(--line);border-radius:14px;padding:10px 14px 14px;margin:16px 0 0}.activity-rows legend{font-weight:800;padding:0 6px}.activity-row{border-top:1px dashed var(--line);margin-top:10px;padding-top:4px}.activity-row:first-child{border-top:0}.activity-number{margin:8px 0 0;font-size:12px;font-weight:800;color:#6e6a60;text-transform:uppercase}.activity-row textarea{min-height:56px}.activity-rows [data-add-activity][hidden]{display:none}
.activity-list{margin:8px 0;padding-left:20px}.activity-list li{margin:4px 0}.activity-list small{display:block;color:#6e6a60}
.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-box{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fff}.kpi-box strong{display:block;font-size:22px;font-family:Baloo,sans-serif}.kpi-box span{font-size:12px;color:#6e6a60}.kpi-box.wide{grid-column:1/-1}.kpi-note{font-size:13px;margin:4px 0 0}
.month-picker{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:0 0 12px}.month-picker a{font-weight:800;text-decoration:none;padding:6px 10px}.month-picker strong{font-size:16px}
.material-img{max-width:100%;max-height:220px;border-radius:10px;border:1px solid var(--line);margin-top:6px}.material-thumb{max-width:72px;max-height:72px;border-radius:8px;border:1px solid var(--line)}
.kpi-table td,.kpi-table th{white-space:nowrap}.kpi-form fieldset{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 12px}.kpi-form legend{font-weight:800}
.goal-block{border:2px solid var(--soft-yellow);border-radius:16px;padding:6px 14px 14px;margin:16px 0}.goal-block-title{font-family:Baloo,sans-serif;font-size:18px;margin:6px 0 0}.review-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-pair label{margin-top:14px}.review-due{margin:6px 0;padding:6px 10px;border-radius:10px;background:#fbece5;color:#9a3b22;font-weight:800;font-size:13px}[data-add-goal][hidden]{display:none}
.kpi-settings td input,.kpi-settings td select{min-height:34px;padding:4px 8px}
/* Monthly review (L1), operations/therapist_kpi.py: the paper's parts as cards; grey cells are the CRM's figures */
.rv-summary{margin:0 0 12px}.rv-table th,.rv-table td{white-space:normal;vertical-align:top}.rv-table th small{display:block;font-weight:600;color:var(--muted)}.rv-result-cell{min-width:150px}.rv-result-cell .button{margin-top:6px}
.rv .records-card{margin:0 0 16px;padding:16px 18px}.rv-grid{display:grid;gap:16px;align-items:start}.rv-grid>.records-card{margin:0}.rv-grid+.rv-grid,.rv-grid+.rv-part,.rv-part+.rv-grid{margin-top:16px}
.rv-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-grid.three{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr)}
.rv-part h2{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:-16px -18px 10px;padding:10px 18px;border-radius:15px 15px 0 0;background:var(--soft-blue);font-size:18px}.rv-part h2 small{font-family:Nunito,sans-serif;font-size:13px;font-weight:800}
.rv-grid .rv-part:nth-child(3n+2) h2{background:var(--soft-mint)}.rv-grid .rv-part:nth-child(3n) h2{background:var(--soft-peach)}.rv-result h2{background:var(--soft-yellow)}
.rv-head dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0}.rv-head dt{font-size:12px;font-weight:800;color:var(--muted)}.rv-head dd{margin:2px 0 0;font-weight:700}.rv-head select{max-width:100%}
.rv-mini{width:100%;border-collapse:collapse;font-size:14px}.rv-mini th,.rv-mini td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.rv-mini thead th{font-size:12px;background:#fbfaf6}.rv-mini th small{font-weight:600;color:var(--muted)}
.rv-mini td.crm{background:#f4f2ec}.rv-key th,.rv-key td{border-top:2px solid var(--line);font-weight:800}.rv-foot{margin:8px 0 0;font-size:14px}.rv-scroll{overflow-x:auto}
.rv input[type=number]{width:76px;min-height:34px;padding:4px 8px}.rv-mini input[type=text],.rv-mini select{width:100%;min-height:34px;padding:4px 8px}.rv textarea{width:100%}.rv-lines td:first-child,.rv-cases td:first-child{width:28px;color:var(--muted)}
.rv [aria-invalid=true]{border-color:#c4553a;background:#fff4f0;box-shadow:0 0 0 2px #f2b5a066}.rv-err-note{flex-basis:100%;font-weight:800;color:#9a3a22}
.rvs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:4px 16px;align-items:end}.rvs-wide select{width:100%;max-width:560px}.rvs-grid input,.rvs-grid select,.rvs textarea{width:100%}.rvs ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.rv-errors{background:var(--soft-peach);border:1px solid #e9a58c;border-radius:12px;padding:10px 14px;margin:0 0 16px}.rv-errors p,.rv-errors ul{margin:4px 0}
.rv-actions{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0;background:var(--paper,#fffdf8);border-top:1px solid var(--line)}
@media(max-width:1100px){.rv-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-head dl{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.rv-grid.two,.rv-grid.three{grid-template-columns:1fr}.rv-head dl{grid-template-columns:1fr 1fr}}
@media print{.rv-actions{display:none}.rv-part{break-inside:avoid}.rv-grid.three{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr)}.rv-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
.app-form .leave-field.is-hidden{display:none}
/* Therapist dashboard (3 Oct): where the child goes next, rings, week bars, dashboard sections. */
.send-card{border:2px solid var(--soft-yellow);background:linear-gradient(135deg,#fffaf0,#fff)}.send-card.live{border-color:#F0C463;box-shadow:0 6px 18px rgba(240,196,99,.25)}
.send-head{margin:0 0 6px;font-size:12px;font-weight:800;text-transform:uppercase;color:#6e6a60;display:flex;align-items:center;gap:6px}
.pulse{width:9px;height:9px;border-radius:50%;background:#9DC4A8;box-shadow:0 0 0 0 rgba(157,196,168,.7);animation:pulse 1.6s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(157,196,168,0)}100%{box-shadow:0 0 0 0 rgba(157,196,168,0)}}
.send-child{display:block;text-decoration:none;color:var(--ink)}.send-child strong{display:block;font-family:Baloo,sans-serif;font-size:20px}.send-child span{font-size:13px;color:#6e6a60}
.send-next{display:flex;gap:12px;align-items:center;margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--soft-mint)}
.send-next small{display:block;font-size:11px;font-weight:800;text-transform:uppercase;color:#4d6b55}.send-next strong{display:block;font-family:Baloo,sans-serif;font-size:22px;line-height:1.1}.send-next span{font-size:13px}
.send-arrow{font-size:26px;font-weight:800;color:#4d6b55;animation:nudge 1.4s ease-in-out infinite}
@keyframes nudge{50%{transform:translateX(5px)}}
.child-next{display:block;margin-top:2px;color:#4d6b55!important;font-weight:700}
.ring-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;text-align:center}.dash-ring-box{margin:0}svg.dash-ring{width:100%;max-width:96px;height:auto;stroke:none}
.dash-ring-box figcaption strong{display:block;font-size:12px}.dash-ring-box figcaption small{display:block;font-size:11px;color:#6e6a60}
.dash-ring-number{font:800 24px Baloo,sans-serif;fill:#3D3D3D;text-anchor:middle}
.ring-fill.good{stroke:#9DC4A8}
@keyframes ring-draw{from{stroke-dasharray:0 100}}
.ring-anim{animation:ring-draw 1.3s cubic-bezier(.2,.8,.2,1) both}.ring-anim.ring-2{animation-delay:.15s}.ring-anim.ring-3{animation-delay:.3s}
svg.week-bars{width:100%;height:auto;stroke:none;display:block}.week-bars rect{fill:#A8C8D8;stroke:none}.week-bars rect.today{fill:#F0C463}
.bar-count{font:700 12px Nunito,sans-serif;fill:#3D3D3D;text-anchor:middle}.bar-label{font:700 11px Nunito,sans-serif;fill:#6e6a60;text-anchor:middle}
@keyframes bar-grow{from{transform:scaleY(0)}}
.bar-anim{transform-box:fill-box;transform-origin:bottom;animation:bar-grow .9s cubic-bezier(.2,.8,.2,1) both}
.week-bars rect:nth-of-type(2){animation-delay:.08s}.week-bars rect:nth-of-type(3){animation-delay:.16s}.week-bars rect:nth-of-type(4){animation-delay:.24s}.week-bars rect:nth-of-type(5){animation-delay:.32s}.week-bars rect:nth-of-type(6){animation-delay:.4s}
.dash-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:8px}
.dash-sections a{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:2px;padding:12px;border-radius:14px;border:1px solid var(--line);background:#fff;text-decoration:none;color:var(--ink);animation:tile-in .5s ease-out both}
.dash-sections a strong{font-size:14px}.dash-sections a small{font-size:12px;color:#6e6a60}.dash-sections a.alert{border-color:#e0876a;background:#fff7f3}
.ds-icon{font-size:22px}
@keyframes tile-in{from{opacity:0;transform:translateY(8px)}}
.dash-sections a:nth-child(2){animation-delay:.04s}.dash-sections a:nth-child(3){animation-delay:.08s}.dash-sections a:nth-child(4){animation-delay:.12s}.dash-sections a:nth-child(5){animation-delay:.16s}.dash-sections a:nth-child(6){animation-delay:.2s}.dash-sections a:nth-child(7){animation-delay:.24s}.dash-sections a:nth-child(8){animation-delay:.28s}.dash-sections a:nth-child(9){animation-delay:.32s}
.reply-box{background:var(--soft-mint);border-radius:10px;padding:8px 10px}
.segments.two{grid-template-columns:repeat(2,1fr)}
@media (prefers-reduced-motion:reduce){.ring-anim,.bar-anim,.pulse,.send-arrow,.dash-sections a{animation:none}}
/* Therapist app layout (3 Oct): today strip, to do, quick actions, Me, videos. */
.today-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.today-strip a{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;text-decoration:none;color:var(--ink)}
.today-strip strong{display:block;font:800 24px Baloo,sans-serif;line-height:1.1}.today-strip strong small{font-size:14px;color:#6e6a60}.today-strip span{font-size:12px;color:#6e6a60}
.todo-count{flex:0 0 auto;min-width:34px;height:34px;padding:0 8px;border-radius:17px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:var(--soft-blue);margin-right:4px}
.todo-count.alert{background:#fbece5;color:#9a3b22}.todo-count.mint{background:var(--soft-mint)}
.all-done strong{color:#4d6b55}
.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:6px}
.quick-actions a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;border-radius:14px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-size:12px;font-weight:700;text-align:center}
.quick-actions svg{width:26px;height:26px;padding:8px;border-radius:12px;background:var(--soft-yellow);box-sizing:content-box}
.event-card{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink)}.event-card strong{display:block}
.event-date{flex:0 0 52px;text-align:center;border-radius:12px;background:var(--soft-peach,#fbece5);padding:6px 0}.event-date strong{font:800 22px Baloo,sans-serif;line-height:1}.event-date small{font-size:11px;font-weight:800;text-transform:uppercase}
.profile-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.profile-card .profile-facts{grid-column:1/-1;margin:4px 0 0}
.me-icon{flex:0 0 34px;height:34px;border-radius:10px;background:#f6f3ea;display:inline-flex;align-items:center;justify-content:center;font-size:17px;margin-right:4px}
.me-list .app-row{gap:8px}
.install-tip summary{cursor:pointer;font-weight:800;font-size:14px}
.segments.four{grid-template-columns:repeat(4,1fr)}.segments.four a{font-size:13px}
.child-video{width:100%;max-height:60vh;border-radius:12px;background:#000;margin:6px 0}
.group-today{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;padding:8px 10px;border-radius:12px;background:var(--soft-mint)}
.group-counts{display:flex;gap:8px;margin:4px 0 6px}.group-counts span{padding:3px 10px;border-radius:999px;background:var(--soft-yellow);font-size:13px}.group-counts strong{font-family:Baloo,sans-serif;font-size:16px}
.team-therapies{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:6px}.team-therapies li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 12px}.team-therapies summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;cursor:pointer}.team-therapies summary span{font-size:13px;color:var(--muted)}.team-therapies p{margin:6px 0 0}
.team-name{margin:0 0 8px;text-align:center;font-weight:700;color:var(--muted)}.team-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:0 0 8px}.team-card h3{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 6px;font-size:16px}.team-card h3 small{font-size:12px;color:var(--muted);font-weight:600}.team-sessions{list-style:none;margin:0;padding:0;display:grid;gap:4px}.team-sessions li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 0;border-top:1px solid var(--line)}.team-sessions li:first-child{border-top:0}.team-sessions span small{display:block;font-size:12px;color:var(--muted)}.team-sessions li.cancelled{opacity:.6}.team-sessions li.cancelled span{text-decoration:line-through}
.group-children-list{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.group-children-list li strong{display:block;font-size:13px}.group-children-list small{font-size:11px;color:#6e6a60}
/* Patient profile contact details (3 Oct): label + value rows. */
.contact-list{display:grid;gap:6px;margin:8px 0 0}.contact-list div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}.contact-list dt{color:var(--muted);font-size:13px;font-weight:700}.contact-list dd{margin:0}@media(max-width:600px){.contact-list div{grid-template-columns:1fr;gap:0}}
/* Lead bulk upload (3 Oct): counts and a checked-rows table. */
.upload-counts{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:8px 0 12px;padding:0}.upload-counts li{padding:8px 14px;border-radius:12px;font-weight:700}.upload-counts strong{font-size:20px;margin-right:4px}.upload-counts .ok{background:#edf5ef}.upload-counts .dup{background:#fcf3dd}.upload-counts .bad{background:#fdeae3}.table-scroll{overflow-x:auto}.upload-table{width:100%;border-collapse:collapse;font-size:13px}.upload-table th,.upload-table td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.upload-table tr.dup td:last-child{color:#7a5a12}.upload-table tr.bad td:last-child{color:#a2492c}.upload-table tr.ok td:last-child{color:#2f6b43;font-weight:700}
/* Sign-in: keep me signed in (3 Oct). */
.remember-row{display:flex;align-items:center;gap:8px;margin-top:14px;font-weight:600;font-size:14px}.remember-row input{width:18px;height:18px;margin:0}
/* Google reviews (5 Oct): one-click box on lead / patient pages, message-ready screen, reviews page. */
.review-box{border-left:6px solid #F0C463}.review-box.highlight{background:#fcf3dd;box-shadow:0 0 0 3px #F0C463}
.review-box-head{display:flex;gap:12px;align-items:center}.review-box-head h2{margin:0}.review-box-head p{margin:2px 0 0}
.review-star{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#fcf3dd;color:#d9a93a;font-size:22px}
.review-box form{margin-top:10px}.review-button{font-size:15px}
.form-note{background:#fcf3dd;border-radius:10px;padding:8px 12px}
.review-ready .review-text{white-space:pre-line;background:#edf5ef;border-radius:14px 14px 14px 4px;padding:12px 14px;max-width:560px}
.whatsapp-button{background:#25D366;border-color:#25D366;color:#fff;font-weight:800}
.review-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:12px}
.review-figure h2{font-size:15px;margin:0 0 6px}.review-figure dl{display:flex;gap:16px;margin:0}.review-figure dt{font-size:11px;color:var(--muted);font-weight:700}.review-figure dd{margin:0;font:800 24px 'Baloo 2',Baloo,sans-serif}
.filter-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.filter-tabs a{padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;text-decoration:none;color:var(--ink);font-size:13px;font-weight:700}.filter-tabs a[aria-current=page]{background:var(--hl);border-color:var(--hl-line);box-shadow:inset 0 0 0 1px var(--hl-line)}
.review-actions{display:flex;gap:6px}.review-actions form{margin:0}.review-table tr.state-done td{background:#edf5ef}
/* Chat ringtone (5 Oct): mute bell and the "new message" toast on every signed-in page (static/alerts.js). */
.chat-bell{position:fixed;left:14px;bottom:14px;z-index:60;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer;box-shadow:0 4px 14px #3d3d3d1f}
.staff-app .chat-bell{bottom:calc(84px + env(safe-area-inset-bottom));left:auto;right:14px}
.chat-toast{position:fixed;right:16px;top:16px;z-index:70;max-width:340px;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;background:#3D3D3D;color:#fff;text-decoration:none;box-shadow:0 12px 30px #3d3d3d59;animation:toast-in .35s cubic-bezier(.3,1.4,.5,1)}
.chat-toast strong{font-size:14px}.chat-toast span{font-size:13px;opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.has-new,summary.has-new{position:relative;background:var(--soft-peach);box-shadow:inset 3px 0 0 var(--peach);border-radius:8px}
a.has-new::after{content:"New";margin-left:6px;padding:0 6px;border-radius:999px;background:#F2B5A0;color:#3D3D3D;font-size:11px;font-weight:800;vertical-align:middle}
.chat-toast.gone{opacity:0;transform:translateY(-10px);transition:opacity .4s,transform .4s;pointer-events:none}
@keyframes toast-in{from{opacity:0;transform:translateY(-14px) scale(.96)}}
@media(max-width:600px){.chat-toast{left:12px;right:12px;max-width:none}}
/* ERP shell (10 Oct 2026): sticky top bar on every office page (search, + New, messages, account menu) and a cleaner side menu */
.main-content>.topbar{position:sticky;top:0;z-index:30;height:auto;min-height:66px;padding:10px 0;background:var(--paper)}
.topbar-tools{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:13px;color:var(--ink)}
.top-find{position:relative;margin:0;width:clamp(200px,24vw,360px)}
.top-find .find-box{width:100%;min-height:40px;padding:8px 34px 8px 36px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:13px}
.find-icon{position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);fill:none;stroke:#77766e;stroke-width:2;stroke-linecap:round;pointer-events:none}
.top-find kbd{position:absolute;right:9px;top:50%;transform:translateY(-50%);font:700 11px Nunito,sans-serif;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:0 6px;background:var(--paper);pointer-events:none}
.top-find .find-box:focus~kbd,.top-find .find-box:not(:placeholder-shown)~kbd{display:none}
.top-menu{position:relative}.top-menu>summary{list-style:none;cursor:pointer}.top-menu>summary::-webkit-details-marker{display:none}
.top-menu>summary:focus-visible,.top-icon:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.new-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:10px;background:var(--ink);color:#fff;font-weight:700;font-size:13px;white-space:nowrap}.new-button span{font-size:18px;line-height:1}.new-button:hover{background:#2b2b2b}
.top-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:70;min-width:230px;display:grid;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 40px #3d3d3d26}
.top-menu-panel a,.top-menu-panel button{display:block;width:100%;padding:9px 12px;border:0;border-radius:8px;background:none;text-align:left;text-decoration:none;font-size:13px;font-weight:700;color:var(--ink)}
.top-menu-panel a:hover,.top-menu-panel button:hover,.top-menu-panel a:focus-visible,.top-menu-panel button:focus-visible{background:var(--soft-yellow)}.top-menu-panel form{margin:0}
.menu-who{padding:8px 12px 10px;margin-bottom:4px;border-bottom:1px solid var(--line)}.menu-who strong{display:block;font-size:14px}.menu-who small{font-size:11px;color:var(--muted)}
.top-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:10px;border:1px solid var(--line);background:#fff}.top-icon:hover{background:var(--soft-yellow)}
.top-icon svg{width:19px;height:19px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round}
.user-menu>summary{display:flex;align-items:center;gap:8px;padding:3px 12px 3px 3px;border-radius:22px;border:1px solid var(--line);background:#fff}.user-menu>summary:hover{background:#fdfcf8}
.user-menu .avatar.small{display:grid;width:32px;height:32px;flex:0 0 32px;background:var(--yellow);font-size:14px}
.user-label{display:flex;flex-direction:column;line-height:1.15;max-width:150px}.user-label strong{font-size:13px}.user-label small{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-sidebar{background:#fff;padding:18px 14px 14px}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 20px}.sidebar-head .wordmark.brand-logo img{max-width:158px}
.sidebar-head .sidebar-hide{margin:0;align-self:center;padding:3px 9px;font-size:14px}
.app-sidebar .side-nav a,.app-sidebar .side-nav .nav-group>summary{padding:8px 10px;font-size:13.5px;border-radius:8px}
/* NAV-1 (12 Nov 2026, the user: "highlight ... bahut ganda colour or sahi se ho ti nhi"): one clear "you are here": a Soft
   Charcoal pill, white text, marigold icon (11:1). Hover is a light warm tint, never like the marked link; the group that
   holds the open page stays open, its guide line marigold and its icon marigold ink; keyboard focus is a sky-blue ring. */
.app-sidebar nav a.nav-active,.app-sidebar nav a.nav-active:hover{background:var(--ink);color:#fff;font-weight:700;box-shadow:none}
.app-sidebar nav a.nav-active svg{color:var(--yellow)}
.app-sidebar nav a:not(.nav-active):hover,.app-sidebar nav .nav-group>summary:hover,.app-sidebar nav .nav-sub>summary:hover{background:#f3efe6;color:var(--ink)}
.app-sidebar nav a:focus-visible,.app-sidebar nav .nav-group>summary:focus-visible,.app-sidebar nav .nav-sub>summary:focus-visible{outline:2px solid var(--sky-strong);outline-offset:2px}
.app-sidebar nav .nav-group-links{border-left-width:2px;padding-left:10px}
.app-sidebar nav .nav-here>.nav-group-links{border-left-color:var(--yellow)}
.app-sidebar nav .nav-here>summary{color:var(--ink)}.app-sidebar nav .nav-group.nav-here>summary svg{color:var(--marigold-ink)}
.app-sidebar .nav-category{margin:16px 10px 4px}
.sidebar-foot{margin:auto 0 0;padding:14px 8px 0 54px;min-height:40px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.sidebar-foot strong{color:var(--ink)}
@media(max-width:1150px){.top-find{width:clamp(160px,22vw,260px)}.user-label{display:none}.user-menu>summary{padding:3px}}
@media(max-width:800px){.main-content>.topbar{flex-wrap:wrap;position:static;padding:8px 0}.topbar-tools{width:100%;gap:8px}.top-find{flex:1;width:auto;min-width:0}.top-find kbd{display:none}.top-icon{display:none}.new-button{padding:0 12px}.sidebar-head{margin:0}.sidebar-head .sidebar-hide,.sidebar-foot{display:none}}

/* Chat (17 Oct 2026): the assistant's messages look different; read-only alert chats say why there is no box */
.chat-message.bot{background:#eef5f8;border:1px dashed #b9d3e0}.chat-message.bot small{color:#2c5a72}.chat-readonly{margin:4px 0 0;padding:10px 12px;border-radius:10px;background:#f7f5ef;color:var(--muted);font-size:13px}
/* Side menu opened over the page while it is hidden (static/page.js, 18 Oct 2026): a click outside closes it. */
.sidebar-pin{display:none;border:1px solid var(--line);background:#fff;border-radius:8px;padding:3px 8px;font-size:11px;font-weight:700;cursor:pointer}
body.sidebar-hidden.sidebar-peek .app-sidebar{display:flex;position:fixed;top:0;left:0;bottom:0;width:236px;height:100vh;z-index:60;box-shadow:8px 0 30px rgba(61,61,61,.18)}
body.sidebar-peek .sidebar-pin{display:inline-block}
body.sidebar-peek .sidebar-show{display:none}
@media(max-width:800px){body.sidebar-hidden.sidebar-peek .app-sidebar{position:relative;width:auto;height:auto;box-shadow:none}.sidebar-pin{display:none!important}}
/* Staff app goal bank (New goals): the chosen domain's goals; tapping one fills the Goal box. */
.goal-bank{margin:14px 0 2px;padding:12px 12px 10px;border:1px solid #efe3bf;border-radius:14px;background:#fffbf0}.goal-bank-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.goal-bank-head strong{font-family:Baloo,sans-serif;font-size:17px}.goal-bank-head small{color:var(--muted);font-weight:700}.goal-bank-list{margin-top:10px;max-height:300px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:6px}.goal-option{display:block;width:100%;text-align:left;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;line-height:1.4}.goal-option:hover{border-color:var(--yellow)}.goal-option-section{font-weight:800}.goal-option-sub{margin-left:16px;width:calc(100% - 16px);padding:7px 10px;font-size:13px;background:#fffdf6}.goal-option[aria-pressed="true"]{border-color:#7fae8e;background:var(--soft-mint);box-shadow:inset 4px 0 0 var(--mint)}.goal-option[aria-pressed="true"]::after{content:" \2713";font-weight:800;color:#3f7a52}.activity-group{border-top:1px solid #efe3bf}.activity-group>summary{cursor:pointer;padding:9px 2px;font-weight:800;font-size:14px;color:#6b5b2e}.activity-group-list{display:grid;gap:6px;padding-bottom:8px}.goal-title-help{display:flex;justify-content:flex-end;gap:12px;margin-top:5px;line-height:1.35}.goal-title-count{flex:0 0 auto;font-weight:800;color:var(--muted)}.goal-title-count.is-near{color:#9a3b22}.app-form textarea.goal-title{min-height:88px;resize:vertical}
/* New goals (18 Oct 2026): a domain card holds its goal cards; each goal has its own activities and review. */
.domain-block{border:2px solid var(--soft-yellow);border-radius:16px;padding:6px 14px 14px;margin:16px 0;background:#fff}.domain-block>.goal-block-title{font-size:19px}.domain-block .goal-block{border:1px solid var(--line);border-radius:14px;padding:4px 12px 12px;margin:14px 0;background:#fffdf8}.domain-block .goal-block-title{font-size:16px}h3.goal-block-title{color:#6b5b2e}[data-add-domain][hidden]{display:none}
@media(max-width:420px){.domain-block{padding:6px 10px 12px}.domain-block .goal-block{padding:4px 10px 10px}}
.baseline{border:1px solid var(--line);border-radius:14px;padding:10px 14px 14px;margin:16px 0 0}.baseline[hidden]{display:none}.baseline legend{font-weight:800;padding:0 6px}.baseline-label{margin:10px 0 6px;font-weight:800}.status-chips{display:flex;flex-wrap:wrap;gap:6px}.status-chip{display:inline-flex;align-items:center;gap:6px;margin:0;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:14px;cursor:pointer}.status-chip:has(input:checked){background:var(--hl);border-color:var(--hl-line);box-shadow:inset 0 0 0 1px var(--hl-line)}.status-chip input,.finding-option input{width:auto;min-height:0;margin:0;flex:0 0 auto}.finding-options{display:grid;gap:6px;margin:12px 0 0;max-height:280px;overflow-y:auto;overscroll-behavior:contain}.finding-option{display:flex;gap:8px;align-items:flex-start;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;font-weight:400;line-height:1.4;cursor:pointer}.finding-option input{margin-top:3px}.finding-option:has(input:checked){background:var(--soft-mint);border-color:#7fae8e}.baseline-note{margin:4px 0 8px;padding:8px 10px;border-radius:10px;background:var(--soft-mint);font-size:14px;line-height:1.45}
/* 19 Oct 2026: stop one goal + replace, closed goals heading, review goals together */
.goal-closed{margin:4px 0 8px;padding:6px 10px;border-radius:10px;background:#efeeea;color:var(--ink);font-size:14px}.closed-heading{margin:22px 0 8px}.replace-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fbece5;font-size:14px;line-height:1.45}.add-row .button+.button{margin-top:8px}.review-row .check-row{margin:0;font-size:16px}.review-row textarea{margin-top:4px}
/* 19 Oct 2026: remove a goal / activity / domain added by mistake; goal drafts */
.row-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.row-head .goal-block-title,.row-head .activity-number{margin-top:6px}.remove-button{flex:0 0 auto;min-height:32px;padding:4px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#9a3b22;font-weight:700;font-size:13px;cursor:pointer}.draft-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:var(--soft-yellow);font-size:14px;line-height:1.45}.draft-note form{display:inline}.draft-actions{display:grid;gap:8px;margin-top:8px}
.goal-last-review{margin:4px 0 8px;padding:6px 10px;border-radius:10px;background:var(--soft-blue);font-size:14px;line-height:1.45}
.report-goal{border-top:1px dashed var(--line);padding-top:8px;margin-top:10px}.report-goal p{margin:4px 0}.report-actions{display:grid;gap:8px;margin:16px 0}
.next-goal-bank{margin:8px 0 12px}.next-goal-bank summary{cursor:pointer;font-weight:700;color:var(--ink)}.next-goal-sub{margin-left:22px}.next-goal-others>summary{cursor:pointer}
.add-row .draft-note{display:block}
/* 21 Oct 2026: edit an account (roles, extra pages) */
.access-roles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 16px;margin:12px 0}.access-roles .check-row{margin:0;font-size:15px}.access-table th:nth-child(n+2),.access-table td:nth-child(n+2){width:130px;text-align:center}.access-table input[type=checkbox]{width:20px;height:20px;min-height:20px}.records-card h2+p{margin-top:6px}
/* 21 Oct 2026: senior check of goals (AP-1) */
.goal-check-note{margin:4px 0 8px;padding:6px 10px;border-radius:10px;background:var(--soft-yellow);font-size:14px;line-height:1.45}.goal-check-note.returned{background:#fbece5}.goal-check{border-top:1px solid var(--line);padding:12px 0}.goal-check h3{margin:4px 0 8px}.goal-check-row{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0;background:#fff}.goal-check-row p{margin:4px 0}.goal-check-decision{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0}.goal-check-decision .check-row{margin:0;font-size:15px}.goal-check-row ul{margin:4px 0;padding-left:18px}
/* Billing menu headings (UI-1, 22 Oct 2026): each heading opens its pages; the open page's heading starts open. */
.nav-sub{margin:1px 0}.nav-sub>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#6e6a60}.nav-sub>summary::-webkit-details-marker{display:none}.nav-sub>summary::after{content:'';width:5px;height:5px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}.nav-sub[open]>summary::after{transform:rotate(45deg)}.nav-sub>summary:hover{background:#f5f3ec;color:var(--ink)}.nav-sub>summary:focus{outline:none}.nav-sub>summary:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.nav-group .nav-sub a{padding-left:16px}
/* "+ New" menu: the Billing entries with their Alt + letter shortcut (UI-2, 22 Oct 2026). */
.top-menu-panel .menu-heading{display:block;margin:8px 12px 2px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700;color:#6e6a60}.top-menu-panel a[data-shortcut]{display:flex;justify-content:space-between;align-items:center;gap:14px}.top-menu-panel kbd{font:inherit;font-size:11px;font-weight:700;color:#6e6a60;border:1px solid var(--line);border-radius:6px;padding:1px 6px;white-space:nowrap}
/* Video upload to the clinic's private video storage (VID-1, 24 Oct 2026; static/cloud-video.js). */
.cloud-upload{margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft-blue)}.cloud-upload[hidden]{display:none}.cloud-upload progress{width:100%;height:10px;accent-color:#5d8fa6}.cloud-upload p{margin:6px 0 0;font-size:14px}.cloud-upload.failed{background:#fbece5;border-color:var(--peach)}.cloud-upload.failed progress{display:none}
/* PV-1: what the family sees — badge and a senior's / the owner's Show or Hide button (operations/_family_button.html) */
.family-toggle{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0}.family-toggle .button{margin:0;min-height:34px;padding:5px 12px;font-size:13px}.family-card .family-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px 0;border-top:1px solid var(--line)}.family-under{margin:-6px 0 14px;padding:0 4px}
/* keep-work.js: unsaved work filled in again after the screen was closed (25 Oct 2026) */
.keep-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 14px;border-radius:12px;background:var(--soft-yellow);border:1px solid var(--yellow);font-size:14px;font-weight:700}.keep-note .button{margin-left:auto}
/* LAY-1 (26 Oct 2026): the child page's goal tools — one main button, then small two-column tiles */
.add-row .tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.add-row .tool-grid:empty{display:none}.tool{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:9px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none;line-height:1.2}.tool strong{font-size:14px}.tool small{font-size:12px;color:var(--muted)}.tool:hover,.tool:focus-visible{border-color:var(--yellow)}.tool.is-due{background:var(--soft-yellow);border-color:var(--yellow)}.tool.is-due small{color:#8a5a00;font-weight:700}.tool:only-child{grid-column:1/-1}
.therapy-tools{display:block;margin-top:12px}.therapy-tools-name{display:block;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.therapy-tools .tool-grid{margin-top:6px}
.tool-delete{display:block;width:max-content;margin:12px auto 0;padding:6px 10px;font-size:13px;font-weight:700;color:#9a3b22;text-decoration:underline;text-underline-offset:3px}
.goal-more{position:relative}.record .goal-more>summary{list-style:none;cursor:pointer;margin:0;color:var(--ink)}.goal-more>summary::-webkit-details-marker{display:none}.goal-more>summary::after{content:"▾";margin-left:6px;font-size:11px}.goal-more[open]>summary{border-color:var(--yellow);background:var(--soft-yellow)}.goal-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:5;display:grid;gap:6px;min-width:160px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 10px 24px #3d3d3d1f}.goal-more-menu form{margin:0}.goal-more-menu .chip-button{width:100%;justify-content:flex-start;cursor:pointer}
/* the last goal's menu opens upwards, above the bottom tabs (13 Nov 2026: Stop / Delete were hidden under them) */
article.record:last-of-type .goal-more-menu{top:auto;bottom:calc(100% + 6px)}
.goal-actions{gap:6px;align-items:center}.goal-actions>a.chip-button,.goal-actions>form .chip-button,.goal-more>summary{padding:6px 11px}
/* GAP-1 lists: filters wrap, sortable headers, the tick-and-change bar, the duplicate phone box and edit history. */
.records-filters{flex-wrap:wrap}.records-filters>div{min-width:150px}.records-filter-actions{display:flex;gap:8px;flex:0 0 auto!important;min-width:0!important}.sort-link{color:inherit;text-decoration:none;white-space:nowrap}.sort-link:hover{text-decoration:underline}.tick-cell{width:36px;padding-right:0!important}.tick-cell input{width:18px;height:18px;accent-color:var(--accent-strong)}.bulk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 12px}.bulk-bar.has-ticks{background:var(--soft-yellow);border-color:var(--yellow)}.bulk-count{font-weight:700;font-size:13px;flex:1 1 160px}.bulk-bar select{max-width:220px}.same-phone{background:#fbece5;border:1px solid #f2d3c6;border-radius:12px;padding:12px 16px;margin:16px 0}.same-phone p{margin:0 0 6px}.same-phone ul{margin:0 0 10px;padding-left:20px}.check-line{display:flex;gap:8px;align-items:flex-start;font-weight:700}.check-line input{width:18px;height:18px;margin-top:2px}.history-list{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:14px}.history-list li{border-left:3px solid var(--yellow);padding:2px 0 2px 12px}.history-list time{color:var(--muted)}.history-detail{display:block;color:var(--muted);overflow-wrap:anywhere}.export-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:650px){.bulk-bar select{max-width:100%;flex:1 1 140px}.records-table-wrap{-webkit-overflow-scrolling:touch}}
.filter-inline{display:inline-flex;gap:6px;align-items:center;font-size:13px;font-weight:700;white-space:nowrap}.filter-inline input{min-height:38px;padding:6px 8px;font-size:13px;width:auto}
.fr-search{flex-wrap:wrap}.as-list-search{flex:1 1 320px}
.hire-search{margin:0 0 14px;max-width:520px}
[data-bulk-form].bulk-bar{position:static;box-shadow:none;border:1px solid var(--line)}[data-bulk-form].bulk-bar.has-ticks{position:sticky;bottom:12px;border-color:var(--yellow);box-shadow:0 10px 30px #3d3d3d26}
@media(max-width:650px){.fr-search input[type=search]{flex:1 1 100%;min-width:0}.fr-search .filter-inline{flex:1 1 45%}.fr-search .filter-inline input{flex:1;min-width:0}}
/* GAP-2 desk tools: action bar and glance numbers, tags, booking slots, messages, My day, timeline, practice, forms. */
.desk-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.action-chip{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700;font-size:14px;text-decoration:none;color:inherit}.action-chip:hover,.action-chip:focus-visible{background:var(--soft-yellow);border-color:var(--yellow)}
.glance-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:0 0 14px}.glance{display:grid;gap:2px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:inherit;min-width:0}.glance span{font-size:12px;font-weight:700;color:var(--muted)}.glance strong{font-family:Baloo,sans-serif;font-size:22px;line-height:1.15;overflow-wrap:anywhere}.glance small{font-size:12px;color:var(--muted)}.glance-warn{border-color:#f2d3c6;background:#fbece5}
.tag-list{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0 12px}.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700;background:var(--soft-yellow)}.tag a{color:inherit;text-decoration:none}.tag form{display:inline;margin:0}.tag-x{border:0;background:none;padding:0 2px;font-size:15px;line-height:1;cursor:pointer;color:inherit}.tag-peach{background:#fbe3da}.tag-mint{background:#e2f0e6}.tag-blue{background:#e3eef4}.tag-grey{background:#eee}
.inline-form{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}.inline-form input,.inline-form select{width:auto;min-width:0;flex:1 1 140px}
/* VID-MONTH: Reports & videos — "Download file" and "Stop showing to family" ran together; the owner's month of videos */
.therapy-plan>.inline-form{margin-left:16px}.month-videos details{margin-top:12px}.month-videos summary{cursor:pointer}.month-videos summary h3{display:inline;font-size:17px}
.book-day .slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.book-day form{margin:0}.slot-button{display:grid;gap:2px;width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;cursor:pointer}.slot-button:hover,.slot-button:focus-visible{border-color:var(--yellow);background:var(--soft-yellow)}.slot-button small{color:var(--muted)}
.message-preview{white-space:pre-wrap;background:#fdfcf8;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:8px 0;font-size:14px}.copy-line input{width:100%}
.outbox-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.outbox-item{border-top:1px solid var(--line);padding-top:12px}.outbox-who{display:grid}.outbox-who small{color:var(--muted)}.outbox-item form{display:flex;flex-wrap:wrap;gap:8px}.is-sent{opacity:.55}.count-pill{display:inline-block;min-width:24px;padding:1px 8px;border-radius:999px;background:#eee;font-size:13px;text-align:center}.count-pill.is-warn{background:var(--soft-yellow)}
.myday-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.myday-card{margin:0}.myday-head{display:flex;align-items:center;gap:8px}.myday-head h2{margin:0;flex:1;font-size:18px}.myday-head form{margin:0}.icon-text,.text-link{border:0;background:none;padding:0;color:var(--muted);font-size:12px;text-decoration:underline;cursor:pointer}.myday-list,.insight-list,.target-list,.plain-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.myday-list li,.insight-list li{display:grid}.myday-list small,.insight-list span{color:var(--muted);font-size:13px}.target-list li{display:grid;grid-template-columns:1fr 90px auto;gap:8px;align-items:center}.target-list meter{width:100%}.summary-text{font-family:inherit}
.timeline-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 12px}.chip-row{display:flex;flex-wrap:wrap;gap:6px}.filter-chip{border:1px solid var(--line);border-radius:999px;background:#fff;padding:4px 12px;font-size:13px;cursor:pointer}.filter-chip.is-on{background:var(--hl);border-color:var(--hl-line);font-weight:700}.timeline-tools input{flex:1 1 200px}
.practice-list{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:8px}.practice-list li{display:flex;justify-content:space-between;gap:10px;align-items:center}.practice-list li div{display:grid}.practice-list form{margin:0}
.scale-question{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 10px}.scale-question legend{font-weight:700;padding:0 4px}.scale-question div{display:flex;flex-wrap:wrap;gap:6px 14px}.scale-question label{display:inline-flex;gap:4px;align-items:center;font-weight:400}.nps div{gap:4px 10px}
.intake-form fieldset{border:0;padding:0;margin:0 0 16px}.intake-form legend{font-weight:700;font-size:18px;margin-bottom:8px}.intake-field{display:grid;gap:4px;margin:0 0 10px}.consent-item{border-top:1px solid var(--line);padding:8px 0}.consent-item div{display:flex;gap:16px;flex-wrap:wrap}
.short-input{max-width:90px}.warn-text{color:#9a302d}.chip-ok{background:#e2f0e6}.chip-warn{background:#fbece5}.login-help{text-align:center;margin:10px 0 0;font-size:14px}.setup-key{font-size:16px;letter-spacing:1px;overflow-wrap:anywhere}.steps-list{padding-left:20px}.row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row-actions form{margin:0}
@media(max-width:650px){.target-list li{grid-template-columns:1fr auto}.target-list meter{grid-column:1/-1}.glance strong{font-size:19px}}
.grid-lunch,.grid-lunch.clickable{background:#f3efe4;border-color:#e4decb;border-left-color:var(--peach)}.grid-appointment.is-cut{opacity:.55;outline:2px dashed #2E7DAA;outline-offset:-2px}.lunch-here{margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.copy-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 25px 16px;padding:10px 14px;background:var(--soft-blue);border:1px solid #a8c8d8;border-radius:12px;font-size:13px}.copy-bar[hidden]{display:none}.copy-bar>span{flex:1 1 220px;color:#4a4a44}body.pasting .grid-slot:not(.grid-pa-slot):not(.break),body.pasting .grid-appointment{cursor:copy}body.pasting .grid-slot:not(.grid-pa-slot):not(.break):hover{outline:2px dashed #2E7DAA;outline-offset:-3px;background:#a8c8d833}body.selecting .grid-time:not(.strip),body.selecting .grid-therapist-title,.copy-selecting .grid-time:not(.strip),.copy-selecting .grid-therapist-head{cursor:pointer}body.selecting .grid-time:not(.strip):hover,body.selecting .grid-therapist-title:hover,.copy-selecting .grid-time:not(.strip):hover,.copy-selecting .grid-therapist-head:hover{background:#a8c8d855}.bulk-tip{color:var(--muted);flex:1 1 100%}
.grid-therapist-title small.grid-away-note,.grid-tiny .grid-therapist-title small.grid-away-note{display:block;color:#9a302d;font-weight:700;white-space:normal}.grid-away-note::first-letter{text-transform:uppercase}.grid-appointment.therapist-away{border:1px dashed #c0392b;border-left:4px solid #c0392b}.away-chip{white-space:normal;margin-top:6px}
.grid-appointment.has-family-mark{position:relative}.family-chip.coming{background:#e3f0e7;color:#2f6b45}.family-chip.asked{background:#fdf1d4;color:#7a5a00}.grid-appointment>.family-mark{position:absolute;top:2px;right:3px;min-width:13px;padding:0 3px;border-radius:7px;font-size:9px;line-height:13px;text-align:center}.family-mark.coming{background:#9DC4A8;color:#1e4d2f}.family-mark.asked{background:#F0C463;color:#5c4300}
/* HW4: report and list pages print on A4 without the menus and filters; wide tables shrink instead of losing columns. */
@media print{.sidebar,.topbar,.page-actions,.filter-card,.records-filters,.notice,.skip-link,.board-footer,.tab-bar,nav,.chat-bell{display:none!important}.app-shell{display:block;min-height:0}.main-content{padding:0}.page-body{padding-bottom:0}body{background:#fff}table{width:100%;font-size:9pt;table-layout:auto}th,td{padding:3px 4px!important}a{color:inherit;text-decoration:none}.records-card,.chart-card{break-inside:avoid;box-shadow:none;border-color:#ccc}}
html{scroll-padding-top:90px;scroll-padding-bottom:140px}  /* AC17: a focused control is never left under a sticky bar */
.tap-row{min-height:44px;align-items:center}.tap-row input[type=checkbox]{width:22px;height:22px}  /* W5 */
.grid-appointment.grid-freed{background:#fff;border:1px dashed var(--peach);border-left:4px dashed var(--peach);color:var(--muted)}.grid-freed .grid-child-button{color:#a0503a}  /* a slot the family called off: free to book (4 Nov 2026) */
.grid-appointment.child-absent{border-style:dashed}  /* an Absent child's box: its time is free to give (26 Nov 2026) */
/* A page opened inside the Overview popup (clinic/middleware.py is_framed, static/peek.js, 6 Nov 2026): the popup is its frame, so no sidebar or top bar. */
body[data-framed] .app-shell{display:block;min-height:0}body[data-framed] .topbar,body[data-framed] .skip-link,body[data-framed] .sidebar-show{display:none}body[data-framed] .main-content{padding:16px 24px 28px}
/* Clinical care › Assessments (ASM-1, 7 Nov 2026): view tiles, day tables, small state chips in the brand tints, actions. */
.ad-views{grid-template-columns:repeat(6,minmax(0,1fr))}.ad-views .kpi[aria-current=page]{background:var(--hl);border-color:var(--hl-line);box-shadow:inset 0 0 0 1px var(--hl-line)}.ad-day h2{font-size:21px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.ad-day h2 small{font-family:Nunito,sans-serif;font-size:13px;color:var(--muted);font-weight:700}.ad-day>p{margin:6px 0 14px}.ad-desk .records-table-wrap,.dash-card .records-table-wrap{position:relative}.ad-table td{vertical-align:top}.ad-table th:nth-child(1){width:92px}.ad-table th:nth-child(2){width:14%}.ad-table th:nth-child(3){width:19%}.ad-table th:nth-child(4){width:12%}.ad-when strong,.ad-when small{display:block}.ad-when small{color:var(--muted)}.ad-when .ad-chip{margin-top:4px}.ad-chip{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700;background:var(--hl);color:var(--marigold-ink);text-decoration:none;white-space:nowrap;margin:0 4px 4px 0}.ad-chip.is-done{background:var(--soft-mint);color:var(--mint-ink)}.ad-chip.is-warn{background:var(--soft-peach);color:var(--peach-ink)}.ad-chip.is-plain{background:#f3f1ea;color:#5f5b52}a.ad-chip:hover{text-decoration:underline}.ad-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}td.ad-act{min-width:220px}.ad-daygroup{margin-top:18px}.ad-daygroup h3{font-size:18px;margin:0 0 8px;display:flex;align-items:baseline;gap:10px}.ad-daygroup h3 small{font-family:Nunito,sans-serif;font-size:13px;color:var(--muted);font-weight:700}.ad-actions .button.compact{min-height:36px;padding:6px 12px;font-size:13px}.ad-inline{font-weight:700;font-size:13px}.ad-left{max-width:300px}.ad-find{flex:2 1 260px!important}.ad-facts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:0}.ad-facts dt{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}.ad-facts dd{margin:4px 0 0;font-size:14px}.ad-outcome .record-form-grid>div:has(textarea){grid-column:1/-1}.ad-leads .card-list li{align-items:center}.cc-pages{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));column-gap:28px}.cc-pages a:last-child{border-bottom:1px solid var(--line)}@media(max-width:1100px){.ad-views{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.ad-views{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-actions{justify-content:flex-start}td.ad-act{min-width:170px}}
/* SCH-1 (7 Nov 2026): every side panel (the day grid's booking, edit, child and group panels, Draft a day's change, the lunch panel, the Add / Edit panel of page.js) opens as a popup in the middle of the screen, like the Overview's. */
dialog.drawer{margin:auto;width:min(680px,calc(100vw - 32px));height:auto;max-height:min(92dvh,980px);border:0;border-radius:18px;box-shadow:0 24px 64px #3d3d3d47}dialog.drawer::backdrop{background:#3d3d3d80}@media(max-width:650px){dialog.drawer{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}}
/* SCH-1: the fixes offered with a booking warning — each one a button that changes the session and saves again. */
.fix-list{display:grid;gap:8px;margin:10px 0 4px}.fix-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.fix-row>span{font-size:12px;font-weight:700;color:var(--muted);min-width:118px}.fix-row .button{min-height:34px;padding:5px 12px;font-size:13px}.fix-row .button.fix-pick{background:var(--hl);border-color:var(--hl-line)}.fix-row .button.fix-pick:hover{background:#f8e3ad}.fix-anyway{margin-top:8px}.records-filters>.fix-list{flex:1 0 100%;margin:0}
/* TEAM-1: punches waiting, one line per person with "Approve all" (templates/operations/_waiting_hr.html). */
.punch-people{list-style:none;margin:6px 0 12px;padding:0;display:grid;gap:2px}.punch-people li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}.punch-people li:first-child{border-top:0}.punch-people form{margin:0}.punch-people .chip-button{min-height:36px;padding:5px 12px;font-size:13px;cursor:pointer}.punch-one{margin:14px 0 2px;font-size:13px;color:var(--muted);font-family:Nunito,sans-serif;text-transform:uppercase;letter-spacing:.4px}
/* SES-1 (7 Nov 2026, the user: "sesion page pura rediegine kro … sbse best tareek ui har ek cheez … day grid bhi or baaki bhi
   pages"): every Sessions page (.sessions-page: records_base when the hub is Sessions, and the Day grid) starts its work
   higher — the tabs name the section, so no eyebrow; a smaller title, a short line, actions on the same row; compact
   filters, a slim strip of figures, tighter cards and tables, a lighter calendar heat. */
.sessions-page .hub-tabs{margin:12px 0 0}.sessions-page .hub-main a{padding:8px 14px}.sessions-page .hub-sub{padding-top:8px}
.sessions-page .hub-tabs+.page-heading,.sessions-page .page-heading,.sessions-page .grid-header{margin:16px 0 14px;gap:16px}
.sessions-page .page-heading .eyebrow,.sessions-page .grid-title .eyebrow{display:none}
.sessions-page .page-heading h1,.sessions-page .grid-title h1{font-size:28px;margin:0;letter-spacing:-.3px}
.sessions-page .page-heading p{font-size:13px;max-width:80ch;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sessions-page .page-actions,.sessions-page .action-bar{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.sessions-page .page-actions .button,.sessions-page .action-bar .button{min-height:40px;padding:8px 14px;font-size:14px}
.sessions-page .filter-card{padding:2px 16px 12px;border-radius:12px;margin:0 0 14px}
.sessions-page .filter-card label{margin:10px 0 5px;font-size:12px;color:var(--muted)}
.sessions-page .filter-card input,.sessions-page .filter-card select{min-height:40px;padding:8px 10px}
.sessions-page .filter-card .button{min-height:40px}.sessions-page .records-filters{gap:12px}
.sessions-page .kpi-row{gap:10px;margin:0 0 14px;grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
.sessions-page .kpi{padding:10px 14px;border-radius:11px;gap:2px}.sessions-page .kpi strong{font-size:22px}
.sessions-page .kpi span,.sessions-page .kpi small{font-size:11px}
.sessions-page .kpi-cards{gap:10px;margin-bottom:16px;grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
.sessions-page .kpi-card{padding:12px 14px 10px;gap:4px}.sessions-page .kpi-value{font-size:24px}
.sessions-page .records-card{padding:18px 20px;margin:14px 0}.sessions-page .records-card h2{font-size:19px}
.sessions-page .records-table th,.sessions-page .records-table td{padding:10px 14px}
.sessions-page .schedule-workspace{border-radius:14px}
.sessions-page .heat-4{background:#e9b949;color:var(--ink)!important}.sessions-page .heat-5{background:#c08414}
@media(max-width:800px){.sessions-page .page-heading,.sessions-page .grid-header{flex-direction:column;align-items:stretch}.sessions-page .page-actions,.sessions-page .action-bar{justify-content:flex-start}}
/* SES-1 Day grid: title, the day and the actions on one row; the help folded; the figures as one slim strip. */
.day-grid-page .grid-header{align-items:flex-start}.grid-day{font-size:13px;color:var(--muted);margin-top:2px}
.grid-help-box{margin-top:8px}.grid-help-box>summary{display:inline-flex;align-items:center;min-height:30px;cursor:pointer;list-style:none;font-size:12px;font-weight:700;color:var(--muted);padding:3px 12px;border:1px solid var(--line);border-radius:999px;background:#fff}
.grid-help-box>summary::-webkit-details-marker{display:none}.grid-help-box[open]>summary{background:var(--hl);border-color:var(--hl-line);color:var(--ink)}.grid-help-box .grid-help{margin-top:8px}
.day-grid-page .grid-stats{gap:8px;margin:0 0 12px}.day-grid-page .grid-stats>div{padding:8px 12px;gap:10px}
.day-grid-page .grid-stats strong{font-size:19px}.day-grid-page .stat-icon{transform:scale(.85)}
/* SES-2 (7 Nov 2026, the user: "Haan, dono karo" — Draft a day and the Sessions dashboard in the SES-1 frame): Draft a day's day under its
   title, the how-to folded, one toolbar row (day, view, select), a "Needs a decision" figure that jumps to its table, and the Create button
   in a bar that stays at the foot of the screen with the count it will create. */
.draft-heading .grid-help{display:grid;gap:4px;max-width:96ch}
.kpi.kpi-link{text-decoration:none;color:inherit}.kpi.is-warn{background:var(--soft-peach);border-color:#e9a58c}.kpi.is-warn strong{color:var(--peach-ink)}
.draft-toolbar{padding-top:16px;justify-content:flex-start}.draft-toolbar .view-switch{margin-right:auto}
.draft-workspace{overflow:clip}/* hidden would make the workspace the sticky bar's scroller */
.draft-create-bar{position:sticky;bottom:0;z-index:5;align-items:center;font-size:12px;background:#fffdf7;box-shadow:0 -6px 18px #3d3d3d14;border-radius:0 0 14px 14px}
.draft-create{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto}.draft-create small{font-size:12px}
.draft-create .button{min-height:44px;padding:10px 20px}.draft-create .button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:650px){.draft-create{width:100%;justify-content:flex-end}.draft-create small{width:100%;text-align:right}.draft-create-bar>span:first-child{display:none}}/* the button right: the bell sits bottom left */
#decision-heading{scroll-margin-top:80px}
/* The small popup menu (<details class="pop">), first made for Messages (chat-plus.css, 6 Nov 2026); here since SES-2 for every page. */
.pop{position:relative;display:inline-block}
.pop > summary{list-style:none;cursor:pointer}
.pop > summary::-webkit-details-marker{display:none}
.pop-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:40;min-width:220px;max-width:min(320px,calc(100vw - 24px));padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px #3d3d3d2e;display:flex;flex-direction:column;gap:2px;text-align:left}
.pop-right > .pop-menu,.pop .pop-menu.pop-right{left:auto;right:0}
.pop-up > .pop-menu{top:auto;bottom:calc(100% + 6px)}
.pop-wide{min-width:280px}
.pop-item{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:1px;width:100%;padding:8px 10px;border-radius:9px;font-size:14px;cursor:pointer;color:var(--ink,#3D3D3D);text-decoration:none}
.pop-item:hover,.pop-item:focus-visible{background:#f5f1e6}
.pop-item[aria-current]{background:#3D3D3D;color:#fff}
.pop-item small{font-size:12px;color:var(--muted);font-weight:400}
.pop-item b{font-weight:800;color:var(--muted)}
.pop-label{padding:8px 10px 2px;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:var(--muted)}
/* SES-2 Sessions dashboard: the period first, the one in use marked; More holds the pages the tabs do not open and the reports. */
.dash-filters .period-chips{margin:12px 0 2px;gap:8px}.dash-filters .period-chips a{min-height:32px;display:inline-flex;align-items:center;padding:4px 14px;font-size:13px;border:1px solid transparent}
.dash-filters .period-chips a[aria-current]{background:var(--hl);border-color:var(--hl-line);color:var(--ink)}
.sd-more[open]>summary{background:var(--hl);border-color:var(--hl-line)}
@media(max-width:800px){.sd-more>.pop-menu.pop-right{left:0;right:auto}}/* the actions start at the left there: open to the right */
.day-grid-page .workspace-heading{padding:14px 18px 10px}.day-grid-page .toolbar{padding:0 18px 12px}
@media(max-width:800px){.day-grid-page .grid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* SES-1 popups: the booking asks the child first and keeps role / length / room under More; the session popup starts with
   one-tap marks and quick reasons; Save stays in view at the foot. */
dialog.drawer label{margin:14px 0 6px}.book-lead{font-size:13px;margin:2px 0 0}
.book-more{margin:14px 0 4px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fdfcf8}
.book-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;font-weight:700;font-size:14px}
.book-more>summary::-webkit-details-marker{display:none}
.book-more>summary::after{content:'';margin-left:auto;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.book-more[open]>summary::after{transform:rotate(-135deg)}.book-more[open]{padding-bottom:12px}
.book-more-note{font-weight:400;font-size:12px;color:var(--muted)}
.dialog-footer{position:sticky;bottom:-31px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin:18px -31px -31px;padding:12px 31px;background:#fff;border-top:1px solid var(--line)}
.dialog-footer .booking-preview{margin:0 auto 0 0;padding:0;background:none;min-width:0;flex:1 1 200px}
.dialog-footer .booking-preview strong{margin:0;font-size:14px}.dialog-footer .booking-preview small{display:block;color:var(--muted);font-size:12px}
.danger-text{color:var(--alert);font-size:13px;margin-right:auto}
.quick-marks{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 2px}.quick-marks .button{min-height:42px}
.quick-mark.is-present{background:var(--soft-mint);border-color:var(--mint);color:var(--mint-ink)}
.quick-mark.is-absent{background:var(--soft-peach);border-color:var(--peach);color:var(--peach-ink)}
.quick-note{font-size:13px;font-weight:700;color:var(--peach-ink);margin:8px 0 0}
.reason-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}.reason-chips .chip-button{min-height:32px;padding:4px 12px;font-size:12px}
.reason-chips .chip-button.is-on{background:var(--hl);border-color:var(--hl-line)}
@media(max-width:480px){.dialog-footer{bottom:-23px;margin:18px -23px -23px;padding:12px 23px}}
/* Today's punch on every office page (partials/punch_pill.html, 13 Nov 2026) and the jobs on one login (account edit) */
.punch-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px;text-decoration:none;white-space:nowrap;flex:0 0 auto}.punch-pill:hover{background:var(--soft-yellow)}.punch-pill.is-first{background:var(--yellow);border-color:var(--accent)}.punch-pill .pp-since{color:var(--muted);font-size:13px}.punch-pill .pp-dot{width:8px;height:8px;border-radius:50%;background:#c0392b}.in-app-bar .punch-pill{margin-left:auto;min-height:36px;padding:0 12px}.in-app-bar .punch-pill~.button,.in-app-bar .punch-pill~.app-me{margin-left:8px}@media(max-width:800px){.topbar-tools .punch-pill{order:-1}}@media(max-width:420px){.punch-pill .pp-since{display:none}}
.access-jobs{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px 18px}.access-jobs .field-help{display:block;font-weight:400;margin-top:2px}
/* GOAL-DEL (13 Nov 2026): the message after deleting goals, with Undo, at the bottom like a phone app's; fades after 20 s */
.undo-bar{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:70;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100vw - 32px);padding:10px 10px 10px 18px;border-radius:14px;background:#3d3d3d;color:#fff;font-size:14px;font-weight:700;box-shadow:0 10px 30px #3d3d3d55;animation:undo-fade .4s ease 20s forwards}.undo-bar form{margin:0}.undo-button{min-height:40px;padding:0 16px;border:0;border-radius:10px;background:transparent;color:#F0C463;font:inherit;font-size:15px;font-weight:800;letter-spacing:.3px;cursor:pointer}.undo-button:hover{background:#ffffff1a}@keyframes undo-fade{to{opacity:0;visibility:hidden}}
/* GOAL-DEL-2 press and hold (static/hold.js; user, 14 Nov 2026: "mobile view me ... sb long press me do, desktop me
   buttons"): on a touch screen an item's option buttons (.hold-hide inside [data-hold]) live in the sheet its long press
   opens, and .hold-hint tells how; with a mouse they stay on the page */
.hold-hint { display: none; }
@media (hover: none), (pointer: coarse) {
  [data-hold] .hold-hide { display: none !important; }
  .hold-hint { display: block; margin: 10px auto 0; text-align: center; font-size: 12px; color: var(--muted, #6e6a60); }
}
[data-hold] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
dialog.action-sheet { width: 100%; max-width: 520px; margin: auto auto 0; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -12px 40px rgba(61, 61, 61, .25); }
.action-sheet::backdrop { background: rgba(61, 61, 61, .45); }
.action-sheet-title { margin: 6px 8px 12px; font-family: 'Baloo 2', sans-serif; font-size: 18px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.sheet-action { display: block; width: 100%; min-height: 52px; margin: 0 0 8px; padding: 0 18px; border: 1px solid var(--line, #e9e6dc); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
.sheet-action[hidden] { display: none; }
.sheet-action.danger { border-color: #f2b5a0; color: #9a3b22; }
.sheet-action.sheet-cancel { margin: 4px 0 0; background: #f6f3ea; text-align: center; }
.hold-tip { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 10px 16px; border-radius: 14px; background: var(--ink, #3d3d3d); color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(61, 61, 61, .3); }
.grid-absent-note{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 10px;padding:8px 12px;border:1px solid #f2d3c6;border-left:4px solid #c0392b;border-radius:10px;background:#fbece5;color:#9a302d}.grid-absent-note .chip{cursor:pointer;border:1px solid #f2d3c6;color:#3D3D3D}
/* SHEET-1 (14 Nov 2026): the Day grid as the one place to plan a day — its To do strip, Copy a day and the picker in a box (static/day-tools.js), and the Day sheet page */
.day-tasks:empty{display:none}.day-tasks{margin:0 0 10px}
.tasks-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 8px}
.tasks-title{font-size:13px;align-self:center;margin-right:2px}
.tasks-clear{font-size:13px;color:#2f6b45;background:var(--soft-mint);border-radius:999px;padding:6px 12px;align-self:center}
.task-chip{position:relative}
.task-chip>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:700}
.task-chip>summary::-webkit-details-marker{display:none}
.task-chip>summary::after{content:'▾';font-size:11px;color:var(--muted)}
.task-chip[open]>summary{background:var(--soft-yellow);border-color:var(--yellow)}
.task-chip>summary b{min-width:22px;padding:0 6px;border-radius:999px;background:var(--soft-blue);text-align:center}
.task-chip.warn>summary b{background:var(--soft-yellow);box-shadow:inset 0 0 0 1px #e2c36a}
.task-chip.danger>summary b{background:#f6d5cc;color:#9a302d}
.task-panel{position:absolute;left:0;top:calc(100% + 6px);z-index:60;width:min(470px,88vw);max-height:min(60vh,430px);overflow:auto;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(61,61,61,.16)}
.task-note{margin:0 0 8px;font-size:12px;color:var(--muted)}
.task-list{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:4px}
.task-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;width:100%;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:13px;text-align:left;text-decoration:none;cursor:pointer}
.task-line:hover,.task-line:focus-visible{background:var(--soft-yellow)}
.task-line.plain{cursor:default}.task-line.plain:hover{background:#fff}
.task-line span{color:var(--muted)}.task-line small{margin-left:auto;color:var(--muted)}
.warn-text,.task-line small.warn-text{color:#9a302d}
.task-chip.pages{margin-left:auto}.task-chip.pages .task-panel{left:auto;right:0}
.task-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;width:min(640px,92vw)}
.task-pages h3{margin:0 0 4px;font-size:12px;color:var(--muted)}
.task-pages a{display:block;padding:6px 0;font-size:13px;font-weight:700;color:var(--ink)}
@media(max-width:640px){.task-panel,.task-chip.pages .task-panel{position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:62vh}}
.copy-figures{margin:12px 0;padding-left:18px;font-size:14px;line-height:1.7}.copy-figures .warn{color:#9a302d}
.grid-slot.bookable:focus-visible{outline:3px solid #8fb6c8;outline-offset:-3px}
.grid-slot.bookable:focus-visible::after{opacity:1;content:'Type a name'}
.grid-slot.typing,.grid-appointment.typing{z-index:40;overflow:visible}.grid-appointment.typing{position:relative}  /* the picker opens in the box (a freed slot, an Absent child) */
.grid-slot.typing::after{display:none}
.cell-typer{position:absolute;left:0;top:0;z-index:41;width:max(100%,280px);padding:6px;border:1px solid var(--yellow);border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(61,61,61,.18);cursor:default;font-size:13px;text-align:left}
.cell-typer input{width:100%;min-height:36px;padding:4px 8px;border:1px solid var(--line);border-radius:7px;font:inherit}
.cell-typer-list{list-style:none;margin:4px 0;padding:0;max-height:260px;overflow:auto}
.cell-pick{display:flex;flex-direction:column;padding:6px 8px;border-radius:7px;cursor:pointer;line-height:1.3}
.cell-pick small{color:var(--muted);font-size:11px}
.cell-pick.active,.cell-pick:hover{background:var(--soft-yellow)}
.cell-pick.busy strong{color:#9a302d}
.cell-pick.none{color:var(--muted);cursor:default}.cell-pick.none:hover{background:none}
.cell-typer-note{margin:2px 2px 4px;color:var(--muted);font-size:11px}
.cell-typer.warned{border-color:#c0392b}.cell-typer.warned .cell-typer-note{color:#9a302d;font-size:12px}
.cell-typer-more{display:flex;gap:14px;padding:2px 2px 0}
.sheet-read{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end}
.sheet-read .sheet-paste{grid-column:1/-1}.sheet-read textarea{width:100%;font:inherit}
.cell-typer-fixes{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.cell-typer-fixes .fix-pick{min-height:30px;padding:2px 8px;font-size:12px}
.sheet-again>summary{cursor:pointer;list-style:none;padding:2px 0}.sheet-again>summary::-webkit-details-marker{display:none}.sheet-again>summary::after{content:' ▾';color:var(--muted)}.sheet-again[open]>summary{margin-bottom:12px}
/* SHEET-2: Show to parents, the month's figures, a therapist's task in a free box (static/day-tools.js) */
.tasks-shown{align-self:center;font-size:13px;font-weight:700;color:#2f6b45;background:var(--soft-mint);border-radius:999px;padding:6px 12px}
.tasks-hidden{align-self:center;font-size:13px;font-weight:700;color:#9a302d;background:#fbece5;border-radius:999px;padding:6px 12px}
.task-month{align-self:center;font-size:13px;color:var(--ink);text-decoration:none;border:1px dashed var(--line);border-radius:999px;padding:6px 12px}
.task-month:hover{background:var(--soft-yellow)}
.grid-task{border:1px dashed #8fb6c8;border-left:4px solid #8fb6c8;background:#f1f7fa;z-index:2}
.grid-task .grid-child-button{text-decoration:none;color:var(--ink)}
.grid-task.done{opacity:.6}.grid-task.done .grid-child-button{text-decoration:line-through}
.grid-task .task-done{position:absolute;top:4px;right:4px;min-width:28px;min-height:28px;padding:0 6px;border:1px solid #8fb6c8;border-radius:7px;background:#fff;font-weight:700;cursor:pointer}
.grid-task-more{display:inline-block;margin-left:4px;padding:0 6px;border-radius:999px;background:#f1f7fa;color:#356b80;font-size:11px;font-weight:700}
.book-counts{margin:6px 0 2px;padding:6px 10px;border-radius:8px;background:var(--soft-blue);font-size:13px;line-height:1.5}
.cell-typer-count{margin:2px 2px 0;font-size:11px;color:#356b80}.cell-typer-count:empty{display:none}
.grid-day-count{display:block;font-weight:700;color:#356b80}
.group-staff{margin:8px 0 12px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fbfaf6}.group-staff-list{list-style:none;margin:6px 0;padding:0;display:grid;gap:6px}.group-staff-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.group-staff-actions{display:flex;gap:6px;margin-left:auto;align-items:center}.group-staff-actions .chip-button{min-width:36px;min-height:32px}.group-staff-add{display:flex;gap:8px;align-items:center}.group-staff-add select{max-width:260px}
/* DESK-NAV (17 Nov 2026, the user: "har page mobile view or desktop view pr sahi ho"): on a phone the top bar's search gets a row of its own (beside Punch in, + New and the account button it was squeezed to "Sear"). */
@media(max-width:520px){.topbar-tools{flex-wrap:wrap}.topbar-tools .top-find{order:5;flex:1 1 100%}}
/* LEAD-DEL: the owner's delete asks on a lead page and the centred Ask owner to delete popup */
.lead-delete-asks{margin:0 0 18px;padding:14px 16px;background:#fbeae4}.lead-delete-asks ul{margin:6px 0 10px 18px}.lead-delete-asks .page-actions{justify-content:flex-start}.popup-form[popover]{position:fixed;inset:0;margin:auto;height:fit-content;background:#fff;width:min(460px,calc(100vw - 32px));padding:22px;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 40px #3d3d3d33}.popup-form[popover]::backdrop{background:#3d3d3d55}.popup-form h2{font-size:20px;margin:0 0 12px}.popup-form textarea{width:100%;margin-top:6px}.popup-form .hint{color:var(--muted);font-size:12px;margin:8px 0 14px}
/* Group settings (GSET, 18 Nov 2026) */
.group-tools{display:flex;flex-wrap:wrap;gap:6px 16px;margin:6px 0}.group-child.is-off{text-decoration:line-through;opacity:.55}.gs-days{display:flex;flex-wrap:wrap;gap:6px 14px;border:0;padding:0;margin:14px 0 0}.gs-days legend{font-weight:700;font-size:13px;margin-bottom:6px}#gs-move-box{margin-top:14px}#gs-move-box[hidden]{display:none}#gs-move-box input[type=date]{max-width:190px;margin-top:6px}
/* CHILD-HUB (23 Nov 2026): a child's billing so far beside a bill (accounting/clinic/_child_money_panel.html) and the family's chat on the profile */
.child-money{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fffdf6}.child-money-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:0 0 10px}.child-money-head h2{margin:0;font-size:17px}.child-money .glance-row{margin-bottom:10px}.child-money-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.child-money-lists h3{margin:0 0 4px;font-size:14px}.child-money-lists ul{margin:0 0 6px;padding-left:18px;font-size:13px}.child-money-lists li{margin:2px 0}.child-money-lists p{margin:4px 0;font-size:13px}
.family-chat{margin:0 0 14px;padding:10px 0 0;border-top:1px solid var(--line)}.family-chat:first-of-type{border-top:0;padding-top:0}.family-chat h3{margin:0 0 6px}.family-chat .from-family strong{color:#7a4b00}
.data-check-table td small{display:block;margin-top:2px}.data-check-table .inline-form input[list]{min-width:12rem}
/* APP-INV: the Parents' app card on a child's profile (templates/desk/_app_steps.html) */
.app-steps-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.app-step{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fdfcf8}.app-step .chip{justify-self:start}.app-step-text strong{display:block;font-size:14px}.app-step-text small{display:block;color:var(--muted);font-size:13px;margin-top:2px}.app-step .row-actions{justify-content:flex-end}@media(max-width:640px){.app-step{grid-template-columns:1fr;gap:8px}.app-step .row-actions{justify-content:flex-start}}
/* WA-TPL: Desk settings › WhatsApp messages and a family's WhatsApp button (templates/desk/wa_templates.html, wa_send.html) */
.wa-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.wa-jump a{padding:6px 12px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:13px;font-weight:700;text-decoration:none}.wa-group{margin:26px 0 10px}.wa-tpl-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.wa-tpl-head h2,.wa-tpl-head h3{margin:0}.wa-tpl textarea,.wa-tpl input[name=name]{width:100%;margin:6px 0}.wa-tpl textarea{font-size:14px;line-height:1.45}.wa-boxes{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.wa-boxes .chip{border:1px solid var(--line);cursor:pointer;font-family:inherit;font-size:12px}.wa-tpl details{margin-top:8px}.wa-pick .message-preview{margin-top:10px}
/* PUSH-MUST (static/push.js): the daily "Turn on notifications" centre popup on staff / office pages */
.push-must{width:min(440px,calc(100vw - 32px));border:0;border-radius:var(--radius);padding:26px 24px 20px;box-shadow:0 18px 48px rgba(61,61,61,.28);color:var(--ink);background:#fff;font-family:Nunito,sans-serif;text-align:center}.push-must::backdrop{background:rgba(61,61,61,.45)}.push-must [hidden]{display:none!important}.push-must .push-icon{display:block;font-size:42px;line-height:1}.push-must h2{font:800 22px/1.25 'Baloo 2',Baloo,sans-serif;margin:10px 0 6px}.push-must p{margin:0 0 14px;font-size:15px;line-height:1.5}.push-must .push-tip{font-size:14px;text-align:left;background:var(--soft-blue);border-radius:12px;padding:10px 12px}.push-must .push-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.push-must .push-buttons .button{min-width:120px}.push-must .push-note{margin:12px 0 0;font-size:14px;font-weight:700;color:var(--mint-ink)}.push-must .push-note:empty{display:none}.install-tip [hidden]{display:none!important}.push-who-off{color:var(--peach-ink);font-weight:700}.push-who-on{color:var(--mint-ink);font-weight:700}
/* NOTICE (27 Nov 2026): the scrolling disclaimer line at the top of every page (templates/base.html); two copies, each at least a screen wide, so the loop never shows a gap; the sticky CRM sidebar is 30px shorter so its foot shows under the line, and its shadow fills that strip once the page scrolls */
.beta-note{overflow:hidden;white-space:nowrap;background:#F0C463;color:#3D3D3D;font:700 13px/1.3 Nunito,sans-serif;padding:6px 0;padding-top:calc(6px + env(safe-area-inset-top));border-bottom:1px solid #e2b24a}.beta-note-track{display:inline-flex;animation:beta-scroll 38s linear infinite}.beta-note-track span{flex:none;min-width:100vw;padding-right:64px}@media(min-width:801px){body:has(>.beta-note) .sidebar{height:calc(100vh - 30px);box-shadow:-1px 30px 0 #fff,0 30px 0 var(--line)}}@keyframes beta-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.beta-note{white-space:normal;padding-left:14px;padding-right:14px;text-align:center}.beta-note-track{display:block;animation:none}.beta-note-track span{min-width:0;padding:0}.beta-note-track span+span{display:none}}@media print{.beta-note{display:none}}
.grid-appointment>small.in-place-of,.grid-compact .grid-appointment>small.in-place-of{display:block;font-size:9px;color:#a0503a;font-weight:700;overflow:hidden;text-overflow:ellipsis}  /* whose time it took: an Absent / Not coming child (27 Nov 2026) */
/* Manage access: the short leaving popup keeps its own height on a wide screen (EXIT-2) */
@media(min-width:651px){#exit-dialog{height:fit-content}}#exit-dialog [hidden]{display:none}
.grid-therapist-link{cursor:pointer}.grid-therapist-link:hover strong,.grid-therapist-link:focus-visible strong{text-decoration:underline}
