*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f4f7fb;color:#17263c}
a{text-decoration:none;color:inherit}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(420px,.85fr)}
.login-brand{position:relative;overflow:hidden;background:linear-gradient(145deg,#0b2746,#113d67 58%,#0c5a73);padding:62px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.login-brand:before{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:rgba(35,181,82,.13);right:-180px;bottom:-180px}
.brand-logo{font-size:40px;font-weight:800;letter-spacing:-1.4px}
.brand-logo span{color:#21b455}
.brand-sub{margin-top:5px;color:#b9cce0;font-size:16px}
.hero-title{font-size:46px;line-height:1.12;margin:48px 0 18px;max-width:650px}
.hero-title em{font-style:normal;color:#49d17c}
.hero-copy{font-size:19px;line-height:1.6;color:#dce8f3;max-width:600px}
.hero-list{display:grid;gap:14px;margin-top:34px;font-size:16px}
.hero-list div:before{content:"✓";display:inline-grid;place-items:center;width:24px;height:24px;margin-right:11px;border-radius:50%;background:#21b455;color:white;font-weight:800}
.login-side{display:flex;align-items:center;justify-content:center;padding:40px;background:#f4f7fb}
.auth-card{width:min(460px,100%);background:#fff;border:1px solid #e0e7ef;border-radius:16px;padding:38px;box-shadow:0 18px 55px rgba(24,48,78,.10)}
.auth-card h1{margin:0 0 8px;font-size:28px}
.muted{color:#7b8796}
.form-group{margin-top:20px}
.form-group label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
.input{width:100%;height:48px;border:1px solid #d8e1eb;border-radius:9px;padding:0 14px;font-size:15px;outline:none;background:white}
.input:focus{border-color:#2485ec;box-shadow:0 0 0 3px rgba(36,133,236,.10)}
.btn{border:0;border-radius:9px;min-height:48px;padding:0 18px;font-weight:700;font-size:15px;cursor:pointer}
.btn-primary{width:100%;background:#1478ed;color:white}
.btn-primary:hover{background:#0f68d0}
.alert{border-radius:9px;padding:13px 14px;margin:18px 0;font-size:14px}
.alert-error{background:#fff0f0;color:#b42318;border:1px solid #ffd3d3}
.alert-success{background:#eafaf0;color:#137333;border:1px solid #c7efd5}
.alert-info{background:#eef6ff;color:#135ea8;border:1px solid #cee4ff}
.auth-footer{text-align:center;margin-top:26px;color:#8792a0;font-size:12px}
.layout{min-height:100vh;display:grid;grid-template-columns:230px 1fr}
.sidebar{background:#0c2a48;color:white;min-height:100vh}
.side-logo{padding:24px 22px;font-size:25px;font-weight:800;border-bottom:1px solid rgba(255,255,255,.08)}
.side-logo span{color:#23b455}
.nav{padding:14px 0}
.nav a{display:flex;align-items:center;gap:12px;padding:13px 22px;color:#d9e5ef;border-left:3px solid transparent}
.nav a:hover,.nav a.active{background:#1478ed;color:white;border-left-color:#64b1ff}
.main{background:#f5f8fc;min-width:0}
.topbar{height:74px;background:white;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 28px}
.userbox{text-align:right}
.userbox strong{display:block;font-size:14px}
.userbox span{font-size:12px;color:#84909d}
.content{padding:28px}
.page-title{font-size:27px;font-weight:800;margin-bottom:24px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:white;border:1px solid #e0e7ef;border-radius:12px;padding:21px;box-shadow:0 4px 14px rgba(27,50,75,.04)}
.card-label{font-size:13px;color:#748190;font-weight:700}
.card-value{font-size:29px;font-weight:800;margin-top:12px}
.green{color:#159447}.blue{color:#177ad9}.orange{color:#e78316}.red{color:#d92d20}
.panel{background:white;border:1px solid #e0e7ef;border-radius:12px;padding:23px;margin-top:20px}
.status-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #eef2f6}
.status-row:last-child{border-bottom:0}
.badge{display:inline-flex;align-items:center;border-radius:20px;padding:6px 11px;font-size:12px;font-weight:700}
.badge-ok{background:#e6f8ec;color:#147a37}
.logout{font-size:13px;color:#d92d20;margin-top:20px;display:block}
@media(max-width:900px){
.login-shell{grid-template-columns:1fr}
.login-brand{min-height:380px;padding:38px}
.hero-title{font-size:34px}
.layout{grid-template-columns:1fr}
.sidebar{display:none}
.cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
.cards{grid-template-columns:1fr}
.login-side{padding:18px}
.auth-card{padding:25px}
}


/* ===== ERK FUEL FONT SCALE v1 ===== */
html,body{font-size:16px!important}

.ef-logo,.logo{font-size:22px!important}

.ef-nav a,.sidebar nav a{
    font-size:14px!important;
}

.ef-user b,.top-user b{font-size:14px!important}
.ef-user small,.top-user small{font-size:12px!important}

.ef-page-head h1,.page-head h1{
    font-size:26px!important;
}

.ef-kpi span,.kpi span{font-size:13px!important}
.ef-kpi strong,.kpi strong{font-size:27px!important}
.ef-kpi small,.kpi small{font-size:11px!important}

.ef-panel-head b,.panel-head b{
    font-size:14px!important;
}

.ef-panel-head a,.panel-head a{
    font-size:12px!important;
}

.ef-table,table{
    font-size:11px!important;
}

.ef-table th,.ef-table td,
table th,table td{
    padding:10px 8px!important;
}

.ef-form h3,
.ef-card h3,
.box h3{
    font-size:16px!important;
}

.ef-form input,.ef-form select,
.ef-form-grid input,.ef-form-grid select,
.ef-form-grid4 input,.ef-form-grid4 select,
.trx-form input,.trx-form select,
.u-form input,.u-form select,
.field input,.field select{
    font-size:13px!important;
}

.ef-btn,.btn,.mini{
    font-size:13px!important;
}

.ef-tabs span{
    font-size:13px!important;
}

.ef-filters input,.ef-filters select,
.ef-filters button,.ef-csv{
    font-size:12px!important;
}

.ef-tank h3{font-size:15px!important}
.ef-tank-info strong{font-size:24px!important}
.ef-tank-info b{font-size:20px!important}
.ef-tank-info small{font-size:11px!important}
.ef-tank-meta{font-size:11px!important}

.ef-alert b{font-size:11px!important}
.ef-alert small{font-size:10px!important}

.ef-empty{
    font-size:13px!important;
}
