/* APAC People Policy Dictionary — premium hub layout */

.dash-hub-page.dash-hub-premium,
.dash-hub-page.dash-hub-preview {
  font-family: "DM Sans", var(--sans);
  --hub-ink: #e8edf4;
  --hub-ink-soft: #8b9cb3;
  --hub-teal: #14b8a6;
  --hub-teal-mid: #2dd4bf;
  --hub-teal-light: #5eead4;
  --hub-accent: #c2410c;
  --hub-accent-light: #fb923c;
  --hub-surface: #1a2332;
  --hub-surface-2: #243044;
  --hub-border: #2d3a4f;
  --hub-bg: #0f1419;
  --hub-panel: linear-gradient(128deg, #243044 0%, #1a2332 55%, #151d28 100%);
  --hub-radius: 16px;
  --hub-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

body.dash-hub-premium,
body.dash-hub-preview {
  color: var(--hub-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(251, 146, 60, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(59, 130, 246, 0.05), transparent 45%),
    var(--hub-bg);
  min-height: 100vh;
}

.dash-hub-premium .dash-main,
.dash-hub-preview .dash-main {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 35, 50, 0.35) 12%,
    rgba(15, 20, 25, 0.5) 100%
  );
  border-radius: 0 0 24px 24px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.dash-hub-premium .topbar,
.dash-hub-preview .topbar {
  background: linear-gradient(135deg, #1a0a08 0%, #2a1a14 45%, #0f1419 100%);
  border-bottom-color: var(--hub-border);
}

.dash-hub-premium .topbar .brand,
.dash-hub-premium .topbar .nav a,
.dash-hub-preview .topbar .brand,
.dash-hub-preview .topbar .nav a {
  color: var(--hub-ink-soft) !important;
}
.dash-hub-premium .topbar .nav a:hover,
.dash-hub-preview .topbar .nav a:hover {
  color: var(--hub-ink) !important;
}
.dash-hub-premium .lang-switch,
.dash-hub-preview .lang-switch,
.dash-hub-premium .theme-switch,
.dash-hub-preview .theme-switch {
  background: var(--hub-surface-2);
  border-color: var(--hub-border);
}
.dash-hub-premium .lang-switch button,
.dash-hub-preview .lang-switch button,
.dash-hub-premium .theme-switch button,
.dash-hub-preview .theme-switch button {
  color: var(--hub-ink-soft);
}
.dash-hub-premium .lang-switch button.active,
.dash-hub-preview .lang-switch button.active,
.dash-hub-premium .theme-switch button.active,
.dash-hub-preview .theme-switch button.active {
  background: var(--hub-accent);
  color: #fff !important;
}

.dash-hub-premium main.wrap,
.dash-hub-premium .topbar .wrap,
.dash-hub-premium .footer.wrap,
.dash-hub-preview main.wrap,
.dash-hub-preview .topbar .wrap,
.dash-hub-preview .footer.wrap {
  width: min(1480px, calc(100% - 40px));
}

.dash-preview-ribbon {
  margin: 0.75rem 0 0;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  background: rgba(255, 252, 247, 0.85);
  border: 1px solid rgba(30, 90, 74, 0.14);
  color: var(--hub-ink-soft);
}
.dash-preview-ribbon a {
  font-weight: 700;
  color: var(--hub-teal) !important;
}

.dash-hero-premium {
  padding: 1.5rem 0 0.75rem;
}

.dash-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--hub-radius) + 2px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--hub-panel);
  color: var(--hub-ink);
  box-shadow: var(--hub-card-shadow);
  border: 1px solid var(--hub-border);
}

.dash-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 220px at 95% 5%, rgba(251, 146, 60, 0.1), transparent 55%),
    radial-gradient(360px 180px at 0% 100%, rgba(59, 130, 246, 0.06), transparent 50%);
  pointer-events: none;
}

.dash-hero-panel-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.dash-kicker {
  color: var(--hub-accent-light) !important;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 700;
}

.dash-hero-panel h1 {
  font-family: "Instrument Sans", var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.45rem 0 0.75rem;
  color: var(--hub-ink);
  line-height: 1.12;
}

.dash-lede {
  max-width: 40rem;
  color: var(--hub-ink-soft) !important;
  font-size: 1rem;
  line-height: 1.58;
  margin: 0;
}

.dash-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  box-shadow: var(--hub-card-shadow);
}
.dash-hero-stat .val {
  font-family: "Instrument Sans", var(--sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hub-accent-light);
  line-height: 1;
}
.dash-hero-stat .lbl {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hub-ink-soft);
  text-align: center;
}

.dash-notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-left: 4px solid var(--hub-accent);
  color: var(--hub-ink-soft);
}

.dash-section-premium {
  padding: 1.5rem 0 3rem;
}

.dash-section-head h2 {
  font-family: "Instrument Sans", var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
  color: var(--hub-ink);
}
.dash-section-head .sub {
  margin: 0 0 1.25rem;
  color: var(--hub-ink-soft);
  font-size: 0.88rem;
}

.dash-row-band {
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.25rem 1.35rem;
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  box-shadow: var(--hub-card-shadow);
}

.dash-row-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dash-row-num {
  font-family: "Instrument Sans", var(--sans);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, var(--hub-accent-light), rgba(194, 65, 12, 0.4));
  -webkit-background-clip: text;
  background-clip: text;
}

.dash-row-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.dash-row-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--hub-ink-soft);
}

.dash-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.dash-grid--row1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-grid--row2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .dash-hero-panel-inner { grid-template-columns: 1fr; }
  .dash-hero-stat-wrap { display: none; }
  .dash-grid--row1,
  .dash-grid--row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dash-grid--row1,
  .dash-grid--row2 { grid-template-columns: 1fr; }
}

.dash-hub-premium .dash-card.card,
.dash-hub-preview .dash-card.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 0 1rem !important;
  min-height: 100%;
  border-radius: 14px !important;
  background: var(--hub-surface) !important;
  border: 1px solid var(--hub-border) !important;
  box-shadow: var(--hub-card-shadow) !important;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}

.dash-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hub-accent), var(--hub-accent-light));
}

.dash-hub-premium .dash-card:hover,
.dash-hub-preview .dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
  border-color: rgba(251, 146, 60, 0.35) !important;
}

.dash-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.65rem;
  background: var(--hub-surface-2);
  border-bottom: 1px solid var(--hub-border);
}

.dash-card-icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  box-shadow: none;
  color: var(--hub-accent-light);
}
.dash-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.dash-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 1.1rem;
}

.dash-hub-premium .dash-card h3,
.dash-hub-preview .dash-card h3 {
  font-family: "Instrument Sans", var(--sans) !important;
  font-size: clamp(0.86rem, 1vw + 0.68rem, 1rem) !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  margin: 0 !important;
  color: var(--hub-ink) !important;
}

.dash-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--hub-surface-2);
  color: var(--hub-ink-soft);
  text-transform: none;
  letter-spacing: 0.02em;
  border: 1px solid var(--hub-border);
}
.dash-badge.primary {
  background: var(--hub-accent);
  color: #fff;
  border-color: transparent;
}
.dash-badge.accent-apac {
  background: linear-gradient(135deg, #1a3d38 0%, #0f766e 55%, #14b8a6 100%);
  color: #fff;
  border: 1px solid rgba(251, 146, 60, 0.45);
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.25);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.dash-hub-premium .dash-card.is-apac-accent::before {
  background: linear-gradient(90deg, #0f766e, #fbbf24, #14b8a6);
}
.dash-badge-corner {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 4.5rem);
  text-align: right;
  line-height: 1.25;
  box-shadow: 0 1px 4px rgba(30, 90, 74, 0.12);
}

.dash-pitch {
  margin: 0;
  padding: 0 1.1rem;
  font-size: 0.82rem;
  color: var(--hub-ink-soft);
  line-height: 1.48;
}

.dash-list {
  margin: 0;
  padding: 0 1.1rem 0 1.85rem;
  list-style: none;
  font-size: 0.78rem;
  color: var(--hub-ink-soft);
  line-height: 1.45;
}
.dash-list li {
  position: relative;
  margin-bottom: 0.38rem;
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hub-accent-light);
  opacity: 0.85;
}

.dash-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 1.1rem 0;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: var(--hub-accent) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  width: calc(100% - 2.2rem);
  box-sizing: border-box;
  transition: filter 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35);
}
.dash-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.dash-cta::after {
  content: "→";
  opacity: 0.9;
}

.dash-card.is-primary {
  border: 1px solid rgba(94, 234, 212, 0.28) !important;
}

.dash-hub-premium .footer.wrap,
.dash-hub-preview .footer.wrap {
  color: var(--hub-ink-soft);
}
.dash-card.is-primary .dash-card-top {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(22, 32, 48, 0.5) 100%);
}

.dash-hub-premium h1,
.dash-hub-preview h1 {
  font-family: "Instrument Sans", var(--sans);
}

.dash-hub-premium .topbar .nav a.nav-current,
.dash-hub-preview .topbar .nav a.nav-current {
  text-decoration: none;
  color: var(--hub-accent-light) !important;
  font-weight: 600;
}