:root{font-family:Segoe UI,sans-serif;color:#13202b;background:radial-gradient(circle at top left,rgba(255,176,122,.3),transparent 35%),linear-gradient(180deg,#fffaf3,#f4eee4);line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden}a,button,input,select,textarea{font:inherit}a{text-decoration:none}button,input,select,textarea{transition:box-shadow .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(138,91,53,.28);outline-offset:2px;box-shadow:0 0 0 4px #ffb07a3d}h1,h2,h3,p{margin:0}.shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(100%,460px)}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr;gap:24px;padding:24px;max-width:100%}.sidebar{align-self:start;position:sticky;top:24px}.sidebar-brand{padding-bottom:8px}.sidebar-meta{display:grid;gap:2px}.sidebar-footer{margin-top:auto}.content{min-width:0}@media(max-width:1080px){.app-shell{grid-template-columns:1fr;gap:16px;padding:16px}.sidebar{position:static;top:auto}}.panel{width:min(100%,100%);background:#ffffffe0;border:1px solid rgba(19,32,43,.08);border-radius:24px;box-shadow:0 24px 80px #13202b1f;padding:28px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.panel.inset{box-shadow:inset 0 1px #ffffffa6;background:#fffcf7eb}.stack{display:grid;gap:16px}.stack.compact{gap:10px}.row{display:flex;gap:12px}.row.wrap{flex-wrap:wrap}.row.spread{justify-content:space-between;align-items:center}.field{display:grid;gap:8px}.inline-field{min-width:180px}.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid #d7d0c2;border-radius:14px;background:#fffdfa}.field textarea{resize:vertical}.field-hint{font-size:.92rem;color:#5a6973}.field-error{font-size:.92rem;color:#a72222}.checkbox-row{display:flex;align-items:center;gap:10px}.button{border:0;border-radius:14px;padding:12px 16px;background:#13202b;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}.button.secondary{background:#dbe5ec;color:#13202b}.button.danger{background:#8e2323;color:#fff}.button.success{background:#235e33;color:#fff}.button:disabled{cursor:not-allowed;opacity:.7}.nav-link.active{background:#13202b;color:#fff}.page-actions{justify-content:flex-end}.muted{color:#5a6973}.info{color:#36566c}.success{color:#235e33}.error{color:#a72222}.eyebrow{margin:0 0 6px;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#8a5b35}.profile-header{display:grid;gap:4px}.page-header{padding-bottom:20px}.page-header-row{align-items:flex-start}.dashboard-grid,.agenda-grid,.records-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.95fr);gap:20px;align-items:start}.summary-grid,.shortcut-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.card,.appointment-card,.record-card{display:grid;gap:12px;padding:16px;border-radius:18px;border:1px solid rgba(19,32,43,.08);background:#ffffffd9}.compact-card{padding:14px 16px}.summary-card strong{font-size:1.4rem}.action-card{align-content:start}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.agenda-grid .panel.inset,.records-grid .panel.inset,.dashboard-grid .panel.inset{align-self:start}.appointment-list{min-height:120px}.appointment-card.cancelled{opacity:.75;background:#f5e8e8e6}.actions-row{align-items:center}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:96px;border-radius:999px;padding:6px 10px;font-size:.84rem}.status-pill.ok{background:#e1f0e5;color:#235e33}.status-pill.danger{background:#f5dede;color:#8e2323}.empty-state{padding:22px;border:1px dashed rgba(19,32,43,.16);border-radius:18px;background:#ffffff80}.record-meta{margin:0}.record-content{margin:0;white-space:pre-wrap;line-height:1.6;overflow:hidden;transition:max-height .18s ease}.record-content.collapsed{max-height:120px}.record-content.expanded{max-height:720px}.records-grid.records-grid-emphasis{grid-template-columns:minmax(0,1.75fr) minmax(320px,.9fr)}.records-panel-primary{box-shadow:0 18px 36px #13202b0f}.records-panel-secondary{background:#f9f7f2e6;border-color:#13202b1a}.record-card.is-expanded{border-color:#36566c33;box-shadow:0 14px 30px #13202b0d}.record-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.record-card-heading{display:grid;gap:6px}.record-subtitle{margin:0;color:#5a6973;font-size:.95rem}.record-date{color:#36566c;font-size:.94rem;font-weight:600}.record-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#c68c3c29;color:#7a4d11;font-size:.8rem;font-weight:700;letter-spacing:.01em}.record-meta-highlight{padding:10px 12px;border-radius:12px;background:#d6ebf3b3;color:#29485d}.record-content-shell{position:relative}.record-content-shell.is-truncated:after{content:"";position:absolute;inset:auto 0 0 0;height:56px;background:linear-gradient(to bottom,#fff0,#fffffff5 70%,#fff);pointer-events:none}.record-actions{display:flex;justify-content:flex-end;margin-top:-2px}.record-toggle{min-width:auto;padding:0;border:0;background:transparent;color:#36566c;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:.2em}.record-toggle:hover{color:#1f3c4d}.empty-state-document{text-align:left}.empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:10px;border-radius:12px;background:#36566c14;font-size:1.2rem}.form-note{display:grid;gap:6px;padding:14px 16px;border-radius:16px;border:1px solid rgba(54,86,108,.12);background:#d6ebf38c}.form-note strong{color:#244559}.form-note p{margin:0}.form-group{display:grid;gap:12px;padding:14px 16px;border-radius:16px;background:#ffffffb8;border:1px solid rgba(19,32,43,.07)}.form-group-advanced{background:#f9f5ecdb;border-color:#c68c3c2e}.form-group-title{margin:0;font-size:.88rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5a6973}@media(max-width:1280px){.records-grid.records-grid-emphasis{grid-template-columns:1fr}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#1018206b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{width:min(100%,760px);max-height:calc(100vh - 48px);overflow:hidden;border-radius:24px;box-shadow:0 28px 60px #13202b38}.psychologist-status-modal{display:flex;flex-direction:column;gap:18px;background:#faf6effa}.psychologist-status-modal-header{display:grid;gap:12px}.psychologist-status-modal-body{display:grid;gap:16px;flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px}.modal-summary{display:grid;gap:4px;padding:14px 16px;border-radius:16px;background:#ffffffb8;border:1px solid rgba(19,32,43,.08)}.reassignment-list{display:grid;gap:12px}.reassignment-item{display:grid;gap:12px;padding:14px 16px;border-radius:16px;background:#ffffffb3;border:1px solid rgba(19,32,43,.08)}.patient-summary{align-items:flex-start}.reassignment-field{margin:0}.modal-feedback{display:grid;gap:8px;padding:12px 14px;border-radius:14px;background:#f5dedeb3;border:1px solid rgba(142,35,35,.16)}.modal-feedback .error{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid rgba(19,32,43,.08);background:#faf6effa}@media(max-width:1080px){.modal-overlay{padding:12px;background:#1018208c;backdrop-filter:none;-webkit-backdrop-filter:none}.modal-card{max-height:calc(100vh - 24px);background:#faf6ef}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}}.psychologist-card{gap:14px;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,opacity .16s ease}.psychologist-card.is-active{border-color:#235e3329;box-shadow:0 16px 30px #13202b0d}.psychologist-card.is-inactive{border-color:#5a697324;background:#f5f5f2e0}.psychologist-card.is-inactive strong{color:#43515a}.psychologist-card.is-inactive .muted{color:#73818a}.psychologist-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.psychologist-card-title{display:grid;gap:6px}.psychologist-card-name-row{align-items:center}.gap-sm{gap:8px}.psychologist-status-pill{min-width:88px;font-weight:700}.psychologist-card-meta{gap:8px}.psychologist-state-note{margin:0;font-size:.92rem;font-weight:600}.psychologist-state-note.active{color:#235e33}.psychologist-state-note.inactive{color:#6d5660}@media(max-width:1080px){.psychologist-card-header{align-items:stretch}.psychologist-card-header .button{width:100%}}.psychologist-card-buttons{justify-content:flex-end;align-items:center}.psychologist-edit-button{background:#eef2e2;color:#324628}.psychologist-edit-modal .psychologist-status-modal-body{padding-right:0}.psychologist-edit-modal .modal-actions{margin-top:4px}@media(max-width:1080px){.psychologist-card-buttons{width:100%}}.psychologist-edit-header{gap:10px}.psychologist-edit-note{margin:0;color:#6d5660;font-size:.92rem;font-weight:600}.psychologist-edit-modal{display:flex;flex-direction:column;gap:18px;background:#f6f8f1fa}.psychologist-edit-modal .form-group{background:#ffffffd1}.field-priority input{border-color:#8a5b3547;background:#fffefb}@font-face{font-family:Raleway;src:url(/assets/Raleway-Regular-CqiI8QZD.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Raleway;src:url(/assets/Raleway-SemiBold-BqglZ3G4.ttf) format("truetype");font-weight:600;font-style:normal}:root{--font-body: "Avenir Next", "Segoe UI", sans-serif;--font-display: "Raleway", "Avenir Next", "Segoe UI", sans-serif;--bg-app: #f5f6f4;--bg-surface: #ffffff;--bg-subtle: #eef3ee;--text-primary: #1f2a23;--text-secondary: #536057;--text-muted: #7a847d;--brand-strong: #2f4a35;--brand-default: #628b66;--brand-soft: #7cb182;--accent-warm: #d4bea9;--border-subtle: #dde3dd;--border-strong: #c8d2c8;--shadow-card: 0 6px 20px rgba(31, 42, 35, .06);--radius-sm: 10px;--radius-md: 14px;--radius-lg: 18px}:root,body{font-family:var(--font-body);color:var(--text-primary);background:var(--bg-app)}body{background-image:none}h1,h2,h3,strong,.button,.nav-link,.eyebrow,.form-group-title{font-family:var(--font-body)}.panel{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:22px;box-shadow:var(--shadow-card);-webkit-backdrop-filter:none;backdrop-filter:none}.panel.inset{background:var(--bg-surface)}.button{background:var(--brand-strong);border-radius:var(--radius-md)}.button.secondary{background:#fff;color:var(--brand-strong);border:1px solid rgba(47,74,53,.18)}.button.success{background:var(--brand-strong)}.field input,.field select,.field textarea{min-height:48px;border-color:var(--border-subtle);border-radius:var(--radius-md);background:#fff}.field textarea{min-height:120px}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--brand-strong);box-shadow:0 0 0 4px #7cb18229}.muted{color:var(--text-secondary)}.eyebrow{color:var(--brand-default)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);background-size:cover;background-position:center}.auth-hero{position:relative;display:grid;align-content:space-between;gap:32px;padding:48px;color:#fff}.auth-logo{width:min(100%,420px);height:auto}.auth-hero-copy{max-width:560px}.auth-hero-copy h1{font-family:var(--font-display);font-size:clamp(2.5rem,4vw,3.3rem);line-height:1.05;color:#fff}.auth-kicker{font-size:.82rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ffffffc7}.auth-hero-copy p,.auth-hero-note p{color:#ffffffd1;font-size:1.02rem}.auth-hero-note{max-width:440px;padding:18px 20px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#ffffff14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-form-shell{display:grid;place-items:center;padding:32px}.auth-card{width:min(100%,440px);padding:32px}.auth-card h2{font-size:1.95rem}.auth-submit{width:100%;min-height:48px}.brand-app-shell{min-height:100vh;grid-template-columns:264px minmax(0,1fr);gap:0;padding:0;background:var(--bg-app)}.brand-sidebar{position:sticky;top:0;min-height:100vh;display:flex;flex-direction:column;gap:24px;padding:28px 20px;background:var(--brand-strong);color:#fff;border-right:1px solid rgba(255,255,255,.08)}.sidebar-logo{width:100%;max-width:180px;height:auto}.sidebar-symbol{display:none;width:36px;height:36px}.brand-sidebar-meta{gap:4px}.brand-sidebar-meta strong{color:#fff}.brand-sidebar-meta span{color:#ffffffb8}.brand-nav{gap:8px}.brand-nav-link{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:14px;color:#ffffffd6;background:transparent;font-weight:600}.brand-nav-link:hover{background:#ffffff14}.brand-nav-link.active{background:#ffffff24;color:#fff}.brand-sidebar-footer{margin-top:auto}.sidebar-logout{width:100%;background:#ffffff14;border:1px solid rgba(255,255,255,.14);color:#fff}.brand-content{padding:32px}.brand-page-header{padding:0;background:transparent;border:0;box-shadow:none}.brand-page-header h1{font-size:clamp(1.9rem,2.4vw,2.4rem);color:var(--text-primary)}.dashboard-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(140px,.6fr);gap:16px;align-items:center;min-height:220px;background-size:cover;background-position:center}.dashboard-hero-copy{max-width:620px}.dashboard-hero-copy h2{font-size:clamp(1.7rem,2vw,2.25rem);line-height:1.12}.dashboard-hero-symbol{display:flex;justify-content:flex-end;align-items:center}.dashboard-hero-symbol img{width:min(180px,100%);opacity:.42}.brand-summary-card,.dashboard-appointment-card,.dashboard-action-card{border-color:var(--border-subtle);box-shadow:none}.dashboard-panel-primary,.dashboard-panel-secondary,.dashboard-shortcuts-panel{background:var(--bg-surface)}.brand-empty-state{background:#fff;border-color:var(--border-strong)}@media(max-width:1080px){.auth-shell{grid-template-columns:1fr;background-position:top center}.auth-hero{min-height:220px;padding:28px 24px}.auth-form-shell{padding:24px}.brand-app-shell{grid-template-columns:1fr}.brand-sidebar{position:static;min-height:auto;padding:20px 16px;border-right:0}.brand-content{padding:20px 16px 28px}.dashboard-hero{grid-template-columns:1fr;min-height:auto}.dashboard-hero-symbol{justify-content:flex-start}}@media(max-width:640px){.auth-hero{gap:18px;min-height:180px}.auth-hero-note{display:none}.auth-card{padding:24px 20px}}.auth-shell{grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);background:var(--bg-app)}.auth-hero{background-repeat:repeat;background-size:260px auto;background-position:center}.brand-sidebar-top{gap:16px}.brand-sidebar-logo-wrap{display:flex;align-items:center;min-height:40px}.brand-page-header-row{align-items:flex-start}.brand-page-actions{justify-content:flex-end}.dashboard-hero{position:relative;display:block;min-height:220px;background-repeat:repeat;background-size:220px auto;background-position:center}.dashboard-hero-copy{position:relative;z-index:1;max-width:620px;padding-right:180px}.dashboard-hero-symbol{position:absolute;top:22px;right:22px;z-index:0;justify-content:flex-end;align-items:flex-start}.dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}@media(max-width:1080px){.dashboard-grid{grid-template-columns:1fr}.dashboard-hero-copy{padding-right:140px}.dashboard-hero-symbol{top:18px;right:18px}.dashboard-hero-symbol img{width:136px}}@media(max-width:768px){.auth-shell{grid-template-columns:1fr}.auth-hero{min-height:220px;padding:24px 20px;background-position:top left;background-size:220px auto}.auth-logo{max-width:240px}.auth-hero-copy{max-width:100%}.auth-hero-copy h1{font-size:clamp(2rem,8vw,2.5rem)}.auth-form-shell{padding:20px 16px 28px}.brand-sidebar{min-height:auto;flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px;padding:16px}.brand-sidebar-top{display:flex;align-items:center;gap:12px;width:auto}.sidebar-logo{display:none}.sidebar-symbol{display:block;width:30px;height:30px}.brand-sidebar-meta{gap:2px}.brand-sidebar-meta span{font-size:.92rem}.brand-nav{width:100%;display:flex;overflow-x:auto;gap:8px;padding-bottom:2px}.brand-nav-link{white-space:nowrap;min-height:42px;padding:0 12px}.brand-sidebar-footer{width:100%;margin-top:0}.sidebar-logout{width:auto;min-height:42px;padding-inline:14px}.brand-content{padding:18px 16px 24px}.brand-page-header-row{gap:12px}.brand-page-actions{width:100%;justify-content:flex-start}.dashboard-hero{min-height:auto;padding:24px 20px}.dashboard-hero-copy{padding-right:0;max-width:100%}.dashboard-hero-symbol{display:none}}@media(max-width:640px){.auth-hero{min-height:180px;gap:16px}.auth-hero-note{display:none}.auth-card{padding:22px 18px}.dashboard-summary-grid,.dashboard-shortcut-grid{grid-template-columns:1fr}}.auth-hero-pattern{background-color:var(--brand-strong);background-image:radial-gradient(circle at 18px 18px,rgba(255,255,255,.07) 0 2px,transparent 2px),radial-gradient(circle at 54px 54px,rgba(212,190,169,.12) 0 3px,transparent 3px),linear-gradient(180deg,#2f4a35f5,#2f4a35eb);background-size:72px 72px,72px 72px,auto}.dashboard-hero-pattern{background-color:#f7faf7;background-image:radial-gradient(circle at 16px 16px,rgba(124,177,130,.12) 0 2px,transparent 2px),radial-gradient(circle at 48px 48px,rgba(212,190,169,.18) 0 3px,transparent 3px),linear-gradient(120deg,#fffffffa,#eef3eefa);background-size:64px 64px,64px 64px,auto}.mobile-topbar,.mobile-sidebar,.mobile-nav-backdrop{display:none}.desktop-sidebar{display:flex}@media(max-width:768px){.mobile-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f5f6f4f5;border-bottom:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-nav-trigger{width:42px;height:42px;border:0;border-radius:12px;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;padding:0 11px;background:var(--brand-strong);cursor:pointer}.mobile-nav-trigger span{display:block;height:2px;border-radius:999px;background:#fff}.mobile-topbar-brand{display:flex;align-items:center;gap:10px;min-width:0}.mobile-topbar-symbol{width:28px;height:28px}.mobile-topbar-copy{display:grid;min-width:0}.mobile-topbar-copy strong,.mobile-topbar-copy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-topbar-copy span{color:var(--text-secondary);font-size:.92rem}.desktop-sidebar{display:none}.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;background:#1018207a}.mobile-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(86vw,320px);min-height:100vh;display:flex;transform:translate(-102%);transition:transform .18s ease;box-shadow:0 24px 48px #13202b38}.mobile-sidebar.open{transform:translate(0)}.brand-app-shell{display:block;min-height:100vh}.brand-content{padding-top:12px}}.operations-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.95fr);gap:20px;align-items:start}.operations-list-panel,.operations-form-panel{background:var(--bg-surface)}.operations-form-panel{border-color:var(--border-strong)}.operations-empty-state{background:#fff;border-color:var(--border-strong)}.patient-list-card,.schedule-appointment-card,.dashboard-appointment-card,.record-card{border-color:var(--border-subtle);box-shadow:none}.patient-list-card{border-left:4px solid rgba(98,139,102,.22)}.patient-list-card-row,.patient-list-card-actions{align-items:flex-start}.patient-context-panel{border-left:4px solid var(--brand-default);background:var(--bg-subtle)}.patient-context-header{align-items:flex-start}.patient-context-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.patient-detail-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.95fr)}.patient-detail-summary-grid strong,.patient-context-grid strong{color:var(--text-primary)}.schedule-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.9fr)}.schedule-list-panel .section-header,.patients-list-panel .section-header,.medical-records-list-panel .section-header{align-items:center}.schedule-appointment-list{gap:14px}.schedule-appointment-card{border-left:4px solid rgba(98,139,102,.22);background:#fff}.schedule-appointment-card.cancelled{border-left-color:#8e232352;background:#f9efefeb}.records-context-panel{border-left:4px solid var(--brand-default);background:var(--bg-subtle)}.medical-records-grid{grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr)}.medical-records-list-panel,.medical-records-form-panel{background:#fff}.records-panel-secondary{background:#fbfbfa}.record-card{background:#fff}.form-note{border-color:#628b6629;background:#eef3eeb8}.form-group-advanced{background:#d4bea924;border-color:#d4bea957}@media(max-width:1080px){.operations-grid,.patient-detail-grid,.schedule-grid,.medical-records-grid{grid-template-columns:1fr}}@media(max-width:640px){.patient-list-card-actions,.actions-row,.patient-list-card-actions .button,.actions-row .button{width:100%}.patient-context-grid{grid-template-columns:1fr}}.patients-list-header{align-items:flex-start}.patients-table{display:block}.patients-table-header{margin-bottom:8px}.patients-table-body{display:grid}.patients-table-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(180px,1fr) minmax(180px,1fr) minmax(160px,.9fr) auto;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border-subtle);background:#fff}.patients-table-row:last-child{border-bottom:0}.patients-table-row:hover{background:var(--bg-subtle)}.patients-table-row-head{padding-top:0;padding-bottom:12px;background:transparent;border-bottom:1px solid var(--border-strong)}.patients-table-row-head:hover{background:transparent}.patients-table-row-head .patients-table-cell{font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.patients-table-cell{display:grid;gap:4px;min-width:0}.patients-table-cell span,.patients-table-cell strong{overflow-wrap:anywhere}.patients-table-cell-primary strong{font-size:1rem}.patients-table-actions{display:flex;justify-content:flex-end;gap:10px}.patients-mobile-list{display:none}@media(max-width:960px){.patients-table{display:none}.patients-mobile-list{display:grid}}@media(max-width:768px){.mobile-sidebar{flex-direction:column;align-items:stretch;gap:18px;overflow-x:hidden;overflow-y:auto}.mobile-sidebar .brand-sidebar-top{width:100%;display:grid;gap:12px}.mobile-sidebar .brand-sidebar-logo-wrap{min-height:auto}.mobile-sidebar .brand-sidebar-meta{display:grid;gap:4px}.mobile-sidebar .brand-nav{width:100%;display:flex;flex-direction:column;gap:8px;overflow-x:hidden;padding-bottom:0}.mobile-sidebar .brand-nav-link{width:100%;min-height:48px;justify-content:flex-start;padding:0 14px;white-space:normal}.mobile-sidebar .brand-sidebar-footer{width:100%;margin-top:auto}.mobile-sidebar .sidebar-logout{width:100%}}.operations-list-panel,.operations-form-panel,.patients-list-panel,.patients-form-panel{min-width:0}.patients-list-panel{overflow:hidden}.patients-table{width:100%;min-width:0}.patients-table-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr) auto}.patients-table-actions{flex-wrap:wrap}.patients-table-row{align-items:flex-start}.patients-table-cell{align-content:start}.patients-table-cell-primary{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.patients-table-meta{display:grid;gap:4px}.patients-table-label{font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.patients-table-actions{align-self:flex-start;flex-shrink:0}.patients-table-cell:not(.patients-table-cell-primary):not(.patients-table-actions){gap:6px;font-size:.95rem;color:var(--text-secondary)}.patients-table-cell-primary .muted{font-size:.92rem}@media(max-width:1180px){.patients-table{display:none}.patients-mobile-list{display:grid}}.patients-structured-list{display:grid;gap:12px}.patient-list-item{display:grid;grid-template-columns:minmax(280px,1.6fr) minmax(220px,1fr) auto;gap:18px;align-items:start;padding:16px 18px;border:1px solid var(--border-subtle);border-radius:18px;background:#fff}.patient-list-item:hover{background:var(--bg-subtle)}.patient-list-item-main{display:grid;gap:6px;min-width:0}.patient-list-item-name{font-size:1rem;color:var(--text-primary)}.patient-list-item-summary{display:flex;flex-wrap:wrap;gap:8px 14px}.patient-list-item-context{display:grid;gap:10px;min-width:0}.patient-list-metric{display:grid;gap:4px;min-width:0}.patient-list-metric-label{font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.patient-list-metric span:last-child,.patient-list-item-summary span{overflow-wrap:anywhere}.patient-list-item-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0}@media(max-width:1180px){.patient-list-item{grid-template-columns:minmax(0,1fr) auto}.patient-list-item-context{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.patient-list-item{grid-template-columns:1fr}.patient-list-item-actions{justify-content:flex-start}}@media(max-width:640px){.patient-list-item-summary,.patient-list-item-context{grid-template-columns:1fr}.patient-list-item-actions,.patient-list-item-actions .button{width:100%}}.patient-list-item{grid-template-columns:minmax(0,1.7fr) minmax(180px,220px);grid-template-areas:"main actions" "context actions"}.patient-list-item-main{grid-area:main}.patient-list-item-context{grid-area:context;grid-template-columns:repeat(2,minmax(0,1fr))}.patient-list-item-actions{grid-area:actions;display:grid;grid-auto-rows:minmax(44px,auto);align-content:start;justify-items:stretch;gap:10px;width:100%}.patient-list-item-actions .button{width:100%}@media(max-width:1280px){.patient-list-item{grid-template-columns:1fr;grid-template-areas:"main" "context" "actions"}.patient-list-item-actions{justify-items:start;grid-template-columns:repeat(2,minmax(0,max-content));width:auto}.patient-list-item-actions .button{width:auto}}@media(max-width:900px){.patient-list-item-context{grid-template-columns:1fr}}@media(max-width:640px){.patient-list-item-actions{grid-template-columns:1fr;width:100%}.patient-list-item-actions .button{width:100%}}.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}.tablet-rail{display:none}@media(min-width:769px)and (max-width:1180px){.brand-app-shell{grid-template-columns:88px minmax(0,1fr)}.desktop-sidebar,.mobile-topbar{display:none}.tablet-rail{position:sticky;top:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;gap:24px;padding:24px 12px;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08)}.tablet-rail-top{display:grid;gap:16px;justify-items:center}.tablet-rail-symbol{width:36px;height:36px}.tablet-rail-trigger{width:44px;height:44px;border:0;border-radius:14px;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;padding:0 11px;background:#ffffff1a;cursor:pointer}.tablet-rail-trigger span{display:block;height:2px;border-radius:999px;background:#fff}.tablet-rail-nav{width:100%;display:grid;gap:10px;justify-items:center}.tablet-rail-link{width:52px;height:52px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#ffffffd1;font-weight:800;letter-spacing:.02em}.tablet-rail-link:hover{background:#ffffff14}.tablet-rail-link.active{background:#ffffff24;color:#fff}.mobile-sidebar{width:min(360px,42vw)}.brand-content{padding:24px 20px 28px}}@media(min-width:769px)and (max-width:1180px){.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;background:#1018207a}.mobile-sidebar{position:fixed!important;top:0;left:80px;right:auto;bottom:0;z-index:40;width:min(360px,calc(100vw - 112px));max-width:calc(100vw - 112px);min-height:100vh;max-height:100vh;display:flex!important;flex-direction:column;align-items:stretch;overflow-y:auto;overflow-x:hidden;padding:24px 16px;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08);box-shadow:0 24px 48px #13202b38;transform:translate(-102%);transition:transform .18s ease}.mobile-sidebar.open{transform:translate(0)}}@media(min-width:769px)and (max-width:1180px){.app-shell.brand-app-shell{display:grid;grid-template-columns:88px minmax(0,1fr);gap:0;padding:0}.app-shell.brand-app-shell .sidebar{position:static;top:auto}.tablet-rail{grid-column:1;z-index:20}.brand-content{grid-column:2;min-width:0;padding:24px 20px 28px}.mobile-topbar,.desktop-sidebar{display:none}}@media(min-width:769px)and (max-width:1180px){.app-shell.brand-app-shell{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:0!important;padding:0!important}.app-shell.brand-app-shell>.desktop-sidebar{display:none!important}.app-shell.brand-app-shell>.tablet-rail{display:flex!important;width:88px;min-width:88px;max-width:88px;grid-column:1;grid-row:1;align-self:stretch;position:sticky;top:0;left:0;min-height:100vh;z-index:20}.app-shell.brand-app-shell>.content.brand-content{grid-column:2;grid-row:1;min-width:0;width:100%}.app-shell.brand-app-shell>.mobile-topbar{display:none!important}}.tablet-rail-link svg{width:22px;height:22px}@media(min-width:769px)and (max-width:1180px){.app-shell.brand-app-shell{display:block!important;min-height:100vh;padding:0!important}.app-shell.brand-app-shell>.desktop-sidebar,.app-shell.brand-app-shell>.mobile-topbar{display:none!important}.app-shell.brand-app-shell>.tablet-rail{position:fixed;inset:0 auto 0 0;z-index:30;display:flex!important;flex-direction:column;align-items:center;gap:24px;width:80px;min-width:80px;padding:20px 10px;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08)}.app-shell.brand-app-shell>.content.brand-content{margin-left:80px;min-width:0;padding:24px 20px 28px}.tablet-rail-top{width:100%;display:grid;gap:14px;justify-items:center}.tablet-rail-symbol{width:34px;height:34px}.tablet-rail-trigger{width:44px;height:44px;border:0;border-radius:14px;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;padding:0 11px;background:#ffffff1a;cursor:pointer}.tablet-rail-trigger span{display:block;height:2px;border-radius:999px;background:#fff}.tablet-rail-nav{width:100%;display:grid;gap:10px;justify-items:center}.tablet-rail-link{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#ffffffd1}.tablet-rail-link:hover,.tablet-rail-link:focus-visible{background:#ffffff14}.tablet-rail-link.active{background:#ffffff24;color:#fff}.mobile-nav-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;background:#1018207a}.mobile-sidebar{position:fixed;inset:0 auto 0 80px;z-index:40;width:min(360px,calc(100vw - 112px));min-height:100vh;display:flex;transform:translate(-102%);transition:transform .18s ease;box-shadow:0 24px 48px #13202b38}.mobile-sidebar.open{transform:translate(0)}}.tablet-panel,.tablet-panel-backdrop{display:none}@media(min-width:769px)and (max-width:1180px){.app-shell.brand-app-shell{display:block!important;min-height:100vh;padding:0!important}.app-shell.brand-app-shell>.desktop-sidebar,.app-shell.brand-app-shell>.mobile-topbar,.app-shell.brand-app-shell>.mobile-sidebar,.app-shell.brand-app-shell>.mobile-nav-backdrop{display:none!important}.app-shell.brand-app-shell>.tablet-rail{position:fixed;inset:0 auto 0 0;z-index:30;display:flex!important;flex-direction:column;align-items:center;gap:24px;width:80px;padding:20px 10px;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08)}.app-shell.brand-app-shell>.content.brand-content{margin-left:80px;min-width:0;padding:24px 20px 28px}.tablet-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;background:#1018207a}.tablet-panel{position:fixed;top:0;left:80px;bottom:0;z-index:40;width:min(360px,calc(100vw - 112px));max-width:calc(100vw - 112px);display:flex;flex-direction:column;gap:20px;padding:24px 16px;overflow-y:auto;overflow-x:hidden;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08);box-shadow:0 24px 48px #13202b38;transform:translate(-102%);transition:transform .18s ease}.tablet-panel.open{transform:translate(0)}}@media(max-width:768px){.tablet-rail,.tablet-panel,.tablet-panel-backdrop{display:none!important}}.tablet-panel-shell,.tablet-panel-shell-backdrop{display:none}@media(min-width:769px)and (max-width:1180px){.app-shell.brand-app-shell{display:block!important;min-height:100vh;padding:0!important}.app-shell.brand-app-shell>.desktop-sidebar,.app-shell.brand-app-shell>.mobile-topbar,.app-shell.brand-app-shell>.mobile-sidebar,.app-shell.brand-app-shell>.mobile-nav-backdrop{display:none!important}.app-shell.brand-app-shell>.tablet-rail{position:fixed!important;top:0;left:0;bottom:0;z-index:50;display:flex!important;flex-direction:column;align-items:center;gap:24px;width:80px;min-width:80px;padding:20px 10px;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08)}.app-shell.brand-app-shell>.content.brand-content{margin-left:80px!important;min-width:0;width:calc(100% - 80px);padding:24px 20px 28px}.tablet-panel-shell-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:59;display:block;border:0;background:#1018207a}.tablet-panel-shell{position:fixed;top:0;left:80px;bottom:0;z-index:60;width:min(360px,calc(100vw - 112px));max-width:calc(100vw - 112px);display:flex;flex-direction:column;gap:20px;padding:24px 16px;overflow-y:auto;overflow-x:hidden;background:var(--brand-strong);border-right:1px solid rgba(255,255,255,.08);box-shadow:0 24px 48px #13202b38}.tablet-panel-shell .brand-sidebar-top,.tablet-panel-shell .brand-nav,.tablet-panel-shell .brand-sidebar-footer{width:100%}}@media(max-width:768px){.tablet-rail,.tablet-panel-shell,.tablet-panel-shell-backdrop{display:none!important}}.mobile-topbar{align-items:center}.mobile-nav-trigger,.mobile-topbar-symbol,.tablet-rail-symbol,.tablet-rail-trigger,.tablet-rail-link{flex:0 0 auto;flex-shrink:0}.mobile-nav-trigger,.tablet-rail-trigger,.tablet-rail-link{aspect-ratio:1 / 1}.mobile-topbar-brand{flex:1 1 auto}.mobile-topbar-symbol,.tablet-rail-symbol{display:block;object-fit:contain}.mobile-topbar-copy{flex:1 1 auto}@media(max-width:768px){.mobile-topbar{display:flex;justify-content:space-between;gap:12px}.mobile-nav-trigger{width:42px;min-width:42px;height:42px;min-height:42px}.mobile-topbar-symbol{width:28px;min-width:28px;height:28px;min-height:28px}}@media(min-width:769px)and (max-width:1180px){.tablet-rail-symbol{width:34px;min-width:34px;height:34px;min-height:34px}.tablet-rail-trigger{width:44px;min-width:44px;height:44px;min-height:44px}.tablet-rail-link{width:48px;min-width:48px;height:48px;min-height:48px}}@media(max-width:768px){.mobile-sidebar .brand-sidebar-logo-wrap{display:flex;align-items:center;gap:12px;min-height:36px;flex:0 0 auto;flex-shrink:0}.mobile-sidebar .sidebar-logo{display:none}.mobile-sidebar .sidebar-symbol{display:block;width:36px;min-width:36px;height:36px;min-height:36px;object-fit:contain;flex:0 0 auto;flex-shrink:0}}.psychologists-grid,.profile-grid{align-items:start}.psychologists-list-header,.profile-summary-card,.profile-summary-header,.profile-summary-note{gap:12px}.psychologists-summary-chips{display:flex;flex-wrap:wrap;gap:8px}.psychologists-list{gap:14px}.psychologist-card-meta-row{display:flex;flex-wrap:wrap;gap:12px}.profile-summary-card{display:grid;gap:18px}.profile-summary-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.profile-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.profile-metric-card{display:grid;gap:6px;padding:16px 18px;border-radius:18px;background:#ffffffc7;border:1px solid rgba(47,74,53,.08)}.profile-metric-card strong{color:var(--text-primary)}.profile-metric-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}.profile-summary-note{padding:16px 18px;border-radius:18px;background:#eef3eee6;border:1px solid rgba(47,74,53,.08)}.profile-summary-note p{margin:0}.profile-form-panel .form-group,.psychologists-form-panel .form-group{background:#ffffffd1}@media(max-width:1080px){.profile-summary-header{align-items:flex-start}}.user-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:999px;background:linear-gradient(135deg,#e8eee0fa,#d6e2cef5);color:var(--brand-strong);border:1px solid rgba(255,255,255,.22);box-shadow:0 8px 20px #13202b14}.user-avatar img,.user-avatar-fallback{width:100%;height:100%}.user-avatar img{display:block;object-fit:cover}.user-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;font-weight:700;letter-spacing:.04em}.user-avatar-sm{width:32px;height:32px}.user-avatar-md{width:44px;height:44px}.user-avatar-lg{width:96px;height:96px}.brand-sidebar-meta{display:flex;align-items:center;gap:12px}.brand-sidebar-meta-copy{display:grid;gap:4px;min-width:0}.account-avatar,.mobile-account-avatar{flex:0 0 auto}.mobile-topbar-brand{align-items:center}.profile-summary-identity{display:flex;align-items:center;gap:16px;min-width:0}.profile-summary-copy{min-width:0}.profile-avatar-editor{display:flex;align-items:center;gap:18px;padding:16px 18px;border-radius:18px;background:#eef3eee0;border:1px solid rgba(47,74,53,.08)}.profile-avatar-editor-copy{min-width:0}.profile-avatar-editor-copy p{margin:0}@media(max-width:768px){.profile-avatar-editor,.profile-summary-identity{align-items:flex-start}.profile-avatar-editor{flex-direction:column}}.profile-avatar-actions{gap:10px}
