/* ============================================
   Creator & studio portal
   ============================================ */

.portal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ink);
}

.portal-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line-soft);
}

.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.portal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.portal-back:hover { color: var(--text); }

.portal-main {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 64px 0 88px;
}

.portal-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 5%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 5%, #000 15%, transparent 75%);
}

.portal-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}

.portal-glow-a {
  width: 560px;
  height: 440px;
  top: -230px;
  right: -120px;
  background: rgba(250, 70, 22, 0.16);
}

.portal-glow-b {
  width: 460px;
  height: 420px;
  left: -200px;
  bottom: -260px;
  background: rgba(53, 75, 152, 0.25);
}

.portal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 76px;
  align-items: start;
}

.portal-intro { padding-top: 20px; }

.portal-intro h1 {
  margin-top: 24px;
  font-size: clamp(3rem, 5.4vw, 4.55rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.portal-lede {
  margin-top: 22px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.portal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  max-width: 580px;
}

.portal-side-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.portal-side-card > span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.portal-side-card:nth-child(2) > span { color: var(--lime); }

.portal-side-card strong {
  display: block;
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.portal-side-card p {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: #8f8c86;
}

.portal-note {
  max-width: 560px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  line-height: 1.6;
  color: #7c7973;
}

.portal-note strong { color: #b6b3ad; font-weight: 600; }

/* ---------- auth card ---------- */

.auth-card {
  position: sticky;
  top: 28px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: var(--paper-card);
  color: var(--ink-text);
  box-shadow: 0 44px 80px -40px rgba(0, 0, 0, 0.85);
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 15px;
  background: var(--paper-2);
}

.role-switch-btn {
  height: 38px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.role-switch-btn:hover { color: var(--ink-text); }
.role-switch-btn.is-active { background: var(--ink); color: #fff; }

.auth-view { padding: 23px 19px 6px; }
.auth-view[hidden] { display: none; }

.auth-view > .label { color: #c93a12; }
.auth-view h2 { margin-top: 14px; font-size: 32px; line-height: 1.02; letter-spacing: -0.048em; }

.auth-sub {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.auth-form { display: grid; gap: 13px; margin-top: 20px; }

.auth-field label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-text);
}

.auth-field input {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid rgba(11, 11, 12, 0.17);
  border-radius: 11px;
  background: #fff;
  color: var(--ink-text);
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input::placeholder { color: #a19d95; }

.auth-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250, 70, 22, 0.11);
}

.auth-hint { margin-top: 5px; font-size: 9.5px; line-height: 1.45; color: #8a8781; }

.auth-submit { width: 100%; height: 46px; margin-top: 3px; }
.auth-submit:disabled { opacity: 0.65; cursor: wait; }

.auth-error {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 47, 20, 0.22);
  border-radius: 9px;
  background: rgba(250, 70, 22, 0.06);
  color: #9e3115;
  font-size: 10.5px;
  line-height: 1.5;
}

.auth-error[hidden] { display: none; }

.demo-access {
  margin-top: 18px;
  padding: 13px;
  border: 1px dashed rgba(11, 11, 12, 0.16);
  border-radius: 12px;
  background: rgba(233, 229, 220, 0.42);
}

.demo-access-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.demo-badge {
  padding: 3px 7px;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #6b6862;
}

.demo-access p { margin-top: 7px; font-size: 10.5px; line-height: 1.5; color: var(--ink-muted); }

.demo-access .btn {
  height: 34px;
  margin-top: 10px;
  border-color: rgba(11, 11, 12, 0.2);
  color: var(--ink-text);
  font-size: 11px;
}

.demo-access .btn:hover { background: rgba(11, 11, 12, 0.05); }
.demo-access .btn:disabled { opacity: 0.6; cursor: wait; }
.demo-creds { font-family: var(--font-mono); font-size: 9px !important; color: #8a8781 !important; }

.auth-switch {
  margin-top: 15px;
  font-size: 10.5px;
  text-align: center;
  color: var(--ink-muted);
}

.auth-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c93a12;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-disclaimer {
  margin: 2px 12px 11px;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  color: #8a8781;
}

.portal-footer {
  padding: 21px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--ink);
  color: #7c7973;
  font-size: 10px;
}

.portal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

/* ============================================
   Creator & studio dashboards
   ============================================ */

.dash-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink-text);
}

.dash-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 11, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
}

.dash-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.dash-header .logo-word { color: var(--text); }

.dash-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-left: 6px;
}

.dash-nav a {
  font-size: 11.5px;
  font-weight: 500;
  color: #b8b5af;
  transition: color 0.2s;
}

.dash-nav a:hover { color: #fff; }

.dash-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  font-size: 11.5px;
  color: #c5c2bc;
}

.dash-user #navName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
}

.dash-header .btn-outline {
  height: 34px;
  padding: 0 13px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f4f2ee;
  font-size: 11px;
}

.dash-header .btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

.dash-main { min-height: calc(100vh - 72px); }
.dash-hero { padding: 52px 0 16px; }

.dash-demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 26px;
  padding: 10px 12px;
  border: 1px solid rgba(250, 70, 22, 0.2);
  border-radius: 10px;
  background: rgba(250, 70, 22, 0.055);
  color: #7e3b27;
  font-size: 10.5px;
  line-height: 1.55;
}

.dash-demo-banner[hidden] { display: none; }
.dash-demo-dot { width: 6px; height: 6px; flex-shrink: 0; margin-top: 4px; border-radius: 50%; background: var(--orange); }

.dash-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.dash-hero .label { color: #c93a12; }

.dash-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 4.6vw, 3.65rem);
  line-height: 0.97;
  letter-spacing: -0.052em;
}

.dash-lede {
  margin-top: 12px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.dash-hero-actions .btn { height: 42px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.dash-stat {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid rgba(11, 11, 12, 0.09);
  border-radius: 15px;
  background: var(--paper-card);
}

.dash-stat span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dash-stat strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dash-content { padding: 30px 0 88px; }

.dash-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.dash-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.dash-section-head h2 { font-size: 24px; letter-spacing: -0.035em; line-height: 1.1; }
.dash-section-head p { margin-top: 4px; font-size: 11.5px; color: var(--ink-muted); }

.dash-count {
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-muted);
  font-size: 9.5px;
  white-space: nowrap;
}

.dash-panel {
  padding: 14px;
  border: 1px solid rgba(11, 11, 12, 0.09);
  border-radius: 19px;
  background: var(--paper-card);
}

.application-list,
.manage-list { display: grid; gap: 9px; }

.application-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 18px;
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 13px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.application-card:hover {
  border-color: rgba(11, 11, 12, 0.15);
  box-shadow: 0 10px 24px -20px rgba(11, 11, 12, 0.3);
  transform: translateY(-1px);
}

.app-art { width: 52px; height: 52px; border-radius: 11px; }
.app-copy { min-width: 0; }

.app-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.app-title-row h3 { font-size: 13.5px; font-weight: 600; letter-spacing: -0.015em; }
.app-title-row h3 a:hover { color: var(--orange); }
.app-meta-line { margin-top: 4px; font-size: 10px; line-height: 1.4; color: var(--ink-muted); }

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-ok { border-color: rgba(55, 122, 63, 0.16); background: rgba(55, 122, 63, 0.08); color: #377a3f; }
.status-wait { border-color: rgba(154, 103, 14, 0.16); background: rgba(201, 138, 24, 0.08); color: #8e6115; }
.status-neutral { border-color: rgba(11, 11, 12, 0.09); background: rgba(11, 11, 12, 0.04); color: #6b6862; }
.status-bad { border-color: rgba(162, 40, 34, 0.16); background: rgba(162, 40, 34, 0.07); color: #a22822; }

.app-payout { text-align: right; }
.app-payout strong { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1; letter-spacing: -0.025em; }
.app-payout span { display: block; margin-top: 3px; font-size: 8px; color: var(--ink-muted); }

.app-open {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 50%;
  color: var(--orange);
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.app-open:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.dash-empty {
  display: grid;
  justify-items: center;
  padding: 48px 18px;
  text-align: center;
}

.dash-empty[hidden] { display: none; }

.dash-empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 70, 22, 0.16);
  border-radius: 50%;
  background: rgba(250, 70, 22, 0.07);
  color: var(--orange);
  font-size: 17px;
}

.dash-empty h3 { margin-top: 13px; font-size: 19px; letter-spacing: -0.03em; }
.dash-empty p { margin-top: 6px; max-width: 340px; font-size: 11.5px; line-height: 1.55; color: var(--ink-muted); }
.dash-empty .btn { margin-top: 16px; height: 36px; font-size: 11px; }

.dash-note-strip {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.dash-note-strip strong { color: var(--ink-text); }

/* ---------- studio campaign cards ---------- */

.manage-card {
  padding: 15px;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 14px;
  background: #fff;
}

.manage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.manage-genre { font-size: 8.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

.manage-main { display: flex; align-items: center; gap: 12px; margin-top: 11px; }
.manage-art { width: 48px; height: 48px; border-radius: 10px; }
.manage-copy { min-width: 0; }
.manage-copy h3 { font-size: 16px; letter-spacing: -0.025em; }
.manage-copy h3 a:hover { color: var(--orange); }
.manage-copy p { margin-top: 4px; font-size: 10px; color: var(--ink-muted); }

.manage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(11, 11, 12, 0.07);
}

.manage-stats span { display: block; font-size: 8.5px; color: var(--ink-muted); }
.manage-stats strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.manage-stats div span { margin-top: 3px; }

.manage-progress { margin-top: 13px; }
.manage-progress-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 9px; color: var(--ink-muted); }

.manage-bar {
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.08);
}

.manage-bar i { display: block; height: 100%; border-radius: inherit; background: var(--orange); }

.manage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(11, 11, 12, 0.07);
  font-size: 9px;
  color: #8a8781;
}

.manage-link { font-size: 10.5px; font-weight: 600; color: var(--ink-text); }
.manage-link:hover { color: var(--orange); }

/* ---------- profile ---------- */

.dash-aside { position: sticky; top: 92px; display: grid; gap: 13px; }

.profile-card,
.profile-form-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background:
    radial-gradient(110% 65% at 100% 0%, rgba(250, 70, 22, 0.1), transparent 60%),
    linear-gradient(180deg, #17171a 0%, #101012 100%);
  color: var(--text);
  box-shadow: 0 24px 44px -38px rgba(11, 11, 12, 0.5);
}

.profile-card[hidden],
.profile-form-card[hidden] { display: none; }

.profile-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.profile-label { font-size: 8.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9a968f; }

.demo-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(193, 250, 129, 0.2);
  border-radius: 999px;
  background: rgba(193, 250, 129, 0.07);
  color: var(--lime);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-tag[hidden] { display: none; }

.profile-identity { display: flex; align-items: center; gap: 10px; margin-top: 14px; }

.profile-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #fa4616, #8c2c10);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.profile-identity div { min-width: 0; }
.profile-identity strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.profile-identity span { display: block; margin-top: 3px; overflow-wrap: anywhere; font-size: 9.5px; color: #8f8c86; }

.profile-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line-soft);
}

.profile-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; }
.profile-list dt { flex-shrink: 0; color: #8f8c86; }
.profile-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; text-align: right; color: #e9e6e0; }
.profile-list dd a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.profile-list dd.is-empty { color: #7c7973; font-style: italic; }

.profile-card > .btn {
  height: 36px;
  margin-top: 16px;
  border-color: rgba(255, 255, 255, 0.17);
  color: #f4f2ee;
  font-size: 11px;
}

.profile-card > .btn:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); }

.profile-status { margin-top: 10px; font-size: 10px; text-align: center; color: var(--lime); }
.profile-status[hidden] { display: none; }

.profile-form-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-form-head h3 { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.025em; }

.profile-close {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #c5c2bc;
  font-size: 16px;
  line-height: 1;
}

.profile-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.profile-form-intro { margin-top: 8px; font-size: 9.5px; line-height: 1.5; color: #8f8c86; }

.profile-form-grid { display: grid; gap: 10px; margin-top: 14px; }
.profile-field label { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.02em; color: #d5d2cc; }

.profile-field input,
.profile-field select {
  width: 100%;
  height: 37px;
  margin-top: 4px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 11px;
}

.profile-field input::placeholder { color: #6f6c66; }
.profile-field input:focus,
.profile-field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 2px rgba(250, 70, 22, 0.12); }
.profile-field select option { background: #17171a; color: #fff; }

.profile-error { margin-top: 10px; font-size: 10px; line-height: 1.45; color: #ff9676; }
.profile-error[hidden] { display: none; }

.profile-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.profile-actions .btn { height: 35px; padding: 0 12px; font-size: 10.5px; }
.profile-actions .btn-outline { border-color: rgba(255, 255, 255, 0.17); color: #f4f2ee; }
.profile-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.07); }

.dash-tip {
  padding: 16px 18px;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.42);
}

.dash-tip h3 { font-size: 13px; letter-spacing: -0.02em; }
.dash-tip ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.dash-tip li { position: relative; padding-left: 13px; font-size: 10px; line-height: 1.5; color: var(--ink-muted); }
.dash-tip li::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }

/* ============================================
   Portal responsive
   ============================================ */

@media (max-width: 1080px) {
  .portal-grid { grid-template-columns: minmax(0, 1fr) 410px; gap: 46px; }
  .portal-intro h1 { font-size: clamp(2.8rem, 5.4vw, 4rem); }
  .dash-layout { grid-template-columns: minmax(0, 1fr) 318px; gap: 18px; }
  .application-card { grid-template-columns: 48px minmax(0, 1fr) auto 18px; gap: 10px; }
  .app-art { width: 48px; height: 48px; }
}

@media (max-width: 960px) {
  .portal-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .portal-intro { padding-top: 0; }
  .auth-card { position: static; width: 100%; }
  .portal-split { max-width: none; }
  .dash-hero-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-aside { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .dash-tip { grid-column: 1 / -1; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .portal-header-inner { height: 64px; }
  .portal-back { font-size: 11px; }
  .portal-main { padding: 38px 0 60px; }
  .portal-intro h1 { font-size: clamp(2.6rem, 10.5vw, 3.35rem); }
  .portal-lede { font-size: 14px; }
  .portal-split { grid-template-columns: 1fr; gap: 9px; margin-top: 24px; }
  .portal-side-card { padding: 14px; }
  .portal-note { margin-top: 22px; }
  .auth-view { padding: 20px 13px 4px; }
  .auth-view h2 { font-size: 28px; }
  .auth-card { border-radius: 21px; }
  .auth-disclaimer { margin-inline: 6px; }
  .portal-footer { padding: 17px 0; }
  .dash-header-inner { height: 64px; gap: 12px; }
  .dash-nav { display: none; }
  .dash-actions { gap: 8px; }
  .dash-user { max-width: 118px; font-size: 10px; }
  .dash-avatar { width: 26px; height: 26px; font-size: 9px; }
  .dash-header .btn-outline { height: 32px; padding: 0 10px; font-size: 10px; }
  .dash-main { min-height: calc(100vh - 64px); }
  .dash-hero { padding: 32px 0 12px; }
  .dash-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .dash-lede { font-size: 12px; }
  .dash-hero-actions, .dash-hero-actions .btn { width: 100%; }
  .dash-stats { gap: 8px; margin-top: 23px; }
  .dash-stat { padding: 13px; border-radius: 12px; }
  .dash-stat strong { font-size: 22px; }
  .dash-stat span { font-size: 8px; }
  .dash-content { padding: 22px 0 56px; }
  .dash-section-head { flex-direction: column; align-items: flex-start; gap: 7px; }
  .dash-section-head h2 { font-size: 21px; }
  .dash-panel { padding: 9px; border-radius: 15px; }
  .application-card { grid-template-columns: 44px minmax(0, 1fr); gap: 9px; padding: 11px; }
  .app-art { width: 44px; height: 44px; border-radius: 9px; }
  .app-payout { display: flex; align-items: baseline; grid-column: 2; gap: 5px; margin-top: -4px; text-align: left; }
  .app-payout strong { font-size: 14px; }
  .app-payout span { margin-top: 0; font-size: 8px; }
  .app-open { display: none; }
  .app-title-row h3 { font-size: 13px; }
  .dash-aside { grid-template-columns: 1fr; }
  .dash-tip { grid-column: auto; }
  .manage-stats strong { font-size: 17px; }
  .manage-copy h3 { font-size: 15px; }
}

@media (max-width: 480px) {
  .portal-header .logo-word { font-size: 17px; }
  .portal-intro h1 { font-size: clamp(2.35rem, 12vw, 3rem); }
  .eyebrow-pill { font-size: 10.5px; }
  .auth-view h2 { font-size: 26px; }
  .role-switch-btn { font-size: 11px; }
  .dash-user #navName { display: none; }
  .dash-user { max-width: 26px; }
  .dash-stats { gap: 7px; }
  .dash-stat { padding: 12px 10px; }
  .dash-stat strong { font-size: 20px; }
  .manage-stats { gap: 5px; }
  .manage-stats strong { font-size: 16px; }
  .profile-form-grid { gap: 9px; }
  .dash-section-head h2 { font-size: 20px; }
}
