.page-portal {
  background: var(--portal-bg, #070b14);
  color: var(--portal-text, #e5e7eb);
}

/* Chrome portail : même rendu sur toutes les pages (admin, roadmap, erreurs…) */
.dp-header {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.dp-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dp-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.dp-header__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.dp-header__logo img {
  height: 2rem;
  width: auto;
}

.dp-header__actions {
  flex-shrink: 0;
}

.dp-section-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Contenu administratif */
.asnr {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Conteneur horizontal commun (header, sections, roadmap) */
.dp-container {
  width: 100%;
  max-width: var(--portal-content-max, 72rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Kicker / sur-titre (login, suivi, roadmap) */
.dp-kicker,
.asnr-kicker,
.sr-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--portal-accent, #3ecfd9);
}

.dp-section-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 20, 0.85);
}

.dp-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.dp-section-link:hover {
  color: #fff;
  border-color: rgba(62, 207, 217, 0.35);
}

.dp-section-link.is-active {
  color: #3ecfd9;
  border-color: rgba(62, 207, 217, 0.45);
  background: rgba(62, 207, 217, 0.1);
}

.page-asnr-suivi {
  position: relative;
  overflow-x: clip;
}

.asnr-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.asnr-glow--cyan {
  width: 28rem;
  height: 28rem;
  top: -6rem;
  left: -4rem;
  background: rgba(62, 207, 217, 0.14);
}

.asnr-glow--violet {
  width: 32rem;
  height: 32rem;
  top: 20rem;
  right: -8rem;
  background: rgba(176, 119, 221, 0.1);
}

.asnr {
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}

.asnr-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asnr-toc::-webkit-scrollbar {
  display: none;
}

.asnr-toc a {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.asnr-toc a:hover {
  color: #fff;
  border-color: rgba(62, 207, 217, 0.45);
  background: rgba(62, 207, 217, 0.08);
}

.asnr-hero {
  padding: 2rem 0 1rem;
}

.asnr-title {
  margin-top: 0.6rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 24ch;
}

.asnr-lead {
  margin-top: 1rem;
  color: #9ca3af;
  line-height: 1.7;
  max-width: 42rem;
}

.asnr-section {
  padding: 1.25rem 0;
  scroll-margin-top: 5.5rem;
}

.asnr-section--last {
  padding-bottom: 2rem;
}

.asnr-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .asnr-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.asnr-kpi {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
}

.asnr-kpi--ok .asnr-kpi-value {
  color: #86efac;
}

.asnr-kpi--warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.02));
}

.asnr-kpi--warn .asnr-kpi-value {
  color: #fcd34d;
}

.asnr-kpi-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #3ecfd9;
  margin-bottom: 0.5rem;
}

.asnr-kpi-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.asnr-kpi-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #9ca3af;
  line-height: 1.4;
}

.asnr-panel,
.asnr-project,
.asnr-devis,
.asnr-faq,
.asnr-chain {
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
}

.asnr-panel {
  padding: 1.25rem;
}

.asnr-panel--summary {
  margin-top: 0.5rem;
}

.asnr-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.asnr-panel-head--standalone {
  margin-bottom: 1rem;
}

.asnr-panel-head h2 {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.asnr-panel-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b077dd;
}

.asnr-panel-desc {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.asnr-summary-input,
.asnr-field input,
.asnr-field select,
.asnr-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.asnr-summary-input:focus,
.asnr-field input:focus,
.asnr-field select:focus,
.asnr-field textarea:focus {
  outline: none;
  border-color: rgba(62, 207, 217, 0.55);
  box-shadow: 0 0 0 3px rgba(62, 207, 217, 0.12);
}

.asnr-actions {
  display: grid;
  gap: 0.75rem;
}

.asnr-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s, border-color 0.2s;
}

.asnr-action.is-done {
  opacity: 0.62;
}

.asnr-action.is-done .asnr-action-title {
  text-decoration: line-through;
}

.asnr-action--urgent {
  border-color: rgba(251, 191, 36, 0.28);
}

.asnr-action-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 0.15rem;
  cursor: pointer;
}

.asnr-action-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.asnr-action-box {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.asnr-action-check input:checked + .asnr-action-box {
  border-color: #3ecfd9;
  background: rgba(62, 207, 217, 0.2);
}

.asnr-action-check input:checked + .asnr-action-box::after {
  content: '✓';
  font-size: 0.75rem;
  color: #3ecfd9;
}

.asnr-action-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.asnr-action-title {
  font-weight: 600;
  color: #fff;
}

.asnr-action-detail {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.55;
}

.asnr-pill {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.asnr-pill--urgent {
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.35);
}

.asnr-pill--normal {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
}

.asnr-pill--later {
  color: #9ca3af;
}

.asnr-pill--owner {
  color: #d8b4fe;
  border-color: rgba(216, 180, 254, 0.3);
}

.asnr-pill--status.asnr-pill--depose-ugap { color: #93c5fd; }
.asnr-pill--status.asnr-pill--dispo-ugap { color: #67e8f9; }
.asnr-pill--status.asnr-pill--attente-qr-ugap { color: #fcd34d; }
.asnr-pill--status.asnr-pill--en-validation { color: #fbbf24; }
.asnr-pill--status.asnr-pill--valide,
.asnr-pill--status.asnr-pill--commande,
.asnr-pill--status.asnr-pill--commande-generee { color: #86efac; }
.asnr-pill--status.asnr-pill--expire,
.asnr-pill--status.asnr-pill--refuse,
.asnr-pill--status.asnr-pill--annule { color: #fca5a5; }

.asnr-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 800px) {
  .asnr-projects-grid {
    grid-template-columns: 1fr;
  }
}

.asnr-project {
  padding: 1.25rem;
}

.asnr-project--prep {
  border-color: rgba(251, 191, 36, 0.22);
}

.asnr-project--sira {
  border-color: rgba(167, 139, 250, 0.22);
}

.asnr-project-tag {
  font-size: 0.6875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.asnr-project h2 {
  margin-top: 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.asnr-project-status {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #3ecfd9;
}

.asnr-project-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.8125rem;
}

.asnr-project-stats dt {
  color: #9ca3af;
}

.asnr-project-stats dd {
  font-weight: 600;
  color: #fff;
}

.asnr-project-next {
  font-size: 0.8125rem;
  color: #d1d5db;
  line-height: 1.55;
}

.asnr-downloads {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asnr-downloads-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.asnr-download {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.8125rem;
  color: #3ecfd9;
  transition: color 0.2s;
}

.asnr-download:hover {
  color: #fff;
}

.asnr-total-line {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.asnr-total-line strong {
  color: #fff;
}

.asnr-timeline {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.asnr-timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.asnr-timeline-item:last-child {
  border-bottom: none;
}

.asnr-timeline-dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #3ecfd9;
  box-shadow: 0 0 0 4px rgba(62, 207, 217, 0.15);
}

.asnr-timeline-item time {
  font-size: 0.75rem;
  color: #9ca3af;
}

.asnr-timeline-actor {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: #b077dd;
}

.asnr-timeline-item p {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.asnr-timeline-form {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asnr-form-title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.asnr-form-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .asnr-form-row {
    grid-template-columns: 1fr;
  }
}

.asnr-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.asnr-field span {
  font-size: 0.7rem;
  color: #9ca3af;
}

.asnr-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.asnr-devis-grid {
  display: grid;
  gap: 1rem;
}

.asnr-devis {
  padding: 1.15rem;
}

.asnr-devis-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.asnr-devis h3 {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.asnr-devis-projet {
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.asnr-devis-projet--PREP {
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.asnr-devis-projet--SIRA {
  color: #c4b5fd;
  border: 1px solid rgba(196, 181, 253, 0.35);
}

.asnr-cs {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #3ecfd9;
}

.asnr-devis-objet {
  margin: 0.75rem 0;
  color: #e5e7eb;
}

.asnr-devis-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.asnr-devis-facts dt {
  color: #9ca3af;
}

.asnr-fact-wide {
  grid-column: 1 / -1;
}

.asnr-devis-edit {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.75rem;
}

.asnr-devis-updated {
  font-size: 0.7rem;
  color: #6b7280;
}

.asnr-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .asnr-faq-grid {
    grid-template-columns: 1fr;
  }
}

.asnr-faq {
  padding: 1rem;
}

.asnr-faq h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.asnr-faq p {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.55;
}

.asnr-chain {
  padding: 1rem 1.15rem;
  font-size: 0.8125rem;
  color: #d1d5db;
}

.asnr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.asnr-btn:hover {
  opacity: 0.92;
}

.asnr-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.asnr-btn-primary {
  background: linear-gradient(135deg, var(--portal-accent, #3ecfd9), var(--portal-accent-end, #2ba8b0));
  color: #041015;
}

.asnr-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.asnr-btn-download {
  background: rgba(62, 207, 217, 0.12);
  color: #3ecfd9;
  border: 1px solid rgba(62, 207, 217, 0.28);
  text-decoration: none;
  flex-shrink: 0;
}

.asnr-save-hint {
  font-size: 0.75rem;
  color: #86efac;
}

.asnr-save-hint.is-error {
  color: #fca5a5;
}

/* Login (conservé) */
.dp-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.dp-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #3ecfd9;
  border: 1px solid rgba(62, 207, 217, 0.35);
  background: rgba(62, 207, 217, 0.08);
}

.dp-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d5db;
  font-size: 0.8125rem;
  background: transparent;
  cursor: pointer;
}

.dp-login-wrap {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.dp-login-card {
  width: 100%;
  max-width: 28rem;
}

.dp-login-card--centered {
  text-align: center;
}

.dp-login-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dp-login-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.dp-login-desc {
  color: var(--portal-muted, #9ca3af);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.dp-login-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dp-field span {
  font-size: 0.75rem;
  color: var(--portal-muted, #9ca3af);
}

.dp-field input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  border: 1px solid var(--portal-border-input, rgba(255, 255, 255, 0.15));
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
}

.dp-field input:focus {
  outline: none;
  border-color: rgba(62, 207, 217, 0.55);
  box-shadow: 0 0 0 3px var(--portal-accent-soft, rgba(62, 207, 217, 0.12));
}

.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--portal-transition, 0.2s ease);
}

.dp-btn:hover {
  opacity: 0.92;
}

.dp-btn-primary {
  background: linear-gradient(135deg, var(--portal-accent, #3ecfd9), var(--portal-accent-end, #2ba8b0));
  color: #041015;
}

.dp-alert {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  font-size: 0.875rem;
  line-height: 1.5;
}

.dp-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.dp-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--portal-btn-radius, 0.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d5db;
  font-size: 0.8125rem;
  text-decoration: none;
}

.dp-home-link:hover {
  color: #fff;
  border-color: rgba(62, 207, 217, 0.35);
}

.dp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dp-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-landing {
  padding: 2.5rem 0 4rem;
}

.portal-landing__hero {
  margin-bottom: 2rem;
}

.portal-landing__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 0.5rem;
}

.portal-landing__lead {
  margin-top: 0.75rem;
  color: var(--portal-muted, #9ca3af);
  max-width: 40rem;
  line-height: 1.6;
}

.portal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .portal-cards {
    grid-template-columns: 1fr;
  }
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  min-height: 14rem;
  transition: border-color 0.2s, transform 0.15s;
}

.portal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 207, 217, 0.35);
}

.portal-card--cyan { border-top: 3px solid var(--portal-accent, #3ecfd9); }
.portal-card--yellow { border-top: 3px solid var(--portal-yellow, #ffcc49); }
.portal-card--purple { border-top: 3px solid var(--portal-violet, #b077dd); }

.portal-card__icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.portal-card__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--portal-accent, #3ecfd9);
}

.portal-card--yellow .portal-card__icon { color: var(--portal-yellow, #ffcc49); }
.portal-card--purple .portal-card__icon { color: var(--portal-violet, #b077dd); }

.portal-card__title {
  font-size: 1.15rem;
  font-weight: 700;
}

.portal-card__desc {
  font-size: 0.85rem;
  color: var(--portal-muted, #9ca3af);
  line-height: 1.55;
  flex: 1;
}

.portal-card__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--portal-accent, #3ecfd9);
}

.portal-topic {
  padding: 2rem 0 4rem;
}

.portal-topic__hero {
  margin-bottom: 1.5rem;
}

.portal-topic__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-top: 0.5rem;
}

.portal-topic__lead {
  margin-top: 0.75rem;
  color: var(--portal-muted, #9ca3af);
  max-width: 42rem;
  line-height: 1.6;
}

.portal-topic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .portal-topic__grid {
    grid-template-columns: 1fr;
  }
}

.portal-topic__panel h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portal-topic__panel p {
  font-size: 0.85rem;
  color: var(--portal-muted, #9ca3af);
  line-height: 1.55;
}

.portal-topic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
