
*{box-sizing:border-box}

body{margin:0;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;background:linear-gradient(135deg,#eaf6ff,#f9fbff 45%,#f5efe4)}

button,input,select,textarea{font:inherit}

button{cursor:pointer;border:0}

a{text-decoration:none;color:#2563eb;font-weight:800}

.hidden{display:none!important}

.muted{color:#64748b}

.login{min-height:100vh;display:grid;place-items:center;padding:38px}

.loginBox{width:min(1240px,96vw);display:grid;grid-template-columns:1.08fr 1fr;gap:34px}

.loginHero,.loginCard,.card{background:#ffffffdc;border:1px solid #dbe7f4;border-radius:28px;box-shadow:0 24px 70px rgba(15,59,118,.12)}

.loginHero{padding:56px;min-height:620px;display:flex;flex-direction:column;justify-content:space-between}

.logo{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#0f3b76,#12c6b0);font-weight:900}

.loginHero h1{font-size:58px;line-height:1.06;letter-spacing:-.05em;margin:26px 0 16px}

.heroGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}

.heroGrid div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;font-weight:900}

.heroGrid span{display:block;color:#64748b;font-size:12px;margin-top:5px}

.loginCard{padding:52px;min-height:620px;display:flex;flex-direction:column;justify-content:center}

.loginCard h2{font-size:42px;margin:0 0 12px}

label{display:block;font-weight:900;font-size:13px;margin:14px 0 7px;color:#334155}

input,select,textarea{width:100%;border:1px solid #dbe7f4;border-radius:14px;min-height:58px;padding:0 16px;background:#fff;outline:none}

textarea{padding:13px;resize:vertical}

input:focus,select:focus,textarea:focus{border-color:#12c6b0;box-shadow:0 0 0 4px rgba(18,198,176,.13)}

.primary{width:100%;min-height:60px;border-radius:16px;background:linear-gradient(135deg,#0f3b76,#12c6b0);color:#fff;font-weight:900;margin-top:18px}

.error{display:none;color:#dc2626;font-weight:900;margin:10px 0}

.app{display:none;grid-template-columns:230px 1fr;min-height:100vh}

.side{background:#ffffffc9;border-right:1px solid #dbe7f4;padding:22px 18px;position:sticky;top:0;height:100vh}

.brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}

.brand h1{font-size:16px;margin:0}

.brand p{font-size:12px;margin:3px 0 0;color:#64748b;font-weight:800}

.nav{display:grid;gap:8px}

.nav button{width:100%;text-align:left;padding:13px 12px;border-radius:12px;background:transparent;font-weight:900;color:#0f172a}

.nav button.active{background:#dbeafe;color:#1d4ed8;box-shadow:inset 0 0 0 1px #bfdbfe}

.sideFoot{position:absolute;bottom:22px;left:18px;right:18px}

.ghost{width:100%;min-height:44px;border:1px solid #dbe7f4;border-radius:12px;background:#fff;font-weight:900}

.main{padding:28px;min-width:0}

.top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}

.top h2{font-size:30px;margin:0 0 6px;letter-spacing:-.03em}

.tabs{display:none}.tabs.active{display:block}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}

.grid.two{grid-template-columns:1fr 1fr}

.card{padding:22px;margin-bottom:16px}

.metric .num{font-size:30px;font-weight:950;color:#0f3b76}

.metric .label{color:#64748b;font-weight:800;margin-top:4px}

.actionGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}

.action{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px}

.action b{display:block;margin-bottom:7px}

.action button,.small,.secondary{border-radius:12px;padding:10px 13px;background:#2563eb;color:#fff;font-weight:900}

.secondary{background:#fff;color:#0f3b76;border:1px solid #dbe7f4}

.form2{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.full{grid-column:1/-1}

.tablewrap{overflow:auto}

table{width:100%;border-collapse:separate;border-spacing:0 8px}

th{text-align:left;font-size:12px;color:#64748b;padding:8px}

td{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px;font-size:13px;vertical-align:top}

td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px}

td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0}

.status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f1f5f9;font-weight:900}

.High{background:#fee2e2;color:#991b1b}.Medium{background:#fef3c7;color:#92400e}.Low{background:#dcfce7;color:#166534}

.success{display:none;margin-top:12px;color:#059669;font-weight:900}

.warn{background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:14px;color:#9a3412;font-weight:800}

pre{white-space:pre-wrap;background:#0f172a;color:#e2e8f0;border-radius:18px;padding:18px;max-height:420px;overflow:auto}

@media(max-width:980px){.loginBox,.app,.grid,.grid.two,.actionGrid,.form2{grid-template-columns:1fr}.side{position:relative;height:auto}.sideFoot{position:static;margin-top:20px}.main{padding:18px}}

