:root {
  --ws-navy: #0a2238;
  --ws-blue: #0b6681;
  --ws-teal: #087f78;
  --ws-cyan: #dff5f3;
  --ws-ink: #172b42;
  --ws-muted: #607086;
  --ws-border: #dce5eb;
  --ws-soft: #f4f8fa;
  --ws-warn: #a85d08;
  --ws-danger: #b42318;
  --ws-success: #147a55;
  --ws-radius: 18px;
}

.workspace-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: end;
  margin: 0 0 24px;
  padding: clamp(25px, 5vw, 48px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(82, 210, 201, .23), transparent 34%),
    linear-gradient(135deg, #071b2d 0%, #0b4159 64%, #087f78 145%);
  box-shadow: 0 28px 70px rgba(7, 27, 45, .18);
}

.workspace-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -85px;
  bottom: -120px;
  border: 34px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.workspace-hero > * { position: relative; z-index: 1; }
.workspace-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fe1dc;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.workspace-hero h1 {
  max-width: 780px;
  margin: 9px 0 13px;
  color: #fff !important;
  font: 800 clamp(2.25rem, 5vw, 4.45rem)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.workspace-hero p {
  max-width: 720px;
  margin: 0;
  color: #d9ebf0 !important;
  font-size: clamp(.98rem, 1.8vw, 1.12rem);
  font-weight: 650;
  line-height: 1.65;
}
.workspace-hero__status {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}
.workspace-hero__status div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.workspace-hero__status div:last-child { padding: 0; border: 0; }
.workspace-hero__status span { color: #bed2da; font-size: .75rem; font-weight: 850; }
.workspace-hero__status strong { color: #fff; font-size: .83rem; text-align: right; }

.workspace-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.workspace-topic-nav { border-bottom: 1px solid #dbe5eb; background: #f8fbfc; }
.workspace-topic-nav__inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.workspace-topic-nav__inner::-webkit-scrollbar { display: none; }
.workspace-topic-nav a { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; color: #52677b; font-size: .68rem; font-weight: 850; }
.workspace-topic-nav a:hover { background: #e8f3f5; color: var(--ws-blue); }
.workspace-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--ws-blue);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}
.workspace-button:hover { background: #07546d; transform: translateY(-1px); }
.workspace-button--light { background: #fff; color: var(--ws-navy) !important; }
.workspace-button--light:hover { background: #edf7f8; }
.workspace-button--ghost { border-color: var(--ws-border); background: #fff; color: var(--ws-blue) !important; }
.workspace-button--danger { background: #fff2f0; border-color: #f1c3bd; color: var(--ws-danger) !important; }

.workspace-section { margin: 28px 0; }
.workspace-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.workspace-section__head h2 {
  margin: 3px 0 0;
  color: var(--ws-ink);
  font: 800 clamp(1.55rem, 3vw, 2.25rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}
.workspace-section__head p { margin: 5px 0 0; color: var(--ws-muted); font-weight: 700; }
.workspace-section__head > a { color: var(--ws-blue); font-size: .79rem; font-weight: 900; }

.workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.workspace-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workspace-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workspace-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  background: #fff;
  color: var(--ws-ink);
  box-shadow: 0 10px 28px rgba(23, 43, 66, .055);
}
.workspace-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--ws-blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.workspace-card h2,
.workspace-card h3 { margin: 0; color: var(--ws-ink); font-weight: 900; line-height: 1.25; }
.workspace-card p { margin: 8px 0 0; color: var(--ws-muted); font-size: .86rem; font-weight: 650; line-height: 1.55; }

.workspace-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.workspace-metric strong { color: var(--ws-navy); font-size: 1.75rem; }
.workspace-metric span { color: var(--ws-muted); font-size: .72rem; font-weight: 800; }

.profile-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 20px; align-items: start; }
.profile-panel { position: sticky; top: 16px; }
.profile-form { display: grid; gap: 18px; }
.profile-field > label,
.calculator-field > label { display: block; margin-bottom: 7px; color: #334a60; font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.profile-field select,
.calculator-field input,
.calculator-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8e1;
  border-radius: 10px;
  background: #fff;
  color: var(--ws-ink);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.2;
}
.profile-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--ws-border);
  border-radius: 10px;
  background: var(--ws-soft);
  color: #334a60;
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
}
.profile-option:has(input:checked) { border-color: #72bfb8; background: #e8f8f5; color: #0b5d58; }
.profile-option input { accent-color: var(--ws-teal); }
.profile-privacy { padding: 11px 12px; border-radius: 10px; background: #eef6f8; color: #52677b; font-size: .72rem; font-weight: 750; line-height: 1.45; }

.agenda-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.agenda-summary div { padding: 14px; border: 1px solid var(--ws-border); border-radius: 13px; background: #fff; }
.agenda-summary span { display: block; color: var(--ws-muted); font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.agenda-summary strong { display: block; margin-top: 4px; color: var(--ws-ink); font-size: 1.4rem; }
.agenda-list { display: grid; gap: 9px; }
.agenda-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ws-border);
  border-radius: 13px;
  background: #fff;
}
.agenda-item[hidden] { display: none !important; }
.agenda-item.is-complete { opacity: .58; background: #f7faf9; }
.agenda-item.is-complete .agenda-item__title { text-decoration: line-through; }
.agenda-item.is-today { border-color: #e7bd78; box-shadow: inset 4px 0 #c87912; }
.agenda-item__check { width: 19px; height: 19px; accent-color: var(--ws-success); }
.agenda-item__body { min-width: 0; }
.agenda-item__title { display: block; color: var(--ws-ink); font-size: .87rem; font-weight: 900; }
.agenda-item__detail { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 3px; color: var(--ws-muted); font-size: .68rem; font-weight: 650; line-height: 1.4; }
.agenda-item__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.agenda-item__meta span { padding: 4px 7px; border-radius: 999px; background: #edf4f6; color: #496376; font-size: .63rem; font-weight: 850; }
.agenda-item time { color: var(--ws-navy); font-size: .78rem; font-weight: 900; text-align: right; white-space: nowrap; }
.agenda-empty { padding: 28px; border: 1px dashed #b7c8d4; border-radius: 15px; background: #f8fbfc; color: var(--ws-muted); text-align: center; font-weight: 800; }

.radar-card { display: flex; flex-direction: column; min-height: 205px; }
.radar-card__impact { align-self: flex-start; padding: 5px 8px; border-radius: 999px; background: #e5f5f2; color: #0b6c65; font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.radar-card h3 { margin-top: 13px; font: 800 1.12rem/1.32 Georgia, "Times New Roman", serif; }
.radar-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; color: var(--ws-blue); font-size: .72rem; font-weight: 900; }
.source-card { display: flex; flex-direction: column; min-height: 180px; transition: transform .18s, border-color .18s; }
.source-card:hover { transform: translateY(-2px); border-color: #80bbb8; }
.source-card strong { color: var(--ws-ink); font-size: 1rem; }
.source-card small { display: block; margin-top: auto; padding-top: 15px; color: var(--ws-blue); font-weight: 900; }

.calculator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calculator-card { display: flex; flex-direction: column; gap: 14px; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calculator-result { padding: 15px; border-radius: 12px; background: #edf7f6; color: #0b5d58; }
.calculator-result span { display: block; font-size: .67rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.calculator-result strong { display: block; margin-top: 4px; color: #064e49; font-size: 1.35rem; }
.calculator-note { color: var(--ws-muted); font-size: .68rem; font-weight: 700; line-height: 1.45; }

.checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checklist-card { padding: 0; overflow: hidden; }
.checklist-card__head { padding: 19px; border-bottom: 1px solid var(--ws-border); background: linear-gradient(180deg, #fff, #f8fbfc); }
.checklist-card__head p { margin-top: 5px; }
.checklist { display: grid; padding: 8px 19px 14px; }
.checklist label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid #edf2f5; color: #3d5368; font-size: .8rem; font-weight: 750; line-height: 1.45; cursor: pointer; }
.checklist label:last-child { border: 0; }
.checklist input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ws-success); }
.checklist label:has(input:checked) span { color: #7a8794; text-decoration: line-through; }
.checklist-card__actions { display: flex; justify-content: space-between; gap: 8px; padding: 0 19px 19px; }
.text-button { border: 0; background: none; color: var(--ws-blue); font-size: .7rem; font-weight: 900; cursor: pointer; }

.workspace-disclaimer { padding: 14px 16px; border: 1px solid #ead29f; border-radius: 13px; background: #fff9ea; color: #72501b; font-size: .76rem; font-weight: 750; line-height: 1.5; }
.workspace-toast { position: fixed; right: 20px; bottom: 22px; z-index: 1100; max-width: 340px; padding: 12px 15px; border-radius: 11px; background: #09243a; color: #fff; font-size: .78rem; font-weight: 850; box-shadow: 0 20px 50px rgba(9, 36, 58, .28); }

.arca-kicker-dark { color: var(--ws-teal); }
.arca-active-card .workspace-card__label span:last-child { color: var(--ws-success); }
.arca-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  transition: transform .18s, border-color .18s;
}
.arca-link-card:hover { transform: translateY(-2px); border-color: #80bbb8; }
.arca-link-card > strong { color: var(--ws-blue); font-size: 1.35rem; }
.arca-link-card h3 { margin-top: 10px; font: 800 1.08rem/1.3 Georgia, "Times New Roman", serif; }
.arca-access-badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff4d8;
  color: #815307;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.arca-access-badge--public { background: #e6f6f2; color: #0c6a59; }
.arca-table-wrap {
  overflow: auto;
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 43, 66, .045);
}
.arca-data-table { width: 100%; min-width: 860px; border-collapse: collapse; color: var(--ws-ink); font-size: .77rem; }
.arca-data-table th,
.arca-data-table td { padding: 12px 14px; border-bottom: 1px solid #e7edf1; text-align: right; white-space: nowrap; }
.arca-data-table thead th { position: sticky; top: 0; z-index: 1; background: #0b4159; color: #fff; font-size: .66rem; letter-spacing: .045em; text-transform: uppercase; }
.arca-data-table th:first-child,
.arca-data-table td:first-child { text-align: left; }
.arca-data-table tbody tr:nth-child(even) { background: #f7fafb; }
.arca-data-table tbody th { color: var(--ws-blue); font-size: .9rem; }
.arca-service-list { display: grid; gap: 11px; }
.arca-service-card { padding: 17px 19px; }
.arca-service-card__head,
.arca-service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.arca-service-card__head h3 { margin-top: 4px; font: 800 1.02rem/1.3 Georgia, "Times New Roman", serif; }
.arca-service-id { color: var(--ws-blue); font: 900 .63rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.arca-service-card__foot { margin-top: 14px; padding-top: 11px; border-top: 1px solid #e8eef2; color: var(--ws-muted); font-size: .7rem; font-weight: 800; }
.arca-service-card__foot a { color: var(--ws-blue); font-weight: 900; }
.arca-security-boundary {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(300px, 1fr);
  gap: 18px 32px;
  padding: 25px;
  border-radius: 20px;
  background: #0a2238;
  color: #dbeaf1;
}
.arca-security-boundary h2 { margin: 6px 0 0; color: #fff; font: 800 1.65rem/1.12 Georgia, "Times New Roman", serif; }
.arca-security-boundary ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: .8rem; font-weight: 800; }
.arca-security-boundary p { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); color: #b8cbd5; font-size: .76rem; font-weight: 700; line-height: 1.55; }

.mobile-workspace-nav { display: none; }

@media (max-width: 1020px) {
  .workspace-hero { grid-template-columns: 1fr; }
  .workspace-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-panel { position: static; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  main#main { padding-top: 24px !important; }
  .workspace-topic-nav__inner { padding-left: 14px; padding-right: 14px; }
  .workspace-hero { padding: 24px 20px; border-radius: 20px; }
  .workspace-hero h1 { font-size: 2.42rem; }
  .workspace-grid,
  .workspace-grid--2,
  .workspace-grid--4,
  .calculator-grid,
  .checklist-grid { grid-template-columns: 1fr; }
  .workspace-section__head { align-items: flex-start; flex-direction: column; }
  .profile-options { grid-template-columns: 1fr; }
  .agenda-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agenda-summary div { padding: 11px 9px; }
  .agenda-item { grid-template-columns: auto minmax(0, 1fr); }
  .agenda-item time { grid-column: 2; text-align: left; }
  .calculator-fields { grid-template-columns: 1fr; }
  .arca-service-card__head,
  .arca-service-card__foot { align-items: flex-start; flex-direction: column; }
  .arca-security-boundary { grid-template-columns: 1fr; }
  .arca-security-boundary p { grid-column: 1; }
  #backToTop { bottom: 82px !important; }
  .mobile-workspace-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 64px;
    padding: 6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border-top: 1px solid #d5e0e7;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -10px 35px rgba(15, 35, 55, .11);
    backdrop-filter: blur(18px);
  }
  .mobile-workspace-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #617286; font-size: .59rem; font-weight: 850; }
  .mobile-workspace-nav a strong { font-size: 1rem; line-height: 1; }
  .mobile-workspace-nav a.active { color: var(--ws-blue); }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-button,
  .source-card { transition: none; }
}

/* Utilidades personales y acabado de la experiencia profesional */
.workspace-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.header-utility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #d3dee6;
  border-radius: 9px;
  background: #fff;
  color: #334a60 !important;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.header-utility:hover { border-color: #7eb5c0; background: #eef7f8; color: #075f73 !important; }
.header-utility--primary { border-color: var(--ws-blue); background: var(--ws-blue); color: #fff !important; }
.header-utility--primary:hover { background: #07546d; color: #fff !important; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.profile-field input[type="email"],
.profile-field input[type="text"],
.profile-field input[type="password"],
.profile-field input[type="date"],
.profile-field textarea,
.profile-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8e1;
  border-radius: 10px;
  background: #fff;
  color: var(--ws-ink);
  font: 750 .92rem/1.35 inherit;
}
.profile-field textarea { min-height: 92px; resize: vertical; }
.profile-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-fieldset legend { margin-bottom: 9px; color: #334a60; font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.profile-options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alert-profile-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); }
.alert-explainer { display: grid; gap: 13px; }

.radar-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, .55fr) minmax(170px, .65fr);
  gap: 12px;
  margin-bottom: 25px;
}
.radar-card--structured { min-height: 390px; }
.radar-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.radar-card__impact--alto { background: #fff0ee; color: #a12a20; }
.radar-card__impact--medio { background: #fff6dc; color: #8a5800; }
.radar-card__impact--informativo { background: #e7f2fb; color: #185f92; }
.radar-topic { padding: 5px 8px; border-radius: 999px; background: #eef3f6; color: #4b6073; font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.radar-brief { display: grid; gap: 8px; margin: 14px 0 0; }
.radar-brief > div { padding: 9px 10px; border-left: 3px solid #b8d3da; background: #f6f9fa; }
.radar-brief dt { color: #506579; font-size: .62rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.radar-brief dd { margin: 3px 0 0; color: #263c50; font-size: .76rem; font-weight: 750; line-height: 1.42; }
.radar-card__footer a { color: var(--ws-blue); text-align: right; }

.saved-list { display: grid; gap: 11px; }
.saved-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 18px; padding: 16px 18px; }
.saved-item > a { color: var(--ws-ink); font: 800 1.02rem/1.35 Georgia, "Times New Roman", serif; }
.saved-item > span { grid-column: 1; color: var(--ws-muted); font-size: .7rem; font-weight: 750; }
.saved-item > button { grid-column: 2; grid-row: 1 / span 2; }
.followed-topics { display: flex; flex-wrap: wrap; gap: 9px; }
.followed-topic { padding: 9px 12px; border: 1px solid #c7d9df; border-radius: 999px; background: #edf6f7; color: #075f73; font-size: .76rem; font-weight: 900; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #e0a933 !important;
  outline-offset: 3px !important;
}

html.theme-dark { color-scheme: dark; }
html.theme-dark body { background: #07111d !important; color: #e4edf5 !important; }
html.theme-dark .header-top { background: #0f172a !important; border-color: #29364a !important; }
html.theme-dark .header-nav { background: #111827 !important; border-color: #29364a !important; }
html.theme-dark .brand { color: #f7fbff !important; }
html.theme-dark .brand span { color: #42c7c0 !important; }
html.theme-dark .search-box,
html.theme-dark .header-utility { background: #121f33 !important; border-color: #34445b !important; color: #dce7f1 !important; }
html.theme-dark .header-utility--primary { background: #0a7287 !important; border-color: #0a7287 !important; color: #fff !important; }
html.theme-dark .search-box input { color: #f4f8fb !important; }
html.theme-dark .workspace-topic-nav { border-color: #28374a; background: #0b1624; }
html.theme-dark .workspace-topic-nav a { color: #b9c9d7; }
html.theme-dark .workspace-topic-nav a:hover { background: #16273a; color: #75d7d1; }
html.theme-dark .workspace-section__head h2,
html.theme-dark .workspace-card h2,
html.theme-dark .workspace-card h3,
html.theme-dark .workspace-card strong,
html.theme-dark .saved-item > a,
html.theme-dark .agenda-item__title { color: #eef5fb; }
html.theme-dark .workspace-section__head p,
html.theme-dark .workspace-card p,
html.theme-dark .saved-item > span,
html.theme-dark .agenda-item__detail { color: #aebdca; }
html.theme-dark .workspace-card,
html.theme-dark .agenda-summary div,
html.theme-dark .agenda-item { border-color: #2d3c50; background: #101d2d; color: #dce7f1; box-shadow: none; }
html.theme-dark .agenda-item.is-complete { background: #0d1926; }
html.theme-dark .workspace-button--ghost,
html.theme-dark .workspace-button--light { border-color: #40516a; background: #14243a; color: #eef6fb !important; }
html.theme-dark .profile-option,
html.theme-dark .radar-brief > div,
html.theme-dark .agenda-item__meta span { border-color: #33445a; background: #172638; color: #c5d3df; }
html.theme-dark .profile-option:has(input:checked) { border-color: #3ca49c; background: #10332f; color: #9be3dc; }
html.theme-dark .profile-field input,
html.theme-dark .profile-field textarea,
html.theme-dark .profile-field select,
html.theme-dark .calculator-field input,
html.theme-dark .calculator-field select { border-color: #3b4d64; background: #0c1928; color: #eef5fb; }
html.theme-dark .profile-field > label,
html.theme-dark .profile-fieldset legend,
html.theme-dark .calculator-field > label { color: #bac9d6; }
html.theme-dark .profile-privacy { background: #13273a; color: #b6c7d5; }
html.theme-dark .calculator-result { background: #10332f; color: #a4e4dd; }
html.theme-dark .calculator-result strong { color: #bcf2ec; }
html.theme-dark .checklist-card__head { background: #101d2d; }
html.theme-dark .checklist label { border-color: #2b3b4e; color: #cad7e2; }
html.theme-dark .agenda-empty { border-color: #3c5168; background: #0d1927; color: #aebdca; }
html.theme-dark .workspace-disclaimer { border-color: #71551d; background: #2a230f; color: #f2d99c; }
html.theme-dark .arca-link-card,
html.theme-dark .arca-table-wrap,
html.theme-dark .arca-data-table tbody tr:nth-child(even) { border-color: #2d3c50; background: #101d2d; }
html.theme-dark .arca-data-table { color: #dce7f1; }
html.theme-dark .arca-data-table th,
html.theme-dark .arca-data-table td { border-color: #2d3c50; }
html.theme-dark .arca-service-card__foot { border-color: #2d3c50; }
html.theme-dark .followed-topic { border-color: #2e6870; background: #102d33; color: #8de0da; }
html.theme-dark .mobile-workspace-nav { border-color: #2c3a4d; background: rgba(10, 21, 34, .97); }
html.theme-dark .mobile-workspace-nav a { color: #a6b6c4; }
html.theme-dark .mobile-workspace-nav a.active { color: #75d7d1; }

@media (max-width: 1180px) {
  .workspace-header-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .workspace-header-actions { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .header-utility { min-width: 0; padding-left: 7px; padding-right: 7px; }
  .radar-filter,
  .alert-profile-layout { grid-template-columns: 1fr; }
  .profile-options--two { grid-template-columns: 1fr; }
  .radar-card--structured { min-height: 0; }
  .saved-item { grid-template-columns: 1fr auto; }
}
