:root{--navy:#04292a;--blue:#01696e;--teal:#085659;--accent:#0199a1;--ink:#04292a;--muted:#587171;--line:#dce8e7;--bg:#f5f9f8;--white:#fff;--green:#085659;--red:#b42318;--black:#000}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:var(--bg);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--navy);color:#fff;flex-direction:column;height:100vh;min-height:100vh;padding:25px 17px;display:flex;position:sticky;top:0}.brand{flex-direction:column;align-items:flex-start;gap:10px;padding:4px 7px 30px;display:flex}.brand-logo-frame{background:#fff;border-radius:12px;justify-content:center;align-items:center;width:158px;min-height:116px;padding:5px 8px;display:flex}.brand-logo{object-fit:contain;width:142px;height:auto;display:block}.brand small{color:#b6d4d2;letter-spacing:.2px;margin-top:1px;font-size:11px;display:block}.brand b{font-size:15px;display:block}.brand-mark{width:48px;height:48px;color:var(--navy);background:#e9f1ff;border-radius:15px;place-items:center;font-size:30px;font-weight:700;display:grid}.brand-mark.small{border-radius:12px;width:38px;height:38px;font-size:24px}.login-logo{object-fit:contain;width:min(100%,220px);height:auto;margin:0 auto 18px;display:block}.login-brand-wrap{justify-content:center;margin-bottom:18px;display:flex}.nav-links{gap:6px;display:grid}.nav-links a,.nav-disabled{color:#d9e4f3;border-radius:9px;align-items:center;gap:12px;padding:12px;font-size:14px;display:flex}.nav-links a:hover{color:#fff;background:#ffffff18}.nav-disabled{color:#93a4bc;font-size:12px}.nav-disabled span{line-height:1.25}.sidebar-bottom{border-top:1px solid #ffffff24;gap:12px;margin-top:auto;padding:16px 7px 0;display:grid}.sidebar-bottom small{color:#b6c5db;overflow-wrap:anywhere}.nav-signout{color:#fff;text-align:left;background:0 0;border:1px solid #ffffff45;border-radius:8px;padding:9px}.main-content{width:100%;max-width:1500px;margin:0 auto;padding:36px clamp(20px,4vw,58px)}.page-header{justify-content:space-between;align-items:center;gap:18px;margin:0 0 26px;display:flex}.page-header h1{letter-spacing:-.8px;margin:3px 0 5px;font-size:clamp(25px,3vw,34px)}.eyebrow{letter-spacing:1.6px;color:var(--blue);margin:0 0 7px;font-size:10px;font-weight:800}.muted{color:var(--muted);margin:0;font-size:13px}.button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;min-height:42px;padding:10px 16px;font-size:13px;font-weight:650;display:inline-flex}.button:disabled{opacity:.6;cursor:not-allowed}.button.primary{background:var(--navy);color:#fff}.button.secondary{border-color:var(--line);background:#fff}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px;display:grid}.stat-card,.panel{background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 8px #233a5608}.stat-card{padding:20px}.stat-card span,.stat-card small{color:var(--muted);font-size:12px;display:block}.stat-card strong{letter-spacing:-1px;margin:8px 0 3px;font-size:30px;display:block}.panel{margin-bottom:20px;padding:22px}.panel h2{margin:0 0 5px;font-size:17px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.text-link{color:var(--blue);font-size:13px;font-weight:650}.table-wrap{overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:13px}th{text-align:left;color:var(--muted);background:#edf4f3;font-size:11px;font-weight:700}td,th{border-bottom:1px solid var(--line);padding:13px 12px}tbody tr:last-child td{border-bottom:0}.status-pill{color:#315b91;background:#edf3fb;border-radius:20px;padding:5px 8px;font-size:11px;font-weight:650;display:inline-block}.empty-state{color:var(--muted);padding:24px 8px;font-size:13px}.empty-state a{color:var(--blue);font-weight:700}.notice{color:#75551b;background:#fff8e8;border:1px solid #f0dfb6;border-radius:10px;padding:13px 15px;font-size:12px;line-height:1.5}.fine-print{color:var(--muted);font-size:11px;line-height:1.55}.form-stack{gap:16px;display:grid}.form-stack label{color:#344054;gap:7px;font-size:12px;font-weight:650;display:grid}.form-stack input,.form-stack select{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #d9e0e9;border-radius:8px;outline:none;padding:9px 11px}.form-stack input:focus,.form-stack select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0199a11c}.two-cols{grid-template-columns:1fr 1fr;gap:14px;display:grid}.checkbox-line{align-items:center;grid-template-columns:none!important;gap:9px!important;font-weight:500!important;display:flex!important}.checkbox-line input{width:17px;height:17px;min-height:auto}.form-actions{justify-content:flex-end;gap:9px;display:flex}.error-text{color:var(--red);margin:0;font-size:12px}.login-page{background:linear-gradient(145deg,#eaf2f1,#f8fbfa);place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:18px;width:min(100%,420px);padding:34px;box-shadow:0 15px 50px #04292a16}.login-card .brand-mark{margin-bottom:22px}.login-card h1{margin:0 0 8px;font-size:28px}.login-card>.muted{margin-bottom:25px}.login-card .fine-print{margin-top:22px}.login-card .form-stack{margin-top:20px}@media (max-width:800px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;min-height:0;padding:13px 14px;position:relative}.brand{padding:0 4px 12px}.nav-links{gap:4px;display:flex;overflow-x:auto}.nav-links a,.nav-disabled{white-space:nowrap;padding:9px}.nav-disabled{display:none}.sidebar-bottom{justify-content:space-between;align-items:center;margin-top:10px;padding:10px 4px 0;display:flex}.main-content{padding:25px 15px}.stat-grid{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:24px}.page-header{align-items:flex-start}.page-header .button{white-space:nowrap}}@media (max-width:520px){.stat-grid,.two-cols{grid-template-columns:1fr}.page-header{flex-direction:column}.login-card{padding:25px}}::selection{color:#04292a;background:#0199a133}.button.primary{background:var(--navy)}.button.primary:hover{background:var(--teal)}.status-pill{color:#085659;background:#e6f3f2}.eyebrow,.text-link,.empty-state a{color:var(--blue)}textarea{font:inherit;color:var(--ink);border:1px solid var(--line);resize:vertical;border-radius:9px;width:100%;padding:11px}.form-stack textarea{background:#fff;min-height:80px}.form-stack small{color:var(--muted);font-weight:400}.ink-toolbar{flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;display:flex}.ink-toolbar label{align-items:center;gap:8px;font-size:12px;font-weight:650;display:flex}.ink-toolbar select,.ink-toolbar input[type=range]{max-width:170px}.ink-toolbar select{border:1px solid var(--line);border-radius:8px;padding:9px}.ink-canvas-wrap{background:#fff;border:2px solid #b8d5d2;border-radius:11px;width:100%;overflow:hidden;box-shadow:0 7px 24px #04292a13}.ink-canvas{aspect-ratio:1000/650;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.notes-list{gap:9px;margin-top:15px;display:grid}.note-list-item{border:1px solid var(--line);color:var(--ink);background:#fbfdfd;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;font-size:13px;display:flex}.note-list-item:hover{border-color:var(--accent)}.schedule-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:15px;margin-top:18px;display:grid}.schedule-card{border:1px solid var(--line);background:#fafdfe;border-radius:13px;padding:18px}.schedule-card h3{margin:12px 0 5px;font-size:17px}.schedule-card-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.quick-actions{flex-wrap:wrap;gap:9px;margin-top:15px;display:flex}.quick-actions .button{min-height:35px;padding:7px 10px}@media (max-width:800px){.brand-logo-frame{width:108px;min-height:78px}.brand-logo{width:96px}.ink-toolbar .button{flex:1}}html,body{max-width:100%;overflow-x:clip}.app-shell{grid-template-columns:250px minmax(0,1fr);width:100%;min-width:0}.app-shell.sidebar-collapsed{grid-template-columns:78px minmax(0,1fr)}.main-content,.panel,.stat-card,.analytics-panel{min-width:0}.main-content{max-width:none;padding:30px clamp(14px,3vw,42px)}.app-shell.sidebar-collapsed .brand-logo-frame,.app-shell.sidebar-collapsed .brand-caption,.app-shell.sidebar-collapsed .nav-label,.app-shell.sidebar-collapsed .sidebar-bottom small{display:none}.sidebar-title-row{justify-content:space-between;align-items:flex-start;gap:2px;display:flex}.sidebar-title-row .brand{min-width:0}.sidebar-toggle{color:#fff;background:#ffffff24;border:1px solid #ffffff30;border-radius:9px;flex-shrink:0;margin-top:4px;padding:8px 9px;font-size:17px}.sidebar-toggle:hover{background:#ffffff3a}.nav-links a{gap:9px;min-width:0;overflow:hidden}.nav-icon{text-align:center;min-width:20px;display:inline-block}.app-shell.sidebar-collapsed .nav-links a{justify-content:center;padding:12px 4px}.app-shell.sidebar-collapsed .sidebar-bottom{padding:8px 2px 0}.app-shell.sidebar-collapsed .sidebar-bottom .nav-signout{overflow-wrap:anywhere;font-size:11px}.sidebar-bottom .nav-signout{min-width:0}.page-header{flex-wrap:wrap;min-width:0}.table-wrap{overscroll-behavior-x:contain;width:100%;max-width:100%;overflow-x:auto}.stat-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.analytics-grid .panel{margin-bottom:0}.bar-chart{gap:13px;margin-top:18px;display:grid}.bar-row{grid-template-columns:minmax(85px,135px) minmax(0,1fr) 37px;align-items:center;gap:8px;font-size:12px;display:grid}.bar-label{white-space:normal;overflow-wrap:anywhere;color:#385553}.bar-track{background:#eaf3f1;border-radius:8px;height:15px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#01696e,#0199a1);border-radius:8px;height:100%}.bar-value{text-align:right;font-variant-numeric:tabular-nums}.year-picker{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.year-picker select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.ink-editor-expanded{z-index:120;background:var(--bg);overscroll-behavior:contain;padding:14px;position:fixed;inset:0;overflow-y:auto}.ink-editor-expanded .ink-canvas-wrap{max-width:min(95vw,960px);margin:auto}.ink-editor-expanded .panel{max-width:1100px;margin:0 auto}.ink-canvas-wrap{max-width:100%}.ink-canvas{aspect-ratio:auto;touch-action:none;width:100%;height:auto}.ink-editor-expanded .ink-toolbar{background:var(--white);z-index:2;border-bottom:1px solid var(--line);padding:10px;position:sticky;top:0}.ink-page-tools{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 13px;display:flex}.ink-save-message{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}@media (max-width:1200px){.stat-grid-4,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr;display:grid}.sidebar{height:auto;min-height:0;position:relative;top:auto}.sidebar-title-row{align-items:center}.nav-links{flex-wrap:wrap;display:flex;overflow:visible}.app-shell.sidebar-collapsed .nav-links,.app-shell.sidebar-collapsed .sidebar-bottom{display:none}.app-shell.sidebar-collapsed .brand-logo-frame{display:flex}.sidebar-bottom{gap:5px}.main-content{padding:19px 12px}.analytics-grid{grid-template-columns:1fr}.stat-grid,.stat-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header .button{white-space:normal}}@media (max-width:520px){.stat-grid,.stat-grid-4{grid-template-columns:1fr}.bar-row{grid-template-columns:82px minmax(0,1fr) 26px}.panel{padding:15px}}.agenda-panel{padding:20px}.agenda-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.agenda-heading h2{margin:0 0 6px}.agenda-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agenda-controls .button{min-width:39px;min-height:38px;padding:7px 12px}.agenda-month-title{text-transform:capitalize;text-align:center;min-width:165px;font-size:15px}.calendar-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-width:630px;display:grid}.month-weekday{text-align:center;color:#426563;background:#e8f3f1;border-radius:7px;padding:9px 4px;font-size:11px;font-weight:750}.month-empty{background:#f4f8f7;border-radius:10px;min-height:94px}.month-day{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;gap:8px;min-width:0;min-height:94px;padding:9px 7px;display:flex}.month-day:hover{border-color:var(--accent);background:#f0faf8}.month-day.selected{border:2px solid var(--blue);background:#e7f6f4;padding:8px 6px}.month-day.today .month-day-number{background:var(--navy);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.month-day-number{font-size:13px;font-weight:750}.month-day-count{color:var(--blue);font-size:11px;font-weight:700;display:inline-block}.month-day-preview{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10px;line-height:1.3;display:-webkit-box;overflow:hidden}.agenda-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;display:flex}.agenda-check{align-items:center;gap:8px;font-size:12px;display:flex}.agenda-check input{accent-color:var(--blue)}.agenda-form-wrap>.panel{background:#f7fbfa;margin-bottom:18px}.notes-search{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.notes-search label{flex:1;gap:5px;min-width:230px;font-size:12px;font-weight:700;display:grid}.notes-search input,.notes-filters select{border:1px solid var(--line);min-height:42px;color:var(--ink);font:inherit;background:#fff;border-radius:9px;width:100%;padding:8px 11px}.notes-search>input{flex:2;min-width:170px}.patient-note-index{gap:10px;margin-top:16px;display:grid}.patient-note-card{border:1px solid var(--line);background:#fbfdfd;border-radius:12px;grid-template-columns:minmax(150px,1.1fr) minmax(160px,1fr) auto;align-items:center;gap:14px;padding:15px;display:grid}.patient-note-card:hover{border-color:var(--accent);background:#f0f9f7}.patient-note-card-main{overflow-wrap:anywhere;flex-direction:column;gap:7px;min-width:0;display:flex}.patient-note-card-main strong{font-size:14px}.patient-note-stats{color:#355957;flex-wrap:wrap;align-items:center;gap:9px;font-size:12px;display:flex}.patient-note-stats span{background:#eaf4f2;border-radius:6px;padding:4px 7px}.patient-note-open{color:var(--blue);white-space:nowrap;font-size:12px;font-weight:750}.notes-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.notes-filters label{flex:1;gap:5px;min-width:150px;font-size:12px;font-weight:700;display:grid}.note-record{justify-content:flex-start;gap:15px}.note-record-date{flex:1;min-width:170px;font-weight:600}.note-record-open{color:var(--blue);margin-left:auto;font-size:12px;font-weight:750}.pill-draft{color:#805b10;background:#fff6dd}.page-controls{color:var(--muted);justify-content:center;align-items:center;gap:14px;margin:15px 0 23px;font-size:12px;display:flex}@media (max-width:880px){.patient-note-card{grid-template-columns:1fr;gap:9px}.agenda-panel{padding:14px}.month-grid{min-width:560px}.month-day{min-height:86px}}@media (max-width:520px){.notes-search label,.notes-search input{min-width:100%}.notes-filters label{min-width:130px}.agenda-month-title{min-width:120px}}.calendar-scroll{width:100%;max-width:100%;overflow-x:visible}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(2px,.4vw,5px);width:100%;min-width:0}.month-day,.month-empty{min-width:0;min-height:clamp(56px,8vw,96px)}.month-day{gap:4px;padding:clamp(3px,.55vw,8px);overflow:hidden}.month-day-count{overflow-wrap:anywhere;font-size:clamp(9px,.8vw,11px)}.month-day-preview{overflow-wrap:anywhere;font-size:10px}.month-day.selected{padding:clamp(2px,.45vw,7px)}.analytics-filter{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.analytics-filter label{flex:1;gap:5px;min-width:135px;font-size:12px;font-weight:700;display:grid}.analytics-filter select{border:1px solid var(--line);min-height:42px;color:var(--ink);background:#fff;border-radius:9px;width:100%;padding:8px}.analytics-tabs{flex-wrap:wrap;gap:8px;margin:16px 0 20px;display:flex}.analytics-tab{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:700}.analytics-tab.active{color:#fff;background:var(--navy);border-color:var(--navy)}.analytics-bar-row{grid-template-columns:minmax(80px,112px) minmax(0,1fr) minmax(102px,145px)!important}.analytics-bar-value{text-align:right;white-space:nowrap;font-size:11px!important}.metric-comparison{gap:4px;margin-top:8px;display:grid}.week-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 20px;display:grid}.week-stats>div{background:#edf7f5;border-radius:11px;gap:5px;padding:14px;display:grid}.week-stats span{color:var(--muted);font-size:12px}.week-stats strong{font-size:25px}.week-list{gap:8px;display:grid}.week-item{border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.week-item>div{flex:1;min-width:175px}.week-item strong{font-size:13px}.week-item .button{min-height:35px;padding:8px 10px}.comm-layout{grid-template-columns:1fr 1fr;gap:16px;display:grid}.comm-layout>*{min-width:0}.comm-field{gap:7px;font-size:12px;font-weight:700;display:grid}.comm-field input,.comm-field select,.comm-field textarea{border:1px solid var(--line);width:100%;font:inherit;border-radius:8px;padding:10px}.comm-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f7f6;border-radius:10px;padding:14px;font-size:13px;line-height:1.6}@media (max-width:1050px){.month-day-preview{display:none}.month-day,.month-empty{min-height:65px}.comm-layout{grid-template-columns:1fr}}@media (max-width:800px){.month-grid{min-width:0!important}.agenda-month-title{min-width:0}.month-day{min-height:55px}.month-day-count{font-size:9px}}@media (max-width:520px){.month-grid{gap:2px}.agenda-panel{padding:9px}.month-day,.month-empty{border-radius:7px;min-height:45px}.month-day-number{font-size:12px}.month-day-count{font-size:0;line-height:0}.month-day-count:not(:empty):after{content:"•";color:var(--accent);font-size:14px;line-height:1}.month-day.today .month-day-number{width:22px;height:22px}.month-weekday{padding:6px 1px;font-size:9px}.week-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.week-stats>div{padding:8px}.week-stats span{font-size:10px}.week-stats strong{font-size:20px}.analytics-bar-row{grid-template-columns:66px minmax(0,1fr) 95px!important}.analytics-bar-value{font-size:10px!important}.analytics-filter label{min-width:100px}}.metric-comparison{gap:7px;min-width:0;margin-top:10px;display:grid}.metric-comparison-row{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:7px;min-width:0;display:grid}.metric-comparison-label{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.stat-card .metric-comparison-values{white-space:nowrap;font-variant-numeric:tabular-nums;flex-wrap:nowrap;align-items:baseline;gap:5px;font-size:11px;display:inline-flex}.metric-comparison-values b{color:var(--ink);font-weight:750}.metric-comparison-values small{color:var(--muted);white-space:nowrap;font-size:11px;display:inline}.financial-history-panel{min-width:0}.financial-history-panel .panel-heading{margin-bottom:12px}.financial-history-scroll{overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:10px;max-width:100%;overflow-x:auto}.financial-history-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.financial-history-table{white-space:nowrap;font-variant-numeric:tabular-nums;width:100%;min-width:850px;font-size:12px}.financial-history-table th,.financial-history-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 12px}.financial-history-table tr>:last-child{border-right:0}.financial-history-table thead th{text-align:center;color:var(--navy);background:#e7f3f1;font-weight:750}.financial-history-table thead tr:first-child th{border-bottom:1px solid #c5dcda;font-size:13px}.financial-history-table .history-month-col{z-index:1;text-align:left;background:#fff;min-width:115px;position:sticky;left:0;box-shadow:2px 0 #dce8e7}.financial-history-table thead .history-month-col{z-index:3;background:#e7f3f1}.financial-history-table tbody tr:nth-child(2n) td,.financial-history-table tbody tr:nth-child(2n) .history-month-col{background:#f7fbfa}.financial-history-table tbody tr:hover td,.financial-history-table tbody tr:hover .history-month-col{background:#eff9f7}.financial-history-table .history-money,.financial-history-table .history-tariff{text-align:right}.financial-history-table .history-money{color:var(--navy);font-weight:700}.financial-history-table .history-tariff{color:#315e5c}.financial-history-table tfoot td,.financial-history-table tfoot th{border-top:2px solid var(--blue);color:var(--navy);border-bottom:0;font-weight:800;background:#dbefeb!important}.financial-history-table tfoot .history-month-col{z-index:2}@media (max-width:800px){.financial-history-table{min-width:820px}.financial-history-table th,.financial-history-table td{padding:10px 9px}.financial-history-panel{padding:14px}}.financial-history-panel{container-type:inline-size}.financial-history-scroll{max-width:100%;overflow-x:auto}.financial-history-table{table-layout:fixed;white-space:nowrap;font-variant-numeric:tabular-nums;width:100%;min-width:0;font-size:11px}.financial-history-table col.financial-history-month-width{width:13.5%}.financial-history-table th,.financial-history-table td{letter-spacing:-.1px;min-width:0;padding:8px 4px}.financial-history-table .history-month-col{width:auto;min-width:0;padding-left:8px}.financial-history-table thead tr:first-child th{font-size:12px}.financial-history-table .history-money,.financial-history-table .history-tariff{font-size:clamp(10px,.75vw + 5px,11px)}.financial-history-mobile{display:none}.financial-history-year-selector{flex-wrap:nowrap;gap:6px;margin-bottom:12px;display:flex}.financial-history-year-selector button{border:1px solid var(--line);min-height:39px;color:var(--navy);font:inherit;background:#fff;border-radius:8px;flex:1;font-size:13px;font-weight:700}.financial-history-year-selector button.active{background:var(--navy);border-color:var(--navy);color:#fff}.financial-history-year-selector button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@container (max-width:600px){.financial-history-desktop{display:none}.financial-history-mobile{display:block}.financial-history-one-year{font-size:12px}.financial-history-one-year th,.financial-history-one-year td{padding:11px 7px}.financial-history-one-year .history-month-col{width:28%;padding-left:10px}.financial-history-one-year .history-money,.financial-history-one-year .history-tariff{font-size:12px}}.supertenant-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.supertenant-metrics .stat-card{min-height:96px;padding:13px 15px;box-shadow:0 1px 5px #233a5606}.supertenant-metrics .stat-card strong{margin:7px 0 2px;font-size:clamp(22px,2.1vw,28px);line-height:1.12}.supertenant-metrics .stat-card span{font-size:11px;line-height:1.35}.supertenant-metrics .stat-card small{font-size:10px;line-height:1.35}@media (max-width:970px){.supertenant-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.supertenant-metrics{grid-template-columns:1fr}}input[type=number][step="0.01"]{appearance:textfield}input[type=number][step="0.01"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][step="0.01"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.psiziel-release-footer{color:#637979;text-align:center;background:#f6faf9;border-top:1px solid #e0e9e7;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 8px;padding:12px 14px;font:500 11px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;display:flex}.psiziel-release-footer strong{color:#184548;font-weight:700}.psiziel-release-footer code{color:#4b6465;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}@media (max-width:640px){.psiziel-release-footer{gap:4px 6px;padding:10px 8px;font-size:10px}}
:root{--navy:#194e78;--blue:#1e5a8a;--teal:#2e9ca6;--accent:#278eab;--ink:#19364f;--muted:#61768a;--line:#dce7ef;--bg:#f2f7fb;--white:#fff;--green:#18624d;--red:#b42332;--border:#dce7ef;--surface:#fff;--surface-secondary:#f3f8fc;--ps-shadow:0 2px 12px #17496e0d}html,body{background:var(--bg);color:var(--ink)}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:where(button,a,input,select,textarea,summary):focus-visible{outline-offset:2px;outline:3px solid #2e9ca6ad}.app-shell{background:var(--bg);grid-template-columns:230px minmax(0,1fr)}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.app-shell .sidebar{color:#234b6b;border-right:1px solid var(--line);background:#f9fcfe;padding:15px 12px;box-shadow:2px 0 12px #11426708}.app-shell .sidebar-title-row{border-bottom:1px solid #e4edf4;align-items:center;gap:6px;margin-bottom:13px;padding:2px 4px 16px;display:flex}.app-shell .brand{color:#153754;flex-direction:row;align-items:center;gap:9px;min-width:0;padding:7px 2px;display:flex}.app-shell .brand-symbol{color:#279aa9;flex:0 0 35px;place-items:center;display:grid}.app-shell .psiziel-mark{width:34px;height:34px;display:block}.app-shell .brand-text{gap:1px;min-width:0;display:grid}.app-shell .brand-text strong{letter-spacing:-.9px;font-size:22px;font-weight:800;line-height:1;display:block}.app-shell .brand-text small{white-space:nowrap;letter-spacing:.7px;color:#6b879d;font-size:7px;font-weight:750;display:block}.app-shell .sidebar-toggle{color:#356483;background:#eef5f9;border:1px solid #dce9f2;border-radius:9px;min-width:34px;margin-top:0;padding:7px 8px;font-size:17px}.app-shell .sidebar-toggle:hover{color:#154e7a;background:#e1eff8}.app-shell .nav-links{gap:3px;display:grid}.app-shell .nav-links a{color:#375b7b;border-radius:9px;align-items:center;gap:11px;min-height:42px;padding:10px 11px;font-size:13px;font-weight:570;transition:background .15s,color .15s;display:flex}.app-shell .nav-links a:hover{color:#155b89;background:#ecf5fb}.app-shell .nav-links a[aria-current=page]{color:#125f91;background:#dceffa;font-weight:750;box-shadow:inset 3px 0 #2e9ca6}.app-shell .nav-icon{flex:0 0 19px;place-items:center;min-width:19px;line-height:1;display:grid}.app-shell .nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;display:block}.app-shell .nav-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-shell .sidebar-bottom{border-top:1px solid #e3edf4;gap:9px;padding:14px 5px 4px}.app-shell .sidebar-bottom small{color:#668398;font-size:11px}.app-shell .nav-signout{color:#285b7e;text-align:center;background:#fff;border:1px solid #d8e7f0;border-radius:9px;min-height:38px;font-size:12px;font-weight:650}.app-shell .nav-signout:hover{background:#edf7fc}.app-shell.sidebar-collapsed .brand-text{display:none}.app-shell.sidebar-collapsed .brand{justify-content:center;padding:7px 0}.app-shell.sidebar-collapsed .sidebar-title-row{flex-wrap:wrap;justify-content:center}.app-shell.sidebar-collapsed .nav-links a{box-shadow:none;justify-content:center;padding:11px 5px}.app-shell.sidebar-collapsed .nav-links a[aria-current=page]{box-shadow:inset 3px 0 #2e9ca6}.app-shell.sidebar-collapsed .nav-signout{padding:8px 2px;font-size:10px}.app-shell .session-identity-bar{min-height:66px;box-shadow:none;background:#fffffff7;border-bottom-color:#dce8f0;padding:9px clamp(15px,2.5vw,34px)}.app-shell .session-identity-brand{color:#2e9ca6;background:#e7f4f7;border:0;border-radius:10px;flex:0 0 43px;width:43px;height:43px}.app-shell .session-identity-brand .psiziel-mark{width:25px;height:25px}.app-shell .session-identity-practice strong,.app-shell .session-identity-user strong{color:#153d5e;font-size:13px}.app-shell .session-identity-eyebrow{color:#778ea3;font-size:9px}.app-shell .session-identity-user small{color:#1e7093}.app-shell .practice-switch{color:var(--ink);background:#fafdff;border-color:#d7e4ef;border-radius:9px}.app-shell .main-content{padding:26px clamp(16px,2.6vw,34px) 35px}.app-shell .page-header{gap:12px;margin-bottom:18px}.app-shell .page-header h1{color:#153b5b;letter-spacing:-.9px;font-size:clamp(24px,2.35vw,30px);font-weight:800;line-height:1.15}.app-shell .eyebrow{color:#237fa0;letter-spacing:1.4px}.app-shell .muted{color:var(--muted);line-height:1.48}.app-shell .panel,.app-shell .stat-card,.app-shell .platform-fold,.app-shell .platform-kpi{border:1px solid var(--line);box-shadow:var(--ps-shadow);background:#fff;border-radius:13px}.app-shell .panel{margin-bottom:15px;padding:19px 21px}.app-shell .panel h2{color:#193e5e;font-size:16px;font-weight:750}.app-shell .panel-heading{margin-bottom:12px}.app-shell .stat-grid,.app-shell .stat-grid-4{gap:10px;margin-bottom:15px}.app-shell .stat-card{min-height:78px;padding:12px 15px}.app-shell .stat-card span,.app-shell .stat-card small{color:#697e92;font-size:11px}.app-shell .stat-card strong{color:#123a5d;letter-spacing:-.5px;margin:6px 0 3px;font-size:clamp(21px,2vw,25px);line-height:1.14}.app-shell .consultorio-kpis .stat-card,.app-shell .patient-stats .stat-card{min-height:75px;padding:12px 15px}.app-shell .consultorio-kpis .stat-card strong,.app-shell .patient-stats .stat-card strong{font-size:23px}.app-shell .supertenant-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px}.app-shell .supertenant-metrics .stat-card{min-height:73px;padding:11px 13px}.app-shell .supertenant-metrics .stat-card strong{margin:3px 0;font-size:22px}.app-shell .platform-kpi-strip{gap:9px}.app-shell .platform-kpi{padding:10px 13px}.app-shell .platform-kpi strong{font-size:22px}.app-shell .button{border-radius:9px;min-height:38px;padding:8px 13px;font-size:12px;font-weight:700;transition:background .15s,border-color .15s,color .15s}.app-shell .button.primary{color:#fff;background:#1e5a8a;border-color:#1e5a8a}.app-shell .button.primary:hover{color:#fff;background:#144b77;border-color:#144b77}.app-shell .button.secondary{color:#27577b;background:#fff;border:1px solid #d8e6f0}.app-shell .button.secondary:hover{background:#eef7fc;border-color:#bed8e8}.app-shell .text-link{color:#1b6994}.app-shell .text-link:hover{text-decoration:underline}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=range]),.app-shell select,.app-shell textarea{color:#183b57;background-color:#fff;border-color:#cfdde9;border-radius:9px}.app-shell input:not([type=checkbox]):not([type=radio]):focus-visible,.app-shell select:focus-visible,.app-shell textarea:focus-visible{border-color:#2e9ca6;outline:none;box-shadow:0 0 0 3px #2e9ca626}.app-shell input[type=checkbox],.app-shell input[type=radio]{accent-color:#1e709c}.app-shell .form-stack{gap:13px}.app-shell .form-stack label{color:#38556d;font-size:12px}.app-shell .form-actions{gap:8px}.app-shell .empty-state{color:#6b8193}.app-shell table th{color:#416881;background:#eaf3f9;font-size:11px}.app-shell table td{color:#29455d}.app-shell table td,.app-shell table th{border-bottom-color:#e0eaf1}.app-shell .table-wrap{border-radius:9px}.app-shell .rfi-patient-table td,.app-shell .rfi-patient-table th{padding:9px 8px}.app-shell .financial-history-table thead th,.app-shell .financial-history-table thead .history-month-col{color:#234f71;background:#e7f1f8}.app-shell .financial-history-table tbody tr:nth-child(2n) td,.app-shell .financial-history-table tbody tr:nth-child(2n) .history-month-col{background:#f6fafc}.app-shell .financial-history-table tbody tr:hover td,.app-shell .financial-history-table tbody tr:hover .history-month-col{background:#eaf5fb}.app-shell .financial-history-table tfoot th,.app-shell .financial-history-table tfoot td{border-top-color:#2e9ca6;background:#e2eef7!important}.app-shell .financial-history-table .history-sessions{text-align:right;font-variant-numeric:tabular-nums}.app-shell .financial-history-year-selector button.active{background:#1e5a8a;border-color:#1e5a8a}.app-shell .analytics-tab{color:#355b77;border-color:#d8e7f0}.app-shell .analytics-tab.active,.app-shell .rfi-notes-tabs button[aria-selected=true]{color:#fff;background:#1e5a8a;border-color:#1e5a8a}.app-shell .bar-fill{background:linear-gradient(90deg,#1e75a9,#2e9ca6)}.app-shell .bar-track{background:#e7f0f7}.app-shell .month-weekday{color:#47718d;background:#e7f2f9;border-radius:8px}.app-shell .month-day{background:#fff;border-color:#dce8f0;border-radius:9px}.app-shell .month-empty{background:#f2f7fb;border-radius:9px}.app-shell .month-day:hover{background:#f0f9fc;border-color:#7dc5d0}.app-shell .month-day.selected{background:#e5f3fb;border-color:#268bab}.app-shell .month-day.today .month-day-number{color:#fff;background:#1e5a8a}.app-shell .schedule-card{background:#fafdff;border-color:#dce8f0;padding:13px}.app-shell .week-stats>div{background:#edf5fb}.app-shell .consultorio-agenda-item{border-color:#e0eaf1}.app-shell .agenda-form-wrap>.panel{background:#f8fbfe}.app-shell .payment-badge.is-paid{color:#146047;background:#e6f6ee}.app-shell .payment-badge.is-pending,.app-shell .pill-draft{color:#805515;background:#fff3d8}.app-shell .payment-badge.is-partial{color:#8b4d16;background:#fff0df}.app-shell .payment-badge.is-unknown{color:#4e6579;background:#eaf1f7}.app-shell .status-pill{color:#2b6190;background:#e8f1ff}.app-shell .notice{color:#806021;background:#fff9eb;border-color:#f1e2bd}.app-shell .fine-print{color:#728697}.app-shell .rfi-accordions details,.app-shell .rfi-settings-details details,.app-shell .rfi-billing details,.app-shell .rfi-team-member,.app-shell .platform-fold,.app-shell .billing-adjustments{border-color:#dce7ef;border-radius:12px}.app-shell .rfi-accordions summary,.app-shell .rfi-settings-details summary,.app-shell .rfi-billing summary,.app-shell .rfi-team-member>summary,.app-shell .platform-fold-toggle,.app-shell .billing-adjustments>summary{color:#234963}.app-shell details>summary:hover{color:#12658c}.app-shell .rfi-search-results{border-color:#dce7ef}.app-shell .rfi-search-results button:hover{background:#eaf6fc}.app-shell .patient-note-card{background:#fbfdff;border-color:#dce7ef}.app-shell .patient-note-card:hover{background:#f0f8fd;border-color:#a6cadc}.app-shell .patient-note-stats span{color:#44687e;background:#e8f2f9}.app-shell .comm-preview{background:#eef6fb}.app-shell .rfi-note-savebar{background:#fff;border-color:#dce7ef;box-shadow:0 5px 16px #17496e14}.app-shell .platform-fold-toggle:hover{background:#f0f7fb}.app-shell .platform-fold-body{border-top-color:var(--line)}.app-shell .team-member,.app-shell .rfi-team-member,.app-shell .team-permissions{border-color:#dce7ef}.app-shell .psiziel-release-footer{background:#f8fbfe}.psiziel-release-footer{color:#6c8194;background:#f8fbfe;border-top-color:#e1eaf2}.psiziel-release-footer strong{color:#1e5a8a}.psiziel-release-footer code{color:#577187}@media (max-width:1100px) and (min-width:801px){.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}}@media (max-width:980px){.app-shell .supertenant-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .supertenant-metrics .stat-card{min-height:70px;padding:10px 11px}.app-shell .supertenant-metrics .stat-card strong{font-size:21px}}@media (max-width:800px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.app-shell .sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;min-height:0;padding:10px 13px;position:relative;top:auto}.app-shell .sidebar-title-row{flex-wrap:nowrap;justify-content:space-between;margin-bottom:5px;padding:0 1px 9px}.app-shell .brand{padding:2px 0}.app-shell .nav-links{flex-wrap:wrap;gap:5px;display:flex}.app-shell .nav-links a{min-height:38px;padding:9px 11px}.app-shell .sidebar-bottom{justify-content:space-between;padding:8px 1px 0;display:flex}.app-shell .main-content{padding:17px 13px 26px}.app-shell .supertenant-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:620px){.app-shell .session-identity-bar{gap:8px;min-height:58px;padding:8px 10px}.app-shell .session-identity-brand{flex-basis:36px;width:36px;height:36px}.app-shell .session-identity-practice strong,.app-shell .session-identity-user strong{font-size:11px}.app-shell .brand-text strong{font-size:20px}.app-shell .panel{padding:15px}.app-shell .stat-card{padding:11px}.app-shell .page-header h1{font-size:24px}.app-shell .supertenant-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .nav-links a{font-size:12px}}@media (max-width:380px){.app-shell .brand-text small{font-size:6px}.app-shell .nav-links a{padding:8px}}@media (prefers-reduced-motion:reduce){.app-shell .nav-links a,.app-shell .button{transition:none}}.app-shell .status-pill.pill-draft{color:#805515;background:#fff3d8}.login-page{background:radial-gradient(circle at 10% 10%,#e3f0f8,#0000 44%),linear-gradient(145deg,#edf5fa,#f9fcfe)}.login-card{border-color:#dce7ef;border-radius:16px;box-shadow:0 12px 36px #1a507417}.login-card h1{color:#194e78}.login-card .button.primary{color:#fff;background:#1e5a8a}.app-shell .sidebar .brand{flex:auto;align-items:center;min-width:0;min-height:59px;position:relative}.app-shell .sidebar .brand:before{content:"";background:url(/psiziel-brand-lockup.png) 0/contain no-repeat;flex:0 169px;width:min(100%,169px);height:50px;display:block}.app-shell .sidebar .brand>.brand-symbol,.app-shell .sidebar .brand>.brand-logo-frame{display:none!important}.app-shell .sidebar .brand>.brand-text,.app-shell .sidebar .brand>.brand-caption{clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;position:absolute!important;overflow:hidden!important}.app-shell.sidebar-collapsed .sidebar .brand{justify-content:center;min-height:48px;padding:6px 0}.app-shell.sidebar-collapsed .sidebar .brand:before{background-image:url(/psiziel-brand-symbol.png);background-position:50%;flex:0 0 39px;width:39px;height:39px}.app-shell .session-identity-brand>svg,.app-shell .session-identity-brand>img{display:none!important}.app-shell .session-identity-brand:before{content:"";background:url(/psiziel-brand-symbol.png) 50%/contain no-repeat;width:33px;height:33px;display:block}.login-brand-wrap{justify-content:center;align-items:center;min-height:86px;display:flex;position:relative}.login-brand-wrap:before{content:"";background:url(/psiziel-brand-lockup.png) 50%/contain no-repeat;width:min(100%,285px);height:77px;display:block}.login-brand-wrap>.login-logo,.login-brand-wrap>img{display:none!important}@media (max-width:800px){.app-shell .sidebar .brand:before{width:min(100%,160px);height:46px}.app-shell.sidebar-collapsed .sidebar .brand:before{background-image:url(/psiziel-brand-lockup.png);flex:0 150px;width:min(100%,150px);height:46px}}
.mobile-nav-toggle{display:none!important}.psiziel-demo-note{color:#657b8d;text-align:center;margin:24px 0 0;font-size:11px;line-height:1.5}.psiziel-inline-help{color:#315b75;margin:8px 0 14px;font-size:13px}.psiziel-inline-help summary{cursor:pointer;font-weight:650}.app-shell .session-identity-bar{isolation:isolate;background:#fff}.app-shell .main-content,.app-shell .main-content :where(section,article,form,fieldset,details,dialog){min-width:0;max-width:100%}.app-shell .main-content :where(img,video){max-width:100%}.app-shell .main-content :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%}.app-shell .main-content :where(.table-wrap,.financial-history-scroll,.rfi-history-table-wrap,.calendar-scroll){overscroll-behavior-x:contain;min-width:0;max-width:100%;overflow-x:auto}.app-shell .notice[role=status]{color:#315b75;background:#eff6fa;border-color:#d6e6ef}.app-shell .notice[role=alert]{overflow-wrap:anywhere}.app-shell .main-content [id]{scroll-margin-top:85px}@media (max-width:800px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;display:grid}.app-shell .sidebar{background:#fff;width:100%;min-width:0;max-width:100%;height:auto;min-height:0;padding:6px 12px;position:relative;top:auto;overflow:visible}.app-shell .sidebar .sidebar-title-row{flex-wrap:nowrap;justify-content:space-between;align-items:center;min-width:0;margin:0;padding:0}.app-shell .sidebar .brand{justify-content:flex-start;min-width:0;min-height:46px;padding:0}.app-shell .sidebar .brand:before{flex:0 150px;width:150px;height:42px}.app-shell .desktop-nav-toggle{display:none!important}.app-shell .mobile-nav-toggle{color:#1e5a8a;justify-content:center;align-items:center;min-width:44px;min-height:44px;margin:0;display:inline-flex!important}.app-shell:not(.mobile-nav-open) .sidebar .nav-links,.app-shell:not(.mobile-nav-open) .sidebar .sidebar-bottom{display:none!important}.app-shell.mobile-nav-open .sidebar .nav-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0;overflow:visible;display:grid!important}.app-shell.mobile-nav-open .sidebar .nav-links a{white-space:normal;justify-content:flex-start;gap:7px;min-width:0;min-height:44px;padding:8px;display:flex}.app-shell.mobile-nav-open .sidebar .nav-label{white-space:normal;overflow-wrap:anywhere;display:block!important}.app-shell.mobile-nav-open .sidebar .sidebar-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex!important}.app-shell.mobile-nav-open .sidebar .sidebar-bottom small{overflow-wrap:anywhere;min-width:0;display:block!important}.app-shell .session-workspace{width:100%;min-width:0;max-width:100%}.app-shell .session-identity-bar{background:#fff;gap:8px;max-width:100%;min-height:0;padding:8px 10px;position:relative;top:auto}.app-shell .session-identity-practice{flex:1 1 0;min-width:0}.app-shell .session-identity-user{overflow-wrap:anywhere;flex:0 34%;min-width:0}.app-shell .session-identity-eyebrow{letter-spacing:.4px;font-size:8px}.app-shell .session-identity-user strong,.app-shell .session-identity-practice strong{text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.app-shell .main-content{width:100%;min-width:0;max-width:100%;margin:0;padding:14px 12px 22px}.app-shell .main-content [id]{scroll-margin-top:12px}.app-shell .main-content .page-header{flex-wrap:wrap;gap:10px;margin-bottom:14px}.app-shell .main-content .page-header h1{overflow-wrap:anywhere;font-size:clamp(22px,5.8vw,28px);line-height:1.2}.app-shell .main-content .panel{min-width:0;max-width:100%;margin-bottom:13px;padding:13px}.app-shell .main-content .panel-heading,.app-shell .main-content .quick-actions,.app-shell .main-content .form-actions{flex-wrap:wrap;gap:8px;min-width:0}.app-shell .main-content .button{white-space:normal;text-align:center;overflow-wrap:anywhere;max-width:100%;min-height:44px}.app-shell .main-content .form-actions>.button{flex:120px}.app-shell .main-content .form-stack,.app-shell .main-content .form-stack label,.app-shell .main-content .two-cols>*{min-width:0}.app-shell .main-content .two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .main-content .analytics-grid,.app-shell .main-content .stat-grid,.app-shell .main-content .stat-grid-4{grid-template-columns:minmax(0,1fr);gap:9px;min-width:0}.app-shell .main-content .stat-card{min-width:0;min-height:0;padding:12px}.app-shell .main-content .stat-card>strong{overflow-wrap:anywhere;margin:4px 0;font-size:clamp(21px,5.5vw,27px);line-height:1.2}.app-shell .main-content .stat-card span,.app-shell .main-content .stat-card small{overflow-wrap:anywhere}.app-shell .main-content .metric-comparison-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.app-shell .main-content .metric-comparison-values{white-space:normal;text-align:right;flex-wrap:wrap;justify-content:flex-end}.app-shell .main-content .analytics-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.app-shell .main-content .analytics-filter label{min-width:0;max-width:100%}.app-shell .main-content .analytics-filter .button{align-self:end;width:100%}.app-shell .main-content .analytics-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 15px;display:grid}.app-shell .main-content .analytics-tabs>*{text-align:center;min-width:0;max-width:100%}.app-shell .main-content .analytics-bar-row{gap:6px;min-width:0;grid-template-columns:minmax(60px,.9fr) minmax(0,1fr) minmax(72px,auto)!important}.app-shell .main-content .analytics-bar-row>*{overflow-wrap:anywhere;min-width:0}.app-shell .main-content .analytics-bar-value{white-space:normal;text-align:right}.app-shell .main-content .financial-history-scroll{max-width:100%;overflow-x:auto}.app-shell .main-content .financial-history-desktop .financial-history-table{table-layout:auto;min-width:760px}.app-shell .main-content .billing-workspace,.app-shell .main-content .billing-board,.app-shell .main-content .billing-main-panel{gap:12px;min-width:0;max-width:100%}.app-shell .main-content .billing-main-nav{grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;padding:6px;display:grid;overflow:visible}.app-shell .main-content .billing-main-tab{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%;min-height:44px;padding:8px 10px}.app-shell .main-content .billing-main-tab small{white-space:normal;font-size:11px}.app-shell .main-content .billing-cards,.app-shell .main-content .billing-cards-six,.app-shell .main-content .billing-cards-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .main-content .billing-cards .stat-card strong{overflow-wrap:anywhere;font-size:clamp(18px,4.7vw,24px)}.app-shell .main-content .billing-period-controls,.app-shell .main-content .billing-filters{grid-template-columns:minmax(0,1fr)}.app-shell .main-content .billing-item,.app-shell .main-content .billing-item-main,.app-shell .main-content .billing-item-amount{min-width:0;max-width:100%}.app-shell .main-content .billing-item-amount{overflow-wrap:anywhere;flex-shrink:1}.app-shell .main-content .billing-tabs>*{white-space:normal;flex:100px;min-width:0}.app-shell .main-content .consultorio-agenda-item{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.app-shell .main-content .consultorio-agenda-main{overflow-wrap:anywhere;grid-column:1/-1;min-width:0}.app-shell .main-content .consultorio-agenda-tags{flex-wrap:wrap;grid-column:1;gap:4px;min-width:0}.app-shell .main-content .consultorio-agenda-item>.button{justify-self:end;max-width:100%}.app-shell .main-content .agenda-heading{flex-wrap:wrap;align-items:start;gap:8px}.app-shell .main-content .agenda-controls{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;max-width:100%;display:flex}.app-shell .main-content .agenda-controls .button{min-width:36px;min-height:40px;padding:5px 8px}.app-shell .main-content .agenda-month-title{white-space:normal;min-width:0;font-size:14px}.app-shell .main-content .agenda-panel{padding:10px}.app-shell .main-content .month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;max-width:100%;min-width:0!important}.app-shell .main-content .month-day,.app-shell .main-content .month-empty{border-radius:6px;min-width:0;min-height:52px;padding:3px}.app-shell .main-content .month-weekday{min-width:0;padding:5px 0;font-size:10px}.app-shell .main-content .month-day-count{white-space:normal;overflow-wrap:normal;max-width:100%;font-size:9px!important;line-height:1.15!important;display:block!important}.app-shell .main-content .month-day-count:after{content:none!important;display:none!important}.app-shell .main-content .month-day-preview{display:none}.app-shell .main-content .month-block-label{overflow-wrap:anywhere;font-size:8px!important}.app-shell .main-content .schedule-grid{grid-template-columns:minmax(0,1fr);gap:9px}.app-shell .main-content .schedule-card .quick-actions .button{min-height:44px}.app-shell .main-content .rfi-settings-details details{min-width:0;max-width:100%;padding:12px 10px}.app-shell .main-content .rfi-note-savebar{background:#fff;flex-wrap:wrap;gap:7px;min-width:0;max-width:100%;padding:8px;position:sticky;bottom:0}.app-shell .main-content .rfi-note-savebar .button{flex:110px}.app-shell .main-content .ink-canvas-wrap{max-width:100%}.app-shell .main-content input:not([type=checkbox]):not([type=radio]):not([type=range]),.app-shell .main-content textarea,.app-shell .main-content select,.pg-layout input:not([type=checkbox]):not([type=radio]),.pg-layout textarea,.pg-layout select,.login-card input{font-size:16px}.pg-layout{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)!important}.pg-layout>*{min-width:0;max-width:100%}.pg-layout .button{white-space:normal;max-width:100%;min-height:44px}}@media (max-width:420px){.app-shell .main-content .two-cols{grid-template-columns:minmax(0,1fr)}.app-shell .main-content .billing-cards .stat-card{padding:10px}.app-shell .main-content .month-grid{gap:2px}.app-shell .main-content .month-day,.app-shell .main-content .month-empty{min-height:50px;padding:2px}.app-shell .main-content .month-day-count{font-size:8px!important}.app-shell .main-content .month-weekday{font-size:9px}}@media (max-width:340px){.app-shell .main-content .billing-cards{grid-template-columns:minmax(0,1fr)}.app-shell .main-content{padding-left:8px;padding-right:8px}}.app-shell .main-content .month-grid .month-day .month-day-count{font-weight:700;color:#087c83!important}@media (max-width:800px){.app-shell .main-content .schedule-grid.agenda-cards-compact{grid-template-columns:minmax(0,1fr);align-items:start}.app-shell .main-content .agenda-cards-compact .schedule-card{gap:10px;width:100%;min-width:0;height:auto}.app-shell .main-content .agenda-cards-compact .agenda-card-header{grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:start;gap:8px;display:grid}.app-shell .main-content .agenda-card-info,.app-shell .main-content .agenda-card-info>*{overflow-wrap:anywhere;min-width:0;max-width:100%}.app-shell .main-content .agenda-card-status{min-width:0;max-width:100%}.app-shell .main-content .agenda-card-status :is(.payment-badge,.status-pill){white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%}.app-shell .main-content .agenda-cards-compact .schedule-card .quick-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:7px;width:100%;min-width:0;display:grid}.app-shell .main-content .agenda-cards-compact .schedule-card .quick-actions .button{white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;min-width:0;max-width:100%;min-height:44px;line-height:1.3}.app-shell .main-content .consultorio-agenda-item{grid-template-columns:minmax(0,1fr);align-items:start;gap:7px;min-width:0;display:grid}.app-shell .main-content .consultorio-agenda-item>*{grid-column:1/-1;min-width:0;max-width:100%}.app-shell .main-content .consultorio-agenda-main{overflow-wrap:anywhere}.app-shell .main-content .consultorio-agenda-tags{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.app-shell .main-content .consultorio-agenda-tags :is(.status-pill,.payment-badge){white-space:normal;overflow-wrap:anywhere;max-width:100%}.app-shell .main-content .consultorio-agenda-item>.button{white-space:normal;justify-self:start;min-height:44px}}@media (max-width:480px){.app-shell .main-content .agenda-cards-compact .agenda-card-header{grid-template-columns:minmax(0,1fr)}.app-shell .main-content .agenda-cards-compact .agenda-card-status{flex-flow:wrap;justify-content:flex-start;align-items:center;gap:5px;max-width:100%}.app-shell .main-content .agenda-cards-compact .agenda-card-time{font-size:1.3rem;line-height:1.2}.app-shell .main-content .agenda-cards-compact .schedule-card .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .main-content .agenda-cards-compact .schedule-card .quick-actions>.button:last-child:nth-child(odd){grid-column:1/-1}}@media (max-width:350px){.app-shell .main-content .agenda-cards-compact .schedule-card .quick-actions{grid-template-columns:minmax(0,1fr)}}.app-shell .main-content .financial-history-mobile .financial-history-scroll{min-width:0;max-width:100%;overflow-x:auto}.app-shell .main-content .financial-history-mobile .financial-history-one-year{table-layout:auto;white-space:normal;width:100%;min-width:0;font-size:12px}.app-shell .main-content .financial-history-mobile .financial-history-one-year :is(th,td){width:auto;min-width:0;font-size:inherit;letter-spacing:normal;vertical-align:middle;padding:9px 4px;line-height:1.35}.app-shell .main-content .financial-history-mobile .financial-history-one-year .history-month-col{z-index:auto;box-shadow:none;text-align:left;white-space:nowrap;width:1%;padding-left:6px;position:static;left:auto}.app-shell .main-content .financial-history-mobile .financial-history-one-year .history-sessions{text-align:right;white-space:nowrap;width:1%}.app-shell .main-content .financial-history-mobile .financial-history-one-year :is(.history-money,.history-tariff){text-align:right;white-space:nowrap}.app-shell .main-content .financial-history-mobile .financial-history-one-year tfoot .history-month-col{white-space:normal}@media (max-width:400px){.app-shell .main-content .financial-history-mobile .financial-history-one-year{font-size:11px}.app-shell .main-content .financial-history-mobile .financial-history-one-year :is(th,td){padding:8px 3px}}
