:root{--bg:#f4f7f8;--panel:#fff;--ink:#13252c;--muted:#6d7b80;--line:#dfe7e9;--blue:#4aa7c2;--blue-dark:#267c97;--blue-pale:#dff4fa;--green:#2d8068;--red:#b55656;--red-pale:#fff0f0;--shadow:0 18px 50px #17364014}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.button{background:var(--ink);color:#fff;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:800;transition:all .2s;display:inline-flex}.button:hover{background:#1d3540;transform:translateY(-1px)}.button.large{border-radius:14px;padding:15px 22px}.button.small{border-radius:10px;padding:9px 13px;font-size:13px}.button.full{width:100%}.button:disabled{opacity:.55;cursor:not-allowed}.ghost{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 16px;font-weight:750}.ghost.large{padding:14px 21px}.text-button,.mini-action{color:var(--blue-dark);background:0 0;border:0;padding:4px;font-weight:750}.mini-action{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--blue-dark);margin:0 0 8px;font-size:11px;font-weight:900}.landing{background:#f8fbfc}.landing-nav{justify-content:space-between;align-items:center;max-width:1180px;margin:auto;padding:22px 30px;display:flex}.landing-brand,.auth-brand,.brand-lockup{align-items:center;gap:10px;display:flex}.landing-brand>span,.auth-brand>span,.brand-mark{background:var(--ink);color:#fff;border-radius:13px;place-items:center;width:40px;height:40px;font-weight:950;display:grid}.landing-brand div,.auth-brand div,.brand-lockup div{flex-direction:column;display:flex}.landing-brand small,.auth-brand small,.brand-lockup span{color:var(--muted);margin-top:1px;font-size:11px}.landing-nav nav{align-items:center;gap:22px;font-size:14px;font-weight:650;display:flex}.hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;max-width:1180px;min-height:680px;margin:auto;padding:85px 30px 95px;display:grid}.hero-copy h1{letter-spacing:-.055em;max-width:650px;margin:20px 0 24px;font-size:64px;line-height:.98}.hero-copy h1 em{color:var(--blue-dark);font-style:normal}.hero-copy>p:not(.pill){color:var(--muted);max-width:620px;font-size:19px;line-height:1.65}.pill{background:var(--blue-pale);color:var(--blue-dark);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;display:inline-flex}.hero-actions{gap:10px;margin:28px 0;display:flex}.hero-proof{color:var(--muted);flex-wrap:wrap;gap:18px;font-size:13px;display:flex}.hero-ui{background:linear-gradient(135deg,#dff4fa,#eef8f5);border-radius:36px;padding:26px;transform:rotate(1.5deg)}.mini-window{box-shadow:var(--shadow);background:#fff;border-radius:24px;padding:24px;transform:rotate(-1.5deg)}.mini-top{gap:6px;margin-bottom:34px;display:flex}.mini-top span{background:#cbd7da;border-radius:50%;width:8px;height:8px}.mini-title{justify-content:space-between;align-items:end;font-size:15px;font-weight:750;display:flex}.mini-title b{letter-spacing:-.04em;font-size:26px}.mini-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0;display:grid}.mini-grid div{background:var(--bg);border-radius:14px;padding:13px}.mini-grid small,.mini-grid strong{display:block}.mini-grid small{color:var(--muted);margin-bottom:5px;font-size:10px}.mini-grid strong{font-size:14px}.fake-chart{border-bottom:1px solid var(--line);align-items:end;gap:12px;height:170px;padding:20px 4px 0;display:flex}.fake-chart i{background:var(--ink);opacity:.92;border-radius:8px 8px 2px 2px;flex:1}.feature-section,.steps{max-width:1180px;margin:auto;padding:100px 30px}.feature-section>h2,.steps h2,.cta h2{letter-spacing:-.04em;max-width:720px;margin:10px 0 42px;font-size:45px;line-height:1.08}.feature-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.feature-grid article{background:#fff;border:1px solid #e8eff1;border-radius:22px;padding:28px}.feature-icon{background:var(--blue-pale);width:42px;height:42px;color:var(--blue-dark);border-radius:12px;place-items:center;font-weight:900;display:grid}.feature-grid h3{margin:22px 0 8px}.feature-grid p{color:var(--muted);margin:0;line-height:1.55}.steps{grid-template-columns:.8fr 1.2fr;gap:80px;display:grid}.steps ol{margin:0;padding:0;list-style:none}.steps li{border-bottom:1px solid var(--line);grid-template-columns:60px 1fr;gap:10px;padding:24px 0;display:grid}.steps li>b{color:var(--blue-dark)}.steps li span{color:var(--muted);flex-direction:column;gap:5px;display:flex}.steps li strong{color:var(--ink);font-size:18px}.cta{background:var(--ink);color:#fff;text-align:center;border-radius:34px;max-width:1120px;margin:50px auto 110px;padding:70px}.cta .eyebrow{color:#8ed2e4}.cta h2{margin:10px auto 30px}.cta .button{color:var(--ink);background:#fff}footer{border-top:1px solid var(--line);max-width:1180px;color:var(--muted);justify-content:space-between;margin:auto;padding:35px 30px 50px;display:flex}footer div{color:var(--ink);flex-direction:column;display:flex}footer div span{color:var(--muted);font-size:12px}.auth-page{background:radial-gradient(circle at top,#e7f7fb,transparent 38%),var(--bg);place-items:center;min-height:100vh;padding:80px 20px;display:grid;position:relative}.auth-brand{position:absolute;top:28px;left:32px}.auth-card{border:1px solid var(--line);width:min(460px,100%);box-shadow:var(--shadow);background:#fff;border-radius:24px;padding:38px}.auth-card h1{letter-spacing:-.04em;margin:7px 0;font-size:36px}.auth-card>p:not(.eyebrow){color:var(--muted);margin-bottom:28px}.form-stack{flex-direction:column;gap:16px;display:flex}.form-stack label,.form-grid label,.inline-form label,.block-label{color:#40545b;flex-direction:column;gap:7px;font-size:12px;font-weight:800;display:flex}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:12px 13px}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #4aa7c21f}textarea{resize:vertical;min-height:90px}.error-box{background:var(--red-pale);color:var(--red);border-radius:10px;padding:11px 12px;font-size:13px}.auth-switch{text-align:center!important;margin:20px 0 0!important;font-size:13px!important}.auth-switch a{color:var(--blue-dark);font-weight:800}.app-frame{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.brand-lockup{padding:0 6px 26px}.brand-mark{border-radius:11px;width:37px;height:37px}.brand-lockup strong{font-size:14px}.side-nav{flex-direction:column;gap:5px;display:flex}.side-nav a{color:#53666d;border-radius:11px;align-items:center;gap:12px;padding:11px 12px;font-size:13px;font-weight:700;display:flex}.side-nav a b{text-align:center;color:#789097;width:25px}.side-nav a.active,.side-nav a:hover{color:var(--ink);background:#edf6f8}.side-nav a.active b{color:var(--blue-dark)}.side-bottom{margin-top:auto}.user-chip{align-items:center;gap:10px;padding:12px 6px;display:flex}.avatar{background:var(--blue-pale);width:35px;height:35px;color:var(--blue-dark);border-radius:50%;place-items:center;font-weight:900;display:grid}.user-chip>div:last-child{flex-direction:column;min-width:0;display:flex}.user-chip strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.user-chip small{color:var(--muted);font-size:10px}.main{min-width:0;padding:38px 44px 70px}.page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px;display:flex}.page-head h1{letter-spacing:-.04em;margin:0;font-size:34px}.page-head>div>p:last-child:not(.eyebrow){color:var(--muted);margin:7px 0 0}.metric-grid{grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px;display:grid}.metric-grid.three{grid-template-columns:repeat(3,1fr)}.metric{border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px}.metric.primary{background:var(--ink);color:#fff}.metric.danger{background:#fff8f8}.metric small,.metric strong,.metric span{display:block}.metric small{color:var(--muted);font-weight:700}.metric.primary small,.metric.primary span{color:#b8c9ce}.metric strong{letter-spacing:-.04em;margin:7px 0;font-size:27px}.metric span{color:var(--muted);font-size:11px}.two-col{grid-template-columns:1.45fr .75fr;gap:18px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:18px;margin-bottom:18px;padding:22px}.panel-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.panel-head h2{margin:0 0 5px;font-size:16px}.panel-head p{color:var(--muted);margin:0;font-size:12px}.panel-head>a{color:var(--blue-dark);font-size:12px;font-weight:800}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid var(--line);padding:10px;font-size:10px}td{white-space:nowrap;border-bottom:1px solid #edf1f2;padding:13px 10px}tbody tr:last-child td{border-bottom:0}.badge{border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.badge.recebido{color:#27705c;background:#e5f5ef}.badge.a_receber{color:#356e94;background:#eef5fb}.badge.em_atraso{color:#a74f4f;background:#fff0f0}.empty{text-align:center;min-height:150px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.empty.wide{border:1px dashed var(--line);background:#fff;border-radius:18px;grid-column:1/-1}.empty b{color:var(--ink)}.species{justify-content:center;align-items:center;gap:28px;padding:20px 0;display:flex}.donut{border-radius:50%;place-items:center;width:135px;height:135px;display:grid;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:22px}.donut span{z-index:1;text-align:center;flex-direction:column;display:flex}.donut b{font-size:27px}.donut small{color:var(--muted)}.legend{min-width:120px}.legend p{grid-template-columns:10px 1fr auto;align-items:center;gap:8px;font-size:12px;display:grid}.dot{border-radius:50%;width:8px;height:8px;display:block}.dot.ink{background:var(--ink)}.dot.blue{background:var(--blue)}.dot.pale{background:#d6e0e3}.clinic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.clinic-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px}.muted{opacity:.52}.clinic-title,.clinic-title>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.clinic-title>div{justify-content:flex-start}.clinic-icon{background:var(--blue-pale);width:38px;height:38px;color:var(--blue-dark);border-radius:11px;place-items:center;font-weight:900;display:grid}.clinic-title h2{margin:0;font-size:15px}.clinic-title p{color:var(--muted);margin:3px 0 0;font-size:10px}.rate-row,.plans-list>div{border-bottom:1px solid #edf1f2;grid-template-columns:1fr auto 80px auto;align-items:center;gap:10px;padding:12px 0;font-size:12px;display:grid}.rate-row{margin-top:13px}.rate-row small,.plans-list small{color:var(--muted);text-align:right}.plans-list>div span{font-weight:700}.add-line{width:100%;color:var(--blue-dark);background:#f5fafb;border:0;border-radius:10px;margin-top:12px;padding:11px;font-weight:800}.plan-form{grid-template-columns:1.5fr 1fr .75fr auto;gap:7px;margin-top:12px;display:grid}.plan-form input{padding:9px;font-size:12px}.form-panel h2{margin-top:0;font-size:17px}.inline-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.span-2{grid-column:1/-1}.form-actions{justify-content:flex-end;gap:8px;display:flex}.tabs{gap:6px;margin-bottom:18px;display:flex}.tabs button{color:var(--muted);background:#f3f6f7;border:0;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:800}.tabs button.active{background:var(--ink);color:#fff}.reports{grid-template-columns:1.3fr .7fr}.annual-chart{grid-template-columns:repeat(12,1fr);align-items:end;gap:7px;height:260px;padding-top:20px;display:grid}.annual-chart>div{flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;height:100%;display:flex}.annual-chart span{background:var(--blue);border-radius:6px 6px 2px 2px;width:70%;min-height:4px;display:block}.annual-chart small{color:var(--muted);font-size:9px}.split-report{grid-template-columns:1fr 1fr;gap:10px;margin:40px 0 20px;display:grid}.split-report div{flex-direction:column;display:flex}.split-report strong{letter-spacing:-.04em;font-size:23px}.split-report span{color:var(--muted);font-size:11px}.progress{background:#dfeff3;border-radius:999px;height:10px;overflow:hidden}.progress span{background:var(--ink);height:100%;display:block}.rank-list>div{border-bottom:1px solid #edf1f2;grid-template-columns:45px 1fr auto;align-items:center;gap:12px;padding:14px 2px;display:grid}.rank-list>div>b{color:#a2b0b5}.message-layout{grid-template-columns:.75fr 1.25fr}.block-label{margin:12px 0}.message-stats{grid-template-columns:1fr 1fr;gap:10px;margin-top:15px;display:grid}.message-stats div{background:var(--bg);border-radius:12px;padding:15px}.message-stats small,.message-stats strong{display:block}.message-stats small{color:var(--muted);font-size:10px}.message-stats strong{margin-top:4px;font-size:19px}.hint{color:var(--muted);font-size:11px;line-height:1.5}.preview pre{white-space:pre-wrap;color:#33474f;background:#f7f9fa;border-radius:13px;margin:0;padding:18px;font:13px/1.65 ui-sans-serif,system-ui}.section-label{border-top:1px solid var(--line);flex-direction:column;gap:4px;margin-top:8px;padding-top:20px;display:flex}.section-label:first-child{border-top:0;padding-top:0}.section-label span{color:var(--muted);font-size:11px}.settings-panel{max-width:850px}.center-screen{min-height:100vh;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.spinner{border:2px solid var(--line);border-top-color:var(--blue-dark);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1000px){.hero{grid-template-columns:1fr;padding-top:60px}.hero-copy h1{font-size:52px}.feature-grid{grid-template-columns:repeat(2,1fr)}.app-frame{grid-template-columns:78px 1fr}.sidebar{padding:20px 10px}.brand-lockup div,.side-nav span,.side-bottom .user-chip>div:last-child,.side-bottom .text-button{display:none}.brand-lockup,.side-nav a{justify-content:center}.side-nav a b{width:auto}.user-chip{justify-content:center}.main{padding:32px 25px}.metric-grid{grid-template-columns:repeat(2,1fr)}.two-col,.reports,.message-layout,.clinic-grid{grid-template-columns:1fr}}@media (max-width:700px){.landing-nav{padding:18px}.landing-nav nav>a:not(.button){display:none}.hero{padding:55px 20px 70px}.hero-copy h1{font-size:43px}.hero-proof{flex-direction:column;gap:7px}.hero-ui{padding:13px}.mini-grid{grid-template-columns:1fr}.mini-title{flex-direction:column;align-items:flex-start;gap:6px}.feature-section,.steps{padding:70px 20px}.feature-section>h2,.steps h2,.cta h2{font-size:35px}.feature-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr;gap:15px}.cta{border-radius:25px;margin:30px 15px 70px;padding:50px 22px}footer{flex-direction:column;gap:10px;margin:0 15px;padding:30px 5px}.app-frame{display:block}.sidebar{z-index:10;border-right:0;border-top:1px solid var(--line);background:#fff;width:100%;height:auto;padding:8px;display:block;position:fixed;top:auto;bottom:0}.brand-lockup,.side-bottom{display:none}.side-nav{grid-template-columns:repeat(8,1fr);gap:2px;display:grid}.side-nav a{padding:8px 2px}.side-nav a b{font-size:14px}.main{padding:25px 14px 90px}.page-head{flex-direction:column;align-items:flex-start}.page-head h1{font-size:30px}.metric-grid,.metric-grid.three{grid-template-columns:1fr 1fr}.metric{padding:16px}.metric strong{font-size:21px}.panel{padding:16px}.clinic-grid,.inline-form,.plan-form,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.table-wrap{margin:0 -8px}.species{flex-direction:column}.auth-brand{top:20px;left:20px}.auth-card{padding:28px 22px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions>*{text-align:center}.landing-brand>span{width:36px;height:36px}.landing-nav nav{gap:8px}}.procedure-form{grid-template-columns:2fr 1fr auto}@media (max-width:700px){.procedure-form{grid-template-columns:1fr}}.field-help{color:var(--muted);font-size:11px;font-weight:600}.field-help a{color:var(--blue-dark);font-weight:800}.info-box{background:var(--blue-pale);color:#355a66;border-radius:11px;padding:11px 13px;font-size:12px;line-height:1.45}
