:root{
    --bg:#f4f7fb;
    --surface:#ffffff;
    --soft:#f8fafc;
    --text:#101828;
    --muted:#667085;
    --line:#e4e7ec;
    --navy:#0b1220;
    --primary:#1d4ed8;
    --primary2:#2563eb;
    --cyan:#0891b2;
    --green:#16a34a;
    --red:#dc2626;
    --amber:#d97706;
    --shadow:0 18px 50px rgba(16,24,40,.09);
    --radius:20px;
    --font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:var(--font);
    color:var(--text);
    background:
        radial-gradient(circle at 8% 0%,rgba(29,78,216,.10),transparent 30%),
        radial-gradient(circle at 94% 0%,rgba(8,145,178,.08),transparent 32%),
        linear-gradient(180deg,#f8fafc,#eef2f7);
}
a{text-decoration:none;color:inherit}
.install-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    background:
        radial-gradient(circle at 15% 18%,rgba(37,99,235,.22),transparent 31%),
        radial-gradient(circle at 85% 14%,rgba(8,145,178,.18),transparent 34%),
        linear-gradient(135deg,#06101f,#0f172a 55%,#111827);
}
.install-shell{
    width:100%;
    max-width:1100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    border-radius:30px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 42px 120px rgba(0,0,0,.38);
}
.install-hero{
    color:#fff;
    padding:58px;
    background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
}
.install-hero h1{
    margin:30px 0 18px;
    font-size:54px;
    line-height:.98;
    letter-spacing:-.06em;
}
.install-hero p{
    color:#cbd5e1;
    font-size:17px;
    line-height:1.7;
}
.logo-pill{
    display:inline-flex;
    padding:9px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
    font-weight:850;
}
.install-box{
    background:#fff;
    padding:52px 44px;
}
.install-box h2{
    margin:0 0 8px;
    font-size:32px;
    letter-spacing:-.04em;
}
.install-box p{color:var(--muted);line-height:1.6}
label{
    display:block;
    margin:14px 0 7px;
    color:#344054;
    font-size:13px;
    font-weight:850;
}
input,select,textarea{
    width:100%;
    min-height:44px;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:14px;
    outline:none;
    background:#fff;
    color:var(--text);
    font-size:14px;
}
input:focus,select:focus,textarea:focus{
    border-color:var(--primary2);
    box-shadow:0 0 0 4px rgba(37,99,235,.11);
}
.btn,button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:11px 16px;
    border:0;
    border-radius:14px;
    background:linear-gradient(135deg,var(--primary),var(--primary2));
    color:#fff;
    font-weight:850;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(37,99,235,.18);
}
.btn-light{background:#eef2f7;color:#0f172a;box-shadow:none}
.alert{
    padding:14px 16px;
    border-radius:16px;
    margin-bottom:16px;
    font-weight:750;
}
.alert-success{background:#dcfce7;color:#166534}
.alert-danger{background:#fee2e2;color:#991b1b}
.app{
    min-height:100vh;
    display:flex;
}
.sidebar{
    width:280px;
    position:fixed;
    inset:0 auto 0 0;
    padding:26px 22px;
    color:#fff;
    background:
        radial-gradient(circle at top left,rgba(37,99,235,.22),transparent 34%),
        linear-gradient(180deg,#07111f,#0f172a 56%,#111827);
}
.brand{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:30px;
}
.brand-icon{
    width:48px;
    height:48px;
    border-radius:17px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--primary),var(--cyan));
    color:#fff;
    font-size:22px;
    font-weight:950;
}
.brand strong{display:block;color:#fff;font-weight:950}
.brand small{color:#94a3b8;font-size:12px}
.nav-title{
    margin:24px 0 9px;
    color:#94a3b8;
    font-size:11px;
    font-weight:950;
    letter-spacing:.11em;
    text-transform:uppercase;
}
.nav-link{
    display:flex;
    align-items:center;
    gap:11px;
    min-height:43px;
    margin-bottom:5px;
    padding:11px 12px;
    border-radius:14px;
    color:#dbeafe;
    font-size:14px;
    font-weight:850;
}
.nav-link:hover,.nav-link.active{
    color:#fff;
    background:rgba(255,255,255,.105);
}
.main{
    width:calc(100% - 280px);
    margin-left:280px;
}
.topbar{
    position:sticky;
    top:0;
    z-index:20;
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 32px;
    background:rgba(255,255,255,.92);
    border-bottom:1px solid rgba(226,232,240,.92);
    box-shadow:0 10px 32px rgba(15,23,42,.045);
    backdrop-filter:blur(14px);
}
.page-title h1{
    margin:0;
    font-size:30px;
    line-height:1.15;
    font-weight:950;
    letter-spacing:-.045em;
}
.page-title p{
    margin:5px 0 0;
    color:var(--muted);
    font-size:14px;
}
.content{padding:32px}
.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin-bottom:24px;
    padding:28px;
    border:1px solid rgba(226,232,240,.96);
    border-radius:28px;
    background:
        radial-gradient(circle at top left,rgba(29,78,216,.085),transparent 34%),
        radial-gradient(circle at top right,rgba(8,145,178,.075),transparent 35%),
        #fff;
    box-shadow:var(--shadow);
}
.hero h2{
    margin:0 0 8px;
    font-size:30px;
    line-height:1.14;
    font-weight:950;
    letter-spacing:-.045em;
}
.hero p{
    max-width:780px;
    margin:0;
    color:var(--muted);
    line-height:1.65;
}
.actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:24px;
}
.card,.stat{
    background:#fff;
    border:1px solid rgba(226,232,240,.96);
    border-radius:22px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.card{
    padding:23px;
    margin-bottom:22px;
}
.card h2{
    margin:0 0 16px;
    font-weight:950;
    letter-spacing:-.035em;
}
.stat{
    position:relative;
    overflow:hidden;
    padding:22px;
}
.stat:after{
    content:"";
    position:absolute;
    width:124px;
    height:124px;
    right:-46px;
    top:-52px;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(29,78,216,.13),rgba(8,145,178,.12));
}
.stat span{
    color:var(--muted);
    font-size:13px;
    font-weight:850;
}
.stat strong{
    display:block;
    margin-top:7px;
    font-size:34px;
    line-height:1;
    font-weight:950;
}
.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}
.table-wrap{overflow:auto}
table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
}
th{
    padding:14px;
    background:#f8fafc;
    color:#475569;
    font-size:12px;
    font-weight:950;
    text-align:left;
    text-transform:uppercase;
    border-bottom:1px solid var(--line);
}
td{
    padding:14px;
    border-bottom:1px solid #eef2f7;
    vertical-align:top;
}
.badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:5px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:950;
}
.success,.active{background:#dcfce7;color:#166534}
.warning{background:#fef3c7;color:#92400e}
.danger,.failed{background:#fee2e2;color:#991b1b}
.info,.pending{background:#dbeafe;color:#1d4ed8}
code{
    display:inline-block;
    padding:4px 8px;
    border-radius:8px;
    background:#f1f5f9;
    color:#0f172a;
    font-size:12px;
}
.small{
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
}
@media(max-width:1000px){
    .install-shell{grid-template-columns:1fr}
    .install-hero{display:none}
    .sidebar{position:relative;width:100%;height:auto}
    .app{display:block}
    .main{width:100%;margin-left:0}
    .stats,.grid{grid-template-columns:1fr}
    .hero{display:block}
    .actions{margin-top:16px}
}