/* =========================================================
   V32 - FIX SEMUA DASHBOARD AKUN, NAV MENU TERSTRUKTUR
   Fokus: Superadmin, Guru, Siswa, Petugas Role, Konsumen,
   Email Simulasi. File ini hanya mengunci UI/UX, tidak
   mengubah logika database/transaksi.
   ========================================================= */
:root{
  --v32-bg:#eef7ff;
  --v32-card:#ffffff;
  --v32-ink:#08213f;
  --v32-muted:#5f738d;
  --v32-line:#d8e8f7;
  --v32-blue:#1677ff;
  --v32-blue2:#0b63ce;
  --v32-green:#10b981;
  --v32-shadow:0 22px 60px rgba(8,33,63,.10);
  --v32-soft-shadow:0 12px 34px rgba(8,33,63,.075);
  --v32-radius:26px;
}
*{box-sizing:border-box!important}
html{scroll-behavior:smooth;background:var(--v32-bg)!important}
body.app-body{margin:0!important;background:linear-gradient(135deg,#eaf5ff 0%,#f7fbff 45%,#edfdf9 100%)!important;color:var(--v32-ink)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}
body.app-body a{text-decoration:none}
body.app-body .app-shell:not(.public-shell){display:grid!important;grid-template-columns:304px minmax(0,1fr)!important;align-items:start!important;min-height:100vh!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.app-body .main:not(.public-main){width:100%!important;min-width:0!important;max-width:none!important;padding:26px 28px 0!important;overflow-x:hidden!important;display:block!important}
body.app-body .main:not(.public-main)>*:not(.app-footer-pro):not(style):not(script){width:100%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important}
body.app-body .main:not(.public-main)>section,
body.app-body .main:not(.public-main)>div.alert{margin-bottom:22px!important}

/* ===== Topbar semua dashboard ===== */
body.app-body .topbar.commercial-topbar{position:sticky!important;top:14px!important;z-index:50!important;min-height:86px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 auto 26px!important;padding:18px 22px!important;border-radius:26px!important;background:rgba(255,255,255,.94)!important;border:1px solid var(--v32-line)!important;box-shadow:var(--v32-soft-shadow)!important;backdrop-filter:blur(16px)!important}
body.app-body .topbar-brand{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;flex:1 1 auto!important}
body.app-body .topbar-brand img{width:52px!important;height:52px!important;border-radius:16px!important;object-fit:cover!important;box-shadow:0 14px 28px rgba(22,119,255,.18)!important}
body.app-body .topbar-brand h1{margin:0!important;color:var(--v32-ink)!important;font-size:clamp(20px,2vw,28px)!important;line-height:1.12!important;font-weight:1000!important;letter-spacing:-.035em!important;white-space:normal!important}
body.app-body .topbar-brand p{margin:4px 0 0!important;color:var(--v32-muted)!important;font-size:13px!important;line-height:1.35!important;font-weight:800!important;max-width:850px!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.app-body .user-pill{flex:0 0 auto!important;min-width:190px!important;max-width:260px!important;display:grid!important;place-items:center!important;text-align:center!important;gap:4px!important;padding:12px 16px!important;border-radius:18px!important;background:linear-gradient(135deg,#f7fbff,#eaf5ff)!important;border:1px solid #cfe3f8!important;color:var(--v32-ink)!important;box-shadow:0 12px 28px rgba(8,33,63,.06)!important}
body.app-body .user-pill b{font-size:13px!important;font-weight:1000!important;line-height:1.2!important;overflow-wrap:anywhere!important;text-transform:capitalize!important}
body.app-body .user-pill span{font-size:12px!important;font-weight:950!important;color:#0b63ce!important;line-height:1.25!important;text-transform:uppercase!important;overflow-wrap:anywhere!important}

/* ===== Sidebar / Nav menu semua role ===== */
body.app-body aside.sidebar{position:sticky!important;top:0!important;align-self:start!important;width:304px!important;min-width:304px!important;max-width:304px!important;height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px 14px 22px!important;background:linear-gradient(180deg,#06264a 0%,#082f57 44%,#06223f 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:18px 0 50px rgba(4,18,38,.18)!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.24) transparent!important;z-index:80!important}
body.app-body aside.sidebar::-webkit-scrollbar{width:8px!important}
body.app-body aside.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22)!important;border-radius:999px!important}
body.app-body .app-sidebar-brand{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;margin:0 0 18px!important;padding:12px!important;border-radius:22px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
body.app-body .app-sidebar-brand img{width:54px!important;height:54px!important;border-radius:16px!important;object-fit:cover!important;box-shadow:0 14px 28px rgba(0,0,0,.18)!important}
body.app-body .app-sidebar-brand b{display:block!important;color:#fff!important;font-size:18px!important;line-height:1.05!important;font-weight:1000!important;letter-spacing:-.02em!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.app-body .app-sidebar-brand span{display:block!important;margin-top:5px!important;color:rgba(255,255,255,.70)!important;font-size:11.5px!important;line-height:1.35!important;font-weight:800!important;max-height:34px!important;overflow:hidden!important}
body.app-body .structured-side-nav{display:grid!important;gap:14px!important;padding:0!important;margin:0!important}
body.app-body .menu-group{display:grid!important;gap:7px!important;padding:10px 8px!important;margin:0!important;border-radius:22px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.06)!important}
body.app-body .menu-title{display:flex!important;align-items:center!important;gap:7px!important;min-height:28px!important;padding:3px 8px!important;color:#a8dcff!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-size:10.5px!important;font-weight:1000!important;line-height:1.2!important}
body.app-body .menu-title:before{content:"";width:7px;height:7px;border-radius:999px;background:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.12)}
body.app-body .side-nav a{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:1px!important;align-items:center!important;min-height:58px!important;padding:10px!important;border-radius:16px!important;color:rgba(255,255,255,.88)!important;background:transparent!important;border:1px solid transparent!important;text-decoration:none!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important;min-width:0!important}
body.app-body .side-nav a:hover{transform:translateY(-1px)!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important}
body.app-body .side-nav a.active{background:linear-gradient(135deg,rgba(22,119,255,.42),rgba(14,165,233,.20))!important;border-color:rgba(125,211,252,.45)!important;box-shadow:inset 4px 0 0 #38bdf8,0 14px 28px rgba(0,0,0,.12)!important;color:#fff!important}
body.app-body .side-nav a>span{grid-row:1/3!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background:rgba(255,255,255,.105)!important;font-size:20px!important;line-height:1!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}
body.app-body .side-nav a b{display:block!important;color:inherit!important;font-size:13.5px!important;font-weight:1000!important;line-height:1.18!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.app-body .side-nav a small{display:block!important;color:rgba(255,255,255,.64)!important;font-size:10.8px!important;font-weight:750!important;line-height:1.25!important;margin-top:2px!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.app-body .menu-logout a{background:rgba(239,68,68,.13)!important;border-color:rgba(248,113,113,.18)!important;color:#fff!important}

/* ===== Banner halaman internal ===== */
body.app-body .page-banner{position:relative!important;overflow:hidden!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;min-height:170px!important;margin-bottom:24px!important;padding:26px 30px!important;border-radius:30px!important;background:linear-gradient(135deg,#0b74f0 0%,#0b63ce 55%,#06b6d4 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 22px 58px rgba(11,99,206,.18)!important}
body.app-body .page-banner h2{margin:6px 0 8px!important;font-size:clamp(28px,3vw,44px)!important;line-height:1.06!important;font-weight:1000!important;letter-spacing:-.04em!important;color:#fff!important}
body.app-body .page-banner p{margin:0!important;max-width:880px!important;color:rgba(255,255,255,.92)!important;font-weight:750!important;line-height:1.6!important}
body.app-body .banner-plane{font-size:76px!important;opacity:.24!important;filter:drop-shadow(0 16px 22px rgba(0,0,0,.15))!important}

/* ===== Dashboard Superadmin / Guru ===== */
body.app-body .superadmin-control-hero,
body.app-body .teacher-lab-hero,
body.app-body .buyer-hero,
body.app-body .ota-flight-hero,
body.app-body .buyer-order-hero,
body.app-body .checkin-hero,
body.app-body .mail-hero,
body.app-body .webmail-hero{position:relative!important;overflow:hidden!important;border-radius:30px!important;padding:30px!important;background:linear-gradient(135deg,#0b63ce 0%,#1677ff 54%,#08b8cc 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:0 26px 70px rgba(11,99,206,.18)!important}
body.app-body .superadmin-control-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 230px!important;gap:24px!important;align-items:center!important}
body.app-body .superadmin-control-hero .eyebrow,
body.app-body .eyebrow.light{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.28)!important;color:#e0f7ff!important;font-size:11.5px!important;font-weight:1000!important;letter-spacing:.07em!important;text-transform:uppercase!important;line-height:1.2!important}
body.app-body .superadmin-control-hero h2{margin:12px 0 10px!important;color:#fff!important;font-size:clamp(30px,3.2vw,48px)!important;line-height:1.02!important;font-weight:1000!important;letter-spacing:-.055em!important}
body.app-body .superadmin-control-hero p{margin:0!important;max-width:900px!important;color:rgba(255,255,255,.92)!important;line-height:1.65!important;font-weight:760!important;font-size:15.5px!important}
body.app-body .pro-hero-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:16px!important}
body.app-body .pro-hero-pills span{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:7px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.20)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important}
body.app-body .control-user-card{display:grid!important;gap:6px!important;align-content:center!important;justify-items:center!important;min-height:150px!important;padding:18px!important;border-radius:24px!important;background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.26)!important;text-align:center!important;backdrop-filter:blur(10px)!important;color:#fff!important}
body.app-body .control-user-card small{font-size:12px!important;font-weight:900!important;color:rgba(255,255,255,.75)!important;text-transform:uppercase!important;letter-spacing:.06em!important}
body.app-body .control-user-card strong{font-size:22px!important;font-weight:1000!important;color:#fff!important;line-height:1.1!important;overflow-wrap:anywhere!important}
body.app-body .control-user-card span{font-size:12.5px!important;font-weight:850!important;color:rgba(255,255,255,.86)!important}
body.app-body .control-stat-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;margin:0 auto 22px!important}
body.app-body .control-stat-grid article{display:grid!important;gap:9px!important;min-height:128px!important;align-content:start!important;padding:18px!important;border-radius:22px!important;background:var(--v32-card)!important;border:1px solid var(--v32-line)!important;box-shadow:var(--v32-soft-shadow)!important;overflow:hidden!important}
body.app-body .control-stat-grid article small{display:block!important;color:#667d98!important;font-size:11.5px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.045em!important;line-height:1.25!important}
body.app-body .control-stat-grid article strong{display:block!important;color:var(--v32-ink)!important;font-size:32px!important;font-weight:1000!important;line-height:1!important;letter-spacing:-.035em!important}
body.app-body .control-stat-grid article span{display:inline-flex!important;width:max-content!important;max-width:100%!important;padding:6px 10px!important;border-radius:999px!important;background:#ecfdf5!important;color:#047857!important;font-size:11.5px!important;font-weight:950!important;line-height:1.2!important}
body.app-body .control-grid{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)!important;gap:18px!important;margin-bottom:22px!important}
body.app-body .control-panel,
body.app-body .card,
body.app-body .panel,
body.app-body .box,
body.app-body .dashboard-card,
body.app-body .buyer-card,
body.app-body .ota-panel,
body.app-body .history-card,
body.app-body .ticket-card{background:var(--v32-card)!important;border:1px solid var(--v32-line)!important;border-radius:26px!important;box-shadow:var(--v32-soft-shadow)!important;padding:22px!important;color:var(--v32-ink)!important;min-width:0!important;overflow:hidden!important}
body.app-body .control-panel h3,
body.app-body .card h3,
body.app-body .panel h3{margin:0 0 14px!important;color:var(--v32-ink)!important;font-size:20px!important;font-weight:1000!important;letter-spacing:-.025em!important;line-height:1.2!important}
body.app-body .control-title{display:flex!important;gap:14px!important;align-items:flex-start!important;margin-bottom:18px!important}
body.app-body .control-title>span{flex:0 0 52px!important;width:52px!important;height:52px!important;border-radius:18px!important;display:grid!important;place-items:center!important;background:#eaf5ff!important;font-size:25px!important;color:#0b63ce!important}
body.app-body .control-title h3{margin:0 0 6px!important}
body.app-body .control-title p{margin:0!important;color:var(--v32-muted)!important;line-height:1.55!important;font-weight:760!important}
body.app-body .practice-roadmap{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.app-body .practice-roadmap>div{display:grid!important;gap:6px!important;min-height:116px!important;padding:16px!important;border-radius:20px!important;background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;border:1px solid #d8e8f7!important}
body.app-body .practice-roadmap b{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#1677ff!important;color:#fff!important;font-size:16px!important;font-weight:1000!important;line-height:1!important}
body.app-body .practice-roadmap span{color:var(--v32-ink)!important;font-weight:1000!important;line-height:1.2!important}
body.app-body .practice-roadmap small{color:var(--v32-muted)!important;font-weight:800!important;line-height:1.3!important}
body.app-body .pro-action-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.app-body .pro-action-list a{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:2px!important;align-items:center!important;min-height:82px!important;padding:14px!important;border-radius:18px!important;background:#f8fbff!important;border:1px solid #d8e8f7!important;color:var(--v32-ink)!important;text-decoration:none!important;transition:.16s ease!important;overflow:hidden!important}
body.app-body .pro-action-list a:hover{transform:translateY(-2px)!important;background:#fff!important;box-shadow:0 16px 34px rgba(8,33,63,.10)!important;border-color:#bfe4ff!important}
body.app-body .pro-action-list a span{grid-row:1/3!important;width:42px!important;height:42px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#eaf5ff!important;font-size:20px!important;line-height:1!important}
body.app-body .pro-action-list a b{font-size:14px!important;font-weight:1000!important;color:var(--v32-ink)!important;line-height:1.18!important;overflow-wrap:anywhere!important}
body.app-body .pro-action-list a small{font-size:11.5px!important;font-weight:780!important;color:var(--v32-muted)!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.app-body .pro-product-grid,
body.app-body .media-practice-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:22px!important}
body.app-body .pro-product-grid article,
body.app-body .media-practice-grid article{display:grid!important;gap:9px!important;padding:20px!important;border-radius:24px!important;background:var(--v32-card)!important;border:1px solid var(--v32-line)!important;box-shadow:var(--v32-soft-shadow)!important;min-height:170px!important;color:var(--v32-ink)!important;overflow:hidden!important}
body.app-body .pro-product-grid article>span,
body.app-body .media-practice-grid article>span{width:50px!important;height:50px!important;display:grid!important;place-items:center!important;border-radius:17px!important;background:#eaf5ff!important;font-size:24px!important}
body.app-body .pro-product-grid h3,
body.app-body .media-practice-grid h3{margin:0!important;font-size:17px!important;font-weight:1000!important;color:var(--v32-ink)!important;line-height:1.2!important}
body.app-body .pro-product-grid p,
body.app-body .media-practice-grid p{margin:0!important;color:var(--v32-muted)!important;line-height:1.55!important;font-weight:720!important}

/* ===== Form, table, button universal ===== */
body.app-body form{min-width:0!important}
body.app-body input,
body.app-body select,
body.app-body textarea{max-width:100%!important;min-height:46px!important;border:1px solid #cfe1f3!important;border-radius:15px!important;background:#fff!important;padding:11px 13px!important;color:var(--v32-ink)!important;font:inherit!important;font-weight:760!important;outline:none!important;box-shadow:none!important}
body.app-body textarea{min-height:112px!important;resize:vertical!important}
body.app-body input:focus,
body.app-body select:focus,
body.app-body textarea:focus{border-color:var(--v32-blue)!important;box-shadow:0 0 0 4px rgba(22,119,255,.11)!important}
body.app-body label{color:#203b5a!important;font-weight:950!important;line-height:1.25!important}
body.app-body .form-grid,
body.app-body .grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start!important}
body.app-body .form-grid .full,
body.app-body .grid-form .full{grid-column:1/-1!important}
body.app-body button,
body.app-body .btn,
body.app-body .button,
body.app-body .buyer-btn,
body.app-body input[type="submit"]{min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 16px!important;border-radius:15px!important;border:0!important;background:linear-gradient(135deg,#2196ff,#0b75ef)!important;color:#fff!important;font-weight:1000!important;text-decoration:none!important;cursor:pointer!important;line-height:1.2!important;box-shadow:0 14px 28px rgba(22,119,255,.16)!important;white-space:normal!important;text-align:center!important}
body.app-body .btn.secondary,
body.app-body .button.secondary,
body.app-body .buyer-btn.light{background:#fff!important;color:#0b63ce!important;border:1px solid #cfe3f8!important;box-shadow:0 10px 24px rgba(8,33,63,.07)!important}
body.app-body table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border-radius:18px!important;overflow:hidden!important;color:var(--v32-ink)!important}
body.app-body th{background:#f1f8ff!important;color:#21415f!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.035em!important;font-weight:1000!important;padding:13px!important;text-align:left!important;border-bottom:1px solid #d8e8f7!important;white-space:nowrap!important}
body.app-body td{padding:13px!important;border-bottom:1px solid #edf4fb!important;vertical-align:top!important;color:#233a56!important;font-weight:720!important;line-height:1.4!important}
body.app-body tr:last-child td{border-bottom:0!important}
body.app-body .table-responsive,
body.app-body .table-wrap{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:20px!important;border:1px solid #d8e8f7!important;background:#fff!important;box-shadow:var(--v32-soft-shadow)!important}
body.app-body .table-responsive table,
body.app-body .table-wrap table{min-width:760px!important;border-radius:0!important;box-shadow:none!important;border:0!important}
body.app-body .alert{width:100%!important;max-width:1400px!important;margin:0 auto 22px!important;padding:14px 16px!important;border-radius:18px!important;font-weight:900!important;line-height:1.5!important;border:1px solid #bae6fd!important;background:#eff6ff!important;color:#0b63ce!important}
body.app-body .alert.success{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#047857!important}
body.app-body .alert.danger,
body.app-body .alert.error{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}

/* ===== Buyer/Konsumen: dashboard fokus pembelian ===== */
body.app-body .buyer-page,
body.app-body .buyer-wrap,
body.app-body .buyer-order-page,
body.app-body .ota-search-page,
body.app-body .ota-checkin-pro{width:100%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important}
body.app-body .buyer-grid,
body.app-body .buyer-card-grid,
body.app-body .product-grid,
body.app-body .ota-flight-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
body.app-body .buyer-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:22px 0 14px!important;flex-wrap:wrap!important}
body.app-body .buyer-section-head h2{margin:0!important;color:var(--v32-ink)!important;font-size:24px!important;font-weight:1000!important;letter-spacing:-.035em!important}
body.app-body .buyer-section-head span{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:7px 12px!important;border-radius:999px!important;background:#eaf5ff!important;color:#0b63ce!important;font-size:12px!important;font-weight:1000!important}

/* ===== Webmail agar tidak mengacau dashboard lain ===== */
body.app-body .webmail-shell,
body.app-body .mailbox-shell{width:100%!important;max-width:1400px!important;margin:0 auto!important;display:grid!important;grid-template-columns:280px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
body.app-body .webmail-sidebar,
body.app-body .mailbox-sidebar{background:#fff!important;border:1px solid #d8e8f7!important;border-radius:26px!important;box-shadow:var(--v32-soft-shadow)!important;padding:16px!important;position:sticky!important;top:120px!important}
body.app-body .webmail-content,
body.app-body .mailbox-content{min-width:0!important;background:#fff!important;border:1px solid #d8e8f7!important;border-radius:26px!important;box-shadow:var(--v32-soft-shadow)!important;padding:18px!important;overflow:hidden!important}

/* ===== Utilities supaya text tidak dempet/hancur ===== */
body.app-body h1,body.app-body h2,body.app-body h3,body.app-body h4{overflow-wrap:anywhere!important}
body.app-body p,body.app-body li,body.app-body small,body.app-body span,body.app-body b,strong{overflow-wrap:anywhere!important}
body.app-body img{max-width:100%!important;height:auto}
body.app-body .nowrap{white-space:nowrap!important}
body.app-body .muted{color:var(--v32-muted)!important}
body.app-body .mobile-menu-btn{display:none!important}

/* ===== Responsive ===== */
@media(max-width:1280px){
  body.app-body .app-shell:not(.public-shell){grid-template-columns:286px minmax(0,1fr)!important}
  body.app-body aside.sidebar{width:286px!important;min-width:286px!important;max-width:286px!important}
  body.app-body .control-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.app-body .control-grid{grid-template-columns:1fr!important}
  body.app-body .pro-product-grid,body.app-body .media-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.app-body .buyer-grid,body.app-body .buyer-card-grid,body.app-body .product-grid,body.app-body .ota-flight-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:992px){
  body.app-body .app-shell:not(.public-shell){display:block!important;overflow:visible!important}
  body.app-body .main:not(.public-main){padding:74px 14px 0!important;min-height:100vh!important}
  body.app-body .mobile-menu-btn{display:inline-flex!important;position:fixed!important;left:14px!important;top:14px!important;z-index:7003!important;width:48px!important;height:48px!important;align-items:center!important;justify-content:center!important;border-radius:16px!important;background:linear-gradient(135deg,#1677ff,#0b63ce)!important;color:#fff!important;font-size:24px!important;box-shadow:0 18px 38px rgba(11,99,206,.24)!important}
  body.app-body aside.sidebar{position:fixed!important;left:0!important;top:0!important;width:min(88vw,330px)!important;min-width:0!important;max-width:330px!important;height:100vh!important;z-index:7002!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:26px 0 70px rgba(2,16,32,.34)!important}
  body.sidebar-open aside.sidebar,body.internal-sidebar-open aside.sidebar{transform:translateX(0)!important}
  body.sidebar-open .mobile-menu-btn,body.internal-sidebar-open .mobile-menu-btn{left:min(calc(88vw - 58px),268px)!important;background:linear-gradient(135deg,#ef4444,#f97316)!important;font-size:0!important}
  body.sidebar-open .mobile-menu-btn:before,body.internal-sidebar-open .mobile-menu-btn:before{content:"×"!important;font-size:31px!important;line-height:1!important}
  body.app-body .topbar.commercial-topbar{top:0!important;margin-bottom:18px!important;border-radius:24px!important;align-items:flex-start!important;padding:16px!important;display:grid!important;grid-template-columns:1fr!important}
  body.app-body .topbar-brand{padding-left:54px!important}
  body.app-body .user-pill{width:100%!important;max-width:none!important;min-width:0!important;display:flex!important;justify-content:space-between!important;text-align:left!important}
  body.app-body .page-banner{grid-template-columns:1fr!important;min-height:auto!important;padding:22px!important;border-radius:24px!important}
  body.app-body .banner-plane{display:none!important}
  body.app-body .superadmin-control-hero{grid-template-columns:1fr!important;padding:24px!important;border-radius:26px!important}
  body.app-body .control-user-card{min-height:110px!important;justify-items:start!important;text-align:left!important}
  body.app-body .practice-roadmap{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.app-body .webmail-shell,body.app-body .mailbox-shell{grid-template-columns:1fr!important}
  body.app-body .webmail-sidebar,body.app-body .mailbox-sidebar{position:relative!important;top:auto!important}
}
@media(max-width:700px){
  body.app-body .main:not(.public-main){padding-left:10px!important;padding-right:10px!important}
  body.app-body .topbar-brand img{width:46px!important;height:46px!important}
  body.app-body .topbar-brand h1{font-size:20px!important}
  body.app-body .topbar-brand p{font-size:12px!important;max-height:34px!important;overflow:hidden!important}
  body.app-body .superadmin-control-hero h2{font-size:32px!important}
  body.app-body .control-stat-grid,
  body.app-body .practice-roadmap,
  body.app-body .pro-action-list,
  body.app-body .pro-product-grid,
  body.app-body .media-practice-grid,
  body.app-body .buyer-grid,
  body.app-body .buyer-card-grid,
  body.app-body .product-grid,
  body.app-body .ota-flight-grid,
  body.app-body .form-grid,
  body.app-body .grid-form{grid-template-columns:1fr!important}
  body.app-body .control-panel,body.app-body .card,body.app-body .panel,body.app-body .box,body.app-body .dashboard-card{padding:18px!important;border-radius:22px!important}
  body.app-body .control-stat-grid article{min-height:112px!important}
  body.app-body button,body.app-body .btn,body.app-body .button,body.app-body .buyer-btn,body.app-body input[type="submit"]{width:100%!important}
}
@media(max-width:420px){
  body.app-body .main:not(.public-main){padding-left:8px!important;padding-right:8px!important}
  body.app-body .topbar-brand{padding-left:50px!important;gap:10px!important}
  body.app-body .topbar-brand img{display:none!important}
  body.app-body .superadmin-control-hero,.page-banner{padding:18px!important}
  body.app-body .superadmin-control-hero h2{font-size:28px!important}
  body.app-body .side-nav a{grid-template-columns:38px minmax(0,1fr)!important;padding:9px!important}
  body.app-body .side-nav a>span{width:38px!important;height:38px!important}
}
@media print{
  body.app-body aside.sidebar,body.app-body .topbar,body.app-body .mobile-menu-btn,body.app-body .page-banner,body.app-body .app-footer-pro{display:none!important}
  body.app-body .app-shell:not(.public-shell){display:block!important}
  body.app-body .main:not(.public-main){padding:0!important;background:#fff!important}
  body.app-body .main:not(.public-main)>*{max-width:none!important}
}
