/* Legal Tech SaaS Core v1.0.2 — cross-browser light UI */
:root{--blue:#0b63ce;--blue2:#2f80ed;--ink:#172033;--muted:#6f7d92;--line:#e1e9f5;--bg:#f7f9fc;--card:#fff;--danger:#c93737;--success:#18864b;color-scheme:light}
html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;background:#f7f9fc;background:var(--bg)}
*,*::before,*::after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
body{margin:0;min-width:320px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#f7f9fc;background:var(--bg);color:#172033;color:var(--ink);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
button,input,select,textarea{font:inherit;color:inherit}button,input[type="button"],input[type="submit"]{-webkit-appearance:none;appearance:none}a{color:inherit;text-decoration:none}img,svg{max-width:100%;height:auto}
.navbar{position:-webkit-sticky;position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e1e9f5;border-bottom-color:var(--line);height:62px;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.nav-wrap{width:calc(100% - 28px);max-width:1180px;margin:auto;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;gap:22px}.brand{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;gap:9px;font-weight:800;color:#0b63ce;color:var(--blue);white-space:nowrap}.brand-mark{width:30px;height:30px;border-radius:9px;background:#0b63ce;background:linear-gradient(135deg,#0b63ce,#5ba7ff);display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#fff;font-size:14px}.nav-links{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;gap:3px;-webkit-flex:1 1 auto;flex:1 1 auto;min-width:0}.nav-link{padding:8px 11px;border-radius:8px;color:#46546b;font-weight:600;font-size:13px}.nav-link:hover,.nav-link.active{background:#eef5ff;color:#0b63ce;color:var(--blue)}.nav-right{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;gap:10px}.pill{font-size:12px;background:#eef5ff;color:#0b63ce;color:var(--blue);padding:6px 9px;border-radius:999px;font-weight:700}.container{width:calc(100% - 28px);max-width:1180px;margin:24px auto 54px}.hero{display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;-webkit-align-items:flex-end;align-items:flex-end;gap:18px;margin-bottom:20px}.hero h1{font-size:25px;margin:0 0 5px;line-height:1.2}.hero p{margin:0;color:#6f7d92;color:var(--muted)}
.grid{display:-ms-grid;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:#fff;background:var(--card);border:1px solid #e1e9f5;border-color:var(--line);border-radius:14px;-webkit-box-shadow:0 5px 18px rgba(39,76,135,.045);box-shadow:0 5px 18px rgba(39,76,135,.045)}.stat{padding:18px}.stat .label{font-size:12px;color:#6f7d92;color:var(--muted);font-weight:700}.stat .value{font-size:27px;font-weight:800;margin-top:7px}.stat .hint{font-size:12px;color:#6f7d92;color:var(--muted);margin-top:4px}.panel{padding:20px;margin-top:16px}.panel h2{font-size:16px;margin:0 0 15px}.btn{display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;border:0;border-radius:9px;padding:10px 14px;font-weight:700;font-size:13px;cursor:pointer;background:#0b63ce;background:var(--blue);color:#fff;line-height:1.2;min-height:38px}.btn:hover{opacity:.96}.btn-light{background:#eef5ff;color:#0b63ce;color:var(--blue)}.btn-danger{background:#fff0f0;color:#c93737;color:var(--danger)}.btn-sm{padding:7px 10px;font-size:12px;min-height:32px}.form-group{margin-bottom:14px}.form-label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.form-control{display:block;width:100%;min-height:40px;padding:10px 11px;border:1px solid #cfd9e9;border-radius:9px;background:#fff;color:#172033;color:var(--ink);outline:none;-webkit-appearance:none;appearance:none;-webkit-transition:border-color .15s ease,box-shadow .15s ease;transition:border-color .15s ease,box-shadow .15s ease}.form-control:focus{border-color:#2f80ed;border-color:var(--blue2);-webkit-box-shadow:0 0 0 3px #e7f1ff;box-shadow:0 0 0 3px #e7f1ff}.form-row{display:-ms-grid;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.auth-shell{min-height:100vh;min-height:100dvh;display:-ms-grid;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);background:#fff}.auth-brand{background:#095bbb;background:linear-gradient(150deg,#095bbb,#368bf0);color:#fff;padding:8vw;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center}.auth-brand h1{font-size:42px;line-height:1.08;margin:12px 0}.auth-brand p{font-size:17px;line-height:1.6;opacity:.9;max-width:580px}.auth-form{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;padding:28px;background:#fff}.auth-card{width:100%;max-width:430px}.auth-card h2{font-size:27px;margin:0 0 7px}.muted{color:#6f7d92;color:var(--muted)}.alert{padding:11px 13px;border-radius:9px;margin-bottom:14px;border:1px solid}.alert-error{background:#fff4f4;color:#a92d2d;border-color:#ffd2d2}.alert-success{background:#effaf4;color:#14733e;border-color:#cfeede}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table{width:100%;border-collapse:collapse;border-spacing:0;background:#fff}.table th,.table td{padding:11px 10px;border-bottom:1px solid #edf1f7;text-align:left;white-space:nowrap;vertical-align:middle}.table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6f7d92;color:var(--muted);background:#fff}.badge{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#edf3fb;color:#50637f}.badge.active{background:#eaf8f0;color:#1a7a47}.badge.inactive{background:#f1f2f5;color:#6c7584}.badge.pending{background:#fff7df;color:#8c6500}.badge.rejected{background:#fff0f0;color:#b23030}.badge.suspended{background:#f4f0ff;color:#6848a8}.upload{border:1.5px dashed #b9cbe5;border-radius:12px;padding:18px;background:#fbfdff}.footer{text-align:center;color:#8a96a8;font-size:12px;padding:18px}.mobile-toggle{display:none;background:#eef5ff;color:#0b63ce;color:var(--blue);border:0;border-radius:8px;padding:8px 10px;cursor:pointer}.kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0b63ce;color:var(--blue)}
@supports not (display:grid){.grid,.form-row,.auth-shell{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.grid>*{width:calc(25% - 11px)}.form-row>*{width:calc(50% - 7px)}.auth-brand,.auth-form{width:50%}}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.nav-links{display:none;position:absolute;top:62px;left:0;right:0;background:#fff;border-bottom:1px solid #e1e9f5;border-bottom-color:var(--line);padding:10px 14px;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;align-items:stretch;-webkit-box-shadow:0 10px 24px rgba(23,32,51,.08);box-shadow:0 10px 24px rgba(23,32,51,.08)}.nav-links.open{display:-webkit-flex;display:flex}.mobile-toggle{display:block}.nav-right .pill{display:none}.form-row{grid-template-columns:1fr}@supports not (display:grid){.grid>*{width:calc(50% - 7px)}.form-row>*{width:100%}.auth-form{width:100%}}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.container{width:calc(100% - 18px);margin-top:16px}.nav-wrap{width:calc(100% - 18px);gap:8px}.hero{-webkit-align-items:flex-start;align-items:flex-start;-webkit-flex-direction:column;flex-direction:column}.auth-form{padding:22px}.auth-card h2{font-size:24px}.navbar{height:58px}.nav-links{top:58px}.brand span:last-child{max-width:150px;overflow:hidden;text-overflow:ellipsis}@supports not (display:grid){.grid>*{width:100%}}}

/* v1.0.4 grouped navbar dropdowns */
.nav-dropdown{position:relative;display:flex;align-items:center}.nav-dropbtn{border:0;background:transparent;cursor:pointer;font:inherit}.caret{font-size:11px;margin-left:3px}.dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:210px;background:#fff;border:1px solid var(--line,#e1e9f5);border-radius:10px;padding:6px;box-shadow:0 14px 30px rgba(23,32,51,.12);z-index:100}.nav-dropdown:hover .dropdown-menu,.nav-dropdown.open .dropdown-menu{display:block}.dropdown-item{display:block;padding:9px 10px;border-radius:7px;color:#46546b;font-size:13px;font-weight:600;white-space:nowrap}.dropdown-item:hover,.dropdown-item.active{background:#eef5ff;color:var(--blue,#0b63ce)}
@media(max-width:900px){.nav-dropdown{display:block;width:100%}.nav-dropbtn{width:100%;text-align:left}.dropdown-menu{position:static;display:none;min-width:0;border:0;border-left:2px solid #dce9fb;border-radius:0;box-shadow:none;margin:2px 0 6px 10px;padding:2px 0 2px 8px}.nav-dropdown:hover .dropdown-menu{display:none}.nav-dropdown.open .dropdown-menu{display:block}.dropdown-item{padding:8px 10px}}


/* v1.0.5 right-aligned compact navbar */
.nav-wrap{max-width:none;padding:0 14px;width:100%;gap:10px}
.nav-spacer{-webkit-flex:1 1 auto;flex:1 1 auto;min-width:18px}
.nav-links{-webkit-flex:0 0 auto;flex:0 0 auto;gap:2px;margin-left:auto}
.nav-right{-webkit-flex:0 0 auto;flex:0 0 auto;gap:6px;margin-left:2px}
.nav-link{padding:7px 9px}
.logout-link{margin-left:0}
.nav-dropdown{padding-bottom:0}
.dropdown-menu{top:calc(100% + 1px);padding:5px;min-width:196px}
.nav-dropdown::after{content:"";position:absolute;left:0;right:0;top:100%;height:6px;background:transparent}
.nav-dropdown:hover .dropdown-menu,.nav-dropdown:focus-within .dropdown-menu,.nav-dropdown.open .dropdown-menu{display:block}
.dropdown-item{padding:8px 9px}

@media(max-width:900px){
  .nav-spacer{display:none}
  .nav-wrap{padding:0 9px}
  .nav-links{margin-left:0;gap:1px}
  .nav-right{margin-left:auto}
  .dropdown-menu{top:auto}
  .nav-dropdown::after{display:none}
}


/* Core v1.1.3 - unified System menu + tenant white label */
.brand-logo-wrap{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:7px;overflow:hidden;background:#fff;border:1px solid rgba(15,47,87,.12);flex:0 0 auto}
.brand-logo-img{display:block;width:100%;height:100%;object-fit:contain;padding:2px}
.brand-name-text{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dropdown-separator{height:1px;background:#e7edf5;margin:4px 5px}
.settings-tabs{display:flex;gap:4px;margin:0 0 12px;padding:4px;background:#f3f7fc;border:1px solid #dce6f2;border-radius:8px}
.settings-tabs a{font-size:12.5px;padding:7px 10px;border-radius:6px;color:#475569;text-decoration:none}
.settings-tabs a.active,.settings-tabs a:hover{background:#fff;color:#0b63ce;box-shadow:0 1px 3px rgba(15,47,87,.08)}
.white-label-section{margin-top:26px;padding-top:22px;border-top:1px solid #e5edf6}
.section-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.section-heading h2{margin:0 0 4px}
.brand-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 18px}
.brand-upload-card{border:1px solid #dce6f2;border-radius:10px;padding:13px;background:#f9fbfe}
.brand-preview{height:104px;border:1px dashed #cbd8e8;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.brand-preview-logo img{max-width:92%;max-height:82px;object-fit:contain}
.brand-preview-favicon img{width:48px;height:48px;object-fit:contain}
.brand-placeholder{font-size:18px;font-weight:700;color:#93a4ba;letter-spacing:.08em}
.favicon-placeholder,.brand-live-mark{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#0b63ce;color:#fff;border-radius:7px;font-weight:800}
.inline-check{display:flex;align-items:center;gap:6px;margin-top:9px;font-size:12.5px;color:#475569}
.brand-live-preview{border:1px solid #dce6f2;border-radius:10px;overflow:hidden;margin:14px 0 18px;background:#fff}
.brand-live-title{padding:8px 11px;background:#f5f8fc;border-bottom:1px solid #e4ebf4;font-size:12px;color:#64748b}
.brand-live-bar{min-height:52px;padding:8px 12px;display:flex;align-items:center;gap:10px;font-size:12px;color:#475569}
.brand-live-bar img{width:32px;height:32px;object-fit:contain}
.brand-live-spacer{flex:1}
@media(max-width:720px){.brand-upload-grid{grid-template-columns:1fr}.brand-live-bar span:not(.brand-live-mark){display:none}.brand-name-text{max-width:150px}}

/* =========================================================
   v1.1.2 - Fluent / Windows inspired blue-gradient UI theme
   Visual-only override. Keeps module/runtime behavior intact.
   ========================================================= */
:root{
  --fluent-blue-900:#061a3a;
  --fluent-blue-800:#082957;
  --fluent-blue-700:#0a438b;
  --fluent-blue-600:#0b63ce;
  --fluent-blue-500:#1677e8;
  --fluent-sky:#5db6ff;
  --fluent-surface:rgba(255,255,255,.88);
  --fluent-shadow:0 10px 30px rgba(11,42,82,.10);
  --fluent-shadow-soft:0 4px 14px rgba(11,42,82,.07);
}

html,body{
  background:
    radial-gradient(circle at 15% 5%,rgba(79,166,255,.13),transparent 30%),
    radial-gradient(circle at 90% 18%,rgba(11,99,206,.08),transparent 26%),
    #f4f7fb;
}

body{
  min-height:100vh;
  letter-spacing:-.005em;
}

/* Windows / Fluent top app bar */
.navbar{
  height:64px;
  background:linear-gradient(115deg,var(--fluent-blue-900) 0%,var(--fluent-blue-800) 34%,var(--fluent-blue-700) 68%,var(--fluent-blue-600) 100%);
  border-bottom:1px solid rgba(255,255,255,.14);
  box-shadow:0 8px 26px rgba(4,25,57,.18);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  backdrop-filter:saturate(150%) blur(14px);
}
.nav-wrap{min-height:64px}
.brand{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.08)}
.brand-logo-wrap{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.96);
  box-shadow:0 3px 12px rgba(0,0,0,.13);
}
.brand-mark{
  background:linear-gradient(135deg,#1685ff,#65c0ff);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 4px 12px rgba(0,0,0,.15);
}
.brand-name-text{color:#fff;font-weight:700;letter-spacing:-.01em}

.nav-link,
.nav-dropbtn{
  color:rgba(255,255,255,.90);
  font-weight:600;
  border-radius:7px;
  transition:background .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.nav-link:hover,.nav-link.active,
.nav-dropbtn:hover,.nav-dropbtn.active{
  color:#fff;
  background:rgba(255,255,255,.14);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
}
.nav-link:active,.nav-dropbtn:active{transform:translateY(1px)}
.nav-right .pill{
  color:#fff;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.logout-link{color:#fff!important}
.mobile-toggle{
  background:rgba(255,255,255,.13);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}
.mobile-toggle:hover{background:rgba(255,255,255,.20)}

/* Floating Fluent dropdowns */
.dropdown-menu{
  margin-top:1px;
  min-width:220px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(17,54,96,.12);
  border-radius:11px;
  padding:7px;
  box-shadow:0 18px 45px rgba(8,36,72,.18),0 2px 8px rgba(8,36,72,.08);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.dropdown-item{
  border-radius:7px;
  color:#27364c;
  font-weight:500;
  transition:background .12s ease,color .12s ease;
}
.dropdown-item:hover,.dropdown-item.active{
  background:linear-gradient(90deg,#eaf4ff,#f4f9ff);
  color:#075dbb;
}
.dropdown-separator{background:#e4ebf3}

/* Main content */
.container{max-width:1220px;margin-top:26px}
.hero{padding:2px 2px 4px}
.hero h1{font-size:27px;font-weight:700;letter-spacing:-.025em;color:#13233a}
.hero p{color:#68788f}
.kicker{color:#0b63ce;letter-spacing:.075em}

.card,.panel,.brand-upload-card,.brand-live-preview{
  background:var(--fluent-surface);
  border:1px solid rgba(34,78,129,.12);
  border-radius:12px;
  box-shadow:var(--fluent-shadow-soft);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.card:hover{border-color:rgba(11,99,206,.20)}
.panel{padding:21px}
.stat{padding:19px}
.stat .label{font-weight:600;color:#6c7d93}
.stat .value{font-weight:700;color:#14253e;letter-spacing:-.025em}

/* Fluent controls */
.btn{
  border-radius:7px;
  background:linear-gradient(180deg,#1677e8,#0b63ce);
  border:1px solid rgba(5,75,157,.35);
  box-shadow:0 2px 6px rgba(11,99,206,.18),inset 0 1px 0 rgba(255,255,255,.18);
  font-weight:600;
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
}
.btn:hover{opacity:1;filter:brightness(1.035);box-shadow:0 4px 10px rgba(11,99,206,.22),inset 0 1px 0 rgba(255,255,255,.18)}
.btn:active{transform:translateY(1px)}
.btn-light{
  color:#075dbb;
  background:#f2f7fd;
  border-color:#ccd9e8;
  box-shadow:0 1px 3px rgba(19,52,89,.05);
}
.btn-danger{background:#fff4f4;color:#bd2b2b;border-color:#f3cccc;box-shadow:none}
.form-control{
  min-height:40px;
  border-radius:7px;
  border-color:#c9d5e4;
  background:rgba(255,255,255,.96);
  box-shadow:inset 0 1px 2px rgba(14,45,78,.025);
}
.form-control:hover{border-color:#aebed1}
.form-control:focus{
  border-color:#0b63ce;
  box-shadow:0 0 0 1px #0b63ce,0 0 0 4px rgba(11,99,206,.10);
}
.form-label{font-weight:600;color:#34455d}
.settings-tabs{background:#eef3f8;border-color:#d9e3ee;border-radius:9px}
.settings-tabs a{border-radius:6px}

/* Tables */
.table-wrap{
  border-radius:10px;
  border:1px solid #e2e8f0;
  background:#fff;
}
.table{background:rgba(255,255,255,.98)}
.table th{
  background:#f5f8fc;
  color:#66778d;
  font-weight:700;
  border-bottom:1px solid #dfe7f0;
}
.table td{border-bottom-color:#edf1f5}
.table tbody tr:hover td{background:#f7fbff}

.badge{font-weight:700;border:1px solid rgba(32,61,96,.07)}
.upload{background:#f9fbfe;border-color:#b9cae0}
.alert{border-radius:9px;box-shadow:0 2px 8px rgba(29,55,86,.04)}

/* Footer as full-width Windows-style status bar */
.footer{
  width:100%;
  box-sizing:border-box;
  margin-top:0;
  padding:19px 20px;
  color:rgba(255,255,255,.82);
  background:linear-gradient(115deg,var(--fluent-blue-900) 0%,var(--fluent-blue-800) 42%,var(--fluent-blue-700) 100%);
  border-top:1px solid rgba(255,255,255,.10);
  box-shadow:0 -5px 20px rgba(4,25,57,.08);
  letter-spacing:.005em;
}

/* Authentication keeps the same visual language */
.auth-shell{background:#f4f7fb}
.auth-brand{
  background:
    radial-gradient(circle at 12% 15%,rgba(95,190,255,.34),transparent 28%),
    linear-gradient(145deg,#061a3a 0%,#083266 48%,#0b63ce 100%);
}
.auth-form{background:linear-gradient(180deg,#fbfdff,#f4f7fb)}
.auth-card{
  padding:26px;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(30,72,120,.10);
  box-shadow:0 18px 48px rgba(12,45,82,.11);
}
.auth-card h2{font-weight:700;letter-spacing:-.025em}

@media(max-width:900px){
  .navbar,.nav-wrap{height:60px;min-height:60px}
  .nav-links{
    top:60px;
    background:linear-gradient(180deg,#082957,#0a438b);
    border-bottom-color:rgba(255,255,255,.12);
    box-shadow:0 16px 32px rgba(4,25,57,.24);
  }
  .nav-dropdown{border-radius:8px}
  .dropdown-menu{
    background:rgba(255,255,255,.08);
    border-left:1px solid rgba(255,255,255,.15);
    box-shadow:none;
    backdrop-filter:none;
  }
  .dropdown-item{color:rgba(255,255,255,.88)}
  .dropdown-item:hover,.dropdown-item.active{background:rgba(255,255,255,.12);color:#fff}
  .nav-link,.nav-dropbtn{padding:9px 11px}
}

@media(max-width:560px){
  .navbar,.nav-wrap{height:58px;min-height:58px}
  .nav-links{top:58px}
  .container{margin-bottom:36px}
  .panel{padding:16px}
  .card{border-radius:10px}
  .footer{padding:16px 12px}
  .auth-card{padding:20px;border-radius:13px;box-shadow:0 12px 32px rgba(12,45,82,.09)}
}

/* =========================================================
   v1.1.5 - HARD BLUE GRADIENT HEADER / FOOTER OVERRIDE
   Must stay LAST in this file so module/core legacy CSS cannot
   replace the requested visual treatment.
   ========================================================= */
html body .navbar,
body > .navbar,
nav.navbar {
  background-color:#073b82 !important;
  background-image:linear-gradient(110deg,#031a3d 0%,#06356f 28%,#0758ad 62%,#0a73d9 100%) !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 8px 24px rgba(2,24,57,.24) !important;
  color:#fff !important;
}
html body .navbar .nav-wrap,
nav.navbar > .nav-wrap {
  background:transparent !important;
  color:#fff !important;
}
html body .navbar .brand,
html body .navbar .brand-name-text,
html body .navbar .nav-link,
html body .navbar .nav-dropbtn,
html body .navbar .logout-link {
  color:#fff !important;
}
html body .navbar .nav-link:hover,
html body .navbar .nav-link.active,
html body .navbar .nav-dropbtn:hover,
html body .navbar .nav-dropbtn.active {
  background:rgba(255,255,255,.15) !important;
  color:#fff !important;
}
html body .footer,
body > .footer,
div.footer {
  background-color:#052d65 !important;
  background-image:linear-gradient(110deg,#031a3d 0%,#06356f 35%,#0758ad 72%,#0a73d9 100%) !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  color:rgba(255,255,255,.92) !important;
  border-top:1px solid rgba(255,255,255,.15) !important;
  box-shadow:0 -6px 22px rgba(2,24,57,.16) !important;
}
@media(max-width:900px){
  html body .navbar .nav-links{
    background-color:#052d65 !important;
    background-image:linear-gradient(180deg,#031a3d 0%,#06356f 55%,#0758ad 100%) !important;
  }
}

/* =========================================================
   v1.1.5 - NATURAL HEADER LOGO
   Logo is displayed directly on the gradient header without
   card/wrapper, white background, border, radius, or shadow.
   ========================================================= */
html body .navbar .brand-logo-wrap,
nav.navbar .brand-logo-wrap {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  height:40px !important;
  min-width:0 !important;
  max-width:170px !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
html body .navbar .brand-logo-img,
nav.navbar .brand-logo-img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:170px !important;
  max-height:38px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
@media(max-width:560px){
  html body .navbar .brand-logo-wrap,
  nav.navbar .brand-logo-wrap {
    height:34px !important;
    max-width:120px !important;
  }
  html body .navbar .brand-logo-img,
  nav.navbar .brand-logo-img {
    max-width:120px !important;
    max-height:32px !important;
  }
}

/* =========================================================
   v1.1.6 - MOBILE APP DENSE / HORIZONTAL UI
   Compact two-column mobile dashboard + right-side app drawer.
   ========================================================= */
@media(max-width:760px){
  html{font-size:13px}
  body{font-size:13px;overflow-x:hidden;padding-bottom:0}
  .navbar,.nav-wrap{height:56px!important;min-height:56px!important}
  .nav-wrap{width:100%!important;padding:0 10px!important;gap:7px!important}
  .brand{min-width:0;max-width:calc(100% - 54px);gap:7px}
  .brand-name-text{max-width:145px!important;font-size:13px;overflow:hidden;text-overflow:ellipsis}
  html body .navbar .brand-logo-wrap,nav.navbar .brand-logo-wrap{height:32px!important;max-width:112px!important}
  html body .navbar .brand-logo-img,nav.navbar .brand-logo-img{max-height:30px!important;max-width:112px!important}

  /* hamburger lives at far right */
  .nav-spacer{display:none!important}
  .mobile-toggle{display:inline-flex!important;align-items:center;justify-content:center;order:99;margin-left:auto!important;width:38px;height:36px;padding:0!important;border-radius:9px;font-size:0;position:relative;flex:0 0 auto}
  .mobile-toggle::before{content:"☰";font-size:20px;line-height:1;color:#fff}

  /* right-side mobile app drawer */
  html body .navbar .nav-links{
    display:flex!important;
    position:fixed!important;
    top:56px!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:min(84vw,310px)!important;
    max-width:310px!important;
    padding:10px!important;
    margin:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:3px!important;
    border-left:1px solid rgba(255,255,255,.12)!important;
    border-bottom:0!important;
    transform:translateX(104%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .2s ease,visibility .2s ease;
    z-index:120;
    box-shadow:-18px 0 40px rgba(2,24,57,.28)!important;
  }
  html body .navbar .nav-links.open{transform:translateX(0);visibility:visible;pointer-events:auto}
  .nav-links>.nav-link,.nav-dropbtn{width:100%;text-align:left;padding:10px 11px!important;border-radius:8px!important;font-size:13px!important}
  .nav-dropdown{width:100%;display:block!important}
  .dropdown-menu{position:static!important;min-width:0!important;width:100%!important;margin:2px 0 5px 7px!important;padding:2px 0 2px 7px!important;border:0!important;border-left:1px solid rgba(255,255,255,.2)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .dropdown-item{white-space:normal!important;padding:8px 9px!important;font-size:12.5px!important}
  .nav-right{order:98;margin-left:0!important;gap:2px!important}
  .nav-right .pill{display:none!important}
  .nav-right .logout-link{display:none!important}

  /* compact app content */
  .container{width:calc(100% - 16px)!important;margin:12px 8px 28px!important;max-width:none!important}
  .hero{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 10px!important;min-height:44px}
  .hero>div:first-child{min-width:0}
  .hero h1{font-size:19px!important;line-height:1.14!important;margin:0 0 2px!important;white-space:normal}
  .hero p{font-size:11.5px!important;line-height:1.35!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .kicker{font-size:10px!important}

  /* keep mobile information horizontal/dense instead of long single-column stacks */
  .grid,.grid.grid-4,.grid.grid-3,.grid.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .stat{padding:11px 10px!important;min-height:78px}
  .stat .label{font-size:10px!important;line-height:1.2!important}
  .stat .value{font-size:21px!important;line-height:1.05!important;margin-top:5px!important}
  .stat .hint{font-size:10px!important;line-height:1.25!important;margin-top:3px!important}
  .card{border-radius:10px!important;box-shadow:0 2px 10px rgba(11,42,82,.065)!important}
  .panel{padding:12px!important;margin-top:9px!important;border-radius:10px!important}
  .panel h2{font-size:14px!important;margin:0 0 9px!important}

  /* horizontal action bars like a native mobile app */
  .crm-commandbar,.lcm-command,.dm-command,.ail-command,.ldg-command,.bill-command,.cp-command,.tc-command,.em-command,.settings-tabs{
    display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:4px!important;padding:4px!important;margin-bottom:8px!important
  }
  .crm-commandbar::-webkit-scrollbar,.lcm-command::-webkit-scrollbar,.dm-command::-webkit-scrollbar,.ail-command::-webkit-scrollbar,.ldg-command::-webkit-scrollbar,.bill-command::-webkit-scrollbar,.cp-command::-webkit-scrollbar,.tc-command::-webkit-scrollbar,.em-command::-webkit-scrollbar,.settings-tabs::-webkit-scrollbar{display:none}
  .crm-command,.lcm-command a,.dm-command a,.ail-command a,.ldg-command a,.bill-command a,.cp-command a,.tc-command a,.em-command a,.settings-tabs a{white-space:nowrap!important;flex:0 0 auto!important;font-size:11.5px!important;padding:7px 8px!important}

  /* denser forms: pair short controls where page already groups them */
  .form-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .form-group{margin-bottom:10px!important;min-width:0}
  .form-label{font-size:10.5px!important;margin-bottom:4px!important}
  .form-control{min-height:36px!important;padding:8px 9px!important;font-size:12.5px!important;border-radius:7px!important}
  textarea.form-control{min-height:88px!important}
  .btn{min-height:34px!important;padding:8px 11px!important;font-size:12px!important;border-radius:7px!important}
  .btn-sm{min-height:30px!important;padding:6px 8px!important;font-size:11px!important}

  /* tables remain horizontal rather than turning every row into vertical cards */
  .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:8px!important}
  .table{font-size:11.5px!important;min-width:max-content}
  .table th,.table td{padding:8px 8px!important;white-space:nowrap!important}
  .table th{font-size:9.5px!important}
  .badge{padding:4px 7px!important;font-size:9.5px!important}

  /* module-specific mobile density */
  .cp-kpis,.bill-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .lcm-section-grid,.dm-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .bill-kpi,.cp-kpi{padding:10px!important}
  .ail-grid,.ldg-grid,.bill-grid{grid-template-columns:minmax(0,1fr)!important}
  .ldg-doc,.ail-result{padding:16px!important}
  .brand-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .brand-preview{height:78px!important}

  .footer{padding:12px 10px!important;font-size:10.5px!important;line-height:1.35!important}
}

@media(max-width:390px){
  .brand-name-text{max-width:112px!important}
  .grid,.grid.grid-4,.grid.grid-3,.grid.grid-2{gap:6px!important}
  .stat{padding:9px 8px!important;min-height:72px}
  .stat .value{font-size:19px!important}
  .form-row{gap:6px!important}
}

/* =========================================================
   v1.1.7 - MOBILE DRAWER PORTAL FIX
   Drawer is portaled to <body> so it can never sit behind page content.
   ========================================================= */
@media(max-width:760px){
  html,body{overflow-x:hidden!important}
  body.mobile-nav-open{overflow:hidden!important;touch-action:none}

  /* navbar remains above page, but drawer itself lives directly under body */
  html body .navbar{z-index:2147483500!important;overflow:visible!important;isolation:auto!important}

  body > .mobile-nav-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(3,18,38,.52)!important;
    -webkit-backdrop-filter:blur(2px);
    backdrop-filter:blur(2px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .18s ease,visibility .18s ease;
    z-index:2147483505!important;
  }
  body.mobile-nav-open > .mobile-nav-backdrop{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  /* portal drawer: independent of navbar/container stacking contexts */
  body > .nav-links.mobile-drawer-portal{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:min(86vw,320px)!important;
    max-width:320px!important;
    height:100dvh!important;
    min-height:100vh!important;
    box-sizing:border-box!important;
    padding:68px 10px 18px!important;
    margin:0!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:3px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    background:linear-gradient(165deg,#063f82 0%,#075ab5 42%,#0b6fd3 100%)!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.17)!important;
    border-radius:0!important;
    box-shadow:-22px 0 55px rgba(0,18,48,.38)!important;
    transform:translate3d(104%,0,0)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .2s ease,visibility .2s ease!important;
    z-index:2147483510!important;
  }
  body > .nav-links.mobile-drawer-portal.open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body > .nav-links.mobile-drawer-portal > .nav-link,
  body > .nav-links.mobile-drawer-portal .nav-dropbtn{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    text-align:left!important;
    color:rgba(255,255,255,.94)!important;
    background:transparent!important;
    padding:10px 11px!important;
    margin:0!important;
    border:0!important;
    border-radius:8px!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  body > .nav-links.mobile-drawer-portal > .nav-link:hover,
  body > .nav-links.mobile-drawer-portal > .nav-link.active,
  body > .nav-links.mobile-drawer-portal .nav-dropbtn:hover,
  body > .nav-links.mobile-drawer-portal .nav-dropbtn.active{
    color:#fff!important;
    background:rgba(255,255,255,.14)!important;
  }
  body > .nav-links.mobile-drawer-portal .nav-dropdown{display:block!important;width:100%!important}
  body > .nav-links.mobile-drawer-portal .dropdown-menu{
    display:none;
    position:static!important;
    width:calc(100% - 8px)!important;
    min-width:0!important;
    margin:2px 0 6px 8px!important;
    padding:3px 0 3px 8px!important;
    background:transparent!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.24)!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body > .nav-links.mobile-drawer-portal .nav-dropdown.open > .dropdown-menu{display:block!important}
  body > .nav-links.mobile-drawer-portal .dropdown-item{
    display:block!important;
    color:rgba(255,255,255,.86)!important;
    background:transparent!important;
    white-space:normal!important;
    padding:8px 9px!important;
    border-radius:7px!important;
    font-size:12.5px!important;
  }
  body > .nav-links.mobile-drawer-portal .dropdown-item:hover,
  body > .nav-links.mobile-drawer-portal .dropdown-item.active{
    color:#fff!important;
    background:rgba(255,255,255,.12)!important;
  }

  /* Ensure hamburger itself is always clickable above backdrop */
  .mobile-toggle{position:relative!important;z-index:2147483520!important}
}


/* =========================================================
   v1.1.8 - UNIFIED MOBILE NAVIGATION
   One right-side drawer behavior across mobile browsers,
   including wider landscape/mobile viewport reporting.
   ========================================================= */
@media (max-width:1024px){
  html{
    --mobile-header-height:56px;
    --mobile-viewport-height:100dvh;
  }

  html,body{max-width:100%;overflow-x:hidden!important}

  /* A single header model on every mobile/tablet viewport */
  html body .navbar,
  body > .navbar,
  nav.navbar{
    position:sticky!important;
    position:-webkit-sticky!important;
    top:0!important;
    width:100%!important;
    height:var(--mobile-header-height)!important;
    min-height:var(--mobile-header-height)!important;
    overflow:visible!important;
    z-index:2147483500!important;
  }
  html body .navbar .nav-wrap,
  nav.navbar > .nav-wrap{
    width:100%!important;
    max-width:none!important;
    height:var(--mobile-header-height)!important;
    min-height:var(--mobile-header-height)!important;
    box-sizing:border-box!important;
    padding-left:max(10px,env(safe-area-inset-left))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
  }
  html body .navbar .brand{
    order:1!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:calc(100% - 52px)!important;
  }
  html body .navbar .nav-spacer{display:none!important}
  html body .navbar .nav-right{order:2!important;margin-left:auto!important;flex:0 0 auto!important}
  html body .navbar .nav-right .pill,
  html body .navbar .nav-right .logout-link{display:none!important}

  /* Hamburger is always the last item, flush right */
  html body .navbar .mobile-toggle,
  nav.navbar .mobile-toggle{
    display:inline-flex!important;
    order:999!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:38px!important;
    min-width:40px!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    right:auto!important;
    left:auto!important;
    border-radius:10px!important;
    z-index:2147483520!important;
  }
  html body .navbar .mobile-toggle::before{content:"☰"!important;font-size:21px!important;line-height:1!important}

  body.mobile-nav-open{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important}

  body > .mobile-nav-backdrop{
    display:block!important;
    position:fixed!important;
    top:0!important;right:0!important;bottom:0!important;left:0!important;
    width:100vw!important;
    height:var(--mobile-viewport-height,100dvh)!important;
    background:rgba(3,18,38,.52)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:2147483505!important;
  }
  body.mobile-nav-open > .mobile-nav-backdrop{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  /* Same drawer dimensions/position in Chrome, Safari, Samsung, Vivo/WebView */
  body > .nav-links.mobile-drawer-portal{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    width:clamp(278px,84vw,330px)!important;
    max-width:calc(100vw - 34px)!important;
    height:var(--mobile-viewport-height,100dvh)!important;
    min-height:0!important;
    max-height:var(--mobile-viewport-height,100dvh)!important;
    box-sizing:border-box!important;
    padding-top:calc(var(--mobile-header-height) + max(10px,env(safe-area-inset-top)))!important;
    padding-right:max(10px,env(safe-area-inset-right))!important;
    padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
    padding-left:10px!important;
    margin:0!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:3px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    background:linear-gradient(165deg,#063f82 0%,#075ab5 42%,#0b6fd3 100%)!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.17)!important;
    border-radius:0!important;
    box-shadow:-22px 0 55px rgba(0,18,48,.38)!important;
    transform:translate3d(105%,0,0)!important;
    -webkit-transform:translate3d(105%,0,0)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .2s ease,visibility .2s ease!important;
    -webkit-transition:-webkit-transform .2s ease,visibility .2s ease!important;
    z-index:2147483510!important;
  }
  body > .nav-links.mobile-drawer-portal.open{
    transform:translate3d(0,0,0)!important;
    -webkit-transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body > .nav-links.mobile-drawer-portal > .nav-link,
  body > .nav-links.mobile-drawer-portal .nav-dropbtn{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    text-align:left!important;
    color:rgba(255,255,255,.95)!important;
    padding:10px 11px!important;
    border-radius:8px!important;
  }
  body > .nav-links.mobile-drawer-portal .nav-dropdown{display:block!important;width:100%!important}
  body > .nav-links.mobile-drawer-portal .dropdown-menu{
    position:static!important;
    width:calc(100% - 8px)!important;
    min-width:0!important;
    margin:2px 0 6px 8px!important;
  }
}

/* Browsers without dynamic viewport units fall back to JS-computed height. */
@supports not (height:100dvh){
  @media (max-width:1024px){
    body > .mobile-nav-backdrop,
    body > .nav-links.mobile-drawer-portal{height:var(--mobile-viewport-height,100vh)!important;max-height:var(--mobile-viewport-height,100vh)!important}
  }
}

/* =========================================================
   v1.1.9 - COMPACT MOBILE DASHBOARD + TRUE STICKY FOOTER
   + single right burger menu including logout
   ========================================================= */
.app-body{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
.app-body > .navbar{flex:0 0 auto}
.app-body > main.container{flex:1 0 auto}
.app-body > .footer{
  flex:0 0 auto;
  width:100%;
  box-sizing:border-box;
  margin-top:auto;
}
.mobile-drawer-account{display:none}

@media (max-width:1024px){
  html body.app-body .navbar .nav-wrap,
  nav.navbar > .nav-wrap{
    padding-left:max(8px,env(safe-area-inset-left))!important;
    padding-right:max(4px,env(safe-area-inset-right))!important;
    gap:5px!important;
  }

  /* burger benar-benar mepet sisi kanan */
  html body.app-body .navbar .mobile-toggle,
  nav.navbar .mobile-toggle{
    margin-left:auto!important;
    margin-right:0!important;
    right:0!important;
    width:40px!important;
    min-width:40px!important;
    font-size:0!important;
    overflow:hidden!important;
  }
  html body.app-body .navbar .mobile-toggle::before{
    content:"☰"!important;
    font-size:22px!important;
  }
  html body.app-body.mobile-nav-open .navbar .mobile-toggle::before{
    content:"✕"!important;
    font-size:20px!important;
  }

  /* logout + tenant menjadi satu bagian di dalam burger drawer */
  body > .nav-links.mobile-drawer-portal .mobile-drawer-account{
    display:block!important;
    order:9999!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:auto!important;
    padding:12px 4px 2px!important;
    border-top:1px solid rgba(255,255,255,.18)!important;
  }
  body > .nav-links.mobile-drawer-portal .mobile-drawer-tenant{
    display:block!important;
    padding:0 8px 8px!important;
    color:rgba(255,255,255,.66)!important;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body > .nav-links.mobile-drawer-portal .mobile-drawer-logout{
    display:flex!important;
    width:100%!important;
    min-height:39px!important;
    align-items:center!important;
    justify-content:space-between!important;
    box-sizing:border-box!important;
    padding:9px 11px!important;
    color:#fff!important;
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:8px!important;
  }
  body > .nav-links.mobile-drawer-portal .mobile-drawer-logout::after{
    content:"↪";
    font-size:16px;
  }

  /* footer selalu di bawah viewport, namun tetap mengikuti isi halaman */
  .app-body > main.container{
    width:calc(100% - 16px)!important;
    margin:14px auto 18px!important;
  }
  .app-body > .footer{
    padding:12px 10px calc(12px + env(safe-area-inset-bottom))!important;
    min-height:44px!important;
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  /* dashboard/beranda: padat, bukan daftar vertikal panjang */
  .app-body .hero{
    margin-bottom:10px!important;
    gap:8px!important;
  }
  .app-body .hero h1{
    font-size:20px!important;
    margin-bottom:2px!important;
  }
  .app-body .hero p{
    font-size:11.5px!important;
    line-height:1.35!important;
  }
  .app-body .kicker{font-size:10px!important}
  .app-body .grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .app-body .stat{
    padding:10px!important;
    min-height:80px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    column-gap:8px!important;
    align-items:center!important;
  }
  .app-body .stat .label{
    grid-column:1!important;
    grid-row:1!important;
    font-size:9.5px!important;
    line-height:1.15!important;
  }
  .app-body .stat .value{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    margin:0!important;
    font-size:22px!important;
    line-height:1!important;
    text-align:right!important;
  }
  .app-body .stat .value[style]{font-size:16px!important}
  .app-body .stat .hint{
    grid-column:1!important;
    grid-row:2!important;
    margin-top:3px!important;
    font-size:9.5px!important;
    line-height:1.2!important;
  }
  .app-body .panel{
    padding:12px!important;
    margin-top:10px!important;
  }
  .app-body .panel h2{
    margin-bottom:7px!important;
    font-size:14px!important;
  }
  .app-body .panel p{
    margin-top:5px!important;
    margin-bottom:7px!important;
    font-size:11.5px!important;
    line-height:1.4!important;
  }
  .app-body .panel .badge{
    font-size:9.5px!important;
    padding:4px 6px!important;
  }
}

@media (max-width:420px){
  .app-body .grid{gap:6px!important}
  .app-body .stat{padding:8px!important;min-height:74px!important}
  .app-body .stat .value{font-size:20px!important}
  .brand-name-text{max-width:calc(100vw - 82px)!important;overflow:hidden!important;text-overflow:ellipsis!important}
}


/* =========================================================
   v1.2.2 - GLOBAL UI POLISH / CLEAN MODERN LOOK
   Visual-only refinement for a neater and more elegant UI.
   ========================================================= */
:root{
  --ui-shell-width:1240px;
  --ui-surface-strong:rgba(255,255,255,.94);
  --ui-surface-soft:rgba(255,255,255,.78);
  --ui-border:rgba(24,62,110,.10);
  --ui-shadow-lg:0 16px 40px rgba(10,34,71,.09);
  --ui-shadow-md:0 8px 24px rgba(10,34,71,.07);
  --ui-shadow-sm:0 3px 10px rgba(10,34,71,.05);
  --ui-radius-xl:18px;
  --ui-radius-lg:14px;
  --ui-radius-md:10px;
}

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 8% 0%,rgba(88,176,255,.15),transparent 26%),
    radial-gradient(circle at 100% 10%,rgba(11,99,206,.09),transparent 24%),
    linear-gradient(180deg,#f7faff 0%,#eef4fb 100%);
}
.app-body > main.container{position:relative;padding-bottom:18px}
.container{max-width:var(--ui-shell-width)}

/* refined content header */
.hero{
  position:relative;
  overflow:hidden;
  padding:18px 20px;
  margin-bottom:18px;
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius-xl);
  background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(248,251,255,.82));
  box-shadow:var(--ui-shadow-md);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.hero::after{
  content:"";
  position:absolute;
  right:-55px;
  top:-45px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(63,155,255,.16),rgba(63,155,255,0) 66%);
  pointer-events:none;
}
.hero h1{font-size:29px;font-weight:760;letter-spacing:-.03em;margin:0 0 4px;color:#10253e}
.hero p{max-width:850px;color:#667a92;line-height:1.58}
.kicker{font-size:11px;letter-spacing:.12em}

/* smoother card system */
.card,.panel,.brand-upload-card,.brand-live-preview,.auth-card,.table-wrap,.upload{
  border-radius:var(--ui-radius-xl)!important;
}
.card,.panel,.brand-upload-card,.brand-live-preview{
  background:linear-gradient(180deg,var(--ui-surface-strong),var(--ui-surface-soft))!important;
  border:1px solid var(--ui-border)!important;
  box-shadow:var(--ui-shadow-sm)!important;
}
.card:hover,.panel:hover,.brand-upload-card:hover{
  box-shadow:var(--ui-shadow-md)!important;
  border-color:rgba(11,99,206,.16)!important;
}
.panel{padding:22px!important}
.panel h2{
  display:flex;align-items:center;gap:9px;
  margin:0 0 15px;
  font-size:17px;
  letter-spacing:-.01em;
  color:#17304f;
}
.panel h2::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(180deg,#28a1ff,#0b63ce);
  box-shadow:0 0 0 4px rgba(11,99,206,.08);
  flex:none;
}
.stat{position:relative;overflow:hidden}
.stat::after{
  content:"";position:absolute;right:-22px;top:-22px;width:82px;height:82px;border-radius:50%;
  background:radial-gradient(circle,rgba(12,112,223,.10),rgba(12,112,223,0) 68%);pointer-events:none;
}
.stat .label{font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.stat .value{letter-spacing:-.03em}
.muted{color:#708198}

/* forms */
.form-group{margin-bottom:15px}
.form-label{font-size:12px;letter-spacing:.01em;color:#38506d}
.form-control{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .12s ease}
.form-control:hover{background:#fff;border-color:#b7c7d9}
textarea.form-control{min-height:112px;resize:vertical}
input[type="file"].form-control{padding-top:8px;padding-bottom:8px}
select.form-control{background-image:linear-gradient(45deg,transparent 50%,#6f8197 50%),linear-gradient(135deg,#6f8197 50%,transparent 50%);background-position:calc(100% - 17px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:34px}

/* buttons */
.btn{border-radius:11px;min-height:40px;padding:10px 15px;font-weight:700;letter-spacing:.01em}
.btn-sm{min-height:34px;border-radius:9px}
.btn-light{background:linear-gradient(180deg,#f9fbff,#eef4fb);color:#0b63ce;border:1px solid rgba(11,99,206,.12)}
.btn-danger{background:linear-gradient(180deg,#fff8f8,#fff0f0);border:1px solid #f1d1d1}

/* alerts */
.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;box-shadow:var(--ui-shadow-sm)}
.alert::before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;font-weight:800;flex:none;margin-top:1px}
.alert-error::before{background:#ffdfe0;color:#ac2c34}
.alert-success::before{content:"✓";background:#dbf4e5;color:#187644}

/* tables */
.table-wrap{
  overflow:auto;
  border:1px solid rgba(18,63,115,.09)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:var(--ui-shadow-sm)!important;
}
.table{background:transparent}
.table th,.table td{padding:12px 12px;border-bottom:1px solid #e8eef7}
.table thead th{
  position:sticky;top:0;z-index:1;
  background:linear-gradient(180deg,#f8fbff,#f2f7fd);
  color:#6f8197;
  font-size:11px;
}
.table tbody tr{transition:background .12s ease}
.table tbody tr:hover{background:#f7fbff}
.table td a:not(.btn){color:#0b63ce;font-weight:700}
.table td strong{color:#132945}

/* chips, badge, pills */
.badge{border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.badge.active{border-color:#c8ead8}
.badge.pending{border-color:#f3e2a3}
.badge.rejected{border-color:#f4c7c7}
.badge.suspended{border-color:#ddcffd}
.pill{border-radius:999px;padding:7px 10px}

/* helper surfaces */
.upload{
  background:linear-gradient(180deg,#fbfdff,#f7fbff)!important;
  border:1.5px dashed #bcd0ea!important;
}
.brand-live-title{background:linear-gradient(180deg,#f8fbff,#f3f7fd)!important}
.settings-tabs{padding:5px;border-radius:12px;background:linear-gradient(180deg,#f7fbff,#eef4fb)}
.settings-tabs a{border-radius:9px}
.settings-tabs a.active,.settings-tabs a:hover{box-shadow:var(--ui-shadow-sm)}

/* footer */
.footer{
  margin-top:20px;
  background:linear-gradient(115deg,#061a3a 0%,#08346d 52%,#0b63ce 100%);
  color:rgba(255,255,255,.82);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 -5px 24px rgba(7,26,55,.12);
}

/* login / auth */
.auth-shell{background:linear-gradient(180deg,#f6faff,#eef4fb)}
.auth-brand{position:relative;overflow:hidden}
.auth-brand::after{content:"";position:absolute;right:-90px;bottom:-80px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 66%)}
.auth-form{background:transparent}
.auth-card{
  padding:26px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(31,74,129,.10);
  box-shadow:var(--ui-shadow-lg);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}
.auth-card h2{font-weight:760;letter-spacing:-.03em;color:#10253e}

/* generic inline stacks used by modules */
hr{border:0;border-top:1px solid #e6edf6;margin:16px 0}
pre{white-space:pre-wrap;word-break:break-word}

/* responsive polish */
@media (max-width:1024px){
  .container{width:calc(100% - 20px)!important;margin-top:18px!important}
  .hero{padding:16px 16px 14px;border-radius:16px}
  .hero h1{font-size:24px}
  .panel{padding:18px!important}
  .table th,.table td{padding:11px 10px}
}
@media (max-width:760px){
  .hero{padding:14px 14px 12px;border-radius:15px;margin-bottom:12px}
  .hero h1{font-size:21px}
  .hero p{font-size:12px;line-height:1.5}
  .panel{padding:15px!important;border-radius:15px!important}
  .card,.panel,.brand-upload-card,.brand-live-preview,.auth-card,.table-wrap,.upload{border-radius:15px!important}
  .table th,.table td{font-size:12px}
}
@media (max-width:560px){
  .container{width:calc(100% - 14px)!important}
  .hero h1{font-size:19px}
  .hero p{max-width:none}
  .btn{width:auto}
  .footer{font-size:11px;line-height:1.45}
}


/* =========================================================
   v1.2.3 - STICKY FOOTER EVERY PAGE
   Footer stays at bottom on short pages without covering content.
   ========================================================= */
html,body{min-height:100%}
body.app-body{
  min-height:100vh!important;
  min-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
}
body.app-body > .navbar{flex:0 0 auto!important}
body.app-body > main.container{
  flex:1 0 auto!important;
  width:calc(100% - 28px);
}
body.app-body > .footer{
  flex:0 0 auto!important;
  width:100%!important;
  margin-top:auto!important;
}
/* Auth and standalone screens also keep their footer/page content anchored cleanly */
body:not(.app-body){min-height:100vh;min-height:100dvh}
@supports not (height:100dvh){
  body.app-body{min-height:100vh!important}
}
@media(max-width:1024px){
  body.app-body > main.container{width:calc(100% - 16px)!important}
}
@media(max-width:560px){
  body.app-body > main.container{width:calc(100% - 14px)!important}
}

/* =========================================================
   v1.2.4 - PUBLIC USER GUIDE + INTERACTIVE LOGIN
   ========================================================= */
.login-page{min-height:100vh;min-height:100dvh;background:#eef4fb;color:#172033}
.login-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr)}
.login-info{position:relative;overflow:hidden;padding:42px clamp(34px,6vw,88px);color:#fff;background:linear-gradient(145deg,#061a3a 0%,#08346d 46%,#0b63ce 100%)}
.login-info:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 18%,rgba(84,184,255,.25),transparent 28%),radial-gradient(circle at 12% 88%,rgba(255,255,255,.09),transparent 26%);pointer-events:none}
.login-info-inner{position:relative;z-index:1;min-height:calc(100vh - 84px);display:flex;flex-direction:column;max-width:760px;margin:auto}
.login-brand,.guide-brand{display:inline-flex;align-items:center;gap:10px;color:inherit;font-weight:800;letter-spacing:-.02em}
.login-brand-mark{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:11px;background:rgba(255,255,255,.96);color:#0b63ce;box-shadow:0 8px 22px rgba(0,0,0,.16);font-size:13px;font-weight:900}
.login-copy{margin:auto 0;padding:42px 0}
.login-eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#bcdcff;margin-bottom:16px}
.login-copy h1{font-size:clamp(38px,4.4vw,66px);line-height:1.02;letter-spacing:-.055em;max-width:760px;margin:0 0 20px}
.login-copy>p{max-width:670px;font-size:17px;line-height:1.7;color:rgba(255,255,255,.82);margin:0 0 30px}
.login-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.login-features>div{padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.075);backdrop-filter:blur(10px)}
.login-features span{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:8px;background:rgba(255,255,255,.12);font-size:10px;font-weight:800;color:#cfe6ff;margin-bottom:18px}
.login-features b{display:block;font-size:13px;margin-bottom:6px}
.login-features small{display:block;color:rgba(255,255,255,.68);line-height:1.5;font-size:11.5px}
.login-info-foot{display:flex;align-items:center;gap:9px;font-size:12px;color:rgba(255,255,255,.68)}
.login-info-foot a{color:#fff;font-weight:700}
.login-form-side{display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(circle at 80% 10%,rgba(50,145,244,.11),transparent 28%),linear-gradient(180deg,#f8fbff,#eef4fb)}
.login-form-wrap{width:100%;max-width:470px}
.login-mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:18px;color:#17304f}
.login-card{background:rgba(255,255,255,.92);border:1px solid rgba(26,66,112,.11);border-radius:22px;padding:30px;box-shadow:0 22px 60px rgba(9,37,75,.12);backdrop-filter:blur(18px)}
.login-card-head{display:flex;align-items:center;gap:7px;color:#58708c;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px}
.login-status-dot{width:8px;height:8px;border-radius:50%;background:#20a464;box-shadow:0 0 0 5px rgba(32,164,100,.09)}
.login-card h2{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin:0 0 7px;color:#112945}
.login-card>.muted{margin:0 0 22px;line-height:1.6}
.login-form .form-label{margin-bottom:7px}
.input-shell{position:relative}
.input-shell .form-control{padding-left:42px;padding-right:64px;min-height:47px;border-radius:12px}
.input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:2;color:#8292a6;font-size:12px;font-weight:800;pointer-events:none}
.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;border-radius:8px;background:#eef5ff;color:#0b63ce;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer}
.password-toggle:hover{background:#e1efff}
.login-submit{width:100%;display:flex;justify-content:space-between;min-height:47px;margin-top:6px}
.login-divider{display:flex;align-items:center;gap:10px;color:#91a0b2;font-size:11px;margin:20px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:#e2e9f2;flex:1}
.login-links{text-align:center}.login-links p{margin:0 0 9px;color:#718198;font-size:12px}.login-links a{color:#0b63ce;font-weight:800}.guide-link{font-size:12px}
.login-security{display:flex;align-items:center;justify-content:center;gap:8px;color:#7b8a9c;font-size:11px;line-height:1.5;margin-top:15px;padding:0 10px;text-align:center}

.guide-page{min-height:100vh;background:linear-gradient(180deg,#f8fbff 0,#eef4fb 100%);display:flex;flex-direction:column}
.guide-topbar{position:sticky;top:0;z-index:100;min-height:66px;padding:10px max(20px,calc((100vw - 1240px)/2));display:flex;align-items:center;gap:22px;background:rgba(7,42,86,.96);color:#fff;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 8px 26px rgba(6,31,66,.14);backdrop-filter:blur(15px)}
.guide-brand{white-space:nowrap}.guide-brand .login-brand-mark{width:34px;height:34px;border-radius:9px}
.guide-topbar nav{margin-left:auto;display:flex;align-items:center;gap:5px}.guide-topbar nav>a:not(.btn){padding:8px 10px;border-radius:9px;color:rgba(255,255,255,.83);font-size:12px;font-weight:650}.guide-topbar nav>a:not(.btn):hover{background:rgba(255,255,255,.10);color:#fff}
.guide-main{width:calc(100% - 28px);max-width:1240px;margin:28px auto 46px;flex:1}
.guide-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr);gap:20px;align-items:stretch;padding:clamp(25px,4vw,52px);border-radius:24px;color:#fff;background:linear-gradient(135deg,#061a3a 0%,#084184 56%,#0b63ce 100%);box-shadow:0 20px 55px rgba(8,45,89,.16);overflow:hidden;position:relative}
.guide-hero:after{content:"";position:absolute;right:-90px;top:-90px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(92,186,255,.27),transparent 65%)}
.guide-hero>div{position:relative;z-index:1}.guide-hero .kicker{color:#cbe5ff}.guide-hero h1{font-size:clamp(32px,4vw,56px);line-height:1.04;letter-spacing:-.05em;margin:10px 0 17px;max-width:780px}.guide-hero p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.8);max-width:740px}.guide-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.guide-hero .btn-light{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.18);color:#fff}.guide-hero-card{align-self:center;padding:20px!important;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:18px;backdrop-filter:blur(12px)}
.guide-mini-title{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#cbe5ff;font-weight:800;margin-bottom:10px}.guide-hero-card ol{margin:0;padding-left:21px}.guide-hero-card li{padding:7px 0;color:rgba(255,255,255,.91);font-size:13px}
.guide-section{padding:34px 0 6px;scroll-margin-top:82px}.guide-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:17px}.guide-section-head>span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:11px;background:#e6f2ff;color:#0b63ce;font-weight:900;font-size:11px;border:1px solid #d2e7ff}.guide-section-head h2{margin:0 0 4px;font-size:24px;letter-spacing:-.025em;color:#142d4c}.guide-section-head p{margin:0;color:#76879a;font-size:13px}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.guide-card,.guide-feature-list article,.guide-callout>div,.guide-faq details{background:rgba(255,255,255,.93);border:1px solid rgba(26,66,112,.10);border-radius:16px;box-shadow:0 5px 18px rgba(10,38,75,.05)}.guide-card{padding:20px}.guide-card b{display:block;color:#183453;font-size:14px;margin-bottom:7px}.guide-card p,.guide-feature-list p,.guide-callout p{margin:0;color:#6d7f94;line-height:1.65;font-size:12.5px}
.guide-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-feature-list article{display:grid;grid-template-columns:58px 1fr;gap:14px;padding:18px;align-items:start}.guide-num{height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(145deg,#eaf5ff,#f6faff);border:1px solid #d9eaff;color:#0b63ce;font-size:10px;font-weight:900}.guide-feature-list h3{margin:1px 0 6px;color:#183453;font-size:15px}
.guide-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center}.guide-flow>div{min-height:145px;padding:18px;border-radius:16px;background:#fff;border:1px solid rgba(26,66,112,.10);box-shadow:0 5px 18px rgba(10,38,75,.05)}.guide-flow>div>span{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:9px;background:#0b63ce;color:#fff;font-size:11px;font-weight:900;margin-bottom:15px}.guide-flow b{display:block;color:#183453;margin-bottom:6px}.guide-flow small{display:block;color:#74859a;line-height:1.55}.guide-flow>i{font-style:normal;color:#89a4c1;font-size:22px}
.guide-callout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-callout>div{padding:19px}.guide-callout b{display:block;margin-bottom:6px;color:#183453}
.guide-faq{display:grid;gap:9px}.guide-faq details{padding:0 17px}.guide-faq summary{cursor:pointer;list-style:none;padding:16px 28px 16px 0;color:#193553;font-weight:750;position:relative}.guide-faq summary::-webkit-details-marker{display:none}.guide-faq summary:after{content:"+";position:absolute;right:0;top:14px;width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#eef5ff;color:#0b63ce}.guide-faq details[open] summary:after{content:"−"}.guide-faq details p{margin:0;padding:0 0 16px;color:#6f8093;line-height:1.65;font-size:12.5px}
.guide-end{margin-top:38px;padding:24px 26px;border-radius:19px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#102d52,#0b63ce);color:#fff;box-shadow:0 15px 36px rgba(9,53,105,.13)}.guide-end h2{margin:0 0 5px;font-size:22px}.guide-end p{margin:0;color:rgba(255,255,255,.75);font-size:12.5px}.guide-end .btn{background:#fff;color:#0b63ce;border-color:rgba(255,255,255,.7);white-space:nowrap}
.guide-footer{margin-top:auto;padding:17px;text-align:center;background:linear-gradient(115deg,#061a3a,#083b7b);color:rgba(255,255,255,.68);font-size:11px}

@media(max-width:980px){
 .login-shell{grid-template-columns:1fr}.login-info{display:none}.login-form-side{min-height:100vh;min-height:100dvh;padding:24px}.login-mobile-brand{display:flex}.login-card{padding:25px}
 .guide-hero{grid-template-columns:1fr}.guide-hero-card{max-width:none}.guide-flow{grid-template-columns:1fr 1fr}.guide-flow>i{display:none}.guide-grid,.guide-callout{grid-template-columns:1fr 1fr}.guide-topbar nav>a:not(.btn){display:none}
}
@media(max-width:650px){
 .login-form-side{padding:16px}.login-card{padding:21px;border-radius:18px}.login-card h2{font-size:26px}.login-security{font-size:10.5px}
 .guide-main{width:calc(100% - 16px);margin-top:14px}.guide-topbar{padding:9px 10px;min-height:58px}.guide-topbar nav .btn{padding:7px 9px;font-size:11px}.guide-brand>span:last-child{display:none}.guide-hero{padding:24px 19px;border-radius:19px}.guide-hero h1{font-size:31px}.guide-grid,.guide-feature-list,.guide-callout,.guide-flow{grid-template-columns:1fr}.guide-feature-list article{grid-template-columns:48px 1fr}.guide-num{height:43px}.guide-section{padding-top:27px}.guide-section-head h2{font-size:20px}.guide-end{align-items:flex-start;flex-direction:column;padding:21px}.guide-end .btn{width:100%}
}
