@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root{--bg:#f3f7f5;--surface:#fff;--surface2:#edf4f0;--text:#16251e;--muted:#65766e;--line:#dce7e1;--brand:#176b45;--brand2:#0e5032;--brandsoft:#e5f2eb;--danger:#b43737;--warn:#9a6a0a;--good:#1a7a48;--shadow:0 16px 45px rgba(18,68,47,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}img{max-width:100%}.hidden{display:none!important}.boot{min-height:100vh;display:grid;place-items:center;align-content:center;gap:16px;color:var(--muted)}.boot img{width:74px}.spinner{width:28px;height:28px;border:3px solid #dbe7e1;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* public */.landing{min-height:100vh;background:radial-gradient(circle at 85% 8%,rgba(61,142,99,.22),transparent 28%),radial-gradient(circle at 10% 40%,rgba(25,91,60,.14),transparent 28%),linear-gradient(180deg,#f5faf7 0,#eef5f1 100%)}.public-nav{height:76px;max-width:1200px;margin:auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between}.brand-lock{display:flex;align-items:center;gap:12px;font-weight:800}.brand-lock img{width:42px;height:42px;object-fit:contain}.brand-lock small{display:block;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.06em}.public-actions{display:flex;gap:10px}.hero{max-width:1200px;margin:auto;padding:78px 22px 64px;display:grid;grid-template-columns:1.12fr .88fr;gap:54px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--brandsoft);color:var(--brand2);padding:7px 11px;border-radius:99px;font-size:12px;font-weight:800;letter-spacing:.04em}.hero h1{font-size:clamp(42px,6vw,72px);letter-spacing:-.055em;line-height:.98;margin:18px 0 22px;max-width:820px}.hero h1 em{font-style:normal;color:var(--brand)}.hero p{font-size:19px;line-height:1.65;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.hero-panel{background:rgba(255,255,255,.82);border:1px solid rgba(213,230,220,.95);box-shadow:0 28px 80px rgba(25,77,54,.12);backdrop-filter:blur(15px);border-radius:26px;padding:24px}.orbital{height:380px;position:relative;display:grid;place-items:center;overflow:hidden}.orbital:before,.orbital:after{content:"";position:absolute;border:1px solid #bfd7ca;border-radius:50%;width:290px;height:290px}.orbital:after{width:210px;height:210px;border-style:dashed;animation:spin 20s linear infinite}.orbital-logo{width:115px;z-index:2;filter:drop-shadow(0 14px 28px rgba(20,84,55,.2))}.orbit-card{position:absolute;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:11px 13px;font-size:12px;font-weight:800}.oc1{top:42px;left:16px}.oc2{top:72px;right:4px}.oc3{bottom:52px;left:10px}.oc4{bottom:25px;right:20px}.stats-band{max-width:1200px;margin:0 auto 70px;padding:0 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.pub-stat{background:rgba(255,255,255,.72);border:1px solid var(--line);padding:17px;border-radius:14px}.pub-stat strong{font-size:24px;display:block}.pub-stat span{font-size:12px;color:var(--muted)}
/* auth */.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,470px) 1fr}.auth-card{padding:50px;display:flex;flex-direction:column;justify-content:center;background:white}.auth-card .brand-lock{position:absolute;top:30px}.auth-card h1{font-size:34px;margin:10px 0}.auth-side{background:linear-gradient(145deg,#123f2b,#0d5b36);display:grid;place-items:center;color:white;padding:50px;position:relative;overflow:hidden}.auth-side:before{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-160px;top:-120px}.auth-side-content{max-width:600px;position:relative}.auth-side h2{font-size:42px;letter-spacing:-.04em}.auth-side p{color:#cfe4d8;font-size:17px;line-height:1.7}
/* app layout */.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#113d2a;color:#ecf8f1;padding:20px 14px;display:flex;flex-direction:column;overflow:auto;z-index:20}.sidebar .brand-lock{padding:4px 9px 18px}.sidebar .brand-lock small{color:#adccbd}.nav-group{margin:8px 0}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:#91b3a3;padding:10px 11px 5px;font-weight:800}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;color:#cee2d7;font-size:13px;margin:2px 0;cursor:pointer}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.1);color:#fff}.nav-item .ico{width:20px;text-align:center;opacity:.9}.sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:12px}.user-mini{padding:9px;display:flex;gap:10px;align-items:center}.avatar{width:38px;height:38px;border-radius:50%;background:#d6e9df;display:grid;place-items:center;color:var(--brand2);font-weight:800;object-fit:cover}.user-mini strong{font-size:12px;display:block}.user-mini span{font-size:10px;color:#a9c8b8}.main{min-width:0}.topbar{height:68px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.breadcrumbs{font-size:12px;color:var(--muted)}.top-actions{display:flex;gap:8px;align-items:center}.mobile-menu{display:none}.content{padding:28px;max-width:1480px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.page-title h1{font-size:28px;letter-spacing:-.03em;margin:0 0 6px}.page-title p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.page-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
/* components */.btn{border:0;border-radius:9px;padding:10px 14px;font-weight:750;font-size:13px;background:var(--brand);color:white;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover{filter:brightness(.96)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.secondary{background:white;color:var(--text);border:1px solid var(--line)}.btn.ghost{background:transparent;color:var(--muted)}.btn.danger{background:#fff1f1;color:var(--danger);border:1px solid #f2d2d2}.btn.small{padding:7px 10px;font-size:11px}.icon-btn{width:38px;height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;cursor:pointer}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 16px rgba(25,70,51,.025)}.card.pad{padding:20px}.card-title{font-weight:800;font-size:14px;margin-bottom:14px}.grid{display:grid;gap:14px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{padding:18px}.metric .label{font-size:11px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.04em}.metric .value{font-size:31px;font-weight:850;letter-spacing:-.04em;margin:7px 0 3px}.metric .note{font-size:11px;color:var(--muted)}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:12px;border-bottom:1px solid #edf2ef;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr.clickable{cursor:pointer}.table tr.clickable:hover{background:#f8fbf9}.badge{display:inline-flex;padding:4px 8px;border-radius:99px;background:var(--surface2);font-size:10px;font-weight:800;color:#4d6458}.badge.good{background:#e7f7ed;color:var(--good)}.badge.warn{background:#fff4d8;color:var(--warn)}.badge.bad{background:#ffeded;color:var(--danger)}.progress{height:7px;border-radius:99px;background:#e9f0ec;overflow:hidden}.progress>i{height:100%;display:block;background:var(--brand);border-radius:inherit}.score{font-size:25px;font-weight:900;letter-spacing:-.04em}.score-ring{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--brand) var(--p),#e8efeb 0);position:relative}.score-ring:after{content:"";position:absolute;inset:7px;background:white;border-radius:50%}.score-ring span{z-index:1;font-size:20px;font-weight:900}.empty{text-align:center;padding:46px 20px;color:var(--muted)}.empty .big{font-size:36px;margin-bottom:8px}.empty strong{display:block;color:var(--text);font-size:14px;margin-bottom:5px}.section{margin-top:20px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}.section-head h2{font-size:16px;margin:0}.callout{padding:15px;border-radius:11px;background:#edf7f1;border:1px solid #d5eadf;font-size:12px;line-height:1.6}.callout.warn{background:#fff8e7;border-color:#f0dfb4}.callout.danger{background:#fff0f0;border-color:#f0d2d2}.kpi-strip{display:flex;gap:14px;flex-wrap:wrap}.kpi-strip>div{min-width:110px}.kpi-strip small{display:block;color:var(--muted);font-size:10px}.kpi-strip strong{font-size:17px}.tabs{display:flex;gap:3px;background:#eaf1ed;padding:4px;border-radius:10px;width:max-content;margin-bottom:18px}.tab{padding:7px 11px;border-radius:7px;font-size:11px;font-weight:750;cursor:pointer;border:0;background:transparent}.tab.active{background:white;box-shadow:0 2px 7px rgba(20,50,37,.08)}
/* forms */.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:block}.field.full{grid-column:1/-1}.field span{display:block;font-size:11px;font-weight:750;margin-bottom:6px;color:#3e5148}.input,.select,.textarea{width:100%;border:1px solid #ccd9d2;border-radius:9px;padding:10px 11px;background:white;outline:none;font-size:13px}.textarea{min-height:92px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#6ca786;box-shadow:0 0 0 3px rgba(40,119,76,.08)}.help{font-size:10px;color:var(--muted);margin-top:4px}.checkline{display:flex;align-items:center;gap:8px;font-size:12px}.search{position:relative}.search .input{padding-left:34px}.search:before{content:"⌕";position:absolute;left:11px;top:8px;color:var(--muted);font-size:18px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
/* modal/toast */.modal-back{position:fixed;inset:0;background:rgba(9,25,18,.52);z-index:100;display:grid;place-items:center;padding:20px}.modal{background:white;width:min(680px,100%);max-height:90vh;overflow:auto;border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.modal-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:17px;margin:0}.modal-body{padding:20px}.close{border:0;background:#eff4f1;width:32px;height:32px;border-radius:8px;cursor:pointer}.toast{position:fixed;right:20px;bottom:20px;z-index:200;background:#173c2b;color:white;border-radius:10px;padding:12px 15px;max-width:360px;box-shadow:0 15px 45px rgba(0,0,0,.2);font-size:12px;animation:toastin .2s ease}.toast.bad{background:#792b2b}@keyframes toastin{from{transform:translateY(10px);opacity:0}}
/* specialized */.cert-card{padding:18px;display:flex;flex-direction:column;gap:10px}.cert-code{font-size:10px;font-weight:900;color:var(--brand);letter-spacing:.08em}.cert-card h3{font-size:17px;margin:0}.cert-card p{font-size:11px;color:var(--muted);line-height:1.55;margin:0;min-height:52px}.chip-row{display:flex;gap:5px;flex-wrap:wrap}.chip{padding:4px 7px;background:#f0f5f2;border-radius:6px;font-size:9px}.rank-row{display:grid;grid-template-columns:42px 1.2fr 100px 1fr;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.rank-num{font-weight:900;font-size:18px;color:#6b7a72}.gap-list{display:grid;gap:7px}.gap-item{padding:10px;border-left:3px solid #c9932b;background:#fff9ea;font-size:11px}.gap-item.critical{border-color:#c94141;background:#fff1f1}.chat{height:470px;display:flex;flex-direction:column}.messages{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f6f9f7;border-radius:10px}.bubble{max-width:82%;padding:10px 12px;border-radius:11px;font-size:12px;line-height:1.55;white-space:pre-wrap}.bubble.user{align-self:flex-end;background:#dff0e7}.bubble.ai{align-self:flex-start;background:white;border:1px solid var(--line)}.chat-compose{display:flex;gap:8px;margin-top:10px}.edge-bars{display:grid;gap:15px}.edge-line{display:grid;grid-template-columns:95px 1fr 58px;gap:10px;align-items:center;font-size:12px}.measure{display:grid;grid-template-columns:32px 1fr 100px 90px;gap:10px;align-items:center;padding:11px;border-bottom:1px solid var(--line)}.measure small{color:var(--muted)}.report{max-width:920px;margin:auto}.report-cover{min-height:520px;display:flex;flex-direction:column;justify-content:center;padding:60px;border-left:8px solid var(--brand);background:white}.report-cover img{width:78px}.report-cover h1{font-size:38px;margin:30px 0 8px}.report-section{background:white;padding:30px;margin-top:14px}.mini-chart{display:flex;align-items:flex-end;gap:8px;height:150px;padding-top:20px}.mini-chart .bar{flex:1;background:var(--brandsoft);border-radius:5px 5px 0 0;position:relative;min-width:20px}.mini-chart .bar i{display:block;position:absolute;bottom:0;left:0;right:0;background:var(--brand);border-radius:inherit}.mini-chart .bar span{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:9px;color:var(--muted);white-space:nowrap}
@media(max-width:1050px){.hero{grid-template-columns:1fr}.hero-panel{display:none}.stats-band{grid-template-columns:repeat(2,1fr)}.g4{grid-template-columns:repeat(2,1fr)}.app-shell{grid-template-columns:220px 1fr}.sidebar{padding-left:8px;padding-right:8px}}@media(max-width:780px){.auth-shell{grid-template-columns:1fr}.auth-side{display:none}.auth-card{padding:32px 22px}.app-shell{display:block}.sidebar{position:fixed;left:-275px;width:260px;transition:left .2s;box-shadow:0 0 0 9999px transparent}.sidebar.open{left:0;box-shadow:0 0 0 9999px rgba(0,0,0,.4)}.mobile-menu{display:block}.topbar{padding:0 15px}.content{padding:18px 14px}.page-head{flex-direction:column}.page-actions{justify-content:flex-start}.g3,.g2{grid-template-columns:1fr}.g4{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.hero{padding-top:52px}.hero h1{font-size:44px}.hero p{font-size:16px}.public-nav .brand-lock small{display:none}.rank-row{grid-template-columns:30px 1fr 72px}.rank-row>:last-child{grid-column:2/-1}.measure{grid-template-columns:28px 1fr}.measure>:nth-child(3),.measure>:nth-child(4){grid-column:2}.report-cover{padding:30px}.report-cover h1{font-size:30px}}@media(max-width:480px){.stats-band,.g4{grid-template-columns:1fr}.public-actions .secondary{display:none}.modal-back{padding:8px}.hero h1{font-size:38px}.auth-card .brand-lock{position:static;margin-bottom:50px}}@media print{.sidebar,.topbar,.page-head,.no-print{display:none!important}.app-shell{display:block}.content{padding:0}.report{max-width:none}.report-section,.report-cover{box-shadow:none;border:0;page-break-inside:avoid}.report-cover{page-break-after:always}.card{box-shadow:none}}


/* ==========================================================================
   ÓRBITA 1.1.0 — DESIGN SYSTEM LOVABLE
   Referência visual: orbitacert.lovable.app
   ========================================================================== */

:root{
  --bg:#f3f4f7;--surface:#ffffff;--surface2:#f0f2f5;--text:#171a21;--muted:#687181;
  --line:#dce0e7;--brand:#2767d8;--brand2:#1f56ba;--brandsoft:#eaf1ff;
  --danger:#dc4c4c;--warn:#f59e0b;--good:#08a88a;--shadow:0 1px 2px rgba(18,24,40,.04);
  --home-green:#95aa4a;--home-green-dark:#7d9140;--home-text:#2a2520;--home-muted:#6a635b;
  --home-border:#d5e1df;--home-bg:#fafbf6;--sidebar:#181c24;--sidebar2:#252c38;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
svg.lucide{width:1em;height:1em;stroke-width:1.8}

/* Public home */
.lovable-home{background:#fff;color:var(--home-text);min-height:100vh}
.home-nav{height:72px;border-top:3px solid #176b45;border-bottom:1px solid var(--home-border);background:rgba(255,255,255,.96);position:sticky;top:0;z-index:40;backdrop-filter:blur(12px)}
.home-nav-inner,.home-container,.home-hero-inner{max-width:1280px;margin:0 auto;padding-left:40px;padding-right:40px}
.home-nav-inner{height:69px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.home-brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.home-brand img{width:34px;height:34px;border-radius:9px;object-fit:contain}
.home-brand div{display:flex;align-items:baseline;gap:4px}.home-brand strong{font-size:15px;font-weight:700}.home-brand span{font-size:10px;color:#8a847d}
.home-links{display:flex;align-items:center;gap:28px;margin-left:auto;margin-right:auto}.home-links a{font-size:14px;color:var(--home-muted);transition:.2s}.home-links a:hover{color:var(--home-green)}
.home-actions{display:flex;align-items:center;gap:12px}.home-link-btn{border:0;background:transparent;padding:10px 12px;color:var(--home-muted);font-weight:600;cursor:pointer}
.home-btn{border:1px solid var(--home-green);background:var(--home-green);color:#fff;border-radius:8px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:650;font-size:14px;cursor:pointer;transition:.2s;line-height:1}
.home-btn:hover{background:var(--home-green-dark);border-color:var(--home-green-dark);transform:translateY(-1px)}
.home-btn svg{width:16px;height:16px}.home-btn-lg{min-height:45px;padding:13px 20px}.home-btn-wide{width:100%;margin-top:24px}
.home-btn.outline{background:transparent;color:var(--home-green)}.home-btn.outline:hover{background:rgba(149,170,74,.08)}
.home-btn.ghost{background:transparent;border-color:transparent;color:var(--home-muted)}.home-btn.ghost:hover{background:rgba(106,99,91,.06);color:var(--home-text);transform:none}
.home-btn.light{background:#fff;color:var(--home-green);border-color:#fff}.home-btn.outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}.home-btn.outline-light:hover{background:rgba(255,255,255,.10);border-color:#fff}

.home-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#fbfcf8 0%,#fff 47%,#eef4e8 100%)}
.home-hero-inner{padding-top:126px;padding-bottom:120px;min-height:680px;display:flex;align-items:center}
.home-hero-copy{max-width:760px}
.home-pill{display:inline-flex;align-items:center;border:1px solid rgba(149,170,74,.32);background:rgba(149,170,74,.09);color:var(--home-green);border-radius:999px;padding:4px 11px;font-size:11px;font-weight:650;line-height:1}
.home-hero h1{font-size:clamp(46px,5vw,67px);line-height:1.06;letter-spacing:-.045em;margin:26px 0 22px;font-weight:750;color:var(--home-text)}
.home-hero p{font-size:18px;line-height:1.58;color:var(--home-muted);max-width:715px;margin:0}
.home-cta-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:34px}.home-cta-row.centered{justify-content:center}
.home-proofs{display:flex;gap:12px;flex-wrap:wrap;margin-top:38px}.home-proofs span{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--home-border);border-radius:999px;padding:7px 12px;font-size:11px;color:var(--home-muted);background:#fff}.home-proofs svg{color:var(--home-green);width:13px;height:13px}

.home-section{padding:86px 0;background:#fff}.home-section.alt{background:var(--home-bg)}.home-diag-section{background:linear-gradient(120deg,rgba(149,170,74,.055),#fff,rgba(152,182,129,.055));border-top:1px solid var(--home-border);border-bottom:1px solid var(--home-border)}
.home-container h2{font-size:34px;line-height:1.15;letter-spacing:-.03em;margin:15px 0;color:var(--home-text)}.home-container>div>p,.home-section .section-lead{color:var(--home-muted);font-size:15px;line-height:1.7}
.home-container.center{text-align:center}.section-lead{max-width:780px;margin:0 auto 44px}
.home-two-col{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.home-check-list{display:grid;gap:12px;margin:24px 0}.home-check-list>div{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:#3a3630}.home-check-list svg{color:var(--home-green);width:16px;height:16px;margin-top:2px;flex:none}
.home-process-card{background:#fff;border:1px solid var(--home-border);border-radius:18px;padding:30px;box-shadow:0 16px 40px rgba(42,37,32,.07)}
.home-process-card h3{text-align:center;margin:0 0 26px}.process-icon{width:64px;height:64px;border-radius:18px;background:rgba(149,170,74,.11);display:grid;place-items:center;margin:0 auto 14px;color:var(--home-green);font-size:30px}.process-step{display:flex;align-items:flex-start;gap:13px;margin:17px 0}.process-step>b{width:32px;height:32px;border-radius:50%;background:var(--home-green);color:#fff;display:grid;place-items:center;font-size:12px;flex:none}.process-step strong{display:block;font-size:13px;margin:1px 0 3px}.process-step span{display:block;font-size:11px;color:var(--home-muted)}

.home-card-grid{display:grid;gap:20px}.home-card-grid.three{grid-template-columns:repeat(3,1fr)}.home-card-grid.four{grid-template-columns:repeat(4,1fr)}
.home-info-card,.home-step-card,.home-module-card{background:#fff;border:1px solid var(--home-border);border-radius:18px;padding:27px;text-align:left;transition:.22s;min-height:100%}.home-info-card{text-align:center;padding:36px 28px}.home-info-card:hover,.home-step-card:hover,.home-module-card:hover{box-shadow:0 12px 34px rgba(42,37,32,.08);border-color:rgba(149,170,74,.45);transform:translateY(-2px)}
.info-icon,.module-icon{width:55px;height:55px;border-radius:17px;background:rgba(149,170,74,.10);color:var(--home-green);display:grid;place-items:center;margin:0 auto 18px;font-size:27px}.module-icon{margin:0 0 18px}
.home-info-card h3,.home-step-card h3,.home-module-card h3{font-size:16px;margin:0 0 8px;color:var(--home-text)}.home-info-card p,.home-step-card p,.home-module-card p{font-size:12px;line-height:1.6;color:var(--home-muted);margin:0}.home-module-card{display:flex;flex-direction:column}.home-module-card button{margin-top:auto;padding-top:18px;border:0;background:transparent;color:var(--home-green);font-size:11px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:7px}.step-head{display:flex;align-items:center;gap:10px;margin-bottom:15px;color:var(--home-green);font-size:19px}.step-head b{width:38px;height:38px;border-radius:12px;background:rgba(149,170,74,.10);display:grid;place-items:center;font-size:12px}.compact .home-step-card{padding:23px}

.cert-home-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cert-home-card{border:1px solid var(--home-border);border-radius:17px;background:#fff;padding:24px;text-align:center}.cert-home-card>i{display:block;width:11px;height:11px;border-radius:50%;margin:0 auto 12px}.cert-home-card strong{display:block;font-size:13px}.cert-home-card span{display:block;font-size:10px;color:#89837b;margin-top:5px}.cert-home-card i.emerald{background:#10b981}.cert-home-card i.teal{background:#14b8a6}.cert-home-card i.blue{background:#3b82f6}.cert-home-card i.violet{background:#8b5cf6}.cert-home-card i.amber{background:#f59e0b}.cert-home-card i.lime{background:#84cc16}.cert-home-card i.green{background:#22c55e}.cert-home-card i.sky{background:#0ea5e9}
.module-pill{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:10px;font-weight:700}.module-pill.teal{color:#0f766e;background:#ccfbf1}.module-pill.orange{color:#c2410c;background:#ffedd5}
.edge-showcase{border:1px solid #bfe9de;background:linear-gradient(135deg,#effcf8,#e8faf4);border-radius:18px;padding:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:center}.edge-showcase>div{display:grid;place-items:center;gap:8px;color:#0f766e}.edge-showcase svg{width:30px;height:30px}.edge-showcase strong{font-size:26px}.edge-showcase span{font-size:10px}.edge-showcase p{grid-column:1/-1;border-top:1px solid #c9eee5;padding-top:20px;color:#0f766e;font-size:11px;font-weight:650}
.carbon-showcase{background:linear-gradient(135deg,#fff6ed,#fffbeb);border:1px solid #fed7aa;border-radius:18px;padding:34px;color:var(--home-text)}.carbon-showcase>svg{width:40px;height:40px;color:#ea580c}.carbon-showcase h3{font-size:20px;margin:15px 0 8px}.carbon-showcase p{font-size:12px;color:var(--home-muted)}.carbon-showcase>div{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.carbon-showcase b{display:block;background:rgba(255,255,255,.72);border-radius:12px;padding:14px;text-align:center;color:#c2410c}.carbon-showcase small{display:block;color:var(--home-muted);font-size:9px;margin-top:4px;font-weight:500}

.home-kiwiks{padding:84px 0;background:var(--home-text);color:#fff}.home-kiwiks h2{color:#fff}.home-kiwiks p{color:rgba(255,255,255,.68)!important}.kiwiks-home-logo{height:46px;width:auto;object-fit:contain;filter:brightness(0) invert(1);margin-bottom:15px}.kiwiks-list{display:grid;gap:11px}.kiwiks-list>div{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);border-radius:12px;padding:14px;font-size:12px;color:rgba(255,255,255,.82)}.kiwiks-list svg{color:#b9d734;width:15px}
.home-final-cta{padding:72px 0;background:linear-gradient(135deg,var(--home-green),var(--home-green-dark));color:#fff}.home-final-cta h2{color:#fff;font-size:34px;margin:0 0 12px}.home-final-cta p{color:rgba(255,255,255,.82);margin:0 auto}
.home-footer{background:var(--home-text);color:rgba(255,255,255,.58);padding:48px 0 28px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:50px}.footer-grid>div{display:flex;flex-direction:column;gap:9px;font-size:11px}.footer-grid strong{color:#fff;font-size:11px}.footer-grid p{font-size:11px;line-height:1.6;color:rgba(255,255,255,.42)}.footer-grid a:hover{color:#b9d734}.light-brand strong{color:#fff}.light-brand span{color:rgba(255,255,255,.45)}.light-brand img{filter:brightness(0) invert(1)}.footer-bottom{border-top:1px solid rgba(255,255,255,.10);margin-top:30px;padding-top:22px;display:flex;justify-content:space-between;font-size:9px;color:rgba(255,255,255,.30)}

/* App shell — faithful to Lovable */
.app-shell{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100vh;background:var(--bg);transition:grid-template-columns .25s ease}
.app-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;background:var(--sidebar);color:#d8dee7;padding:0;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #2a303b}
.sidebar-brand{height:66px;display:flex;align-items:center;gap:12px;padding:0 16px;border-bottom:1px solid #2b313d;flex:none}.sidebar-brand img{width:32px;height:32px;border-radius:8px;flex:none}.sidebar-brand strong{display:block;font-size:14px;color:#f1f4f8}.sidebar-brand small{display:block;font-size:9px;color:#818a9a;margin-top:3px}
.sidebar-nav{padding:13px 9px;overflow-y:auto;flex:1}.sidebar-nav::-webkit-scrollbar{width:5px}.sidebar-nav::-webkit-scrollbar-thumb{background:#39404e}
.nav-item{height:36px;display:flex;align-items:center;gap:12px;padding:0 10px;border-radius:7px;color:#aeb7c6;font-size:13px;margin:1px 0;cursor:pointer;border:0;background:transparent;width:100%;text-align:left;white-space:nowrap;transition:.15s}
.nav-item svg{width:16px;height:16px;flex:none}.nav-item span{overflow:hidden;text-overflow:ellipsis}.nav-item:hover{background:#212733;color:#e8edf5}.nav-item.active{background:#252c38;color:#4b91ff;font-weight:550}.nav-divider{border-top:1px solid #2b313d;margin:12px 0 8px}.nav-label{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#657083;padding:0 10px 5px}.kiwiks-admin-label{display:flex;gap:6px;align-items:center}.kiwiks-admin-label img{width:13px;height:13px}
.sidebar-powered{height:30px;border-top:1px solid #2b313d;border-bottom:1px solid #2b313d;padding:0 12px;display:flex;align-items:center;gap:7px;color:#586273;font-size:9px;flex:none}.sidebar-powered img{width:13px;height:13px;opacity:.45}
.sidebar-actions{padding:8px 9px;flex:none}.sidebar-actions .nav-item{color:#818b9b}.sidebar-actions #logoutBtn:hover{color:#ff7b7b;background:#2a2227}
.sidebar-collapsed .sidebar-brand{justify-content:center;padding:0}.sidebar-collapsed .sidebar-brand>div,.sidebar-collapsed .nav-item span,.sidebar-collapsed .nav-label,.sidebar-collapsed .sidebar-powered span{display:none}.sidebar-collapsed .nav-item{justify-content:center;padding:0}.sidebar-collapsed .sidebar-powered{justify-content:center}
.main{min-width:0;background:var(--bg)}.content{padding:24px 28px 48px;max-width:1280px;margin:0 auto}.mobile-menu.floating{display:none;position:fixed;top:13px;left:14px;z-index:55}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.page-title h1{font-size:25px;line-height:1.2;font-weight:700;letter-spacing:-.025em;margin:0 0 6px}.page-title p{font-size:13px;color:#758094;margin:0}.page-actions{display:flex;gap:9px;flex-wrap:wrap}

/* Components / cards / forms in Lovable app */
.btn{min-height:38px;border:1px solid transparent;border-radius:8px;padding:9px 14px;background:var(--brand);color:#fff;font-size:12px;font-weight:600;box-shadow:none;gap:8px}.btn svg{width:15px;height:15px}.btn:hover{background:var(--brand2);filter:none}.btn.secondary{background:#fff;color:#242a35;border-color:var(--line)}.btn.secondary:hover{background:#f7f8fa}.btn.ghost{background:transparent;color:#6f7888}.btn.ghost:hover{background:#f1f3f6;color:#262c35}.btn.lovable-green{background:var(--home-green);border-color:var(--home-green)}.btn.lovable-green:hover{background:var(--home-green-dark);border-color:var(--home-green-dark)}
.icon-btn{background:#fff;border:1px solid var(--line);border-radius:8px;color:#5f6878}
.card{border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow)}.card.pad{padding:21px}.card-title{font-size:14px}.section{margin-top:22px}.section-head{margin-bottom:14px}.section-head h2{font-size:15px;font-weight:650}.text-link{border:0;background:transparent;display:inline-flex;align-items:center;gap:8px;color:#151a22;font-size:11px;font-weight:550}.text-link svg{width:14px}
.metric{padding:19px}.metric .label{color:#778091}.metric .value{font-size:30px}
.badge{border:1px solid #dfe3e9;background:#f0f2f5;color:#303744;padding:3px 9px;font-size:9px;font-weight:600}.badge.good{background:#eaf8f4;color:#07866f;border-color:#ceeae2}.badge.warn{background:#fff7e8;color:#b76a00;border-color:#f8e0b1}.badge.bad{background:#fff0f0;color:#c94141;border-color:#f3cdcd}
.progress{height:6px;background:#eceef2}.progress>i{background:var(--brand)}
.input,.select,.textarea{border:1px solid #d8dde5;background:#fff;border-radius:8px;padding:10px 11px;font-size:12px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#7aa5ee;box-shadow:0 0 0 3px rgba(39,103,216,.09)}.field span{font-size:10px;color:#3d4552;font-weight:600}
.table th{color:#7a8392}.table td{border-bottom-color:#eceef1}.table tr.clickable:hover{background:#f7f8fa}
.callout{background:#f0f6ff;border-color:#d6e4fb}.callout.warn{background:#fff7e8;border-color:#f3ddb3}.callout.danger{background:#fff0f0;border-color:#f0cdcd}

/* Dashboard */
.dash-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.dash-stat{height:88px;padding:18px;display:flex;align-items:center;gap:16px}.dash-stat-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px}.dash-stat-icon.primary{background:#eaf1ff;color:#2767d8}.dash-stat-icon.teal{background:#e3f7f3;color:#08a88a}.dash-stat-icon.amber{background:#fff4e4;color:#f59e0b}.dash-stat-icon.violet{background:#f4e9fb;color:#a440c4}.dash-stat strong{display:block;font-size:26px;line-height:1;font-weight:750}.dash-stat span{display:block;color:#758094;font-size:11px;margin-top:7px}
.dash-main-grid{display:grid;grid-template-columns:1fr 2fr;gap:14px}.dash-chart-card,.dash-recent-card{min-height:365px}.dash-donut-wrap{height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.dash-donut{width:150px;height:150px;border-radius:50%;position:relative}.dash-donut:after{content:"";position:absolute;inset:28px;border-radius:50%;background:#fff}.dash-donut>div{position:absolute;inset:0;z-index:2;display:grid;place-content:center;text-align:center}.dash-donut strong{font-size:19px}.dash-donut span{font-size:9px;color:#8b93a1}.dash-legend{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:center}.dash-legend>div{display:flex;align-items:center;gap:5px;font-size:9px;color:#687181}.dash-legend i{width:7px;height:7px;border-radius:50%}.dash-legend b{color:#333a45}
.dash-list{display:grid;gap:8px}.dash-list-row{border:1px solid #dce0e7;border-radius:8px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;transition:.15s}.dash-list-row:hover{background:#f8f9fb;border-color:#cdd2db}.dash-list-row strong{display:block;font-size:12px;font-weight:600}.dash-list-row>div>span{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:10px}.dash-list-row time{font-size:10px;color:#737c8b;white-space:nowrap}.dash-assess-card{min-height:190px}.empty.compact{padding:32px 12px}

/* Modal and quick diagnosis */
.modal-back{background:rgba(0,0,0,.76);backdrop-filter:blur(1px)}.modal{border-radius:10px;border:1px solid #d8dde5;box-shadow:0 28px 75px rgba(0,0,0,.28)}.modal-head{padding:17px 20px;border-bottom:0}.modal-head h2{font-size:16px;display:flex;align-items:center;gap:8px}.modal-head h2:before{content:"";display:inline-block;width:15px;height:15px;border:2px solid var(--home-green);border-radius:50%;border-top-color:transparent}.modal-body{padding:6px 24px 24px}.modal-diagnosis{width:min(672px,calc(100vw - 30px));max-height:92vh;overflow:auto}.modal-diagnosis .modal-body{padding-top:0}
.qd-wizard{color:var(--home-text)}.qd-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:2px 0 24px}.qd-progress i{height:5px;background:#e6e8eb;border-radius:99px;display:block}.qd-progress .on i{background:var(--home-green)}.qd-progress span{display:block;font-size:8px;color:#a0a5ad;margin-top:5px}.qd-progress .on span{color:var(--home-green);font-weight:600}.qd-step-head h3{font-size:17px;margin:0 0 4px}.qd-step-head p{font-size:12px;color:var(--home-muted);margin:0 0 18px}.qd-attrs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.qd-attrs label{border:1px solid #e0e2e6;border-radius:10px;padding:11px;display:flex;align-items:center;gap:9px;font-size:11px;cursor:pointer}.qd-attrs label.selected{border-color:var(--home-green);background:rgba(149,170,74,.05)}.qd-attrs input{accent-color:var(--home-green)}.qd-attrs svg{color:var(--home-green);width:14px}.qd-tip{font-size:9px;color:#8f8a84;margin-top:12px}.qd-interest{display:grid;gap:8px}.qd-interest label{border:1px solid #e0e2e6;border-radius:10px;padding:12px;display:flex;align-items:center;gap:10px;font-size:11px;cursor:pointer}.qd-interest label.selected{border-color:var(--home-green);background:rgba(149,170,74,.05)}.qd-interest input{display:none}.qd-interest label>i{width:14px;height:14px;border:2px solid #d3d6db;border-radius:50%;position:relative}.qd-interest label.selected>i{border-color:var(--home-green)}.qd-interest label.selected>i:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:var(--home-green);inset:2px}.qd-nav{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f2;margin-top:22px;padding-top:15px}
.qd-result{display:grid;gap:22px}.qd-result-head{text-align:center}.qd-result-head h3{font-size:20px;margin:10px 0 4px}.qd-result-head p{font-size:12px;color:var(--home-muted);margin:0}.qd-gauge-card{border:1px solid #e0e2e6;background:linear-gradient(135deg,#fafafa,#fff);border-radius:16px;padding:24px;text-align:center}.qd-gauge-card>p{text-transform:uppercase;letter-spacing:.08em;color:var(--home-muted);font-size:10px;margin:0 0 13px}.qd-gauge{width:118px;height:118px;margin:0 auto 12px;border-radius:50%;background:conic-gradient(var(--gauge) calc(var(--score)*1%),#e5e7eb 0);position:relative}.qd-gauge:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.qd-gauge>div{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column}.qd-gauge strong{font-size:25px}.qd-gauge span{font-size:8px;color:var(--home-muted)}.qd-band{display:inline-flex;border-radius:999px;padding:4px 11px;color:#fff;font-size:10px}.qd-result-section h4,.qd-result-cols h4{font-size:13px;margin:0 0 11px;display:flex;align-items:center;gap:7px}.qd-result-section h4 svg,.qd-result-cols h4 svg{color:var(--home-green);width:14px}.qd-cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.qd-cert-grid>div{border:1px solid #e0e2e6;border-radius:10px;padding:11px}.qd-cert-grid header{display:flex;justify-content:space-between;align-items:center}.qd-cert-grid header strong{font-size:12px}.qd-cert-grid header span{border:1px solid #dfe2e7;border-radius:999px;padding:2px 8px;font-size:10px}.qd-bar{height:5px;background:#eff0f2;border-radius:99px;margin:6px 0;overflow:hidden}.qd-bar i{height:100%;display:block;background:var(--home-green);border-radius:99px}.qd-cert-grid small{font-size:8px;color:#98928b}.qd-result-cols{display:grid;grid-template-columns:1fr 1fr;gap:26px}.qd-result-cols p,.qd-next p{display:flex;align-items:flex-start;gap:6px;font-size:10px;margin:6px 0;color:#3b3834}.qd-result-cols p svg,.qd-next p svg{width:12px;height:12px;margin-top:1px;flex:none}.qd-result-cols p.good svg{color:var(--home-green)}.qd-result-cols p.warn svg{color:#f59e0b}.qd-note{border-radius:10px;padding:11px;font-size:10px}.qd-note strong{display:flex;align-items:center;gap:5px;margin-bottom:4px}.qd-note p{margin:0;line-height:1.5}.qd-note.climate{background:#eef9ff;border:1px solid #cceafd;color:#036891}.qd-note.phase{background:#f7f1ff;border:1px solid #e6d7fb;color:#6d28a5}.qd-disclaimer{background:#fff7e7;border:1px solid #f5ddb0;color:#8b5b08;padding:11px;border-radius:10px;font-size:9px;line-height:1.5}.qd-result-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #eef0f2;padding-top:15px}

/* Authentication refined */
.auth-shell{background:#fff}.auth-card{padding:52px}.auth-side{background:linear-gradient(145deg,#1a2230,#181c24)}.auth-card .btn{background:var(--brand)}.auth-card a[style*="var(--brand)"]{color:var(--brand)!important}

/* Responsive */
@media(max-width:1050px){
  .home-links{display:none}.home-card-grid.four{grid-template-columns:repeat(2,1fr)}.dash-stat-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .home-nav-inner,.home-container,.home-hero-inner{padding-left:20px;padding-right:20px}.home-actions .home-link-btn{display:none}.home-hero-inner{padding-top:75px;padding-bottom:75px;min-height:auto}.home-hero h1{font-size:44px}.home-two-col,.footer-grid{grid-template-columns:1fr;gap:38px}.home-card-grid.three{grid-template-columns:1fr}.cert-home-grid{grid-template-columns:repeat(2,1fr)}.reverse-mobile>div:first-child{order:2}
  .app-shell,.app-shell.sidebar-collapsed{display:block}.sidebar{position:fixed;left:-270px;width:256px;z-index:60;transition:left .25s}.sidebar.open{left:0}.sidebar-collapsed .sidebar-brand>div,.sidebar-collapsed .nav-item span,.sidebar-collapsed .nav-label,.sidebar-collapsed .sidebar-powered span{display:initial}.sidebar-collapsed .nav-item{justify-content:flex-start;padding:0 10px}.content{padding:70px 16px 36px}.mobile-menu.floating{display:grid;place-items:center}.dash-main-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.page-actions{justify-content:flex-start}
}
@media(max-width:560px){
  .home-hero h1{font-size:38px}.home-hero p{font-size:16px}.home-card-grid.four,.cert-home-grid,.dash-stat-grid,.qd-attrs,.qd-cert-grid,.qd-result-cols{grid-template-columns:1fr}.home-nav-inner{padding-left:14px;padding-right:14px}.home-actions .home-btn{padding:10px 12px;font-size:11px}.home-section{padding:65px 0}.home-container h2{font-size:28px}.home-cta-row>.home-btn{width:100%}.footer-bottom{flex-direction:column;gap:8px}.edge-showcase{grid-template-columns:1fr}.edge-showcase p{grid-column:auto}.modal-diagnosis{width:calc(100vw - 18px)}
}
@media print{.sidebar,.mobile-menu.floating{display:none!important}.app-shell,.app-shell.sidebar-collapsed{display:block}.content{max-width:none;padding:0}}
