

:root{
  box-sizing:border-box;
  --bg:#f5f7f4; --panel:#ffffff; --ink:#12181a; --muted:#5c6b62; --line:#dde4de;
  --safe:#166534; --safe-soft:#e9f5ee; --caution:#9a5b13; --caution-soft:#fbf1e6;
  --danger:#b3261e; --danger-soft:#fbe9e7; --acc:#12181a;
  --r:14px; --sh:0 1px 2px rgba(18,24,26,.05),0 6px 18px -8px rgba(18,24,26,.08);
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:inherit;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:env(safe-area-inset-top,0px)}
body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
svg{display:block;flex-shrink:0}
button{font-family:inherit;cursor:pointer;background:none;border:none}
input,select,textarea{font-family:inherit;font-size:14px;width:100%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 13px;color:var(--ink)}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%235c6b62'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:38px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(18,24,26,.08)}
label{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:6px}
.field{margin-bottom:16px}
[x-cloak]{display:none!important}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:10px;font-weight:600;font-size:14.5px;white-space:nowrap}
.btn.primary{background:var(--ink);color:#fff}
.btn.primary:hover{background:#000}
.btn.ghost{border:1px solid var(--line);color:var(--ink)}
.btn.ghost:hover{background:#eef1ee}
.btn.danger{border:1px solid #f1c9c5;color:var(--danger)}
.btn.sm{padding:9px 14px;font-size:13px;border-radius:9px}
.btn.block{width:100%}
.btn svg{width:17px;height:17px}
.icon{width:20px;height:20px}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:650;padding:4px 10px;border-radius:999px;white-space:nowrap}
.badge.safe{background:var(--safe-soft);color:var(--safe)}
.badge.caution{background:var(--caution-soft);color:var(--caution)}
.badge.danger{background:var(--danger-soft);color:var(--danger)}
.badge.neutral{background:#eef1ee;color:var(--muted)}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
.muted{color:var(--muted)}
.pagepad{max-width:1180px;margin:0 auto;padding:20px 20px 100px}
@media(min-width:768px){.pagepad{padding:28px 28px 48px}}
h1.page-title{font-size:21px;font-weight:680;letter-spacing:-.02em}
p.page-sub{color:var(--muted);font-size:13.5px;margin-top:4px;margin-bottom:22px}

.scrim{position:fixed;inset:0;background:rgba(15,20,18,.45);z-index:60}
.sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:20px 20px 0 0;z-index:61;max-height:88vh;display:flex;flex-direction:column;box-shadow:0 -20px 50px -20px rgba(0,0,0,.3)}
.sheet .handle{width:38px;height:4px;background:var(--line);border-radius:99px;margin:10px auto}
.sheet .sheet-head{padding:4px 20px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.sheet .sheet-head h3{font-size:16px;font-weight:650}
.sheet .sheet-body{padding:18px 20px;overflow-y:auto}
.sheet .close{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef1ee;color:var(--ink);flex-shrink:0}
.sheet .close svg{width:16px;height:16px}
@media(min-width:768px){ .sheet{left:auto;top:0;bottom:0;right:0;width:440px;border-radius:0;max-height:none} }

.list{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh)}
.row{display:flex;align-items:center;gap:14px;padding:15px 18px;border-top:1px solid var(--line)}
.row:first-of-type{border-top:none}
.row:hover{background:#fafbfa}
.row .ico{width:42px;height:42px;border-radius:12px;background:#eef1ee;color:var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700;font-size:13.5px;letter-spacing:-.02em}
.row .ico svg{width:20px;height:20px}
.row .main{flex:1;min-width:0}
.row .main .t{font-size:15px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .main .s{font-size:13px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .trail{display:flex;align-items:center;gap:10px;flex-shrink:0}
.row .chev{width:18px;height:18px;color:#c3ccc5;flex-shrink:0}
.row .col{flex:1;min-width:0;font-size:13.5px;overflow-wrap:anywhere}
.empty{padding:40px 18px;text-align:center;color:var(--muted);font-size:13.5px}

.kpis{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh);display:grid;grid-template-columns:1fr 1fr;margin-bottom:20px;overflow:hidden}
.kpis .kpi{padding:16px}
.kpis .kpi:nth-child(2n){border-left:1px solid var(--line)}
.kpis .kpi .l{font-size:11.5px;color:var(--muted);font-weight:600;margin-bottom:6px}
.kpis .kpi .n{font-size:22px;font-weight:700;letter-spacing:-.01em;font-family:ui-monospace,Menlo,Consolas,monospace}
.kpis .kpi .n small{font-size:13px;color:var(--muted);font-weight:500;font-family:inherit}
@media(min-width:640px){
  .kpis[data-n="4"]{grid-template-columns:repeat(4,1fr)}
  .kpis[data-n="3"]{grid-template-columns:repeat(3,1fr)}
  .kpis[data-n="2"]{grid-template-columns:repeat(2,1fr)}
  .kpis .kpi{border-left:1px solid var(--line)!important}
  .kpis .kpi:first-child{border-left:none!important}
}
.grid-cards{display:grid;gap:12px}
.msg-erro{background:var(--danger-soft);color:var(--danger);border:1px solid #f3c8c3;padding:10px 13px;border-radius:10px;font-size:13px;margin-bottom:14px}

.shell{min-height:100vh}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top,0px)}
.topbar .bar{max-width:1180px;margin:0 auto;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;letter-spacing:-.01em}
.brand .mark{width:9px;height:9px;border-radius:3px;background:var(--safe)}
.avatar-btn{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font-size:12.5px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tenant-trigger{display:inline-flex;align-items:center;gap:8px;background:#eef1ee;border-radius:999px;padding:8px 14px;font-size:12.5px;font-weight:650;color:var(--ink);max-width:100%}
.tenant-trigger:hover{background:#e4e8e3}
.tenant-trigger svg{width:15px;height:15px;flex-shrink:0;color:var(--muted)}
.tenant-trigger span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line);display:flex;padding-bottom:env(safe-area-inset-bottom,0px)}
.bottomnav a,.bottomnav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 4px 8px;font-size:10.5px;font-weight:600;color:var(--muted);position:relative}
.bottomnav a.on,.bottomnav button.on{color:var(--ink)}
.bottomnav svg{width:22px;height:22px}
.bottomnav .badge-dot{position:absolute;top:5px;right:calc(50% - 17px);width:8px;height:8px;border-radius:50%;background:var(--danger);border:1.5px solid #fff}

.sidebar{display:none}
@media(min-width:768px){
  .shell{display:flex}
  .sidebar{display:flex;flex-direction:column;width:224px;flex-shrink:0;border-right:1px solid var(--line);background:#fff;min-height:100vh;padding:20px 14px}
  .sidebar .brand{padding:0 8px 22px}
  .sidebar nav{display:flex;flex-direction:column;gap:2px}
  .sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:9px;font-size:13.5px;font-weight:560;color:var(--muted)}
  .sidebar nav a:hover{background:#f1f3f1;color:var(--ink)}
  .sidebar nav a.on{background:#eef1ee;color:var(--ink)}
  .sidebar nav a.disabled{opacity:.4;pointer-events:none}
  .sidebar nav svg{width:19px;height:19px}
  .sidebar .divider{height:1px;background:var(--line);margin:12px 6px}
  .sidebar .section-l{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:650;padding:4px 10px 6px}
  .main{flex:1;min-width:0}
  .bottomnav{display:none}
  .topbar{display:none}
  .topbar-desktop{display:flex!important}
}
.topbar-desktop{display:none;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:13px 28px;align-items:center;justify-content:space-between;gap:12px}

.tabs{display:flex;gap:4px;background:#eef1ee;border-radius:11px;padding:4px;margin-bottom:18px;overflow-x:auto}
.tabs button,.tabs a{padding:8px 14px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.tabs button.on,.tabs a.on{background:#fff;color:var(--ink);box-shadow:var(--sh)}

.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}

.landing{background:var(--bg);color:var(--ink)}
.lnav{position:sticky;top:0;z-index:20;background:rgba(245,247,244,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.lnav .bar{max-width:1080px;margin:0 auto;padding:16px 20px;display:flex;align-items:center;justify-content:space-between}
.lwrap{max-width:1080px;margin:0 auto;padding:0 20px}
.hero{padding:64px 0 48px;display:flex;flex-direction:column;align-items:center;text-align:center}
.hero .kicker{font-size:13.5px;color:var(--muted);font-weight:600;margin-bottom:16px}
.hero h1{font-size:clamp(28px,6.4vw,46px);font-weight:660;letter-spacing:-.025em;line-height:1.12;max-width:17ch}
.hero .sub{margin-top:16px;color:var(--muted);font-size:16.5px;max-width:42ch;line-height:1.6}
.gauge{margin:40px 0 6px;position:relative;width:230px;height:132px}
.gauge svg{width:100%;height:100%}
.gauge .num{position:absolute;bottom:2px;left:0;right:0;text-align:center}
.gauge .num .v{font-size:36px;font-weight:700;font-family:ui-monospace,Menlo,Consolas,monospace;color:var(--safe)}
.gauge .num .u{font-size:12px;color:var(--muted);margin-top:2px}
.hero .actions{margin-top:28px}
.section{padding:56px 0}
.section h2{font-size:clamp(22px,4vw,30px);font-weight:640;letter-spacing:-.02em;max-width:22ch}
.section .lede{color:var(--muted);font-size:15.5px;margin-top:10px;max-width:52ch}
.compare{display:grid;gap:14px;margin-top:32px}
@media(min-width:760px){.compare{grid-template-columns:1fr 1fr}}
.compare .col-card{border-radius:16px;padding:22px;border:1px solid var(--line)}
.compare .col-card.bad{background:#fbf6f2}
.compare .col-card.good{background:var(--safe-soft);border-color:#cfe8da}
.compare .col-card b{display:block;font-size:14px;margin-bottom:12px;font-weight:660}
.compare .col-card ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.compare .col-card li{font-size:13.5px;display:flex;gap:9px;align-items:flex-start;color:var(--ink)}
.compare .col-card li svg{width:16px;height:16px;margin-top:2px;flex-shrink:0}
.compare .bad li svg{color:var(--caution)}
.compare .good li svg{color:var(--safe)}
.cta-card{background:var(--ink);color:#f5f7f4;border-radius:20px;padding:36px 28px;text-align:center;margin-top:14px}
.cta-card .flag{display:inline-flex;align-items:center;gap:7px;background:rgba(245,247,244,.1);border:1px solid rgba(245,247,244,.18);padding:6px 13px;border-radius:999px;font-size:12.5px;font-weight:600;margin-bottom:18px}
.cta-card h2{font-size:clamp(21px,4vw,28px);font-weight:640;letter-spacing:-.02em;max-width:24ch;margin:0 auto}
.cta-card p{color:#c7cdc9;font-size:14.5px;margin-top:12px;max-width:40ch;margin-left:auto;margin-right:auto}
.cta-card .btn.primary{background:#fff;color:var(--ink);margin-top:22px}
footer.legal{border-top:1px solid var(--line);padding:32px 0 40px;font-size:12.5px;color:var(--muted)}
footer.legal .lwrap{display:flex;flex-direction:column;gap:14px}
footer.legal .links{display:flex;gap:16px;flex-wrap:wrap}
@media(min-width:700px){footer.legal .lwrap{flex-direction:row;justify-content:space-between;align-items:flex-start}}

.center-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.center-box{width:100%;max-width:420px}
.progress-chip{display:flex;align-items:center;gap:8px;margin-bottom:18px}
.progress-chip .bar{flex:1;height:4px;background:var(--line);border-radius:99px;overflow:hidden}
.progress-chip .bar i{display:block;height:100%;background:var(--ink);border-radius:99px}
.progress-chip span{font-size:11.5px;color:var(--muted);font-weight:600;white-space:nowrap}
.opt{display:block;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:10px;font-size:14.5px;font-weight:560;width:100%;text-align:left}
.opt:hover{border-color:#c3ccc5}
.opt.picked{border-color:var(--ink);background:#f5f7f4}
.result-badge{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.result-badge.yes{background:var(--safe-soft);color:var(--safe)}
.result-badge.no{background:var(--caution-soft);color:var(--caution)}

@media(min-width:768px){@media(min-width:768px){@media(min-width:768px){
.msg-ok{background:var(--safe-soft);color:var(--safe);border:1px solid #cfe8da;padding:10px 13px;border-radius:10px;font-size:13px;margin-bottom:14px}
.row .trail svg{width:18px;height:18px;color:#c3ccc5}
.result-badge svg{width:26px;height:26px}
.progress-chip a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--ink)}
textarea{min-height:96px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px}
button[disabled]{opacity:.45;cursor:not-allowed}
