/* ============================================================
   EVERNEX CARRIER PORTAL — shared styles
   Black (#0e0e10) + Gold (#c9a227) · mobile-first · dark default
   ============================================================ */
:root{
  --bg:#0e0e10;
  --bg-soft:#141416;
  --surface:#1a1a1e;
  --surface-2:#202026;
  --border:#2a2a2e;
  --gold:#c9a227;
  --gold-light:#e8c547;
  --gold-dim:rgba(201,162,39,.14);
  --text:#ffffff;
  --muted:#a0a0a0;
  --muted-2:#6e6e74;
  --green:#25D366;
  --red:#e5484d;
  --amber:#f5a623;
  --blue:#4f9cf0;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 8px 28px rgba(0,0,0,.45);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  line-height:1.5;
}
a{color:var(--gold);text-decoration:none}
img{max-width:100%}

/* ---------- App frame ---------- */
.app{max-width:480px;margin:0 auto;min-height:100vh;position:relative;background:var(--bg);padding-bottom:84px}
.app.auth-page{padding-bottom:0;display:flex;flex-direction:column;justify-content:center;min-height:100vh}

/* ---------- Auth pages ---------- */
.auth-wrap{padding:28px 22px;width:100%}
.auth-brand{text-align:center;margin-bottom:28px}
.auth-brand .logo{font-size:30px;font-weight:800;letter-spacing:5px}
.auth-brand .logo span{color:var(--gold)}
.auth-brand .sub{font-size:11px;letter-spacing:4px;color:var(--muted);margin-top:4px}
.auth-card{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:26px 22px;box-shadow:var(--shadow)}
.auth-card h1{font-size:22px;margin-bottom:6px}
.auth-card p.lead{color:var(--muted);font-size:14px;margin-bottom:20px}
.auth-alt{text-align:center;margin-top:18px;font-size:14px;color:var(--muted)}
.divider{display:flex;align-items:center;gap:12px;color:var(--muted-2);font-size:12px;margin:18px 0}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--border)}
.gsi-wrap{display:flex;justify-content:center;margin:4px 0}

/* ---------- Forms ---------- */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px;letter-spacing:.3px}
.field input,.field select,.field textarea{
  width:100%;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-sm);color:var(--text);
  padding:13px 14px;font-size:16px;font-family:var(--font);outline:none;
  transition:border-color .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold)}
.field textarea{resize:vertical;min-height:90px}
.field .hint{font-size:12px;color:var(--muted-2);margin-top:5px}
.field-row{display:flex;gap:10px}
.field-row .field{flex:1}

.btn{
  display:block;width:100%;border:none;cursor:pointer;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#0e0e10;font-weight:700;font-size:16px;letter-spacing:.5px;
  padding:15px;border-radius:var(--radius-sm);text-align:center;
  transition:transform .1s,opacity .15s;font-family:var(--font);
}
.btn:active{transform:scale(.98)}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn-outline{background:transparent;border:1px solid var(--gold);color:var(--gold)}
.btn-danger{background:transparent;border:1px solid var(--red);color:var(--red)}
.btn-sm{padding:10px 14px;font-size:14px;width:auto;display:inline-block}
.btn-block{margin-top:6px}
.link-row{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:14px}

/* ---------- Top bar ---------- */
.topbar{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;background:rgba(14,14,16,.96);
  border-bottom:1px solid var(--border);backdrop-filter:blur(8px);
}
.topbar .brand{font-weight:800;letter-spacing:3px;font-size:17px}
.topbar .brand span{color:var(--gold)}
.topbar .user-chip{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.topbar .avatar{
  width:34px;height:34px;border-radius:50%;background:var(--gold-dim);
  border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;
  font-weight:700;color:var(--gold);font-size:15px;
}
.icon-btn{background:none;border:none;color:var(--muted);font-size:20px;cursor:pointer;padding:6px}

/* ---------- Bottom nav ---------- */
.bottomnav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:480px;z-index:50;
  display:flex;background:rgba(20,20,22,.98);border-top:1px solid var(--border);
  padding:8px 4px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(8px);
}
.bottomnav button{
  flex:1;background:none;border:none;color:var(--muted-2);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  font-size:11px;font-family:var(--font);padding:6px 2px;
}
.bottomnav button .ico{font-size:21px;line-height:1}
.bottomnav button.active{color:var(--gold)}

/* ---------- Views / sections ---------- */
.view{display:none;padding:16px 14px 24px;animation:fadeIn .2s ease}
.view.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.section-title{font-size:18px;font-weight:700;margin:4px 2px 12px;display:flex;align-items:center;justify-content:space-between}
.section-title .count{font-size:12px;color:var(--muted);font-weight:400}

/* ---------- Cards ---------- */
.card{
  background:var(--bg-soft);border:1px solid var(--border);
  border-radius:var(--radius);padding:16px;margin-bottom:12px;
}
.card.gold-border{border-color:var(--gold)}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.stat{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:14px}
.stat .label{font-size:12px;color:var(--muted);margin-bottom:4px}
.stat .value{font-size:22px;font-weight:800;color:var(--gold)}
.stat .sub{font-size:12px;color:var(--muted-2);margin-top:2px}

/* ---------- Load / invoice cards ---------- */
.route{font-size:16px;font-weight:700;margin-bottom:6px}
.route .arrow{color:var(--gold);margin:0 6px}
.meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);margin:8px 0}
.meta span{background:var(--surface);padding:4px 10px;border-radius:20px;border:1px solid var(--border)}
.rate{font-size:20px;font-weight:800;color:var(--gold)}
.badge{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  padding:4px 10px;border-radius:20px;
}
.badge.active{background:rgba(37,211,102,.14);color:var(--green);border:1px solid var(--green)}
.badge.pending{background:rgba(245,166,35,.14);color:var(--amber);border:1px solid var(--amber)}
.badge.completed{background:rgba(79,156,240,.14);color:var(--blue);border:1px solid var(--blue)}
.badge.paid{background:rgba(37,211,102,.14);color:var(--green);border:1px solid var(--green)}
.badge.overdue{background:rgba(229,72,77,.14);color:var(--red);border:1px solid var(--red)}
.badge.expiring{background:rgba(245,166,35,.14);color:var(--amber);border:1px solid var(--amber)}
.badge.ok{background:rgba(37,211,102,.14);color:var(--green);border:1px solid var(--green)}
.card-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}

/* ---------- Quick actions ---------- */
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 18px}
.qa{
  background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);
  padding:16px 10px;text-align:center;cursor:pointer;color:var(--text);
  font-family:var(--font);font-size:13px;font-weight:600;transition:border-color .15s;
}
.qa:active{border-color:var(--gold)}
.qa .ico{font-size:26px;display:block;margin-bottom:8px}
.qa.wa{border-color:var(--green)}
.qa small{display:block;color:var(--muted-2);font-weight:400;margin-top:4px;font-size:11px}

/* ---------- Lists ---------- */
.list-item{
  display:flex;align-items:center;gap:12px;
  background:var(--bg-soft);border:1px solid var(--border);
  border-radius:var(--radius-sm);padding:13px 14px;margin-bottom:8px;
}
.list-item .grow{flex:1;min-width:0}
.list-item .title{font-weight:600;font-size:14px}
.list-item .sub{font-size:12px;color:var(--muted);margin-top:2px}
.list-item .right{text-align:right;font-size:13px}
.chev{color:var(--muted-2);font-size:18px}

/* ---------- Settings rows / toggles ---------- */
.setting-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 2px;border-bottom:1px solid var(--border);
}
.setting-row:last-child{border-bottom:none}
.setting-row .t{font-weight:600;font-size:14px}
.setting-row .d{font-size:12px;color:var(--muted);margin-top:2px}
.switch{position:relative;width:50px;height:28px;flex-shrink:0;cursor:pointer}
.switch input{opacity:0;width:0;height:0}
.switch .track{
  position:absolute;inset:0;background:var(--surface-2);border:1px solid var(--border);
  border-radius:20px;transition:.2s;
}
.switch .track::after{
  content:"";position:absolute;top:3px;left:4px;width:20px;height:20px;border-radius:50%;
  background:var(--muted);transition:.2s;
}
.switch input:checked + .track{background:var(--gold-dim);border-color:var(--gold)}
.switch input:checked + .track::after{left:24px;background:var(--gold)}

/* ---------- Modal ---------- */
.modal-back{
  position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:100;
  display:none;align-items:flex-end;justify-content:center;
}
.modal-back.open{display:flex}
.modal{
  width:100%;max-width:480px;max-height:88vh;overflow-y:auto;
  background:var(--bg-soft);border-radius:18px 18px 0 0;border-top:1px solid var(--border);
  padding:20px 18px calc(20px + env(safe-area-inset-bottom));
  animation:slideUp .22s ease;
}
@keyframes slideUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.modal h3{font-size:18px;margin-bottom:4px}
.modal .m-sub{font-size:13px;color:var(--muted);margin-bottom:16px}
.modal .m-actions{display:flex;gap:10px;margin-top:16px}
.modal .m-actions .btn{margin-top:0}
.modal-close{float:right}

/* ---------- Star rating ---------- */
.stars{display:flex;gap:6px;margin:10px 0;font-size:34px;cursor:pointer}
.stars span{color:var(--muted-2);transition:color .1s}
.stars span.lit{color:var(--gold)}

/* ---------- Toast ---------- */
#toasts{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:200;width:min(440px,92vw)}
.toast{
  background:var(--surface-2);border:1px solid var(--border);border-left:4px solid var(--gold);
  border-radius:var(--radius-sm);padding:12px 16px;margin-bottom:8px;font-size:14px;
  box-shadow:var(--shadow);animation:slideUp .2s ease;
}
.toast.error{border-left-color:var(--red)}
.toast.success{border-left-color:var(--green)}

/* ---------- Tour overlay ---------- */
#tour{position:fixed;inset:0;z-index:300;display:none;background:rgba(0,0,0,.82)}
#tour.open{display:flex;align-items:center;justify-content:center;padding:24px}
.tour-card{
  background:var(--bg-soft);border:1px solid var(--gold);border-radius:var(--radius);
  padding:28px 24px;max-width:400px;text-align:center;box-shadow:var(--shadow);
}
.tour-card .t-ico{font-size:44px;margin-bottom:12px}
.tour-card h2{font-size:20px;margin-bottom:8px}
.tour-card p{color:var(--muted);font-size:14px;margin-bottom:20px}
.tour-dots{display:flex;gap:6px;justify-content:center;margin-bottom:18px}
.tour-dots i{width:8px;height:8px;border-radius:50%;background:var(--border)}
.tour-dots i.on{background:var(--gold)}
.tour-btns{display:flex;gap:10px}
.tour-btns .btn{margin-top:0}

/* ---------- Misc ---------- */
.empty{text-align:center;padding:36px 20px;color:var(--muted)}
.empty .ico{font-size:40px;margin-bottom:10px}
.empty p{font-size:14px}
.spinner{
  width:34px;height:34px;border:3px solid var(--border);border-top-color:var(--gold);
  border-radius:50%;margin:30px auto;animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.copy-box{
  display:flex;align-items:center;gap:8px;background:var(--surface);
  border:1px dashed var(--gold);border-radius:var(--radius-sm);
  padding:12px 14px;font-size:14px;margin:10px 0;word-break:break-all;
}
.copy-box button{flex-shrink:0}
.ceo-photo{width:100%;border-radius:var(--radius);border:1px solid var(--border);margin-bottom:12px}
.vision{font-style:italic;color:#d8d8d8;line-height:1.7;font-size:14px;border-left:3px solid var(--gold);padding-left:14px;margin:12px 0}
.news-item{padding:12px 0;border-bottom:1px solid var(--border)}
.news-item:last-child{border-bottom:none}
.news-item .n-t{font-weight:600;font-size:14px;margin-bottom:4px}
.news-item .n-m{font-size:12px;color:var(--muted-2)}
.announce{background:var(--gold-dim);border:1px solid var(--gold);border-radius:var(--radius-sm);padding:12px 14px;margin-bottom:10px;font-size:14px}
.announce .a-d{font-size:12px;color:var(--muted);margin-top:6px}
.kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border);font-size:14px}
.kv:last-child{border-bottom:none}
.kv .k{color:var(--muted)}
.kv .v{font-weight:600;text-align:right}
.hidden{display:none!important}
.mt{margin-top:14px}

/* Desktop: center + slight widen */
@media(min-width:520px){
  body{background:#08080a}
  .app{border-left:1px solid var(--border);border-right:1px solid var(--border)}
}

/* ---------- Brand logo (rounded, not boring) ---------- */
.brand-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 22px; }
.brand-logo img {
  width: 76px; height: 76px; object-fit: cover; border-radius: 22px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 24px rgba(201,162,39,.35), 0 2px 8px rgba(0,0,0,.5);
}
.brand-logo .logo-text { font-size: 26px; font-weight: 800; letter-spacing: 3px; margin-top: 12px; color: #fff; }
.brand-logo .logo-text span { color: var(--gold); }
.brand-logo .logo-sub { font-size: 11px; letter-spacing: 5px; color: var(--muted); margin-top: 4px; }

/* ---------- Desktop: true responsive app ---------- */
@media (min-width: 768px) {
  .app { max-width: 100%; padding-left: 32px; padding-right: 32px; }
  .app.auth-page { max-width: 520px; }
  .auth-wrap { max-width: 460px; margin: 0 auto; }
  .bottom-nav {
    max-width: 100%; left: 0; right: 0; transform: none;
    display: flex; justify-content: center; gap: 8px;
  }
  .bottom-nav .nav-item { flex: 0 1 120px; }
  .sheet { max-width: 640px; left: 50%; transform: translateX(-50%); }
  .page-head { padding: 20px 0 16px; }
  main { max-width: 1200px; margin: 0 auto; width: 100%; }
  /* Home: 2-column on desktop */
  #view-home .stat-grid { grid-template-columns: 1fr 1fr; max-width: 700px; }
  #view-home .qa-grid { grid-template-columns: repeat(4, 1fr); }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}
@media (min-width: 1200px) {
  main { max-width: 1400px; }
  .app { padding-left: 48px; padding-right: 48px; }
}

/* ---------- Premium professional polish ---------- */
:root {
  --gold-bright: #e8c547;
  --card-bg: linear-gradient(145deg, #17171b 0%, #101013 100%);
}
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px 14px;
}
.page-head .brand { font-size: 20px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.stat-card {
  background: var(--card-bg); border: 1px solid #26262c; border-radius: 16px;
  padding: 18px 16px; position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  opacity: .9;
}
.stat-card .s-label { font-size: 12px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.stat-card .s-value { font-size: 28px; font-weight: 800; color: #fff; margin-top: 6px; }
.stat-card .s-value.gold { color: var(--gold-bright); }
.welcome-card {
  background: linear-gradient(135deg, #1a1a20 0%, #121215 60%, #1c1a12 100%);
  border: 1px solid #2e2a1c; border-radius: 18px; padding: 22px 20px; margin: 6px 0 4px;
  position: relative; overflow: hidden;
}
.welcome-card::after {
  content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
  pointer-events: none;
}
.welcome-card h2 { font-size: 22px; margin: 0 0 4px; color: #fff; }
.welcome-card p { color: var(--muted); font-size: 14px; margin: 0; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.qa-card {
  background: var(--card-bg); border: 1px solid #26262c; border-radius: 16px;
  padding: 20px 14px; text-align: center; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.qa-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(201,162,39,.15); }
.qa-card:active { transform: translateY(0); }
.qa-card .qa-icon { font-size: 30px; margin-bottom: 10px; }
.qa-card .qa-title { font-size: 14px; font-weight: 700; color: #fff; }
.qa-card .qa-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.qa-card.sos { border-color: #5c2b2b; }
.qa-card.sos:hover { border-color: #e05c5c; box-shadow: 0 8px 24px rgba(224,92,92,.15); }
.section-title {
  font-size: 17px; font-weight: 800; color: #fff; margin: 22px 0 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title .s-tag { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .5px; }
.announce, .news-item {
  background: var(--card-bg); border: 1px solid #26262c; border-radius: 14px;
  padding: 16px; margin-bottom: 10px;
}
.announce { border-left: 3px solid var(--gold); }
.empty {
  text-align: center; padding: 28px 16px; color: var(--muted); font-size: 14px;
  background: rgba(255,255,255,.02); border: 1px dashed #2c2c32; border-radius: 14px;
}
.bottom-nav {
  background: rgba(14,14,16,.96); backdrop-filter: blur(12px);
  border-top: 1px solid #26262c; padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
}
.nav-item { font-size: 11px; color: var(--muted); }
.nav-item.active { color: var(--gold-bright); }
.spinner {
  width: 28px; height: 28px; margin: 18px auto;
  border: 3px solid #2c2c32; border-top-color: var(--gold); border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Premium centered auth (forgot/reset) ---------- */
.auth-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #0e0e10; position: relative; overflow: hidden; }
.auth-center::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.1) 0%, transparent 50%); pointer-events: none; }
.auth-center-card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: linear-gradient(145deg,#17171b,#101013); border: 1px solid #2a2a30; border-radius: 20px; padding: 36px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.auth-center-card h1 { font-size: 26px; color: #fff; margin: 0 0 8px; }
.auth-center-card .lead { color: #888; font-size: 14px; margin: 0 0 24px; line-height: 1.6; }
.auth-msg { display: none; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.auth-msg.error { display: block; background: rgba(224,92,92,.1); border: 1px solid rgba(224,92,92,.4); color: #ff9a9a; }
.auth-msg.success { display: block; background: rgba(92,224,138,.08); border: 1px solid rgba(92,224,138,.3); color: #7de2a8; }
.auth-msg.info { display: block; background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.3); color: #e8c547; }

/* ============ 100x PREMIUM DASHBOARD ============ */
/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,12,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,162,39,.15);
}
.topbar .brand { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.topbar .brand span { color: var(--gold); }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8c547);
  color: #0e0e10; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(201,162,39,.35);
}
.user-chip #userName { font-size: 14px; font-weight: 600; color: #e0e0e0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid #2c2c32;
  background: rgba(255,255,255,.03); color: #a0a0a0; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(120deg, #1c1a10 0%, #141316 45%, #0e0e10 100%);
  border: 1px solid rgba(201,162,39,.25); border-radius: 22px;
  padding: 28px 26px; margin: 16px 0 20px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,162,39,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '🚛'; position: absolute; bottom: 12px; right: 20px; font-size: 64px; opacity: .08; pointer-events: none;
}
.hero .h-kicker { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 700; }
.hero h2 { font-size: 30px; font-weight: 800; color: #fff; margin: 0 0 6px; line-height: 1.15; }
.hero .h-sub { color: #a0a0a0; font-size: 14px; margin: 0; }
.hero .h-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.h-badge {
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px;
  background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.35); color: #e8c547;
}

/* Metric cards */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 8px; }
.metric {
  background: linear-gradient(150deg, #191920 0%, #111114 100%);
  border: 1px solid #2a2a31; border-radius: 18px; padding: 20px 18px;
  position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.metric:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.metric::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }
.metric .m-icon { font-size: 26px; margin-bottom: 12px; }
.metric .m-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: #888; font-weight: 600; }
.metric .m-value { font-size: 32px; font-weight: 800; color: #fff; margin-top: 4px; line-height: 1; }
.metric .m-value.gold { background: linear-gradient(135deg, #e8c547, #c9a227); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric .m-sub { font-size: 12px; color: #666; margin-top: 6px; }

/* Section headers */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 14px; }
.sec-head h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0; display: flex; align-items: center; gap: 10px; }
.sec-head h3 .s-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.25); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.sec-head .s-link { font-size: 13px; color: var(--gold); font-weight: 600; cursor: pointer; }

/* Action tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile {
  background: linear-gradient(150deg, #191920 0%, #111114 100%);
  border: 1px solid #2a2a31; border-radius: 18px; padding: 22px 16px;
  text-align: center; cursor: pointer; transition: all .18s ease; text-decoration: none; color: inherit;
  display: block;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(201,162,39,.5); box-shadow: 0 12px 32px rgba(201,162,39,.12); }
.tile:active { transform: translateY(0); }
.tile .t-ico { font-size: 34px; margin-bottom: 12px; display: block; }
.tile .t-name { font-size: 14px; font-weight: 700; color: #fff; }
.tile .t-desc { font-size: 12px; color: #777; margin-top: 4px; }
.tile.alert-tile { border-color: rgba(224,92,92,.3); }
.tile.alert-tile:hover { border-color: #e05c5c; box-shadow: 0 12px 32px rgba(224,92,92,.12); }

/* Feed cards */
.feed-card {
  background: linear-gradient(150deg, #191920 0%, #121215 100%);
  border: 1px solid #2a2a31; border-radius: 16px; padding: 18px; margin-bottom: 12px;
  transition: border-color .15s;
}
.feed-card:hover { border-color: #3a3a42; }
.feed-card.announce { border-left: 3px solid var(--gold); }
.feed-card .f-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.feed-card .f-body { font-size: 13px; color: #a0a0a0; line-height: 1.6; }
.feed-card .f-meta { font-size: 12px; color: #666; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.feed-card .f-link { color: var(--gold); text-decoration: none; font-weight: 600; }
.feed-card .f-link:hover { text-decoration: underline; }

/* Bottom nav premium */
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(12,12,14,.96); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,162,39,.15);
  display: flex; padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
.bottomnav button {
  flex: 1; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 12px; transition: all .15s;
  color: #777; font-size: 11px; font-weight: 600;
}
.bottomnav button .n-ico { font-size: 22px; }
.bottomnav button.active { color: #e8c547; }
.bottomnav button.active .n-ico { filter: drop-shadow(0 2px 8px rgba(201,162,39,.5)); }

/* Desktop: 4 metrics in a row, 4 tiles in a row */
@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .hero h2 { font-size: 36px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}
.req{color:#e05c5c;font-weight:700;margin-left:2px}

/* ============ ENTERPRISE PROFESSIONAL (1000x) ============ */
/* SVG icon system */
.svg-ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-ico.lg { width: 32px; height: 32px; }
.svg-ico.sm { width: 18px; height: 18px; }

/* Desktop sidebar layout */
@media (min-width: 900px) {
  .app { display: flex; max-width: 100%; padding: 0; }
  .topbar { display: none; }
  .sidebar {
    width: 260px; min-height: 100vh; position: sticky; top: 0;
    background: #0c0c0e; border-right: 1px solid #222228;
    display: flex; flex-direction: column; padding: 24px 16px;
    flex-shrink: 0;
  }
  .sidebar .s-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; border-bottom: 1px solid #1e1e24; margin-bottom: 20px; }
  .sidebar .s-brand img { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--gold); object-fit: cover; }
  .sidebar .s-brand .t { font-size: 17px; font-weight: 800; letter-spacing: .5px; color: #fff; }
  .sidebar .s-brand .t span { color: var(--gold); }
  .s-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
  .s-nav button {
    display: flex; align-items: center; gap: 14px; width: 100%;
    background: none; border: none; cursor: pointer; text-align: left;
    padding: 13px 14px; border-radius: 12px; color: #8a8a92;
    font-size: 14px; font-weight: 600; transition: all .15s;
  }
  .s-nav button:hover { background: rgba(255,255,255,.04); color: #fff; }
  .s-nav button.active { background: rgba(201,162,39,.12); color: #e8c547; }
  .s-nav button .svg-ico { width: 20px; height: 20px; }
  .s-user { border-top: 1px solid #1e1e24; padding-top: 16px; margin-top: 16px; display: flex; align-items: center; gap: 12px; }
  .s-user .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),#e8c547); color: #0e0e10; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .s-user .u-info { flex: 1; min-width: 0; }
  .s-user .u-name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .s-user .u-role { font-size: 11px; color: #666; }
  .main-content { flex: 1; min-width: 0; padding: 32px 40px; max-width: 1200px; }
  .bottomnav { display: none !important; }
}
@media (max-width: 899px) {
  .sidebar { display: none; }
}

/* CEO / Leadership card — professional */
.leadership-card {
  background: linear-gradient(135deg, #15151a 0%, #0f0f12 100%);
  border: 1px solid rgba(201,162,39,.25); border-radius: 20px;
  padding: 28px; display: flex; gap: 24px; align-items: flex-start;
}
.leadership-card .ceo-photo {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); box-shadow: 0 8px 32px rgba(201,162,39,.25);
  flex-shrink: 0; margin: 0;
}
.leadership-card .ceo-info { flex: 1; min-width: 0; }
.leadership-card .ceo-name { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.leadership-card .ceo-title { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: .5px; margin-bottom: 14px; }
.leadership-card .ceo-quote { font-size: 15px; font-style: italic; color: #c0c0c0; line-height: 1.7; border-left: 3px solid var(--gold); padding-left: 16px; margin: 0; }
@media (max-width: 600px) {
  .leadership-card { flex-direction: column; align-items: center; text-align: center; }
  .leadership-card .ceo-quote { border-left: none; border-top: 3px solid var(--gold); padding-left: 0; padding-top: 14px; }
}

/* Metric cards — no emoji, SVG icons */
.metric .m-icon-svg { color: var(--gold); margin-bottom: 12px; display: block; }
.metric .m-icon-svg .svg-ico { width: 28px; height: 28px; }

/* Tiles — no emoji */
.tile .t-ico-svg { color: var(--gold); margin-bottom: 12px; display: block; }
.tile .t-ico-svg .svg-ico { width: 36px; height: 36px; }
.tile.alert-tile .t-ico-svg { color: #e05c5c; }

/* Section headers — no emoji */
.sec-head h3 .s-ico-svg { color: var(--gold); display: inline-flex; }

/* ============ EVERNEX ENTERPRISE DESIGN SYSTEM ============ */
:root {
  --bg: #0a0a0c;
  --bg-elev: #111114;
  --bg-card: #141417;
  --border: #232329;
  --border-subtle: #1b1b21;
  --text: #f0f0f2;
  --text-2: #a1a1aa;
  --text-3: #63636b;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-dim: rgba(201,162,39,.1);
  --green: #34d399;
  --red: #f87171;
  --blue: #60a5fa;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body { font-family: var(--font); background: var(--bg); color: var(--text); }

/* KPI cards — enterprise style */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.metric {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: border-color .2s;
}
.metric:hover { border-color: #33333c; }
.metric .m-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.metric .m-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); }
.metric .m-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-dim); display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
}
.metric .m-value { font-size: 30px; font-weight: 700; letter-spacing: -.5px; color: #fff; line-height: 1; }
.metric .m-value.gold { color: var(--gold-bright); }
.metric .m-sub { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.metric .m-trend { font-size: 12px; font-weight: 600; margin-top: 8px; }
.metric .m-trend.up { color: var(--green); }
.metric .m-trend.down { color: var(--red); }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .metrics { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Hero — refined enterprise */
.hero {
  background: linear-gradient(135deg, #121216 0%, #0c0c0e 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; margin: 0 0 8px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.06));
  pointer-events: none;
}
.hero::after { display: none; }
.hero .h-kicker { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; margin-bottom: 10px; }
.hero h2 { font-size: 32px; font-weight: 700; letter-spacing: -.5px; color: #fff; margin: 0 0 8px; }
.hero .h-sub { color: var(--text-2); font-size: 15px; margin: 0; }
.hero .h-badges { display: flex; gap: 10px; margin-top: 20px; }
.h-badge {
  font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 8px;
  background: var(--gold-dim); border: 1px solid rgba(201,162,39,.2); color: var(--gold-bright);
  letter-spacing: .3px;
}

/* Section headers — clean */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.sec-head h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0; letter-spacing: -.2px; }
.sec-head .s-link { font-size: 13px; color: var(--gold-bright); font-weight: 600; cursor: pointer; }
.sec-head .s-link:hover { text-decoration: underline; }

/* Action tiles — enterprise */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  cursor: pointer; transition: all .2s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.tile:hover { border-color: rgba(201,162,39,.4); transform: translateY(-2px); }
.tile .t-icon-box {
  width: 44px; height: 44px; border-radius: 10px; background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); margin-bottom: 16px;
}
.tile .t-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tile .t-desc { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.tile.alert-tile .t-icon-box { background: rgba(248,113,113,.1); color: var(--red); }
.tile.alert-tile:hover { border-color: rgba(248,113,113,.4); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Feed cards — clean */
.feed-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 12px;
}
.feed-card .f-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.feed-card .f-body { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.feed-card .f-meta { font-size: 12px; color: var(--text-3); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.feed-card .f-link { color: var(--gold-bright); text-decoration: none; font-weight: 600; }
.feed-card.announce { border-left: 3px solid var(--gold); }

/* Sidebar — refined */
@media (min-width: 900px) {
  .sidebar { width: 264px; background: #0c0c0e; border-right: 1px solid var(--border-subtle); }
  .s-nav button { border-radius: 10px; font-size: 14px; }
  .s-nav button.active { background: var(--gold-dim); color: var(--gold-bright); }
  .main-content { padding: 36px 44px; }
}

/* Tables — enterprise */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .6px; color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); color: var(--text-2); }
.data-table tr:hover td { background: rgba(255,255,255,.02); }
.data-table tr:last-child td { border-bottom: none; }

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.green { background: rgba(52,211,153,.1); color: var(--green); }
.pill.gold { background: var(--gold-dim); color: var(--gold-bright); }
.pill.red { background: rgba(248,113,113,.1); color: var(--red); }
.pill.blue { background: rgba(96,165,250,.1); color: var(--blue); }
.pill.gray { background: rgba(255,255,255,.06); color: var(--text-2); }

/* ============ PROFESSIONAL REFINEMENT ============ */
/* Remove decorative gradients, use solid professional colors */
.hero {
  background: #111114;
  border: 1px solid #232329;
}
.hero::before { display: none; }

.metric {
  background: #141417;
  border: 1px solid #232329;
}
.metric::before { display: none; }
.metric:hover { transform: none; box-shadow: none; border-color: #2e2e36; }

.tile {
  background: #141417;
  border: 1px solid #232329;
}
.tile:hover { transform: none; box-shadow: none; border-color: rgba(201,162,39,.35); }

.feed-card {
  background: #141417;
  border: 1px solid #232329;
}
.feed-card:hover { border-color: #2e2e36; }

/* Buttons — professional */
.btn {
  border-radius: 8px; font-weight: 600; letter-spacing: .2px;
  transition: all .15s;
}
.btn-gold, .btn:not(.btn-outline):not(.btn-danger) {
  background: #c9a227; color: #0e0e10;
}
.btn-gold:hover, .btn:not(.btn-outline):not(.btn-danger):hover {
  background: #d4af37;
}
.btn-outline {
  border: 1px solid #3a3a42; color: #e0e0e0; background: transparent;
}
.btn-outline:hover { border-color: #c9a227; color: #c9a227; }

/* Cards — clean */
.card {
  background: #141417; border: 1px solid #232329; border-radius: 12px;
}

/* Typography — professional */
h1, h2, h3 { letter-spacing: -.3px; }
.section-title, .sec-head h3 { font-size: 17px; font-weight: 700; }

/* Sidebar — professional */
@media (min-width: 900px) {
  .sidebar { background: #0d0d0f; }
  .s-nav button { font-weight: 500; }
  .s-nav button.active { background: rgba(201,162,39,.08); }
}

/* Remove all emoji-style decorations */
.t-ico, .m-icon, .s-ico { display: none !important; }

/* ============ PREMIUM HERO ============ */
.hero-premium {
  background: linear-gradient(120deg, #16161a 0%, #0e0e11 60%, #12100a 100%);
  border: 1px solid #26262e; border-radius: 20px;
  padding: 28px 32px; margin: 0 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.hero-premium::after {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 300px; height: 180%; transform: rotate(15deg);
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.05));
  pointer-events: none;
}
.hp-date { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #71717a; margin-bottom: 8px; }
.hp-title { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: #fff; margin: 0 0 6px; }
.hp-title #greetTime { color: #a1a1aa; font-weight: 600; }
.hp-sub { color: #71717a; font-size: 14px; margin: 0; }
.hp-right { display: flex; align-items: center; gap: 28px; }
.hp-stat { text-align: right; }
.hp-stat-val { font-size: 32px; font-weight: 800; letter-spacing: -.5px; color: #fff; line-height: 1; }
.hp-stat-val.gold { color: #e8c547; }
.hp-stat-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #71717a; margin-top: 6px; font-weight: 600; }
.hp-badges { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
@media (max-width: 700px) {
  .hero-premium { padding: 22px; }
  .hp-title { font-size: 22px; }
  .hp-right { width: 100%; justify-content: space-between; }
  .hp-stat { text-align: left; }
}

/* ============ LUXURY REDESIGN ============ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* Hero — luxury */
.hero-premium {
  background:
    radial-gradient(ellipse 80% 120% at 90% 10%, rgba(201,162,39,.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 100% at 10% 90%, rgba(201,162,39,.06) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1e 0%, #0e0e11 50%, #141109 100%);
  border: 1px solid rgba(201,162,39,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.hp-title {
  font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #e8c547 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-title #greetTime { -webkit-text-fill-color: #a1a1aa; }

/* Metric cards — luxury */
.metric {
  background:
    linear-gradient(160deg, rgba(201,162,39,.06) 0%, transparent 40%),
    #151518;
  border: 1px solid rgba(201,162,39,.15);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  position: relative; overflow: hidden;
}
.metric::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #c9a227, transparent);
  opacity: .6;
}
.metric:hover { border-color: rgba(201,162,39,.35); box-shadow: 0 12px 40px rgba(201,162,39,.08); }
.metric .m-value {
  font-family: 'Playfair Display', serif; font-size: 36px;
}
.metric .m-icon-wrap {
  background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(201,162,39,.05));
  border: 1px solid rgba(201,162,39,.2);
}

/* Tiles — luxury */
.tile {
  background:
    linear-gradient(160deg, rgba(201,162,39,.04) 0%, transparent 50%),
    #151518;
  border: 1px solid rgba(201,162,39,.12);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.tile:hover {
  border-color: rgba(201,162,39,.4);
  box-shadow: 0 16px 48px rgba(201,162,39,.12);
  transform: translateY(-4px);
}
.tile .t-icon-box {
  background: linear-gradient(135deg, rgba(201,162,39,.25), rgba(201,162,39,.08));
  border: 1px solid rgba(201,162,39,.25);
  box-shadow: 0 4px 16px rgba(201,162,39,.15);
}

/* Section titles — luxury */
.sec-head h3 {
  font-family: 'Playfair Display', serif; font-size: 20px;
}

/* Sidebar — luxury */
@media (min-width: 900px) {
  .sidebar {
    background: linear-gradient(180deg, #0e0e11 0%, #0a0a0c 100%);
    border-right: 1px solid rgba(201,162,39,.1);
  }
  .s-nav button.active {
    background: linear-gradient(90deg, rgba(201,162,39,.15), rgba(201,162,39,.05));
    border: 1px solid rgba(201,162,39,.2);
  }
}

/* ============ MORE PAGE GRID ============ */
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.more-grid .card { margin: 0; }
.more-grid .card .t { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #232329; }
@media (max-width: 700px) { .more-grid { grid-template-columns: 1fr; } }

/* ============ WOW DASHBOARD ============ */
/* Animated background */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(201,162,39,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 100%, rgba(201,162,39,.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  animation: bgShift 20s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { opacity: .6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.app { position: relative; z-index: 1; }

/* Floating orbs */
.orb { position: fixed; border-radius: 50%; filter: blur(80px); opacity: .15; pointer-events: none; z-index: 0; animation: float 15s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: #c9a227; top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: #e8c547; bottom: -50px; left: 20%; animation-delay: -7s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* Notification bar */
.notif-bar {
  background: linear-gradient(90deg, rgba(201,162,39,.15), rgba(201,162,39,.05));
  border: 1px solid rgba(201,162,39,.25); border-radius: 12px;
  padding: 14px 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  animation: slideIn .5s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.notif-bar .n-icon { font-size: 22px; }
.notif-bar .n-text { flex: 1; font-size: 14px; }
.notif-bar .n-text strong { color: #e8c547; }

/* Weather widget */
.weather-card {
  background: linear-gradient(135deg, #1a2a4a 0%, #0e0e11 60%);
  border: 1px solid rgba(96,165,250,.2); border-radius: 16px;
  padding: 20px; position: relative; overflow: hidden;
}
.weather-card::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,.2), transparent 70%);
}
.weather-temp { font-size: 42px; font-weight: 800; color: #fff; }
.weather-desc { color: #93c5fd; font-size: 14px; margin-top: 4px; }
.weather-loc { color: #64748b; font-size: 12px; margin-top: 8px; }

/* Earnings chart */
.chart-card { background: #151518; border: 1px solid rgba(201,162,39,.15); border-radius: 16px; padding: 24px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; }
.chart-bar {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #e8c547, rgba(201,162,39,.3));
  min-height: 8px; transition: all .3s; cursor: pointer;
}
.chart-bar:hover { background: linear-gradient(180deg, #fff, #e8c547); }
.chart-labels { display: flex; gap: 8px; margin-top: 8px; }
.chart-labels span { flex: 1; text-align: center; font-size: 10px; color: #71717a; }

@media (max-width: 800px){ .wow-grid{ grid-template-columns: 1fr !important; } }

/* ============ CRAZY ANIMATIONS ============ */
/* Shimmer effect on cards */
.metric, .tile, .chart-card, .weather-card {
  position: relative; overflow: hidden;
}
.metric::before, .tile::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
  animation: shimmer 4s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Pulsing gold border on hero */
.hero-premium {
  animation: heroGlow 3s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(201,162,39,.05); }
  100% { box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 60px rgba(201,162,39,.12); }
}

/* Floating animation for icons */
.m-icon-wrap, .t-icon-box {
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Number count-up animation */
.m-value, .hp-stat-val {
  animation: countUp .8s ease-out;
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered card entrance */
.metrics .metric:nth-child(1) { animation: cardIn .5s ease backwards; }
.metrics .metric:nth-child(2) { animation: cardIn .5s .1s ease backwards; }
.metrics .metric:nth-child(3) { animation: cardIn .5s .2s ease backwards; }
.metrics .metric:nth-child(4) { animation: cardIn .5s .3s ease backwards; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tiles stagger */
.tiles .tile:nth-child(1) { animation: cardIn .5s .1s ease backwards; }
.tiles .tile:nth-child(2) { animation: cardIn .5s .2s ease backwards; }
.tiles .tile:nth-child(3) { animation: cardIn .5s .3s ease backwards; }
.tiles .tile:nth-child(4) { animation: cardIn .5s .4s ease backwards; }

/* Rainbow shimmer on gold text */
.hp-stat-val.gold, .metric .m-value.gold {
  background: linear-gradient(135deg, #e8c547, #fff, #e8c547);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: goldShimmer 3s ease infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ CEO VIBE — EXECUTIVE SUITE ============ */
:root {
  --exec-black: #08080a;
  --exec-char: #101014;
  --exec-card: #141419;
  --exec-gold: #c9a227;
  --exec-gold-lt: #e8c547;
  --exec-border: #232329;
}

body { background: var(--exec-black); }

/* Executive hero — commanding */
.hero-premium {
  background:
    linear-gradient(135deg, rgba(201,162,39,.08) 0%, transparent 40%),
    linear-gradient(180deg, #15151a 0%, #0c0c0e 100%);
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 24px; padding: 36px 40px;
}
.hp-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px; font-weight: 800; letter-spacing: -.5px;
  color: #fff;
}
.hp-title #greetTime {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--exec-gold);
  margin-bottom: 10px;
  -webkit-text-fill-color: var(--exec-gold);
}
.hp-sub {
  font-size: 15px; color: #8a8a92; margin-top: 8px;
  font-style: italic;
}

/* Executive stats */
.hp-stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
}

/* Cards — executive */
.metric, .tile, .card, .chart-card, .feed-card {
  background: linear-gradient(165deg, #16161b 0%, #111114 100%);
  border: 1px solid #26262e;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.metric .m-label, .tile .t-desc {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #63636b; font-weight: 600;
}
.metric .m-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px; color: #fff;
}

/* Sidebar — executive */
@media (min-width: 900px) {
  .sidebar {
    background: linear-gradient(180deg, #0d0d10 0%, #08080a 100%);
    border-right: 1px solid rgba(201,162,39,.12);
  }
  .s-brand .t {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px; letter-spacing: 1px;
  }
  .s-nav button {
    font-size: 14px; font-weight: 500; letter-spacing: .3px;
    padding: 14px 16px;
  }
  .s-nav button.active {
    background: linear-gradient(90deg, rgba(201,162,39,.18), rgba(201,162,39,.05));
    border-left: 3px solid var(--exec-gold);
    border-radius: 0 12px 12px 0;
  }
}

/* Section headers — executive */
.sec-head h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; color: #fff;
}
.sec-head {
  border-bottom: 1px solid rgba(201,162,39,.15);
  padding-bottom: 14px;
}

/* Buttons — executive */
.btn {
  font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  font-size: 13px; border-radius: 10px; padding: 14px 28px;
}

/* ============ IMAGE HERO ============ */
.hero-image {
  position: relative; border-radius: 24px; overflow: hidden;
  margin: 0 0 24px; min-height: 280px;
  border: 1px solid rgba(201,162,39,.25);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(100deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.65) 50%, rgba(8,8,10,.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 40px; flex-wrap: wrap;
  min-height: 280px;
}
.hero-content .hp-title { font-size: 42px; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.hero-content .hp-date { color: #e8c547; }
.hero-content .hp-sub { color: #d0d0d0; font-size: 16px; }
.hp-stat-card {
  background: rgba(10,10,12,.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 20px 28px; text-align: center; min-width: 140px;
}
.hp-stat-card.gold {
  background: linear-gradient(135deg, rgba(201,162,39,.25), rgba(201,162,39,.08));
  border-color: rgba(201,162,39,.4);
}
.hp-stat-card .hp-stat-val { font-size: 36px; }
@media (max-width: 700px) {
  .hero-content { padding: 28px 24px; }
  .hero-content .hp-title { font-size: 28px; }
}

/* FORCE: hide sidebar on mobile */
@media (max-width: 899px) {
  .sidebar { display: none !important; visibility: hidden !important; width: 0 !important; }
  .app { max-width: 100% !important; }
}

/* ============ PAGE POLISH — creative professional ============ */
/* View headers with gradient accent */
.view .sec-head, .view > h2.section-title {
  position: relative; padding-left: 16px;
}
.view .sec-head::before, .view > h2.section-title::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, #e8c547, #c9a227);
}

/* Load cards — more visual */
.load-card {
  border-left: 3px solid #c9a227 !important;
  transition: transform .2s, box-shadow .2s;
}
.load-card:hover { transform: translateX(4px); }

/* Empty states — more inviting */
.empty {
  padding: 48px 24px !important; text-align: center;
  background: linear-gradient(165deg, rgba(201,162,39,.04), transparent) !important;
  border: 1px dashed rgba(201,162,39,.25) !important;
  border-radius: 16px !important;
}
.empty p { font-size: 15px; color: #888; }
.empty::before {
  content: '📦'; font-size: 40px; display: block; margin-bottom: 16px; opacity: .5;
}

/* Money view — premium numbers */
#view-money .metric .m-value { font-size: 48px; }

/* Cards in More view — hover lift */
.more-grid .card { transition: transform .25s, border-color .25s, box-shadow .25s; }
.more-grid .card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,.35);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

/* FIXED bottom nav — centered, fits all items */
.bottomnav {
  position: fixed !important; bottom: 0 !important;
  left: 50% !important; right: auto !important;
  transform: translateX(-50%) !important;
  width: 100% !important; max-width: 480px !important;
  display: flex !important; justify-content: space-around !important;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom)) !important;
  margin: 0 auto !important;
}
.bottomnav button {
  flex: 1 1 0 !important; min-width: 0 !important;
  font-size: 10px !important;
}
@media (min-width: 900px) {
  .bottomnav { display: none !important; }
}

/* ============ LIVE THEMES ============ */
/* Theme: Midnight Gold (default) */
body[data-theme="midnight"] {
  --theme-bg1: #0a0a0c; --theme-bg2: #121216;
  --theme-accent: #c9a227; --theme-glow: rgba(201,162,39,.15);
}
/* Theme: Ocean */
body[data-theme="ocean"] {
  --theme-accent: #38bdf8; --theme-glow: rgba(56,189,248,.12);
}
/* Theme: Emerald */
body[data-theme="emerald"] {
  --theme-accent: #34d399; --theme-glow: rgba(52,211,153,.12);
}
/* Theme: Sunset */
body[data-theme="sunset"] {
  --theme-accent: #fb923c; --theme-glow: rgba(251,146,60,.12);
}

/* Animated live background */
.live-bg {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.live-bg .wave {
  position: absolute; width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: radial-gradient(ellipse 40% 30% at 30% 40%, var(--theme-glow, rgba(201,162,39,.1)) 0%, transparent 70%),
              radial-gradient(ellipse 35% 25% at 70% 60%, var(--theme-glow, rgba(201,162,39,.08)) 0%, transparent 70%);
  animation: waveMove 25s ease-in-out infinite alternate;
}
@keyframes waveMove {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(5%, -3%) rotate(5deg) scale(1.05); }
  100% { transform: translate(-5%, 3%) rotate(-5deg) scale(1); }
}

/* Floating particles */
.particle {
  position: absolute; border-radius: 50%;
  background: var(--theme-accent, #c9a227);
  opacity: .15; animation: floatUp 12s linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(1); opacity: 0; }
  10% { opacity: .2; }
  90% { opacity: .1; }
  100% { transform: translateY(-10vh) scale(.5); opacity: 0; }
}

/* Theme switcher */
.theme-switcher {
  display: flex; gap: 10px; padding: 16px;
  background: #151518; border-radius: 14px; margin-bottom: 16px;
  align-items: center;
}
.theme-dot {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; transition: all .2s;
}
.theme-dot.active { border-color: #fff; transform: scale(1.15); }
.theme-dot[data-t="midnight"] { background: linear-gradient(135deg, #c9a227, #0a0a0c); }
.theme-dot[data-t="ocean"] { background: linear-gradient(135deg, #38bdf8, #0c1a2a); }
.theme-dot[data-t="emerald"] { background: linear-gradient(135deg, #34d399, #0a1a12); }
.theme-dot[data-t="sunset"] { background: linear-gradient(135deg, #fb923c, #1a0e0a); }

/* ============ POPUPS ============ */
.popup-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.75); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.popup-overlay.show { opacity: 1; pointer-events: all; }
.popup-card {
  background: linear-gradient(165deg, #1a1a1f, #121215);
  border: 1px solid rgba(201,162,39,.3); border-radius: 24px;
  padding: 40px 36px; max-width: 420px; width: 100%;
  text-align: center; transform: scale(.9) translateY(20px);
  transition: transform .3s; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.popup-overlay.show .popup-card { transform: scale(1) translateY(0); }
.popup-card .p-icon { font-size: 56px; margin-bottom: 20px; }
.popup-card h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 0 0 12px; }
.popup-card p { color: #999; font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.popup-card .p-img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }

/* Picture banners */
.pic-banner {
  position: relative; border-radius: 18px; overflow: hidden;
  height: 140px; margin-bottom: 20px;
  border: 1px solid rgba(201,162,39,.2);
}
.pic-banner img { width: 100%; height: 100%; object-fit: cover; }
.pic-banner .pb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,10,.85), rgba(8,8,10,.3));
  display: flex; align-items: center; padding: 0 28px;
}
.pic-banner .pb-text h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin: 0 0 6px; color: #fff; }
.pic-banner .pb-text p { font-size: 13px; color: #c9a227; margin: 0; font-weight: 600; }
