:root{--page-background: #d6e3ee;--panel-border: #c4d3df;font-family:Inter,Segoe UI,Arial,sans-serif;color:#3b4220;background:var(--page-background);line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #52bfb3}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin-bottom:12px}h2{font-size:18px;letter-spacing:-.3px;margin-bottom:18px}h3{font-size:16px}p{color:#607088}.muted{color:#68788d}.small{font-size:13px}.eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:1.6px;color:#29867c;margin-bottom:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-heading p{font-size:14px;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;padding:10px 17px;border:1px solid transparent;font-size:13px;font-weight:650;text-decoration:none;cursor:pointer;white-space:nowrap;line-height:1.5}.button.primary{background:#158575;color:#fff;box-shadow:0 3px 6px #15857518}.button.primary:hover{background:#0d7063}.button.secondary{background:#fff;color:#30485f;border-color:#d8e1ea}.button.ghost{background:transparent;color:#426077;padding:8px 12px}.button.ghost:hover{background:#edf3f6}.button.danger{color:#ac3344;border-color:#e9c8ce;background:#fff}.button:disabled{opacity:.55;cursor:wait}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:23px}.stat{background:#fff;border:1px solid var(--panel-border);border-radius:11px;padding:22px 24px;box-shadow:0 3px 8px #15293e08}.stat>span{color:#66788d;font-size:12px;font-weight:600}.stat strong{display:block;font-size:30px;line-height:1.5;letter-spacing:-.9px;color:#203d51;margin:7px 0}.stat:first-child strong{color:#167b6e}.stat small{font-size:11px;color:#8090a2}.sync-note{display:flex;align-items:center;gap:10px;color:#68788c;font-size:12px;margin:24px 0}.status-dot{display:inline-block;width:7px;height:7px;background:#28a690;border-radius:50%;flex-shrink:0}.panel{background:#fff;border:1px solid var(--panel-border);border-radius:11px;overflow:hidden;box-shadow:0 4px 12px #14293e0a}.panel-heading{padding:22px 24px;border-bottom:1px solid #ecf0f4;display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-heading h2{margin:0}.badge{display:inline-block;padding:4px 9px;font-size:11px;background:#edf3f6;color:#617589;border-radius:5px;white-space:nowrap}.badge.warning{color:#a8752d;background:#fdf5e5}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{background:#fafbfd;font-size:10px;text-transform:uppercase;letter-spacing:.65px;font-weight:650;color:#72849a;padding:15px 20px}td{padding:19px 20px;border-bottom:1px solid #edf0f4;vertical-align:middle}td strong{font-weight:650}.table-sub{display:block;font-size:11px;color:#8d9bab;margin-top:3px}.amount{font-weight:650;white-space:nowrap}.pagination{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;color:#718197;font-size:12px}.pagination>div{display:flex;gap:10px}.empty{text-align:center;padding:65px 24px;color:#75859a;font-size:14px}.empty h3{color:#344d63;font-size:18px;margin:15px 0 9px}.empty p{max-width:480px;margin:0 auto 22px}.empty-icon{font-size:34px;color:#79a79e;background:#edf7f4;width:64px;height:64px;border-radius:15px;display:flex;align-items:center;justify-content:center;margin:auto}.footer-note{margin-top:19px}.alert{border-radius:7px;padding:13px 16px;font-size:13px;margin:18px 0;line-height:1.6}.alert.error{color:#9d3442;background:#fff0f2;border:1px solid #f4d9df}.alert.success{color:#176b50;background:#eaf8f1;border:1px solid #cdeade}.alert.info{color:#466d84;background:#eef6fb;border:1px solid #d8e7f3}.form-panel{max-width:700px;padding:28px}.form-panel .panel-heading{padding:0 0 20px;margin-bottom:24px}.form-panel form{max-width:600px}label{display:block;font-size:12px;color:#3a5064;font-weight:650;margin-bottom:8px}input,select{width:100%;height:46px;padding:11px 13px;border:1px solid #d3dce6;border-radius:7px;background:#fff;color:#2b4055;font-size:13px;margin-bottom:19px}input[readonly]{background:#f5f7fa;color:#708195}input::placeholder{color:#94a2b2}input:focus,select:focus{border-color:#2eab99}.field-hint{font-size:11px;color:#8090a2;margin-top:-12px;margin-bottom:23px}@media(max-width:1100px){.stats{gap:12px}.stat{padding:20px}.stat strong{font-size:25px}.page-heading{align-items:flex-start}}@media(max-width:760px){.sidebar .brand{margin-bottom:20px}.page-heading{display:block}.page-heading .button{margin-top:18px}.stats{grid-template-columns:1fr}.stat strong{font-size:29px}.sync-note{align-items:flex-start}.panel-heading{padding:20px 16px}.panel-heading h2{font-size:15px}.form-panel{padding:22px}h1{font-size:28px}}.filters-panel{margin-bottom:24px}.filters-form{padding:22px 24px}.filters-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}.filters-actions p{margin:0;max-width:650px}.filters-actions>div{display:flex;gap:10px}@media(max-width:1100px){.filters-actions{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.filters-form{padding:20px 16px}.filters-actions>div{flex-wrap:wrap}}.sync-actions{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;gap:12px}.sync-actions .sync-note{margin:0;gap:8px;align-items:flex-start;text-align:right}.sync-actions .status-dot{margin-top:6px}.sync-actions .sync-note strong{color:#30485f;font-weight:650}.accounts-table>thead>tr>th{background:#254958;color:#e5f4f5;border-bottom:2px solid #158575}.accounts-table>tbody>.account-row>td{background:#fff;border-bottom:1px solid #bfd4d2}.accounts-table>tbody>.account-row.alternate>td{background:#e0eeeb}.accounts-table .table-sub{color:#526b77}.button.installments-button{background:#167b6e;color:#fff;border:0;padding:9px 14px}.button.installments-button:hover{background:#0d6258}.button.installments-button[aria-expanded=true]{background:#254958}@media(max-width:760px){.sync-actions{align-items:flex-start;margin-top:18px}.page-heading .sync-actions .button{margin-top:0}.sync-actions .sync-note{text-align:left}}.back-link{display:inline-block;margin-bottom:24px;color:#167b6e;text-decoration:none;font-size:13px;font-weight:650}.accounts-table th,.accounts-table td{text-align:center;vertical-align:middle}textarea{font:inherit;width:100%;padding:12px 13px;border:1px solid #d3dce6;border-radius:7px;background:#fff;color:#2b4055;font-size:13px;resize:vertical;margin-bottom:16px;outline-offset:4px}textarea:focus-visible{outline:3px solid #52bfb3}textarea:focus{border-color:#2eab99}.appointment-status{padding:6px 10px;font-weight:650}.appointment-status[data-status=AGENDADO]{background:#e7f0f6;color:#365d7b}.appointment-status[data-status=EM_ATENDIMENTO]{background:#fff0cd;color:#8a5d13}.appointment-status[data-status=CONCLUIDO]{background:#dcf0e7;color:#1b6c51}.appointment-status[data-status=CANCELADO]{background:#f4e1e5;color:#933a49}.appointment-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.appointment-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.alert .appointment-actions{margin:14px 0 0}.attendance-history{list-style:none;padding:0 24px;margin:0}.attendance-history li{padding:21px 0;border-bottom:1px solid #e3ece9}.attendance-history li:last-child{border:0}.attendance-history li>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.attendance-history time,.attendance-history small{color:#748a95;font-size:10px}.attendance-history p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 7px;color:#30485f}@media(max-width:760px){.appointment-fields{grid-template-columns:1fr}.attendance-history{padding-left:18px;padding-right:18px}.attendance-history li>div{flex-wrap:wrap}}.attendance-result-text{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #29867c;padding:12px 14px;background:#f2f8f5;border-radius:0 6px 6px 0;margin-top:14px}.button[aria-busy=true]:before,.empty[role=status]:before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;border:2px solid #bcded5;border-top-color:#158575;border-radius:50%;animation:loading-spin .8s linear infinite}.button.primary[aria-busy=true]:before{border-color:#ffffff60;border-top-color:#fff}.empty[role=status]:before{display:block;width:28px;height:28px;margin:0 auto 14px}@keyframes loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.button[aria-busy=true]:before,.empty[role=status]:before{animation:none}}.negotiation-panel{margin-top:22px;padding:26px}.negotiation-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:18px 0}.negotiation-fields label{margin-top:0}.negotiation-panel h3{margin-top:22px}.negotiation-panel textarea{margin-bottom:18px}.negotiation-panel details summary{cursor:pointer;font-weight:650;color:var(--green);padding:12px 0}.quote-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:20px 0}.quote-totals>div{background:#f0f6f2;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}.quote-totals span{font-size:.8rem;color:#586d62}.quote-totals strong{font-size:1.12rem;color:#254d3a}.negotiation-panel .panel-heading .appointment-actions{margin:0;flex-wrap:wrap}@media(max-width:700px){.negotiation-panel{padding:18px}.negotiation-fields{grid-template-columns:1fr}.quote-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-heading{flex-wrap:wrap}}.negotiation-panel>.table-wrap+.field-hint{margin-top:12px}.enrollment-notes-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#30485f}
