:root{color-scheme:dark;--bg:#050b18;--panel:#0b1426;--panel-2:#101d35;--line:#22314b;--gold:#d4a843;--blue:#007bff;--white:#f5f8ff;--muted:#8b9ab3;--green:#00c896;--red:#ff4d5a;--border-subtle:#1b2941;--control-border:#293751;--control-bg:#0c1628;--text-disabled:#8795ab;--status-neutral:#77849a;--panel-border:#22314a;--panel-deep:#0b1424;--row-divider:#1d2a40}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--white);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit}
.preview-banner{display:flex;align-items:center;justify-content:center;gap:9px;min-height:30px;padding:6px 14px;background:#241d0e;border-bottom:1px solid #5e4a20;color:#e5c979;font-size:10px;font-weight:800;letter-spacing:.13em;text-align:center}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);flex:0 0 auto}
.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:calc(100vh - 30px)}
.sidebar{position:sticky;top:0;height:calc(100vh - 30px);min-height:680px;display:flex;flex-direction:column;padding:25px 16px 18px;background:#080f1f;border-right:1px solid var(--border-subtle)}
.brand{display:flex;align-items:center;gap:11px;padding:0 8px 32px}
.brand img{width:42px;height:42px;object-fit:contain;border-radius:12px}
.brand strong{display:block;font-size:17px;letter-spacing:.015em}
.brand small{display:block;margin-top:1px;color:var(--gold);font-size:9px;font-weight:800;letter-spacing:.2em}
.nav-label,.eyebrow{margin:0;color:#73849f;font-size:10px;font-weight:800;letter-spacing:.16em}
.nav-label{padding:0 12px 12px}
.nav-list{display:grid;gap:5px}
.nav-item{display:flex;align-items:center;gap:12px;min-height:43px;padding:0 12px;border:1px solid transparent;border-radius:9px;color:#a8b5c9;font-size:12px;font-weight:600}
.nav-item.active{background:linear-gradient(90deg,#2c2515,#151a25);border-color:#554521;color:#f5d98d}
.nav-icon{width:19px;color:#8295b3;text-align:center;font-size:18px}
.active .nav-icon{color:var(--gold)}
.soon,.lock{margin-left:auto;color:#8999b0;font-size:9px;font-weight:800;letter-spacing:.03em}
.soon{color:#d7b95f}
.nav-item.disabled{opacity:.56;cursor:not-allowed}
.sidebar-bottom{margin-top:auto}
.security-card{display:flex;gap:10px;padding:14px 11px;border:1px solid #263653;border-radius:10px;background:#0d192d}
.security-symbol{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#152b40;color:var(--green);font-size:18px;flex:0 0 auto}
.security-card strong{font-size:11px}
.security-card p{margin:5px 0 0;color:#91a0b7;font-size:10px;line-height:1.55}
.profile-row{display:flex;align-items:center;gap:9px;margin-top:18px;padding:16px 5px 0;border-top:1px solid #1e2b42}
.avatar{display:grid;place-items:center;width:33px;height:33px;border:1px solid #3a4a65;border-radius:50%;background:#14213a;color:#e5c66d;font-size:10px;font-weight:800}
.profile-row strong{display:block;font-size:11px}
.profile-row small{display:block;color:var(--muted);font-size:10px}
.profile-dots{margin-left:auto;color:#8191a8;font-size:19px}
.main-content{min-width:0;padding:0 34px 20px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:75px;border-bottom:1px solid #1a2940}
.breadcrumbs{display:flex;align-items:center;gap:10px;color:#8190a8;font-size:11px}
.breadcrumbs strong{color:#e7edf8;font-weight:650}
.crumb-slash{color:#44526b}
.top-actions{display:flex;align-items:center;gap:12px}
.demo-pill,.outline-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #5c4c28;border-radius:5px;padding:6px 9px;color:#e5ca77;background:#211d13;font-size:9px;font-weight:800;letter-spacing:.1em}
.icon-button,.account-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:34px;border:1px solid var(--control-border);border-radius:8px;background:var(--control-bg);color:var(--text-disabled)}
.icon-button{width:35px;font-size:17px}
.account-button{padding:4px 9px;font-size:11px}
button:disabled{opacity:.72;cursor:not-allowed}
.avatar.small{width:24px;height:24px;font-size:8px}
.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:33px 0 23px}
h1{margin:5px 0 4px;font-size:clamp(27px,3vw,36px);font-weight:720;letter-spacing:-.045em;line-height:1.15}
.gold-period{color:var(--gold)}
.welcome-copy{margin:8px 0 0;color:#93a2b9;font-size:12px}
.date-chip{display:flex;align-items:center;gap:9px;margin-bottom:5px;padding:9px 12px;border:1px solid #27344b;border-radius:8px;background:#0c1627;color:#9eacc0;font-size:10px}
.pulse{width:7px;height:7px;border-radius:50%;background:var(--status-neutral);box-shadow:0 0 0 4px #222d3d}
.notice{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #514321;border-radius:10px;background:linear-gradient(100deg,#241d10,#151925 75%);margin-bottom:20px}
.notice-icon{display:grid;place-items:center;width:22px;height:22px;border:1px solid #7a622b;border-radius:50%;color:#f0ce71;font-weight:800;flex:0 0 auto}
.notice strong{display:block;color:#f2d989;font-size:11px}
.notice p{margin:3px 0 0;color:#c0b89f;font-size:10px;line-height:1.55}
.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}
.summary-card{position:relative;overflow:hidden;min-height:145px;padding:17px;border:1px solid var(--panel-border);border-radius:11px;background:linear-gradient(145deg,#101c30,var(--panel-deep) 75%)}
.balance-card{border-color:#5a4824;background:linear-gradient(135deg,#211c12,#10182a 70%)}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a5b2c6;font-size:11px}
.card-icon,.quick-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;font-size:17px}
.gold-icon{background:#332916;color:var(--gold)}
.blue-icon{background:#102a4a;color:#54a8ff}
.green-icon{background:#10352f;color:var(--green)}
.value-placeholder{margin-top:17px;color:#e1e8f4;font-size:21px;font-weight:680;letter-spacing:-.025em}
.card-foot{display:flex;align-items:center;gap:7px;margin-top:10px;color:#8292aa;font-size:10px}
.muted-dot{width:6px;height:6px;border-radius:50%;background:var(--status-neutral)}
.card-decoration{position:absolute;right:-25px;bottom:-58px;width:125px;height:125px;border:1px solid #6d5527;border-radius:50%;opacity:.28}
.content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:17px}
.panel{min-width:0;border:1px solid var(--panel-border);border-radius:11px;background:var(--panel-deep)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 19px 16px}
h2{margin:4px 0 0;font-size:16px;font-weight:680;letter-spacing:-.02em}
.outline-tag{border-color:#2e3c54;background:#111d30;color:#9cacc3;font-size:8px}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
thead{background:#0e1a2d}
th{padding:11px 13px;color:#72839d;font-size:9px;font-weight:800;letter-spacing:.1em}
th:first-child,td:first-child{padding-left:19px}
td{padding:13px;border-top:1px solid var(--row-divider);color:#aab7ca;font-size:11px}
td:first-child{display:flex;align-items:center;gap:10px}
.coin{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;font-size:15px;font-weight:800}
.coin-btc{background:#342516;color:#f4a340}.coin-eth{background:#202a46;color:#9ba9ff}.coin-usdt{background:#14352f;color:#55d8ae}.coin-sol{background:#27243c;color:#b2a0ff}
.asset-name{display:block;color:#e5ebf5;font-weight:650}
.asset-name small{display:block;margin-top:1px;color:#7f8fa8;font-size:9px;font-weight:500}
.unavailable{color:#8493aa;font-size:10px}
.state-tag{display:inline-block;border:1px solid #354258;border-radius:4px;padding:3px 6px;color:#9ba9bd;font-size:9px}
.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;border-top:1px solid var(--row-divider);color:#7889a3;font-size:9px}
.feed-status{display:flex;align-items:center;gap:6px;white-space:nowrap}
.status-dot.red{background:var(--red)}
.quick-panel{padding-bottom:8px}
.quick-link{display:flex;align-items:center;gap:11px;padding:13px 17px;border-top:1px solid #1b2940}
.quick-link>span:nth-child(2){min-width:0;flex:1}
.quick-link strong{display:block;color:#dfe7f4;font-size:11px;font-weight:650}
.quick-link small{display:block;margin-top:3px;color:#8494ac;font-size:9px;line-height:1.4}
.quick-icon{width:34px;height:34px;flex:0 0 auto}
.arrow{color:#8194b0;font-size:15px}
.unavailable-link{opacity:.64}
.quick-divider{height:1px;margin:8px 17px 15px;background:#1d2b42}
.checklist-title{display:flex;justify-content:space-between;padding:0 17px 11px;color:#8392a9;font-size:9px;font-weight:800;letter-spacing:.12em}
.checklist-title span{color:var(--gold)}
.build-status{display:flex;align-items:center;gap:8px;padding:8px 17px;color:#aab6c8;font-size:10px}
.build-status strong{margin-left:auto;color:#8f9eb4;font-size:9px;font-weight:600}
.build-dot{width:7px;height:7px;border:1px solid #56647b;border-radius:50%;flex:0 0 auto}
.build-dot.done{border-color:var(--green);background:var(--green)}
.build-dot.active-dot{border-color:var(--gold);background:var(--gold)}
.footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px;padding:14px 1px;color:#6f809a;font-size:9px}
.footer>span:last-child{display:flex;align-items:center;gap:7px}
.footer-dot{width:6px;height:6px;border-radius:50%;background:var(--gold)}
@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.main-content{padding-right:22px;padding-left:22px}.content-grid{grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr)}.summary-grid{gap:10px}.summary-card{padding:14px}.value-placeholder{font-size:18px}th,td{padding-right:9px;padding-left:9px}}
@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;min-height:0;padding:14px 18px;border-right:0;border-bottom:1px solid var(--border-subtle)}.brand{padding:0 0 12px}.nav-label,.sidebar-bottom{display:none}.nav-list{display:flex;overflow-x:auto;gap:6px;padding-bottom:2px}.nav-item{min-width:max-content;min-height:37px;padding:0 10px}.nav-item .soon,.nav-item .lock{display:none}.main-content{padding:0 18px 18px}.topbar{min-height:61px}.content-grid{grid-template-columns:1fr}.quick-panel{display:grid;grid-template-columns:1fr 1fr}.quick-panel .panel-heading{grid-column:1/-1}.quick-divider,.checklist-title,.build-status{grid-column:1/-1}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{min-height:130px}.value-placeholder{font-size:16px}}
@media(max-width:560px){.preview-banner{font-size:8px;letter-spacing:.08em}.main-content{padding-right:13px;padding-left:13px}.topbar{align-items:flex-start;padding:12px 0;gap:8px}.top-actions{gap:6px}.account-button{font-size:0}.account-button span:not(.avatar){display:none}.demo-pill{font-size:8px;padding:6px}.welcome-row{display:block;padding:25px 0 18px}.date-chip{display:inline-flex;margin-top:15px}.summary-grid{grid-template-columns:1fr;gap:9px}.summary-card{min-height:118px}.value-placeholder{margin-top:12px;font-size:19px}.content-grid{gap:12px}.panel-heading{padding:16px 13px}.panel-footer{align-items:flex-start;flex-direction:column}.quick-panel{display:block}.quick-panel .panel-heading{display:flex}.footer{flex-direction:column}.table-wrap table{min-width:550px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Keyboard users must be able to identify the focused interactive control. */
/* UI specification: blue is reserved for interactive affordances and focus. */
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
.nav-item.disabled{user-select:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.search-preview{display:block;min-width:0}
.search-preview input{width:clamp(150px,18vw,230px);min-height:34px;padding:7px 10px;border:1px solid var(--control-border);border-radius:8px;background:var(--control-bg);color:var(--text-disabled);font:inherit;font-size:10px}
.search-preview input:disabled{opacity:.72;cursor:not-allowed}
@media(max-width:820px){.search-preview input{width:clamp(120px,24vw,200px)}}
@media(max-width:560px){.topbar{flex-wrap:wrap}.breadcrumbs{min-height:30px}.top-actions{width:100%;flex-wrap:wrap}.search-preview{flex:1}.search-preview input{width:100%;min-width:0}.demo-pill{white-space:nowrap}}


/* Keep narrow market tables scrollable inside their own panel, never the page. */
.app-shell,
.main-content,
.content-grid,
.markets-panel,
.table-wrap {
  min-width: 0;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.markets-panel table {
  width: 100%;
}
@media (max-width: 1100px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .table-wrap table {
    min-width: 550px;
  }
}

/* Mobile navigation: show every destination without requiring sideways page navigation. */
@media (max-width: 560px) {
  .sidebar {
    padding: 12px 13px;
  }
  .brand {
    padding-bottom: 12px;
  }
  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }
  .nav-item {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: 7px 9px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px;
  }
  .nav-item .nav-icon {
    flex: 0 0 18px;
  }
  .nav-item.disabled .lock {
    display: none;
  }
  .table-wrap::after {
    content: "Swipe horizontally to view all market columns";
    display: block;
    padding: 9px 13px;
    border-top: 1px solid var(--row-divider);
    color: #8b9ab3;
    font-size: 10px;
  }
}


/* Give the mobile search and action controls separate, readable rows. */
@media (max-width: 560px) {
  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
  }
  .search-preview {
    grid-column: 1 / -1;
    width: 100%;
  }
  .search-preview input {
    min-height: 42px;
    font-size: 12px;
  }
  .demo-pill {
    justify-content: center;
    min-height: 38px;
    padding: 6px 9px;
  }
  .icon-button,
  .account-button {
    min-height: 38px;
  }
}


/* Prevent the demo badge from stretching across the flexible grid column. */
@media (max-width: 560px) {
  .demo-pill {
    grid-column: 1;
    width: max-content;
    justify-self: start;
  }
  .icon-button {
    grid-column: 2;
  }
  .account-button {
    grid-column: 3;
  }
}


/* Guard against page-level horizontal scrolling; wide tables scroll in .table-wrap. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.app-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}


/* Live development market feed status indicator. */
.status-dot.green{background:var(--green)}

.account-cta{display:inline-flex;align-items:center;gap:12px;margin-top:12px;padding:11px 15px;border:1px solid #8e713b;border-radius:9px;color:#f0cb7d;font-size:13px;font-weight:700;text-decoration:none}.account-cta:hover{background:#211c12}


/* Editorial content gives the homepage useful, crawlable context beyond the dashboard UI. */
.home-editorial{margin-top:26px;padding:24px;border:1px solid var(--panel-border);border-radius:12px;background:linear-gradient(145deg,#0d192b,#091321)}
.editorial-intro{max-width:820px}
.editorial-intro h2{margin:8px 0 10px;font-size:clamp(20px,2.4vw,27px);line-height:1.25}
.editorial-intro p:not(.eyebrow),.editorial-grid p{color:#a7b5c9;font-size:12px;line-height:1.8}
.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px;margin-top:20px}
.editorial-grid article{padding-top:15px;border-top:1px solid #22314a}
.editorial-grid h3{margin:0;color:#e7edf8;font-size:14px}
.editorial-grid p{margin:7px 0 0}
.home-editorial a{color:#e5c477;text-decoration:underline;text-decoration-color:#80652e;text-underline-offset:3px}
.home-editorial a:hover{color:#ffe3a0}
.editorial-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:20px;padding-top:15px;border-top:1px solid #22314a;font-size:11px}
@media(max-width:560px){.home-editorial{padding:17px 14px}.editorial-grid{grid-template-columns:1fr;gap:12px}.editorial-links{display:grid;gap:12px}}

/* Legal links remain visible in the responsive site footer. */
.footer-legal{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.footer-legal a{color:#e5c477;text-decoration:underline;text-decoration-color:#80652e;text-underline-offset:3px}
.footer-legal a:hover{color:#ffe3a0}
@media(max-width:560px){.footer-legal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}


/* Legal pages: external stylesheet rules are required by the site's strict CSP. */
.legal-wrap{width:min(980px,calc(100% - 40px));max-width:980px;margin:0 auto;padding:42px 0 24px}
.legal-hero{padding:28px;border:1px solid #293751;border-radius:14px;background:linear-gradient(145deg,#101d35,#091321)}
.legal-hero h1{margin:8px 0 10px}
.legal-hero>p:not(.eyebrow){color:#a7b5c9}
.legal-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px;color:#91a0b7;font-size:11px;line-height:1.7}
.legal-meta span{display:inline-block}
.legal-body{margin-top:18px;padding:28px;border:1px solid #22314a;border-radius:14px;background:#0b1426}
.legal-body h2{margin:28px 0 9px;color:#f2d28b;font-size:17px}
.legal-body h2:first-child{margin-top:0}
.legal-body h3{margin:17px 0 6px;font-size:14px}
.legal-body p,.legal-body li{color:#b3bfd1;font-size:13px;line-height:1.85}
.legal-body ul{padding-left:22px}
.legal-body a,.legal-wrap>a{color:#e5c477;text-decoration:underline;text-underline-offset:3px}
.legal-callout{padding:14px 16px;border-left:3px solid #d4a843;background:#171d29;color:#d5deeb}
.legal-footer{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:20px;padding:18px 0;border-top:1px solid #22314a;color:#8999b0;font-size:11px}
.legal-footer a{color:#e5c477}
@media(max-width:560px){.legal-wrap{width:calc(100% - 28px);padding:24px 0}.legal-hero,.legal-body{padding:18px}.legal-body p,.legal-body li{font-size:12px}.legal-meta{display:grid;gap:5px}}


/* Shared brand header for public legal documents. */
.legal-brand{display:inline-flex;align-items:center;gap:12px;margin:0 0 18px;color:#f3f6fc;text-decoration:none!important}
.legal-brand img{display:block;width:44px;height:44px;object-fit:contain;border-radius:11px}
.legal-brand span{display:grid;gap:3px}
.legal-brand strong{font-size:16px;line-height:1.1;letter-spacing:.01em}
.legal-brand small{color:#d7b96f;font-size:8px;font-weight:800;letter-spacing:.15em}
.legal-back-link{display:block;width:max-content;margin:0 0 12px;color:#e5c477;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.legal-brand:hover strong{color:#f2d28b}
@media(max-width:560px){.legal-brand{margin-bottom:14px}.legal-brand img{width:40px;height:40px}.legal-brand strong{font-size:15px}}


/* Shared NexaCrypto public-site header and footer */
.global-site-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;padding:12px clamp(18px,5vw,72px);background:#080f1f;border-bottom:1px solid #22314b}
.global-brand{display:flex;align-items:center;gap:11px;min-width:0}.global-brand img{width:42px;height:42px;object-fit:contain;border-radius:11px}.global-brand strong{display:block;color:#f5f8ff;font-size:16px;line-height:1.2}.global-brand small{display:block;margin-top:4px;color:#d4a843;font-size:8px;font-weight:800;letter-spacing:.14em}
.global-primary-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2.2vw,30px)}.global-primary-nav a,.global-footer-group a{color:#aebbd0;font-size:12px;font-weight:600;transition:color .15s ease}.global-primary-nav a:hover,.global-primary-nav a[aria-current=page],.global-footer-group a:hover{color:#f0cc70}.global-primary-nav .global-account-link{padding:9px 14px;border:1px solid #5b4923;border-radius:7px;color:#f0d58b;background:#211b10}
.global-nav-toggle{display:none;border:1px solid #34435d;border-radius:7px;padding:8px 12px;background:#101d32;color:#f5f8ff}
.global-site-footer{margin-top:36px;padding:34px clamp(18px,5vw,72px) 18px;border-top:1px solid #263650;background:#080f1f;color:#9aa9bf}.global-footer-main{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(130px,1fr));gap:30px;max-width:1440px;margin:0 auto}.global-footer-brand p{max-width:360px;margin:14px 0 0;color:#8999b2;font-size:11px;line-height:1.7}.global-footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:11px}.global-footer-group>strong{margin-bottom:3px;color:#f1d487;font-size:11px;letter-spacing:.06em}.global-footer-group a,.global-footer-group span{font-size:11px;line-height:1.5}.global-footer-group span{color:#7889a3}
.global-footer-bottom{display:flex;justify-content:space-between;gap:20px;max-width:1440px;margin:28px auto 0;padding-top:16px;border-top:1px solid #1d2b42;color:#74849d;font-size:10px}
@media(max-width:760px){.global-site-header{min-height:68px;flex-wrap:wrap;padding:10px 16px}.global-brand img{width:38px;height:38px}.global-brand small{font-size:7px}.global-nav-toggle{display:block;margin-left:auto}.global-primary-nav{display:none;flex:1 0 100%;align-items:stretch;flex-direction:column;gap:0;padding:8px 0 4px}.global-primary-nav.is-open{display:flex}.global-primary-nav a{padding:11px 8px;border-top:1px solid #1c2b42}.global-primary-nav .global-account-link{margin-top:8px;text-align:center}.global-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.global-footer-brand{grid-column:1/-1}.global-footer-bottom{flex-direction:column;gap:8px}}
@media(max-width:420px){.global-footer-main{grid-template-columns:1fr}.global-footer-brand{grid-column:auto}}


/* Harden the shared shell so branding and navigation remain visible on every page. */
.global-site-header { display:flex !important; visibility:visible !important; opacity:1 !important; }
.global-site-header .global-brand img,
.global-site-footer .global-brand img {
  display:block !important;
  width:44px !important;
  height:44px !important;
  min-width:44px;
  object-fit:contain;
  padding:3px;
  border:1px solid #35435c;
  border-radius:10px;
  background:#050b18;
}
.global-site-header .global-primary-nav { visibility:visible; }
.global-site-footer .global-footer-brand .global-brand { display:inline-flex; }
.global-site-footer .global-brand strong { color:#f5f8ff; }
.global-site-footer .global-brand small { color:#d4a843; }
@media(max-width:760px) {
  .global-site-header .global-nav-toggle { display:block !important; }
}


/* Reliable responsive public navigation: compact menu on phones and tablets. */
.global-nav-toggle{display:none;align-items:center;justify-content:center;gap:8px;min-height:42px;min-width:84px;padding:9px 13px;border:1px solid #42516b;border-radius:8px;background:#101d32;color:#f5f8ff;font-size:12px;font-weight:700;cursor:pointer}
.global-nav-toggle:hover,.global-nav-toggle[aria-expanded="true"]{border-color:#d4a843;color:#f2d28b;background:#211b10}
.global-nav-toggle-icon{font-size:17px;line-height:1}
@media(max-width:760px){
 .global-site-header{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:68px;padding:10px 14px}
 .global-site-header>.global-brand{flex:1 1 auto}
 .global-nav-toggle{display:inline-flex!important;flex:0 0 auto}
 .global-primary-nav{display:none!important;flex:1 0 100%;width:100%;align-items:stretch;flex-direction:column;gap:0;padding:7px 0 2px}
 .global-primary-nav.is-open{display:flex!important}
 .global-primary-nav>a{display:flex;align-items:center;min-height:44px;padding:10px 9px;border-top:1px solid #1c2b42;font-size:14px}
 .global-primary-nav .global-account-link{justify-content:center;margin-top:8px;border:1px solid #5b4923}
}
@media(max-width:380px){
 .global-site-header{padding-right:11px;padding-left:11px}
 .global-brand{gap:8px}
 .global-brand img{width:38px;height:38px;min-width:38px}
 .global-brand strong{font-size:14px}
 .global-brand small{font-size:6px;letter-spacing:.1em}
 .global-nav-toggle{min-width:76px;padding:8px 10px}
}


/* Authenticated account link with a private, signed profile avatar. */
.global-account-link{display:inline-flex;align-items:center;gap:9px}
.global-account-avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;object-fit:cover;border:1px solid #b28a43;background:#17263d}
.global-account-avatar[hidden]{display:none}
.global-account-label{min-width:0;overflow-wrap:anywhere}


/* NexaCrypto education-first homepage styles (external stylesheet for strict CSP). */
.edu-home-logo{display:block;width:54px;height:54px;object-fit:contain;margin:0 auto 22px;padding:4px;border:1px solid #35435c;border-radius:12px;background:#050b18}
:root{--edu-bg:#07101f;--edu-panel:#0d192b;--edu-line:#20324b;--edu-gold:#e7bd58;--edu-muted:#aab8cc}.edu-home{color:#f4f7fb}.edu-home{max-width:1200px;margin:auto;padding:52px 28px 76px}.edu-home .edu-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;padding:42px 0 64px}.edu-home .kicker{color:var(--edu-gold);font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.edu-home .edu-hero h1{font-size:clamp(42px,6vw,68px);line-height:1.04;letter-spacing:-.045em;margin:18px 0}.edu-home .edu-hero h1 span{color:var(--edu-gold)}.edu-home .lead{font-size:18px;line-height:1.75;color:#b8c5d8;max-width:650px}.edu-home .actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:28px}.edu-home .btn{display:inline-flex;padding:14px 20px;border-radius:8px;text-decoration:none;font-weight:800;background:var(--edu-gold);color:#111827;border:1px solid var(--edu-gold)}.edu-home .btn.alt{background:transparent;color:#f4f7fb;border-color:#43536b}.edu-home .hero-panel{border:1px solid #4a3b20;border-radius:17px;background:radial-gradient(circle at 75% 10%,#29334a,#101d31 50%,#0c1728);padding:30px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 24px 70px #0005}.edu-home .hero-mark{width:60px;height:60px;border:1px solid #79612f;border-radius:14px;display:grid;place-items:center;color:var(--edu-gold);font-size:28px}.edu-home .hero-panel h2{font-size:27px;margin:24px 0 10px}.edu-home .hero-panel p,.edu-home .section-head p,.edu-home .card p,.edu-home .step p{color:var(--edu-muted);line-height:1.7}.edu-home .hero-foot{border-top:1px solid #35445a;padding-top:16px;margin-top:22px;color:var(--edu-gold);font-size:11px;font-weight:800;letter-spacing:.12em}.edu-home .section{padding:34px 0}.edu-home .section-head{max-width:700px;margin-bottom:24px}.edu-home .section h2{font-size:clamp(28px,4vw,38px);letter-spacing:-.03em;margin:10px 0}.edu-home .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.edu-home .card{background:var(--edu-panel);border:1px solid var(--edu-line);border-radius:13px;padding:24px;min-height:205px}.edu-home .symbol{color:var(--edu-gold);font-size:24px}.edu-home .card h3{font-size:19px;margin:16px 0 8px}.edu-home .card a,.edu-home .inline-link{color:var(--edu-gold);font-weight:800;text-decoration:none}.edu-home .path{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.edu-home .step{border-left:2px solid var(--edu-gold);padding:12px 18px;background:#0b1728}.edu-home .step strong{display:block;margin-bottom:8px}.edu-home .trust{margin-top:28px;padding:22px 24px;border:1px solid #34445c;border-radius:12px;background:#0b1728;display:flex;gap:14px}.edu-home .trust p{color:var(--edu-muted);line-height:1.65;margin:6px 0}.edu-home .trust .symbol{flex:none}@media(max-width:760px){.edu-home{padding:26px 18px 48px}.edu-home .edu-hero{grid-template-columns:1fr;gap:24px;padding:26px 0 40px}.edu-home .edu-hero h1{font-size:43px}.edu-home .grid,.edu-home .path{grid-template-columns:1fr}.edu-home .hero-panel{min-height:240px}}


/* Education homepage: keep primary actions comfortable on narrow phones. */
@media (max-width: 560px) {
  .edu-home {
    width: 100%;
    max-width: 100%;
    padding: 22px 16px 44px;
    overflow-wrap: anywhere;
  }
  .edu-home .edu-home-logo {
    margin-bottom: 12px;
  }
  .edu-home .edu-hero {
    gap: 20px;
    padding: 20px 0 32px;
  }
  .edu-home .edu-hero h1 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.08;
  }
  .edu-home .lead {
    font-size: 16px;
    line-height: 1.65;
  }
  .edu-home .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .edu-home .actions .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    text-align: center;
    white-space: normal;
  }
  .edu-home .hero-panel {
    min-width: 0;
    padding: 22px;
  }
  .edu-home .trust {
    align-items: flex-start;
    padding: 18px 16px;
  }
}


/* Phase 2: premium, accessible homepage hero and editorial visual system. */
.edu-home{max-width:1280px;padding:34px 30px 78px}
.edu-home .edu-hero{
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(30px,5vw,76px);
  padding:clamp(42px,6vw,78px) 0 48px;
}
.edu-home .hero-copy{min-width:0}
.edu-home .edu-hero .kicker{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:10px;letter-spacing:.15em;line-height:1.7}
.edu-home .hero-kicker-mark{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px #d4a84320}
.edu-home .kicker-separator{color:#60728e}
.edu-home .edu-hero h1{
  max-width:720px;
  margin:19px 0 21px;
  font-size:clamp(46px,5.3vw,72px);
  line-height:1.035;
  letter-spacing:-.052em;
  text-wrap:balance;
}
.edu-home .edu-hero h1 span{
  color:var(--gold);
  background:linear-gradient(105deg,#f2d98d 0%,#d4a843 54%,#a7c9ed 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.edu-home .lead{max-width:590px;font-size:clamp(16px,1.45vw,18px);line-height:1.78;color:#b6c4d8}
.edu-home .actions{align-items:center;gap:12px;margin-top:30px}
.edu-home .btn{
  min-height:50px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 19px;
  border-radius:9px;
  background:var(--gold);
  border-color:var(--gold);
  box-shadow:0 8px 24px #d4a8431c;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.edu-home .btn:hover{background:#e5bd61;border-color:#e5bd61;box-shadow:0 10px 28px #d4a8432a;transform:translateY(-1px)}
.edu-home .btn:focus-visible,.edu-home a:focus-visible{outline:3px solid #63b5ff;outline-offset:3px}
.edu-home .btn.alt{background:#0b1729;color:#eaf2ff;border-color:#31557b;box-shadow:none}
.edu-home .btn.alt:hover{background:#102744;border-color:#4c91cc}
.edu-home .hero-support{display:flex;align-items:center;gap:8px;margin:20px 0 0;color:#8192ab;font-size:12px;line-height:1.6}
.edu-home .hero-support span{color:var(--gold)}
.edu-home .hero-visual{
  position:relative;
  isolation:isolate;
  width:100%;
  min-width:0;
  min-height:450px;
  overflow:hidden;
  border:1px solid #2c4665;
  border-radius:26px;
  background:
    radial-gradient(ellipse at 52% 46%,#15375a 0%,#0c1b30 45%,#07111f 78%),
    #07111f;
  box-shadow:0 28px 80px #0007,inset 0 1px #b5d4f01a;
}
.edu-home .hero-visual:before,.edu-home .hero-visual:after{position:absolute;z-index:-1;content:"";pointer-events:none;border:1px solid #75a9d51c;border-radius:50%}
.edu-home .hero-visual:before{width:430px;height:430px;top:50%;left:50%;transform:translate(-50%,-50%)}
.edu-home .hero-visual:after{width:560px;height:560px;top:50%;left:50%;transform:translate(-50%,-50%)}
.edu-home .hero-visual-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.edu-home .hero-float-card{
  position:absolute;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:5px;
  max-width:205px;
  padding:13px 15px;
  border:1px solid #49617d99;
  border-radius:11px;
  background:linear-gradient(145deg,#14253bdc,#0a1525ed);
  box-shadow:0 12px 34px #0006,inset 0 1px #ffffff0b;
  backdrop-filter:blur(10px);
}
.edu-home .hero-float-index{color:#d8b75f;font-size:9px;font-weight:850;letter-spacing:.13em}
.edu-home .hero-float-card strong{color:#edf4ff;font-size:13px;line-height:1.3}
.edu-home .hero-float-note{color:#93a7c1;font-size:10px;line-height:1.4}
.edu-home .hero-float-top{top:8%;left:5%}
.edu-home .hero-float-right{top:42%;right:3%}
.edu-home .hero-float-bottom{bottom:11%;left:8%}
.edu-home .hero-visual-caption{
  position:absolute;
  right:20px;
  bottom:19px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#a8bad1;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}
.edu-home .hero-visual-caption span{width:6px;height:6px;border-radius:50%;background:#d4a843;box-shadow:0 0 12px #d4a843}
.edu-home .hero-visual-caption i{color:#d4a843;font-style:normal}
.edu-home .hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:12px 30px;
  margin:0;
  padding:19px 0 23px;
  border-top:1px solid #1e3048;
  border-bottom:1px solid #1e3048;
  list-style:none;
}
.edu-home .hero-proof li{display:flex;align-items:center;gap:9px;color:#aab9cd;font-size:12px;font-weight:650}
.edu-home .hero-proof li span{color:var(--gold);font-size:15px}
.edu-home .section{padding:42px 0}
.edu-home .section-head{max-width:760px}
.edu-home .section-head h2{color:#f4f7fb}
.edu-home .card{transition:border-color .18s ease,background-color .18s ease}
.edu-home .card:hover{border-color:#3a587c;background:#102039}
@media(max-width:900px){
  .edu-home .edu-hero{grid-template-columns:minmax(0,1fr);gap:30px;padding-top:42px}
  .edu-home .hero-copy{max-width:780px}
  .edu-home .hero-visual{min-height:430px;max-width:760px;margin:0 auto}
}
@media(max-width:560px){
  .edu-home{padding:18px 16px 48px}
  .edu-home .edu-hero{gap:23px;padding:25px 0 30px}
  .edu-home .edu-hero .kicker{font-size:9px;letter-spacing:.11em;gap:7px}
  .edu-home .edu-hero h1{font-size:clamp(36px,10vw,48px);line-height:1.07;margin:16px 0}
  .edu-home .lead{font-size:16px;line-height:1.68}
  .edu-home .actions{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:10px;margin-top:24px}
  .edu-home .actions .btn{display:flex;width:100%;min-height:50px;padding:12px 14px;text-align:center;white-space:normal}
  .edu-home .hero-support{align-items:flex-start;font-size:11px;margin-top:15px}
  .edu-home .hero-visual{min-height:340px;border-radius:19px}
  .edu-home .hero-visual:before{width:280px;height:280px}
  .edu-home .hero-visual:after{width:370px;height:370px}
  .edu-home .hero-float-card{max-width:158px;padding:10px 11px;gap:4px}
  .edu-home .hero-float-index{font-size:8px}
  .edu-home .hero-float-card strong{font-size:11px}
  .edu-home .hero-float-note{font-size:9px}
  .edu-home .hero-float-top{top:7%;left:4%}
  .edu-home .hero-float-right{top:43%;right:3%}
  .edu-home .hero-float-bottom{bottom:12%;left:5%}
  .edu-home .hero-visual-caption{right:12px;bottom:12px;gap:5px;font-size:7px;letter-spacing:.1em}
  .edu-home .hero-proof{display:grid;grid-template-columns:1fr;gap:10px;padding:17px 0}
  .edu-home .section{padding:32px 0}
}
@media(max-width:360px){
  .edu-home{padding-right:13px;padding-left:13px}
  .edu-home .hero-visual{min-height:310px}
  .edu-home .hero-float-card{max-width:142px;padding:8px 9px}
  .edu-home .hero-float-right{right:2%}
  .edu-home .hero-visual-caption{font-size:6px}
}
@media(prefers-reduced-motion:reduce){
  .edu-home .btn,.edu-home .card{transition:none}
  .edu-home .btn:hover{transform:none}
}
