:root,[data-theme=clean_blue]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f7fb;--surface:#fff;--surface-2:#f0f4f9;--hover:#e9f0f9;--border:#dfe6ef;--grid:#edf1f6;--text:#14233a;--text-2:#46566c;--text-muted:#5f6e82;--accent:#1d5fbf;--accent-strong:#174f9f;--accent-soft:#e6effb;--on-accent:#fff;--series-1:#1d5fbf;--series-2:#12a08f;--series-3:#d9822b;--shadow:0 1px 2px #14233a0d, 0 4px 14px #14233a0d;--glow:none;--warn-bg:#fff4e3;--warn-text:#7a4a00}[data-theme=dark_neon]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b0f14;--surface:#141a22;--surface-2:#1b232d;--hover:#212b37;--border:#2a3542;--grid:#212a35;--text:#edf3f9;--text-2:#bcc8d6;--text-muted:#94a3b5;--accent:#22d3ee;--accent-strong:#67e8f9;--accent-soft:#22d3ee21;--on-accent:#06222a;--series-1:#3987e5;--series-2:#14a38f;--series-3:#cf7a24;--shadow:0 1px 2px #0006;--glow:0 0 0 1px #22d3ee59, 0 0 14px #22d3ee24;--warn-bg:#33270f;--warn-text:#f8d48f}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Segoe UI,system-ui,-apple-system,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.45}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{min-height:100dvh;display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex:none;gap:16px;width:248px;height:100dvh;padding:16px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.logo-chip{background:#f6f5f0;border-radius:12px;padding:8px 12px;display:block}.logo-chip img{width:100%;max-width:190px;height:auto;margin:0 auto;display:block}.nav-list{flex-direction:column;gap:2px;display:flex}.nav-link{min-height:40px;color:var(--text-2);border-radius:9px;align-items:center;gap:12px;padding:8px 12px;font-weight:500;display:flex}.nav-link:hover{background:var(--hover);color:var(--text)}.nav-link[aria-current=page]{background:var(--accent-soft);color:var(--accent-strong);box-shadow:inset 2px 0 0 var(--accent);font-weight:600}.main{flex-direction:column;flex:1;min-width:0;display:flex}.demo-banner{background:var(--warn-bg);color:var(--warn-text);text-align:center;justify-content:center;align-items:center;gap:8px;padding:6px 16px;font-size:13px;font-weight:600;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;padding:16px 28px 4px;display:flex}.topbar h1{letter-spacing:-.01em;font-size:23px;font-weight:700}.icon-btn{border:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--text-2);border-radius:10px;flex:none;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--hover);color:var(--text)}.content{width:100%;max-width:1360px;margin:0 auto;padding:14px 28px 32px}.stack{flex-direction:column;gap:16px;display:flex}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px}.filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:10px;gap:2px;max-width:100%;padding:3px;display:flex;overflow-x:auto}.segmented button{min-height:34px;color:var(--text-2);white-space:nowrap;border-radius:7px;padding:6px 13px;font-weight:500}.segmented button:hover{background:var(--hover)}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);font-weight:600}.select select{border:1px solid var(--border);background:var(--surface);border-radius:10px;max-width:100%;min-height:42px;padding:8px 12px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.kpi{flex-direction:column;gap:3px;padding:16px 18px;display:flex}.kpi h2{color:var(--text-muted);font-size:13px;font-weight:600}.kpi strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700}.delta{color:var(--text-muted);white-space:nowrap;align-items:center;gap:3px;font-size:12.5px;display:inline-flex}.minis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;margin:0;padding:14px 18px;display:grid}@media (min-width:1400px){.minis{grid-template-columns:repeat(9,minmax(0,1fr))}}.mini dt{color:var(--text-muted);font-size:12px}.mini dd{font-variant-numeric:tabular-nums;margin:0;font-size:17px;font-weight:650}.tabs{border-bottom:1px solid var(--border);gap:4px;display:flex;overflow-x:auto}.tabs button{color:var(--text-2);white-space:nowrap;border-bottom:2px solid #0000;margin-bottom:-1px;padding:9px 14px;font-weight:500}.tabs button:hover{color:var(--text)}.tabs button[aria-selected=true]{color:var(--accent-strong);border-color:var(--accent);font-weight:600}.charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.chart-card{flex-direction:column;gap:10px;min-width:0;padding:16px 18px;display:flex}.chart-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.chart-head h3{font-size:15.5px;font-weight:650}.chart-head p{color:var(--text-muted);font-size:12.5px}.link-btn{color:var(--accent-strong);border-radius:7px;flex:none;padding:4px 8px;font-size:12.5px;font-weight:600}.link-btn:hover{background:var(--accent-soft)}.plot{width:100%;min-width:0;height:250px}.legend,.split-legend{color:var(--text-2);flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:12.5px;list-style:none;display:flex}.legend li,.split-legend li{align-items:center;gap:6px;display:inline-flex}.legend i,.split-legend i,.chart-tip i{border-radius:3px;width:10px;height:10px;display:inline-block}.split{gap:2px;height:22px;margin-top:14px;display:flex}.split span:first-child{border-radius:5px 0 0 5px}.split span:last-child{border-radius:0 5px 5px 0}.split-legend{gap:8px 28px;margin-top:4px;font-size:14px}.split-legend small{color:var(--text-muted)}.chart-tip{background:var(--surface);border:1px solid var(--border);border-radius:9px;min-width:140px;padding:8px 10px;font-size:12.5px;box-shadow:0 6px 20px #0000002e}.chart-tip-label{color:var(--text-muted);margin-bottom:4px;font-weight:600}.chart-tip-row{color:var(--text-2);align-items:center;gap:6px;display:flex}.chart-tip-row b{color:var(--text);font-variant-numeric:tabular-nums;margin-left:auto;padding-left:12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13.5px}th{text-align:left;color:var(--text-muted);border-bottom:1px solid var(--border);white-space:nowrap;padding:7px 8px;font-size:12px;font-weight:600}td{border-bottom:1px solid var(--grid);white-space:nowrap;padding:7px 8px}tr:last-child td{border-bottom:0}.empty,.skeleton{text-align:center;color:var(--text-2);flex-direction:column;align-items:center;gap:8px;padding:48px 20px;display:flex}.empty h2{color:var(--text);font-size:18px}.upcoming{flex-direction:column;align-items:flex-start;gap:8px;max-width:620px;padding:26px;display:flex}.upcoming-icon{background:var(--accent-soft);width:46px;height:46px;color:var(--accent-strong);border-radius:12px;place-items:center;display:grid}.phase-tag{background:var(--surface-2);color:var(--text-2);border-radius:99px;margin-top:6px;padding:2px 9px;font-size:12px;font-weight:600}.upcoming h2{font-size:20px}.upcoming p{color:var(--text-2)}.upcoming ul{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.upcoming li{color:var(--text-2);align-items:center;gap:8px;display:flex}.upcoming li svg{color:var(--accent);flex:none}.theme-grid{grid-template-columns:repeat(2,minmax(0,340px));gap:16px;display:grid}.theme-option{text-align:left;flex-direction:column;gap:6px;padding:14px;display:flex}.theme-option:hover{border-color:var(--accent)}.theme-option[aria-checked=true]{border-color:var(--accent);box-shadow:var(--glow), var(--shadow)}.theme-preview{border-radius:9px;gap:6px;height:112px;padding:8px;display:flex}.theme-preview i{border-radius:5px;width:26%}.theme-preview b{flex:1;grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.theme-preview u{border-radius:5px}.theme-preview.clean_blue{background:#f4f7fb;border:1px solid #dfe6ef}.theme-preview.clean_blue i{background:#1d5fbf}.theme-preview.clean_blue u{background:#fff;border:1px solid #dfe6ef}.theme-preview.dark_neon{background:#0b0f14;border:1px solid #2a3542}.theme-preview.dark_neon i{background:#22d3ee}.theme-preview.dark_neon u{background:#1b232d;border:1px solid #2a3542}.theme-name{justify-content:space-between;align-items:center;margin-top:4px;font-size:16px;font-weight:650;display:flex}.theme-on{color:var(--accent-strong);align-items:center;gap:4px;font-size:12.5px;display:inline-flex}.theme-text,.note{color:var(--text-2);font-size:13.5px}.user-card{border-top:1px solid var(--border);align-items:center;gap:8px;margin-top:auto;padding:10px 4px 0 10px;display:flex}.sheet .user-card{margin-top:10px}.user-info{flex-direction:column;flex:1;min-width:0;display:flex}.user-info strong,.user-info span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-info strong{font-size:13.5px}.user-info span{color:var(--text-muted);font-size:12px}.auth-page{background:var(--bg);place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-box{flex-direction:column;gap:16px;width:100%;max-width:400px;display:flex}.auth-logo{background:#f6f5f0;border-radius:14px;align-self:center;padding:10px 18px}.auth-logo img{width:210px;max-width:100%;height:auto;display:block}.auth-card{padding:24px}.auth-form{flex-direction:column;gap:14px;display:flex}.auth-form h1{font-size:22px;font-weight:700}.auth-form label{color:var(--text-2);flex-direction:column;gap:5px;font-size:13.5px;font-weight:600;display:flex}.auth-form input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:46px;color:var(--text);font:inherit;border-radius:10px;padding:10px 12px;font-size:16px;font-weight:400}.auth-form input:focus{outline:2px solid var(--accent);outline-offset:0;border-color:#0000}.password-field{display:block;position:relative}.password-field input{padding-right:46px}.password-field button{width:46px;height:46px;color:var(--text-muted);place-items:center;display:grid;position:absolute;top:0;right:0}.btn-primary{background:var(--accent);min-height:46px;color:var(--on-accent);border-radius:10px;padding:10px 16px;font-weight:650}.btn-primary:hover:not(:disabled){filter:brightness(.93)}.btn-primary:disabled{opacity:.65;cursor:not-allowed}.auth-link{color:var(--accent-strong);align-self:center;padding:4px 8px;font-size:14px;font-weight:600}.auth-text{color:var(--text-2);font-size:14px}.form-error,.form-ok{border-radius:9px;padding:9px 12px;font-size:13.5px;font-weight:500}.form-error{background:var(--warn-bg);color:var(--warn-text)}.form-ok{background:var(--accent-soft);color:var(--accent-strong)}.auth-text.small{text-align:center;color:var(--text-muted);font-size:12.5px}.code-input{text-align:center;letter-spacing:.35em;font-variant-numeric:tabular-nums;font-size:20px!important}.btn-secondary{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-weight:600;display:inline-flex}.btn-secondary:hover:not(:disabled){background:var(--hover)}.btn-secondary:disabled{opacity:.65;cursor:not-allowed}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;max-width:1000px;display:grid}.settings-card{flex-direction:column;gap:14px;padding:20px;display:flex}.settings-card>h2{align-items:center;gap:8px;font-size:16.5px;display:flex}.settings-card hr{border:0;border-top:1px solid var(--border);width:100%;margin:2px 0}.auth-form input:disabled{background:var(--surface-2);color:var(--text-muted)}.steps{color:var(--text-2);gap:5px;margin:0;padding-left:20px;font-size:14px;display:grid}.qr{background:#fff;border-radius:10px;align-self:center;width:200px;height:200px;padding:8px}.secret{color:var(--text-2);text-align:center;font-size:13px}.secret summary{cursor:pointer;font-weight:600}.secret code{overflow-wrap:anywhere;background:var(--surface-2);-webkit-user-select:all;user-select:all;border-radius:7px;margin-top:6px;padding:8px;display:block}@media (max-width:960px){.settings-grid{grid-template-columns:minmax(0,1fr)}}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.search{min-width:0;color:var(--text-muted);flex:260px;align-items:center;display:flex;position:relative}.search svg{pointer-events:none;position:absolute;left:12px}.search input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:10px;padding:8px 12px 8px 36px}.with-icon{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px 15px;display:inline-flex}.board{scroll-snap-type:x proximity;gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.column{border:1px solid var(--border);background:var(--surface-2);scroll-snap-align:start;border-radius:12px;flex-direction:column;flex:0 0 262px;min-height:280px;max-height:calc(100dvh - 215px);display:flex}.column.is-over{border-color:var(--accent);box-shadow:var(--glow);background:var(--accent-soft)}.column>header{justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.column h2{font-size:13.5px;font-weight:650}.column>header span{background:var(--surface);min-width:24px;color:var(--text-2);text-align:center;border-radius:99px;padding:1px 7px;font-size:12px;font-weight:650}.column-cards{flex-direction:column;flex:1;gap:8px;min-height:60px;padding:0 8px 8px;display:flex;overflow-y:auto}.lead-card{text-align:left;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:9px;flex-direction:column;gap:3px;padding:10px 11px;display:flex}.lead-card[draggable=true]{cursor:grab}.lead-card:hover{border-color:var(--accent)}.lead-card strong{overflow-wrap:anywhere;font-size:14px}.lead-card>span{color:var(--text-muted);overflow-wrap:anywhere;font-size:12.5px}.lead-card .due{color:var(--text-2);align-items:center;gap:4px;display:inline-flex}.lead-card .due.is-late{color:var(--warn-text);font-weight:650}.patient-list{overflow:hidden}.patient-row{text-align:left;border-bottom:1px solid var(--grid);align-items:center;gap:14px;width:100%;min-height:62px;padding:10px 16px;display:flex}.patient-row:last-child{border-bottom:0}.patient-row:hover{background:var(--hover)}.patient-code{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:13px}.patient-main{flex-direction:column;flex:1;min-width:0;display:flex}.patient-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.patient-main small{color:var(--text-muted);font-size:12.5px}.badge{border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);border-radius:99px;flex:none;padding:2px 10px;font-size:12px;font-weight:650}.badge.status-ativo{border-color:var(--accent);color:var(--accent-strong);background:var(--accent-soft)}.drawer-backdrop{z-index:50;background:#050a1280;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:var(--surface);border-left:1px solid var(--border);flex-direction:column;width:min(560px,100%);height:100dvh;display:flex;box-shadow:-8px 0 28px #0003}.drawer-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.drawer-head h2{overflow-wrap:anywhere;min-width:0;font-size:17.5px}.drawer-body{padding:18px 20px calc(24px + env(safe-area-inset-bottom));flex-direction:column;flex:1;gap:16px;display:flex;overflow-y:auto}.crm-form{flex-direction:column;gap:13px;display:flex}.crm-form h3,.history h3{margin:4px 0 0;font-size:14.5px;font-weight:700}.crm-form label{min-width:0;color:var(--text-2);flex-direction:column;flex:1;gap:4px;font-size:13px;font-weight:600;display:flex}.crm-form input,.crm-form select,.crm-form textarea,.note-row input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:9px;padding:9px 11px;font-size:16px;font-weight:400}.crm-form textarea{resize:vertical}.crm-form input:disabled,.crm-form select:disabled{background:var(--surface-2);color:var(--text-muted)}.crm-form small{color:var(--text-muted);font-size:12px;font-weight:400}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-note{background:var(--warn-bg);color:var(--warn-text);border-radius:8px;padding:8px 11px;font-size:13px;font-weight:500}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:2px;display:flex}.history{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:14px;display:flex}.note-row{gap:8px;display:flex}.history ol{flex-direction:column;gap:9px;margin:0;padding:0;list-style:none;display:flex}.history li{border-left:2px solid var(--accent);background:var(--surface-2);border-radius:0 7px 7px 0;padding:7px 10px}.history li p{overflow-wrap:anywhere;font-size:13.5px}.history li small{color:var(--text-muted);font-size:12px}@media (max-width:960px){.toolbar .select,.toolbar .select select,.toolbar .btn-primary{flex:100%;width:100%}.column{flex-basis:82%;max-height:calc(100dvh - 330px)}}@media (max-width:480px){.form-row{grid-template-columns:minmax(0,1fr)}.patient-row{gap:10px;padding-inline:12px}.patient-code{display:none}.form-actions>button{flex:100%}}.date-nav{align-items:center;gap:4px;display:flex}.date-nav .btn-secondary{min-height:40px;padding:6px 14px}.date-title{flex:150px;font-size:15.5px}.date-title:first-letter,.appt-group h2:first-letter{text-transform:uppercase}.date-filter{color:var(--text-2);align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.date-filter input{border:1px solid var(--border);background:var(--surface);min-height:42px;color:var(--text);font:inherit;border-radius:10px;padding:7px 10px}.minis.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}.minis.three .mini:last-child{grid-column:auto}.cal{min-height:420px;max-height:calc(100dvh - 190px);overflow:auto}.cal-inner{min-width:100%}.cal-inner.semana{min-width:760px}.cal-head,.cal-body{grid-template-columns:58px repeat(var(--cols), minmax(0, 1fr));display:grid}.cal-head{z-index:3;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0}.cal-head button{color:var(--text-2);flex-direction:column;align-items:center;padding:6px 2px;display:flex}.cal-head button:hover{background:var(--hover)}.cal-head small{color:var(--text-muted);font-size:11.5px}.cal-head b{font-size:16px}.cal-head .is-today b{background:var(--accent);width:27px;height:27px;color:var(--on-accent);border-radius:50%;place-items:center;font-size:14px;display:grid}.cal-body,.cal-hours{position:relative}.cal-hours span{color:var(--text-muted);font-size:11.5px;position:absolute;right:7px;transform:translateY(1px)}.cal-col{border-left:1px solid var(--border);cursor:cell;background-image:linear-gradient(to bottom, var(--grid) 1px, transparent 1px);background-size:100% 60px;position:relative}.cal-col:hover{background-color:color-mix(in srgb, var(--hover) 35%, transparent)}.cal-event{z-index:1;text-align:left;border:1px solid var(--border);border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--text);border-radius:5px;flex-direction:column;gap:1px;padding:3px 6px;display:flex;position:absolute;overflow:hidden}.cal-event[draggable=true]{cursor:grab}.cal-event:hover{z-index:2;filter:brightness(.97);box-shadow:var(--shadow)}.cal-event b{text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:12px;font-weight:650;line-height:1.25;overflow:hidden}.cal-event small{color:var(--text-2);font-size:11px}.cal-event.st-confirmado{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.cal-event.st-confirmado small{color:inherit}.cal-event.st-realizado{background:var(--surface-2);border-left-color:var(--text-muted)}.cal-event.st-nao_compareceu{background:var(--warn-bg);border-left-color:var(--series-3);color:var(--warn-text)}.cal-event.st-nao_compareceu small{color:inherit}.month{overflow:hidden}.month-head,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.month-head span{color:var(--text-muted);border-bottom:1px solid var(--border);padding:7px 8px;font-size:12px;font-weight:600}.month-cell{text-align:left;border-right:1px solid var(--grid);border-bottom:1px solid var(--grid);flex-direction:column;gap:2px;min-width:0;min-height:104px;padding:5px 6px;display:flex;position:relative}.month-cell:hover{background:var(--hover)}.month-cell.is-out{background:var(--surface-2);color:var(--text-muted)}.month-cell b{font-size:13px}.month-cell.is-today b{background:var(--accent);width:24px;height:24px;color:var(--on-accent);border-radius:50%;place-items:center;display:grid}.month-items{flex-direction:column;gap:1px;min-width:0;display:flex}.month-items small{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.month-cell em{color:var(--text-muted);font-size:11px;font-style:normal;font-weight:600}.month-count{display:none}.appt-group{overflow:hidden}.appt-group h2{color:var(--text-2);padding:10px 16px 6px;font-size:13.5px}.appt-row{text-align:left;border-bottom:1px solid var(--grid);align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 16px;display:flex}.appt-row:last-child{border-bottom:0}.appt-row:hover{background:var(--hover)}.appt-time{width:46px;color:var(--text-2);font-variant-numeric:tabular-nums;flex:none;font-size:13px;font-weight:650}.appt-row .patient-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.quick-actions .btn-secondary{padding-inline:8px;font-size:13.5px}.slots{color:var(--text-2);flex-direction:column;gap:5px;font-size:13px;font-weight:600;display:flex}.slots small{color:var(--text-muted);font-weight:400}.slots>div{flex-wrap:wrap;gap:5px;max-height:92px;display:flex;overflow-y:auto}.slots button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text-2);font-variant-numeric:tabular-nums;border-radius:7px;padding:4px 10px;font-size:13px}.slots button:hover{border-color:var(--accent)}.slots button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}@media (max-width:960px){.date-title{flex-basis:100%;order:-1}.date-filter{flex:42%}.date-filter input{flex:1;min-width:0}.cal{max-height:calc(100dvh - 340px)}}@media (max-width:620px){.month-cell{align-items:center;min-height:58px;padding:4px 2px}.month-items,.month-cell em{display:none}.month-count{background:var(--accent-soft);min-width:18px;color:var(--accent-strong);text-align:center;border-radius:99px;padding:0 4px;font-size:11px;font-weight:700;display:block}}.clinical{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px;display:grid}.clinical-patients{flex-direction:column;gap:10px;padding:12px;display:flex}.clinical-patients .search{flex:none}.clinical-list{flex-direction:column;gap:2px;max-height:calc(100dvh - 210px);display:flex;overflow-y:auto}.clinical-list button{text-align:left;border-radius:8px;flex-direction:column;padding:9px 10px;display:flex}.clinical-list button:hover{background:var(--hover)}.clinical-list button[aria-current=true]{background:var(--accent-soft);box-shadow:inset 2px 0 0 var(--accent)}.clinical-list strong{overflow-wrap:anywhere;font-size:14px}.clinical-list small{color:var(--text-muted);font-size:12px}.clinical-head{align-items:center;gap:10px;display:flex}.clinical-head>div{flex:1;min-width:0}.clinical-head h2{overflow-wrap:anywhere;font-size:19px}.clinical-head small{color:var(--text-muted)}.clinical-back{display:none}.timeline{border-left:2px solid var(--border);flex-direction:column;gap:10px;margin:0;padding:0 0 0 16px;list-style:none;display:flex}.timeline li{position:relative}.timeline li:before{content:"";background:var(--accent);width:10px;height:10px;box-shadow:0 0 0 3px var(--bg);border-radius:50%;position:absolute;top:19px;left:-22px}.timeline-card{text-align:left;flex-direction:column;gap:2px;width:100%;padding:12px 14px;display:flex}.timeline-card:hover{border-color:var(--accent)}.timeline-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.timeline-card small{color:var(--text-muted);font-size:12.5px}.share-card{padding:12px 16px}.share-card[open]{flex-direction:column;gap:12px;display:flex}.share-card>*+*{margin-top:10px}.share-card summary{cursor:pointer;align-items:center;gap:8px;min-height:28px;font-weight:650;display:flex}.grant-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.grant-list li{background:var(--surface-2);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.grant-list span{flex-direction:column;min-width:0;display:flex}.grant-list small{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}.record-status{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.save-state{color:var(--text-muted);align-items:center;gap:4px;margin-left:auto;font-size:12.5px;display:inline-flex}.history details p{white-space:pre-wrap;margin-top:4px}.history summary{cursor:pointer;font-size:13px;font-weight:600}.print-sheet{display:none}@media (max-width:960px){.clinical{grid-template-columns:minmax(0,1fr)}.clinical.has-selection .clinical-patients,.clinical:not(.has-selection) .clinical-main{display:none}.clinical-back{display:inline-grid}}@media print{body *{visibility:hidden!important}.drawer-backdrop,.drawer,.drawer-body{height:auto!important;box-shadow:none!important;background:#fff!important;border:0!important;display:block!important;position:static!important;overflow:visible!important}.print-sheet,.print-sheet *{visibility:visible!important;color:#000!important}.print-sheet{background:#fff;width:100%;padding:12mm;font-size:12pt;display:block;position:absolute;inset:0 auto auto 0}.print-sheet h1{font-size:17pt}.print-sheet h2{margin-top:12pt;font-size:12.5pt}.print-sheet p{white-space:pre-wrap}.print-sheet footer{margin-top:18pt;font-size:9pt}}.team-toolbar{justify-content:space-between}.team-toolbar .btn-primary{flex:none!important;width:auto!important}.btn-primary:disabled.with-icon{cursor:not-allowed}.link-box{flex-direction:column;gap:10px;display:flex}.link-box input{border:1px solid var(--border);background:var(--surface-2);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:9px;padding:9px 11px;font-size:13px}.perm-section{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:14px;display:flex}.perm-section h3{margin:0;font-size:14.5px}.with-lock{align-items:center;gap:6px;display:flex}.perm-table th,.perm-table td{text-align:center;white-space:normal;padding:6px 4px;font-size:12px}.perm-table th:first-child,.perm-table tbody th{text-align:left;color:var(--text);font-size:13px}.perm-table input,.perm-others input{width:19px;height:19px;accent-color:var(--accent);cursor:pointer}.perm-table input:disabled,.perm-others input:disabled{cursor:not-allowed}.perm-others{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;display:grid}.perm-others label{min-height:30px;color:var(--text-2);align-items:center;gap:8px;font-size:13.5px;display:flex}@media (max-width:480px){.perm-others{grid-template-columns:minmax(0,1fr)}}.toolbar-gap{flex:auto}.fin-row{border-bottom:1px solid var(--grid);align-items:center;gap:8px;padding-right:12px;display:flex}.fin-row:last-child{border-bottom:0}.fin-main{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;min-height:60px;padding:9px 16px;display:flex}button.fin-main:hover:not(:disabled){background:var(--hover)}.fin-main:disabled{cursor:default;color:inherit}.fin-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fin-value{font-variant-numeric:tabular-nums;flex:none}.fin-actions{flex:none;gap:6px;display:flex}.fin-actions .btn-secondary{min-height:36px;padding:5px 12px;font-size:13px}.badge.pay-pago{border-color:var(--accent);color:var(--accent-strong);background:var(--accent-soft)}.badge.pay-atrasado{border-color:var(--series-3);color:var(--warn-text);background:var(--warn-bg)}.kpi-inline{font-size:26px;font-weight:700}.pack-meter{background:var(--surface-2);border-radius:99px;flex:0 120px;height:7px;overflow:hidden}.pack-meter i{background:var(--series-1);border-radius:99px;height:100%;display:block}.pack-counter{background:var(--surface-2);text-align:center;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.pack-counter div{flex-direction:column;display:flex}.pack-counter strong{font-size:20px}.pack-counter small{color:var(--text-muted)}.receipt-preview{flex-direction:column;gap:10px;padding:20px;display:flex}.receipt-preview h1{font-size:19px}.receipt-preview footer{color:var(--text-muted);font-size:12px}@media (max-width:760px){.fin-row{flex-direction:column;align-items:stretch;gap:0;padding:0 0 8px}.fin-main{flex-wrap:wrap;padding:9px 12px 6px}.fin-main .patient-main{flex:100%}.fin-main .fin-value{margin-right:auto}.fin-actions{padding:0 12px}.fin-actions .btn-secondary{flex:1}.toolbar-gap{display:none}.toolbar>.btn-secondary{flex:100%}.pack-meter{display:none}}.report-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;padding:14px;display:grid}.report-filters label{min-width:0;color:var(--text-2);flex-direction:column;gap:5px;font-size:13px;font-weight:600;display:flex}.report-filters select,.report-filters input{border:1px solid var(--border);background:var(--surface-2);width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;border-radius:9px;padding:8px 10px;font-size:14px;font-weight:400}.report-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.report-tables{grid-auto-flow:dense;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:start;gap:16px;display:grid}.report-table{min-width:0}.report-table.wide{grid-column:1/-1}.report-table tbody th,.report-table tbody td{border-bottom:1px solid var(--grid)}.report-table th,.report-table td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.report-table th:first-child{text-align:left}.report-table tbody th{color:var(--text);font-weight:500}@media (max-width:560px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters label:has(select){grid-column:1/-1}.report-actions .btn-secondary{flex:1;justify-content:center}}.topbar-actions{flex:none;gap:8px;display:flex}.bell{position:relative}.bell-count{background:var(--accent-strong);min-width:19px;height:19px;color:var(--surface);text-align:center;border-radius:99px;padding:0 5px;font-size:11px;font-weight:700;line-height:19px;position:absolute;top:-6px;right:-6px}.notif-toolbar{justify-content:space-between}.notif-filter{min-height:40px;color:var(--text-2);align-items:center;gap:8px;font-size:14px;display:inline-flex}.notif-filter input{width:18px;height:18px;accent-color:var(--accent)}.notif-row{border-bottom:1px solid var(--grid);width:100%;min-height:62px;color:var(--text-2);text-align:left;align-items:center;gap:12px;padding:10px 16px;display:flex}.notif-row:last-child{border-bottom:0}.notif-row:hover{background:var(--hover)}.notif-row>i{background:0 0;border-radius:50%;flex:none;width:8px;height:8px}.notif-row strong{white-space:normal;font-weight:500;overflow:visible}.notif-row.unread{background:var(--accent-soft);color:var(--text)}.notif-row.unread:hover{background:var(--hover)}.notif-row.unread>i{background:var(--accent)}.notif-row.unread strong{font-weight:700}.pref-card{flex-direction:column;padding:18px;display:flex}.pref-card header{flex-direction:column;gap:4px;padding-bottom:12px;display:flex}.pref-card h2{font-size:17px}.pref-card header p{color:var(--text-2);font-size:13.5px}.pref-row{border-top:1px solid var(--grid);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding:8px 0;display:flex}.pref-row>span{flex-direction:column;min-width:0;display:flex}.pref-row strong{font-size:14.5px;font-weight:600}.pref-row small{color:var(--text-muted);font-size:12.5px}.pref-row input{appearance:none;background:var(--border);cursor:pointer;border-radius:99px;flex:none;width:42px;height:24px;transition:background .15s;position:relative}.pref-row input:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.pref-row input:checked{background:var(--accent)}.pref-row input:checked:after{transform:translate(18px)}.pref-row input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){.pref-row input,.pref-row input:after{transition:none}}.drawer.wide{width:min(760px,100%)}.icon-btn.small{border-radius:8px;width:32px;height:32px}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.btn-secondary.danger{color:var(--warn-text)}.learn-meter{background:var(--surface-2);border:1px solid var(--grid);border-radius:99px;height:8px;overflow:hidden}.learn-meter i{background:var(--accent);border-radius:99px;height:100%;transition:width .3s;display:block}.learn-title{font-size:17px}.learn-hero{gap:20px;padding:22px;display:grid}.learn-hero.has-video{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center}.learn-hero-text{flex-direction:column;gap:10px;max-width:640px;display:flex}.learn-hero h2{font-size:21px}.learn-hero p{color:var(--text-2)}.learn-progress{align-items:baseline;gap:10px;margin-top:4px;display:flex}.learn-progress strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:28px}.learn-progress span{color:var(--text-2);font-size:13.5px}.learn-hero-actions{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.learn-video{aspect-ratio:16/9;background:#000;border-radius:12px;width:100%;position:relative;overflow:hidden}.learn-video iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.learn-modules{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));align-items:start;gap:14px;display:grid}.learn-module{flex-direction:column;gap:10px;padding:16px;display:flex}.learn-module header{align-items:center;gap:12px;display:flex}.learn-module header>div{flex:1;min-width:0}.learn-module small,.learn-index header small,.learn-lesson-head small{color:var(--text-muted);font-size:12px;font-weight:600}.learn-module h3{font-size:15.5px}.learn-module-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent-strong);border-radius:10px;flex:none;place-items:center;display:grid}.learn-module-count{color:var(--text-2);font-variant-numeric:tabular-nums;flex:none;font-size:13px;font-weight:650}.learn-module ul,.learn-panel ul{flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;display:flex}.learn-module li{align-items:center;gap:4px;display:flex}.learn-module-empty{color:var(--text-muted);font-size:13.5px}.learn-order{flex:none;gap:2px;display:flex}.learn-add{align-self:flex-start}.learn-index-item{width:100%;min-width:0;min-height:40px;color:var(--text);text-align:left;border-radius:8px;flex:1;align-items:flex-start;gap:9px;padding:8px;font-size:14px;display:flex}.learn-index-item:hover{background:var(--hover)}.learn-index-item[aria-current=page]{background:var(--accent-soft);box-shadow:inset 2px 0 0 var(--accent);font-weight:650}.learn-index-item span{overflow-wrap:anywhere;min-width:0}.learn-index-item small{color:var(--text-muted);font-weight:400}.learn-check{color:var(--text-muted);flex:none;margin-top:1px}.learn-check.is-done{color:var(--accent)}.learn-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.learn-panel{flex-direction:column;gap:10px;padding:16px;display:flex}.learn-panel>h2{align-items:center;gap:8px;font-size:16px;display:flex}.learn-faq-search{flex:none}.learn-faq{flex-direction:column;display:flex}.learn-faq details{border-top:1px solid var(--grid);padding:4px 0}.learn-faq details:first-child{border-top:0}.learn-faq summary{cursor:pointer;min-height:40px;padding:9px 4px;font-weight:600}.learn-faq details p{color:var(--text-2);padding:0 4px 8px}.learn-faq details .link-btn{margin:0 0 8px}.learn-course{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:16px;display:grid}.learn-lesson{flex-direction:column;gap:18px;min-width:0;padding:22px 26px;display:flex}.learn-lesson-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.learn-lesson-top .link-btn{align-items:center;gap:6px;padding-left:0;display:inline-flex}.learn-lesson-head{flex-direction:column;gap:4px;display:flex}.learn-lesson-head h2{letter-spacing:-.01em;overflow-wrap:anywhere;font-size:23px}.learn-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.learn-meta>span:first-child:not(.badge){align-items:center;gap:4px;display:inline-flex}.badge.draft{border-color:var(--series-3);background:var(--warn-bg);color:var(--warn-text)}.learn-summary{color:var(--text-2);font-size:16.5px}.learn-body{flex-direction:column;gap:10px;max-width:72ch;line-height:1.6;display:flex}.learn-section{flex-direction:column;gap:12px;display:flex}.learn-section h3,.learn-tips h3{font-size:16.5px}.learn-steps{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.learn-steps li{gap:12px;display:flex}.learn-steps li>div{flex-direction:column;flex:1;gap:10px;min-width:0;padding-top:3px;display:flex}.learn-step-n{background:var(--accent);width:28px;height:28px;color:var(--on-accent);border-radius:50%;flex:none;place-items:center;font-size:13.5px;font-weight:700;display:grid}.learn-shot{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;display:block;overflow:hidden}.learn-shot img{width:100%;height:auto;display:block}.learn-shot.is-loading{aspect-ratio:16/9}.learn-tips{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:12px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.learn-tips h3{color:var(--accent-strong);align-items:center;gap:8px;display:flex}.learn-tips ul{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.learn-lesson-foot{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px;display:flex}.learn-index{flex-direction:column;gap:10px;max-height:calc(100dvh - 24px);padding:16px 12px;display:flex;position:sticky;top:12px;overflow-y:auto}.learn-index header{flex-direction:column;gap:6px;padding:0 6px 4px;display:flex}.learn-index h3{font-size:15.5px}.learn-index nav{flex-direction:column;gap:1px;display:flex}.learn-empty{gap:12px}.learn-empty p{max-width:560px}.editor-list{border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:10px;margin:0;padding:12px;display:flex}.editor-list legend{color:var(--text);padding:0 6px;font-size:14px;font-weight:700}.editor-item{background:var(--surface-2);border-radius:9px;flex-direction:column;gap:8px;padding:10px;display:flex}.editor-item-head{justify-content:space-between;align-items:center;gap:8px;font-size:13.5px;display:flex}.editor-item-head span{gap:4px;display:flex}.editor-item-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-inline{gap:8px;display:flex}.editor-thumb{border:1px solid var(--border);object-fit:contain;border-radius:8px;align-self:flex-start;max-width:100%;max-height:220px;display:block}.crm-form .file-btn{cursor:pointer;color:var(--text);flex-direction:row;flex:none;align-items:center;font-size:14px;font-weight:600}.file-btn:focus-within{outline:2px solid var(--accent);outline-offset:2px}.check-row{align-items:center;color:var(--text)!important;flex-direction:row!important;gap:10px!important;font-size:14.5px!important}.check-row input{height:20px;accent-color:var(--accent);width:20px!important;min-height:0!important}.check-hint{margin-top:-8px}.annotator{flex-direction:column;gap:12px;display:flex}.annotator-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.annotator-tools .segmented button{align-items:center;gap:6px;display:inline-flex}.annotator-hint{color:var(--text-2);font-size:13.5px}.annotator-canvas{border:1px solid var(--border);cursor:crosshair;touch-action:none;border-radius:8px;width:100%;height:auto;display:block}@media (max-width:1100px){.learn-hero.has-video{grid-template-columns:minmax(0,1fr)}}@media (max-width:960px){.learn-course{grid-template-columns:minmax(0,1fr)}.learn-index{max-height:none;position:static}.learn-columns{grid-template-columns:minmax(0,1fr)}}@media (max-width:560px){.learn-hero,.learn-lesson{padding:16px}.learn-hero-actions>button,.learn-lesson-foot>button{flex:100%}.learn-lesson-head h2{font-size:20px}}.conn-banner{background:var(--warn-bg);color:var(--warn-text);text-align:center;justify-content:center;align-items:center;gap:8px;padding:7px 16px;font-size:13px;font-weight:600;display:flex}.conn-banner.is-back{background:var(--accent-soft);color:var(--accent-strong)}@media (max-width:960px){input,select,textarea{font-size:16px!important}.conn-banner{padding-top:calc(7px + env(safe-area-inset-top))}}@media (display-mode:standalone){.topbar{padding-top:calc(12px + env(safe-area-inset-top))}}@media (pointer:coarse){.link-btn{min-height:36px;padding:8px 10px}}.audit-back{align-self:flex-start;align-items:center;gap:6px;padding-left:0;display:inline-flex}.audit-list{overflow:hidden}.audit-row{border-bottom:1px solid var(--grid);align-items:flex-start;gap:14px;padding:10px 16px;display:flex}.audit-when{width:128px;color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:12.5px}.audit-main{flex-direction:column;flex:1;min-width:0;display:flex}.audit-main strong{font-size:14px;font-weight:600}.audit-main small{color:var(--text-2);overflow-wrap:anywhere;font-size:12.5px}.audit-more{margin:10px 16px}.backup-counts{color:var(--text-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;margin:0;padding-left:18px;font-size:13px;display:grid}.settings-card .btn-secondary.with-icon{align-self:flex-start}.secret summary{justify-content:center;align-items:center;gap:6px;display:flex}@media (max-width:560px){.audit-row{flex-direction:column;gap:2px;padding-inline:12px}.audit-when{width:auto}}.bottom-nav{display:none}.sheet-backdrop{z-index:40;background:#050a1280;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-height:82dvh;padding:14px 14px calc(14px + env(safe-area-inset-bottom));background:var(--surface);border-radius:18px 18px 0 0;overflow-y:auto}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:8px;padding-left:8px;display:flex}.sheet .nav-link{min-height:46px}@media (max-width:1180px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.charts{grid-template-columns:minmax(0,1fr)}}@media (max-width:960px){.sidebar{display:none}.topbar{padding:12px 16px 2px}.topbar h1{font-size:20px}.content{padding:10px 16px calc(84px + env(safe-area-inset-bottom))}.bottom-nav{z-index:30;padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0}.bottom-nav a,.bottom-nav button{min-height:54px;color:var(--text-muted);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11.5px;font-weight:500;display:flex}.bottom-nav a[aria-current=page]{color:var(--accent-strong);background:var(--accent-soft);font-weight:650}.filters{flex-direction:column;align-items:stretch}.select select{width:100%}.theme-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:480px){.kpi{padding:12px 13px}.kpi strong{font-size:22px}.delta{white-space:normal}.minis{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px}.mini:last-child{grid-column:1/-1}td,th{padding-inline:5px}.compare th:nth-child(3),.compare td:nth-child(3){display:none}.chart-card{padding:14px 12px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.form-note p+p{margin-top:6px}.btn-secondary.danger,.link-btn.danger{color:var(--warn-text)}.check-line{align-items:center;gap:10px;min-height:40px;font-weight:500;flex-direction:row!important;display:flex!important}.check-line input{width:18px;height:18px;accent-color:var(--accent);flex:none}.inline-checks{border:0;flex-wrap:wrap;gap:4px 18px;margin:0;padding:0;display:flex}.inline-checks legend{color:var(--text-2);margin-bottom:4px;padding:0;font-size:13px;font-weight:600}.chips{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.chips li{background:var(--accent-soft);color:var(--accent-strong);border-radius:99px;padding:4px 12px;font-size:13px;font-weight:600}.section-title{margin-top:6px;font-size:17px}.simple-list{margin:0;padding:0;list-style:none}.simple-list li{border-bottom:1px solid var(--grid);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.simple-list li:last-child{border-bottom:0}.simple-list li>span:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.simple-list small{color:var(--text-muted);font-size:12.5px}.request-side{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.portal-access ul.portal-accounts{border:1px solid var(--border);border-radius:10px;margin:8px 0;padding:0;list-style:none}.portal-accounts li{border-bottom:1px solid var(--grid);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.portal-accounts li:last-child{border-bottom:0}.portal-accounts li>span:first-child{flex-direction:column;flex:1;min-width:160px;display:flex}.portal-accounts small{color:var(--text-muted);overflow-wrap:anywhere;font-size:12.5px}.portal-account-actions{gap:4px;display:flex}.perm-section h3{align-items:center;gap:8px;display:flex}.portal-requests{border-color:var(--accent);padding:16px 18px}.portal-requests h2{align-items:center;gap:8px;margin-bottom:8px;font-size:16px;display:flex}.portal-requests ul{margin:0;padding:0;list-style:none}.request-row{border-top:1px solid var(--grid);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.request-info{flex-direction:column;gap:2px;min-width:0;display:flex}.request-info span{color:var(--text-2);font-size:14px}.request-info q{color:var(--text-muted);font-size:13px;font-style:italic}.request-reply{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.request-reply label{color:var(--text-2);flex-direction:column;gap:4px;font-size:13px;font-weight:600;display:flex}.request-reply input{border:1px solid var(--border);background:var(--surface);min-width:240px;min-height:40px;color:var(--text);border-radius:9px;padding:8px 10px}.avatar{object-fit:cover;background:var(--surface-2);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--border);border-radius:50%;flex:none;display:block}.avatar-initials{background:var(--accent-soft);color:var(--accent-strong);place-items:center;font-weight:700;display:grid}.profile-area .profile-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.photo-row{align-items:center;gap:16px;display:flex}.photo-btn{cursor:pointer}.career-editor{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;margin:0;padding:12px;display:flex}.career-editor legend{padding:0 6px;font-weight:650}.career-row,.rule-row{grid-template-columns:2fr 2fr 1fr auto;align-items:end;gap:8px;display:grid}.rule-row{grid-template-columns:1.4fr 1fr 1fr auto}.profile-view{flex-direction:column;gap:14px;display:flex}.profile-hero{overflow:hidden}.profile-cover{background:linear-gradient(120deg, var(--accent-soft), var(--surface-2));height:86px}.profile-head{align-items:flex-end;gap:16px;margin-top:-44px;padding:0 20px 14px;display:flex}.profile-head h2{font-size:21px}.profile-headline{color:var(--text-2)}.profile-meta{color:var(--text-muted);flex-wrap:wrap;gap:4px 14px;font-size:13.5px;display:flex}.profile-meta span{align-items:center;gap:4px;display:inline-flex}.profile-stats{border-top:1px solid var(--grid);grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:0;padding:12px 20px 16px;display:grid}.profile-stats dt{color:var(--text-muted);font-size:12.5px}.profile-stats dd{margin:0;font-size:20px;font-weight:700}.profile-block{flex-direction:column;gap:8px;padding:16px 20px;display:flex}.profile-block h3{align-items:center;gap:8px;font-size:16px;display:flex}.profile-bio{white-space:pre-line;color:var(--text-2)}.career-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.career-list li{align-items:flex-start;gap:10px;display:flex}.career-list li>svg{color:var(--accent);flex:none;margin-top:3px}.career-list li span{flex-direction:column;display:flex}.career-list small{color:var(--text-muted)}.muted{color:var(--text-muted);font-size:13.5px}.portal-main .stack>.link-btn{align-self:flex-start;align-items:center;gap:6px;display:inline-flex}.composer textarea{min-height:96px}.feed{flex-direction:column;gap:14px;max-width:720px;display:flex}.post{flex-direction:column;gap:10px;padding:16px 18px;display:flex}.post.is-hidden{opacity:.7;border-style:dashed}.post-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.post-author{align-items:center;gap:10px;display:flex}.post-author span{flex-direction:column;display:flex}.post-author small{color:var(--text-muted);font-size:12.5px}.post-body{white-space:pre-line;overflow-wrap:anywhere}.post-link{color:var(--accent-strong);overflow-wrap:anywhere;align-items:center;gap:6px;font-weight:600;display:inline-flex}.post-actions{border-top:1px solid var(--grid);flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;display:flex}.react-btn{min-height:38px;color:var(--text-2);border-radius:9px;align-items:center;gap:6px;padding:6px 12px;font-weight:600;display:inline-flex}.react-btn:hover{background:var(--hover)}.react-btn.is-on{color:var(--accent-strong)}.post-admin{gap:4px;margin-left:auto;display:flex}.portal{background:linear-gradient(180deg, var(--accent-soft), var(--bg) 260px);min-height:100dvh}.portal-top{align-items:center;gap:14px;max-width:1080px;margin:0 auto;padding:14px 20px 6px;display:flex}.portal-logo{background:#f6f5f0;border-radius:12px;padding:6px 10px;display:block}.portal-logo img{width:120px;height:auto;display:block}.portal-who{flex-direction:column;flex:1;gap:2px;min-width:0;font-size:16px;display:flex}.portal-who small{color:var(--text-muted)}.portal-switch{color:var(--text-muted);align-items:center;gap:8px;font-size:13px;display:flex}.portal-switch select{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-width:220px;min-height:34px;padding:4px 8px}.portal-top-actions{gap:8px;display:flex}.bell-wrap{position:relative}.bell-wrap .bell-count{pointer-events:none}.bell-wrap .icon-btn{position:relative}.bell-panel{z-index:50;width:min(340px,100vw - 32px);padding:12px;position:absolute;top:46px;right:0}.bell-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.bell-list{flex-direction:column;max-height:60dvh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.bell-item{text-align:left;width:100%;color:var(--text-2);border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:10px;display:flex}.bell-item:hover{background:var(--hover)}.bell-item.unread{color:var(--text);font-weight:600}.bell-item small{color:var(--text-muted);font-weight:400}.portal-nav{gap:4px;max-width:1080px;margin:0 auto;padding:6px 20px;display:flex;overflow-x:auto}.portal-nav a{min-height:40px;color:var(--text-2);white-space:nowrap;border-radius:99px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;display:inline-flex}.portal-nav a:hover{background:var(--surface)}.portal-nav a[aria-current=page]{background:var(--surface);color:var(--accent-strong);box-shadow:var(--shadow)}.portal-main{max-width:1080px;margin:0 auto;padding:12px 20px 40px}.portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.portal-hero{flex-direction:column;grid-area:span 2/span 2;align-items:flex-start;gap:8px;padding:22px;display:flex}.portal-hero h2{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:14px;font-weight:600}.hero-when{font-size:24px;font-weight:700}.hero-when:first-letter,.session-card strong:first-letter{text-transform:uppercase}.hero-time{align-items:center;gap:6px;font-size:18px;font-weight:600;display:flex}.where{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.where a{color:var(--accent-strong);font-weight:650;text-decoration:underline}.portal-box{flex-direction:column;align-items:flex-start;gap:8px;padding:18px;display:flex}.portal-box h2{font-size:16px}.notice-list{flex-direction:column;gap:6px;width:100%;margin:0;padding:0;list-style:none;display:flex}.notice-list li{color:var(--text-2);justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.notice-list li.unread{color:var(--text);font-weight:600}.portal-crisis{background:var(--warn-bg);color:var(--warn-text);border-radius:12px;grid-column:1/-1;padding:12px 16px;font-size:14px}.portal-crisis a{font-weight:700;text-decoration:underline}.portal-terms{flex-direction:column;gap:12px;max-width:680px;margin:0 auto;padding:24px;display:flex}.portal-terms h2{align-items:center;gap:8px;display:flex}.portal-terms ul{color:var(--text-2);flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.portal-terms .btn-primary{align-self:flex-start}.portal-booking{flex-direction:column;gap:14px;max-width:760px;padding:20px;display:flex}.portal-booking label{color:var(--text-2);flex-direction:column;gap:4px;font-size:14px;font-weight:600;display:flex}.portal-booking input,.portal-booking select{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:8px 12px}.portal-booking small{color:var(--text-muted);font-weight:400}.day-strip,.slot-grid{border:0;gap:8px;min-width:0;margin:0;padding:0 0 4px;display:flex;overflow-x:auto}.day-strip legend,.slot-grid legend{color:var(--text-2);margin-bottom:6px;padding:0;font-size:14px;font-weight:650}.day-strip button{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;flex:none;align-items:center;min-width:62px;padding:8px 6px;display:flex}.day-strip button strong{font-size:20px}.day-strip button small{color:var(--text-muted);text-transform:capitalize;font-size:12px}.slot-grid{flex-wrap:wrap}.slot-grid button{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:84px;min-height:44px;padding:8px 12px;font-weight:650}.day-strip button[aria-pressed=true],.slot-grid button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.day-strip button[aria-pressed=true] small{color:inherit}.session-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.session-card{flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 18px;display:flex}.session-card>div:first-child{flex-direction:column;gap:4px;display:flex}.session-card strong{display:block}.session-card span{align-items:center;gap:6px;display:inline-flex}.session-card small{color:var(--text-muted)}.session-side{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.session-actions{gap:4px;display:flex}.cancel-form{flex-basis:100%}.pro-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.pro-card{text-align:center;flex-direction:column;align-items:center;gap:6px;height:100%;padding:20px 16px;display:flex}.pro-card:hover{border-color:var(--accent)}.pro-card span:not(.badge){color:var(--text-muted);font-size:13.5px}.account-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0;display:grid}.account-facts dt{color:var(--text-muted);font-size:12.5px}.account-facts dd{overflow-wrap:anywhere;margin:0;font-weight:600}.portal-feed .segmented{align-self:flex-start}@media (max-width:960px){.portal-nav{display:none}.portal-main{padding:8px 16px calc(84px + env(safe-area-inset-bottom))}.portal-top{padding:12px 16px 6px}.portal-grid{grid-template-columns:minmax(0,1fr)}.portal-hero{grid-area:auto}}@media (max-width:620px){.portal-logo img{width:84px}.portal-who{font-size:14.5px}.career-row,.rule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.career-row label:first-child{grid-column:1/-1}.account-facts{grid-template-columns:minmax(0,1fr)}.session-side{align-items:flex-start}.profile-head{flex-direction:column;align-items:flex-start}.request-reply input{width:100%;min-width:0}.request-reply,.request-reply label{width:100%}}.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:620px){.form-row.three{grid-template-columns:minmax(0,1fr)}}.copy-field{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:8px;display:flex}.copy-field label{min-width:220px;color:var(--text-2);flex-direction:column;flex:1;gap:4px;font-size:13px;font-weight:600;display:flex}.copy-field input{border:1px solid var(--border);background:var(--surface-2);min-height:40px;color:var(--text);border-radius:9px;padding:8px 10px;font-family:ui-monospace,monospace;font-size:12.5px}.steps-list{color:var(--text-2);flex-direction:column;gap:4px;margin:8px 0;padding-left:20px;display:flex}.card-title{align-items:center;gap:8px;padding:14px 16px 6px;font-size:16px;display:flex}.pad{padding:8px 16px 14px}.online-table{border-collapse:collapse;width:100%;font-size:13.5px}.online-table th,.online-table td{border-bottom:1px solid var(--grid);text-align:left;white-space:nowrap;padding:9px 12px}.online-table td small{color:var(--text-muted);font-size:12px;display:block}.late{color:var(--warn-text);font-weight:650}.pay-list li{flex-wrap:wrap}.pay-box{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;flex-basis:100%;gap:10px;padding:12px;display:flex}.pay-choice{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.pay-choice legend{margin-bottom:6px;font-size:14px;font-weight:650}.pay-choice button{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:8px;min-height:48px;padding:8px 16px;font-weight:650;display:inline-flex}.pay-choice button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.pay-payer{flex-direction:column;gap:8px;display:flex}.pay-payer label{color:var(--text-2);flex-direction:column;gap:4px;font-size:14px;font-weight:600;display:flex}.pay-payer input{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);border-radius:10px;padding:8px 12px}.pay-go{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.muted.with-icon{align-items:center;gap:6px;display:inline-flex}.wallet-finder{border:1px dashed var(--border);border-radius:10px;flex-direction:column;gap:8px;margin-top:6px;padding:12px;font-weight:400;display:flex}.wallet-find{align-self:flex-start;align-items:center;gap:6px;margin-top:4px;display:inline-flex}
