:root{--bg: #efe7dc;--bg-deep: #e4d6c3;--card: rgba(255, 252, 247, .9);--card-soft: #fbf5ec;--sidebar: #191511;--sidebar-top: #261d16;--line: rgba(129, 95, 48, .16);--line-strong: rgba(129, 95, 48, .3);--text: #241b13;--muted: #776959;--champagne: #bc9155;--champagne-soft: #ecd8bb;--green-accent: #2f6a52;--accent: #2f6a52;--accent-strong: #244f3d;--accent-soft: #dcebe4;--accent-line: rgba(47, 106, 82, .28);--shadow: 0 24px 60px rgba(40, 24, 7, .08);--shadow-soft: 0 14px 34px rgba(40, 24, 7, .06)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;font-size:12px;font-family:Aptos,Trebuchet MS,Segoe UI,sans-serif;background:radial-gradient(circle at top left,rgba(188,145,85,.18),transparent 24%),radial-gradient(circle at right 10%,rgba(47,106,82,.12),transparent 30%),linear-gradient(180deg,#faf6f0 0%,var(--bg) 52%,var(--bg-deep) 100%);color:var(--text);text-transform:uppercase}body{min-height:100vh}button,input,select,textarea,option{font:inherit;text-transform:inherit}input::placeholder,textarea::placeholder{text-transform:uppercase}.shell{position:relative;isolation:isolate;display:grid;grid-template-columns:292px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .22s ease}.shell.sidebar-collapsed{grid-template-columns:77px minmax(0,1fr)}.app-ambient{position:fixed;inset:auto;pointer-events:none;border-radius:999px;filter:blur(18px);opacity:.55;z-index:-1}.app-ambient-one{top:86px;right:8%;width:260px;height:260px;background:radial-gradient(circle,rgba(188,145,85,.26),transparent 68%)}.app-ambient-two{bottom:6%;left:26%;width:340px;height:340px;background:radial-gradient(circle,rgba(47,106,82,.18),transparent 70%)}.shell.agenda-focus .main-area{padding:10px;gap:8px}.shell.agenda-focus .topbar{gap:10px;padding:10px 14px;border-radius:6px}.shell.agenda-focus .topbar-left,.shell.agenda-focus .topbar-right{gap:10px}.shell.agenda-focus .topbar-menu-toggle{width:38px;height:38px}.shell.agenda-focus .page-eyebrow{margin-bottom:2px}.shell.agenda-focus .page-title{font-size:1.45rem}.sidebar{position:sticky;top:0;height:100vh;width:292px;padding:18px 14px;background:radial-gradient(circle at top,rgba(199,170,120,.1),transparent 25%),linear-gradient(180deg,var(--sidebar-top) 0%,var(--sidebar) 100%);box-shadow:inset -1px 0 #ffffff08;display:flex;flex-direction:column;gap:18px;min-height:0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow:hidden;transition:width .22s ease,padding .22s ease}.sidebar-collapsed .sidebar{width:77px;padding-inline:10px;gap:14px}.sidebar-toggle{appearance:none;align-self:flex-end;width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(211,177,112,.28);border-radius:9px;background:#ffffff0a;color:#d8b878;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}.sidebar-toggle:hover,.sidebar-toggle:focus-visible{background:#d3b17024;border-color:#d3b1708c;color:#f3d79f;outline:none}.sidebar-collapsed .sidebar-toggle{align-self:center}.sidebar-overlay-backdrop{position:fixed;inset:0;z-index:34;border:0;background:#13131342;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar.sidebar-floating{position:fixed;top:14px;left:14px;bottom:14px;height:auto;width:278px;z-index:40;border-radius:10px;box-shadow:0 24px 60px #0b0a0852;transform:translate(calc(-100% - 24px));transition:transform .22s ease,opacity .22s ease;opacity:0}.sidebar.sidebar-floating.open{transform:translate(0);opacity:1}.brand-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:18px;border-radius:8px;background:linear-gradient(180deg,#ffffff14,#ffffff05),#ffffff05;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px #ffffff14,0 18px 35px #00000040;min-height:0}.sidebar-collapsed .brand-card{align-items:center;padding:9px 6px;gap:0}.sidebar-collapsed .brand-logo-wrap{width:43px;min-height:43px;padding:7px 4px}.sidebar-collapsed .brand-logo{width:37px}.sidebar-collapsed .brand-title,.sidebar-collapsed .sidebar-section-title,.sidebar-collapsed .menu-label,.sidebar-collapsed .sidebar-user-info,.sidebar-collapsed .sidebar-action-label{display:none}.brand-logo-wrap{display:flex;align-items:center;justify-content:center;width:148px;min-height:74px;padding:10px 14px;border-radius:6px;background:#f8f3eb;box-shadow:inset 0 0 0 1px #bc91552e}.brand-logo{width:124px;height:auto;object-fit:contain;display:block}.brand-title{font-size:1.75rem;font-weight:800;letter-spacing:-.04em;color:#fff}.sidebar-section-title{padding:4px 4px 0;color:#f3efe8;font-size:1.18rem;font-weight:700;letter-spacing:-.03em}.menu-list{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:4px}.sidebar-user-footer{margin-top:auto;display:grid;gap:8px}.sidebar-user-card{display:grid;grid-template-columns:38px 1fr;gap:8px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;border-radius:8px}.sidebar-collapsed .sidebar-user-card{display:flex;justify-content:center;padding:7px}.sidebar-user-avatar{width:38px;height:38px;display:grid;place-items:center;background:#c7aa782e;color:#fff;border-radius:999px;font-weight:800}.sidebar-user-info{display:grid;gap:2px}.sidebar-user-info span{color:#ffffff9e}.sidebar-user-info strong{color:#fff}.sidebar-logout{justify-content:center;gap:8px}.sidebar-collapsed .sidebar-logout{width:100%;min-width:0;min-height:40px;padding:9px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);display:grid;gap:18px;padding:28px;background:#fff;border:1px solid var(--line-soft);box-shadow:0 18px 36px #1f1a1414}.login-copy{display:grid;gap:6px}.login-field{display:grid;gap:8px}.login-field span{color:var(--text-muted)}.login-hint{color:var(--muted)}.login-error{color:#a33d3d;font-weight:700}.menu-item{appearance:none;border:0;background:transparent;color:#ffffffc7;border-radius:8px;padding:13px 14px;display:flex;align-items:center;gap:14px;text-align:left;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.sidebar-collapsed .menu-list{padding-right:0}.sidebar-collapsed .menu-item{width:100%;min-height:48px;justify-content:center;padding:12px;gap:0}.sidebar-collapsed .menu-item:hover{transform:none}.menu-item:hover{background:#ffffff0f;color:#fff;transform:translate(2px)}.menu-item.active{background:linear-gradient(180deg,#ead8b8,#d7bd90);color:#2a241b;box-shadow:0 12px 24px #c7aa7838}.menu-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px}.menu-icon svg{display:block;flex:0 0 auto}.menu-label{font-size:.96rem;font-weight:600;letter-spacing:-.01em}.user-mini-card{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:8px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08)}.user-mini-avatar,.header-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#ead8b8,#c7aa78);color:#2a241b;font-weight:800}.user-mini-name{color:#fff;font-weight:700}.user-mini-role{color:#ffffffa8;font-size:.9rem}.main-area{min-width:0;padding:18px;display:flex;flex-direction:column;gap:16px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-radius:8px;background:linear-gradient(135deg,#ffffffe6,#faf3e8d1),#ffffffc2;border:1px solid rgba(255,255,255,.8);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}.checklist-topbar-button{white-space:nowrap}.topbar-menu-toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;border-radius:6px;border:1px solid var(--line);background:#ffffffd6;color:var(--text);box-shadow:var(--shadow-soft);cursor:pointer}.page-eyebrow,.panel-kicker{display:block;font-size:.76rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin-bottom:6px}.page-title{margin:0;font-size:2rem;line-height:1;letter-spacing:-.05em}.patient-directory{display:grid;gap:16px}.patient-directory-floating{position:fixed;top:108px;right:248px;width:460px;z-index:25;gap:8px;pointer-events:none}.patient-list-table{display:grid;gap:8px}.patient-search-dropdown{display:grid;gap:8px;max-height:320px;overflow:auto;padding:8px;border:1px solid rgba(188,145,85,.14);border-radius:8px;background:#fff;box-shadow:0 16px 32px #49311114;pointer-events:auto}.search-actions-patients{justify-content:flex-end;align-items:center}.patient-directory-floating .patient-search-dropdown{max-height:360px}.patient-search-empty{display:grid;gap:6px;padding:18px 2px 2px}.patient-search-empty strong{font-size:1rem;letter-spacing:-.02em}.patient-search-empty span{color:var(--muted);font-size:.95rem}.patient-list-row{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(150px,.8fr) minmax(220px,1fr) minmax(140px,.7fr);gap:16px;align-items:center;width:100%;padding:16px 18px;border-radius:8px;border:1px solid rgba(188,145,85,.12);background:#ffffffc7;text-align:left;color:var(--text);transition:border-color .18s ease,background .18s ease,transform .18s ease}.patient-list-row:hover{transform:translateY(-1px);border-color:#bc915552;background:#fffffff5}.patient-list-row.active{border-color:#bc915573;background:linear-gradient(135deg,#fff8eefa,#f7eedffa)}.patient-list-row span{color:var(--muted);font-size:.94rem}.patient-list-row.patient-list-row-compact{grid-template-columns:minmax(220px,1.4fr) minmax(150px,.9fr) minmax(130px,.7fr);padding:14px 16px;border-radius:6px;background:#fff}.patient-list-main{display:grid;gap:4px}.patient-list-main strong{font-size:1rem;letter-spacing:-.02em}.year-select,.search-box{border-radius:6px;border:1px solid var(--line);background:#ffffffd1}.year-select{min-width:112px;padding:13px 16px;color:var(--text)}.search-box{display:flex;align-items:center;gap:8px;min-width:320px;padding:11px 14px;color:var(--muted)}.search-box input{width:100%;border:0;background:transparent;outline:none;color:var(--text)}.header-user{display:flex;align-items:center;gap:8px}.header-user-kicker{display:block;color:var(--muted);font-size:.82rem}.header-user-text strong{font-size:.96rem}.header-avatar{width:36px;height:36px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.kpi-card,.panel{position:relative;overflow:hidden;border-radius:8px;background:var(--card);box-shadow:var(--shadow-soft);border:1px solid rgba(255,255,255,.9)}.kpi-card{min-height:206px;padding:24px}.dashboard-kpi-clickable{cursor:pointer}.dashboard-kpi-clickable:active{transform:scale(.995)}.kpi-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:6px;background:linear-gradient(180deg,#c7aa782e,#c7aa7814);color:#a78655}.kpi-title{margin-top:18px;font-size:.96rem;color:var(--muted)}.kpi-value{margin-top:14px;font-size:2.35rem;font-weight:800;letter-spacing:-.05em}.kpi-detail{margin-top:8px;font-size:.92rem;color:var(--muted)}.kpi-wave{position:absolute;inset:auto -8% -45px;height:120px;background:radial-gradient(80% 95% at 12% 55%,rgba(199,170,120,.26),transparent 60%),radial-gradient(70% 80% at 68% 58%,rgba(199,170,120,.14),transparent 60%),linear-gradient(180deg,#c7aa7814,#c7aa7805);border-radius:45% 45% 0 0/100% 100% 0 0}.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(330px,.88fr);gap:20px;align-items:start}.panel{padding:24px}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:22px}.panel-header h2{margin:0;font-size:1.45rem;letter-spacing:-.04em}.panel-meta{color:var(--muted);font-size:.9rem}.panel-chart{min-height:470px}.chart-area{position:relative;height:360px;display:grid;grid-template-columns:78px 1fr;gap:18px}.chart-guides{display:flex;flex-direction:column;justify-content:space-between;padding-top:10px}.chart-guide-row{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.82rem}.chart-guide-line{flex:1;border-top:1px dashed rgba(159,140,105,.22)}.chart-series{position:relative;border-radius:24px;background:linear-gradient(180deg,#fbf8f3e6,#ffffffd6);border:1px solid rgba(199,170,120,.16);padding:20px 20px 14px}.line{position:absolute;left:20px;right:20px;height:1px;border-top:1px dashed}.line span{position:absolute;right:0;top:-14px;background:#ffffffeb;padding:2px 8px;border-radius:999px;font-size:.75rem}.line.meta{border-color:#c7aa78a6;color:#a78655}.line.super{border-color:#60574759;color:#655b4a}.bars{position:absolute;inset:24px 22px 14px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:end}.bar-group{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:8px}.bar{width:100%;border-radius:16px 16px 8px 8px;background:linear-gradient(180deg,#ccb184,#b79560);box-shadow:inset 0 1px #ffffff59}.bar-group span{color:var(--muted);font-size:.82rem}.side-column{display:grid;gap:18px}.summary-stats,.agenda-list,.alert-list{display:grid;gap:12px}.summary-row{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:18px;background:var(--card-soft);color:var(--muted)}.summary-row strong{color:var(--text)}.summary-row.highlight{background:linear-gradient(180deg,#c7aa7829,#c7aa7814)}.agenda-item{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:18px;background:var(--card-soft)}.agenda-time{min-width:64px;font-weight:800;color:#9e7c49}.agenda-content{display:grid;gap:3px}.agenda-content span{color:var(--muted);font-size:.9rem}.alert-card{padding:16px 18px;border-radius:20px;background:linear-gradient(180deg,#c7aa781f,#ffffffd1);border:1px solid rgba(199,170,120,.14);display:grid;gap:6px}.alert-card span{color:var(--muted);font-size:.9rem}.activities-panel{padding-bottom:10px}.table-wrap{overflow:auto}.activity-table{width:100%;border-collapse:collapse}.activity-table th,.activity-table td{padding:16px 12px;border-bottom:1px solid rgba(160,138,96,.12);text-align:left}.dashboard-feedback{padding:14px 0;color:var(--muted)}.dashboard-funnels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}.dashboard-funnel-panel{display:grid;gap:18px}.dashboard-funnel-shell{display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr);gap:24px;align-items:center}.dashboard-funnel-graphic{display:grid;gap:0;min-height:320px}.dashboard-funnel-segment{min-height:78px;border-radius:14px;box-shadow:inset 0 18px 30px #fff3,0 14px 26px #261e101a}.dashboard-funnel-legend{display:grid;gap:12px}.dashboard-funnel-legend-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:16px;background:var(--card-soft)}.dashboard-funnel-legend-title{display:inline-flex;align-items:center;gap:10px}.dashboard-funnel-dot{width:12px;height:12px;border-radius:999px;display:inline-block}.dashboard-funnel-legend-values{display:grid;justify-items:end;gap:2px}.dashboard-funnel-legend-values small{color:var(--muted)}.dashboard-funnel-ticket{margin-top:4px;padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,#c7aa7829,#fffc);display:grid;gap:6px}.dashboard-meta-editor{display:grid;gap:8px}.dashboard-meta-editor input{min-height:46px;border-radius:14px;border:1px solid rgba(199,170,120,.18);background:#fffffff2;padding:0 14px;font:inherit}.dashboard-payment-calendar{gap:8px}.dashboard-payment-day{appearance:none;width:100%;min-height:88px;padding:10px 8px;border-radius:14px;border:1px solid rgba(199,170,120,.14);background:#ffffffdb;display:grid;align-content:start;gap:4px;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.dashboard-payment-day strong{color:#584a38;font-size:.95rem}.dashboard-payment-day span,.dashboard-payment-day small{color:var(--muted);line-height:1.25}.dashboard-payment-day.has-value{background:linear-gradient(180deg,#c7aa782e,#ffffffeb);border-color:#bc915547}.dashboard-payment-day.has-value:hover{transform:translateY(-2px);box-shadow:0 16px 30px #3f2a0e14}.dashboard-payment-day.muted{opacity:.45}.dashboard-payment-day.today{border-color:#2f6a525c}.dashboard-payment-day:disabled{cursor:default}.dashboard-calendar-panel{min-height:640px}.dashboard-calendar-weekdays{margin-bottom:10px}.dashboard-payment-calendar-large{gap:12px}.dashboard-payment-calendar-large .dashboard-payment-day{min-height:120px;padding:14px 12px}.dashboard-payment-calendar-large .dashboard-payment-day strong{font-size:1.05rem}.dashboard-payment-modal{width:min(820px,calc(100vw - 32px));height:min(760px,calc(100vh - 32px))}.dashboard-payment-modal-body{padding-bottom:28px}.dashboard-payment-modal-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-payment-list{display:grid;gap:12px}.dashboard-payment-entry{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:18px;border:1px solid rgba(199,170,120,.14);background:#ffffffd1}.dashboard-payment-entry-main,.dashboard-payment-entry-meta{display:grid;gap:4px}.dashboard-payment-entry-main span,.dashboard-payment-entry-meta small{color:var(--muted)}.dashboard-payment-entry-meta{justify-items:end}.activity-table th{color:var(--muted);font-weight:600}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:8px 12px;border-radius:999px;font-size:.85rem;font-weight:700}.status-badge.aprovado,.status-badge.pago{background:#84ad7729;color:#4f7643}.status-badge.agendado{background:#c7aa782e;color:#8f6b37}.status-badge.atrasado{background:#ce62581f;color:#b1483d}.patients-search-hero,.patients-recent-wrap,.patients-results-section,.patient-hero,.summary-card,.form-block,.patient-result-card,.patient-chip-card,.budget-card,.doc-card,.exam-card,.finance-card,.schedule-item{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.patients-search-hero,.patients-recent-wrap,.patients-results-section,.patient-detail-shell{display:grid;gap:18px}.patients-search-hero{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:26px 28px;border-radius:28px;background:linear-gradient(135deg,#ffffffeb,#f9f5efe6);border:1px solid rgba(199,170,120,.16);box-shadow:var(--shadow-soft)}.patients-search-copy h2,.section-title-row h2,.patient-hero-copy h2,.modal-header h2,.drawer-header h2{margin:0;letter-spacing:-.04em}.patients-search-copy p,.placeholder-copy p{margin:10px 0 0;color:var(--muted);max-width:720px;line-height:1.6}.primary-action,.ghost-action,.icon-action,.icon-only{appearance:none;border:0;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:18px;padding:14px 18px;background:linear-gradient(180deg,var(--accent) 0%,var(--accent-strong) 100%);color:#fff;font-weight:700;box-shadow:0 14px 26px #244f3d38}.ghost-action,.icon-action{display:inline-flex;align-items:center;gap:8px;border-radius:6px;padding:12px 16px;background:#ffffffe6;color:var(--text);border:1px solid rgba(199,170,120,.16)}.icon-only{width:40px;height:40px;border-radius:14px;background:#ffffffeb;color:var(--text);border:1px solid rgba(199,170,120,.16);display:grid;place-items:center}.primary-action:hover,.ghost-action:hover,.icon-action:hover,.icon-only:hover,.patient-chip-card:hover,.patient-result-card:hover,.budget-card:hover,.doc-card:hover,.exam-card:hover,.finance-card:hover,.schedule-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft)}.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.patient-chip-grid,.patient-results-grid,.doc-grid,.exam-grid,.budget-grid{display:grid;gap:16px}.patient-chip-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.patient-results-grid,.budget-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.patient-chip-card,.patient-result-card,.budget-card,.doc-card,.exam-card{border-radius:8px;border:1px solid rgba(199,170,120,.14);background:#fffffff0;box-shadow:var(--shadow-soft)}.patient-chip-card{display:flex;align-items:center;gap:14px;padding:18px;text-align:left}.patient-chip-card.active{border-color:#c7aa7873;background:linear-gradient(180deg,#efe2cb80,#fffffff5)}.patient-chip-avatar,.patient-result-avatar,.patient-big-avatar{display:grid;place-items:center;font-weight:800;color:#2a241b;background:linear-gradient(180deg,#ead8b8,#c7aa78)}.patient-chip-avatar,.patient-result-avatar{width:44px;height:44px;border-radius:6px}.patient-result-card,.budget-card{padding:18px;text-align:left}.patient-result-top,.patient-result-copy,.budget-footer,.patient-hero-left,.patient-hero-copy{display:flex}.patient-result-top{gap:14px;align-items:center}.patient-result-copy,.patient-hero-copy{flex-direction:column}.patient-result-copy span,.patient-result-meta,.summary-card-body span,.doc-card span,.exam-card span,.budget-card-top span,.budget-footer span{color:var(--muted)}.patient-result-meta{display:grid;gap:4px;margin:14px 0 18px;font-size:.92rem}.patient-detail-shell{margin-top:8px}.patient-detail-shell-clean{gap:0}.patient-record-shell{overflow:hidden;border:1px solid rgba(194,197,203,.95);background:#f8f8f8;box-shadow:none}.patient-record-tabs{border-bottom:1px solid rgba(194,197,203,.95);background:#f7f7f7}.patient-record-tabs-scroll{display:flex;align-items:center;gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.patient-record-tab{flex:0 0 auto;appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;color:#4d5968;padding:16px 20px 14px;font-size:.98rem;font-weight:500;cursor:pointer}.patient-record-tab:hover{color:#273241;background:#00000004}.patient-record-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.patient-record-body{padding:10px 55px 34px;background:#f5f5f5}.patient-cadastro-layout{display:grid;grid-template-columns:280px minmax(0,2fr);gap:36px;align-items:start}.patient-cadastro-sidebar{display:grid;gap:14px;align-self:start;position:sticky;top:20px}.patient-cadastro-nav{appearance:none;width:100%;text-align:left;border:1px solid rgba(112,122,136,.78);background:#fff;color:#516072;padding:18px 22px;min-height:68px;font-size:.98rem;font-weight:500;cursor:pointer}.patient-cadastro-nav-inner{display:flex;align-items:center;gap:16px}.patient-cadastro-nav-icon{display:inline-flex;align-items:center;justify-content:center;color:inherit}.patient-cadastro-nav:hover{border-color:var(--accent-line);color:#2e3947}.patient-cadastro-nav.active{border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px #2f6a520a}.patient-cadastro-card{display:grid;gap:24px;min-height:620px;padding:22px 26px 18px;border:1px solid rgba(198,202,208,.95);background:#fff}.patient-form-section{display:grid;gap:20px}.patient-crm-quick-card{display:grid;gap:14px;padding:16px 18px;border:1px solid rgba(199,170,120,.22);border-radius:18px;background:#fbf6ecb8}.patient-crm-quick-card p,.patient-crm-quick-copy{margin:0;color:var(--muted);font-size:.92rem}.patient-form-heading{display:flex;align-items:center;gap:16px;padding-bottom:6px}.patient-photo-upload-row{display:flex;align-items:center;gap:16px;margin-bottom:6px}.patient-photo-upload{width:84px;height:84px;border-radius:8px;border:1px solid rgba(199,170,120,.18);background:linear-gradient(180deg,#ead8b8,#c7aa78);color:#2a241b;display:grid;place-items:center;font-weight:800;overflow:hidden;cursor:pointer;padding:0}.patient-photo-upload-copy{display:grid;gap:4px}.patient-photo-upload-copy span{color:var(--muted)}.patient-form-heading-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--accent)}.patient-form-title,.patient-form-subtitle{color:#18263a;font-weight:400;letter-spacing:-.03em}.patient-form-title{font-size:1.15rem}.patient-form-subtitle{margin-top:14px;font-size:1.05rem}.patient-form-grid{display:grid;gap:20px 18px}.patient-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.patient-form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.patient-line-field{display:grid;gap:6px;min-width:0}.patient-line-field.full{grid-column:1 / -1}.patient-line-field>span{color:#707278;font-size:.9rem;font-weight:600}.patient-line-field input,.patient-line-field select,.patient-line-field textarea{width:100%;border:0;border-bottom:1px solid #d6d8dc;background:transparent;color:#2a2d33;padding:0 0 9px;border-radius:0;outline:none;box-shadow:none;font-size:.99rem}.patient-line-field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7c848f 50%),linear-gradient(135deg,#7c848f 50%,transparent 50%);background-position:calc(100% - 14px) calc(50% - 3px),calc(100% - 8px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:28px}.patient-line-field textarea{resize:vertical;min-height:72px}.patient-line-field input:focus,.patient-line-field select:focus,.patient-line-field textarea:focus{border-bottom-color:var(--accent)}.patient-line-field input[readonly],.patient-line-field textarea[readonly],.patient-line-field input:disabled,.patient-line-field select:disabled{color:#8e8e8e}.patient-field-with-icon{display:flex;align-items:center;gap:8px;border-bottom:1px solid #d6d8dc}.patient-field-with-icon input{border-bottom:0;padding-right:0}.patient-field-with-icon svg{flex:0 0 auto;color:#7c848f}.patient-radio-row{display:flex;align-items:center;gap:18px;min-height:40px;padding-top:6px}.patient-radio-option{display:inline-flex;align-items:center;gap:8px;color:#384657}.patient-radio-option input{margin:0;accent-color:var(--accent)}.patient-form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:10px;border-top:1px solid rgba(214,216,220,.8)}.patient-birth-grid{grid-column:1 / -1;align-items:end}.patient-record-fallback{border:1px solid rgba(198,202,208,.95);background:#fff;box-shadow:none}@media(max-width:1180px){.patient-cadastro-layout{grid-template-columns:1fr}.patient-cadastro-sidebar{position:static}}@media(max-width:900px){.patient-record-body{padding:22px 18px}.patient-form-grid.two,.patient-form-grid.three,.patient-form-grid.four{grid-template-columns:1fr}}.patient-hero{display:flex;justify-content:space-between;gap:24px;padding:26px 28px;border-radius:10px;background:var(--card);border:1px solid rgba(199,170,120,.16);box-shadow:var(--shadow)}.patient-hero-left{align-items:center;gap:18px}.patient-big-avatar{width:78px;height:78px;border-radius:8px;font-size:1.35rem}.patient-big-avatar-button{overflow:hidden;border:1px solid rgba(199,170,120,.16);cursor:pointer;padding:0}.patient-big-avatar img,.patient-photo-upload img{width:100%;height:100%;object-fit:cover;display:block}.patient-photo-input{display:none}.patient-status{display:inline-flex;align-items:center;width:fit-content;padding:6px 12px;border-radius:4px;background:#84ad771f;color:#4f7643;font-weight:700;font-size:.84rem}.patient-hero-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;color:var(--muted)}.patient-hero-meta span{display:inline-flex;align-items:center;gap:8px}.patient-hero-actions{display:flex;gap:12px;align-items:flex-start}.patient-layout-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px}.patient-edit-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}.patient-edit-sidebar{display:grid;gap:14px;position:sticky;top:18px}.patient-edit-list{display:grid;gap:8px;max-height:calc(100vh - 250px);overflow:auto;padding-right:4px}.patient-edit-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;width:100%;padding:14px;border-radius:8px;border:1px solid rgba(199,170,120,.16);background:#fffffff2;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.patient-edit-item:hover{transform:translateY(-1px);border-color:#c7aa783d;box-shadow:0 14px 24px #1f18100f}.patient-edit-item.active{border-color:#c7aa7857;background:linear-gradient(180deg,#fffbf4fa,#fffffffa);box-shadow:0 18px 30px #c7aa781f}.patient-edit-avatar{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#f1dbb0,#ceb27d);color:#1f1a15;font-weight:800;font-size:1rem}.patient-edit-copy{display:grid;gap:2px;min-width:0}.patient-edit-copy strong{font-size:.98rem}.patient-edit-copy span{color:var(--muted);font-size:.88rem}.patient-summary-column,.patient-content-column,.summary-card-body,.finance-list,.schedule-list{display:grid;gap:16px}.summary-card{padding:18px}.summary-card-title{font-weight:700;margin-bottom:16px}.summary-card-body strong{color:var(--text)}.summary-card-body>div{display:grid;gap:4px}.finance-alert.ok{background:linear-gradient(180deg,#84ad7714,#fffffff0)}.finance-alert.atrasado{background:linear-gradient(180deg,#ce625814,#fffffff0)}.patient-tabs-panel{display:grid;gap:18px}.tab-group{display:grid;gap:8px}.tab-group-title{color:var(--muted);font-size:.84rem;text-transform:uppercase;letter-spacing:.14em}.tab-shell{display:flex;flex-wrap:wrap;gap:8px;padding:8px;border-radius:8px;background:linear-gradient(180deg,#f4ede2e0,#ffffffb3);border:1px solid rgba(188,145,85,.12)}.tab-shell-primary{padding:10px;border-radius:8px;background:linear-gradient(180deg,#f6efe5f5,#ffffffc2)}.segmented-tab{appearance:none;border:1px solid rgba(188,145,85,.12);background:#ffffffd6;color:#7d6a56;border-radius:8px;padding:11px 16px;cursor:pointer;font-weight:600;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.segmented-tab:hover{transform:translateY(-1px);border-color:#bc915547;color:var(--text)}.segmented-tab.active{background:linear-gradient(180deg,#ecdcc1f2,#e6d0a9eb);color:var(--text);border-color:#bc915566;box-shadow:0 10px 18px #bc915529}.segmented-tab-primary{min-width:118px;padding:14px 18px;border-radius:8px;font-size:.98rem;letter-spacing:-.01em}.form-panel,.compact-panel,.form-section-grid{display:grid;gap:18px}.form-block{padding:20px}.form-block h3{margin:0 0 16px;font-size:1.02rem}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .full{grid-column:1 / -1}.form-grid label{display:grid;gap:8px}.form-grid label span{color:var(--muted);font-size:.9rem}.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid rgba(199,170,120,.18);border-radius:8px;padding:14px 16px;background:#fffffff2;color:var(--text);outline:none}.highlight-field input{border-color:var(--accent-line);box-shadow:0 0 0 4px #2f6a520f}.sticky-actions{display:flex;justify-content:flex-end;gap:12px}.finance-card,.schedule-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px 18px;border-radius:8px;background:#fffffff5;border:1px solid rgba(199,170,120,.12)}.finance-card span,.schedule-item span{color:var(--muted)}.finance-card-right{display:grid;justify-items:end;gap:6px}.finance-status{padding:5px 10px;border-radius:4px;font-size:.82rem;font-weight:700}.finance-status.pago{background:#84ad771f;color:#4f7643}.finance-status.a-vencer{background:#d6b44029;color:#8f7320}.finance-status.atrasado{background:#ce62581f;color:#b1483d}.finance-shell{display:grid;gap:16px}.finance-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-summary-card{display:grid;gap:8px;padding:16px 18px;border:1px solid rgba(199,170,120,.14);border-radius:8px;background:#fffffff5}.finance-summary-card span{color:var(--muted)}.finance-summary-card strong{font-size:1.18rem}.finance-summary-card-alert strong{color:#b1483d}.finance-summary-card-ok strong{color:#4f7643}.finance-board{display:grid;border:1px solid rgba(199,170,120,.14);border-radius:8px;overflow:hidden;background:#fffffff5}.finance-board-header,.finance-row{display:grid;grid-template-columns:minmax(220px,1.3fr) 120px 120px 120px 110px 180px;gap:14px;align-items:center;padding:14px 16px}.finance-board-header{background:#3e3830f0;color:#fff;font-weight:700}.finance-board-body{display:grid}.finance-row{border-top:1px solid rgba(199,170,120,.12)}.finance-row strong,.finance-row span{min-width:0}.finance-row-main{display:grid;gap:4px}.finance-row-main span{color:var(--muted)}.finance-row-actions{display:flex;justify-content:flex-end;gap:8px}.primary-action.compact,.ghost-action.compact{min-height:38px;padding:0 14px;font-size:.86rem}.modal-shell-finance{width:min(760px,calc(100vw - 48px))}.finance-modal-subtitle{display:block;margin-top:4px;color:var(--muted);font-size:.92rem}.finance-modal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.finance-modal-summary>div,.finance-modal-history-item{border:1px solid rgba(199,170,120,.18);border-radius:12px;background:#fffffff5;padding:12px 14px}.finance-modal-summary span,.finance-modal-history-header span,.finance-modal-history-item span{color:var(--muted);font-size:.82rem}.finance-modal-summary strong,.finance-modal-history-header strong,.finance-modal-history-item strong{display:block;margin-top:4px}.finance-modal-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.finance-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.finance-modal-grid label{display:grid;gap:8px}.finance-modal-grid label.full{grid-column:1 / -1}.finance-modal-grid label span{color:var(--muted)}.finance-modal-grid input,.finance-modal-grid select,.finance-modal-grid textarea{width:100%;border:1px solid rgba(199,170,120,.18);border-radius:8px;padding:14px 16px;background:#fffffff2;color:var(--text);outline:none}.finance-modal-history{display:grid;gap:12px;margin-top:18px}.finance-modal-history-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.finance-modal-history-list{display:grid;gap:10px;max-height:240px;overflow:auto}.finance-modal-history-item{display:grid;gap:8px}.finance-modal-history-item p{margin:0;color:var(--text);line-height:1.45}.schedule-item-main{display:grid;gap:4px;text-align:left}.odontograma-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.tooth-card{appearance:none;border:1px solid rgba(199,170,120,.18);background:#fffffff5;border-radius:8px;height:62px;cursor:pointer}.tooth-card.active{background:linear-gradient(180deg,#2f6a5229,#fffffffa);border-color:var(--accent-line)}.tag-list{display:flex;flex-wrap:wrap;gap:8px}.soft-tag{padding:10px 14px;border-radius:4px;background:#efe2cb8f;color:#7b633d;font-weight:600}.doc-grid,.exam-grid{grid-template-columns:minmax(0,1fr)}.documents-pane{display:grid;gap:16px}.boleto-builder-card{display:grid;gap:14px;padding:18px;border-radius:18px;background:#f8f4ecb8;border:1px solid rgba(198,176,139,.24)}.boleto-builder-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.boleto-builder-header strong,.boleto-upload-item strong{display:block}.boleto-builder-header span,.boleto-upload-item span{color:#7a685a;font-size:.84rem}.boleto-upload-list{display:grid;gap:10px}.boleto-upload-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:#ffffffeb;border:1px solid rgba(198,176,139,.18)}.boleto-upload-info{min-width:0}.boleto-upload-info strong{overflow-wrap:anywhere}.boleto-upload-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.doc-card,.exam-card{display:flex;gap:14px;align-items:center;padding:16px 18px;width:100%}.exam-card{flex-direction:row;align-items:center}.exam-preview{width:100%;height:120px;border-radius:6px;display:grid;place-items:center;background:linear-gradient(135deg,#efe2cbb8,#fffffff0);color:#8f6b37;font-weight:700}.budget-card-top,.budget-footer{display:flex;justify-content:space-between;gap:8px;align-items:center}.commercial-shell{display:grid;gap:18px}.commercial-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.commercial-toolbar-actions,.commercial-contract-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.commercial-toolbar h3{margin:0;font-size:1.24rem;letter-spacing:-.03em}.budget-finance-calculator{display:grid;gap:18px;padding:22px;border:1px solid rgba(198,176,139,.28);border-radius:20px;background:linear-gradient(145deg,#fffffffa,#f7f1e8e6)}.budget-finance-calculator-head,.budget-finance-card-table-head,.budget-finance-boleto{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0}.budget-finance-calculator-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,360px);align-items:end}.budget-finance-calculator-head>div{min-width:0}.budget-finance-calculator h4{margin:3px 0 5px;font-size:1.18rem}.budget-finance-calculator p{margin:0;color:#746557}.budget-finance-value-field{display:grid;gap:6px;width:100%;min-width:0}.budget-finance-value-field span,.budget-finance-card-table-head label span{color:#756658;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.budget-finance-value-field input{display:block;width:100%;min-width:0;min-height:50px;padding-inline:14px;font-size:1.35rem;font-weight:800;text-align:right;overflow:visible}.budget-finance-results{display:grid;gap:18px}.budget-finance-boleto,.budget-finance-card-table{padding:18px;border-radius:16px;border:1px solid rgba(198,176,139,.24);background:#ffffffe0}.budget-finance-boleto>div:first-child{display:grid;gap:4px}.budget-finance-boleto>div:first-child>strong{color:#3f3329;font-size:1.6rem}.budget-finance-boleto small,.budget-finance-card-table small{display:block;color:#7b6d60;font-size:.78rem}.budget-finance-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr));gap:10px}.budget-finance-entry-grid>div{display:grid;gap:4px;padding:12px;border-radius:12px;background:#f5efe7}.budget-finance-entry-grid span{color:#806f60;font-size:.78rem;font-weight:700}.budget-finance-card-table{display:grid;gap:14px}.budget-finance-card-table-head>div,.budget-finance-card-table-head label{display:grid;gap:5px}.budget-finance-card-table-head select{min-width:230px}.budget-finance-table-scroll{max-height:430px;overflow:auto;border:1px solid rgba(198,176,139,.22);border-radius:12px}.budget-finance-table-scroll table{width:100%;border-collapse:collapse}.budget-finance-table-scroll th,.budget-finance-table-scroll td{padding:11px 13px;text-align:left;border-bottom:1px solid rgba(198,176,139,.18)}.budget-finance-table-scroll th{position:sticky;top:0;z-index:1;background:#332a23;color:#fff;font-size:.78rem}.budget-finance-best{display:inline-flex;padding:5px 9px;border-radius:999px;color:#326143;background:#e4f3e8;font-size:.76rem;font-weight:800}.budget-finance-note,.budget-finance-empty{color:#7b6d60;font-size:.84rem}@media(max-width:900px){.budget-finance-calculator-head,.budget-finance-card-table-head,.budget-finance-boleto{flex-direction:column}.budget-finance-calculator-head{grid-template-columns:1fr}.budget-finance-value-field,.budget-finance-card-table-head select{width:100%}.budget-finance-entry-grid{grid-template-columns:1fr;width:100%}}.commercial-contract-shell{display:grid;gap:18px}.commercial-contract-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.commercial-contract-toolbar h3{margin:0;font-size:1.24rem;letter-spacing:-.03em}.commercial-contract-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.9fr);gap:18px}.commercial-contract-card{display:grid;gap:16px;padding:18px}.budget-history-panel{display:grid;gap:12px;padding-top:4px}.budget-history-header{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:.9rem}.budget-history-list{display:grid;gap:10px;max-height:220px;overflow:auto;padding-right:4px}.budget-history-item{display:grid;gap:6px;padding:12px 14px;border:1px solid rgba(188,145,85,.14);border-radius:10px;background:#fffdfae6}.budget-history-item-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.budget-history-item-top strong{color:var(--text)}.budget-history-item-top span,.budget-history-item-meta{color:var(--muted);font-size:.84rem}.budget-history-item p{margin:0;color:var(--text);white-space:pre-wrap}.commercial-contract-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.commercial-contract-summary div{display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(188,145,85,.14);border-radius:10px;background:#fffdfab8}.commercial-contract-summary span{color:var(--muted);font-size:.82rem}.commercial-contract-summary strong{color:var(--text);font-size:.98rem}.commercial-contract-procedures{max-height:min(72vh,860px);overflow:auto;border:1px solid rgba(188,145,85,.14);border-radius:12px;background:#fbfbfb}.budget-list-shell{display:grid;gap:12px}.budget-list-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 18px;border:1px solid rgba(188,145,85,.12);border-radius:8px;background:#fff}.budget-list-row-left{display:flex;align-items:center;gap:14px;color:var(--muted)}.budget-status-badge{border:0;border-radius:999px;padding:8px 14px;color:#fff;font-weight:700;cursor:pointer}.budget-status-badge.open{background:#2f80d1}.budget-status-badge.approved{background:#348a45}.budget-list-row-main{border:0;background:transparent;text-align:left;display:grid;gap:4px;min-width:0;cursor:pointer}.budget-list-row-main span{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.budget-list-row-value{color:#348a45;font-size:1.1rem}.budget-list-row-actions{display:grid;justify-items:end;gap:8px}.budget-value{margin:18px 0 12px;font-size:2rem;font-weight:800;letter-spacing:-.04em}.overlay,.drawer-backdrop{position:fixed;inset:0;background:#14120f75;display:grid;place-items:center;z-index:50}.overlay:has(.modal-shell-budget){place-items:stretch;padding:0}.modal-shell,.drawer-shell{background:var(--card);border-radius:10px;border:1px solid rgba(199,170,120,.18);box-shadow:0 30px 70px #0000002e}.dashboard-sale-total-toggle{display:inline-flex;align-items:center;gap:7px;width:fit-content;margin-top:8px;padding:7px 10px;border:1px solid rgba(78,102,72,.24);border-radius:9px;background:#4e664814;cursor:pointer;font-size:12px;font-weight:700;color:var(--text-primary);white-space:nowrap}.dashboard-sale-main{min-width:0}.dashboard-sale-total-toggle input{width:16px;height:16px;accent-color:var(--accent)}.dashboard-sale-excluded{opacity:.58;background:#7769590f}.dashboard-annual-sales-panel{margin-bottom:18px}.dashboard-annual-sales-total{display:grid;gap:3px;text-align:right}.dashboard-annual-sales-total span,.dashboard-annual-chart-caption span{color:var(--muted);font-size:12px}.dashboard-annual-sales-total strong{font-size:20px}.dashboard-annual-chart-scroll{overflow-x:auto;padding:18px 0 6px}.dashboard-annual-chart{min-width:760px;height:290px;display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));gap:12px;align-items:end;padding:10px 6px 0;border-bottom:1px solid rgba(119,105,89,.18);background:repeating-linear-gradient(to top,transparent 0,transparent 71px,rgba(119,105,89,.08) 72px)}.dashboard-annual-bar-group{height:100%;display:grid;grid-template-rows:36px minmax(0,1fr) 26px;gap:6px;align-items:end;text-align:center}.dashboard-annual-bar-group>strong{align-self:center;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap}.dashboard-annual-bar-track{position:relative;width:min(38px,78%);height:100%;margin:0 auto;border-radius:10px 10px 3px 3px;background:#4e664812;overflow:hidden}.dashboard-annual-bar{position:absolute;inset:auto 0 0;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,#8ca183,#4e6648);transition:height .24s ease}.dashboard-annual-bar-group.current .dashboard-annual-bar{background:linear-gradient(180deg,#d7b87d,#a97832)}.dashboard-annual-bar-group>span{color:var(--muted);font-size:12px;font-weight:700}.dashboard-annual-bar-group.current>span{color:var(--text-primary)}.dashboard-annual-chart-caption{display:flex;justify-content:space-between;gap:16px;padding-top:12px}.dashboard-rescue-panel{margin-bottom:18px}.dashboard-rescue-total{display:flex;align-items:baseline;gap:6px}.dashboard-rescue-total strong{font-size:28px;color:var(--accent)}.dashboard-rescue-total span,.dashboard-rescue-description,.dashboard-rescue-panel small{color:var(--muted)}.dashboard-rescue-description{margin:4px 0 18px}.dashboard-rescue-chart{display:grid;gap:16px}.dashboard-rescue-row>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:7px}.dashboard-rescue-row span{font-weight:700}.dashboard-rescue-track{height:16px;overflow:hidden;border-radius:999px;background:#4e664814}.dashboard-rescue-bar{display:block;height:100%;min-width:0;border-radius:inherit;transition:width .24s ease}.dashboard-rescue-bar.new{background:linear-gradient(90deg,#7f9b76,#4e6648)}.dashboard-rescue-bar.old{background:linear-gradient(90deg,#d4b778,#a97832)}.dashboard-rescue-panel small{display:block;margin-top:16px;line-height:1.5}.checklist-drawer{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);height:min(920px,calc(100vh - 32px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.checklist-body{padding-bottom:28px}.checklist-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.checklist-create-panel{display:grid;gap:1rem}.checklist-preset-groups{display:grid;gap:.9rem}.checklist-preset-group{display:grid;gap:.6rem;padding:.9rem 1rem;border-radius:16px;background:#ffffffb3;border:1px solid rgba(199,170,120,.18)}.checklist-preset-group strong{color:#2f241d}.checklist-items,.checklist-section-block,.checklist-item-card{display:grid;gap:.9rem}.checklist-item-card.done{border-color:#2f6a5252;background:linear-gradient(180deg,#eff9f3eb,#fffffff5)}.checklist-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.checklist-item-top strong{display:block;color:#2f241d}.checklist-item-top span{display:block;color:#7a685a;font-size:.84rem;margin-top:.2rem}.checklist-item-top p{margin:.45rem 0 0;color:#5f5246;line-height:1.5}.checklist-badge{display:inline-flex;align-items:center;justify-content:center;min-width:68px;padding:.45rem .75rem;border-radius:999px;background:#2f6a521f;color:#2f6a52;font-weight:800}.checklist-progress-bar{width:100%;height:10px;border-radius:999px;background:#bc915529;overflow:hidden}.checklist-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f6a52,#6ea887)}.modal-shell{width:min(980px,calc(100vw - 32px));max-height:calc(100vh - 32px);height:min(920px,calc(100vh - 32px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.modal-header,.drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 24px 0}.modal-body{padding:20px 24px 112px;overflow:auto;display:grid;gap:16px;min-height:0}.modal-shell-budget{width:calc(100vw - 8px);max-width:none;height:calc(100vh - 8px);max-height:none;margin:4px;border-radius:0;background:#f5f2ed;border-color:#c7aa7838}.modal-shell-confirm{width:min(720px,calc(100vw - 32px));height:auto}.confirm-modal-body{padding-bottom:28px}.confirm-modal-copy{display:grid;gap:16px;justify-items:center;text-align:center;padding:24px 20px 8px}.confirm-modal-copy strong{font-size:1.9rem;letter-spacing:-.04em}.confirm-modal-copy p{margin:0;max-width:560px;color:var(--muted);line-height:1.6}.budget-modal-body{padding-bottom:24px;background:#f5f2ed;min-height:0;height:100%}.budget-builder-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(520px,.95fr);gap:24px;min-height:0;height:100%;align-items:start}.budget-builder-form{min-width:0;display:grid;gap:16px;min-height:0;overflow:auto;padding-right:6px}.budget-builder-form .form-block{background:#fff;border:1px solid rgba(188,145,85,.1);border-radius:8px;box-shadow:none}.budget-builder-form .form-block h3{margin-bottom:18px}.budget-preview-panel{display:grid;grid-template-rows:auto 1fr auto;min-height:0;height:100%;max-height:100%;border-radius:8px;overflow:hidden;border:1px solid rgba(188,145,85,.14);background:#fff;box-shadow:none}.budget-preview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 18px;background:#464442;color:#fff}.budget-preview-header strong{font-size:1.1rem;letter-spacing:-.03em}.budget-preview-actions{display:flex;gap:8px;position:relative}.budget-preview-actions .icon-only{color:#ffffffeb;background:transparent}.budget-preview-actions .icon-only.active{background:#ffffff24;border-color:#ffffff47}.budget-menu-shell{position:relative}.budget-menu-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:220px;display:grid;padding:8px 0;border:1px solid rgba(188,145,85,.14);border-radius:8px;background:#fff;box-shadow:0 16px 32px #49311124;z-index:8}.budget-menu-item{border:0;background:transparent;text-align:left;padding:12px 16px;color:var(--text);cursor:pointer}.budget-menu-item:hover{background:#2f6a5214}.budget-preview-body{overflow:auto;padding:18px;display:grid;align-content:start;gap:12px;min-height:0;height:100%;background:#fbfbfb;overflow-x:hidden;overscroll-behavior:contain}.budget-preview-item{display:grid;border-radius:6px;overflow:visible;border:1px solid rgba(188,145,85,.14);box-shadow:0 8px 22px #35230d14,0 2px 6px #35230d0d;background:#fff;flex-shrink:0}.budget-preview-item-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(176px,212px);align-items:start}.budget-preview-item.ghost{background:#f3f3f3;border-color:#8080802e}.budget-preview-item-main{display:grid;gap:10px;padding:18px 20px;min-width:0;align-content:start;min-height:0}.budget-preview-item-main>span{color:#74695c;border-top:1px dashed rgba(188,145,85,.14);padding-top:6px}.budget-preview-meta{display:grid;gap:8px}.budget-preview-meta-line{color:#74695c;border-top:1px dashed rgba(188,145,85,.14);padding-top:6px;line-height:1.35;overflow-wrap:anywhere}.budget-preview-region-summary{overflow-wrap:anywhere}.budget-preview-item.ghost .budget-preview-item-main,.budget-preview-item.ghost .budget-preview-expand,.budget-preview-item.ghost .budget-preview-item-main span,.budget-preview-item.ghost .budget-preview-region-name,.budget-preview-item.ghost .budget-preview-detail-row,.budget-preview-item.ghost .budget-preview-value-input{color:#5353536b}.budget-preview-item.ghost .budget-preview-item-main span,.budget-preview-item.ghost .budget-preview-detail-row{border-color:#8c8c8c2e}.budget-preview-value{display:grid;align-content:space-between;justify-items:center;gap:14px;padding:18px 16px;background:#53b14f;color:#fff;text-align:center;box-shadow:inset 1px 0 #ffffff2e;min-width:176px;min-height:0}.budget-preview-value strong{font-size:1.22rem;line-height:1.15}.budget-preview-detail-shell{border-top:1px solid rgba(188,145,85,.12);background:#fffdfa;padding:14px 18px 16px;max-height:none;overflow:visible}.budget-preview-odontograma-shell{display:grid;gap:14px;padding:12px 16px 16px;margin-bottom:14px;border:1px solid rgba(188,145,85,.14);border-radius:10px;background:linear-gradient(180deg,#fffdfaf5,#fff)}.budget-preview-odontograma-header{display:grid;gap:4px}.budget-preview-odontograma-header strong{font-size:.98rem}.budget-preview-odontograma-header span{color:#74695c;font-size:.88rem}.budget-preview-item.ghost .budget-preview-value{background:#cfcfcf;color:#f3fff0}.budget-preview-value strong{font-size:1.08rem;font-weight:800}.budget-preview-value-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.budget-preview-value-action{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.5);background:#ffffff24;color:#fff;border-radius:6px;padding:7px 10px;font-size:.72rem;font-weight:700;cursor:pointer}.budget-preview-value-action:hover:not(:disabled){background:#ffffff38}.budget-preview-value-action-danger{border-color:#ffffffb3}.budget-preview-value-action:disabled{opacity:.42;cursor:not-allowed}.budget-preview-empty{display:grid;gap:6px;padding:18px;border-radius:6px;border:1px dashed rgba(188,145,85,.26);color:var(--muted)}.budget-preview-footer{display:grid;gap:8px;padding:16px 18px 18px;border-top:1px solid rgba(188,145,85,.12);background:#fff}.budget-preview-footer-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.budget-preview-total{display:flex;justify-content:space-between;gap:16px;align-items:center}.budget-preview-total span{font-size:1.08rem;font-weight:700}.budget-preview-total strong{color:#53b14f;font-size:1.2rem;letter-spacing:-.03em}.budget-preview-total-values{display:grid;justify-items:end;gap:4px}.budget-preview-total-values em{font-style:normal;color:#9d3d32;font-weight:700}.budget-payment-action{justify-self:start}.modal-shell-payment{width:min(1180px,calc(100vw - 40px));max-height:min(86vh,920px)}.modal-shell-discount{width:min(760px,calc(100vw - 40px))}.discount-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.discount-modal-grid label{display:grid;gap:8px}.discount-modal-grid label.full{grid-column:1 / -1}.discount-modal-grid label span{color:var(--muted)}.discount-modal-grid input{width:100%;border:1px solid rgba(199,170,120,.18);border-radius:8px;padding:14px 16px;background:#fffffff2;color:var(--text);outline:none}.payment-modal-body{display:grid;gap:20px}.payment-modal-top{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.payment-check{display:inline-flex;align-items:center;gap:8px;font-weight:600}.payment-check input{width:18px;height:18px;accent-color:var(--accent)}.payment-table-shell{border:1px solid rgba(188,145,85,.14);border-radius:8px;overflow:auto;background:#fff}.payment-table{width:100%;border-collapse:collapse}.payment-table th,.payment-table td{padding:12px 14px;border-bottom:1px solid rgba(188,145,85,.12);text-align:left;vertical-align:middle}.payment-table th{background:#4a4642;color:#fff}.payment-table td select,.payment-table td input{width:100%;min-width:0}.payment-card-detail{display:grid;gap:6px}.payment-card-detail span,.payment-inline-note{color:var(--muted);font-size:.85rem}.payment-value-input{min-width:132px}.budget-table-field{max-width:560px}.budget-procedure-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.budget-search-field{display:flex;align-items:center;gap:8px;padding:0 14px;border:1px solid rgba(188,145,85,.12);border-radius:8px;background:#fff;margin-bottom:14px}.budget-search-field input{border:0;background:transparent;width:100%;padding:14px 0;outline:none}.procedure-catalog-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding-right:4px;margin-bottom:16px}.procedure-catalog-dropdown{margin-top:-6px;padding:8px;border:1px solid rgba(188,145,85,.14);border-radius:8px;background:#fff;box-shadow:0 16px 32px #49311114}.procedure-catalog-item{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;padding:14px 16px;text-align:left;border-radius:6px;border:1px solid rgba(188,145,85,.1);background:#fff;cursor:pointer;transition:border-color .18s ease,background .18s ease}.procedure-catalog-item:hover{border-color:#bc915547}.procedure-catalog-item.active{border-color:var(--accent-line);background:var(--accent-soft)}.procedure-catalog-item div{display:grid;gap:4px}.procedure-catalog-item span{color:var(--muted)}.procedure-catalog-empty{padding:14px 16px;color:var(--muted)}.budget-procedure-editor{display:grid;gap:14px;padding:18px;border-radius:8px;border:1px solid rgba(188,145,85,.12);background:#fff}.budget-procedure-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.budget-region-shortcuts,.budget-selected-regions{display:flex;flex-wrap:wrap;gap:8px}.budget-region-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(63,152,221,.32);background:#d6ebfb;color:#1f4f78;border-radius:6px}.budget-region-chip.active{background:#67b2ea;color:#0f2c45}.budget-preview-item-main-rich{gap:10px;min-width:0}.budget-preview-item-top{display:flex;align-items:flex-start;gap:10px;min-width:0}.budget-preview-order-actions{margin-left:auto;display:inline-flex;gap:6px}.budget-preview-order-actions .icon-only{width:28px;height:28px}.budget-preview-expand{display:inline-flex;align-items:flex-start;gap:8px;border:0;background:transparent;padding:0;color:inherit;cursor:pointer;text-align:left;min-width:0;flex:1}.budget-preview-expand-copy{display:grid;gap:8px;min-width:0}.budget-preview-expand strong{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.budget-preview-inline-summary{color:#74695c;font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}.budget-preview-expand svg{transition:transform .18s ease}.budget-preview-expand svg.expanded{transform:rotate(180deg)}.budget-preview-check{display:inline-flex;align-items:center;padding-top:1px}.budget-preview-check input{width:18px;height:18px;accent-color:var(--accent)}.budget-preview-detail-list{display:grid;gap:6px;margin-bottom:0;padding:0;max-height:none;overflow:visible;overscroll-behavior:contain}.budget-preview-detail-row{display:grid;grid-template-columns:auto minmax(0,1fr) 96px;align-items:start;gap:8px;padding:8px 0;border-top:1px dashed rgba(188,145,85,.12);min-width:0}.budget-preview-detail-row.muted{opacity:.42;color:#53535366}.budget-preview-detail-row.muted .budget-preview-value-input,.budget-preview-detail-row.muted .budget-preview-region-name{color:#53535366}.budget-preview-detail-row.muted .budget-face-chip,.budget-preview-item.ghost .budget-face-chip{opacity:.36}.budget-preview-detail-body{display:grid;gap:4px;min-width:0}.budget-preview-region-name{font-weight:700;color:var(--text);overflow-wrap:anywhere}.budget-preview-detail-copy{color:#74695c;font-size:.83rem;overflow-wrap:anywhere}.budget-preview-faces{display:flex;flex-wrap:wrap;gap:3px;overflow:visible}.budget-face-chip{min-width:20px;padding:3px 4px;border:1px dashed rgba(63,152,221,.35);background:#eaf5fe;color:#7e8a97;font-size:.72rem;border-radius:4px}.budget-face-chip.active{background:#d6ebfb;color:#5e6e7d}.budget-preview-value-input{width:100%;border:0;border-bottom:1px solid rgba(188,145,85,.2);background:transparent;text-align:right;padding:4px 0;outline:none;font-size:.9rem;align-self:start}.odontograma-component{display:grid;gap:14px;padding:8px 0 4px}.odontograma-boxes{gap:18px}.odontograma-section{display:grid;gap:10px}.odontograma-section-header{font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.odontograma-legend{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.odontograma-legend-item{display:inline-flex;align-items:center;gap:8px;color:var(--text-muted);font-size:.9rem}.odontograma-legend-swatch{width:14px;height:14px;border:1px solid var(--line-soft);background:#fff}.odontograma-legend-swatch.contracted{background:#bc915538;border-color:#bc91558c}.odontograma-legend-swatch.selected{background:#2e5bff29;border-color:#2e5bffb3}.odontograma-row{display:grid;gap:10px;grid-template-columns:repeat(16,minmax(0,1fr))}.odontograma-component.decidua .odontograma-row{grid-template-columns:repeat(10,minmax(0,1fr))}.odontograma-divider{height:1px;background:#bc91552e}.odontograma-box{min-height:62px;border:1px solid rgba(127,138,153,.95);border-radius:14px;background:#fff;color:var(--text-primary);display:grid;place-items:center;cursor:pointer;transition:all .2s ease;padding:0}.odontograma-box:hover{border-color:#64748b;background:#f7f7f8}.odontograma-box.readonly{cursor:default}.odontograma-box.readonly:hover{border-color:#7f8a99f2;background:#fff}.odontograma-box.contracted.readonly:hover,.odontograma-box.contracted{background:#bc91552e;border-color:#bc915580}.odontograma-box.selected{background:#2e5bff1f;border-color:#2e5bff;box-shadow:inset 0 0 0 1px #2e5bff}.odontograma-box.contracted.selected{background:linear-gradient(180deg,#bc91553d,#2e5bff24)}.odontograma-box-label{font-size:1rem;font-weight:700;letter-spacing:.03em}.modal-footer{position:sticky;bottom:0;padding:12px 24px 20px;background:linear-gradient(180deg,#fff0,#fffdfaeb 28%,#fffdfa);border-top:1px solid rgba(199,170,120,.08);z-index:2}.drawer-backdrop{justify-items:end}.drawer-shell{width:min(520px,calc(100vw - 24px));height:100vh;border-radius:0;padding:24px;display:grid;grid-template-rows:auto auto 1fr auto;gap:18px}.drawer-status-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.drawer-total{font-size:1.6rem;letter-spacing:-.04em}.drawer-list{display:grid;gap:12px;align-content:start}.drawer-item{display:flex;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:18px;background:var(--card-soft)}.drawer-item span,.empty-inline{color:var(--muted)}.placeholder-shell{display:grid;gap:22px}.placeholder-hero{padding:30px 32px;display:grid;gap:14px;background:radial-gradient(circle at top right,rgba(199,170,120,.16),transparent 36%),linear-gradient(180deg,#fffffffa,#faf6eff5)}.placeholder-kicker{display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:8px 12px;border-radius:4px;background:#efe2cb9e;color:#8d6d3e;font-size:.82rem;font-weight:700}.placeholder-hero h2{margin:0;font-size:2rem;letter-spacing:-.05em}.placeholder-hero p,.placeholder-card p{margin:0;color:var(--muted);line-height:1.7}.placeholder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.placeholder-card{padding:22px;display:grid;gap:12px;min-height:220px;align-content:start}.placeholder-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.placeholder-card-head strong{font-size:1.08rem;letter-spacing:-.03em}.agenda-shell{display:grid;grid-template-columns:208px minmax(0,1fr);gap:8px;height:calc(100vh - 102px);min-height:720px}.agenda-leftbar,.agenda-main,.agenda-detail-popover{box-shadow:var(--shadow-soft)}.agenda-leftbar{padding:10px;align-self:start;position:sticky;top:10px;max-height:calc(100vh - 102px);overflow:auto}.agenda-calendar-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;margin-bottom:6px}.agenda-calendar-title{text-align:center;display:grid;gap:2px}.agenda-calendar-title strong{font-size:.98rem;letter-spacing:.18em;color:#6f624d}.agenda-calendar-title span{color:var(--muted);font-size:.84rem}.mini-calendar-weekdays,.mini-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.mini-calendar-weekdays{margin-bottom:4px;color:var(--muted);font-size:.72rem;text-align:center}.mini-day{appearance:none;border:0;background:transparent;color:var(--text);border-radius:999px;height:24px;cursor:pointer}.mini-day.active{background:linear-gradient(180deg,var(--accent) 0%,var(--accent-strong) 100%);color:#fff;font-weight:700}.agenda-side-section{margin-top:10px;display:grid;gap:6px}.agenda-side-title{font-size:1rem;font-weight:700;letter-spacing:-.03em}.agenda-prof-list{display:grid;gap:8px}.agenda-prof-item{appearance:none;border:1px solid rgba(199,170,120,.14);background:#ffffffeb;border-radius:14px;padding:9px 11px;display:flex;align-items:center;gap:12px;cursor:pointer;text-align:left}.agenda-prof-item.active{border-color:#c7aa7859;background:#efe2cb6b}.agenda-prof-color{width:16px;height:16px;border-radius:4px;flex:0 0 16px}.agenda-main{padding:8px;overflow:hidden;display:grid;grid-template-rows:auto 1fr;gap:8px}.agenda-toolbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin-bottom:0}.agenda-toolbar-btn{padding:10px 12px;min-width:40px;min-height:40px}.agenda-toolbar-left,.agenda-toolbar-center,.agenda-toolbar-right,.view-switcher{display:flex;align-items:center;gap:8px}.circle-toolbar,.today-button,.view-button{appearance:none;border:1px solid rgba(199,170,120,.16);background:#fffffff2;color:var(--text);cursor:pointer}.circle-toolbar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center}.today-button,.view-button{border-radius:14px;padding:8px 12px}.view-button.active{background:#efe2cb8c;border-color:#c7aa7866}.agenda-date-title{font-size:.96rem;font-weight:700}.agenda-day-layout{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;overflow:auto;min-height:0}.agenda-time-column{border-radius:18px;overflow:hidden;border:1px solid rgba(199,170,120,.16);background:#fff;align-self:start}.agenda-time-list{display:grid;align-content:start}.agenda-column-header,.agenda-time-slot{display:grid;place-items:center;border-bottom:1px solid rgba(199,170,120,.12)}.agenda-column-header{height:44px;min-height:44px;font-weight:800;font-size:1rem;box-sizing:border-box}.agenda-time-slot{height:100%;color:#916d39;font-size:.82rem;box-sizing:border-box;line-height:1}.agenda-time-head{background:#fff;position:sticky;top:0;z-index:3}.agenda-day-grid{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(88px,1fr);gap:6px;padding-bottom:8px}.agenda-now-line{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,#e66e3ceb,#e07c40c7);z-index:7;pointer-events:none;box-shadow:0 0 0 1px #ffffff47}.agenda-now-line:before{content:"";position:absolute;left:-6px;top:50%;width:12px;height:12px;border-radius:50%;background:#e4723f;transform:translateY(-50%);box-shadow:0 0 0 4px #e4723f2e}.agenda-now-line-label{position:absolute;top:50%;left:12px;transform:translateY(-50%);padding:3px 8px;border-radius:999px;background:#352a20eb;color:#fff8ef;font-size:.68rem;font-weight:700;letter-spacing:.04em}.module-shell{display:grid;gap:18px}.module-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-kpi-card{display:grid;gap:6px;min-height:120px}.module-kpi-card strong{font-size:2rem;line-height:1}.module-kpi-card span:last-child{color:#8f8578}.module-content-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.module-list-panel,.module-detail-panel{display:grid;gap:16px;align-content:start}.module-card-stack,.module-sublist{display:grid;gap:12px}.module-list-card{border:1px solid rgba(207,184,149,.2);border-radius:18px;background:#fff;padding:16px 18px;display:grid;gap:8px;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.module-list-card:hover,.module-list-card.active{transform:translateY(-2px);box-shadow:0 20px 36px #251d1214;border-color:#c7aa786b}.module-list-card-head,.module-subitem,.module-actions-row,.module-inline-metrics{display:flex;align-items:center;justify-content:space-between;gap:12px}.module-list-card>span,.module-detail-hero span,.module-subitem span,.module-inline-metrics span,.module-highlight-card p{color:#83796d}.module-list-card-meta,.module-subitem-right{display:grid;gap:4px;text-align:right}.module-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:700;background:#f0ebe2;color:#6b5a3d}.module-status-badge.aprovado,.module-status-badge.pago,.module-status-badge.ativo,.module-status-badge.concluida{background:#89ad7829;color:#50703f}.module-status-badge.aberto,.module-status-badge.a-vencer,.module-status-badge.parcial,.module-status-badge.pendente,.module-status-badge.em-revisao{background:#c7aa782e;color:#8c6a35}.module-status-badge.atrasado,.module-status-badge.inativo,.module-status-badge.suspenso{background:#c04d4d24;color:#a33d3d}.module-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#fffffff5,#faf3e8d6);border:1px solid rgba(207,184,149,.24)}.module-detail-hero strong{display:block;margin-bottom:6px;font-size:1.02rem}.module-detail-value{font-size:1.56rem;font-weight:800}.module-inline-metrics{padding:12px 14px;border-radius:16px;background:#fcfaf6;border:1px solid rgba(207,184,149,.16)}.module-inline-metrics>div{display:grid;gap:4px}.module-subitem{padding:14px 16px;border-radius:16px;background:#fff;border:1px solid rgba(207,184,149,.18)}.module-highlight-card{display:grid;gap:14px;padding:22px;border-radius:20px;background:linear-gradient(135deg,#fffffff2,#f8f0e4e0);border:1px solid rgba(207,184,149,.22)}.module-tag-grid{display:flex;flex-wrap:wrap;gap:8px}.module-tag{padding:8px 12px;border-radius:999px;background:#c7aa7824;color:#6b5732;font-size:.82rem;font-weight:700}.finance-main-panel{display:grid;gap:16px}.finance-tabs{display:flex;gap:8px;flex-wrap:wrap}.finance-tabs button{border:1px solid rgba(164,176,160,.28);background:#fff;color:#544b40;padding:10px 14px;border-radius:8px;cursor:pointer}.finance-tabs button.active{background:#4c685a1f;border-color:#4c685a6b;color:#305145}.finance-caixa-modos{display:flex;flex-wrap:wrap;gap:8px}.finance-caixa-modos button{border:1px solid rgba(164,176,160,.24);background:#fff;color:#544b40;padding:10px 12px;border-radius:8px;cursor:pointer}.finance-caixa-modos button.active{background:#4c685a1f;border-color:#4c685a61;color:#305145}.finance-module-grid{display:grid;gap:16px}.finance-legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.finance-span-all{grid-column:1 / -1}.finance-module-grid-two{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.finance-module-list,.finance-form-panel{display:grid;gap:16px}.finance-form-panel.finance-span-all{overflow:visible}.finance-module-subitem{align-items:flex-start}.finance-module-button{width:100%;text-align:left;cursor:pointer}.finance-module-button:hover{border-color:#4c685a52;box-shadow:0 12px 24px #1c221e0f}.finance-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.finance-form-grid label{display:grid;gap:6px}.finance-form-grid input,.finance-form-grid select,.finance-form-grid textarea{width:100%}.finance-span-2{grid-column:span 2}.finance-form-actions{display:flex;justify-content:flex-end;gap:8px}.finance-caixa-block{display:grid;gap:12px}.finance-inline-actions{display:flex;gap:8px;justify-content:flex-end}.finance-mini-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-mini-metrics>div{display:grid;gap:4px;padding:12px;background:#fff;border:1px solid rgba(164,176,160,.18);border-radius:8px}.finance-dropdown-shell{position:relative;display:grid;gap:8px}.finance-dropdown-list{position:absolute;top:100%;left:0;right:0;z-index:30;background:#fff;border:1px solid rgba(164,176,160,.24);border-radius:8px;box-shadow:0 18px 34px #1c221e14;max-height:280px;overflow:auto}.finance-dropdown-shell-inline .finance-dropdown-list{position:static;left:auto;right:auto;top:auto;margin-top:4px}.finance-dropdown-item{width:100%;border:0;border-bottom:1px solid rgba(164,176,160,.14);background:#fff;padding:12px 14px;text-align:left;display:grid;gap:4px;cursor:pointer}.finance-dropdown-item:last-child{border-bottom:0}.finance-dropdown-item:hover{background:#4c685a0f}.finance-selected-helper{color:var(--muted);font-size:.88rem}.finance-selected-card{padding:12px 14px;border:1px solid rgba(164,176,160,.2);border-radius:8px;background:#fff;display:grid;gap:4px}.finance-selected-list{display:grid;gap:8px}.finance-selected-card-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.finance-selected-card-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.finance-selected-card-total{display:grid;gap:4px;justify-items:end}.finance-inline-error{color:#a33d3d;font-weight:700}.agenda-day-column{display:grid;gap:0}.agenda-day-column-head{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;min-width:0;position:sticky;top:0;z-index:3;background:#fffcf7f5;box-sizing:border-box}.agenda-prof-chip{display:inline-flex;align-items:center;gap:6px;max-width:calc(100% - 4px);min-width:0;padding:4px 7px;border-radius:999px;font-weight:700;font-size:.74rem;line-height:1.05;white-space:normal;overflow-wrap:anywhere;justify-content:center;text-align:center}.agenda-prof-chip-copy{display:grid;gap:1px;min-width:0}.agenda-prof-chip-copy strong{font-size:.74rem;line-height:1.05}.agenda-prof-chip-copy span{font-size:.64rem;line-height:1.05;color:#3c3128b8}.agenda-prof-dot,.agenda-event-status-dot{width:12px;height:12px;border-radius:50%;flex:0 0 12px}.agenda-event-dot{width:10px;height:10px;border-radius:50%;flex:0 0 10px;box-shadow:0 0 0 2px #ffffffb8;margin-top:1px}.agenda-day-column-body{position:relative;display:grid;align-content:start;border-radius:0 0 10px 10px;overflow:hidden;border:1px solid rgba(199,170,120,.16);border-top:0}.agenda-lunch-block{position:absolute;left:0;right:0;z-index:2;background:#82828229;border-top:1px dashed rgba(96,96,96,.35);border-bottom:1px dashed rgba(96,96,96,.35);display:grid;place-items:center;pointer-events:none}.agenda-lunch-block span{font-size:.74rem;color:#5f5f5f;background:#ffffffbf;padding:2px 8px;border-radius:999px}.agenda-slot{appearance:none;width:100%;height:100%;box-sizing:border-box;padding:0;margin:0;line-height:0;font-size:0;border:0;border-bottom:1px solid rgba(199,170,120,.12);border-right:1px solid rgba(199,170,120,.08);background:transparent;cursor:pointer}.agenda-slot.consultorio-ocupado{background:#dc262624}.finance-receivables-grid-shell{overflow:auto;max-height:min(72vh,680px);border:1px solid rgba(199,170,120,.16);border-radius:14px;background:#fff;scrollbar-gutter:stable both-edges;scrollbar-width:auto;scrollbar-color:rgba(95,70,32,.45) rgba(247,241,232,.95)}.finance-receivables-grid-shell::-webkit-scrollbar{width:14px;height:14px}.finance-receivables-grid-shell::-webkit-scrollbar-track{background:#f7f1e8f2;border-radius:999px}.finance-receivables-grid-shell::-webkit-scrollbar-thumb{background:#5f462061;border-radius:999px;border:3px solid rgba(247,241,232,.95)}.finance-receivables-grid-shell::-webkit-scrollbar-thumb:hover{background:#5f46208c}.finance-receivables-grid{width:100%;min-width:1560px;border-collapse:separate;border-spacing:0;table-layout:fixed}.finance-receivables-grid thead th{position:sticky;top:0;z-index:2;background:#f7f1e8;color:#6a5030;font-size:.76rem;letter-spacing:.05em;text-transform:uppercase}.finance-receivables-grid th,.finance-receivables-grid td{padding:10px 12px;border-bottom:1px solid rgba(199,170,120,.12);text-align:left;vertical-align:middle}.finance-receivables-grid th:nth-child(1),.finance-receivables-grid td:nth-child(1){min-width:280px;width:280px}.finance-receivables-grid th:nth-child(2),.finance-receivables-grid td:nth-child(2){min-width:140px;width:140px}.finance-receivables-grid th:nth-child(3),.finance-receivables-grid td:nth-child(3){min-width:95px;width:95px}.finance-receivables-grid th:nth-child(4),.finance-receivables-grid td:nth-child(4),.finance-receivables-grid th:nth-child(8),.finance-receivables-grid td:nth-child(8){min-width:190px;width:190px}.finance-receivables-grid th:nth-child(5),.finance-receivables-grid td:nth-child(5){min-width:140px;width:140px}.finance-receivables-grid th:nth-child(6),.finance-receivables-grid td:nth-child(6),.finance-receivables-grid th:nth-child(7),.finance-receivables-grid td:nth-child(7){min-width:130px;width:130px}.finance-receivables-grid th:nth-child(9),.finance-receivables-grid td:nth-child(9){min-width:220px;width:220px}.finance-receivables-grid th:nth-child(10),.finance-receivables-grid td:nth-child(10){min-width:170px;width:170px}.finance-receivables-grid tbody tr:nth-child(2n){background:#f7f1e86b}.finance-receivables-grid input,.finance-receivables-grid select,.finance-receivables-grid textarea{width:100%;min-height:34px;border-radius:10px;border:1px solid rgba(199,170,120,.18);background:#fff;padding:6px 10px;font:inherit}.finance-receivables-grid textarea{min-height:92px;resize:vertical}.finance-receivables-patient-cell,.finance-receivables-patient-input{min-width:280px}.finance-receivables-patient-input{font-weight:600}.finance-grid-static-cell{display:inline-flex;align-items:center;min-height:34px;font-weight:700;color:var(--text)}.finance-grid-actions{display:flex;gap:8px;align-items:center}.finance-collections-grid{min-width:1980px}.finance-collections-grid th:nth-child(1),.finance-collections-grid td:nth-child(1){min-width:260px;width:260px}.finance-collections-grid th:nth-child(2),.finance-collections-grid td:nth-child(2){min-width:130px;width:130px}.finance-collections-grid th:nth-child(3),.finance-collections-grid td:nth-child(3){min-width:90px;width:90px}.finance-collections-grid th:nth-child(4),.finance-collections-grid td:nth-child(4){min-width:160px;width:160px}.finance-collections-grid th:nth-child(5),.finance-collections-grid td:nth-child(5){min-width:130px;width:130px}.finance-collections-grid th:nth-child(6),.finance-collections-grid td:nth-child(6){min-width:130px;width:130px}.finance-collections-grid th:nth-child(7),.finance-collections-grid td:nth-child(7){min-width:130px;width:130px}.finance-collections-grid th:nth-child(8),.finance-collections-grid td:nth-child(8){min-width:280px;width:280px}.finance-collections-grid th:nth-child(9),.finance-collections-grid td:nth-child(9){min-width:430px;width:430px}.finance-collections-grid th:nth-child(10),.finance-collections-grid td:nth-child(10){min-width:150px;width:150px}.finance-collections-patient{display:grid;gap:4px}.finance-collections-patient strong{color:var(--text)}.finance-collections-patient span,.finance-collections-empty{color:var(--muted)}.finance-collections-check{justify-content:center}.finance-collections-textarea{min-height:104px}.finance-collections-history{max-height:180px;overflow:auto;padding-right:4px}.finance-collections-actions{flex-direction:column;align-items:stretch}.finance-check-row{display:flex;align-items:center;gap:10px;min-height:42px}.finance-check-row input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 auto}.finance-history-shell{display:grid;gap:10px}.finance-history-list{display:grid;gap:8px}.finance-history-item{display:grid;gap:4px;padding:10px 12px;border:1px solid rgba(199,170,120,.14);border-radius:10px;background:#fffdf9c7}.finance-history-item strong{color:var(--text)}.finance-history-item span{color:var(--muted)}.agenda-event-card{position:absolute;left:2px;right:2px;border:1px solid rgba(77,73,63,.18);border-radius:7px;padding:4px;text-align:left;display:grid;grid-template-columns:10px minmax(0,1fr);align-items:start;column-gap:4px;cursor:pointer;overflow:hidden}.agenda-event-card-copy{min-width:0;display:grid;gap:2px}.agenda-event-card-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:.76rem;line-height:1.08;font-weight:800;text-transform:uppercase;word-break:normal;overflow-wrap:normal}.agenda-event-card-copy span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.68rem;color:#27231dbd;line-height:1.08;word-break:normal;overflow-wrap:normal}.agenda-event-card.compact{padding-top:4px;padding-bottom:4px}.agenda-event-card.compact .agenda-event-card-copy strong{-webkit-line-clamp:2;font-size:.77rem}.agenda-event-card.minimal{padding-top:3px;padding-bottom:3px}.agenda-event-card.minimal .agenda-event-card-copy strong{-webkit-line-clamp:1;font-size:.74rem}.agenda-event-card.financial-alert{border-color:#fff3;box-shadow:inset 0 0 0 1px #ffffff14}.agenda-event-card.financial-alert .agenda-event-card-copy strong,.agenda-event-card.financial-alert .agenda-event-card-copy span{color:#fff}.agenda-event-card.financial-alert .agenda-event-dot{background:#fff!important}.agenda-week-badge{display:inline-flex;align-items:center;gap:6px}.agenda-week-badge-dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px;background:#94a3b8;box-shadow:0 0 0 1px #ffffff70}.agenda-now-line{position:absolute;left:0;right:0;height:2px;background:var(--accent);box-shadow:0 0 0 1px #2f6a5229}.agenda-week-shell{display:grid;gap:0;overflow:auto;border:1px solid rgba(173,181,196,.55);border-radius:10px;background:#fff}.agenda-week-head,.agenda-week-grid-visual{display:grid;grid-template-columns:60px repeat(7,minmax(112px,1fr))}.agenda-week-head{position:sticky;top:0;z-index:2;background:#fff}.agenda-week-head>span{min-height:34px;padding:6px 4px 8px;text-align:center;border-right:1px solid rgba(173,181,196,.55);border-bottom:1px solid rgba(173,181,196,.55);color:#5d687a;display:grid;align-content:start;gap:6px;background:#fff}.agenda-week-head>span.active{background:#1f74d2;color:#fff}.agenda-week-head>span strong,.agenda-week-head>span small{display:block}.agenda-week-head>span small{min-height:1.1em;font-size:.72rem;opacity:.82}.agenda-week-prof-head-list{display:grid;gap:4px;width:100%}.agenda-week-prof-head-item{padding:4px 6px;border-radius:8px;color:#2f241d;font-size:.7rem;font-weight:700;line-height:1.15;text-transform:uppercase;letter-spacing:.03em}.agenda-week-grid-visual{min-height:0;overflow:auto}.agenda-week-times-visual{display:grid}.agenda-week-time-visual,.agenda-week-slot-line{height:24px;border-right:1px solid rgba(173,181,196,.5);border-bottom:1px solid rgba(173,181,196,.5)}.agenda-week-time-visual{color:#6a7689;display:flex;align-items:center;justify-content:center;background:#fff;font-size:.88rem}.agenda-week-day-column{position:relative;background:#fff}.agenda-week-day-column.current{background:#f8f2e3}.agenda-week-prof-columns{position:absolute;inset:0;display:grid;pointer-events:none;z-index:0}.agenda-week-prof-column{position:relative;min-width:0}.agenda-week-prof-divider{position:absolute;top:0;right:0;bottom:0;width:1px;background:#adb5c499}.agenda-week-holiday-label{position:absolute;top:6px;left:8px;right:8px;z-index:2;padding:3px 6px;border-radius:999px;background:#fff4d6f5;color:#7d5b12;font-size:.68rem;font-weight:700;text-align:center}.agenda-week-event-block{position:absolute;margin-left:2px;border:1px solid rgba(0,0,0,.06);border-radius:3px;color:#111;font-size:.7rem;font-weight:700;padding:3px 4px;overflow:hidden;text-align:left;z-index:1}.agenda-week-event-block span{display:block;white-space:normal;overflow:visible;text-overflow:initial;line-height:1.15}.agenda-week-event-block.financial-alert{color:#fff;border-color:#fff3}.agenda-month-shell{display:grid;gap:0;border:1px solid rgba(173,181,196,.55);border-radius:10px;overflow:hidden;background:#fff}.agenda-month-head,.agenda-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.agenda-month-head>div{min-height:28px;display:grid;place-items:center;color:#5d687a;background:#fff;border-right:1px solid rgba(173,181,196,.55);border-bottom:1px solid rgba(173,181,196,.55)}.agenda-month-grid{gap:0}.agenda-month-cell{appearance:none;min-height:128px;padding:4px;border:0;border-right:1px solid rgba(173,181,196,.55);border-bottom:1px solid rgba(173,181,196,.55);background:#fff;cursor:pointer;text-align:left;display:grid;grid-template-rows:auto 1fr;align-content:start}.agenda-month-cell.active{background:#64b9d7}.agenda-month-cell.muted{background:#fafafa}.agenda-month-day-number{color:#6a7689;font-size:.92rem;line-height:1}.agenda-month-markers{display:grid;align-content:start;gap:3px;margin-top:8px}.agenda-month-holiday-label{margin-top:4px;color:#8a6518;font-size:.64rem;font-weight:700;line-height:1.2}.agenda-month-marker{display:block;width:100%;height:10px;border-radius:3px;border:0;cursor:pointer}.agenda-detail-popover{position:fixed;width:340px;z-index:40;padding:18px;max-height:min(360px,calc(100vh - 40px));overflow-y:auto;overflow-x:hidden}.agenda-detail-popover:before{content:"";position:absolute;top:28px;width:16px;height:16px;background:var(--card);border-left:1px solid rgba(199,170,120,.16);border-top:1px solid rgba(199,170,120,.16);transform:rotate(-45deg)}.agenda-detail-popover.right:before{left:-8px}.agenda-detail-popover.left:before{right:-8px;transform:rotate(135deg)}.agenda-detail-header,.agenda-detail-actions,.agenda-procedimentos-contract-list{display:flex;gap:8px}.agenda-detail-header{align-items:center;margin-bottom:14px;justify-content:space-between}.agenda-detail-title{font-weight:700}.agenda-status-pill{padding:8px 12px;border-radius:999px;font-weight:700;font-size:.85rem;background:#c7aa7829}.agenda-status-pill.atendido{background:#84ad7729;color:#4f7643}.agenda-status-pill.confirmado,.agenda-status-pill.agendado{background:#2789e71f;color:#2b77bb}.agenda-status-pill.em-espera,.agenda-status-pill.aguardando{background:#f4c43033;color:#9c6a00}.agenda-status-pill.em-atendimento{background:#2f80ed24;color:#1f5fb8}.agenda-status-pill.atrasado{background:#d6454524;color:#b03838}.agenda-status-pill.faltou{background:#4b556329;color:#374151}.agenda-status-pill.cancelado{background:#8b5cf624;color:#6f42d9}.agenda-status-pill.desmarcado{background:#9b8f7a29;color:#6f6554}.agenda-status-select-row{display:flex;align-items:center;gap:8px}.agenda-detail-list{display:grid;gap:8px;color:var(--text);margin-bottom:16px}.agenda-finance-row{display:grid;gap:6px}.agenda-history-block{display:grid;gap:8px;padding-top:4px}.agenda-history-list{display:grid;gap:6px}.agenda-history-item{padding:8px 10px;border-radius:10px;background:#fffcf7d6;border:1px solid rgba(199,170,120,.14);color:var(--muted);line-height:1.5}.agenda-finance-pill{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-width:120px;padding:8px 12px;border-radius:999px;font-size:.84rem;font-weight:700}.agenda-finance-pill.ok{background:#66bb6a29;color:#2f7d32}.agenda-finance-pill.devedor{background:#d645451f;color:#b13d3d}.agenda-finance-pill.neutro{background:#94a3b824;color:#566275}.agenda-detail-actions{flex-wrap:wrap;margin-bottom:12px}.agenda-detail-action{width:36px;height:36px;border-radius:12px;border:1px solid rgba(199,170,120,.16);background:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.agenda-modal-shell{width:min(920px,calc(100vw - 20px));max-height:calc(100vh - 20px);background:var(--card);border-radius:20px;border:1px solid rgba(199,170,120,.18);box-shadow:0 30px 70px #0000002e;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}.agenda-modal-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid rgba(199,170,120,.12)}.agenda-modal-title-wrap{display:flex;align-items:center;gap:8px}.agenda-modal-title-wrap strong{font-size:.96rem}.agenda-modal-title-wrap span{color:#6f624d;font-size:.82rem}.agenda-modal-body{padding:10px 14px 6px;display:grid;gap:8px;overflow:auto;min-height:0}.agenda-modal-grid{display:grid;gap:8px}.agenda-modal-grid.top{grid-template-columns:1.1fr .95fr .95fr}.agenda-modal-grid.bottom{grid-template-columns:repeat(5,minmax(0,1fr))}.agenda-modal-grid label,.agenda-message-card{display:grid;gap:5px}.agenda-modal-grid label span,.agenda-message-card span,.agenda-procedimentos-header strong,.agenda-horarios-title{font-size:.84rem}.agenda-modal-grid input,.agenda-modal-grid select,.agenda-message-card select{width:100%;border:0;border-bottom:1px solid rgba(199,170,120,.3);padding:6px 4px;font-size:.94rem;background:transparent;outline:none}.agenda-message-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.agenda-message-card,.agenda-procedimentos-box{border:1px solid rgba(199,170,120,.16);border-radius:16px;padding:8px 10px;background:#fffffff5}.agenda-message-card span,.agenda-horarios-title{font-weight:700}.agenda-procedimentos-header{margin-bottom:6px}.agenda-procedimentos-contract-list{flex-wrap:wrap;gap:6px 12px}.agenda-contract-proc{display:flex;align-items:flex-start;gap:8px;min-width:180px}.agenda-contract-proc strong{font-size:.9rem;line-height:1.15}.agenda-contract-proc span{display:block;color:var(--muted);font-size:.76rem}.agenda-horarios-title{font-size:.84rem}.agenda-timeline-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.timeline-slot{appearance:none;min-height:34px;border:1px solid rgba(199,170,120,.12);background:#fff;color:var(--muted);text-align:left;padding:4px 5px;cursor:pointer}.timeline-slot span{font-size:.66rem}.timeline-slot.ocupado{background:#f4a1a8}.timeline-slot.consultorio-ocupado{background:#f6b2b7;border-color:#dc262642}.timeline-slot.selecionado{background:#59b6d5;color:#fff}.timeline-slot.bloqueado{background:#7d7d7d;color:#fff}.page-eyebrow,.panel-kicker{font-size:.7rem;margin-bottom:4px}.panel,.kpi-card,.patients-search-hero,.patient-hero,.summary-card,.patient-tabs-panel,.budget-card,.doc-card,.exam-card,.finance-card,.schedule-item,.placeholder-card,.placeholder-hero{border-radius:8px}.panel,.patients-search-hero,.patient-hero,.summary-card,.patient-tabs-panel,.placeholder-card,.placeholder-hero{padding:18px}.kpi-grid,.content-grid,.patient-layout-grid,.patient-chip-grid,.patient-results-grid,.doc-grid,.exam-grid,.budget-grid,.placeholder-grid{gap:14px}.kpi-card{min-height:168px;padding:18px}.kpi-icon{width:36px;height:36px;border-radius:12px}.kpi-title{margin-top:14px;font-size:.88rem}.kpi-value{margin-top:10px;font-size:1.95rem}.kpi-detail{margin-top:6px;font-size:.84rem}.panel-header{margin-bottom:16px}.panel-header h2{font-size:1.22rem}.panel-meta{font-size:.82rem}.panel-chart{min-height:380px}.chart-area{height:300px;gap:14px}.chart-series{border-radius:20px;padding:16px 16px 12px}.activity-table th,.activity-table td{padding-top:10px;padding-bottom:10px;font-size:.9rem}.patients-search-hero,.patient-hero{gap:18px}.patients-search-hero,.patient-hero{padding:20px}.patient-hero-copy h2{font-size:1.9rem}.patient-hero-meta{gap:8px}.patient-hero-meta span{font-size:.88rem}.patient-hero-actions{gap:8px}.primary-action,.ghost-action{padding:11px 14px;border-radius:14px}.icon-action{width:42px;height:42px;border-radius:6px}.patient-chip-card,.patient-result-card,.summary-card,.budget-card,.doc-card,.exam-card,.finance-card,.schedule-item{padding:14px}.patient-chip-card strong,.patient-result-card strong,.budget-card strong,.doc-card strong,.exam-card strong,.finance-card strong,.schedule-item strong{font-size:.98rem}.summary-card-title{font-size:.78rem}.summary-card-body strong{font-size:1.12rem}.patient-tabs-panel{padding:18px}.segmented-tab{padding:10px 14px;border-radius:14px;font-size:.9rem}.form-grid.two,.agenda-modal-grid.top,.agenda-modal-grid.bottom{gap:12px}.field-group label,.agenda-modal-grid label{gap:6px}.field-group input,.field-group select,.field-group textarea,.agenda-modal-grid input,.agenda-modal-grid select,.agenda-message-card select{padding-top:10px;padding-bottom:10px}.modal-shell,.drawer-shell,.agenda-modal-shell{border-radius:24px}.modal-shell{width:min(920px,calc(100vw - 28px));max-height:calc(100vh - 28px)}.modal-shell-budget{width:calc(100vw - 8px);max-width:none;height:calc(100vh - 8px);max-height:none;margin:4px;border-radius:0}.modal-header{padding:18px 20px 14px}.modal-body{padding:10px 20px 16px;gap:14px}.modal-footer{padding:0 20px 20px}.drawer-shell{width:min(440px,calc(100vw - 20px));padding:20px;gap:14px}.agenda-detail-popover{padding:16px}.agenda-modal-header{padding:16px 20px}.agenda-modal-body{padding:14px 20px 8px;gap:14px}.agenda-message-card,.agenda-procedimentos-box{padding:12px 14px;border-radius:16px}.timeline-slot{min-height:46px;padding:6px}.timeline-slot span{font-size:.76rem}.agenda-leftbar{display:grid;gap:18px}.agenda-mini-calendar{display:grid;gap:12px}.agenda-mini-header{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px}.agenda-mini-header>button{width:40px;height:40px;border-radius:14px;border:1px solid rgba(199,170,120,.18);background:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.agenda-mini-header>div{text-align:center;display:grid;gap:3px}.agenda-mini-header strong{font-size:.98rem;letter-spacing:.18em;color:#6f624d}.agenda-mini-header span{color:#9a8f80;font-size:.76rem}.agenda-mini-weekdays,.agenda-mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.agenda-mini-weekdays{color:#8f8578;font-size:.74rem;text-align:center}.agenda-mini-day{appearance:none;border:0;height:34px;border-radius:999px;background:transparent;color:#34281f;cursor:pointer;font-weight:500;transition:background .18s ease,color .18s ease,transform .18s ease}.agenda-mini-day:hover{background:#c7aa7824}.agenda-mini-day.active{background:linear-gradient(180deg,var(--accent) 0%,var(--accent-strong) 100%);color:#fff;font-weight:800;transform:translateY(-1px)}.agenda-mini-day.muted{color:#b2a99b}.agenda-profissionais-panel{display:grid;gap:12px}.agenda-profissionais-list{display:grid;gap:8px}.agenda-profissionais-actions{display:flex;gap:8px;flex-wrap:wrap}.agenda-prof-option{width:100%;border:1px solid rgba(199,170,120,.16);background:#ffffffeb;border-radius:16px;padding:10px 12px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.agenda-prof-option-dot-button,.agenda-prof-option-label{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer}.agenda-prof-option-dot-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.agenda-prof-option-label{flex:1 1 auto;display:flex;align-items:center;gap:8px;min-width:0;text-align:left;color:inherit;font:inherit}.agenda-prof-option-label input{margin:0;accent-color:var(--accent-strong)}.agenda-prof-option:hover,.agenda-prof-option.active{transform:translateY(-1px);border-color:#c7aa7857;background:#f6efe3d6;box-shadow:0 12px 24px #2d1f120f}.agenda-prof-option-dot{width:14px;height:14px;border-radius:4px;flex:0 0 14px}.modal-backdrop{position:fixed;inset:0;z-index:120;background:#100e0b61;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:14px}.agenda-modal-shell{position:relative;z-index:121}@media(max-width:1320px){.shell{grid-template-columns:292px minmax(0,1fr)}.shell.sidebar-collapsed{grid-template-columns:77px minmax(0,1fr)}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid,.patient-layout-grid,.patient-edit-shell,.agenda-shell{grid-template-columns:1fr}.agenda-leftbar{position:static}.patient-chip-grid,.patient-results-grid,.doc-grid,.exam-grid,.budget-grid,.placeholder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.dashboard-funnels-grid,.dashboard-funnel-shell,.shell,.shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(292px,calc(100vw - 42px));height:100dvh;transform:translate(-100%);box-shadow:18px 0 54px #08070657;transition:transform .22s ease}.sidebar-collapsed .sidebar{width:min(292px,calc(100vw - 42px));padding:18px 14px;gap:18px}.sidebar.open{transform:translate(0)}.topbar-menu-toggle{display:inline-flex;flex:0 0 auto}.sidebar-overlay-backdrop{display:block}.sidebar-collapsed .sidebar-toggle{display:none}.sidebar-collapsed .brand-card{align-items:flex-start;padding:18px;gap:14px}.sidebar-collapsed .brand-logo-wrap{width:148px;min-height:74px;padding:10px 14px}.sidebar-collapsed .brand-logo{width:124px}.sidebar-collapsed .brand-title,.sidebar-collapsed .sidebar-section-title,.sidebar-collapsed .menu-label,.sidebar-collapsed .sidebar-action-label{display:initial}.sidebar-collapsed .sidebar-user-info{display:grid}.sidebar-collapsed .menu-item{justify-content:flex-start;gap:14px;padding:13px 14px}.sidebar-collapsed .sidebar-user-card{display:grid;justify-content:initial;padding:12px}.sidebar-collapsed .sidebar-logout{min-height:initial;padding:10px 14px}.topbar,.topbar-left,.topbar-right{flex-direction:column;align-items:stretch}.search-box{min-width:0}.patients-search-hero,.patient-hero{grid-template-columns:1fr;display:grid}.budget-builder-grid{grid-template-columns:1fr}.budget-preview-panel{min-height:420px}.agenda-toolbar{grid-template-columns:1fr}.agenda-toolbar-left,.agenda-toolbar-center,.agenda-toolbar-right{flex-wrap:wrap;justify-content:center}.patient-hero-actions{flex-wrap:wrap}}@media(max-width:720px){.main-area{padding:16px}.kpi-grid{grid-template-columns:1fr}.bars{gap:8px}.brand-title{font-size:1.7rem}.patient-chip-grid,.patient-results-grid,.doc-grid,.exam-grid,.budget-grid,.placeholder-grid,.form-grid.two,.form-grid.three,.patient-list-row,.agenda-modal-grid.top,.agenda-modal-grid.bottom,.agenda-message-row,.agenda-month-grid,.finance-card,.schedule-item,.agenda-week-head,.agenda-week-grid,.agenda-day-layout{grid-template-columns:1fr}.agenda-detail-popover{position:static;width:auto}.budget-preview-item,.budget-preview-item-row{grid-template-columns:1fr}.budget-preview-value{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;box-shadow:inset 0 1px #ffffff2e}.budget-preview-value-actions{justify-content:flex-end}.budget-preview-detail-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.budget-preview-detail-body,.budget-preview-region-name,.budget-preview-detail-copy,.budget-preview-faces,.budget-preview-value-input{grid-column:2}.budget-preview-value-input{width:min(100%,150px);justify-self:end}}.agenda-tab-trigger{border:0;background:transparent;color:var(--muted);font-weight:600;font-size:.98rem;padding:0;cursor:pointer}.agenda-tab-trigger.active{color:var(--text)}.agenda-modal-shell.agenda-modal-shell-compact{width:min(980px,calc(100vw - 24px))!important;max-height:calc(100vh - 24px)!important;height:calc(100vh - 24px)!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}.agenda-config-shell{width:min(980px,calc(100vw - 24px))!important;max-height:calc(100vh - 24px)!important;display:flex;flex-direction:column;overflow:hidden}.agenda-modal-body.agenda-modal-body-tight{padding:8px 12px 6px!important;gap:8px!important;flex:1 1 auto;min-height:0;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable}.agenda-consulta-top-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:end}.agenda-span-2{grid-column:span 2}.agenda-paciente-field{position:relative}.agenda-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;background:#fff;border:1px solid rgba(199,170,120,.2);border-radius:14px;box-shadow:0 16px 36px #1410091f;display:grid;max-height:220px;overflow:auto}.agenda-dropdown button{border:0;background:transparent;text-align:left;padding:10px 12px;display:grid;gap:2px;cursor:pointer}.agenda-dropdown button:hover{background:#c7aa7814}.agenda-dropdown strong{font-size:.92rem}.agenda-dropdown span{font-size:.78rem;color:var(--muted)}.agenda-message-row.agenda-message-row-compact{grid-template-columns:1fr 1fr;gap:8px}.agenda-consulta-main-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:8px;align-items:start;min-height:0}.agenda-procedimentos-stack{display:grid;gap:12px;min-height:0}.agenda-procedimentos-section{display:grid;gap:6px}.agenda-procedimentos-section-label{padding-left:2px;color:var(--muted);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.agenda-procedimentos-box.compact{padding:12px 14px;border:1px solid rgba(199,170,120,.16);border-radius:16px;background:linear-gradient(180deg,#fffffffa,#fffcf7f5);box-shadow:0 10px 24px #100c060a}.agenda-procedimentos-contract-list.compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.agenda-procedimentos-header{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid rgba(199,170,120,.14)}.agenda-procedimentos-title-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.agenda-procedimentos-count{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:4px 8px;border-radius:999px;background:#f5efe5e6;border:1px solid rgba(199,170,120,.14);color:#8b7143!important;font-size:.72rem!important;font-weight:700}.agenda-procedimentos-header strong{font-size:.94rem;letter-spacing:-.02em}.agenda-procedimentos-header span{color:var(--muted);font-size:.75rem;line-height:1.4}.agenda-contrato-item{position:relative;min-height:60px;border:1px solid rgba(199,170,120,.18);background:linear-gradient(180deg,#fffffff5,#f8f1e461);border-radius:12px;padding:9px 12px 9px 32px;display:flex;gap:8px;align-items:flex-start;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.agenda-contrato-item:hover{transform:translateY(-1px);border-color:#c7aa7847;box-shadow:0 10px 22px #100c060f}.agenda-contrato-item.selected{background:linear-gradient(180deg,#f5e1b452,#fff8e9f5);border-color:#c7aa7866;box-shadow:0 12px 24px #c7aa7829}.agenda-contrato-item svg{position:absolute;left:10px;top:10px;flex:0 0 auto;margin-top:0;color:#c7aa7899}.agenda-contrato-item.selected svg{color:var(--brand-strong)}.agenda-contrato-item strong{display:block;font-size:.89rem;line-height:1.2;color:var(--text)}.agenda-contrato-item span{display:block;color:var(--muted);font-size:.74rem;margin-top:3px}.agenda-manual-row{display:grid;grid-template-columns:minmax(0,1fr) 96px 108px;gap:8px;align-items:end;margin-bottom:0;padding:10px 12px;border-radius:12px;background:#f5efe573;border:1px solid rgba(199,170,120,.12)}.agenda-manual-row label.small{max-width:96px}.agenda-manual-row label span{font-size:.72rem;font-weight:600;color:var(--muted)}.agenda-manual-row input,.agenda-manual-row select{background:#fff;min-height:38px}.agenda-work-row{grid-template-columns:minmax(220px,1.2fr) minmax(180px,220px);align-items:end}.agenda-work-row .agenda-span-2{grid-column:auto}.agenda-work-row>label:first-child{grid-column:1}.agenda-work-row>label.small{grid-column:2}.agenda-work-row>label:last-of-type{grid-column:1}.agenda-add-procedimento{min-height:38px;align-self:stretch;box-shadow:none;padding-inline:14px;border-radius:12px;font-size:.92rem}.agenda-selected-procedures{display:grid;gap:8px;min-height:34px;margin-bottom:10px}.agenda-procedimento-chip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border-radius:12px;background:linear-gradient(180deg,#fffffffa,#faf6efd1);border:1px solid rgba(199,170,120,.16)}.agenda-procedimento-chip-copy{display:grid;gap:2px;min-width:0}.agenda-procedimento-chip strong{display:block;font-size:.88rem;line-height:1.2}.agenda-procedimento-chip span{display:block;font-size:.74rem;color:var(--muted)}.agenda-procedimento-chip button{border:0;background:#f5efe5d9;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted);width:28px;height:28px;border-radius:999px;transition:background .16s ease,color .16s ease}.agenda-procedimento-chip button:hover{background:#c7aa782e;color:var(--text)}.agenda-observacao-field textarea{width:100%;border:1px solid rgba(199,170,120,.18);border-radius:14px;padding:10px 12px;font:inherit;resize:none;background:#fff}.agenda-detail-backdrop{position:fixed;inset:0;background:transparent;border:0;z-index:39}.agenda-observacao-field span{font-size:.76rem;font-weight:600;color:var(--muted)}.agenda-check-field{display:flex;align-items:center;justify-content:space-between;gap:12px}.agenda-check-field.inline{justify-content:flex-end}.agenda-radio-row{display:flex;gap:18px;align-items:center;min-height:40px}.agenda-radio-row label{display:inline-flex;align-items:center;gap:8px}.agenda-config-list{display:grid;gap:14px;padding-bottom:12px}.agenda-config-fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:8px}.agenda-config-readonly-note{font-size:.76rem;color:var(--muted);padding:4px 2px 0}.agenda-config-card{border:1px solid rgba(199,170,120,.16);border-radius:8px;background:#fff;padding:16px;display:grid;gap:12px;cursor:grab}.agenda-config-card.dragging{opacity:.55;border-color:#2c5c5459;box-shadow:0 12px 30px #14100914}.agenda-slot.unavailable,.timeline-slot.unavailable{opacity:.35;background:#94a3b81f;cursor:not-allowed}.agenda-day-unavailable{position:absolute;inset:0;background:#ffffff73;z-index:2;display:flex;align-items:flex-start;justify-content:center;pointer-events:none}.agenda-day-unavailable span{margin-top:10px;padding:4px 8px;border-radius:999px;background:#ffffffe6;border:1px solid rgba(199,170,120,.16);color:var(--muted);font-size:.72rem;font-weight:700}.agenda-config-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.agenda-config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,180px));gap:12px}.agenda-config-days{display:flex;flex-wrap:wrap;gap:8px}.agenda-config-day{appearance:none;border:1px solid rgba(199,170,120,.16);background:#fff;border-radius:6px;padding:8px 10px;cursor:pointer}.agenda-config-day.active{background:#2f6a521f;border-color:#2f6a524d}.agenda-config-day.current{box-shadow:inset 0 0 0 2px #2f6a522e}.empty-inline{display:block;padding:10px 12px;border:1px dashed rgba(199,170,120,.28);border-radius:12px;background:#fffcf7d1;font-size:.8rem;color:var(--muted)}.agenda-inline-hint{margin-top:8px;padding:8px 10px;border-radius:10px;background:#c7aa781f;color:var(--muted);font-size:.78rem}.agenda-inline-error{margin-top:8px;padding:8px 10px;border-radius:10px;background:#a33c3314;color:#9a3d35;border:1px solid rgba(163,60,51,.12);font-size:.8rem;font-weight:700}.agenda-inline-finance.blocked{background:#a33c3314;border:1px solid rgba(163,60,51,.12)}.agenda-patient-finance{color:var(--muted);font-size:.78rem}.agenda-patient-finance.blocked,.agenda-inline-finance.blocked{color:#9a3d35;font-weight:700}.crm-shell{gap:1rem}.crm-tabs-panel{padding:.85rem}.crm-tabs-shell{margin:0}.crm-report-tabs-shell{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.65rem}.crm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.crm-section-hidden{display:none!important}.crm-panel{display:flex;flex-direction:column;gap:1rem}.crm-list,.crm-pipeline-list{display:flex;flex-direction:column;gap:.9rem}.crm-list-item,.crm-pipeline-card{border:1px solid rgba(198,176,139,.28);border-radius:18px;padding:1rem 1.1rem;background:#ffffffd1}.crm-pipeline-card-preview{border-style:dashed;background:#f8f4eceb}.crm-list-item{display:flex;align-items:center;justify-content:space-between;gap:1rem}.crm-list-item strong,.crm-pipeline-card strong{display:block;color:#2f241d}.crm-list-item span,.crm-pipeline-card span{color:#7d6b5d;font-size:.92rem}.crm-list-item-meta,.crm-inline-actions,.crm-footer-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.crm-pipeline-card{display:flex;flex-direction:column;gap:1rem}.crm-filter-row,.crm-manual-entry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem}.crm-filter-row label,.crm-manual-entry-form label,.crm-manual-entry-header{display:flex;flex-direction:column;gap:.45rem}.crm-filter-row label span,.crm-manual-entry-form label span,.crm-manual-entry-header span{color:#7a685a;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.crm-filter-row input,.crm-filter-row select,.crm-manual-entry-form input{min-height:48px;border-radius:14px;border:1px solid rgba(198,176,139,.38);background:#ffffffe6;padding:.8rem .95rem;font:inherit;color:#2d241c}.crm-report-letter-bar{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:1rem}.crm-filter-row-report{margin-bottom:1rem}.crm-manual-entry,.crm-selector-card{border:1px solid rgba(198,176,139,.24);border-radius:18px;padding:1rem 1.1rem;background:#f8f4ecb8}.crm-selector-grid{display:grid;grid-template-columns:1fr;gap:.9rem 1rem}.crm-kanban-board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:1rem;margin-top:1rem;overflow-x:auto;padding-bottom:.25rem}.crm-kanban-column{display:flex;flex-direction:column;gap:.85rem;min-height:320px;padding:.9rem;border:1px solid rgba(198,176,139,.24);border-radius:18px;background:linear-gradient(180deg,#ffffffeb,#f8f4ecf5)}.crm-kanban-column-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.crm-kanban-column-header strong{display:block;color:#2f241d}.crm-kanban-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:.2rem .55rem;border-radius:999px;background:#2f6a521f;color:#2f6a52;font-weight:800}.crm-kanban-cards{display:flex;flex-direction:column;gap:.75rem}.crm-kanban-card{display:grid;gap:.7rem;padding:.95rem;border-radius:16px;border:1px solid rgba(198,176,139,.28);background:#fff;box-shadow:0 10px 24px #241b130f;cursor:grab;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.crm-kanban-card:hover,.crm-kanban-card.active{transform:translateY(-1px);border-color:#2f6a5261;box-shadow:0 16px 34px #241b131a}.crm-kanban-card.dragging{opacity:.55;cursor:grabbing}.crm-kanban-card-top strong,.crm-kanban-card-top span,.crm-kanban-card-meta span{display:block}.crm-kanban-card-meta{display:grid;gap:.22rem}.crm-kanban-card-meta span{color:#7a685a;font-size:.82rem}.crm-kanban-empty{padding:1rem;border:1px dashed rgba(198,176,139,.42);border-radius:16px;color:#7a685a;text-align:center;background:#ffffffa8}.crm-funnel-grid-shell{margin-top:1rem;border:1px solid rgba(198,176,139,.22);border-radius:16px;background:#ffffffeb;overflow:auto}.crm-funnel-table{width:100%;min-width:980px;border-collapse:collapse}.crm-funnel-table th,.crm-funnel-table td{padding:.85rem .9rem;border-bottom:1px solid rgba(198,176,139,.16);text-align:left;vertical-align:top}.crm-funnel-table th{position:sticky;top:0;z-index:1;background:#f6efe3;color:#7a685a;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}.crm-funnel-table tbody tr{cursor:pointer}.crm-funnel-table tbody tr:hover{background:#3e71590d}.crm-funnel-table tbody tr.active{background:#3e71591a}.crm-funnel-table td strong,.crm-funnel-table td span{display:block}.crm-funnel-table td span{color:#7a685a;font-size:.82rem;margin-top:.18rem}.crm-selector-grid label{display:flex;flex-direction:column;gap:.45rem}.crm-selector-grid label span{color:#7a685a;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.crm-manual-entry-header{margin-bottom:.9rem}.crm-manual-entry-header strong{color:#2f241d}.crm-manual-entry-form button{align-self:end}.crm-pipeline-card-header,.crm-pipeline-card-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.crm-origin-tags{display:flex;gap:.5rem;flex-wrap:wrap}.crm-tag{display:inline-flex;align-items:center;padding:.35rem .8rem;border-radius:999px;background:#3e71591f;color:#2f6d55;font-size:.82rem;font-weight:700}.crm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem}.crm-form-grid label{display:flex;flex-direction:column;gap:.45rem}.crm-form-grid label span{color:#7a685a;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.crm-form-grid input,.crm-form-grid select,.crm-form-grid textarea,.crm-selector-grid input,.crm-selector-grid select{min-height:48px;border-radius:14px;border:1px solid rgba(198,176,139,.38);background:#ffffffe6;padding:.8rem .95rem;font:inherit;color:#2d241c}.crm-form-grid textarea{min-height:120px;resize:vertical}.crm-rescue-grid-shell{max-height:68vh;overflow-x:auto;overflow-y:auto;scrollbar-gutter:stable both-edges;scrollbar-width:auto;border:1px solid rgba(199,170,120,.16);border-radius:14px;background:#fff}.crm-rescue-grid{min-width:2940px;table-layout:fixed}.crm-rescue-grid-shell::-webkit-scrollbar{width:14px;height:14px}.crm-rescue-grid-shell::-webkit-scrollbar-track{background:#efe5d4;border-radius:999px}.crm-rescue-grid-shell::-webkit-scrollbar-thumb{background:#b99662;border-radius:999px;border:3px solid #efe5d4}.crm-rescue-grid-shell::-webkit-scrollbar-thumb:hover{background:#9d7c4a}.crm-rescue-grid textarea{min-height:72px;resize:vertical;width:100%}.crm-rescue-grid td select,.crm-rescue-grid td input,.crm-rescue-grid td textarea{min-width:0;width:100%}.crm-rescue-grid th,.crm-rescue-grid td{vertical-align:top}.crm-rescue-status-cell{min-width:220px}.crm-rescue-status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:140px;margin-bottom:8px;padding:6px 12px;border-radius:999px;font-size:.82rem;font-weight:700;white-space:nowrap}.crm-rescue-status-em-tratamento,.crm-rescue-status-em-tratativa{background:#407d5e29;color:#2f6a4e}.crm-rescue-status-ligar-novamente{background:#b896622e;color:#7b5a27}.crm-rescue-status-desistente{background:#ba575729;color:#9b3f3f}.crm-rescue-status-convertido{background:#4c96682e;color:#246744}.crm-rescue-text-cell{min-width:220px;white-space:normal;word-break:break-word}.crm-rescue-history-cell{min-width:340px}.crm-rescue-history-item{padding:10px 12px;border:1px solid rgba(199,170,120,.16);border-radius:12px;background:#f7f1e8b3;white-space:normal;word-break:break-word}.crm-rescue-history-item+.crm-rescue-history-item{margin-top:8px}.crm-rescue-text-cell strong,.crm-rescue-text-cell span{display:block}.crm-inline-actions-column{flex-direction:column;align-items:stretch;min-width:90px}.budget-crm-shortcut{display:grid;gap:12px;padding:14px;border:1px solid rgba(188,145,85,.14);border-radius:12px;background:#fffdfae6}.budget-crm-shortcut-head{display:grid;gap:4px}.budget-crm-shortcut-head span,.budget-crm-last-touch span,.budget-crm-history-item span{color:var(--muted);font-size:.84rem}.budget-crm-shortcut-actions{display:flex;justify-content:flex-end}.budget-crm-last-touch{display:grid;gap:4px;padding:10px 12px;border-radius:10px;background:#f7f1e8cc}.budget-crm-history-list{display:grid;gap:10px;max-height:200px;overflow:auto}.budget-crm-history-item{display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(199,170,120,.16);border-radius:10px;background:#fff}.budget-crm-history-top{display:flex;justify-content:space-between;gap:12px}.budget-crm-history-item p{margin:0;white-space:pre-wrap}.crm-field-wide{grid-column:1 / -1}.crm-pipeline-panel{margin-top:.25rem}.patient-record-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.patient-record-topbar .icon-action{white-space:nowrap}.patient-record-tabs{min-width:0;flex:1 1 auto}.patient-finalizar-action{flex:0 0 auto;min-width:210px;justify-content:center}@media(max-width:980px){.checklist-summary-grid,.crm-grid{grid-template-columns:1fr}.crm-kanban-board{grid-template-columns:repeat(8,minmax(240px,1fr))}.crm-form-grid,.crm-filter-row,.crm-manual-entry-form{grid-template-columns:1fr}.crm-pipeline-card-header,.crm-pipeline-card-footer,.crm-list-item{flex-direction:column;align-items:flex-start}.patient-record-topbar{flex-direction:column;align-items:stretch}.checklist-item-top{flex-direction:column}}.agenda-horarios-block-tight{padding:8px 10px;border:1px solid rgba(199,170,120,.16);border-radius:16px;background:#fff}.agenda-horarios-title-wrap{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}.agenda-horarios-title-wrap span{color:var(--muted);font-size:.76rem}.agenda-timeline-picker.compact{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}.agenda-modal-footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:10px 0 2px;margin-top:2px;background:linear-gradient(180deg,#fff0,#fffdfaeb 28%,#fffdfa);border-top:1px solid rgba(199,170,120,.08)}.primary-action.compact,.agenda-modal-footer .primary-action,.agenda-modal-footer .ghost-action{padding:8px 11px;min-height:36px}.agenda-resumo-horario{min-width:0}.agenda-modal-shell-compact .agenda-modal-header{padding:10px 12px!important}.agenda-modal-shell-compact .agenda-tab-trigger{font-size:.92rem}.agenda-modal-shell-compact .agenda-modal-grid label span,.agenda-modal-shell-compact .agenda-message-card span,.agenda-modal-shell-compact .agenda-procedimentos-header strong,.agenda-modal-shell-compact .agenda-horarios-title-wrap strong{font-size:.78rem}.agenda-modal-shell-compact .agenda-modal-grid input,.agenda-modal-shell-compact .agenda-modal-grid select,.agenda-modal-shell-compact .agenda-message-card select{padding-top:7px!important;padding-bottom:7px!important;font-size:.92rem}.agenda-modal-shell-compact .agenda-message-card,.agenda-modal-shell-compact .agenda-procedimentos-box{padding:9px 10px!important;border-radius:14px!important}.agenda-modal-shell-compact .timeline-slot{min-height:30px!important;padding:4px!important}.agenda-modal-shell-compact .timeline-slot span{font-size:.68rem!important}@media(max-width:1280px){.agenda-consulta-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-consulta-main-grid{grid-template-columns:1fr}.agenda-span-2{grid-column:span 1}}.clinical-odontograma-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:18px;align-items:start}.clinical-odontograma-main,.clinical-element-list{background:#fff;border:1px solid var(--line-soft);box-shadow:0 10px 28px #1f1a140f}.clinical-odontograma-main{padding:18px}.clinical-odontograma-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.clinical-odontograma-toolbar label{display:grid;gap:8px;min-width:220px}.clinical-odontograma-search{min-width:min(420px,100%);flex:1 1 320px}.clinical-odontograma-stack{display:grid;gap:18px}.clinical-odontograma-toolbar span,.clinical-element-list-header span{color:var(--text-muted);letter-spacing:.08em}.clinical-element-list{min-height:100%;display:grid;grid-template-rows:auto 1fr}.clinical-element-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line-soft)}.clinical-element-list-body{display:grid;gap:12px;max-height:520px;overflow:auto;padding:16px 18px 18px}.clinical-element-card{border:1px solid var(--line-soft);background:#fbfaf7;padding:14px;display:grid;gap:12px}.clinical-element-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.clinical-element-procedures{display:flex;flex-wrap:wrap;gap:8px}.clinical-element-procedure{border:1px solid rgba(78,102,72,.2);background:#4e664814;color:var(--text-primary);padding:6px 10px}.guides-shell{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.6fr);gap:16px}.guides-page{display:grid;gap:16px}.guides-page-tabs{display:inline-flex;width:fit-content;padding:5px;border:1px solid var(--line-soft);border-radius:18px;background:#ffffffc7;box-shadow:0 8px 24px #1f1a140f}.guides-page-tabs button,.guide-segmented button{border:0;border-radius:13px;padding:10px 16px;background:transparent;color:var(--text-muted);font-weight:700}.guides-page-tabs button.active,.guide-segmented button.active{color:#fff;background:var(--brand-deep, #263c32);box-shadow:0 7px 16px #263c3233}.guide-control{display:grid;gap:16px;min-width:0}.guide-control-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px}.guide-control-header h2{margin:3px 0 5px}.guide-control-header p{margin:0;color:var(--text-muted)}.guide-control-actions,.guide-card-buttons,.guide-move-form>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guide-control-actions .ghost-action,.guide-card-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.guide-upcoming-panel{display:grid;gap:15px;padding:20px 22px}.guide-upcoming-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.guide-upcoming-head h3{margin:3px 0 4px;font-size:20px}.guide-upcoming-head p{margin:0;color:var(--text-muted);font-size:13px}.guide-upcoming-count{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;border-radius:999px;background:#f1eadc;color:#67543d;font-size:12px;font-weight:800}.guide-upcoming-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px}.guide-upcoming-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-width:0;padding:13px;border:1px solid var(--line-soft);border-radius:15px;background:#ffffffc7}.guide-upcoming-date{display:grid;gap:2px;min-width:58px;padding-right:12px;border-right:1px solid var(--line-soft)}.guide-upcoming-date strong{font-size:12px;text-transform:capitalize}.guide-upcoming-date span{font-size:17px;font-weight:800;color:var(--brand-deep, #263c32)}.guide-upcoming-copy{display:grid;gap:2px;min-width:0}.guide-upcoming-copy strong,.guide-upcoming-copy span,.guide-upcoming-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-upcoming-copy strong{font-size:14px}.guide-upcoming-copy span,.guide-upcoming-copy small{color:var(--text-muted);font-size:11px}.guide-upcoming-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:125px;padding:6px 8px;border-radius:999px;background:#f1eadc;color:#745f42;font-size:10px;font-weight:800;text-align:center}.guide-upcoming-status.ready{color:#315f4b;background:#e2f0e7}.guide-upcoming-empty{padding:18px;border:1px dashed var(--line-soft);border-radius:14px;color:var(--text-muted);text-align:center;font-size:13px}.guide-segmented{display:flex;padding:4px;border-radius:15px;background:#263c3212}.guide-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(285px,1fr);gap:14px;overflow-x:auto;padding:2px 2px 16px;align-items:start}.guide-kanban-column{min-width:0;border:1px solid var(--line-soft);border-radius:22px;background:#f4f0e8b3;overflow:hidden}.guide-kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid var(--line-soft);background:#ffffffbd}.guide-kanban-column>header div{display:grid;gap:3px}.guide-kanban-column>header span{font-size:10px;letter-spacing:.14em;color:var(--text-muted)}.guide-kanban-column>header strong{font-size:15px}.guide-kanban-column>header b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#e7dcc5;color:#44392d}.guide-kanban-list{display:grid;gap:11px;padding:12px}.guide-card{display:grid;gap:10px;padding:16px;border:1px solid rgba(68,57,45,.11);border-radius:18px;background:#fff;box-shadow:0 9px 24px #1f1a140e}.guide-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.guide-id{font-size:10px;letter-spacing:.12em;color:var(--text-muted);font-weight:800}.guide-current-status{max-width:150px;padding:5px 8px;border-radius:999px;background:#edf2e9;color:#496345;font-size:10px;font-weight:800;text-align:center}.guide-card h3{margin:0;font-size:17px;line-height:1.2}.guide-record{margin:-7px 0 0;color:var(--text-muted);font-size:12px}.guide-procedure{display:grid;gap:3px;padding:10px 11px;border-radius:12px;background:#f7f3eb}.guide-procedure strong{font-size:13px}.guide-procedure span,.guide-meta{color:var(--text-muted);font-size:12px}.guide-meta{display:flex;align-items:center;gap:7px}.guide-card-buttons>button{flex:1;min-width:112px}.guide-move-form{display:grid;gap:10px;padding:13px;border-radius:14px;background:#f7f3eb}.guide-move-form label{display:grid;gap:5px}.guide-move-form label>span{font-size:11px;font-weight:800;color:var(--text-muted)}.guide-move-form select,.guide-move-form textarea,.guide-lab-add input,.guide-lab-row input{width:100%;border:1px solid var(--line-soft);border-radius:11px;background:#fff;padding:10px}.guide-history{display:grid;gap:0;padding-top:4px}.guide-history>div{display:grid;grid-template-columns:12px 1fr;gap:7px;min-height:45px}.guide-history i{position:relative;width:8px;height:8px;margin-top:5px;border-radius:50%;background:#b98948}.guide-history i:after{content:"";position:absolute;top:10px;bottom:-35px;left:3px;width:1px;background:#dfd6c8}.guide-history>div:last-child i:after{display:none}.guide-history p{display:grid;gap:2px;margin:0;font-size:12px}.guide-history small{color:var(--text-muted);line-height:1.4}.guide-column-empty{padding:28px 12px;text-align:center;color:var(--text-muted);font-size:13px}.guide-labs-panel{display:grid;gap:14px;padding:20px}.guide-lab-add{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px}.guide-lab-add button{display:inline-flex;align-items:center;gap:6px}.guide-lab-list{display:grid;gap:8px}.guide-lab-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:8px;align-items:center}.guide-status-dot{padding:6px 10px;border-radius:999px;font-size:10px;font-weight:800}.guide-status-dot.active{color:#476340;background:#e8f0e4}.guide-status-dot.inactive{color:#98534f;background:#f5e4e2}@media(max-width:760px){.guide-control-header,.guide-control-actions{align-items:stretch;flex-direction:column}.guide-segmented{width:100%}.guide-segmented button{flex:1}.guide-kanban{grid-auto-columns:minmax(270px,88vw)}.guide-lab-row{grid-template-columns:1fr auto}.guide-lab-row input{grid-column:1 / -1}.guide-upcoming-head{align-items:flex-start;flex-direction:column}.guide-upcoming-item{grid-template-columns:auto minmax(0,1fr)}.guide-upcoming-status{grid-column:2;justify-self:start}}.agenda-event-card.work-ready{box-shadow:inset 0 0 0 2px #2f694e57,0 7px 18px #2a4b3a1f}.agenda-week-event-block.work-ready{box-shadow:inset 0 0 0 2px #e8f4eb,0 0 0 2px #2f694e}.agenda-month-marker.work-ready{outline:2px solid #2f694e;outline-offset:1px}.agenda-event-card-copy .agenda-work-ready-label{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:2px 6px;border-radius:999px;background:#2f694e;color:#fff;font-size:9px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.03em}.agenda-work-ready-detail{display:flex!important;align-items:center;gap:7px;padding:9px 11px;border-radius:10px;background:#e5f1e8;color:#2f694e}.guides-sidebar,.guides-main{display:grid;gap:16px;align-content:start}.guides-search{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:16px;background:#fffffff0}.guides-search input{border:0;background:transparent;width:100%;min-width:0}.guides-patient-list{display:grid;gap:10px}.guides-patient-card{border:1px solid var(--line-soft);border-radius:16px;background:#fff;padding:14px;display:grid;gap:4px;text-align:left}.guides-patient-card.active{border-color:#4e664873;background:#f6efe3d6;box-shadow:0 10px 28px #1f1a1414}.guides-patient-card small{color:var(--text-muted)}.guides-main-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.guides-main-header p{margin:6px 0 0;color:var(--text-muted)}.guides-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:1180px){.clinical-odontograma-layout,.guides-shell,.guides-summary-grid{grid-template-columns:1fr}.clinical-element-list-body{max-height:none}.odontograma-row{grid-template-columns:repeat(8,minmax(0,1fr))}.odontograma-component.decidua .odontograma-row{grid-template-columns:repeat(5,minmax(0,1fr))}}.users-permission-grid{grid-template-columns:minmax(320px,.9fr) minmax(0,1.5fr);align-items:start}.users-list-item{width:100%;text-align:left;background:#fff}.users-list-item.active{border-color:#4e664873;box-shadow:0 10px 28px #1f1a1414}.users-permission-sections{display:grid;gap:18px}.users-permission-section{border:1px solid var(--line-soft);background:#fbfaf7;padding:18px;display:grid;gap:16px}.users-permission-section-head{display:grid;gap:6px}.users-permission-section-head span{color:var(--text-muted)}.users-permission-table{display:grid;gap:8px}.users-permission-row{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--line-soft);background:#fff}.users-permission-label{font-weight:700;color:var(--text-primary)}.users-permission-actions{display:flex;flex-wrap:wrap;gap:8px}.permission-chip{border:1px solid var(--line-soft);background:#fff;color:var(--text-secondary);padding:8px 12px;cursor:pointer}.permission-chip.active{border-color:#4e664866;background:#4e66481a;color:var(--text-primary)}.users-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.users-create-grid-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.users-create-grid label{display:grid;gap:8px}.users-create-grid label span{color:var(--text-muted)}.users-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.users-profile-grid label{display:grid;gap:8px}.users-profile-grid label span{color:var(--muted)}.users-profile-grid input,.users-profile-grid select{width:100%}.users-template-actions{display:flex;gap:8px;flex-wrap:wrap}.users-agenda-grid{display:grid;gap:14px}.users-agenda-grid>label{display:grid;gap:8px;max-width:240px}.users-agenda-grid>label span,.users-agenda-day-grid label span,.users-agenda-day-toggle span{color:var(--text-muted)}.users-agenda-day-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line-soft);background:#fff}.users-agenda-day-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.users-agenda-day-toggle{display:inline-flex;align-items:center;gap:8px}.users-agenda-day-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.users-agenda-day-grid label{display:grid;gap:8px}.users-password-panel{display:grid;gap:12px;padding:14px;border:1px solid var(--line-soft);background:#fff}.users-password-panel label{display:grid;gap:8px}.users-password-panel label span{color:var(--text-muted)}.users-password-feedback{margin:0;font-weight:600}.users-password-feedback.success{color:#3f6c56}.users-password-feedback.error{color:#a33c33}.user-password-modal{width:min(460px,calc(100vw - 32px))}.procedures-grid{grid-template-columns:minmax(360px,1fr) minmax(420px,1.1fr)}.procedures-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.procedures-search{min-width:280px;flex:1 1 280px;display:flex;align-items:center;gap:8px;border:1px solid var(--line-soft);background:#fff;padding:0 12px}.procedures-search input{border:0;background:transparent;width:100%;min-height:42px}.procedures-list{margin-top:12px}.procedures-list-item{width:100%;text-align:left;background:#fff}.procedures-list-item.active{border-color:#4e664873;box-shadow:0 10px 28px #1f1a1414}.procedures-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procedures-form-wide{grid-column:1 / -1}.procedures-inline-check{display:flex;align-items:center;gap:8px}.ghost-action.danger{border-color:#a33c3340;color:#a33c33}.os-steps-box{display:grid;gap:12px;padding:16px;border:1px solid var(--line-soft);background:#fff}.clinical-panel-header.compact{padding:0;border:0;background:transparent}.os-steps-list{display:grid;gap:8px}.os-step-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:8px;align-items:center}.checkbox-row{display:inline-flex;align-items:center;gap:10px;min-height:44px}.checkbox-row input[type=checkbox]{width:16px;height:16px}.clinical-element-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.clinical-element-row.muted{color:var(--text-secondary)}.clinical-element-note{margin:0;color:var(--text-secondary);line-height:1.5}@media(max-width:1180px){.users-permission-grid,.users-permission-row,.users-create-grid,.users-profile-grid{grid-template-columns:1fr}.users-agenda-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procedures-grid,.procedures-form-grid,.os-step-row{grid-template-columns:1fr}}.treatment-plan-shell{display:grid;gap:18px;width:100%}.treatment-plan-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.treatment-plan-header h3{margin:4px 0 6px;font-size:1.35rem}.treatment-plan-header p{margin:0;max-width:720px;color:#746b5f;line-height:1.5}.treatment-plan-summary{min-width:130px;padding:14px 18px;border-radius:16px;background:#f8f4ec;border:1px solid rgba(172,135,76,.18);text-align:center}.treatment-plan-summary strong{display:block;color:#86652f;font-size:1.35rem}.treatment-plan-summary span{color:#746b5f;font-size:.78rem}.treatment-plan-add,.treatment-step-add{display:flex;gap:10px;align-items:center}.treatment-plan-add select,.treatment-plan-add input{flex:1 1 220px;min-width:0}.treatment-procedure-list{display:grid;gap:14px}.treatment-procedure-card{border:1px solid rgba(136,108,66,.16);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px #46351e0a}.treatment-procedure-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 18px;background:linear-gradient(135deg,#fbf9f4,#fff);border-bottom:1px solid rgba(136,108,66,.12)}.treatment-procedure-head h4{margin:3px 0 0;font-size:1.05rem}.treatment-origin{color:#997844;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.treatment-step-list{display:grid;padding:6px 18px}.treatment-step{display:grid;grid-template-columns:30px minmax(160px,1fr) 145px 130px 34px;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid rgba(136,108,66,.1)}.treatment-step:last-child{border-bottom:0}.treatment-step.done .treatment-step-main strong{color:#66806a;text-decoration:line-through}.treatment-step-index{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f3ede2;color:#8c6b35;font-weight:700}.treatment-step-main{display:grid;gap:2px}.treatment-step-main span{color:#81786c;font-size:.76rem}.treatment-step input,.treatment-step select,.treatment-procedure-head select{min-height:36px}.treatment-step-add{padding:13px 18px 17px;background:#fcfbf8}.treatment-step-add input{flex:1;min-width:0}.treatment-plan-empty{display:grid;gap:5px;place-items:center;padding:42px 20px;border:1px dashed rgba(136,108,66,.3);border-radius:18px;color:#746b5f;text-align:center}@media(max-width:760px){.treatment-plan-header,.treatment-plan-add,.treatment-step-add{align-items:stretch;flex-direction:column}.treatment-plan-summary{min-width:0}.treatment-step{grid-template-columns:30px minmax(0,1fr) 34px}.treatment-step>input,.treatment-step>select{grid-column:2 / -1;width:100%}}@media(max-width:640px){.users-agenda-day-head{flex-direction:column;align-items:flex-start}.users-agenda-day-grid{grid-template-columns:1fr}}.procedures-editor-shell{display:grid;gap:16px;align-content:start}.procedures-editor-actions{justify-content:flex-start}.procedures-editor-grid{align-items:start}.agenda-config-card-head-main{display:flex;align-items:center;gap:10px}.agenda-config-card-actions{display:inline-flex;align-items:center;gap:6px}.agenda-order-button{width:28px;height:28px;border:1px solid rgba(199,170,120,.2);background:#fff;border-radius:6px;display:grid;place-items:center}.agenda-order-button:disabled{opacity:.4;cursor:not-allowed}.agenda-color-input{width:100%;min-height:40px;padding:4px}@media(max-width:900px){.topbar{padding:16px}.topbar-left,.topbar-right{width:100%}.topbar-right{justify-content:space-between}.search-box{min-width:0;flex:1 1 100%}.patient-directory-floating{position:static;top:auto;right:auto;width:100%}.patient-list-row,.patient-list-row.patient-list-row-compact,.finance-legacy-grid,.finance-module-grid-two,.finance-form-grid,.finance-mini-metrics,.procedures-grid,.procedures-form-grid{grid-template-columns:1fr}.finance-span-2,.procedures-form-wide{grid-column:auto}.module-subitem,.module-actions-row,.module-inline-metrics,.finance-inline-actions,.finance-form-actions,.finance-selected-card-head,.finance-selected-card-grid,.clinical-element-row{flex-direction:column;align-items:stretch}.module-list-card-meta,.module-subitem-right,.finance-selected-card-total{text-align:left;justify-items:start}.agenda-shell{height:auto;min-height:0}.agenda-leftbar{max-height:none}.agenda-main{overflow:visible}}@media(max-width:640px){html,body,#root{font-size:11px}.main-area,.login-shell{padding:12px}.topbar{gap:12px;padding:14px}.topbar-left,.topbar-right{flex-direction:column;align-items:stretch;gap:10px}.page-title{font-size:1.45rem}.page-eyebrow{margin-bottom:4px}.header-user{justify-content:space-between;width:100%;padding:10px 12px;border-radius:16px;background:#ffffffd6;border:1px solid rgba(199,170,120,.14)}.header-user-text{min-width:0}.header-user-text strong,.search-box input,.patient-list-main strong,.module-list-card-head strong,.module-subitem strong{word-break:break-word}.search-box{width:100%;padding:12px}.panel,.kpi-card,.patients-search-hero,.patients-recent-wrap,.patients-results-section,.patient-hero,.summary-card,.form-block,.patient-result-card,.patient-chip-card,.budget-card,.doc-card,.exam-card,.finance-card,.schedule-item,.agenda-leftbar,.agenda-main,.finance-form-panel,.finance-module-list{padding:14px;border-radius:18px}.patients-search-hero,.patient-hero,.patient-detail-shell,.patient-tabs-panel,.module-shell,.finance-main-panel{gap:12px}.patient-hero-actions,.finance-tabs,.finance-caixa-modos,.tab-shell,.procedures-toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.finance-tabs button,.finance-caixa-modos button,.tab-shell button,.patient-hero-actions button,.procedures-toolbar button{flex:0 0 auto}.agenda-toolbar{gap:10px}.agenda-toolbar-left,.agenda-toolbar-center,.agenda-toolbar-right,.view-switcher{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.agenda-day-layout{grid-template-columns:64px minmax(720px,1fr);align-items:start;overflow-x:auto;overflow-y:visible;padding-bottom:6px}.agenda-time-column{position:sticky;left:0;z-index:9}.agenda-day-grid{min-width:720px;grid-auto-columns:minmax(132px,132px)}.agenda-day-column-head,.agenda-column-header{height:44px;min-height:44px}.agenda-prof-chip{width:100%;justify-content:center;text-align:center;padding:0 6px}.agenda-event-card{left:4px;right:4px;padding:4px 5px;font-size:.74rem}.agenda-event-card-copy strong,.agenda-event-card-copy span{overflow:hidden;text-overflow:clip;white-space:normal}.patient-list-row,.patient-list-row.patient-list-row-compact{gap:8px;padding:14px}.budget-list-row{grid-template-columns:1fr;gap:12px}.budget-list-row-left{justify-items:start}.patient-list-row>*{min-width:0}.patient-record-tabs-scroll,.tab-shell{scrollbar-width:thin}.modal-backdrop,.overlay{padding:8px}.modal-shell,.modal-shell.modal-shell-compact,.agenda-modal-shell,.agenda-config-shell,.user-password-modal{width:min(100vw - 16px,100%);max-width:100%}}.crm-conversations-toolbar,.crm-conversations-search,.crm-message-composer{display:flex;align-items:end;gap:12px}.crm-conversations-toolbar{justify-content:space-between}.crm-conversations-search input{min-width:280px}.crm-conversations-layout{display:grid;grid-template-columns:minmax(260px,34%) 1fr;gap:16px;margin-top:16px;min-height:520px}.crm-conversations-list{border-right:1px solid #e5e7eb;padding-right:12px;overflow-y:auto;max-height:620px}.crm-conversation-item{width:100%;display:flex;gap:10px;align-items:center;border:0;border-radius:10px;background:transparent;padding:12px;text-align:left;cursor:pointer}.crm-conversation-item:hover,.crm-conversation-item.active{background:#f0fdf4}.crm-conversation-copy{display:grid;gap:3px;min-width:0;flex:1}.crm-conversation-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-unread-badge{min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#16a34a;color:#fff;font-size:12px;font-weight:700}.crm-conversation-detail{display:flex;flex-direction:column;min-width:0}.crm-conversation-detail>header{display:grid;gap:3px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.crm-message-history{flex:1;display:flex;flex-direction:column;gap:8px;padding:16px 4px;overflow-y:auto;max-height:470px}.crm-message-bubble{max-width:78%;border-radius:12px;padding:9px 12px;background:#f3f4f6}.crm-message-bubble.outgoing{align-self:flex-end;background:#dcfce7}.crm-message-bubble p{margin:0 0 4px;white-space:pre-wrap}.crm-message-bubble small{display:block;color:#64748b;font-size:11px}.crm-message-composer textarea{flex:1;resize:vertical}.education-page{display:grid;gap:18px;padding-bottom:28px}.education-portal-shell{min-height:100vh;background:#f5f2ed;padding:20px clamp(14px,3vw,42px)}.education-portal-top{display:flex;justify-content:space-between;align-items:center;padding:12px 0 20px;letter-spacing:.08em}.education-portal-top button{border:1px solid #d7cec2;background:#fff;border-radius:9px;padding:8px 14px;cursor:pointer}.education-main-nav{display:flex;gap:7px;overflow-x:auto;padding:0 0 18px;scrollbar-width:thin}.education-main-nav button{white-space:nowrap;border:1px solid #ded6ca;background:#fff;border-radius:999px;padding:9px 14px;cursor:pointer}.education-main-nav button.active{background:#332d27;color:#fff;border-color:#332d27}.education-dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.education-metric-card{display:grid;gap:8px;padding:20px;border-radius:18px;background:#fff;border:1px solid #e8e1d8}.education-metric-card small{color:#756d63;text-transform:uppercase;letter-spacing:.06em}.education-metric-card strong{font-size:1.6rem}.education-new-button{border:0;border-radius:11px;padding:11px 17px;background:#332d27;color:#fff;cursor:pointer}.education-hero .education-new-button{background:#332d27;color:#fff;border-color:#332d27}.education-module-form{max-width:920px}.education-module-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.education-module-fields label{display:grid;gap:7px;color:#675f57;font-size:.82rem;font-weight:650}.education-choice-group{display:flex;flex-wrap:wrap;gap:14px;min-height:42px;align-items:center;padding:8px 2px}.education-choice-group label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:6px;color:#332d27}.education-choice-group input{width:auto}.education-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.education-payment-summary span{display:grid;gap:4px;padding:12px;border-radius:12px;background:#f7f3ed;color:#675f57}.education-payment-summary b{color:#2f2924;font-size:1.05rem}.education-card-fee-box{display:grid;gap:10px;padding:14px;border:1px solid #dfd3c4;border-radius:14px;background:#faf6ef}.education-card-fee-box>small{color:#756d63}.education-card-installment-summary{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border-radius:12px;background:#eee7dc;color:#51483f}.education-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:#28221d7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.education-success-modal{width:min(520px,100%);display:grid;justify-items:center;gap:12px;padding:32px;border-radius:24px;background:#fff;border:1px solid #e8e1d8;box-shadow:0 28px 80px #2a221b3d;text-align:center}.education-success-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#e5f3e8;color:#2e6a3c;font-size:1.8rem;font-weight:800}.education-success-modal h2{margin:0}.education-success-modal p{margin:0;color:#70675e;line-height:1.55}.education-success-actions{display:flex;justify-content:center;gap:10px;width:100%;margin-top:8px}.education-success-actions button{border:1px solid #d9d0c5;border-radius:11px;padding:11px 17px;background:#fff;cursor:pointer}.education-success-actions .primary-button{border-color:#332d27;background:#332d27;color:#fff}.education-student-grid{grid-template-columns:1fr}.education-student-grid>.education-card:last-child{order:-1}.education-student-grid>.education-form{width:100%}.education-matricula-grid{grid-template-columns:1fr}.education-matricula-grid>form{display:none}.education-matricula-grid>.education-card{width:100%;max-width:none;grid-column:1/-1}.education-matricula-grid .education-form{width:100%;max-width:none}.education-schedule{border:1px solid #ded6ca;border-radius:14px;padding:14px;display:grid;gap:10px}.education-schedule legend{padding:0 8px;font-weight:700;color:#332d27}.education-schedule-row{display:grid;grid-template-columns:minmax(130px,1fr) 1fr 1fr;gap:12px;align-items:end;padding:8px 0;border-bottom:1px solid #eee7de}.education-module-fields label:has(textarea){grid-column:1/-1}.education-empty{padding:34px;text-align:center;color:#837a70;background:#faf8f5;border-radius:14px}.education-login-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#f7ead1,#e8e3db 55%,#d9d3ca)}.education-login-card{width:min(430px,100%);display:grid;gap:15px;padding:34px;border-radius:24px;background:#fff;box-shadow:0 24px 80px #382e2229}.education-login-card h1{margin:0;font-size:2rem}.education-login-card p,.education-login-card small{color:#756d63}.education-login-card label{display:grid;gap:7px;font-size:.82rem;font-weight:650}.education-login-card input{border:1px solid #dcd4ca;border-radius:10px;padding:12px}.education-login-card .primary-button{border:0;border-radius:10px;padding:12px;background:#332d27;color:#fff;cursor:pointer}.education-hero{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:24px;border-radius:22px;background:linear-gradient(135deg,#fff,#f5efe3);border:1px solid #eadfce}.education-hero h1{margin:5px 0;font-size:clamp(1.7rem,3vw,2.5rem)}.education-hero p{margin:0;color:#746d63}.education-metrics{display:flex;gap:12px;flex-wrap:wrap}.education-metrics span{min-width:112px;padding:12px 15px;border-radius:14px;background:#ffffffd1;color:#756c60}.education-metrics b{display:block;color:#2e2924;font-size:1.3rem}.education-tabs{display:flex;gap:8px;flex-wrap:wrap}.education-tabs button{display:flex;gap:7px;align-items:center;border:1px solid #ded6ca;background:#fff;padding:10px 16px;border-radius:999px;cursor:pointer}.education-tabs button.active{background:#332d27;color:#fff;border-color:#332d27}.education-finance-tabs{padding:4px;width:fit-content;border-radius:999px;background:#ebe5dc}.education-finance-tabs button{border:0}.education-grid{display:grid;grid-template-columns:minmax(290px,370px) minmax(0,1fr);gap:18px;align-items:start}.education-budget-full{display:block;width:100%}.education-budget-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,min(36vw,440px));gap:18px;align-items:start;width:100%;max-width:100%;overflow:hidden}.education-budget-workspace>*{min-width:0}.education-budget-editor{width:100%;max-width:100%;padding:28px;min-width:0;overflow:hidden}.education-budget-editor .budget-finance-calculator,.education-budget-editor .education-treatment-editor,.education-budget-editor .education-treatment-picker{min-width:0;max-width:100%}.education-budget-full .education-row>div:first-child{width:100%}.education-budget-preview{position:sticky;top:18px;height:min(760px,calc(100vh - 120px));min-height:560px}.education-budget-preview{max-width:100%}.education-budget-preview .budget-preview-header{background:#718777}.education-budget-preview .budget-preview-header strong{font-family:Trebuchet MS,Arial,sans-serif;letter-spacing:-.01em}.education-budget-preview .budget-preview-header div{display:grid;gap:3px}.education-budget-preview .budget-preview-header small{color:#ffffffb3}.education-budget-preview .budget-preview-header>span{padding:5px 9px;border-radius:999px;background:#ffffff24;font-size:.74rem}.education-treatment-editor{display:grid;gap:14px;padding:18px;border:1px solid #ded5ca;border-radius:16px;background:#faf8f5}.education-treatment-editor .education-module-fields{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.education-treatment-editor .education-module-fields>label{min-width:0}.education-treatment-editor input,.education-treatment-editor select,.education-treatment-editor textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.education-treatment-editor-head{display:flex;width:100%;box-sizing:border-box;min-width:0;justify-content:space-between;align-items:center;gap:12px;padding-right:12px;margin-bottom:10px;overflow:hidden}.education-treatment-editor-head button{flex:0 1 auto;max-width:100%;white-space:nowrap}.education-treatment-editor-head>div{display:grid;gap:4px}.education-treatment-editor-head small{color:#84786b;letter-spacing:.06em;font-size:.7rem}.education-treatment-editor-head strong{font-size:1.05rem}.education-treatment-editor-head button{border:1px solid #d6cabb;border-radius:9px;padding:8px 12px;background:#fff;cursor:pointer}.education-treatment-picker{position:relative;display:grid;gap:12px;padding:18px;border:1px solid #e8e1d8;border-radius:14px;background:#fff}.education-treatment-picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.education-treatment-picker-head h3{margin:0;font-size:1rem}.education-treatment-results{position:absolute;z-index:6;top:110px;left:18px;right:18px;max-height:280px;overflow:auto;background:#fff;box-shadow:0 16px 34px #35230d24}.education-remove-definitive{display:inline-flex;align-items:center;gap:6px;margin-top:12px;border:0;background:transparent;color:#9d3d32;font-weight:700;cursor:pointer}.education-budget-summary-line{display:flex;justify-content:space-between;gap:16px;color:#74695c;font-size:.85rem}.education-budget-preview .primary-button{width:100%;border:0;border-radius:8px;padding:12px 16px;background:#332d27;color:#fff;font-weight:750;cursor:pointer}.education-budget-preview .primary-button:disabled{opacity:.45;cursor:not-allowed}.education-budget-save-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.education-approve-action{background:#2f7657!important}.education-patient-record{gap:18px}.education-patient-record-hero{display:flex;align-items:flex-start;gap:18px;padding:24px;border:1px solid #eadfce;border-radius:22px;background:linear-gradient(135deg,#fff,#f5efe3)}.education-patient-record-hero>button{border:1px solid #d8cec1;border-radius:10px;padding:10px 14px;background:#fff;cursor:pointer}.education-patient-record-hero h1{margin:5px 0;font-size:clamp(1.45rem,2.4vw,2.15rem)}.education-patient-record-hero p{margin:0;color:#746d63}.education-record-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;width:fit-content;border-radius:999px;background:#eae4db}.education-record-tabs button{border:0;border-radius:999px;padding:10px 16px;background:transparent;cursor:pointer}.education-record-tabs button.active{background:#332d27;color:#fff}.education-record-note{padding:14px;border-radius:12px;background:#f7f2eb;color:#685d52}.education-budget-record-row{width:100%;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.education-budget-record-row:hover{background:#f1ebe3}.education-budget-record-row>span{color:#6a5948;font-weight:700}.education-dental-selector{display:grid;gap:10px;margin-top:10px;padding:14px;border:1px solid #e5dbcf;border-radius:14px;background:#fff}.education-dental-selector>span{color:#675f57;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.education-arch-buttons{display:flex;gap:8px;flex-wrap:wrap}.education-arch-buttons button,.education-teeth-grid button{border:1px solid #d9d0c5;border-radius:9px;background:#faf8f5;padding:8px 10px;cursor:pointer}.education-arch-buttons button.active,.education-teeth-grid button.active{background:#332d27;border-color:#332d27;color:#fff}.education-teeth-grid{display:grid;grid-template-columns:repeat(16,minmax(34px,1fr));gap:5px}@media(max-width:1280px){.education-budget-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,36vw);gap:14px}}@media(max-width:760px){.education-budget-workspace{grid-template-columns:1fr}.education-budget-preview{position:static;height:auto;min-height:440px}}@media(max-width:720px){.education-budget-editor{padding:18px}.education-teeth-grid{grid-template-columns:repeat(8,minmax(34px,1fr))}.budget-preview-item-row{grid-template-columns:1fr}.budget-preview-value{min-width:0;justify-items:stretch;text-align:left}.budget-preview-value-actions{justify-content:flex-start}}.education-users-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px;align-items:start}.education-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px;border:1px solid #e2d8cc;border-radius:14px}.education-access-grid legend{padding:0 7px;font-weight:700}.education-permission-matrix{display:grid;gap:14px;padding:14px;border:1px solid #e2d8cc;border-radius:14px}.education-permission-matrix legend{padding:0 8px;font-weight:700}.education-permission-module{display:grid;gap:8px;padding:12px;border-radius:12px;background:#faf8f5}.education-permission-module h3{margin:0 0 2px;font-size:.92rem}.education-permission-module label{display:grid;grid-template-columns:minmax(120px,1fr) minmax(170px,220px);align-items:center;gap:12px}.education-permission-module select{padding:9px 10px!important}@media(max-width:720px){.education-permission-module label{grid-template-columns:1fr}}.education-training-dashboard{grid-column:1 / -1}.education-training-dashboard .education-metric-card strong{font-size:1rem}.education-training-dashboard .education-metric-card b{font-size:.9rem}.education-class-card{appearance:none;width:100%;color:#302b26;font:inherit;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.education-class-card:hover{transform:translateY(-2px);border-color:#cdbda8;box-shadow:0 12px 28px #4335271a}.education-class-card:focus-visible{outline:3px solid rgba(121,96,65,.25);outline-offset:2px}.education-class-card-action{margin-top:4px;color:#765f43;font-weight:700;font-size:.78rem}.education-classes-panel{display:grid;gap:20px}.education-classes-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;padding-bottom:16px;border-bottom:1px solid #eee7de}.education-classes-heading h2{margin:4px 0 0;font-size:1.35rem}.education-class-search{width:min(520px,100%);border:1px solid #dcd4ca;border-radius:12px;padding:12px 14px;background:#faf8f5;color:#302b26}.education-class-select-label{display:grid;gap:8px;color:#675f57;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.education-class-select{width:100%;appearance:none;border:1px solid #d6cabb;border-radius:14px;padding:14px 48px 14px 16px;color:#302b26;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#665b50 50%),linear-gradient(135deg,#665b50 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;font-weight:650;cursor:pointer;box-shadow:0 4px 14px #4335270a}.education-class-select:focus{outline:3px solid rgba(121,96,65,.16);border-color:#a99377}.education-selected-class-summary{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:16px;border-radius:16px;background:#f7f2eb;border:1px solid #e7dccf}.education-selected-class-summary>div{display:grid;gap:5px}.education-selected-class-summary small{color:#766d63}.education-selected-class-summary label{display:grid;gap:6px;min-width:220px;color:#675f57;font-size:.78rem;font-weight:700}.education-selected-class-summary select{border:1px solid #d6cabb;border-radius:10px;padding:10px 12px;background:#fff}.education-class-students{padding-top:4px}.education-class-students h3{margin:0 0 4px;font-size:1rem}.education-attendance-head{display:grid;grid-template-columns:1fr 42px;align-items:center;padding:0 12px}.education-attendance-head>span{text-align:center;font-weight:800;color:#6d6257}.education-attendance-row{display:grid;grid-template-columns:minmax(0,1fr) auto 42px}.education-patient-referral-mark{display:grid;place-items:center;min-width:34px;min-height:34px;border-radius:9px;color:#9a9188;background:#eee9e3;font-weight:850}.education-patient-referral-mark.checked{color:#245f45;background:#dff1e7}@media(max-width:720px){.education-attendance-row{grid-template-columns:1fr 42px}.education-attendance-row .education-row-actions{grid-column:1/-1}}.education-card{background:#fff;border:1px solid #e8e1d8;border-radius:20px;padding:20px}.education-card h2{margin:0 0 16px;font-size:1.08rem}.education-form,.education-form label{display:grid;gap:7px}.education-form{gap:13px}.education-form label{color:#675f57;font-size:.82rem;font-weight:650}.education-form input,.education-form select,.education-form textarea,.education-list-head input,.education-enroll select{width:100%;border:1px solid #dcd4ca;border-radius:10px;padding:10px 11px;background:#fff;color:#302b26}.education-form textarea{min-height:78px;resize:vertical}.education-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.education-form .education-check{display:flex;align-items:center;gap:8px}.education-check input{width:auto}.education-actions,.education-row-actions{display:flex;gap:8px}.education-actions button,.education-row-actions button,.education-enrolled button{border:1px solid #ddd4c8;border-radius:9px;background:#fff;padding:9px 12px;cursor:pointer}.education-actions .primary-button,.education-enroll .primary-button{background:#332d27;color:#fff;border:0}.education-list-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.education-list{display:grid;gap:9px}.education-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-radius:13px;background:#faf8f5}.education-row>div:first-child{display:grid;gap:4px;min-width:0}.education-row small{color:#81786d}.status-pill{width:fit-content;padding:3px 8px;border-radius:999px;background:#eee9e2;font-size:.7rem}.status-pill.ok{background:#e6f3e9;color:#31673d}.education-error{padding:12px 15px;border-radius:12px;background:#fff0ed;color:#9a3022}.education-enroll{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-bottom:16px}.education-class{border:1px solid #eee7de;border-radius:15px;overflow:hidden}.education-class .education-row{border-radius:0}.education-enrolled{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;border-top:1px solid #eee7de;font-size:.85rem}@media(max-width:800px){.education-module-fields,.education-grid,.education-users-layout{grid-template-columns:1fr}.education-teeth-grid{grid-template-columns:repeat(8,1fr)}.education-hero{align-items:start;flex-direction:column}.education-classes-heading,.education-selected-class-summary{align-items:stretch;flex-direction:column}.education-class-search,.education-selected-class-summary label{width:100%;min-width:0}.education-enroll,.crm-conversations-layout{grid-template-columns:1fr}.crm-conversations-list{border-right:0;border-bottom:1px solid #e5e7eb;max-height:260px}.crm-conversations-toolbar{align-items:stretch;flex-direction:column}.crm-conversations-search input{min-width:0;width:100%}}.education-portal-shell{--edu-ink: #090909;--edu-ink-soft: #171511;--edu-gold: #c9a45b;--edu-gold-bright: #e0bf78;--edu-ivory: #f7f4ee;--edu-paper: #fffdf9;--edu-line: #e6ded1;min-height:100dvh;display:grid;grid-template-columns:292px minmax(0,1fr);padding:0;background:radial-gradient(circle at 80% 0%,rgba(201,164,91,.1),transparent 28rem),var(--edu-ivory);color:#1c1915;transition:grid-template-columns .22s ease}.education-portal-shell.education-sidebar-collapsed{grid-template-columns:77px minmax(0,1fr)}.education-sidebar{position:sticky;top:0;z-index:30;height:100dvh;min-width:0;display:flex;flex-direction:column;gap:22px;padding:22px 16px 18px;overflow:hidden;color:#f8f3e9;background:radial-gradient(circle at 18% 6%,rgba(216,179,104,.16),transparent 14rem),linear-gradient(165deg,#16130f,#080808 62%);border-right:1px solid rgba(224,191,120,.22);box-shadow:18px 0 50px #16110a14}.education-sidebar:after{content:"";position:absolute;inset:auto 18px 0;height:1px;background:linear-gradient(90deg,transparent,rgba(224,191,120,.5),transparent)}.education-sidebar-toggle{position:absolute;top:24px;right:13px;width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(224,191,120,.25);border-radius:10px;background:#ffffff0d;color:var(--edu-gold-bright);cursor:pointer}.education-sidebar-toggle:hover{background:#e0bf7821}.education-brand{display:flex;align-items:center;min-height:164px;padding-right:32px}.education-brand-mark{width:100%;min-width:0;height:150px;box-sizing:border-box;display:grid;place-items:center;overflow:hidden;padding:12px 14px 16px;border-radius:18px;background:linear-gradient(145deg,#fffef9,#eee3d1);border:1px solid rgba(223,186,111,.7);box-shadow:inset 0 0 0 1px #ffffffb3,0 12px 32px #00000047}.education-brand-mark img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;display:block}.education-sidebar-label{padding:0 10px;color:#f8f3e96b;font-size:.61rem;font-weight:800;letter-spacing:.16em;white-space:nowrap}.education-main-nav{display:grid;gap:5px;padding:0;overflow:visible auto;scrollbar-width:none}.education-main-nav::-webkit-scrollbar{display:none}.education-main-nav button{width:100%;min-height:46px;display:flex;align-items:center;gap:13px;padding:11px 13px;border:1px solid transparent;border-radius:12px;background:transparent;color:#f8f3e9ab;font:inherit;font-size:.84rem;font-weight:650;text-align:left;white-space:nowrap;cursor:pointer;transition:.16s ease}.education-main-nav button svg{min-width:20px;color:#e0bf78b3}.education-main-nav button:hover{color:#fff;background:#ffffff0f;border-color:#ffffff0d;transform:translate(2px)}.education-main-nav button.active{color:#15110c;background:linear-gradient(135deg,var(--edu-gold-bright),#c49a4b);border-color:#ffffff4d;box-shadow:0 8px 24px #bc8d3633}.education-main-nav button.active svg{color:#15110c}.education-sidebar-footer{display:grid;gap:8px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.09)}.education-user-card{display:flex;align-items:center;gap:10px;padding:8px;overflow:hidden}.education-user-avatar{width:35px;min-width:35px;height:35px;display:grid;place-items:center;border-radius:11px;color:#17120b;background:var(--edu-gold-bright)}.education-user-card>div{min-width:0;display:grid;gap:2px;white-space:nowrap}.education-user-card strong{overflow:hidden;text-overflow:ellipsis;font-size:.78rem}.education-user-card small{color:#f8f3e97a;font-size:.64rem;text-transform:uppercase;letter-spacing:.09em}.education-logout{min-height:40px;display:flex;align-items:center;gap:12px;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:#f8f3e994;cursor:pointer;white-space:nowrap}.education-logout:hover{color:#fff;background:#ffffff0f}.education-sidebar-collapsed .education-sidebar{padding-inline:10px}.education-sidebar-collapsed .education-sidebar-toggle{position:static;align-self:center;order:-2}.education-sidebar-collapsed .education-brand{justify-content:center;min-height:62px;padding:0}.education-sidebar-collapsed .education-brand-mark{width:56px;min-width:56px;height:56px;padding:4px;border-radius:14px;position:static}.education-sidebar-collapsed .education-brand-mark img{position:static;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.education-sidebar-collapsed .education-sidebar-label,.education-sidebar-collapsed .education-main-nav button span,.education-sidebar-collapsed .education-user-card>div,.education-sidebar-collapsed .education-logout span{display:none}.education-sidebar-collapsed .education-main-nav button,.education-sidebar-collapsed .education-logout,.education-sidebar-collapsed .education-user-card{justify-content:center;padding-inline:0}.education-workspace{min-width:0;min-height:100dvh}.education-portal-top{position:sticky;top:0;z-index:20;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px clamp(20px,3vw,42px);background:#f7f4eee0;border-bottom:1px solid rgba(213,201,184,.72);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);letter-spacing:normal}.education-page-title{display:grid;gap:2px}.education-page-title span{color:#8c7550;font-size:.64rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.education-page-title strong{font-family:Georgia,Times New Roman,serif;font-size:1.25rem}.education-top-status{display:flex;align-items:center;gap:8px;color:#786d5f;font-size:.76rem;font-weight:650}.education-status-dot{width:8px;height:8px;border-radius:50%;background:#4f9664;box-shadow:0 0 0 4px #4f966421}.education-mobile-menu{display:none;width:40px;height:40px;place-items:center;border:1px solid var(--edu-line);border-radius:11px;background:var(--edu-paper);color:#282018}.education-content{width:min(1540px,100%);margin:0 auto;padding:clamp(20px,3vw,42px)}.education-page{gap:22px}.education-hero{position:relative;overflow:hidden;min-height:164px;align-items:center;padding:clamp(24px,3vw,38px);border:1px solid rgba(205,170,101,.32);border-radius:26px;background:radial-gradient(circle at 92% 16%,rgba(224,191,120,.24),transparent 17rem),linear-gradient(135deg,#17130f,#090909 74%);color:#fffaf0;box-shadow:0 18px 44px #19120a1f}.education-hero:after{content:"11";position:absolute;right:34px;bottom:-37px;color:#e0bf7812;font-family:Georgia,serif;font-size:10rem;line-height:1;font-weight:800;pointer-events:none}.education-hero>*{position:relative;z-index:1}.education-hero .page-eyebrow{color:var(--edu-gold-bright)}.education-hero h1{color:#fff;font-family:Georgia,Times New Roman,serif;letter-spacing:-.025em}.education-hero p{max-width:650px;color:#fffaf0a3}.education-hero .education-metrics span{color:#fffaf0a3;background:#ffffff12;border:1px solid rgba(224,191,120,.16);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.education-hero .education-metrics b{color:#fff}.education-hero .education-new-button{background:linear-gradient(135deg,var(--edu-gold-bright),#c49a4b);color:#17110a;border:0;box-shadow:0 9px 24px #00000038}.education-card,.education-metric-card{background:#fffdf9eb;border-color:var(--edu-line);box-shadow:0 12px 34px #372b190e}.education-card{border-radius:20px}.education-metric-card{position:relative;overflow:hidden;min-height:132px;align-content:space-between;border-radius:18px;transition:transform .17s ease,box-shadow .17s ease}.education-metric-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(var(--edu-gold-bright),#9b7536)}.education-metric-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px #372b191a}.education-metric-card small{color:#8b7655;font-weight:800;letter-spacing:.1em}.education-metric-card strong{color:#18130e;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.5rem,2.4vw,2rem)}.education-tabs{gap:7px;padding:5px;width:fit-content;border:1px solid var(--edu-line);border-radius:14px;background:#ece5da}.education-tabs button{border:0;border-radius:10px;padding:10px 15px;background:transparent;color:#6e6254;font-weight:700}.education-tabs button.active{color:#fff7e9;background:#16130f;box-shadow:0 5px 14px #19120a29}.education-form input,.education-form select,.education-form textarea,.education-list-head input,.education-enroll select,.education-class-search,.education-class-select{min-height:43px;border-color:#ded4c6;background:#fffefa;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.education-form input:focus,.education-form select:focus,.education-form textarea:focus,.education-list-head input:focus,.education-class-search:focus,.education-class-select:focus{outline:none;border-color:#bd9650;background:#fff;box-shadow:0 0 0 4px #c9a45b21}.education-actions .primary-button,.education-enroll .primary-button,.education-budget-preview .primary-button,.education-new-button{background:linear-gradient(135deg,#1c1813,#090909);color:#fff8eb;border:1px solid rgba(201,164,91,.35)}.education-row{border:1px solid transparent;background:#faf7f1;transition:border-color .15s ease,transform .15s ease,background .15s ease}.education-row:hover{border-color:#dfd2be;background:#fffdf9;transform:translateY(-1px)}.education-error{border:1px solid #ebc8c0;box-shadow:0 8px 22px #9a302212}.education-login-shell{position:relative;overflow:hidden;background:radial-gradient(circle at 16% 14%,rgba(224,191,120,.23),transparent 23rem),radial-gradient(circle at 84% 86%,rgba(151,111,42,.14),transparent 27rem),linear-gradient(145deg,#17130f,#050505 70%)}.education-login-shell:before{content:"ELEVEN";position:absolute;right:-2vw;bottom:-7vh;color:#e0bf7809;font-family:Georgia,serif;font-size:clamp(6rem,17vw,17rem);font-weight:800;letter-spacing:-.07em}.education-login-card{position:relative;width:min(470px,100%);gap:17px;padding:clamp(28px,5vw,46px);border:1px solid rgba(224,191,120,.35);border-radius:28px;background:#fffdf9f7;box-shadow:0 38px 100px #0000006b}.education-login-brand{display:grid;place-items:center;margin-bottom:5px;padding:6px 12px 22px;border-bottom:1px solid #e8dece}.education-login-brand img{width:min(100%,300px);height:auto;max-height:168px;object-fit:contain;display:block}.education-login-card h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,2.65rem);letter-spacing:-.035em}.education-login-card .primary-button{min-height:48px;background:linear-gradient(135deg,#1c1813,#070707);border:1px solid #ad8746;font-weight:800;letter-spacing:.02em}.education-sidebar-backdrop{display:none}@media(max-width:980px){.education-portal-shell,.education-portal-shell.education-sidebar-collapsed{grid-template-columns:1fr}.education-sidebar{position:fixed;inset:0 auto 0 0;width:min(292px,calc(100vw - 44px));transform:translate(-104%);transition:transform .22s ease;box-shadow:26px 0 70px #00000052}.education-sidebar.open{transform:translate(0)}.education-sidebar-collapsed .education-sidebar{padding-inline:16px}.education-sidebar-collapsed .education-sidebar-toggle{display:none}.education-sidebar-collapsed .education-brand{justify-content:flex-start;min-height:164px;padding-right:32px}.education-sidebar-collapsed .education-brand-mark{width:100%;min-width:0;height:150px;padding:12px 14px 16px;position:static}.education-sidebar-collapsed .education-brand-mark img{position:static;width:auto;height:auto;max-width:100%;max-height:100%}.education-sidebar-collapsed .education-brand-copy,.education-sidebar-collapsed .education-sidebar-label,.education-sidebar-collapsed .education-main-nav button span,.education-sidebar-collapsed .education-user-card>div,.education-sidebar-collapsed .education-logout span{display:grid}.education-sidebar-collapsed .education-main-nav button,.education-sidebar-collapsed .education-logout,.education-sidebar-collapsed .education-user-card{justify-content:flex-start;padding-inline:12px}.education-sidebar-backdrop{position:fixed;inset:0;z-index:29;display:block;border:0;background:#08070685;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.education-mobile-menu{display:grid}.education-page-title{margin-right:auto}}@media(max-width:640px){.education-portal-top{min-height:64px;padding:9px 14px}.education-top-status{font-size:0}.education-top-status .education-status-dot{display:block}.education-content{padding:15px 12px 28px}.education-hero{min-height:0;padding:24px 20px;border-radius:20px}.education-hero:after{right:10px;font-size:7rem}.education-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.education-metric-card{min-height:112px;padding:16px}.education-metric-card strong{font-size:1.35rem}.education-card{padding:16px;border-radius:17px}.education-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap}.education-tabs button{white-space:nowrap}.education-row,.education-list-head{align-items:stretch;flex-direction:column}.education-row-actions{width:100%;flex-wrap:wrap}.education-row-actions button{flex:1}.education-form-row,.education-payment-summary{grid-template-columns:1fr}}.education-agenda-page{min-width:0}.education-agenda-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:#fff;border:1px solid #e7ddd1;border-radius:18px;margin-bottom:14px}.education-agenda-nav,.education-agenda-views{display:flex;align-items:center;gap:8px}.education-agenda-nav button,.education-agenda-views button{border:1px solid #dfd2c3;background:#fff;border-radius:10px;min-height:38px;padding:0 14px}.education-agenda-nav strong{margin-left:10px;text-transform:capitalize}.education-agenda-views button.active{background:#2e2925;color:#fff;border-color:#2e2925}.education-agenda-calendar{display:grid;gap:10px;min-height:560px}.education-agenda-calendar.view-dia{grid-template-columns:1fr}.education-agenda-calendar.view-semana{grid-template-columns:repeat(7,minmax(145px,1fr));overflow-x:auto}.education-agenda-calendar.view-mes{grid-template-columns:repeat(7,minmax(130px,1fr));overflow-x:auto}.education-agenda-day{background:#fff;border:1px solid #e7ddd1;border-radius:15px;min-width:0;overflow:hidden}.education-agenda-day.today{border-color:#b89857;box-shadow:0 0 0 1px #b89857}.education-agenda-day>header{display:flex;justify-content:space-between;gap:8px;padding:12px 13px;background:#f8f4ee;border-bottom:1px solid #e7ddd1;text-transform:uppercase;font-size:12px}.education-agenda-day-body{padding:9px;display:flex;flex-direction:column;gap:8px;min-height:110px}.view-dia .education-agenda-day-body{min-height:520px}.education-agenda-event{display:flex;flex-direction:column;text-align:left;border:0;border-left:4px solid #b89857;border-radius:10px;padding:10px 11px;background:#f6f0e6;color:#2e2925;gap:3px}.education-agenda-event span{font-size:11px;font-weight:700}.education-agenda-event strong{font-size:13px}.education-agenda-event small,.education-agenda-event em{font-size:11px;font-style:normal;color:#776b60}.education-agenda-event.status-atendido{border-color:#397a61;background:#eaf5ef}.education-agenda-event.status-cancelado,.education-agenda-event.status-desmarcado{border-color:#a63d32;background:#faece9}.education-agenda-event.status-em-atendimento{border-color:#27688a;background:#e8f4fa}.education-agenda-empty-slot{border:1px dashed #d9c9b7;background:transparent;color:#8b7866;border-radius:10px;padding:12px}.education-agenda-modal{width:min(900px,calc(100vw - 30px));max-height:92vh;overflow:auto}.education-field-wide{grid-column:1/-1}.education-hero>.primary-button{display:inline-flex;align-items:center;gap:7px}@media(max-width:900px){.education-agenda-toolbar{align-items:flex-start;flex-direction:column}.education-agenda-calendar.view-semana,.education-agenda-calendar.view-mes{grid-template-columns:repeat(7,minmax(220px,1fr))}.education-agenda-nav{flex-wrap:wrap}.education-agenda-nav strong{width:100%;margin:6px 0 0}}.education-agenda-user-config{display:grid;gap:10px;padding:14px;border:1px solid #e2d6c8;border-radius:14px;background:#faf7f2}.education-agenda-user-config>small{color:#75695e}.education-agenda-user-config .education-check{margin:0}.education-portal-shell .agenda-modal-shell.agenda-modal-shell-compact{width:min(1280px,calc(100vw - 32px))!important}.education-portal-shell .agenda-consulta-main-grid{grid-template-columns:minmax(620px,1.45fr) minmax(380px,.8fr);gap:16px}.education-portal-shell .agenda-procedimentos-stack{gap:16px}.education-portal-shell .agenda-procedimentos-box.compact{padding:16px 18px}.education-portal-shell .agenda-manual-row{grid-template-columns:minmax(280px,1fr) 120px 140px;gap:12px;padding:14px}.education-portal-shell .agenda-manual-row label.small{max-width:none}.education-portal-shell .agenda-manual-row input,.education-portal-shell .agenda-manual-row select{width:100%;min-width:0}.education-portal-shell .agenda-work-row{grid-template-columns:minmax(360px,1.4fr) minmax(220px,.8fr)}.education-portal-shell .agenda-work-row>label:first-child{grid-column:1}.education-portal-shell .agenda-work-row>label:nth-child(2){grid-column:2}.education-portal-shell .agenda-work-row>label:last-of-type{grid-column:1/-1}.education-portal-shell .agenda-inline-hint{display:block;width:100%;margin-top:10px;line-height:1.45}.education-portal-shell .agenda-selected-procedures{min-height:54px}.education-portal-shell .agenda-observacao-field textarea{min-height:90px}@media(max-width:1100px){.education-portal-shell .agenda-consulta-main-grid{grid-template-columns:1fr}.education-portal-shell .agenda-manual-row{grid-template-columns:minmax(0,1fr) 110px 130px}}@media(max-width:720px){.education-portal-shell .agenda-manual-row,.education-portal-shell .agenda-work-row{grid-template-columns:1fr}.education-portal-shell .agenda-manual-row>*{grid-column:1!important}}.education-portal-shell{--edu-gold: #b9914f;--edu-gold-bright: #d8b66d;--edu-ivory: #f6f4ef;--edu-paper: #fff;--edu-line: #e4ded4;--edu-sage: #718777;background:#f8f6f1}.education-sidebar{gap:18px;color:#302b25;background:radial-gradient(circle at 8% 2%,rgba(199,157,82,.1),transparent 15rem),#fbfaf7;border-right-color:#e6dfd4;box-shadow:8px 0 28px #43331d09}.education-sidebar:after{background:linear-gradient(90deg,transparent,rgba(151,111,49,.28),transparent)}.education-sidebar-toggle{color:#755a2e;background:#fffdf9;border-color:#d7c9b6}.education-sidebar-toggle:hover{background:#ffffffc7}.education-sidebar-label{color:#8b7d6c}.education-main-nav button{min-height:44px;border-radius:10px;color:#756d63}.education-main-nav button{min-height:48px;font-size:.92rem;line-height:1.25;letter-spacing:.005em}.education-main-nav button svg{width:21px;height:21px}.education-main-nav button svg{color:#9a773d}.education-main-nav button:hover{color:#2d271f;transform:none;background:#ffffff94;border-color:#b0976f38}.education-main-nav button.active{color:#2d2417;background:#f1f5ef;border-color:#d5dfd5;box-shadow:inset 3px 0 0 var(--edu-sage),0 4px 12px #533b1909}.education-main-nav button.active svg{color:var(--edu-sage)}.education-sidebar-footer{border-top-color:#d4c9b9}.education-user-avatar{color:#fffdf9;background:var(--edu-sage)}.education-user-card small{color:#8a7d6c}.education-logout{color:#776b5d}.education-logout:hover{color:#2d271f;background:#ffffff8c}.education-portal-top{min-height:68px;background:#ffffffe6;border-bottom-color:#e6e0d7}.education-content{width:min(1480px,100%);padding:clamp(22px,2.5vw,36px)}.education-page{gap:18px}.education-hero{min-height:116px;padding:24px 28px;border-radius:18px;color:#2b251d;background:radial-gradient(circle at 92% 18%,rgba(113,135,119,.15),transparent 16rem),#fffdf8;border-color:#dfe5dc;box-shadow:none}.education-hero:after{display:none}.education-hero h1{color:#2b251d;font-size:clamp(1.65rem,2.4vw,2.15rem)}.education-hero .page-eyebrow{color:#718777}.education-hero p{color:#74695b}.education-hero .education-metrics span{color:#74695b;background:#f5efe4;border-color:#e3d5bf}.education-hero .education-metrics b{color:#2b251d}.education-card,.education-metric-card{background:#fff;border:1px solid var(--edu-line);box-shadow:0 5px 18px #2e261a09}.education-card{border-radius:16px}.education-metric-card{min-height:116px;border-radius:15px}.education-metric-card:hover{transform:none;box-shadow:0 7px 22px #2e261a0f}.education-metric-card:before{width:2px;background:var(--edu-gold)}.education-tabs{background:#ebe7df;border-radius:11px}.education-tabs button{border-radius:8px}.education-row{border-color:#eee9e1;background:#fbfaf7}.education-dashboard{gap:20px}.education-dashboard-sync-note{width:fit-content;padding:7px 11px;border-left:2px solid #c69d54;color:#786b5a;background:transparent;font-size:.76rem}.education-dashboard-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 2px 8px}.education-dashboard-intro .page-eyebrow,.education-dashboard-finance .page-eyebrow,.education-dashboard-overview .page-eyebrow{color:#9a7840}.education-dashboard-intro h1{margin:5px 0 4px;color:#201c17;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.9rem,3vw,2.55rem);letter-spacing:-.035em}.education-dashboard-intro p{margin:0;color:#756d64}.education-dashboard-date{display:flex;align-items:center;gap:11px;min-width:220px;padding:11px 14px;border:1px solid var(--edu-line);border-radius:12px;background:#ffffffb8;color:#80683d}.education-dashboard-date div{display:grid;gap:1px}.education-dashboard-date span{color:#8a8177;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.education-dashboard-date strong{color:#322d27;font-size:.82rem;text-transform:capitalize}.education-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.education-dashboard-kpi{min-width:0;display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--edu-line);border-radius:15px;background:#fff}.education-dashboard-kpi-icon{width:42px;min-width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#765a29;background:#f1e7d5}.education-dashboard-kpi>div{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:8px}.education-dashboard-kpi small{color:#756d64;font-size:.68rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.education-dashboard-kpi strong{grid-row:1 / span 2;grid-column:2;color:#211c17;font-size:1.9rem;line-height:1}.education-dashboard-kpi>div span{color:#999087;font-size:.72rem}.education-dashboard-panels{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px}.education-dashboard-finance,.education-dashboard-overview{display:grid;align-content:start;gap:0;padding:21px}.education-dashboard-finance header,.education-dashboard-overview header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px;color:#a0824c}.education-dashboard-finance h2,.education-dashboard-overview h2{margin:3px 0 0;color:#27221d;font-size:1.05rem}.education-finance-summary-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #eee9e1;color:#756d64}.education-finance-summary-row strong{color:#322c26;font-size:.92rem}.education-finance-summary-row span:before{content:"";display:inline-block;width:7px;height:7px;margin-right:9px;border-radius:50%;background:#9b9389}.education-finance-summary-row.positive span:before{background:#55916c}.education-finance-summary-row.pending span:before{background:#ca9a43}.education-finance-summary-row.negative span:before{background:#b76b62}.education-dashboard-finance footer{display:flex;justify-content:space-between;gap:18px;margin-top:4px;padding:15px 16px;border-radius:11px;background:#f3efe7}.education-dashboard-finance footer span{color:#756d64;font-size:.78rem;font-weight:750;text-transform:uppercase}.education-dashboard-finance footer strong{color:#29231d}.education-overview-highlight{display:flex;align-items:center;gap:14px;margin-bottom:9px;padding:16px;border-radius:12px;background:#f4efe6}.education-overview-highlight>div{display:grid;gap:2px}.education-overview-highlight strong{color:#211c17;font-size:1.65rem;line-height:1}.education-overview-highlight span{color:#776f66;font-size:.8rem}.education-overview-list{display:grid}.education-overview-list div{display:flex;justify-content:space-between;gap:16px;padding:12px 2px;border-bottom:1px solid #eee9e1;color:#756d64;font-size:.82rem}.education-overview-list div:last-child{border-bottom:0}.education-overview-list strong{color:#2d2822}@media(max-width:1120px){.education-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.education-dashboard-intro{align-items:flex-start;flex-direction:column}.education-dashboard-date{width:100%;min-width:0}.education-dashboard-panels{grid-template-columns:1fr}}@media(max-width:520px){.education-dashboard-kpis{grid-template-columns:1fr}.education-dashboard-kpi{padding:15px}}.finance-settings{padding:22px}.finance-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.finance-settings-grid label{display:grid;gap:7px;text-transform:uppercase;font-size:11px;color:#786d62}.finance-settings-grid textarea,.finance-settings-grid input{width:100%;box-sizing:border-box;border:1px solid #dfd2c3;border-radius:10px;padding:10px;background:#fff;font:inherit;text-transform:none}@media(max-width:800px){.finance-settings-grid{grid-template-columns:1fr}}.finance-head-actions{display:flex;align-items:center;gap:12px}.finance-filters{display:flex;gap:12px;align-items:end;padding:14px 24px;border-bottom:1px solid #eadfd2;background:#fcfaf7}.finance-filters label,.finance-manual-form label{display:grid;gap:5px;color:#786d62;font-size:11px;text-transform:uppercase}.finance-filters input,.finance-filters select,.finance-manual-form input,.finance-manual-form select{border:1px solid #dfd2c3;border-radius:9px;padding:9px;background:#fff}.finance-manual-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 24px;background:#f8f3ec;border-bottom:1px solid #eadfd2}.finance-manual-form label:first-child{min-width:260px;flex:1}.finance-manual-form button{height:38px}.education-finance-shell{display:grid;gap:18px}.finance-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.finance-kpi-grid article{background:#fff;border:1px solid #e8ddd0;border-radius:22px;padding:20px;display:grid;gap:6px}.finance-kpi-grid span,.finance-kpi-grid small{color:#786d62;text-transform:uppercase;font-size:11px;letter-spacing:.06em}.finance-kpi-grid strong{font-size:24px}.finance-ledger{overflow:hidden;padding:0}.finance-ledger-head{padding:22px 24px;border-bottom:1px solid #eadfd2;display:flex;justify-content:space-between;align-items:center}.finance-ledger-head h2{margin:4px 0 0}.finance-table-scroll{overflow:auto}.finance-table-scroll table{width:100%;border-collapse:collapse;min-width:1100px}.finance-table-scroll th,.finance-table-scroll td{padding:14px 12px;text-align:left;border-bottom:1px solid #eee4d8;vertical-align:middle}.finance-table-scroll th{font-size:11px;text-transform:uppercase;color:#786d62;background:#fbf8f3}.finance-table-scroll td small{display:block;margin-top:4px;color:#7a7067}.finance-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;text-transform:uppercase}.finance-status.paid{background:#e4f5eb;color:#176440}.finance-status.open{background:#fff1d8;color:#8b5b00}.primary-action.compact{padding:9px 12px}.finance-receive-modal{max-width:760px}.finance-fee-preview{margin:18px 0;padding:16px;border-radius:16px;background:#f4eee5;display:flex;justify-content:space-between}.finance-fee-preview strong{color:#a23a2a}@media(max-width:900px){.finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.education-portal-shell,.education-portal-shell button,.education-portal-shell input,.education-portal-shell select,.education-portal-shell textarea{font-family:Trebuchet MS,Arial,sans-serif}.education-portal-shell .education-page-title strong,.education-portal-shell .education-hero h1,.education-portal-shell .education-dashboard-intro h1,.education-portal-shell .education-dashboard-kpi strong,.education-portal-shell .education-metric-card strong,.education-portal-shell .education-login-card h1{font-family:Trebuchet MS,Arial,sans-serif;letter-spacing:-.025em}:root{--bg: #f8f6f1;--bg-deep: #f1ede6;--card: #fff;--card-soft: #fbfaf7;--sidebar: #fbfaf7;--sidebar-top: #fffdf9;--line: #e4ded4;--line-strong: #d7c9b6;--text: #2d2822;--muted: #756d64;--champagne: #b9914f;--champagne-soft: #f1e7d5;--green-accent: #718777;--accent: #718777;--accent-strong: #5f7465;--accent-soft: #f1f5ef;--accent-line: #d5dfd5;--shadow: 0 8px 28px rgba(67, 51, 29, .05);--shadow-soft: 0 5px 18px rgba(46, 38, 26, .035)}html,body,#root,button,input,select,textarea,option{font-family:Trebuchet MS,Arial,sans-serif}html,body,#root{background:#f8f6f1;color:var(--text);text-transform:none}input::placeholder,textarea::placeholder{text-transform:none}.shell:not(.education-portal-shell) .sidebar{color:#302b25;background:radial-gradient(circle at 8% 2%,rgba(199,157,82,.1),transparent 15rem),#fbfaf7;border-right:1px solid #e6dfd4;box-shadow:8px 0 28px #43331d09}.shell:not(.education-portal-shell) .sidebar-toggle{color:#755a2e;background:#fffdf9;border-color:#d7c9b6}.shell:not(.education-portal-shell) .sidebar-toggle:hover,.shell:not(.education-portal-shell) .sidebar-toggle:focus-visible{color:#4f432f;background:#fff;border-color:#bda77f}.shell:not(.education-portal-shell) .brand-card{background:#fff;border-color:#e6dfd4;box-shadow:0 5px 18px #2e261a0a}.shell:not(.education-portal-shell) .brand-logo-wrap{background:#fffdf9;box-shadow:inset 0 0 0 1px #eadfce}.shell:not(.education-portal-shell) .brand-title,.shell:not(.education-portal-shell) .sidebar-section-title,.shell:not(.education-portal-shell) .sidebar-user-info strong{color:#302b25}.shell:not(.education-portal-shell) .sidebar-section-title,.shell:not(.education-portal-shell) .page-eyebrow,.shell:not(.education-portal-shell) .panel-kicker,.shell:not(.education-portal-shell) label>span,.shell:not(.education-portal-shell) th{text-transform:uppercase;letter-spacing:.075em}.shell:not(.education-portal-shell) .menu-item{color:#756d63;border:1px solid transparent;border-radius:10px}.shell:not(.education-portal-shell) .menu-item .menu-icon{color:#9a773d}.shell:not(.education-portal-shell) .menu-item:hover{color:#2d271f;background:#ffffffad;border-color:#b0976f38;transform:none}.shell:not(.education-portal-shell) .menu-item.active{color:#2d2417;background:#f1f5ef;border-color:#d5dfd5;box-shadow:inset 3px 0 #718777,0 4px 12px #533b1909}.shell:not(.education-portal-shell) .menu-item.active .menu-icon{color:#718777}.shell:not(.education-portal-shell) .sidebar-user-card{background:#ffffff94;border-color:#e3d9cc}.shell:not(.education-portal-shell) .sidebar-user-avatar,.shell:not(.education-portal-shell) .header-avatar{color:#fffdf9;background:#718777}.shell:not(.education-portal-shell) .sidebar-user-info span{color:#8a7d6c}.shell:not(.education-portal-shell) .sidebar-logout{color:#776b5d;background:transparent;border-color:#e3d9cc}.shell:not(.education-portal-shell) .main-area{background:#f8f6f1}.shell:not(.education-portal-shell) .topbar{background:#ffffffe6;border:1px solid #e6e0d7;border-radius:14px;box-shadow:0 5px 18px #2e261a09}.shell:not(.education-portal-shell) .page-title,.shell:not(.education-portal-shell) .patient-hero-copy h2,.shell:not(.education-portal-shell) .modal-header h2,.shell:not(.education-portal-shell) .drawer-header h2,.shell:not(.education-portal-shell) .section-title-row h2,.login-card h1{color:#201c17;font-family:Trebuchet MS,Arial,sans-serif;letter-spacing:-.035em}.shell:not(.education-portal-shell) .page-eyebrow,.shell:not(.education-portal-shell) .panel-kicker{color:#9a7840;font-weight:800}.shell:not(.education-portal-shell) .panel,.shell:not(.education-portal-shell) .kpi-card,.shell:not(.education-portal-shell) .summary-card,.shell:not(.education-portal-shell) .patient-tabs-panel,.shell:not(.education-portal-shell) .budget-card,.shell:not(.education-portal-shell) .doc-card,.shell:not(.education-portal-shell) .exam-card,.shell:not(.education-portal-shell) .finance-card,.shell:not(.education-portal-shell) .schedule-item,.shell:not(.education-portal-shell) .placeholder-card,.shell:not(.education-portal-shell) .placeholder-hero{background:#fff;border:1px solid #e4ded4;border-radius:15px;box-shadow:0 5px 18px #2e261a09}.shell:not(.education-portal-shell) .kpi-card:before,.shell:not(.education-portal-shell) .module-kpi-card:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:#b9914f}.shell:not(.education-portal-shell) .kpi-icon{color:#765a29;background:#f1e7d5}.shell:not(.education-portal-shell) .kpi-value,.shell:not(.education-portal-shell) .module-kpi-card strong{color:#211c17;letter-spacing:-.025em}.shell:not(.education-portal-shell) .primary-action{color:#fffdf9;background:#718777;border:1px solid #657a6b;border-radius:10px;box-shadow:none}.shell:not(.education-portal-shell) .primary-action:hover{background:#5f7465;box-shadow:0 6px 16px #475e4e26}.shell:not(.education-portal-shell) .ghost-action,.shell:not(.education-portal-shell) .icon-action,.shell:not(.education-portal-shell) .icon-only,.shell:not(.education-portal-shell) .topbar-menu-toggle{color:#2d2822;background:#fff;border:1px solid #ded4c6;border-radius:10px;box-shadow:none}.shell:not(.education-portal-shell) input,.shell:not(.education-portal-shell) select,.shell:not(.education-portal-shell) textarea,.login-card input,.login-card select,.login-card textarea{border-color:#ded4c6;background:#fffefa;border-radius:10px;text-transform:none}.shell:not(.education-portal-shell) input:focus,.shell:not(.education-portal-shell) select:focus,.shell:not(.education-portal-shell) textarea:focus,.login-card input:focus,.login-card select:focus,.login-card textarea:focus{outline:none;border-color:#bd9650;background:#fff;box-shadow:0 0 0 4px #c9a45b21}.shell:not(.education-portal-shell) .search-box,.shell:not(.education-portal-shell) .year-select{background:#fffefa;border-color:#ded4c6;border-radius:10px}.shell:not(.education-portal-shell) .module-subitem,.shell:not(.education-portal-shell) .patient-list-row,.shell:not(.education-portal-shell) .patient-chip-card,.shell:not(.education-portal-shell) .patient-result-card{background:#fbfaf7;border-color:#eee9e1;border-radius:12px}.shell:not(.education-portal-shell) .module-subitem:hover,.shell:not(.education-portal-shell) .patient-list-row:hover,.shell:not(.education-portal-shell) .patient-chip-card:hover,.shell:not(.education-portal-shell) .patient-result-card:hover{background:#fffdf9;border-color:#dfd2be;transform:translateY(-1px)}.login-shell{background:radial-gradient(circle at 16% 14%,rgba(185,145,79,.12),transparent 23rem),#f8f6f1}.login-card{border:1px solid #e4ded4;border-radius:24px;background:#fffffff7;box-shadow:0 24px 70px #2e261a1f}.finance-legacy-field{display:none!important}.finance-rate-list{margin-top:14px;padding:22px;background:#fff;border:1px solid #e8ddd0;border-radius:18px}.finance-rate-add{display:grid;grid-template-columns:1.2fr 1.4fr .7fr .8fr auto;gap:10px;align-items:end;padding:14px;background:#f8f3ec;border-radius:14px}.finance-rate-add label{display:flex;flex-direction:column;gap:6px;font-size:12px;text-transform:uppercase;color:#725f4c}.finance-rate-add input,.finance-rate-add select{min-height:42px;border:1px solid #ddcfbf;border-radius:10px;padding:0 12px;background:#fff}.finance-rate-list table{width:100%;border-collapse:collapse;margin-top:14px}.finance-rate-list th,.finance-rate-list td{padding:12px;border-bottom:1px solid #eee4d8;text-align:left}.finance-manual-extra{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0;padding:12px;background:#f8f3ec;border-radius:12px}.finance-manual-extra label{display:flex;flex-direction:column;gap:5px;font-size:12px}.finance-manual-extra select,.finance-manual-extra input{min-height:38px;border:1px solid #ddcfbf;border-radius:8px;padding:0 10px;background:#fff}@media(max-width:900px){.finance-rate-add{grid-template-columns:1fr 1fr}.finance-rate-add button{grid-column:1/-1}}input,select,textarea,option,input::placeholder,textarea::placeholder{text-transform:uppercase!important}.shell:not(.education-portal-shell) .brand-card{align-items:center;justify-content:center;gap:10px;width:100%;padding:20px 18px 16px;box-sizing:border-box}.shell:not(.education-portal-shell) .brand-logo-wrap{width:min(100%,184px);min-height:92px;padding:12px 14px;box-sizing:border-box}.shell:not(.education-portal-shell) .brand-logo{width:100%;max-width:158px}.shell:not(.education-portal-shell) .brand-title{width:100%;margin:0;color:#302b25;font-size:1.45rem;line-height:1;text-align:center}.shell:not(.education-portal-shell) .sidebar-section-title{margin-top:2px}.shell:not(.education-portal-shell).sidebar-collapsed .brand-card{gap:0;padding:9px 6px}.shell:not(.education-portal-shell).sidebar-collapsed .brand-logo-wrap{width:43px;min-height:43px;padding:7px 4px}.shell:not(.education-portal-shell).sidebar-collapsed .brand-logo{width:37px}
