:root{
  --primary:#1B2A6B; --primary-2:#263C8B; --red:#FF555A; --green:#B9FF5A; --green-2:#7ED957;
  --bg:#F4F6FF; --panel:#FFFFFF; --soft:#E9EEFF; --line:#DDE3F7; --text:#15245A; --muted:#667095;
  --shadow:0 18px 50px rgba(27,42,107,.12); --shadow-sm:0 10px 28px rgba(27,42,107,.08); --radius:24px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:'Nunito',system-ui,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit} button,input{font-family:inherit}.layout{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--panel);border-right:1px solid var(--line);padding:28px 22px;display:flex;flex-direction:column;gap:26px}.brand img{width:190px;max-width:100%;display:block}.side-nav{display:grid;gap:8px}.side-nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:16px;color:var(--muted);font-weight:800}.side-nav a.active,.side-nav a:hover{background:var(--soft);color:var(--primary)}.side-card{margin-top:auto;background:linear-gradient(145deg,var(--primary),#10205D);color:white;border-radius:22px;padding:20px;box-shadow:var(--shadow-sm)}.side-card b{display:block;font-size:15px;margin-bottom:6px}.side-card p{margin:0 0 14px;opacity:.8;font-size:13px;line-height:1.4}.content{min-width:0}.topbar{height:78px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:rgba(244,246,255,.82);backdrop-filter:blur(10px);position:sticky;top:0;z-index:10;border-bottom:1px solid rgba(221,227,247,.6)}.page-title span{display:block;color:var(--muted);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.page-title h1{margin:2px 0 0;font-size:28px;letter-spacing:-.03em}.top-actions{display:flex;gap:12px;align-items:center}.avatar{width:44px;height:44px;border-radius:15px;background:var(--primary);color:white;display:grid;place-items:center;font-weight:900}.icon-btn{width:44px;height:44px;border:0;border-radius:15px;background:var(--panel);box-shadow:var(--shadow-sm);cursor:pointer}.main{padding:32px 34px 52px;max-width:1360px;margin:0 auto}.hero{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;margin-bottom:24px}.hero-card{background:linear-gradient(145deg,var(--primary),#10205D);border-radius:32px;color:white;padding:34px;box-shadow:var(--shadow);min-height:260px;position:relative;overflow:hidden}.hero-card:after{content:"";position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:50%;background:rgba(185,255,90,.12)}.kicker{display:inline-flex;gap:8px;align-items:center;background:rgba(185,255,90,.14);color:var(--green);font-weight:900;font-size:12px;padding:8px 12px;border-radius:999px}.hero h2{font-size:42px;line-height:1.02;letter-spacing:-.05em;margin:22px 0 12px;max-width:730px}.hero p{font-size:17px;line-height:1.6;opacity:.82;max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{border:0;border-radius:16px;padding:13px 18px;font-weight:900;cursor:pointer;display:inline-flex;gap:8px;align-items:center}.btn.primary{background:var(--green);color:#16320b}.btn.secondary{background:white;color:var(--primary)}.btn.ghost{background:var(--soft);color:var(--primary)}.btn.danger{background:#FFF0F0;color:#B62030}.panel{background:var(--panel);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm);border:1px solid rgba(221,227,247,.7)}.status-panel{display:flex;flex-direction:column;justify-content:space-between}.status-score{font-size:58px;font-weight:1000;letter-spacing:-.06em;color:var(--primary)}.status-panel p{color:var(--muted);line-height:1.5}.section{margin-top:24px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}.section-head h2{font-size:24px;letter-spacing:-.03em;margin:0}.section-head p{margin:4px 0 0;color:var(--muted)}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.metric strong{display:block;font-size:32px;letter-spacing:-.04em;color:var(--primary)}.metric span{display:block;font-weight:900}.metric small{color:var(--muted);font-weight:800}.approval-list{display:grid;gap:14px}.approval{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;background:white;border:1px solid var(--line);border-radius:22px;padding:18px}.bubble{width:48px;height:48px;border-radius:16px;background:var(--soft);display:grid;place-items:center;font-size:24px}.approval h3{margin:0 0 4px;font-size:17px}.approval p{margin:0;color:var(--muted);line-height:1.45}.approval-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mini{border:0;border-radius:12px;padding:10px 12px;font-weight:900;cursor:pointer}.mini.approve{background:var(--green);color:#16320b}.mini.edit{background:var(--soft);color:var(--primary)}.mini.reject{background:#FFF0F0;color:#B62030}.agent-network{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.node{background:white;border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;gap:10px;align-items:center;font-weight:900;box-shadow:var(--shadow-sm)}.arrow{color:var(--muted);font-weight:900}.agent-card{display:flex;flex-direction:column;gap:14px}.agent-top{display:flex;gap:14px;align-items:flex-start}.agent-card h3{margin:0 0 4px}.agent-card p{margin:0;color:var(--muted);line-height:1.45}.badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:1000;background:var(--soft);color:var(--primary);width:max-content}.badge.on{background:#ECFFE0;color:#32770F}.badge.warn{background:#FFF5DD;color:#9A6900}.badge.off{background:#F0F1F7;color:#747A96}.toggle{width:52px;height:30px;border:0;border-radius:999px;background:#CED5EC;padding:3px;cursor:pointer;align-self:flex-start}.toggle span{display:block;width:24px;height:24px;background:white;border-radius:50%;transition:.2s}.toggle.on{background:var(--green-2)}.toggle.on span{transform:translateX(22px)}.lesson,.simulation,.profile-line,.event{border:1px solid var(--line);border-radius:20px;background:white;padding:18px}.lesson h3,.simulation h3{margin:8px 0 6px}.lesson p,.simulation p{color:var(--muted);line-height:1.45}.progress{height:10px;background:var(--soft);border-radius:999px;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--green-2),var(--green));border-radius:999px}.steps{padding-left:20px;color:var(--muted);line-height:1.9}.profile-card{display:grid;gap:12px}.profile-line{display:flex;justify-content:space-between;gap:16px}.profile-line span{color:var(--muted);font-weight:800}.profile-line strong{text-align:right}.timeline{display:grid;gap:12px}.event{display:flex;gap:14px}.event time{font-weight:1000;color:var(--primary)}.sheet-overlay{position:fixed;inset:0;background:rgba(10,18,51,.42);backdrop-filter:blur(8px);display:grid;place-items:center;z-index:50;padding:20px}.sheet-overlay[hidden]{display:none}.sheet{background:white;border-radius:28px;padding:28px;max-width:540px;width:100%;box-shadow:var(--shadow);position:relative}.sheet-close{position:absolute;right:20px;top:18px;width:42px;height:42px;border-radius:14px;border:2px solid #DCE4FF;background:white;font-size:28px;color:var(--primary);cursor:pointer}.sheet-icon{font-size:42px}.sheet h2{font-size:26px;margin:14px 0 8px}.sheet p{color:var(--muted);line-height:1.6}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--primary);color:white;border-radius:16px;padding:14px 18px;font-weight:900;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.25s;z-index:80}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 480px}.login-visual{background:linear-gradient(145deg,var(--primary),#10205D);color:white;padding:56px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;right:-180px;bottom:-180px;width:460px;height:460px;border-radius:50%;background:rgba(185,255,90,.12)}.login-visual img{width:240px;filter:drop-shadow(0 18px 22px rgba(0,0,0,.18))}.login-visual h1{font-size:58px;line-height:1;letter-spacing:-.06em;max-width:700px}.login-visual p{font-size:20px;line-height:1.5;opacity:.82;max-width:620px}.login-form-wrap{background:var(--bg);display:grid;place-items:center;padding:32px}.login-form{width:100%;max-width:360px;background:white;border-radius:32px;padding:30px;box-shadow:var(--shadow)}.login-form h2{font-size:28px;margin:0 0 8px}.login-form p{color:var(--muted);margin:0 0 22px}.field{display:grid;gap:8px;margin-bottom:14px}.field label{font-weight:900;color:var(--primary)}.field input{border:1px solid var(--line);border-radius:14px;padding:14px;font-size:15px}.full{width:100%;justify-content:center}.mobile-brand{display:none}
@media (max-width:1050px){.layout{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 20px}.main{padding:24px 20px 100px}.mobile-brand{display:block}.mobile-brand img{width:130px}.hero{grid-template-columns:1fr}.grid-4{grid-template-columns:repeat(2,1fr)}.bottom-mobile{display:flex!important}.login-page{grid-template-columns:1fr}.login-visual{display:none}}
@media (max-width:680px){.page-title h1{font-size:22px}.hero-card{padding:24px;border-radius:26px}.hero h2{font-size:32px}.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}.approval{grid-template-columns:1fr}.approval-actions{justify-content:flex-start}.profile-line{display:grid}.profile-line strong{text-align:left}.topbar{height:68px}.top-actions .page-title{display:none}}
.bottom-mobile{display:none;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);padding:8px 8px 10px;justify-content:space-around;z-index:30}.bottom-mobile a{display:grid;place-items:center;gap:2px;color:var(--muted);font-size:12px;font-weight:900}.bottom-mobile a.active{color:var(--primary)}
