:root{--bg:#070613;--panel:#121021;--panel2:#19162d;--line:rgba(255,255,255,.11);--text:#f8f7ff;--muted:#aaa5c5;--dim:#77718f;--purple:#7357ff;--purple2:#9a82ff;--green:#52e5ae;--shadow:0 25px 80px rgba(0,0,0,.32)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at 75% 0,#1a1239 0,transparent 34%),linear-gradient(145deg,#090719,#05050d 65%);color:var(--text)}body{overflow-x:hidden}.app-shell{min-height:100vh}

/* ============================================================
   V6 HEADER / FINANCIAL BRAND
   ============================================================ */
.main{margin-left:0;width:100%;max-width:none;padding:20px 32px 30px}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;position:relative;z-index:20}
.finance-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;min-width:190px}
.finance-logo{position:relative;width:40px;height:40px;border-radius:13px;display:block;background:linear-gradient(145deg,#8c73ff,#4e35d8);box-shadow:0 12px 34px rgba(102,77,255,.32);overflow:hidden}
.finance-logo:before{content:"";position:absolute;inset:7px;border:1px solid rgba(255,255,255,.42);border-radius:9px}
.logo-bar{position:absolute;bottom:10px;width:4px;border-radius:5px;background:#fff;box-shadow:0 0 12px rgba(255,255,255,.6)}
.logo-bar-a{height:10px;left:12px}.logo-bar-b{height:15px;left:18px}.logo-bar-c{height:21px;left:24px}
.logo-dot{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff;right:7px;top:8px}
.finance-brand-copy strong{display:block;font-size:14px;letter-spacing:-.02em}
.finance-brand-copy small{display:block;color:#847ca2;font-size:7px;font-weight:900;letter-spacing:.17em;margin-top:3px}
.top-actions{display:flex;align-items:flex-end;gap:9px;margin-left:auto}
.auth-actions{display:flex;align-items:center;gap:7px;margin-left:3px;padding-left:10px;border-left:1px solid rgba(255,255,255,.09)}
.auth-login{background:transparent!important;border-color:transparent!important;color:#aaa4bd!important}
.auth-login:hover{color:#fff!important;background:rgba(255,255,255,.045)!important;border-color:var(--line)!important}
.auth-create{white-space:nowrap}
.mobile-menu-btn,.mobile-auth-menu{display:none}
.orb-finance-icon{display:grid;place-items:center;width:29px;height:29px;margin:0 auto 2px;border:1px solid rgba(255,255,255,.25);border-radius:9px;color:#fff;font-size:16px;background:rgba(255,255,255,.08)}
@media(max-width:1100px){.main{width:100%;padding:22px}.report-grid{grid-template-columns:repeat(2,1fr)}.kpis{grid-template-columns:repeat(2,1fr)}.lower-grid{grid-template-columns:1fr}.checks{grid-template-columns:repeat(2,1fr)}.welcome h1{font-size:48px}.welcome-orb{width:220px;height:220px}.ring1{width:210px;height:210px}}
@media(max-width:760px){.main{width:100%;padding:13px}.topbar{height:54px;margin-bottom:14px;position:relative}.finance-brand-copy strong{font-size:11px}.finance-brand-copy small{font-size:6px}.top-actions{gap:6px}.top-actions>.period,.top-actions>.btn{display:none}.mobile-menu-btn{display:grid}.welcome{padding:27px 22px;min-height:0}.welcome h1{font-size:40px}.welcome p{font-size:10px}.welcome-orb{display:none}.welcome-actions{flex-wrap:wrap}.report-grid{grid-template-columns:1fr}.report-card{min-height:190px}.kpis{grid-template-columns:1fr 1fr}.checks{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start}.section-head h2{font-size:19px}.period-chip{font-size:8px}.report-head{align-items:flex-start;padding:19px}.report-head h1{font-size:24px}.report-actions{flex-direction:column}.report-actions .btn{height:36px}.report-summary{grid-template-columns:1fr}.report-row{grid-template-columns:1fr;gap:5px}.lower-grid{grid-template-columns:1fr}}
@media(max-width:430px){.kpis{grid-template-columns:1fr}.checks{grid-template-columns:1fr}.welcome h1{font-size:34px}.welcome-actions .btn{width:100%}.top-actions .btn.ghost{display:none}.report-card{padding:18px}}

@media(max-width:760px){
  .main{padding:12px 12px 24px}
  .topbar{height:54px;margin-bottom:14px}
  .finance-brand{min-width:0}
  .finance-logo{width:36px;height:36px;border-radius:11px}
  .finance-brand-copy strong{font-size:11px}
  .finance-brand-copy small{font-size:6px}
  .top-actions>.period,.top-actions>.btn,.auth-actions{display:none}
  .mobile-menu-btn{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.045);cursor:pointer;padding:0}
  .mobile-menu-btn span{display:block;width:16px;height:2px;background:#fff;margin:2px;border-radius:2px}
  .mobile-auth-menu{position:absolute;right:0;top:61px;width:min(310px,calc(100vw - 24px));padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(15,12,31,.97);box-shadow:0 25px 70px rgba(0,0,0,.48);backdrop-filter:blur(18px)}
  .mobile-auth-menu.open{display:block}
  .mobile-auth-period{display:grid;gap:6px;padding:6px 4px 10px}
  .mobile-auth-period span{font-size:7px;color:#827a9c;font-weight:900;letter-spacing:.13em}
  .mobile-auth-period input{height:40px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.045);color:#fff;padding:0 10px;font:inherit;font-size:10px}
  .mobile-auth-item{width:100%;height:42px;margin-top:7px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.045);color:#eeeaff;font:inherit;font-size:10px;font-weight:800;text-align:left;padding:0 12px;cursor:pointer}
  .mobile-auth-item:hover{transform:translateY(-1px);border-color:rgba(143,122,255,.35)}
  .mobile-auth-item.primary-item{background:linear-gradient(135deg,#8165ff,#5b40ec);border-color:rgba(153,128,255,.45)}
}

@media print{body{background:#fff;color:#111}.topbar,.welcome,.section-block:not(.printable),footer,.report-actions{display:none!important}.main{margin:0;width:100%;padding:0}.report-panel,.panel{box-shadow:none;border:1px solid #ddd;background:#fff;color:#111}.report-head{border-bottom:1px solid #ddd}.report-head p,.report-row span,.note-card p{color:#555}.report-summary>div,.report-table,.note-card{background:#fff;border-color:#ddd}.report-row{border-color:#ddd}.report-row strong,.report-head h1,.note-card h3{color:#111}}
