/* =====================================================================
   THE COUNCIL ROOMS — Executive Dark Design System
   War Room · Clinical Room · Leadership Room · Neural Room
   ===================================================================== */

/* --- Custom Properties -------------------------------------------- */
:root {
  --wr-bg-primary:   #0D0D0D;
  --wr-bg-surface:   #1A1A1A;
  --wr-bg-raised:    #2C2C2A;
  --wr-gold:         #EF9F27;
  --wr-gold-light:   #FAC775;
  --wr-text:         #F1EFE8;
  --wr-muted:        #888780;
  --wr-border:       #333330;

  /* Tier colors */
  --wr-tier-i-color:   #FAC775; --wr-tier-i-bg:   #412402;
  --wr-tier-ii-color:  #CECBF6; --wr-tier-ii-bg:  #26215C;
  --wr-tier-iii-color: #C0DD97; --wr-tier-iii-bg: #173404;
  --wr-tier-iv-color:  #F5C4B3; --wr-tier-iv-bg:  #4A1B0C;
  --wr-tier-v-color:   #B5D4F4; --wr-tier-v-bg:   #042C53;
  --wr-tier-vi-color:  #F4C0D1; --wr-tier-vi-bg:  #4B1528;
  --wr-tier-vii-color: #D3D1C7; --wr-tier-vii-bg: #2C2C2A;

  /* Panels */
  --wr-pattern-border: #7B68EE;
  --wr-verdict-bg:     #1C2A1C;
  --wr-verdict-border: #639922;
  --wr-verdict-text:   #C0DD97;
  --wr-risk-bg:        #2C1A0A;
  --wr-risk-border:    #854F0B;
  --wr-risk-title:     #EF9F27;
  --wr-risk-text:      #FAC775;
  --wr-action-bg:      #0D1F2D;
  --wr-action-border:  #185FA5;
  --wr-action-num-bg:  #185FA5;
  --wr-action-title:   #B5D4F4;
  --wr-action-text:    #378ADD;
}

/* --- Reset & Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--wr-bg-primary);
  color: var(--wr-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--wr-gold); text-decoration: none; }
a:hover { color: var(--wr-gold-light); }

/* --- Header -------------------------------------------------------- */
.wr-header {
  border-bottom: 1px solid var(--wr-border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
}

.wr-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wr-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wr-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wr-logo:hover { color: var(--wr-gold-light); }

.wr-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}

.wr-nav-link { color: var(--wr-muted); transition: color 0.15s; }
.wr-nav-link:hover { color: var(--wr-text); }
.wr-nav-link--gold { color: var(--wr-gold); }
.wr-nav-link--gold:hover { color: var(--wr-gold-light); }
.wr-nav-link--muted { color: var(--wr-muted); }
.wr-nav-divider { color: var(--wr-border); }
.wr-nav-user { color: var(--wr-muted); font-size: 0.8rem; }

/* --- Main ---------------------------------------------------------- */
.wr-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* --- Flash Messages ------------------------------------------------ */
.wr-flash-container { margin-bottom: 24px; }

.wr-flash {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  border-left: 3px solid;
}
.wr-flash--error   { background: #2C1010; border-color: #C0392B; color: #F4A0A0; }
.wr-flash--success { background: var(--wr-verdict-bg); border-color: var(--wr-verdict-border); color: var(--wr-verdict-text); }
.wr-flash--info    { background: var(--wr-action-bg); border-color: var(--wr-action-border); color: var(--wr-action-title); }

/* --- Buttons ------------------------------------------------------- */
.wr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.wr-btn--primary {
  background: var(--wr-gold);
  color: #0D0D0D;
}
.wr-btn--primary:hover { background: var(--wr-gold-light); color: #0D0D0D; }
.wr-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }

.wr-btn--ghost {
  background: transparent;
  color: var(--wr-muted);
  border: 1px solid var(--wr-border);
}
.wr-btn--ghost:hover { color: var(--wr-text); border-color: var(--wr-muted); }

.wr-btn--save {
  background: var(--wr-verdict-bg);
  color: var(--wr-verdict-text);
  border: 1px solid var(--wr-verdict-border);
}
.wr-btn--save:hover { background: #243824; }
.wr-btn--save.is-saved { background: #173404; }

.wr-btn--danger {
  background: transparent;
  color: #C0392B;
  border: 1px solid #4A1010;
  font-size: 0.8rem;
  padding: 8px 14px;
}
.wr-btn--danger:hover { background: #2C1010; }

.wr-btn--full { width: 100%; }

.wr-btn--submit {
  padding: 14px 32px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 16px;
}

/* --- Auth Pages ---------------------------------------------------- */
.wr-auth-wrap {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

.wr-auth-card {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.wr-auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--wr-gold);
  margin-bottom: 8px;
}

.wr-auth-sub {
  color: var(--wr-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.wr-form { display: flex; flex-direction: column; gap: 20px; }

.wr-field { display: flex; flex-direction: column; gap: 6px; }
.wr-field--inline { flex-direction: row; align-items: center; }

.wr-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wr-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.wr-label-hint { font-weight: 400; text-transform: none; letter-spacing: 0; }

.wr-input {
  background: var(--wr-bg-raised);
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  color: var(--wr-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 10px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.wr-input:focus {
  border-color: var(--wr-gold);
  box-shadow: 0 0 0 2px rgba(239, 159, 39, 0.18);
}

.wr-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wr-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.wr-auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--wr-muted);
}
.wr-link { color: var(--wr-gold); }
.wr-link:hover { color: var(--wr-gold-light); }

/* --- Index / Input Page ------------------------------------------- */
.wr-index-wrap { max-width: 780px; margin: 0 auto; }

.wr-index-hero { margin-bottom: 32px; }

.wr-index-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--wr-text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.wr-index-sub {
  color: var(--wr-muted);
  font-size: 1rem;
}

.wr-situation-form { display: flex; flex-direction: column; }

.wr-textarea-wrap { position: relative; }

.wr-textarea {
  width: 100%;
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  color: var(--wr-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  padding: 16px;
  resize: vertical;
  min-height: 140px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wr-textarea:focus {
  border-color: var(--wr-gold);
  box-shadow: 0 0 0 2px rgba(239, 159, 39, 0.18);
}
.wr-textarea::placeholder { color: var(--wr-muted); }

.wr-char-counter {
  text-align: right;
  font-size: 0.75rem;
  color: var(--wr-muted);
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  transition: color 0.15s;
}
.wr-char-counter--warn  { color: var(--wr-gold); }
.wr-char-counter--limit { color: #C0392B; }

/* --- Tags ---------------------------------------------------------- */
.wr-tags-section {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wr-tags-group { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.wr-tags-label {
  font-size: 0.75rem;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  padding-top: 4px;
  white-space: nowrap;
  min-width: 70px;
}

.wr-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.wr-tag {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 20px;
  color: var(--wr-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  padding: 4px 12px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.wr-tag:hover {
  border-color: var(--wr-gold);
  color: var(--wr-gold);
  background: rgba(239, 159, 39, 0.07);
}
.wr-tag--emotion:hover {
  border-color: var(--wr-tier-ii-color);
  color: var(--wr-tier-ii-color);
  background: rgba(206, 203, 246, 0.07);
}

/* --- Example Prompts ---------------------------------------------- */
.wr-examples-section { margin-top: 36px; }

.wr-examples-label {
  font-size: 0.78rem;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.wr-examples { display: flex; flex-direction: column; gap: 8px; }

.wr-example {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  color: var(--wr-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 12px 16px;
  text-align: left;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.wr-example:hover {
  border-color: var(--wr-gold);
  color: var(--wr-text);
  background: rgba(239, 159, 39, 0.04);
}

/* --- Explainer ----------------------------------------------------- */
.wr-explainer {
  margin-top: 56px;
  border-top: 1px solid var(--wr-border);
  padding-top: 32px;
}

.wr-explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.wr-explainer-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wr-explainer-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--wr-gold);
  letter-spacing: 0.05em;
}

.wr-explainer-text {
  font-size: 0.83rem;
  color: var(--wr-muted);
  line-height: 1.5;
}

/* --- Session Page -------------------------------------------------- */
.wr-session-wrap { max-width: 780px; margin: 0 auto; }

.wr-session-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wr-border);
}

.wr-session-situation {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wr-text);
  line-height: 1.6;
  margin-bottom: 10px;
}

.wr-session-meta {
  font-size: 0.78rem;
  color: var(--wr-muted);
  font-family: 'DM Mono', monospace;
}

/* --- Skeleton Loader ---------------------------------------------- */
.wr-skeleton { display: flex; flex-direction: column; gap: 16px; }

@keyframes wr-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.wr-skeleton-card {
  background: var(--wr-bg-surface);
  border-radius: 4px;
  height: 120px;
  animation: wr-pulse 1.6s ease-in-out infinite;
}
.wr-skeleton-card--short { height: 80px; }

.wr-skeleton-panel {
  background: var(--wr-bg-surface);
  border-radius: 4px;
  height: 80px;
  animation: wr-pulse 1.6s ease-in-out infinite;
  animation-delay: 0.3s;
}
.wr-skeleton-panel--short { height: 60px; }

/* --- Section Shared ----------------------------------------------- */
.wr-section { margin-bottom: 36px; }

.wr-section-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--wr-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

@keyframes wr-fade-slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Advisor Cards ------------------------------------------------- */
.wr-advisor-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wr-advisor-card {
  background: var(--wr-bg-surface);
  border-left: 3px solid var(--wr-gold);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  position: relative;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-advisor-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.wr-advisor-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wr-gold-light);
}

.wr-advisor-domain {
  font-size: 0.75rem;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.wr-tier-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wr-advisor-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--wr-text);
}

/* --- Pattern Panel ------------------------------------------------- */
.wr-pattern-panel {
  background: var(--wr-bg-surface);
  border-left: 4px solid var(--wr-pattern-border);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-pattern-text {
  font-size: 0.975rem;
  color: var(--wr-text);
  line-height: 1.75;
}

/* --- Verdict Panel ------------------------------------------------- */
.wr-verdict-panel {
  background: var(--wr-verdict-bg);
  border-left: 4px solid var(--wr-verdict-border);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  margin-bottom: 16px;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-verdict-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--wr-verdict-border);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wr-verdict-text {
  font-size: 1rem;
  color: var(--wr-verdict-text);
  line-height: 1.75;
}

/* --- Risk Flag ----------------------------------------------------- */
.wr-risk-flag {
  background: var(--wr-risk-bg);
  border: 1px solid var(--wr-risk-border);
  border-radius: 4px;
  padding: 16px 20px;
  animation: wr-fade-slide-up 0.4s ease 0.1s both;
}

.wr-risk-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wr-risk-title);
  margin-bottom: 6px;
}

.wr-risk-body {
  font-size: 0.875rem;
  color: var(--wr-risk-text);
  line-height: 1.6;
}

/* --- Action Steps -------------------------------------------------- */
.wr-action-steps {
  background: var(--wr-action-bg);
  border: 1px solid var(--wr-action-border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-action-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-action-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wr-action-num-bg);
  color: #E6F1FB;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.wr-action-content { flex: 1; }

.wr-action-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wr-action-title);
  margin-bottom: 4px;
}

.wr-action-detail {
  font-size: 0.875rem;
  color: var(--wr-action-text);
  line-height: 1.65;
}

/* --- Pressure Question -------------------------------------------- */
.wr-section--question { text-align: center; padding: 20px 0 12px; }

.wr-question-rule {
  width: 80px;
  height: 2px;
  background: var(--wr-gold);
  margin: 0 auto 28px;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-question-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--wr-text);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.65;
  animation: wr-fade-slide-up 0.4s ease 0.1s both;
}

.wr-question-copy-wrap { margin-top: 12px; }

.wr-question-copy {
  background: none;
  border: none;
  color: var(--wr-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  padding: 4px 8px;
  transition: color 0.15s;
}
.wr-question-copy:hover { color: var(--wr-gold); }

/* --- Session Footer ----------------------------------------------- */
.wr-session-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--wr-border);
  flex-wrap: wrap;
  animation: wr-fade-slide-up 0.4s ease both;
}

.wr-delete-form { margin-left: auto; }

/* --- History Page -------------------------------------------------- */
.wr-history-wrap { max-width: 900px; margin: 0 auto; }

.wr-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.wr-history-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--wr-text);
}

.wr-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.wr-history-card {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, background 0.15s;
  color: var(--wr-text);
}
.wr-history-card:hover {
  border-color: var(--wr-gold);
  background: rgba(239, 159, 39, 0.03);
  color: var(--wr-text);
}

.wr-history-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.wr-history-title-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wr-gold-light);
  line-height: 1.4;
}

.wr-history-saved-badge {
  font-size: 0.68rem;
  background: var(--wr-verdict-bg);
  color: var(--wr-verdict-text);
  border: 1px solid var(--wr-verdict-border);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wr-history-situation {
  font-size: 0.83rem;
  color: var(--wr-muted);
  line-height: 1.5;
}

.wr-history-advisors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wr-history-advisor-pill {
  font-size: 0.7rem;
  background: var(--wr-bg-raised);
  color: var(--wr-muted);
  border-radius: 20px;
  padding: 2px 9px;
}

.wr-history-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wr-history-date {
  font-size: 0.72rem;
  color: var(--wr-muted);
  font-family: 'DM Mono', monospace;
}

.wr-history-excerpt {
  font-size: 0.8rem;
  color: var(--wr-muted);
  line-height: 1.4;
  display: none;
}

.wr-history-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--wr-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* --- Pagination ---------------------------------------------------- */
.wr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--wr-border);
}

.wr-page-btn {
  color: var(--wr-gold);
  font-size: 0.875rem;
}
.wr-page-btn:hover { color: var(--wr-gold-light); }

.wr-page-info {
  font-size: 0.8rem;
  color: var(--wr-muted);
  font-family: 'DM Mono', monospace;
}

/* --- Mobile Responsive -------------------------------------------- */
@media (max-width: 640px) {
  .wr-main { padding: 24px 16px 60px; }

  .wr-header-inner { padding: 0 16px; }
  .wr-nav { gap: 12px; }
  .wr-nav-user { display: none; }
  .wr-nav-divider { display: none; }

  .wr-auth-card { padding: 28px 20px; }

  .wr-advisor-card { padding: 16px; }

  .wr-action-steps { padding: 16px; }

  .wr-session-footer { flex-direction: column; align-items: flex-start; }
  .wr-delete-form { margin-left: 0; }

  .wr-history-grid { grid-template-columns: 1fr; }

  .wr-explainer-grid { grid-template-columns: 1fr 1fr; }

  .wr-tags-group { flex-direction: column; gap: 8px; }
  .wr-tags-label { min-width: auto; }
}

/* =====================================================================
   PER-ROOM THEME OVERRIDES
   ===================================================================== */

/* Clinical Room — teal/green accent */
.theme-clinical {
  --wr-gold:       #4ECDC4;
  --wr-gold-light: #7EDDD8;
  --wr-verdict-bg:     #0A2420;
  --wr-verdict-border: #4ECDC4;
  --wr-verdict-text:   #A8E8E4;
}
.theme-clinical .wr-logo { color: #4ECDC4; }
.theme-clinical .wr-logo:hover { color: #7EDDD8; }
.theme-clinical .wr-btn--primary { background: #4ECDC4; color: #0A1A18; }
.theme-clinical .wr-btn--primary:hover { background: #7EDDD8; color: #0A1A18; }
.theme-clinical .wr-page-btn { color: #4ECDC4; }
.theme-clinical .wr-page-btn:hover { color: #7EDDD8; }
.theme-clinical .wr-tag:hover { border-color: #4ECDC4; color: #4ECDC4; }
.theme-clinical .wr-example:hover { border-color: #4ECDC4; }
.theme-clinical .wr-textarea:focus { border-color: #4ECDC4; box-shadow: 0 0 0 2px rgba(78,205,196,0.18); }
.theme-clinical .wr-input:focus { border-color: #4ECDC4; box-shadow: 0 0 0 2px rgba(78,205,196,0.18); }
.theme-clinical .wr-link { color: #4ECDC4; }
.theme-clinical .wr-history-card:hover { border-color: #4ECDC4; }
.theme-clinical .wr-question-rule { background: #4ECDC4; }

/* Leadership Room — blue accent */
.theme-leadership {
  --wr-gold:       #5B9BD5;
  --wr-gold-light: #84BAE8;
  --wr-verdict-bg:     #0A1828;
  --wr-verdict-border: #5B9BD5;
  --wr-verdict-text:   #B0D0F0;
}
.theme-leadership .wr-logo { color: #5B9BD5; }
.theme-leadership .wr-logo:hover { color: #84BAE8; }
.theme-leadership .wr-btn--primary { background: #5B9BD5; color: #050D18; }
.theme-leadership .wr-btn--primary:hover { background: #84BAE8; color: #050D18; }
.theme-leadership .wr-page-btn { color: #5B9BD5; }
.theme-leadership .wr-page-btn:hover { color: #84BAE8; }
.theme-leadership .wr-tag:hover { border-color: #5B9BD5; color: #5B9BD5; }
.theme-leadership .wr-example:hover { border-color: #5B9BD5; }
.theme-leadership .wr-textarea:focus { border-color: #5B9BD5; box-shadow: 0 0 0 2px rgba(91,155,213,0.18); }
.theme-leadership .wr-input:focus { border-color: #5B9BD5; box-shadow: 0 0 0 2px rgba(91,155,213,0.18); }
.theme-leadership .wr-link { color: #5B9BD5; }
.theme-leadership .wr-history-card:hover { border-color: #5B9BD5; }
.theme-leadership .wr-question-rule { background: #5B9BD5; }

/* Neural Room — violet/purple accent */
.theme-neural {
  --wr-gold:       #9B7FD4;
  --wr-gold-light: #C0A8E8;
  --wr-verdict-bg:     #150A28;
  --wr-verdict-border: #9B7FD4;
  --wr-verdict-text:   #D0C0F0;
}
.theme-neural .wr-logo { color: #9B7FD4; }
.theme-neural .wr-logo:hover { color: #C0A8E8; }
.theme-neural .wr-btn--primary { background: #9B7FD4; color: #080510; }
.theme-neural .wr-btn--primary:hover { background: #C0A8E8; color: #080510; }
.theme-neural .wr-page-btn { color: #9B7FD4; }
.theme-neural .wr-page-btn:hover { color: #C0A8E8; }
.theme-neural .wr-tag:hover { border-color: #9B7FD4; color: #9B7FD4; }
.theme-neural .wr-example:hover { border-color: #9B7FD4; }
.theme-neural .wr-textarea:focus { border-color: #9B7FD4; box-shadow: 0 0 0 2px rgba(155,127,212,0.18); }
.theme-neural .wr-input:focus { border-color: #9B7FD4; box-shadow: 0 0 0 2px rgba(155,127,212,0.18); }
.theme-neural .wr-link { color: #9B7FD4; }
.theme-neural .wr-history-card:hover { border-color: #9B7FD4; }
.theme-neural .wr-question-rule { background: #9B7FD4; }

/* Philosophy Room — deep indigo accent */
.theme-philosophy {
  --wr-gold:       #7C6ED4;
  --wr-gold-light: #A898E8;
  --wr-verdict-bg:     #130E28;
  --wr-verdict-border: #7C6ED4;
  --wr-verdict-text:   #C8C0F0;
}
.theme-philosophy .wr-logo { color: #7C6ED4; }
.theme-philosophy .wr-logo:hover { color: #A898E8; }
.theme-philosophy .wr-btn--primary { background: #7C6ED4; color: #08060F; }
.theme-philosophy .wr-btn--primary:hover { background: #A898E8; color: #08060F; }
.theme-philosophy .wr-page-btn { color: #7C6ED4; }
.theme-philosophy .wr-page-btn:hover { color: #A898E8; }
.theme-philosophy .wr-tag:hover { border-color: #7C6ED4; color: #7C6ED4; }
.theme-philosophy .wr-example:hover { border-color: #7C6ED4; }
.theme-philosophy .wr-textarea:focus { border-color: #7C6ED4; box-shadow: 0 0 0 2px rgba(124,110,212,0.18); }
.theme-philosophy .wr-input:focus { border-color: #7C6ED4; box-shadow: 0 0 0 2px rgba(124,110,212,0.18); }
.theme-philosophy .wr-link { color: #7C6ED4; }
.theme-philosophy .wr-history-card:hover { border-color: #7C6ED4; }
.theme-philosophy .wr-question-rule { background: #7C6ED4; }

/* Fitness Room — energetic orange accent */
.theme-fitness {
  --wr-gold:       #E06830;
  --wr-gold-light: #F09060;
  --wr-verdict-bg:     #280E04;
  --wr-verdict-border: #E06830;
  --wr-verdict-text:   #F8C8A8;
}
.theme-fitness .wr-logo { color: #E06830; }
.theme-fitness .wr-logo:hover { color: #F09060; }
.theme-fitness .wr-btn--primary { background: #E06830; color: #0A0300; }
.theme-fitness .wr-btn--primary:hover { background: #F09060; color: #0A0300; }
.theme-fitness .wr-page-btn { color: #E06830; }
.theme-fitness .wr-page-btn:hover { color: #F09060; }
.theme-fitness .wr-tag:hover { border-color: #E06830; color: #E06830; }
.theme-fitness .wr-example:hover { border-color: #E06830; }
.theme-fitness .wr-textarea:focus { border-color: #E06830; box-shadow: 0 0 0 2px rgba(224,104,48,0.18); }
.theme-fitness .wr-input:focus { border-color: #E06830; box-shadow: 0 0 0 2px rgba(224,104,48,0.18); }
.theme-fitness .wr-link { color: #E06830; }
.theme-fitness .wr-history-card:hover { border-color: #E06830; }
.theme-fitness .wr-question-rule { background: #E06830; }

/* Mathematics Room — royal blue accent */
.theme-mathematics {
  --wr-gold:       #3A80C8;
  --wr-gold-light: #70AADF;
  --wr-verdict-bg:     #081428;
  --wr-verdict-border: #3A80C8;
  --wr-verdict-text:   #A8CCF0;
}
.theme-mathematics .wr-logo { color: #3A80C8; }
.theme-mathematics .wr-logo:hover { color: #70AADF; }
.theme-mathematics .wr-btn--primary { background: #3A80C8; color: #030710; }
.theme-mathematics .wr-btn--primary:hover { background: #70AADF; color: #030710; }
.theme-mathematics .wr-page-btn { color: #3A80C8; }
.theme-mathematics .wr-page-btn:hover { color: #70AADF; }
.theme-mathematics .wr-tag:hover { border-color: #3A80C8; color: #3A80C8; }
.theme-mathematics .wr-example:hover { border-color: #3A80C8; }
.theme-mathematics .wr-textarea:focus { border-color: #3A80C8; box-shadow: 0 0 0 2px rgba(58,128,200,0.18); }
.theme-mathematics .wr-input:focus { border-color: #3A80C8; box-shadow: 0 0 0 2px rgba(58,128,200,0.18); }
.theme-mathematics .wr-link { color: #3A80C8; }
.theme-mathematics .wr-history-card:hover { border-color: #3A80C8; }
.theme-mathematics .wr-question-rule { background: #3A80C8; }

/* Finance Room — emerald green accent */
.theme-finance {
  --wr-gold:       #2A9C60;
  --wr-gold-light: #58C888;
  --wr-verdict-bg:     #041A0E;
  --wr-verdict-border: #2A9C60;
  --wr-verdict-text:   #90E0B8;
}
.theme-finance .wr-logo { color: #2A9C60; }
.theme-finance .wr-logo:hover { color: #58C888; }
.theme-finance .wr-btn--primary { background: #2A9C60; color: #020D06; }
.theme-finance .wr-btn--primary:hover { background: #58C888; color: #020D06; }
.theme-finance .wr-page-btn { color: #2A9C60; }
.theme-finance .wr-page-btn:hover { color: #58C888; }
.theme-finance .wr-tag:hover { border-color: #2A9C60; color: #2A9C60; }
.theme-finance .wr-example:hover { border-color: #2A9C60; }
.theme-finance .wr-textarea:focus { border-color: #2A9C60; box-shadow: 0 0 0 2px rgba(42,156,96,0.18); }
.theme-finance .wr-input:focus { border-color: #2A9C60; box-shadow: 0 0 0 2px rgba(42,156,96,0.18); }
.theme-finance .wr-link { color: #2A9C60; }
.theme-finance .wr-history-card:hover { border-color: #2A9C60; }
.theme-finance .wr-question-rule { background: #2A9C60; }

/* Nutrition Room — earthy green accent */
.theme-nutrition {
  --wr-gold:       #5AA040;
  --wr-gold-light: #88C870;
  --wr-verdict-bg:     #0A1806;
  --wr-verdict-border: #5AA040;
  --wr-verdict-text:   #B0D898;
}
.theme-nutrition .wr-logo { color: #5AA040; }
.theme-nutrition .wr-logo:hover { color: #88C870; }
.theme-nutrition .wr-btn--primary { background: #5AA040; color: #030800; }
.theme-nutrition .wr-btn--primary:hover { background: #88C870; color: #030800; }
.theme-nutrition .wr-page-btn { color: #5AA040; }
.theme-nutrition .wr-page-btn:hover { color: #88C870; }
.theme-nutrition .wr-tag:hover { border-color: #5AA040; color: #5AA040; }
.theme-nutrition .wr-example:hover { border-color: #5AA040; }
.theme-nutrition .wr-textarea:focus { border-color: #5AA040; box-shadow: 0 0 0 2px rgba(90,160,64,0.18); }
.theme-nutrition .wr-input:focus { border-color: #5AA040; box-shadow: 0 0 0 2px rgba(90,160,64,0.18); }
.theme-nutrition .wr-link { color: #5AA040; }
.theme-nutrition .wr-history-card:hover { border-color: #5AA040; }
.theme-nutrition .wr-question-rule { background: #5AA040; }

/* Mindfulness Room — sage/teal accent */
.theme-mindfulness {
  --wr-gold:       #4A9880;
  --wr-gold-light: #78C0A8;
  --wr-verdict-bg:     #071814;
  --wr-verdict-border: #4A9880;
  --wr-verdict-text:   #98D8C8;
}
.theme-mindfulness .wr-logo { color: #4A9880; }
.theme-mindfulness .wr-logo:hover { color: #78C0A8; }
.theme-mindfulness .wr-btn--primary { background: #4A9880; color: #020E0A; }
.theme-mindfulness .wr-btn--primary:hover { background: #78C0A8; color: #020E0A; }
.theme-mindfulness .wr-page-btn { color: #4A9880; }
.theme-mindfulness .wr-page-btn:hover { color: #78C0A8; }
.theme-mindfulness .wr-tag:hover { border-color: #4A9880; color: #4A9880; }
.theme-mindfulness .wr-example:hover { border-color: #4A9880; }
.theme-mindfulness .wr-textarea:focus { border-color: #4A9880; box-shadow: 0 0 0 2px rgba(74,152,128,0.18); }
.theme-mindfulness .wr-input:focus { border-color: #4A9880; box-shadow: 0 0 0 2px rgba(74,152,128,0.18); }
.theme-mindfulness .wr-link { color: #4A9880; }
.theme-mindfulness .wr-history-card:hover { border-color: #4A9880; }
.theme-mindfulness .wr-question-rule { background: #4A9880; }

/* Alternative Medicine Room — warm amber accent */
.theme-alternative {
  --wr-gold:       #C87838;
  --wr-gold-light: #E0A060;
  --wr-verdict-bg:     #221008;
  --wr-verdict-border: #C87838;
  --wr-verdict-text:   #F0C890;
}
.theme-alternative .wr-logo { color: #C87838; }
.theme-alternative .wr-logo:hover { color: #E0A060; }
.theme-alternative .wr-btn--primary { background: #C87838; color: #0A0400; }
.theme-alternative .wr-btn--primary:hover { background: #E0A060; color: #0A0400; }
.theme-alternative .wr-page-btn { color: #C87838; }
.theme-alternative .wr-page-btn:hover { color: #E0A060; }
.theme-alternative .wr-tag:hover { border-color: #C87838; color: #C87838; }
.theme-alternative .wr-example:hover { border-color: #C87838; }
.theme-alternative .wr-textarea:focus { border-color: #C87838; box-shadow: 0 0 0 2px rgba(200,120,56,0.18); }
.theme-alternative .wr-input:focus { border-color: #C87838; box-shadow: 0 0 0 2px rgba(200,120,56,0.18); }
.theme-alternative .wr-link { color: #C87838; }
.theme-alternative .wr-history-card:hover { border-color: #C87838; }
.theme-alternative .wr-question-rule { background: #C87838; }

/* Room badge colors — all 11 rooms */
.wr-room-badge--philosophy   { background: rgba(124,110,212,0.12); color: #7C6ED4; }
.wr-room-badge--fitness      { background: rgba(224,104,48,0.12);  color: #E06830; }
.wr-room-badge--mathematics  { background: rgba(58,128,200,0.12);  color: #3A80C8; }
.wr-room-badge--finance      { background: rgba(42,156,96,0.12);   color: #2A9C60; }
.wr-room-badge--nutrition    { background: rgba(90,160,64,0.12);   color: #5AA040; }
.wr-room-badge--mindfulness  { background: rgba(74,152,128,0.12);  color: #4A9880; }
.wr-room-badge--alternative  { background: rgba(200,120,56,0.12);  color: #C87838; }
.wr-room-badge--hr           { background: rgba(80,140,200,0.12);   color: #508CC8; }
.wr-room-badge--spiritual    { background: rgba(180,130,200,0.12);  color: #B482C8; }
.wr-room-badge--holistic     { background: rgba(100,180,140,0.12);  color: #64B48C; }
.wr-room-badge--bizleaders   { background: rgba(220,80,60,0.12);    color: #DC503C; }
.wr-room-badge--legal        { background: rgba(100,100,160,0.12);  color: #6464A0; }
.wr-room-badge--politics     { background: rgba(160,80,180,0.12);   color: #A050B4; }
.wr-room-badge--billing      { background: rgba(0,168,168,0.12);    color: #00A8A8; }
.wr-room-badge--coaching     { background: rgba(220,140,0,0.12);    color: #DC8C00; }
.wr-room-badge--ma           { background: rgba(80,160,80,0.12);    color: #50A050; }
.wr-room-badge--realestate   { background: rgba(180,100,40,0.12);   color: #B46428; }
.wr-room-badge--art          { background: rgba(200,60,120,0.12);   color: #C83C78; }
.wr-room-badge--stockmarket  { background: rgba(40,180,100,0.12);   color: #28B464; }

/* Billing & Coding Room — teal accent */
.theme-billing {
  --wr-gold:       #00A8A8;
  --wr-gold-light: #40C8C8;
  --wr-verdict-bg:     #041818;
  --wr-verdict-border: #00A8A8;
  --wr-verdict-text:   #80E0E0;
}
.theme-billing .wr-logo { color: #00A8A8; }
.theme-billing .wr-logo:hover { color: #40C8C8; }
.theme-billing .wr-btn--primary { background: #00A8A8; color: #020C0C; }
.theme-billing .wr-btn--primary:hover { background: #40C8C8; color: #020C0C; }
.theme-billing .wr-page-btn { color: #00A8A8; }
.theme-billing .wr-page-btn:hover { color: #40C8C8; }
.theme-billing .wr-tag:hover { border-color: #00A8A8; color: #00A8A8; }
.theme-billing .wr-example:hover { border-color: #00A8A8; }
.theme-billing .wr-textarea:focus { border-color: #00A8A8; box-shadow: 0 0 0 2px rgba(0,168,168,0.18); }
.theme-billing .wr-input:focus { border-color: #00A8A8; box-shadow: 0 0 0 2px rgba(0,168,168,0.18); }
.theme-billing .wr-link { color: #00A8A8; }
.theme-billing .wr-history-card:hover { border-color: #00A8A8; }
.theme-billing .wr-question-rule { background: #00A8A8; }

/* Sports Coaching Room — golden amber */
.theme-coaching {
  --wr-gold:       #DC8C00;
  --wr-gold-light: #F0B030;
  --wr-verdict-bg:     #201000;
  --wr-verdict-border: #DC8C00;
  --wr-verdict-text:   #F8D080;
}
.theme-coaching .wr-logo { color: #DC8C00; }
.theme-coaching .wr-logo:hover { color: #F0B030; }
.theme-coaching .wr-btn--primary { background: #DC8C00; color: #0A0600; }
.theme-coaching .wr-btn--primary:hover { background: #F0B030; color: #0A0600; }
.theme-coaching .wr-page-btn { color: #DC8C00; }
.theme-coaching .wr-page-btn:hover { color: #F0B030; }
.theme-coaching .wr-tag:hover { border-color: #DC8C00; color: #DC8C00; }
.theme-coaching .wr-example:hover { border-color: #DC8C00; }
.theme-coaching .wr-textarea:focus { border-color: #DC8C00; box-shadow: 0 0 0 2px rgba(220,140,0,0.18); }
.theme-coaching .wr-input:focus { border-color: #DC8C00; box-shadow: 0 0 0 2px rgba(220,140,0,0.18); }
.theme-coaching .wr-link { color: #DC8C00; }
.theme-coaching .wr-history-card:hover { border-color: #DC8C00; }
.theme-coaching .wr-question-rule { background: #DC8C00; }

/* M&A Room — deal green */
.theme-ma {
  --wr-gold:       #50A050;
  --wr-gold-light: #78C078;
  --wr-verdict-bg:     #081408;
  --wr-verdict-border: #50A050;
  --wr-verdict-text:   #A0D8A0;
}
.theme-ma .wr-logo { color: #50A050; }
.theme-ma .wr-logo:hover { color: #78C078; }
.theme-ma .wr-btn--primary { background: #50A050; color: #030803; }
.theme-ma .wr-btn--primary:hover { background: #78C078; color: #030803; }
.theme-ma .wr-page-btn { color: #50A050; }
.theme-ma .wr-page-btn:hover { color: #78C078; }
.theme-ma .wr-tag:hover { border-color: #50A050; color: #50A050; }
.theme-ma .wr-example:hover { border-color: #50A050; }
.theme-ma .wr-textarea:focus { border-color: #50A050; box-shadow: 0 0 0 2px rgba(80,160,80,0.18); }
.theme-ma .wr-input:focus { border-color: #50A050; box-shadow: 0 0 0 2px rgba(80,160,80,0.18); }
.theme-ma .wr-link { color: #50A050; }
.theme-ma .wr-history-card:hover { border-color: #50A050; }
.theme-ma .wr-question-rule { background: #50A050; }

/* Real Estate Room — terracotta */
.theme-realestate {
  --wr-gold:       #B46428;
  --wr-gold-light: #D08850;
  --wr-verdict-bg:     #200E04;
  --wr-verdict-border: #B46428;
  --wr-verdict-text:   #E8C090;
}
.theme-realestate .wr-logo { color: #B46428; }
.theme-realestate .wr-logo:hover { color: #D08850; }
.theme-realestate .wr-btn--primary { background: #B46428; color: #080400; }
.theme-realestate .wr-btn--primary:hover { background: #D08850; color: #080400; }
.theme-realestate .wr-page-btn { color: #B46428; }
.theme-realestate .wr-page-btn:hover { color: #D08850; }
.theme-realestate .wr-tag:hover { border-color: #B46428; color: #B46428; }
.theme-realestate .wr-example:hover { border-color: #B46428; }
.theme-realestate .wr-textarea:focus { border-color: #B46428; box-shadow: 0 0 0 2px rgba(180,100,40,0.18); }
.theme-realestate .wr-input:focus { border-color: #B46428; box-shadow: 0 0 0 2px rgba(180,100,40,0.18); }
.theme-realestate .wr-link { color: #B46428; }
.theme-realestate .wr-history-card:hover { border-color: #B46428; }
.theme-realestate .wr-question-rule { background: #B46428; }

/* Art Room — rose/magenta */
.theme-art {
  --wr-gold:       #C83C78;
  --wr-gold-light: #E070A0;
  --wr-verdict-bg:     #200810;
  --wr-verdict-border: #C83C78;
  --wr-verdict-text:   #F0A8C8;
}
.theme-art .wr-logo { color: #C83C78; }
.theme-art .wr-logo:hover { color: #E070A0; }
.theme-art .wr-btn--primary { background: #C83C78; color: #0A0306; }
.theme-art .wr-btn--primary:hover { background: #E070A0; color: #0A0306; }
.theme-art .wr-page-btn { color: #C83C78; }
.theme-art .wr-page-btn:hover { color: #E070A0; }
.theme-art .wr-tag:hover { border-color: #C83C78; color: #C83C78; }
.theme-art .wr-example:hover { border-color: #C83C78; }
.theme-art .wr-textarea:focus { border-color: #C83C78; box-shadow: 0 0 0 2px rgba(200,60,120,0.18); }
.theme-art .wr-input:focus { border-color: #C83C78; box-shadow: 0 0 0 2px rgba(200,60,120,0.18); }
.theme-art .wr-link { color: #C83C78; }
.theme-art .wr-history-card:hover { border-color: #C83C78; }
.theme-art .wr-question-rule { background: #C83C78; }

/* Stock Market Room — bull green */
.theme-stockmarket {
  --wr-gold:       #28B464;
  --wr-gold-light: #58D090;
  --wr-verdict-bg:     #041A0C;
  --wr-verdict-border: #28B464;
  --wr-verdict-text:   #88E8B8;
}
.theme-stockmarket .wr-logo { color: #28B464; }
.theme-stockmarket .wr-logo:hover { color: #58D090; }
.theme-stockmarket .wr-btn--primary { background: #28B464; color: #020A04; }
.theme-stockmarket .wr-btn--primary:hover { background: #58D090; color: #020A04; }
.theme-stockmarket .wr-page-btn { color: #28B464; }
.theme-stockmarket .wr-page-btn:hover { color: #58D090; }
.theme-stockmarket .wr-tag:hover { border-color: #28B464; color: #28B464; }
.theme-stockmarket .wr-example:hover { border-color: #28B464; }
.theme-stockmarket .wr-textarea:focus { border-color: #28B464; box-shadow: 0 0 0 2px rgba(40,180,100,0.18); }
.theme-stockmarket .wr-input:focus { border-color: #28B464; box-shadow: 0 0 0 2px rgba(40,180,100,0.18); }
.theme-stockmarket .wr-link { color: #28B464; }
.theme-stockmarket .wr-history-card:hover { border-color: #28B464; }
.theme-stockmarket .wr-question-rule { background: #28B464; }

/* Legal Room — deep slate accent */
.theme-legal {
  --wr-gold:       #6464A0;
  --wr-gold-light: #9090C0;
  --wr-verdict-bg:     #0C0C18;
  --wr-verdict-border: #6464A0;
  --wr-verdict-text:   #C0C0E0;
}
.theme-legal .wr-logo { color: #6464A0; }
.theme-legal .wr-logo:hover { color: #9090C0; }
.theme-legal .wr-btn--primary { background: #6464A0; color: #050508; }
.theme-legal .wr-btn--primary:hover { background: #9090C0; color: #050508; }
.theme-legal .wr-page-btn { color: #6464A0; }
.theme-legal .wr-page-btn:hover { color: #9090C0; }
.theme-legal .wr-tag:hover { border-color: #6464A0; color: #6464A0; }
.theme-legal .wr-example:hover { border-color: #6464A0; }
.theme-legal .wr-textarea:focus { border-color: #6464A0; box-shadow: 0 0 0 2px rgba(100,100,160,0.18); }
.theme-legal .wr-input:focus { border-color: #6464A0; box-shadow: 0 0 0 2px rgba(100,100,160,0.18); }
.theme-legal .wr-link { color: #6464A0; }
.theme-legal .wr-history-card:hover { border-color: #6464A0; }
.theme-legal .wr-question-rule { background: #6464A0; }

/* Politics Room — split left/right purple accent (neutral) */
.theme-politics {
  --wr-gold:       #A050B4;
  --wr-gold-light: #C080D0;
  --wr-verdict-bg:     #180820;
  --wr-verdict-border: #A050B4;
  --wr-verdict-text:   #D8A8E8;
}
.theme-politics .wr-logo { color: #A050B4; }
.theme-politics .wr-logo:hover { color: #C080D0; }
.theme-politics .wr-btn--primary { background: #A050B4; color: #080410; }
.theme-politics .wr-btn--primary:hover { background: #C080D0; color: #080410; }
.theme-politics .wr-page-btn { color: #A050B4; }
.theme-politics .wr-page-btn:hover { color: #C080D0; }
.theme-politics .wr-tag:hover { border-color: #A050B4; color: #A050B4; }
.theme-politics .wr-example:hover { border-color: #A050B4; }
.theme-politics .wr-textarea:focus { border-color: #A050B4; box-shadow: 0 0 0 2px rgba(160,80,180,0.18); }
.theme-politics .wr-input:focus { border-color: #A050B4; box-shadow: 0 0 0 2px rgba(160,80,180,0.18); }
.theme-politics .wr-link { color: #A050B4; }
.theme-politics .wr-history-card:hover { border-color: #A050B4; }
.theme-politics .wr-question-rule { background: #A050B4; }

/* Politics toggle buttons */
.wr-politics-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--wr-border);
}
.wr-politics-btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--wr-bg-surface);
  color: var(--wr-muted);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.wr-politics-btn--left.active  { background: #1A3A6A; color: #80B0F0; }
.wr-politics-btn--right.active { background: #5A1010; color: #F08080; }
.wr-politics-btn--left:hover:not(.active)  { background: rgba(80,130,200,0.1); color: #80B0F0; }
.wr-politics-btn--right:hover:not(.active) { background: rgba(200,60,60,0.1);  color: #F08080; }

/* HR Room — steel blue accent */
.theme-hr {
  --wr-gold:       #508CC8;
  --wr-gold-light: #80B0E0;
  --wr-verdict-bg:     #081428;
  --wr-verdict-border: #508CC8;
  --wr-verdict-text:   #A8C8F0;
}
.theme-hr .wr-logo { color: #508CC8; }
.theme-hr .wr-logo:hover { color: #80B0E0; }
.theme-hr .wr-btn--primary { background: #508CC8; color: #030810; }
.theme-hr .wr-btn--primary:hover { background: #80B0E0; color: #030810; }
.theme-hr .wr-page-btn { color: #508CC8; }
.theme-hr .wr-page-btn:hover { color: #80B0E0; }
.theme-hr .wr-tag:hover { border-color: #508CC8; color: #508CC8; }
.theme-hr .wr-example:hover { border-color: #508CC8; }
.theme-hr .wr-textarea:focus { border-color: #508CC8; box-shadow: 0 0 0 2px rgba(80,140,200,0.18); }
.theme-hr .wr-input:focus { border-color: #508CC8; box-shadow: 0 0 0 2px rgba(80,140,200,0.18); }
.theme-hr .wr-link { color: #508CC8; }
.theme-hr .wr-history-card:hover { border-color: #508CC8; }
.theme-hr .wr-question-rule { background: #508CC8; }

/* Spiritual Room — soft violet accent */
.theme-spiritual {
  --wr-gold:       #B482C8;
  --wr-gold-light: #D0A8E0;
  --wr-verdict-bg:     #1A0A28;
  --wr-verdict-border: #B482C8;
  --wr-verdict-text:   #DCC8F0;
}
.theme-spiritual .wr-logo { color: #B482C8; }
.theme-spiritual .wr-logo:hover { color: #D0A8E0; }
.theme-spiritual .wr-btn--primary { background: #B482C8; color: #080410; }
.theme-spiritual .wr-btn--primary:hover { background: #D0A8E0; color: #080410; }
.theme-spiritual .wr-page-btn { color: #B482C8; }
.theme-spiritual .wr-page-btn:hover { color: #D0A8E0; }
.theme-spiritual .wr-tag:hover { border-color: #B482C8; color: #B482C8; }
.theme-spiritual .wr-example:hover { border-color: #B482C8; }
.theme-spiritual .wr-textarea:focus { border-color: #B482C8; box-shadow: 0 0 0 2px rgba(180,130,200,0.18); }
.theme-spiritual .wr-input:focus { border-color: #B482C8; box-shadow: 0 0 0 2px rgba(180,130,200,0.18); }
.theme-spiritual .wr-link { color: #B482C8; }
.theme-spiritual .wr-history-card:hover { border-color: #B482C8; }
.theme-spiritual .wr-question-rule { background: #B482C8; }

/* Holistic Room — healing green accent */
.theme-holistic {
  --wr-gold:       #64B48C;
  --wr-gold-light: #90D0B0;
  --wr-verdict-bg:     #081C12;
  --wr-verdict-border: #64B48C;
  --wr-verdict-text:   #A8E0C8;
}
.theme-holistic .wr-logo { color: #64B48C; }
.theme-holistic .wr-logo:hover { color: #90D0B0; }
.theme-holistic .wr-btn--primary { background: #64B48C; color: #030E08; }
.theme-holistic .wr-btn--primary:hover { background: #90D0B0; color: #030E08; }
.theme-holistic .wr-page-btn { color: #64B48C; }
.theme-holistic .wr-page-btn:hover { color: #90D0B0; }
.theme-holistic .wr-tag:hover { border-color: #64B48C; color: #64B48C; }
.theme-holistic .wr-example:hover { border-color: #64B48C; }
.theme-holistic .wr-textarea:focus { border-color: #64B48C; box-shadow: 0 0 0 2px rgba(100,180,140,0.18); }
.theme-holistic .wr-input:focus { border-color: #64B48C; box-shadow: 0 0 0 2px rgba(100,180,140,0.18); }
.theme-holistic .wr-link { color: #64B48C; }
.theme-holistic .wr-history-card:hover { border-color: #64B48C; }
.theme-holistic .wr-question-rule { background: #64B48C; }

/* Business Leaders Room — bold crimson accent */
.theme-bizleaders {
  --wr-gold:       #DC503C;
  --wr-gold-light: #F07868;
  --wr-verdict-bg:     #280808;
  --wr-verdict-border: #DC503C;
  --wr-verdict-text:   #F8B0A8;
}
.theme-bizleaders .wr-logo { color: #DC503C; }
.theme-bizleaders .wr-logo:hover { color: #F07868; }
.theme-bizleaders .wr-btn--primary { background: #DC503C; color: #0A0202; }
.theme-bizleaders .wr-btn--primary:hover { background: #F07868; color: #0A0202; }
.theme-bizleaders .wr-page-btn { color: #DC503C; }
.theme-bizleaders .wr-page-btn:hover { color: #F07868; }
.theme-bizleaders .wr-tag:hover { border-color: #DC503C; color: #DC503C; }
.theme-bizleaders .wr-example:hover { border-color: #DC503C; }
.theme-bizleaders .wr-textarea:focus { border-color: #DC503C; box-shadow: 0 0 0 2px rgba(220,80,60,0.18); }
.theme-bizleaders .wr-input:focus { border-color: #DC503C; box-shadow: 0 0 0 2px rgba(220,80,60,0.18); }
.theme-bizleaders .wr-link { color: #DC503C; }
.theme-bizleaders .wr-history-card:hover { border-color: #DC503C; }
.theme-bizleaders .wr-question-rule { background: #DC503C; }

/* Game Theory Room — steel blue-teal */
.theme-gametheory {
  --wr-gold:       #4A9EC0;
  --wr-gold-light: #78C4E0;
  --wr-verdict-bg:     #061018;
  --wr-verdict-border: #4A9EC0;
  --wr-verdict-text:   #A0D8F0;
}
.theme-gametheory .wr-logo { color: #4A9EC0; }
.theme-gametheory .wr-logo:hover { color: #78C4E0; }
.theme-gametheory .wr-btn--primary { background: #4A9EC0; color: #03090F; }
.theme-gametheory .wr-btn--primary:hover { background: #78C4E0; color: #03090F; }
.theme-gametheory .wr-page-btn { color: #4A9EC0; }
.theme-gametheory .wr-page-btn:hover { color: #78C4E0; }
.theme-gametheory .wr-tag:hover { border-color: #4A9EC0; color: #4A9EC0; }
.theme-gametheory .wr-example:hover { border-color: #4A9EC0; }
.theme-gametheory .wr-textarea:focus { border-color: #4A9EC0; box-shadow: 0 0 0 2px rgba(74,158,192,0.18); }
.theme-gametheory .wr-input:focus { border-color: #4A9EC0; box-shadow: 0 0 0 2px rgba(74,158,192,0.18); }
.theme-gametheory .wr-link { color: #4A9EC0; }
.theme-gametheory .wr-history-card:hover { border-color: #4A9EC0; }
.theme-gametheory .wr-question-rule { background: #4A9EC0; }

/* Consciousness Room — deep violet */
.theme-consciousness {
  --wr-gold:       #8A68D4;
  --wr-gold-light: #B090F0;
  --wr-verdict-bg:     #0E0820;
  --wr-verdict-border: #8A68D4;
  --wr-verdict-text:   #C8B0F8;
}
.theme-consciousness .wr-logo { color: #8A68D4; }
.theme-consciousness .wr-logo:hover { color: #B090F0; }
.theme-consciousness .wr-btn--primary { background: #8A68D4; color: #060410; }
.theme-consciousness .wr-btn--primary:hover { background: #B090F0; color: #060410; }
.theme-consciousness .wr-page-btn { color: #8A68D4; }
.theme-consciousness .wr-page-btn:hover { color: #B090F0; }
.theme-consciousness .wr-tag:hover { border-color: #8A68D4; color: #8A68D4; }
.theme-consciousness .wr-example:hover { border-color: #8A68D4; }
.theme-consciousness .wr-textarea:focus { border-color: #8A68D4; box-shadow: 0 0 0 2px rgba(138,104,212,0.18); }
.theme-consciousness .wr-input:focus { border-color: #8A68D4; box-shadow: 0 0 0 2px rgba(138,104,212,0.18); }
.theme-consciousness .wr-link { color: #8A68D4; }
.theme-consciousness .wr-history-card:hover { border-color: #8A68D4; }
.theme-consciousness .wr-question-rule { background: #8A68D4; }

/* Modern Strategy Room — slate blue */
.theme-modernstrategy {
  --wr-gold:       #3A78B4;
  --wr-gold-light: #68A4D8;
  --wr-verdict-bg:     #060E18;
  --wr-verdict-border: #3A78B4;
  --wr-verdict-text:   #A0C8E8;
}
.theme-modernstrategy .wr-logo { color: #3A78B4; }
.theme-modernstrategy .wr-logo:hover { color: #68A4D8; }
.theme-modernstrategy .wr-btn--primary { background: #3A78B4; color: #030710; }
.theme-modernstrategy .wr-btn--primary:hover { background: #68A4D8; color: #030710; }
.theme-modernstrategy .wr-page-btn { color: #3A78B4; }
.theme-modernstrategy .wr-page-btn:hover { color: #68A4D8; }
.theme-modernstrategy .wr-tag:hover { border-color: #3A78B4; color: #3A78B4; }
.theme-modernstrategy .wr-example:hover { border-color: #3A78B4; }
.theme-modernstrategy .wr-textarea:focus { border-color: #3A78B4; box-shadow: 0 0 0 2px rgba(58,120,180,0.18); }
.theme-modernstrategy .wr-input:focus { border-color: #3A78B4; box-shadow: 0 0 0 2px rgba(58,120,180,0.18); }
.theme-modernstrategy .wr-link { color: #3A78B4; }
.theme-modernstrategy .wr-history-card:hover { border-color: #3A78B4; }
.theme-modernstrategy .wr-question-rule { background: #3A78B4; }

/* Longevity Room — emerald green */
.theme-longevity {
  --wr-gold:       #28A870;
  --wr-gold-light: #58C898;
  --wr-verdict-bg:     #051410;
  --wr-verdict-border: #28A870;
  --wr-verdict-text:   #90E0C0;
}
.theme-longevity .wr-logo { color: #28A870; }
.theme-longevity .wr-logo:hover { color: #58C898; }
.theme-longevity .wr-btn--primary { background: #28A870; color: #020A06; }
.theme-longevity .wr-btn--primary:hover { background: #58C898; color: #020A06; }
.theme-longevity .wr-page-btn { color: #28A870; }
.theme-longevity .wr-page-btn:hover { color: #58C898; }
.theme-longevity .wr-tag:hover { border-color: #28A870; color: #28A870; }
.theme-longevity .wr-example:hover { border-color: #28A870; }
.theme-longevity .wr-textarea:focus { border-color: #28A870; box-shadow: 0 0 0 2px rgba(40,168,112,0.18); }
.theme-longevity .wr-input:focus { border-color: #28A870; box-shadow: 0 0 0 2px rgba(40,168,112,0.18); }
.theme-longevity .wr-link { color: #28A870; }
.theme-longevity .wr-history-card:hover { border-color: #28A870; }
.theme-longevity .wr-question-rule { background: #28A870; }

/* Self-Help Room — warm amber */
.theme-selfhelp {
  --wr-gold:       #D4900A;
  --wr-gold-light: #F0B840;
  --wr-verdict-bg:     #1A1000;
  --wr-verdict-border: #D4900A;
  --wr-verdict-text:   #F0D080;
}
.theme-selfhelp .wr-logo { color: #D4900A; }
.theme-selfhelp .wr-logo:hover { color: #F0B840; }
.theme-selfhelp .wr-btn--primary { background: #D4900A; color: #0A0600; }
.theme-selfhelp .wr-btn--primary:hover { background: #F0B840; color: #0A0600; }
.theme-selfhelp .wr-page-btn { color: #D4900A; }
.theme-selfhelp .wr-page-btn:hover { color: #F0B840; }
.theme-selfhelp .wr-tag:hover { border-color: #D4900A; color: #D4900A; }
.theme-selfhelp .wr-example:hover { border-color: #D4900A; }
.theme-selfhelp .wr-textarea:focus { border-color: #D4900A; box-shadow: 0 0 0 2px rgba(212,144,10,0.18); }
.theme-selfhelp .wr-input:focus { border-color: #D4900A; box-shadow: 0 0 0 2px rgba(212,144,10,0.18); }
.theme-selfhelp .wr-link { color: #D4900A; }
.theme-selfhelp .wr-history-card:hover { border-color: #D4900A; }
.theme-selfhelp .wr-question-rule { background: #D4900A; }

/* Ethics Room — cool silver-violet */
.theme-ethics {
  --wr-gold:       #7878B8;
  --wr-gold-light: #A0A0D8;
  --wr-verdict-bg:     #0A0A18;
  --wr-verdict-border: #7878B8;
  --wr-verdict-text:   #C0C0E8;
}
.theme-ethics .wr-logo { color: #7878B8; }
.theme-ethics .wr-logo:hover { color: #A0A0D8; }
.theme-ethics .wr-btn--primary { background: #7878B8; color: #050510; }
.theme-ethics .wr-btn--primary:hover { background: #A0A0D8; color: #050510; }
.theme-ethics .wr-page-btn { color: #7878B8; }
.theme-ethics .wr-page-btn:hover { color: #A0A0D8; }
.theme-ethics .wr-tag:hover { border-color: #7878B8; color: #7878B8; }
.theme-ethics .wr-example:hover { border-color: #7878B8; }
.theme-ethics .wr-textarea:focus { border-color: #7878B8; box-shadow: 0 0 0 2px rgba(120,120,184,0.18); }
.theme-ethics .wr-input:focus { border-color: #7878B8; box-shadow: 0 0 0 2px rgba(120,120,184,0.18); }
.theme-ethics .wr-link { color: #7878B8; }
.theme-ethics .wr-history-card:hover { border-color: #7878B8; }
.theme-ethics .wr-question-rule { background: #7878B8; }

/* Christian Room — warm gold */
.theme-christian {
  --wr-gold:       #C09030;
  --wr-gold-light: #E0B860;
  --wr-verdict-bg:     #180E00;
  --wr-verdict-border: #C09030;
  --wr-verdict-text:   #E8D090;
}
.theme-christian .wr-logo { color: #C09030; }
.theme-christian .wr-logo:hover { color: #E0B860; }
.theme-christian .wr-btn--primary { background: #C09030; color: #0A0600; }
.theme-christian .wr-btn--primary:hover { background: #E0B860; color: #0A0600; }
.theme-christian .wr-page-btn { color: #C09030; }
.theme-christian .wr-page-btn:hover { color: #E0B860; }
.theme-christian .wr-tag:hover { border-color: #C09030; color: #C09030; }
.theme-christian .wr-example:hover { border-color: #C09030; }
.theme-christian .wr-textarea:focus { border-color: #C09030; box-shadow: 0 0 0 2px rgba(192,144,48,0.18); }
.theme-christian .wr-input:focus { border-color: #C09030; box-shadow: 0 0 0 2px rgba(192,144,48,0.18); }
.theme-christian .wr-link { color: #C09030; }
.theme-christian .wr-history-card:hover { border-color: #C09030; }
.theme-christian .wr-question-rule { background: #C09030; }

/* --- Catholicism --- */
.theme-catholic {
  --wr-gold: #D4AF37; --wr-gold-light: #F0D060;
  --wr-verdict-bg: #1A1000; --wr-verdict-border: #D4AF37; --wr-verdict-text: #F0D060;
}
.theme-catholic .wr-logo { color: #D4AF37; }
.theme-catholic .wr-logo:hover { color: #F0D060; }
.theme-catholic .wr-btn--primary { background: #D4AF37; color: #0A0800; }
.theme-catholic .wr-btn--primary:hover { background: #F0D060; color: #0A0800; }
.theme-catholic .wr-page-btn { color: #D4AF37; }
.theme-catholic .wr-page-btn:hover { color: #F0D060; }
.theme-catholic .wr-tag:hover { border-color: #D4AF37; color: #D4AF37; }
.theme-catholic .wr-example:hover { border-color: #D4AF37; }
.theme-catholic .wr-textarea:focus { border-color: #D4AF37; box-shadow: 0 0 0 2px rgba(212,175,55,0.18); }
.theme-catholic .wr-input:focus { border-color: #D4AF37; box-shadow: 0 0 0 2px rgba(212,175,55,0.18); }
.theme-catholic .wr-link { color: #D4AF37; }
.theme-catholic .wr-history-card:hover { border-color: #D4AF37; }
.theme-catholic .wr-question-rule { background: #D4AF37; }

/* --- CEO --- */
.theme-ceo {
  --wr-gold: #C9A84C; --wr-gold-light: #E8CC80;
  --wr-verdict-bg: #08101E; --wr-verdict-border: #C9A84C; --wr-verdict-text: #E8CC80;
}
.theme-ceo .wr-logo { color: #C9A84C; }
.theme-ceo .wr-logo:hover { color: #E8CC80; }
.theme-ceo .wr-btn--primary { background: #C9A84C; color: #060800; }
.theme-ceo .wr-btn--primary:hover { background: #E8CC80; color: #060800; }
.theme-ceo .wr-page-btn { color: #C9A84C; }
.theme-ceo .wr-page-btn:hover { color: #E8CC80; }
.theme-ceo .wr-tag:hover { border-color: #C9A84C; color: #C9A84C; }
.theme-ceo .wr-example:hover { border-color: #C9A84C; }
.theme-ceo .wr-textarea:focus { border-color: #C9A84C; box-shadow: 0 0 0 2px rgba(201,168,76,0.18); }
.theme-ceo .wr-input:focus { border-color: #C9A84C; box-shadow: 0 0 0 2px rgba(201,168,76,0.18); }
.theme-ceo .wr-link { color: #C9A84C; }
.theme-ceo .wr-history-card:hover { border-color: #C9A84C; }
.theme-ceo .wr-question-rule { background: #C9A84C; }

/* --- COO --- */
.theme-coo {
  --wr-gold: #60A0C8; --wr-gold-light: #90C8E8;
  --wr-verdict-bg: #040C14; --wr-verdict-border: #60A0C8; --wr-verdict-text: #90C8E8;
}
.theme-coo .wr-logo { color: #60A0C8; }
.theme-coo .wr-logo:hover { color: #90C8E8; }
.theme-coo .wr-btn--primary { background: #60A0C8; color: #040810; }
.theme-coo .wr-btn--primary:hover { background: #90C8E8; color: #040810; }
.theme-coo .wr-page-btn { color: #60A0C8; }
.theme-coo .wr-page-btn:hover { color: #90C8E8; }
.theme-coo .wr-tag:hover { border-color: #60A0C8; color: #60A0C8; }
.theme-coo .wr-example:hover { border-color: #60A0C8; }
.theme-coo .wr-textarea:focus { border-color: #60A0C8; box-shadow: 0 0 0 2px rgba(96,160,200,0.18); }
.theme-coo .wr-input:focus { border-color: #60A0C8; box-shadow: 0 0 0 2px rgba(96,160,200,0.18); }
.theme-coo .wr-link { color: #60A0C8; }
.theme-coo .wr-history-card:hover { border-color: #60A0C8; }
.theme-coo .wr-question-rule { background: #60A0C8; }

/* --- CFO --- */
.theme-cfo {
  --wr-gold: #80C060; --wr-gold-light: #A8E080;
  --wr-verdict-bg: #061008; --wr-verdict-border: #80C060; --wr-verdict-text: #A8E080;
}
.theme-cfo .wr-logo { color: #80C060; }
.theme-cfo .wr-logo:hover { color: #A8E080; }
.theme-cfo .wr-btn--primary { background: #80C060; color: #040800; }
.theme-cfo .wr-btn--primary:hover { background: #A8E080; color: #040800; }
.theme-cfo .wr-page-btn { color: #80C060; }
.theme-cfo .wr-page-btn:hover { color: #A8E080; }
.theme-cfo .wr-tag:hover { border-color: #80C060; color: #80C060; }
.theme-cfo .wr-example:hover { border-color: #80C060; }
.theme-cfo .wr-textarea:focus { border-color: #80C060; box-shadow: 0 0 0 2px rgba(128,192,96,0.18); }
.theme-cfo .wr-input:focus { border-color: #80C060; box-shadow: 0 0 0 2px rgba(128,192,96,0.18); }
.theme-cfo .wr-link { color: #80C060; }
.theme-cfo .wr-history-card:hover { border-color: #80C060; }
.theme-cfo .wr-question-rule { background: #80C060; }

/* --- CTO --- */
.theme-cto {
  --wr-gold: #60A0E0; --wr-gold-light: #90C8FF;
  --wr-verdict-bg: #040C18; --wr-verdict-border: #60A0E0; --wr-verdict-text: #90C8FF;
}
.theme-cto .wr-logo { color: #60A0E0; }
.theme-cto .wr-logo:hover { color: #90C8FF; }
.theme-cto .wr-btn--primary { background: #60A0E0; color: #040810; }
.theme-cto .wr-btn--primary:hover { background: #90C8FF; color: #040810; }
.theme-cto .wr-page-btn { color: #60A0E0; }
.theme-cto .wr-page-btn:hover { color: #90C8FF; }
.theme-cto .wr-tag:hover { border-color: #60A0E0; color: #60A0E0; }
.theme-cto .wr-example:hover { border-color: #60A0E0; }
.theme-cto .wr-textarea:focus { border-color: #60A0E0; box-shadow: 0 0 0 2px rgba(96,160,224,0.18); }
.theme-cto .wr-input:focus { border-color: #60A0E0; box-shadow: 0 0 0 2px rgba(96,160,224,0.18); }
.theme-cto .wr-link { color: #60A0E0; }
.theme-cto .wr-history-card:hover { border-color: #60A0E0; }
.theme-cto .wr-question-rule { background: #60A0E0; }

/* --- CMO --- */
.theme-cmo {
  --wr-gold: #D060A0; --wr-gold-light: #F090C8;
  --wr-verdict-bg: #140810; --wr-verdict-border: #D060A0; --wr-verdict-text: #F090C8;
}
.theme-cmo .wr-logo { color: #D060A0; }
.theme-cmo .wr-logo:hover { color: #F090C8; }
.theme-cmo .wr-btn--primary { background: #D060A0; color: #080410; }
.theme-cmo .wr-btn--primary:hover { background: #F090C8; color: #080410; }
.theme-cmo .wr-page-btn { color: #D060A0; }
.theme-cmo .wr-page-btn:hover { color: #F090C8; }
.theme-cmo .wr-tag:hover { border-color: #D060A0; color: #D060A0; }
.theme-cmo .wr-example:hover { border-color: #D060A0; }
.theme-cmo .wr-textarea:focus { border-color: #D060A0; box-shadow: 0 0 0 2px rgba(208,96,160,0.18); }
.theme-cmo .wr-input:focus { border-color: #D060A0; box-shadow: 0 0 0 2px rgba(208,96,160,0.18); }
.theme-cmo .wr-link { color: #D060A0; }
.theme-cmo .wr-history-card:hover { border-color: #D060A0; }
.theme-cmo .wr-question-rule { background: #D060A0; }

/* --- CIO --- */
.theme-cio {
  --wr-gold: #50B8A8; --wr-gold-light: #80D8C8;
  --wr-verdict-bg: #041410; --wr-verdict-border: #50B8A8; --wr-verdict-text: #80D8C8;
}
.theme-cio .wr-logo { color: #50B8A8; }
.theme-cio .wr-logo:hover { color: #80D8C8; }
.theme-cio .wr-btn--primary { background: #50B8A8; color: #040C0A; }
.theme-cio .wr-btn--primary:hover { background: #80D8C8; color: #040C0A; }
.theme-cio .wr-page-btn { color: #50B8A8; }
.theme-cio .wr-page-btn:hover { color: #80D8C8; }
.theme-cio .wr-tag:hover { border-color: #50B8A8; color: #50B8A8; }
.theme-cio .wr-example:hover { border-color: #50B8A8; }
.theme-cio .wr-textarea:focus { border-color: #50B8A8; box-shadow: 0 0 0 2px rgba(80,184,168,0.18); }
.theme-cio .wr-input:focus { border-color: #50B8A8; box-shadow: 0 0 0 2px rgba(80,184,168,0.18); }
.theme-cio .wr-link { color: #50B8A8; }
.theme-cio .wr-history-card:hover { border-color: #50B8A8; }
.theme-cio .wr-question-rule { background: #50B8A8; }

/* --- CHRO --- */
.theme-chro {
  --wr-gold: #E0A840; --wr-gold-light: #F8CC70;
  --wr-verdict-bg: #180E00; --wr-verdict-border: #E0A840; --wr-verdict-text: #F8CC70;
}
.theme-chro .wr-logo { color: #E0A840; }
.theme-chro .wr-logo:hover { color: #F8CC70; }
.theme-chro .wr-btn--primary { background: #E0A840; color: #0A0600; }
.theme-chro .wr-btn--primary:hover { background: #F8CC70; color: #0A0600; }
.theme-chro .wr-page-btn { color: #E0A840; }
.theme-chro .wr-page-btn:hover { color: #F8CC70; }
.theme-chro .wr-tag:hover { border-color: #E0A840; color: #E0A840; }
.theme-chro .wr-example:hover { border-color: #E0A840; }
.theme-chro .wr-textarea:focus { border-color: #E0A840; box-shadow: 0 0 0 2px rgba(224,168,64,0.18); }
.theme-chro .wr-input:focus { border-color: #E0A840; box-shadow: 0 0 0 2px rgba(224,168,64,0.18); }
.theme-chro .wr-link { color: #E0A840; }
.theme-chro .wr-history-card:hover { border-color: #E0A840; }
.theme-chro .wr-question-rule { background: #E0A840; }

/* --- CLO --- */
.theme-clo {
  --wr-gold: #C07890; --wr-gold-light: #E0A0B8;
  --wr-verdict-bg: #140810; --wr-verdict-border: #C07890; --wr-verdict-text: #E0A0B8;
}
.theme-clo .wr-logo { color: #C07890; }
.theme-clo .wr-logo:hover { color: #E0A0B8; }
.theme-clo .wr-btn--primary { background: #C07890; color: #080410; }
.theme-clo .wr-btn--primary:hover { background: #E0A0B8; color: #080410; }
.theme-clo .wr-page-btn { color: #C07890; }
.theme-clo .wr-page-btn:hover { color: #E0A0B8; }
.theme-clo .wr-tag:hover { border-color: #C07890; color: #C07890; }
.theme-clo .wr-example:hover { border-color: #C07890; }
.theme-clo .wr-textarea:focus { border-color: #C07890; box-shadow: 0 0 0 2px rgba(192,120,144,0.18); }
.theme-clo .wr-input:focus { border-color: #C07890; box-shadow: 0 0 0 2px rgba(192,120,144,0.18); }
.theme-clo .wr-link { color: #C07890; }
.theme-clo .wr-history-card:hover { border-color: #C07890; }
.theme-clo .wr-question-rule { background: #C07890; }

/* --- CSO --- */
.theme-cso {
  --wr-gold: #8888D0; --wr-gold-light: #B0B0F0;
  --wr-verdict-bg: #080818; --wr-verdict-border: #8888D0; --wr-verdict-text: #B0B0F0;
}
.theme-cso .wr-logo { color: #8888D0; }
.theme-cso .wr-logo:hover { color: #B0B0F0; }
.theme-cso .wr-btn--primary { background: #8888D0; color: #050510; }
.theme-cso .wr-btn--primary:hover { background: #B0B0F0; color: #050510; }
.theme-cso .wr-page-btn { color: #8888D0; }
.theme-cso .wr-page-btn:hover { color: #B0B0F0; }
.theme-cso .wr-tag:hover { border-color: #8888D0; color: #8888D0; }
.theme-cso .wr-example:hover { border-color: #8888D0; }
.theme-cso .wr-textarea:focus { border-color: #8888D0; box-shadow: 0 0 0 2px rgba(136,136,208,0.18); }
.theme-cso .wr-input:focus { border-color: #8888D0; box-shadow: 0 0 0 2px rgba(136,136,208,0.18); }
.theme-cso .wr-link { color: #8888D0; }
.theme-cso .wr-history-card:hover { border-color: #8888D0; }
.theme-cso .wr-question-rule { background: #8888D0; }

/* --- CPO --- */
.theme-cpo {
  --wr-gold: #E07850; --wr-gold-light: #F0A880;
  --wr-verdict-bg: #160800; --wr-verdict-border: #E07850; --wr-verdict-text: #F0A880;
}
.theme-cpo .wr-logo { color: #E07850; }
.theme-cpo .wr-logo:hover { color: #F0A880; }
.theme-cpo .wr-btn--primary { background: #E07850; color: #0A0400; }
.theme-cpo .wr-btn--primary:hover { background: #F0A880; color: #0A0400; }
.theme-cpo .wr-page-btn { color: #E07850; }
.theme-cpo .wr-page-btn:hover { color: #F0A880; }
.theme-cpo .wr-tag:hover { border-color: #E07850; color: #E07850; }
.theme-cpo .wr-example:hover { border-color: #E07850; }
.theme-cpo .wr-textarea:focus { border-color: #E07850; box-shadow: 0 0 0 2px rgba(224,120,80,0.18); }
.theme-cpo .wr-input:focus { border-color: #E07850; box-shadow: 0 0 0 2px rgba(224,120,80,0.18); }
.theme-cpo .wr-link { color: #E07850; }
.theme-cpo .wr-history-card:hover { border-color: #E07850; }
.theme-cpo .wr-question-rule { background: #E07850; }

/* =====================================================================
   AVENGERS OF ADVICE THEME
   ===================================================================== */
.theme-avengers {
  --wr-gold:          #A0C8FF;
  --wr-gold-light:    #C8E0FF;
  --wr-verdict-bg:    rgba(80, 140, 220, 0.08);
  --wr-verdict-border:rgba(80, 140, 220, 0.3);
  --wr-verdict-text:  #A0C8FF;
}
.theme-avengers .wr-logo                { color: #A0C8FF; }
.theme-avengers .wr-btn--primary        { background: #3060A0; border-color: #4878C8; }
.theme-avengers .wr-btn--primary:hover  { background: #4878C8; }
.theme-avengers .wr-page-btn.is-active  { border-color: #A0C8FF; color: #A0C8FF; }
.theme-avengers .wr-tag                 { border-color: rgba(160, 200, 255, 0.25); }
.theme-avengers .wr-tag:hover           { border-color: #A0C8FF; color: #A0C8FF; }
.theme-avengers .wr-example             { border-left-color: rgba(160, 200, 255, 0.3); }
.theme-avengers .wr-example:hover       { border-left-color: #A0C8FF; }
.theme-avengers .wr-textarea:focus      { border-color: #4878C8; box-shadow: 0 0 0 3px rgba(80,140,220,0.15); }
.theme-avengers input:focus             { border-color: #4878C8; }
.theme-avengers .wr-nav-link--gold      { color: #A0C8FF; }
.theme-avengers .wr-history-card:hover  { border-color: rgba(160, 200, 255, 0.4); }
.theme-avengers .wr-question-rule       { background: linear-gradient(90deg, #3060A0, transparent); }

.wr-room-accent--avengers { background: #A0C8FF; }
.wr-room-badge--avengers  { background: rgba(160, 200, 255, 0.10); color: #A0C8FF; border: 1px solid rgba(160, 200, 255, 0.3); }

/* =====================================================================
   SOFTWARE ENGINEERING ROOM THEME
   ===================================================================== */
.theme-software {
  --wr-gold:          #4A90D9;
  --wr-gold-light:    #80B8F0;
  --wr-verdict-bg:    rgba(74, 144, 217, 0.08);
  --wr-verdict-border:rgba(74, 144, 217, 0.3);
  --wr-verdict-text:  #4A90D9;
}
.theme-software .wr-logo                { color: #4A90D9; }
.theme-software .wr-btn--primary        { background: #1A4A80; border-color: #2A6AB0; }
.theme-software .wr-btn--primary:hover  { background: #2A6AB0; }
.theme-software .wr-page-btn.is-active  { border-color: #4A90D9; color: #4A90D9; }
.theme-software .wr-tag                 { border-color: rgba(74, 144, 217, 0.25); }
.theme-software .wr-tag:hover           { border-color: #4A90D9; color: #4A90D9; }
.theme-software .wr-example             { border-left-color: rgba(74, 144, 217, 0.3); }
.theme-software .wr-example:hover       { border-left-color: #4A90D9; }
.theme-software .wr-textarea:focus      { border-color: #2A6AB0; box-shadow: 0 0 0 3px rgba(74,144,217,0.15); }
.theme-software .wr-question-rule       { background: linear-gradient(90deg, #1A4A80, transparent); }
.wr-room-accent--software { background: #4A90D9; }
.wr-room-badge--software  { background: rgba(74,144,217,0.10); color: #4A90D9; border: 1px solid rgba(74,144,217,0.3); }

/* =====================================================================
   CYBERSECURITY ROOM THEME
   ===================================================================== */
.theme-cybersecurity {
  --wr-gold:          #E04040;
  --wr-gold-light:    #F08080;
  --wr-verdict-bg:    rgba(224, 64, 64, 0.08);
  --wr-verdict-border:rgba(224, 64, 64, 0.3);
  --wr-verdict-text:  #E04040;
}
.theme-cybersecurity .wr-logo                { color: #E04040; }
.theme-cybersecurity .wr-btn--primary        { background: #6A0000; border-color: #A02020; }
.theme-cybersecurity .wr-btn--primary:hover  { background: #A02020; }
.theme-cybersecurity .wr-page-btn.is-active  { border-color: #E04040; color: #E04040; }
.theme-cybersecurity .wr-tag                 { border-color: rgba(224, 64, 64, 0.25); }
.theme-cybersecurity .wr-tag:hover           { border-color: #E04040; color: #E04040; }
.theme-cybersecurity .wr-example             { border-left-color: rgba(224, 64, 64, 0.3); }
.theme-cybersecurity .wr-example:hover       { border-left-color: #E04040; }
.theme-cybersecurity .wr-textarea:focus      { border-color: #A02020; box-shadow: 0 0 0 3px rgba(224,64,64,0.15); }
.theme-cybersecurity .wr-question-rule       { background: linear-gradient(90deg, #6A0000, transparent); }
.wr-room-accent--cybersecurity { background: #E04040; }
.wr-room-badge--cybersecurity  { background: rgba(224,64,64,0.10); color: #E04040; border: 1px solid rgba(224,64,64,0.3); }

/* =====================================================================
   DATA SCIENCE & AI ROOM THEME
   ===================================================================== */
.theme-datascience {
  --wr-gold:          #9B59B6;
  --wr-gold-light:    #C080E0;
  --wr-verdict-bg:    rgba(155, 89, 182, 0.08);
  --wr-verdict-border:rgba(155, 89, 182, 0.3);
  --wr-verdict-text:  #9B59B6;
}
.theme-datascience .wr-logo                { color: #9B59B6; }
.theme-datascience .wr-btn--primary        { background: #3A1060; border-color: #6A3090; }
.theme-datascience .wr-btn--primary:hover  { background: #6A3090; }
.theme-datascience .wr-page-btn.is-active  { border-color: #9B59B6; color: #9B59B6; }
.theme-datascience .wr-tag                 { border-color: rgba(155, 89, 182, 0.25); }
.theme-datascience .wr-tag:hover           { border-color: #9B59B6; color: #9B59B6; }
.theme-datascience .wr-example             { border-left-color: rgba(155, 89, 182, 0.3); }
.theme-datascience .wr-example:hover       { border-left-color: #9B59B6; }
.theme-datascience .wr-textarea:focus      { border-color: #6A3090; box-shadow: 0 0 0 3px rgba(155,89,182,0.15); }
.theme-datascience .wr-question-rule       { background: linear-gradient(90deg, #3A1060, transparent); }
.wr-room-accent--datascience { background: #9B59B6; }
.wr-room-badge--datascience  { background: rgba(155,89,182,0.10); color: #9B59B6; border: 1px solid rgba(155,89,182,0.3); }

/* =====================================================================
   SALES ROOM THEME
   ===================================================================== */
.theme-sales {
  --wr-gold:          #27AE60;
  --wr-gold-light:    #52C07A;
  --wr-verdict-bg:    rgba(39, 174, 96, 0.08);
  --wr-verdict-border:rgba(39, 174, 96, 0.3);
  --wr-verdict-text:  #27AE60;
}
.theme-sales .wr-logo                { color: #27AE60; }
.theme-sales .wr-btn--primary        { background: #0A4020; border-color: #1A7040; }
.theme-sales .wr-btn--primary:hover  { background: #1A7040; }
.theme-sales .wr-page-btn.is-active  { border-color: #27AE60; color: #27AE60; }
.theme-sales .wr-tag                 { border-color: rgba(39, 174, 96, 0.25); }
.theme-sales .wr-tag:hover           { border-color: #27AE60; color: #27AE60; }
.theme-sales .wr-example             { border-left-color: rgba(39, 174, 96, 0.3); }
.theme-sales .wr-example:hover       { border-left-color: #27AE60; }
.theme-sales .wr-textarea:focus      { border-color: #1A7040; box-shadow: 0 0 0 3px rgba(39,174,96,0.15); }
.theme-sales .wr-question-rule       { background: linear-gradient(90deg, #0A4020, transparent); }
.wr-room-accent--sales { background: #27AE60; }
.wr-room-badge--sales  { background: rgba(39,174,96,0.10); color: #27AE60; border: 1px solid rgba(39,174,96,0.3); }

/* =====================================================================
   RESEARCH METHODS ROOM THEME
   ===================================================================== */
.theme-researchmethods {
  --wr-gold:          #E67E22;
  --wr-gold-light:    #F0A050;
  --wr-verdict-bg:    rgba(230, 126, 34, 0.08);
  --wr-verdict-border:rgba(230, 126, 34, 0.3);
  --wr-verdict-text:  #E67E22;
}
.theme-researchmethods .wr-logo                { color: #E67E22; }
.theme-researchmethods .wr-btn--primary        { background: #5A2800; border-color: #904010; }
.theme-researchmethods .wr-btn--primary:hover  { background: #904010; }
.theme-researchmethods .wr-page-btn.is-active  { border-color: #E67E22; color: #E67E22; }
.theme-researchmethods .wr-tag                 { border-color: rgba(230, 126, 34, 0.25); }
.theme-researchmethods .wr-tag:hover           { border-color: #E67E22; color: #E67E22; }
.theme-researchmethods .wr-example             { border-left-color: rgba(230, 126, 34, 0.3); }
.theme-researchmethods .wr-example:hover       { border-left-color: #E67E22; }
.theme-researchmethods .wr-textarea:focus      { border-color: #904010; box-shadow: 0 0 0 3px rgba(230,126,34,0.15); }
.theme-researchmethods .wr-question-rule       { background: linear-gradient(90deg, #5A2800, transparent); }
.wr-room-accent--researchmethods { background: #E67E22; }
.wr-room-badge--researchmethods  { background: rgba(230,126,34,0.10); color: #E67E22; border: 1px solid rgba(230,126,34,0.3); }

/* =====================================================================
   EMPLOYMENT LAW ROOM THEME
   ===================================================================== */
.theme-employmentlaw {
  --wr-gold:          #7F8C8D;
  --wr-gold-light:    #A0B0B8;
  --wr-verdict-bg:    rgba(127, 140, 141, 0.08);
  --wr-verdict-border:rgba(127, 140, 141, 0.3);
  --wr-verdict-text:  #A0B8C0;
}
.theme-employmentlaw .wr-logo                { color: #A0B8C0; }
.theme-employmentlaw .wr-btn--primary        { background: #1A2530; border-color: #304050; }
.theme-employmentlaw .wr-btn--primary:hover  { background: #304050; }
.theme-employmentlaw .wr-page-btn.is-active  { border-color: #A0B8C0; color: #A0B8C0; }
.theme-employmentlaw .wr-tag                 { border-color: rgba(160, 184, 192, 0.25); }
.theme-employmentlaw .wr-tag:hover           { border-color: #A0B8C0; color: #A0B8C0; }
.theme-employmentlaw .wr-example             { border-left-color: rgba(160, 184, 192, 0.3); }
.theme-employmentlaw .wr-example:hover       { border-left-color: #A0B8C0; }
.theme-employmentlaw .wr-textarea:focus      { border-color: #304050; box-shadow: 0 0 0 3px rgba(160,184,192,0.15); }
.theme-employmentlaw .wr-question-rule       { background: linear-gradient(90deg, #1A2530, transparent); }
.wr-room-accent--employmentlaw { background: #A0B8C0; }
.wr-room-badge--employmentlaw  { background: rgba(160,184,192,0.10); color: #A0B8C0; border: 1px solid rgba(160,184,192,0.3); }

/* =====================================================================
   ROOM SWITCHER & NAVIGATION
   ===================================================================== */
.wr-room-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}

.wr-room-pill {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--wr-border);
  color: var(--wr-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.wr-room-pill:hover { border-color: var(--wr-gold); color: var(--wr-gold); }
.wr-room-pill--active {
  border-color: var(--wr-gold);
  color: var(--wr-gold);
  background: rgba(239,159,39,0.08);
}

/* Room Dropdown Switcher */
.wr-room-dropdown { position: relative; }
.wr-room-dropdown-btn {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--wr-border);
  color: var(--wr-gold);
  background: rgba(239,159,39,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}
.wr-room-dropdown-btn:hover { border-color: var(--wr-gold); background: rgba(239,159,39,0.12); }
.wr-dropdown-arrow { font-size: 0.65rem; }
.wr-room-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #1C1C1A;
  border: 1px solid var(--wr-border);
  border-radius: 10px;
  min-width: 190px;
  z-index: 200;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-height: 70vh;
  overflow-y: auto;
}
.wr-room-dropdown-menu.open { display: block; }
.wr-room-dropdown-item {
  display: block;
  padding: 9px 16px;
  font-size: 0.82rem;
  color: var(--wr-muted);
  transition: all 0.12s;
  white-space: nowrap;
}
.wr-room-dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--wr-text); }
.wr-room-dropdown-item--active { color: var(--wr-gold); background: rgba(239,159,39,0.06); }

.wr-nav-link--admin {
  color: #9B7FD4;
}
.wr-nav-link--admin:hover { color: #C0A8E8; }

/* =====================================================================
   SESSION HEADER ADDITIONS
   ===================================================================== */
.wr-session-room-badge {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--wr-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wr-admin-badge {
  font-size: 0.75rem;
  color: #9B7FD4;
  background: rgba(155,127,212,0.1);
  border: 1px solid rgba(155,127,212,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 12px;
}

/* =====================================================================
   HISTORY ADDITIONS
   ===================================================================== */
.wr-history-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wr-filter-pill {
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--wr-border);
  color: var(--wr-muted);
  transition: all 0.15s;
}
.wr-filter-pill:hover { border-color: var(--wr-gold); color: var(--wr-gold); }
.wr-filter-pill--active {
  border-color: var(--wr-gold);
  color: var(--wr-gold);
  background: rgba(239,159,39,0.08);
}

.wr-history-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.wr-history-room-badge {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid var(--wr-border);
  color: var(--wr-muted);
  white-space: nowrap;
}

/* Room badge colors */
.wr-room-badge { font-size: 0.72rem; font-weight: 500; padding: 2px 8px; border-radius: 20px; }
.wr-room-badge--business   { background: rgba(239,159,39,0.12);  color: #EF9F27; }
.wr-room-badge--clinical   { background: rgba(78,205,196,0.12);  color: #4ECDC4; }
.wr-room-badge--leadership { background: rgba(91,155,213,0.12);  color: #5B9BD5; }
.wr-room-badge--neural     { background: rgba(155,127,212,0.12); color: #9B7FD4; }

/* =====================================================================
   ADMIN PANEL
   ===================================================================== */
.wr-admin-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.wr-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.wr-admin-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--wr-text);
}

.wr-admin-stats {
  display: flex;
  gap: 24px;
}

.wr-admin-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.wr-admin-stat-num {
  font-family: 'DM Mono', monospace;
  font-size: 1.5rem;
  color: var(--wr-gold);
}

.wr-admin-stat-label {
  font-size: 0.72rem;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.wr-admin-section {
  margin-bottom: 48px;
}

.wr-admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wr-admin-section-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wr-admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wr-border);
  border-radius: 4px;
}

.wr-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.wr-admin-table th {
  background: var(--wr-bg-surface);
  color: var(--wr-muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--wr-border);
  white-space: nowrap;
}

.wr-admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(51,51,48,0.5);
  color: var(--wr-text);
  vertical-align: middle;
}

.wr-admin-table tr:last-child td { border-bottom: none; }
.wr-admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.wr-admin-row--admin td { background: rgba(155,127,212,0.04); }

.wr-admin-muted { color: var(--wr-muted) !important; font-size: 0.83rem; }
.wr-admin-situation { max-width: 300px; color: var(--wr-muted) !important; font-size: 0.83rem; }
.wr-admin-username { font-weight: 500; }

.wr-admin-tag {
  font-size: 0.65rem;
  background: rgba(155,127,212,0.15);
  color: #9B7FD4;
  border-radius: 20px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: middle;
}

.wr-admin-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.wr-btn--xs {
  font-size: 0.72rem;
  padding: 4px 10px;
}

.wr-btn--sm {
  font-size: 0.8rem;
  padding: 6px 14px;
}

/* Room access pills in admin table */
.wr-room-access-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.wr-access-pill {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}

.wr-access-pill--on  { background: rgba(96,179,74,0.15); color: #60B34A; border: 1px solid rgba(96,179,74,0.3); }
.wr-access-pill--off { background: rgba(51,51,48,0.4); color: var(--wr-muted); border: 1px solid var(--wr-border); }

/* Admin edit form */
.wr-admin-edit-card {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  padding: 32px;
}

.wr-admin-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.wr-admin-edit-group-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wr-border);
}

.wr-admin-edit-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--wr-border);
}

.wr-admin-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wr-admin-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.wr-admin-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--wr-gold);
}

.wr-admin-checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wr-admin-checkbox-text strong {
  font-size: 0.875rem;
  color: var(--wr-text);
  font-weight: 500;
}

.wr-admin-checkbox-text small {
  font-size: 0.75rem;
  color: var(--wr-muted);
}

.wr-admin-note {
  font-size: 0.75rem;
  color: var(--wr-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Admin filters */
.wr-admin-filters { margin-bottom: 20px; }

.wr-admin-filter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.wr-admin-select {
  background: var(--wr-bg-surface);
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  color: var(--wr-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  padding: 7px 12px;
  outline: none;
  cursor: pointer;
}
.wr-admin-select:focus { border-color: var(--wr-gold); }

@media (max-width: 768px) {
  .wr-admin-edit-grid { grid-template-columns: 1fr; gap: 24px; }
  .wr-admin-table { font-size: 0.8rem; }
  .wr-admin-table td, .wr-admin-table th { padding: 8px 10px; }
  .wr-room-access-pills { display: none; }
}

/* =============================================================================
   ROOMS GRID PAGE
   ============================================================================= */
.wr-rooms-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.wr-rooms-header {
  text-align: center;
  margin-bottom: 36px;
}

.wr-rooms-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--wr-gold);
  margin: 0 0 8px;
}

.wr-rooms-sub {
  color: var(--wr-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Multi-select bar */
.wr-rooms-multi-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wr-card-bg);
  border: 1px solid var(--wr-gold);
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 24px;
}

.wr-multi-count {
  flex: 1;
  font-size: 0.9rem;
  color: var(--wr-gold);
}

.wr-btn--synthesize {
  background: var(--wr-gold);
  color: #0A0600;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.wr-btn--synthesize:hover { background: var(--wr-gold-light); }

.wr-btn--sm { padding: 6px 14px; font-size: 0.85rem; }

/* Room cards grid */
.wr-rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wr-room-card {
  position: relative;
  background: var(--wr-card-bg);
  border: 1px solid var(--wr-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--wr-text);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  user-select: none;
}

.wr-room-card:hover {
  border-color: var(--wr-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.wr-room-card.is-selected {
  border-color: var(--wr-gold);
  box-shadow: 0 0 0 2px var(--wr-gold);
}

.wr-room-card-accent {
  height: 4px;
  width: 100%;
}

/* Per-room accent bar colors */
.wr-room-accent--business    { background: #EF9F27; }
.wr-room-accent--clinical     { background: #4ECDC4; }
.wr-room-accent--leadership   { background: #5B9BD5; }
.wr-room-accent--neural       { background: #9B7FD4; }
.wr-room-accent--philosophy   { background: #7C6ED4; }
.wr-room-accent--fitness      { background: #E06830; }
.wr-room-accent--mathematics  { background: #3A80C8; }
.wr-room-accent--finance      { background: #2A9C60; }
.wr-room-accent--nutrition    { background: #5AA040; }
.wr-room-accent--mindfulness  { background: #4A9880; }
.wr-room-accent--alternative  { background: #C87838; }
.wr-room-accent--hr           { background: #508CC8; }
.wr-room-accent--spiritual    { background: #B482C8; }
.wr-room-accent--holistic     { background: #64B48C; }
.wr-room-accent--bizleaders   { background: #DC503C; }
.wr-room-accent--legal        { background: #6464A0; }
.wr-room-accent--politics     { background: #A050B4; }
.wr-room-accent--billing      { background: #00A8A8; }
.wr-room-accent--coaching     { background: #DC8C00; }
.wr-room-accent--ma           { background: #50A050; }
.wr-room-accent--realestate   { background: #B46428; }
.wr-room-accent--art          { background: #C83C78; }
.wr-room-accent--stockmarket  { background: #28B464; }

.wr-room-card-body {
  padding: 16px;
}

.wr-room-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wr-text);
  margin-bottom: 4px;
}

.wr-room-card-tagline {
  font-size: 0.78rem;
  color: var(--wr-text-muted);
  letter-spacing: 0.03em;
}

.wr-room-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wr-gold);
  color: #0A0600;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}

.wr-room-card.is-selected .wr-room-card-check { opacity: 1; }

/* Nav: current room breadcrumb */
.wr-nav-current {
  font-size: 0.85rem;
  color: var(--wr-text-muted);
  font-style: italic;
}

/* =============================================================================
   ADVISOR BIO
   ============================================================================= */
.wr-advisor-bio {
  font-size: 0.75rem;
  color: var(--wr-text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.wr-advisor-years {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  opacity: 0.8;
}

/* =============================================================================
   DIVE DEEPER
   ============================================================================= */
.wr-dive-deeper-wrap {
  margin-top: 10px;
  border-top: 1px solid var(--wr-border);
  padding-top: 10px;
}

.wr-dive-deeper-btn {
  background: none;
  border: 1px solid var(--wr-border);
  border-radius: 4px;
  color: var(--wr-text-muted);
  font-size: 0.78rem;
  padding: 4px 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.wr-dive-deeper-btn:hover:not(:disabled) {
  border-color: var(--wr-gold);
  color: var(--wr-gold);
}

.wr-dive-deeper-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.wr-dive-deeper-content {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--wr-text);
  white-space: pre-wrap;
  font-style: italic;
}

/* =============================================================================
   SYNTHESIZE OVERLAY
   ============================================================================= */
.wr-synth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 40px;
  overflow-y: auto;
}

.wr-synth-panel {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: 10px;
  padding: 32px;
  max-width: 700px;
  width: 100%;
  position: relative;
}

.wr-synth-panel--result {
  max-width: 860px;
}

.wr-synth-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--wr-text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.wr-synth-close:hover { color: var(--wr-text); }

.wr-synth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--wr-gold);
  margin: 0 0 6px;
}

.wr-synth-rooms-label {
  font-size: 0.85rem;
  color: var(--wr-text-muted);
  margin: 0 0 18px;
}

.wr-synth-label {
  display: block;
  font-size: 0.85rem;
  color: var(--wr-text-muted);
  margin-bottom: 8px;
}

.wr-synth-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.wr-synth-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--wr-text-muted);
  font-size: 0.9rem;
}

.wr-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--wr-border);
  border-top-color: var(--wr-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================================
   RESPONSIVE — rooms grid
   ============================================================================= */
@media (max-width: 900px) {
  .wr-rooms-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .wr-rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .wr-rooms-title { font-size: 1.5rem; }
}
@media (max-width: 420px) {
  .wr-rooms-grid { grid-template-columns: 1fr; }
}

/* ---- Multi-select toggle button ---- */
.wr-multiselect-toggle {
  margin-top: 14px;
  background: none;
  border: 1px solid var(--wr-border);
  border-radius: 20px;
  color: var(--wr-text-muted);
  font-size: 0.82rem;
  padding: 6px 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wr-multiselect-toggle:hover { border-color: var(--wr-gold); color: var(--wr-gold); }
.wr-multiselect-toggle.is-active {
  background: rgba(239,159,39,0.12);
  border-color: var(--wr-gold);
  color: var(--wr-gold);
}
.wr-toggle-icon { font-size: 1rem; line-height: 1; }

/* Selecting state — cards get a hover ring */
.wr-rooms-grid.is-selecting .wr-room-card:hover {
  box-shadow: 0 0 0 2px var(--wr-gold-light);
}

/* Shake animation when max rooms reached */
@keyframes wr-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  60%      { transform: translateX(6px); }
  80%      { transform: translateX(-3px); }
}
.wr-room-card--shake { animation: wr-shake 0.35s ease; }

/* =============================================================================
   TIER / SESSION METER
   ============================================================================= */
.wr-rooms-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.wr-session-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wr-tier-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}
.wr-session-usage {
  font-size: 0.8rem;
  color: var(--wr-text-muted);
}
.wr-session-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.wr-session-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* =============================================================================
   LOCKED ROOMS & COMING SOON
   ============================================================================= */
.wr-rooms-section {
  margin-top: 48px;
}
.wr-rooms-section-header {
  margin-bottom: 20px;
}
.wr-rooms-section-title {
  font-family: var(--wr-font-display);
  font-size: 1.3rem;
  color: var(--wr-gold);
  margin: 0 0 4px 0;
}
.wr-rooms-section-sub {
  font-size: 0.85rem;
  color: var(--wr-text-muted);
  margin: 0;
}
.wr-room-card--locked {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
  pointer-events: none;
}
.wr-room-lock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 12px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.5);
}
.wr-room-card--coming-soon {
  cursor: default;
  border: 1px dashed rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.wr-room-card--coming-soon:hover {
  border-color: rgba(255,255,255,0.25);
  transform: none;
  background: rgba(255,255,255,0.03);
}
.wr-room-card-teaser {
  font-size: 0.75rem;
  color: var(--wr-text-muted);
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
}
.wr-coming-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(200,160,80,0.15);
  color: #C8A050;
  border: 1px solid rgba(200,160,80,0.3);
  border-radius: 12px;
  padding: 2px 8px;
}

/* =============================================================================
   ROOM REQUEST FORM
   ============================================================================= */
.wr-rooms-section--request {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 40px;
  margin-top: 48px;
}
.wr-request-form {
  max-width: 700px;
}
.wr-request-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.wr-request-input {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  padding: 10px 14px;
}
.wr-request-btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Room tag inside advisor domain in synth results */
.wr-advisor-room-tag {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  font-style: italic;
  color: var(--wr-text-muted);
}

/* =============================================================================
   CONTRARIAN VOICE
   ============================================================================= */
.wr-section--contrarian {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(220, 60, 40, 0.25);
}

.wr-contrarian-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.wr-contrarian-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #DC3C28;
  border: 1px solid #DC3C28;
  border-radius: 3px;
  padding: 2px 8px;
}

.wr-contrarian-role {
  font-size: 0.8rem;
  color: var(--wr-text-muted);
  font-style: italic;
}

.wr-contrarian-card {
  background: rgba(220, 60, 40, 0.06);
  border: 1px solid rgba(220, 60, 40, 0.3);
  border-left: 4px solid #DC3C28;
  border-radius: 0 6px 6px 0;
  padding: 18px 20px;
}

.wr-contrarian-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wr-text);
  margin-bottom: 3px;
}

.wr-contrarian-bio {
  font-size: 0.75rem;
  color: var(--wr-text-muted);
  margin-bottom: 10px;
}

.wr-contrarian-dissent {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wr-text);
  font-style: italic;
  margin: 0;
}

/* =============================================================================
   DEBATE BUTTON
   ============================================================================= */
.wr-btn--debate {
  background: none;
  border: 1px solid rgba(220, 140, 0, 0.5);
  color: #DC8C00;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.wr-btn--debate:hover {
  background: rgba(220, 140, 0, 0.1);
  border-color: #DC8C00;
}

/* =============================================================================
   DEBATE OVERLAY & ROOM PICKER
   ============================================================================= */
.wr-debate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
  overflow-y: auto;
}

.wr-debate-panel {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: 10px;
  padding: 32px;
  max-width: 680px;
  width: 100%;
  position: relative;
}

.wr-debate-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #DC8C00;
  margin: 0 0 8px;
}

.wr-debate-sub {
  font-size: 0.88rem;
  color: var(--wr-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}

.wr-debate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.wr-debate-room-btn {
  background: var(--wr-card-bg);
  border: 1px solid var(--wr-border);
  border-radius: 6px;
  color: var(--wr-text);
  font-size: 0.8rem;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.wr-debate-room-btn:hover { border-color: #DC8C00; }
.wr-debate-room-btn.is-selected {
  border-color: #DC8C00;
  background: rgba(220, 140, 0, 0.1);
  box-shadow: 0 0 0 1px #DC8C00;
}

.wr-debate-room-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wr-debate-selected-label {
  font-size: 0.83rem;
  color: var(--wr-gold);
  min-height: 1.4em;
  margin-bottom: 16px;
}

.wr-debate-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =============================================================================
   DEBATE RESULTS (inline below footer)
   ============================================================================= */
.wr-debate-results {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(220, 140, 0, 0.3);
}

.wr-debate-results-header {
  margin-bottom: 28px;
}

.wr-debate-results-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #DC8C00;
  margin: 0 0 4px;
}

.wr-debate-rooms-tag {
  font-size: 0.82rem;
  color: var(--wr-text-muted);
  margin: 0;
  font-style: italic;
}

/* Section label color variants */
.wr-section-label--red  { color: #DC3C28 !important; }
.wr-section-label--gold { color: var(--wr-gold) !important; }

/* Challenger and defender card variants */
.wr-advisor-card--challenger { border-left-color: #DC3C28 !important; }
.wr-advisor-card--defender   { border-left-color: var(--wr-gold) !important; }

/* Strongest challenge callout */
.wr-strongest-challenge {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(220, 60, 40, 0.08);
  border: 1px solid rgba(220, 60, 40, 0.25);
  border-radius: 5px;
  font-size: 0.88rem;
  color: var(--wr-text);
  line-height: 1.6;
}

.wr-sc-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #DC3C28;
  display: block;
  margin-bottom: 4px;
}

/* Resolution blocks */
.wr-debate-resolution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.wr-resolution-block {
  padding: 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--wr-text);
}

.wr-resolution-block p { margin: 0; }

.wr-resolution-block--survives {
  background: rgba(40, 180, 100, 0.08);
  border: 1px solid rgba(40, 180, 100, 0.25);
}

.wr-resolution-block--changes {
  background: rgba(220, 60, 40, 0.06);
  border: 1px solid rgba(220, 60, 40, 0.2);
}

.wr-resolution-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wr-resolution-block--survives .wr-resolution-label { color: #28B464; }
.wr-resolution-block--changes  .wr-resolution-label { color: #DC3C28; }

/* Refined verdict */
.wr-verdict-panel--refined {
  border: 1px solid rgba(220, 140, 0, 0.35);
  background: rgba(220, 140, 0, 0.06);
}

@media (max-width: 600px) {
  .wr-debate-grid { grid-template-columns: repeat(2, 1fr); }
  .wr-debate-resolution { grid-template-columns: 1fr; }
}

/* =====================================================================
   ASK THE COUNCIL
   ===================================================================== */
.wr-ask-wrap {
  margin-top: 6px;
}

.wr-ask-btn {
  background: transparent;
  border: 1px solid rgba(239, 159, 39, 0.3);
  color: var(--wr-gold);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.wr-ask-btn:hover {
  background: rgba(239, 159, 39, 0.08);
  border-color: rgba(239, 159, 39, 0.6);
}

.wr-ask-area {
  margin-top: 10px;
  border-top: 1px solid var(--wr-border);
  padding-top: 10px;
}

.wr-ask-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.wr-ask-q {
  align-self: flex-end;
  background: rgba(239, 159, 39, 0.08);
  border: 1px solid rgba(239, 159, 39, 0.2);
  border-radius: 10px 10px 2px 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: var(--wr-gold-light);
  max-width: 88%;
  line-height: 1.5;
}

.wr-ask-a {
  align-self: flex-start;
  background: var(--wr-bg-raised);
  border: 1px solid var(--wr-border);
  border-radius: 2px 10px 10px 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--wr-text);
  max-width: 92%;
  line-height: 1.65;
  white-space: pre-wrap;
}

.wr-ask-a--loading {
  color: var(--wr-muted);
  font-style: italic;
}

.wr-ask-a--error {
  color: #DC3C28;
  border-color: rgba(220, 60, 40, 0.3);
}

.wr-ask-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.wr-ask-input {
  flex: 1;
  background: var(--wr-bg-primary);
  border: 1px solid var(--wr-border);
  border-radius: 5px;
  color: var(--wr-text);
  font-size: 0.84rem;
  padding: 8px 10px;
  resize: none;
  line-height: 1.5;
  font-family: inherit;
  transition: border-color 0.15s;
}

.wr-ask-input:focus {
  outline: none;
  border-color: var(--wr-gold);
}

.wr-ask-send {
  background: var(--wr-gold);
  border: none;
  border-radius: 5px;
  color: #0D0D0D;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, opacity 0.15s;
}

.wr-ask-send:hover { background: var(--wr-gold-light); }
.wr-ask-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* =====================================================================
   ADD CONTEXT
   ===================================================================== */
.wr-add-context-panel {
  margin: 32px auto 0;
  max-width: 780px;
  border: 1px solid var(--wr-border);
  border-radius: 8px;
  overflow: hidden;
}

.wr-add-context-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}

.wr-add-context-toggle:hover { background: rgba(255,255,255,0.03); }
.wr-add-context-toggle.is-open { background: rgba(255,255,255,0.03); }

.wr-add-context-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(239, 159, 39, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wr-gold);
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: background 0.15s;
}

.wr-add-context-toggle.is-open .wr-add-context-icon {
  background: rgba(239, 159, 39, 0.12);
}

.wr-add-context-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wr-gold);
  flex-shrink: 0;
}

.wr-add-context-sub {
  font-size: 0.8rem;
  color: var(--wr-muted);
}

.wr-add-context-form {
  padding: 0 20px 20px;
  border-top: 1px solid var(--wr-border);
}

.wr-add-context-textarea {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 12px;
}

.wr-add-context-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Add Context Results */
.wr-add-context-result {
  margin: 24px auto 0;
  max-width: 780px;
}

.wr-add-context-result-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wr-border);
}

.wr-add-context-result-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wr-gold);
  margin-bottom: 6px;
}

.wr-add-context-result-context {
  font-size: 0.9rem;
  color: var(--wr-muted);
  font-style: italic;
  line-height: 1.5;
}

.wr-add-context-deltas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.wr-delta-block {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--wr-text);
}

.wr-delta-block p { margin: 0; }

.wr-delta-block--changes {
  background: rgba(220, 60, 40, 0.06);
  border: 1px solid rgba(220, 60, 40, 0.2);
}

.wr-delta-block--stands {
  background: rgba(40, 180, 100, 0.06);
  border: 1px solid rgba(40, 180, 100, 0.2);
}

.wr-delta-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wr-delta-block--changes .wr-delta-label { color: #DC3C28; }
.wr-delta-block--stands  .wr-delta-label { color: #28B464; }

@media (max-width: 600px) {
  .wr-add-context-toggle { flex-wrap: wrap; }
  .wr-add-context-sub { font-size: 0.74rem; }
  .wr-add-context-deltas { grid-template-columns: 1fr; }
  .wr-ask-input-row { flex-direction: column; }
  .wr-ask-send { width: 100%; }
}

/* =====================================================================
   PER-ADVISOR QUESTION BLOCK (Option C)
   ===================================================================== */
.wr-advisor-question-block {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(100, 80, 200, 0.06);
  border: 1px solid rgba(100, 80, 200, 0.2);
  border-radius: 6px;
}

.wr-advisor-question-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CECBF6;
  margin-bottom: 6px;
}

.wr-advisor-question-text {
  font-size: 0.86rem;
  color: var(--wr-text);
  line-height: 1.55;
  margin: 0 0 10px;
  font-style: italic;
}

.wr-advisor-question-answer-btn {
  font-size: 0.72rem !important;
  padding: 4px 10px !important;
  border-color: rgba(100, 80, 200, 0.4) !important;
  color: #CECBF6 !important;
}

.wr-advisor-question-answer-btn:hover {
  background: rgba(100, 80, 200, 0.1) !important;
  border-color: rgba(100, 80, 200, 0.7) !important;
}

/* =====================================================================
   ANSWER THE COUNCIL BUTTON
   ===================================================================== */
.wr-btn--questions {
  background: transparent;
  border: 1px solid rgba(100, 80, 200, 0.5);
  color: #CECBF6;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.wr-btn--questions:hover {
  background: rgba(100, 80, 200, 0.1);
  border-color: rgba(100, 80, 200, 0.8);
}

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

/* =====================================================================
   COUNCIL QUESTIONS PANEL (Option B)
   ===================================================================== */
.wr-cq-panel {
  margin: 28px auto 0;
  max-width: 780px;
  border: 1px solid rgba(100, 80, 200, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(100, 80, 200, 0.04);
}

.wr-cq-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(100, 80, 200, 0.2);
}

.wr-cq-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CECBF6;
  margin-bottom: 6px;
}

.wr-cq-sub {
  font-size: 0.82rem;
  color: var(--wr-muted);
  margin: 0;
}

.wr-cq-list {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wr-cq-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wr-border);
}

.wr-cq-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.wr-cq-advisor {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.wr-cq-advisor-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #CECBF6;
  letter-spacing: 0.04em;
}

.wr-cq-advisor-domain {
  font-size: 0.75rem;
  color: var(--wr-muted);
}

.wr-cq-question {
  font-size: 0.94rem;
  color: var(--wr-text);
  line-height: 1.55;
  margin: 0 0 6px;
  font-weight: 500;
}

.wr-cq-why {
  font-size: 0.78rem;
  color: var(--wr-muted);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 10px;
}

.wr-cq-textarea {
  width: 100%;
  margin-top: 8px;
}

.wr-cq-actions {
  padding: 16px 24px;
  border-top: 1px solid rgba(100, 80, 200, 0.2);
  display: flex;
  gap: 10px;
}

/* Answered Q&A summary inside results */
.wr-cq-answered-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.wr-cq-answered-item {
  font-size: 0.82rem;
  line-height: 1.5;
}

.wr-cq-answered-q {
  color: var(--wr-muted);
  font-style: italic;
  margin-bottom: 2px;
}

.wr-cq-answered-a {
  color: var(--wr-text);
  padding-left: 12px;
  border-left: 2px solid rgba(100, 80, 200, 0.4);
}

@media (max-width: 600px) {
  .wr-cq-list { padding: 12px 16px; }
  .wr-cq-header { padding: 16px; }
  .wr-cq-actions { padding: 12px 16px; flex-direction: column; }
}

/* =====================================================================
   COMEDY ROOM ACCENT
   ===================================================================== */
.wr-room-accent--comedy { background: #F5C518; }
.wr-room-badge--comedy  { background: rgba(245, 197, 24, 0.12); color: #F5C518; border: 1px solid rgba(245, 197, 24, 0.3); }

/* =====================================================================
   THE JESTER — Layer 7
   ===================================================================== */
.wr-section--jester {
  margin-top: 32px;
}

.wr-jester-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.wr-jester-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F5C518;
  border: 1px solid rgba(245, 197, 24, 0.35);
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(245, 197, 24, 0.06);
  flex-shrink: 0;
}

.wr-jester-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--wr-muted);
  letter-spacing: 0.04em;
}

.wr-jester-card {
  background: var(--wr-bg-surface);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-left: 3px solid #F5C518;
  border-radius: 6px;
  padding: 18px 20px;
}

.wr-jester-bio {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--wr-muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.wr-jester-punchline {
  font-size: 1rem;
  color: var(--wr-text);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* =====================================================================
   CONFIDENCE BAR & STEELMAN — Per-Advisor
   ===================================================================== */
.wr-advisor-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.wr-confidence-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.wr-confidence-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.wr-confidence-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--wr-text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.wr-steelman-block {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid rgba(220, 60, 40, 0.4);
  background: rgba(220, 60, 40, 0.04);
  border-radius: 0 4px 4px 0;
}

.wr-steelman-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 60, 40, 0.7);
  margin-bottom: 5px;
}

.wr-steelman-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--wr-text-muted);
  margin: 0;
  font-style: italic;
}

/* =====================================================================
   DECISION REFEREE — Layer 8
   ===================================================================== */
.wr-section--referee {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--wr-border);
}

.wr-referee-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.wr-referee-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A0C8F0;
  border: 1px solid rgba(160, 200, 240, 0.35);
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(160, 200, 240, 0.06);
}

.wr-referee-alignment {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--wr-text-muted);
}

.wr-referee-card {
  background: rgba(160, 200, 240, 0.04);
  border: 1px solid rgba(160, 200, 240, 0.2);
  border-left: 3px solid #A0C8F0;
  border-radius: 6px;
  padding: 20px 22px;
}

.wr-referee-consensus {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--wr-text);
  margin: 0 0 18px;
}

.wr-referee-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .wr-referee-cols { grid-template-columns: 1fr; }
}

.wr-referee-col-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wr-text-muted);
  margin-bottom: 8px;
}

.wr-referee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wr-referee-list li {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--wr-text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--wr-border);
}

.wr-referee-list li:last-child { border-bottom: none; }
.wr-referee-list li::before { content: '— '; opacity: 0.4; }

.wr-referee-verdict-wrap {
  border-top: 1px solid rgba(160, 200, 240, 0.2);
  padding-top: 14px;
}

.wr-referee-verdict {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--wr-text);
  margin: 0;
  font-style: italic;
}

/* =====================================================================
   RED TEAM — Layer 9
   ===================================================================== */
.wr-section--redteam {
  margin-top: 32px;
}

.wr-redteam-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 14px;
}

.wr-redteam-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E07070;
  border: 1px solid rgba(224, 112, 112, 0.35);
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(224, 112, 112, 0.06);
}

.wr-redteam-card {
  background: rgba(224, 112, 112, 0.04);
  border: 1px solid rgba(224, 112, 112, 0.2);
  border-left: 3px solid #E07070;
  border-radius: 6px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wr-redteam-col-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 112, 112, 0.7);
  margin-bottom: 8px;
}

.wr-redteam-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wr-redteam-list li {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--wr-text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--wr-border);
}

.wr-redteam-list li:last-child { border-bottom: none; }
.wr-redteam-list li::before { content: '✗ '; color: #E07070; opacity: 0.7; }

.wr-redteam-counter,
.wr-redteam-failure {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--wr-text-muted);
  margin: 0;
}

.wr-redteam-verdict-wrap {
  border-top: 1px solid rgba(224, 112, 112, 0.2);
  padding-top: 14px;
}

.wr-redteam-verdict {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--wr-text);
  margin: 0;
  font-style: italic;
}

/* =====================================================================
   ADMIN — GLOBAL SETTINGS & TOGGLE SWITCH
   ===================================================================== */
.wr-admin-settings-form {
  padding: 0 4px;
}

.wr-admin-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--wr-border);
}

.wr-admin-setting-row:last-child { border-bottom: none; }

.wr-admin-setting-info { flex: 1; }

.wr-admin-setting-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wr-text);
  margin-bottom: 4px;
}

.wr-admin-setting-desc {
  font-size: 0.8rem;
  color: var(--wr-muted);
  line-height: 1.55;
  max-width: 520px;
}

/* Toggle switch */
.wr-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.wr-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.wr-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--wr-bg-raised);
  border: 1px solid var(--wr-border);
  border-radius: 26px;
  transition: background 0.2s, border-color 0.2s;
}

.wr-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wr-muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.wr-toggle-switch input:checked + .wr-toggle-slider {
  background: rgba(245, 197, 24, 0.15);
  border-color: rgba(245, 197, 24, 0.5);
}

.wr-toggle-switch input:checked + .wr-toggle-slider::before {
  transform: translate(22px, -50%);
  background: #F5C518;
}

@media (max-width: 600px) {
  .wr-admin-setting-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Get Granular Button ─────────────────────────────── */
.wr-btn--granular {
  background: linear-gradient(135deg, #2A1A4A, #1A2A4A);
  color: #C8A8FF;
  border: 1px solid #6A3ABA;
}
.wr-btn--granular:hover {
  background: linear-gradient(135deg, #3A2A5A, #2A3A5A);
  border-color: #9A6AEA;
}

/* ── Get Granular Overlay ────────────────────────────── */
.wr-granular-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.wr-granular-panel {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.wr-granular-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #C8A8FF;
  margin: 0 0 0.4rem;
}
.wr-granular-sub {
  color: #888;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

/* Architecture grid */
.wr-granular-arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 520px) {
  .wr-granular-arch-grid { grid-template-columns: 1fr; }
}
.wr-granular-arch-btn {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1rem 0.75rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s;
}
.wr-granular-arch-btn:hover {
  border-color: #6A3ABA;
  background: #1F1F2A;
}
.wr-granular-arch-btn.selected {
  border-color: #9A6AEA;
  background: #1F1A30;
}
.wr-granular-arch-name {
  font-weight: 700;
  color: #C8A8FF;
  font-size: 0.95rem;
}
.wr-granular-arch-desc {
  color: #999;
  font-size: 0.8rem;
  line-height: 1.4;
}
.wr-granular-arch-time {
  color: #666;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Room checkboxes */
.wr-granular-rooms-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 0.6rem;
}
.wr-granular-rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.wr-granular-room-check {
  color: #CCC;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.wr-granular-room-check input[type="checkbox"] {
  accent-color: #9A6AEA;
}
.wr-granular-selected-label {
  color: #9A6AEA;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  min-height: 1.2em;
}
.wr-granular-actions {
  display: flex;
  gap: 0.75rem;
}

/* ── Get Granular Results ────────────────────────────── */
.wr-section--granular {
  margin-top: 2.5rem;
}
.wr-granular-results-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.wr-granular-results-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C8A8FF;
}
.wr-granular-results-arch {
  font-size: 0.8rem;
  color: #666;
}
.wr-granular-lenses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .wr-granular-lenses { grid-template-columns: 1fr; }
}
.wr-granular-lens-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.wr-granular-lens-room {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}
.wr-granular-lens-text {
  color: #CCC;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Room accent colors on lens cards */
.wr-room-theme--software      { border-top: 2px solid #4A90D9; }
.wr-room-theme--cybersecurity { border-top: 2px solid #E04040; }
.wr-room-theme--datascience   { border-top: 2px solid #9B59B6; }
.wr-room-theme--sales         { border-top: 2px solid #27AE60; }
.wr-room-theme--researchmethods { border-top: 2px solid #E67E22; }
.wr-room-theme--employmentlaw { border-top: 2px solid #A0B8C0; }

/* Synthesis block */
.wr-granular-synthesis-block {
  background: linear-gradient(135deg, #1A1A2A, #1A1F2A);
  border: 1px solid #3A2A5A;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.wr-granular-synthesis-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A8FF;
  margin-bottom: 0.75rem;
}
.wr-granular-synthesis-text {
  color: #DDD;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}


/* ── Council Builder ──────────────────────────────────────────────────────── */

/* Additional button variants */
.wr-btn--secondary {
  background: transparent;
  color: #C8A8FF;
  border: 1px solid #C8A8FF;
}
.wr-btn--secondary:hover { background: rgba(200,168,255,0.08); }

.wr-btn--danger-ghost {
  background: transparent;
  color: #E04040;
  border: 1px solid #3A1A1A;
}
.wr-btn--danger-ghost:hover { border-color: #E04040; }

/* Form elements */
.wr-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.4rem;
}

/* Builder layout */
.wr-builder-wrap { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.wr-builder-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.wr-builder-title { font-size: 1.6rem; font-weight: 700; color: #EEE; }
.wr-builder-section { margin-bottom: 3rem; }
.wr-builder-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1F1F1F;
}
.wr-builder-empty {
  color: #555;
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

/* Advisor cards on index */
.wr-advisor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.wr-advisor-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1.25rem;
}
.wr-advisor-card-name { font-weight: 700; color: #EEE; margin-bottom: 0.25rem; }
.wr-advisor-card-tagline { color: #888; font-size: 0.85rem; margin-bottom: 0.4rem; }
.wr-advisor-card-based-on {
  color: #9A6AEA;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.wr-advisor-card-meta { color: #555; font-size: 0.75rem; margin-bottom: 0.75rem; }
.wr-advisor-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Council cards on index */
.wr-council-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.wr-council-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1.25rem;
  border-top: 2px solid #C8A8FF;
}
.wr-council-card-name { font-weight: 700; color: #C8A8FF; font-size: 1.05rem; margin-bottom: 0.25rem; }
.wr-council-card-desc { color: #888; font-size: 0.85rem; margin-bottom: 0.75rem; }
.wr-council-card-meta { color: #555; font-size: 0.75rem; margin-bottom: 0.75rem; }
.wr-council-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Example profiles grid */
.wr-example-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.wr-example-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  user-select: none;
}
.wr-example-card:hover { border-color: #555; transform: translateY(-2px); }
.wr-example-card.active { border-color: #C8A8FF; }
.wr-example-card-accent { height: 3px; border-radius: 2px; margin-bottom: 0.75rem; }
.wr-example-card-name { font-weight: 700; color: #EEE; font-size: 0.9rem; margin-bottom: 0.2rem; }
.wr-example-card-inspired { color: #666; font-size: 0.72rem; margin-bottom: 0.4rem; }
.wr-example-card-tagline { color: #999; font-size: 0.78rem; line-height: 1.4; }
.wr-example-load-btn { display: inline-block; margin-top: 0.5rem; font-size: 0.72rem; color: #9A6AEA; }

/* Trait counter */
.wr-trait-counter {
  position: sticky;
  top: 1rem;
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  z-index: 10;
}
.wr-trait-counter-bar {
  flex: 1;
  height: 6px;
  background: #1F1F1F;
  border-radius: 3px;
  overflow: hidden;
}
.wr-trait-counter-fill {
  height: 100%;
  background: #9A6AEA;
  border-radius: 3px;
  transition: width 0.2s;
}
.wr-trait-counter-fill.warning { background: #E07850; }
.wr-trait-counter-fill.full    { background: #E04040; }
.wr-trait-counter-label { font-size: 0.8rem; color: #888; white-space: nowrap; }

/* Trait categories */
.wr-trait-categories { display: flex; flex-direction: column; gap: 2rem; }
.wr-trait-category {
  background: #0F0F0F;
  border: 1px solid #1F1F1F;
  border-radius: 10px;
  padding: 1.5rem;
}
.wr-trait-category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.wr-trait-category-icon { font-size: 1.1rem; color: #C8A8FF; }
.wr-trait-category-label { font-weight: 700; color: #CCC; font-size: 0.95rem; }
.wr-trait-list { display: flex; flex-direction: column; gap: 1.25rem; }
.wr-trait-block { display: flex; flex-direction: column; gap: 0; }

.wr-trait-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}
.wr-trait-pole { font-size: 0.8rem; color: #999; }
.wr-trait-pole--a { text-align: right; }
.wr-trait-pole--b { text-align: left; }
.wr-trait-scale { display: flex; gap: 0.4rem; align-items: center; }

/* Styled radio buttons as dots */
.wr-trait-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #333;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
}
.wr-trait-dot:checked  { background: #9A6AEA; border-color: #9A6AEA; }
.wr-trait-dot:hover    { border-color: #666; }

.wr-trait-clear {
  background: none;
  border: none;
  color: #444;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
.wr-trait-clear:hover { color: #888; }

.wr-trait-desc {
  font-size: 0.78rem;
  color: #777;
  font-style: italic;
  min-height: 0;
  padding: 0;
  display: none;
  line-height: 1.5;
  margin-top: 0.35rem;
  padding-left: 0.25rem;
}
.wr-trait-desc.visible { display: block; }

/* Cross-cutting traits */
.wr-cross-cutting {
  background: #0A0A0A;
  border: 1px solid #1A1A1A;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
}
.wr-cross-cutting-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
  margin-bottom: 1rem;
}

/* Council assembler — advisor selector */
.wr-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.wr-selector-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
  display: block;
  user-select: none;
}
.wr-selector-card:hover  { border-color: #555; }
.wr-selector-card.selected { border-color: #C8A8FF; background: #1A1A2A; }
.wr-selector-card input[type="checkbox"] { display: none; }
.wr-selector-card-name { font-weight: 700; color: #EEE; font-size: 0.9rem; margin-bottom: 0.2rem; }
.wr-selector-card-tagline { color: #888; font-size: 0.78rem; }
.wr-selector-check {
  float: right;
  color: #9A6AEA;
  font-size: 1.1rem;
  display: none;
}
.wr-selector-card.selected .wr-selector-check { display: inline; }

/* Council preview chips */
.wr-council-preview {
  margin-top: 1.25rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: #0A0A0A;
  border: 1px solid #1A1A1A;
  border-radius: 8px;
}
.wr-council-preview-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 0.5rem;
}
.wr-council-preview-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wr-preview-chip {
  background: #1F1F2A;
  border: 1px solid #3A2A5A;
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  color: #C8A8FF;
}

/* Run Session Modal */
.wr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.wr-modal {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  padding: 2rem;
}
.wr-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #EEE;
  margin-bottom: 1.25rem;
}
.wr-modal-body { margin-bottom: 1.5rem; }
.wr-modal-footer { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ── Research Any Person ────────────────────────────────── */
.wr-research-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.wr-research-input {
  flex: 1;
  max-width: 400px;
}
.wr-research-result {
  background: #0F1A1F;
  border: 1px solid #1A3A2A;
  border-left: 3px solid #6DBF8A;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.wr-research-result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.wr-research-result-name {
  font-weight: 700;
  color: #EEE;
  font-size: 0.9rem;
}
.wr-research-confidence {
  font-size: 0.75rem;
  font-weight: 600;
}
.wr-research-description {
  color: #CCC;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 0.4rem;
}
.wr-research-note {
  color: #777;
  font-size: 0.78rem;
  font-style: italic;
  margin: 0;
}
.wr-research-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #888;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.wr-research-error {
  color: #E07850;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

/* ── Alignment Grid ─────────────────────────────────────────────── */
.wr-alignment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
  max-width: 500px;
}
.wr-alignment-cell {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.wr-alignment-cell:hover { background: #1A1A1A; border-color: #444; }
.wr-alignment-cell.selected { background: #1A1A2A; }
.wr-alignment-name { font-size: 0.72rem; font-weight: 700; color: #CCC; }
.wr-alignment-desc { font-size: 0.65rem; color: #666; line-height: 1.2; }

/* ── Big Five OCEAN Radar ────────────────────────────────────────── */
.wr-ocean-wrap {
  background: #0F0F0F;
  border: 1px solid #1F1F1F;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.wr-ocean-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.wr-ocean-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A8FF;
}
.wr-ocean-note { font-size: 0.75rem; color: #555; }
.wr-ocean-display {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.wr-ocean-radar { width: 160px; height: 160px; flex-shrink: 0; }
.wr-radar-grid {
  fill: none;
  stroke: #2A2A2A;
  stroke-width: 1;
}
.wr-radar-data {
  fill: rgba(154, 106, 234, 0.25);
  stroke: #9A6AEA;
  stroke-width: 1.5;
  transition: all 0.3s ease;
}
.wr-radar-label {
  fill: #888;
  font-size: 11px;
  font-weight: 700;
}
.wr-ocean-bars { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.wr-ocean-bar-row {
  display: grid;
  grid-template-columns: 16px 120px 1fr 32px;
  align-items: center;
  gap: 0.5rem;
}
.wr-ocean-dim { font-size: 0.7rem; font-weight: 700; color: #9A6AEA; }
.wr-ocean-dim-name { font-size: 0.72rem; color: #777; }
.wr-ocean-bar-track {
  height: 6px;
  background: #1F1F1F;
  border-radius: 3px;
  overflow: hidden;
}
.wr-ocean-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6A3ABA, #9A6AEA);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.wr-ocean-score { font-size: 0.7rem; color: #666; text-align: right; }

/* ── Badges on advisor cards ─────────────────────────────────────── */
.wr-advisor-card-badges { display: flex; gap: 0.4rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.wr-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.wr-badge--mbti { background: #1A1A30; color: #A0C8FF; border: 1px solid #2A3A5A; }
.wr-badge--enn { background: #1A2A1A; color: #8ABF6D; border: 1px solid #2A4A2A; }
.wr-advisor-card-alignment {
  font-size: 0.72rem;
  color: #C8A8FF;
  margin-bottom: 0.4rem;
  font-style: italic;
}

/* ── Mini OCEAN bars on advisor cards ───────────────────────────── */
.wr-advisor-mini-ocean {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #1F1F1F;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.wr-mini-ocean-row { display: flex; align-items: center; gap: 0.4rem; }
.wr-mini-ocean-dim { font-size: 0.62rem; font-weight: 700; color: #9A6AEA; width: 12px; }
.wr-mini-ocean-track {
  flex: 1;
  height: 4px;
  background: #1F1F1F;
  border-radius: 2px;
  overflow: hidden;
}
.wr-mini-ocean-fill {
  height: 100%;
  background: linear-gradient(90deg, #6A3ABA, #9A6AEA);
  border-radius: 2px;
}

/* =====================================================================
   DESIGN TABLE — Iterative Project Workspace
   ===================================================================== */

/* Page scaffolding */
.dt-page-wrap        { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.dt-page-wrap--narrow{ max-width: 720px; }
.dt-page-header      { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.dt-page-title       { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--wr-gold); margin: 0 0 6px; }
.dt-page-subtitle    { color: var(--wr-muted); font-size: 0.92rem; margin: 0; }

/* Project card grid */
.dt-project-grid     { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.dt-project-card     { background: var(--wr-bg-surface); border: 1px solid var(--wr-border); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s; }
.dt-project-card:hover{ border-color: var(--wr-gold); }
.dt-project-card--completed{ border-color: #3A8A3A; }
.dt-project-card--archived { opacity: 0.6; }
.dt-project-card-header{ display: flex; align-items: center; justify-content: space-between; }
.dt-project-card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--wr-text); margin: 0; }
.dt-project-card-brief { font-size: 0.88rem; color: var(--wr-muted); line-height: 1.5; margin: 0; }
.dt-project-card-meta  { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--wr-muted); border-top: 1px solid var(--wr-border); padding-top: 10px; margin-top: auto; }
.dt-project-council    { color: #9A6AEA; }
.dt-project-card-actions{ display: flex; gap: 8px; flex-wrap: wrap; }

/* Status badges */
.dt-status-badge        { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 4px; }
.dt-status-badge--active{ background: #1C2A1C; color: #C0DD97; border: 1px solid #3A6A1A; }
.dt-status-badge--completed{ background: #1C2A3A; color: #97C0DD; border: 1px solid #1A4A6A; }
.dt-status-badge--archived { background: var(--wr-bg-raised); color: var(--wr-muted); border: 1px solid var(--wr-border); }

/* Round count badge */
.dt-round-count { font-size: 0.75rem; color: var(--wr-muted); }

/* Empty state */
.dt-empty-state  { text-align: center; padding: 80px 24px; color: var(--wr-muted); }
.dt-empty-icon   { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.dt-empty-title  { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--wr-text); margin: 0 0 12px; }
.dt-empty-body   { font-size: 0.9rem; max-width: 440px; margin: 0 auto 28px; line-height: 1.6; }

/* New project form */
.dt-form-card       { background: var(--wr-bg-surface); border: 1px solid var(--wr-border); border-radius: 10px; padding: 32px; }
.dt-brief-textarea  { min-height: 180px; resize: vertical; }
.dt-form-actions    { display: flex; gap: 12px; align-items: center; padding-top: 8px; }

/* ---- Workspace ---- */
.dt-workspace { display: flex; flex-direction: column; height: calc(100vh - 60px); overflow: hidden; }

.dt-ws-header { padding: 16px 24px; background: var(--wr-bg-surface); border-bottom: 1px solid var(--wr-border); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.dt-ws-header-left { display: flex; flex-direction: column; gap: 6px; }
.dt-back-link  { font-size: 0.8rem; color: var(--wr-muted); text-decoration: none; }
.dt-back-link:hover{ color: var(--wr-gold); }
.dt-ws-title   { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--wr-text); margin: 0; }
.dt-ws-meta    { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; }
.dt-ws-council { color: #9A6AEA; }
.dt-ws-advisors{ color: var(--wr-muted); }
.dt-ws-header-actions{ display: flex; gap: 8px; flex-shrink: 0; align-self: center; }

/* Brief panel */
.dt-brief-panel { background: #12180F; border-bottom: 1px solid #3A6A1A; padding: 14px 24px; flex-shrink: 0; }
.dt-brief-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #7AB84A; margin-bottom: 6px; }
.dt-brief-text  { font-size: 0.88rem; color: var(--wr-muted); line-height: 1.6; white-space: pre-wrap; }

/* Body layout */
.dt-ws-body    { display: flex; flex: 1; overflow: hidden; }

/* Sidebar */
.dt-ws-sidebar  { width: 240px; flex-shrink: 0; background: var(--wr-bg-surface); border-right: 1px solid var(--wr-border); overflow-y: auto; padding: 16px 0; }
.dt-sidebar-title{ font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wr-muted); padding: 0 16px 10px; }
.dt-sidebar-empty{ font-size: 0.82rem; color: var(--wr-muted); padding: 0 16px; line-height: 1.5; }
.dt-round-list  { display: flex; flex-direction: column; gap: 2px; }
.dt-round-item  { padding: 10px 16px; cursor: pointer; border-left: 3px solid transparent; transition: background 0.15s, border-color 0.15s; }
.dt-round-item:hover{ background: var(--wr-bg-raised); border-left-color: var(--wr-border); }
.dt-round-item--active{ background: #1A1A12; border-left-color: var(--wr-gold); }
.dt-round-item-header{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.dt-round-num  { font-size: 0.72rem; color: var(--wr-muted); }
.dt-round-item-steering{ font-size: 0.78rem; color: var(--wr-muted); line-height: 1.4; margin-bottom: 4px; }
.dt-round-item-date{ font-size: 0.68rem; color: #555; }

/* Main output area */
.dt-ws-main    { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.dt-output-panel{ flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.dt-output-placeholder{ flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--wr-muted); padding: 60px 0; }
.dt-placeholder-icon{ font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; }
.dt-placeholder-text{ font-size: 0.9rem; line-height: 1.6; max-width: 360px; }

/* Round output */
.dt-output-round-header{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dt-output-round-label { font-size: 0.85rem; color: var(--wr-muted); }
.dt-output-steering    { font-size: 0.82rem; color: #9A6AEA; font-style: italic; }

.dt-section-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wr-muted); margin-bottom: 10px; }
.dt-section-label--artifact{ color: var(--wr-gold); }

.dt-discussion-section{ background: var(--wr-bg-surface); border: 1px solid var(--wr-border); border-radius: 8px; padding: 18px 20px; }
.dt-discussion-text{ font-size: 0.88rem; color: var(--wr-text); line-height: 1.75; white-space: pre-wrap; }

.dt-artifact-section { background: #10180A; border: 1px solid #3A6A1A; border-radius: 8px; padding: 18px 20px; }
.dt-artifact-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dt-artifact-text    { font-size: 0.88rem; color: #D8F0C0; line-height: 1.75; white-space: pre-wrap; }
.dt-copy-btn { font-size: 0.75rem; padding: 4px 12px; background: transparent; border: 1px solid #3A6A1A; color: #7AB84A; border-radius: 4px; cursor: pointer; transition: background 0.15s; }
.dt-copy-btn:hover{ background: #1C2A14; }

/* Stream wrap */
.dt-stream-wrap{ display: flex; flex-direction: column; gap: 20px; }

/* Controls */
.dt-controls { flex-shrink: 0; background: var(--wr-bg-surface); border-top: 1px solid var(--wr-border); padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.dt-mode-selector{ display: flex; flex-direction: column; gap: 8px; }
.dt-mode-label{ font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wr-muted); }
.dt-mode-buttons{ display: flex; flex-wrap: wrap; gap: 6px; }
.dt-mode-btn { font-size: 0.78rem; padding: 5px 14px; background: var(--wr-bg-raised); border: 1px solid var(--wr-border); color: var(--wr-muted); border-radius: 20px; cursor: pointer; transition: all 0.15s; }
.dt-mode-btn:hover{ border-color: var(--wr-gold); color: var(--wr-text); }
.dt-mode-btn--active{ background: #2A1F00; border-color: var(--wr-gold); color: var(--wr-gold); }
.dt-mode-desc{ font-size: 0.78rem; color: var(--wr-muted); line-height: 1.5; font-style: italic; }

.dt-steering-row{ display: flex; }
.dt-steering-input{ flex: 1; font-size: 0.88rem; resize: none; min-height: 52px; }

.dt-run-row{ display: flex; align-items: center; gap: 14px; }
.dt-run-btn{ min-width: 160px; }
.dt-run-meta{ font-size: 0.78rem; color: var(--wr-muted); }

/* Mode badge colors */
.dt-mode-badge{ font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 4px; }
.dt-mode-badge--generate    { background: #1A2840; color: #97C0F4; border: 1px solid #1A4A8A; }
.dt-mode-badge--critique    { background: #2A1414; color: #F49797; border: 1px solid #6A2020; }
.dt-mode-badge--refine      { background: #1A2A14; color: #A8F497; border: 1px solid #2A6A1A; }
.dt-mode-badge--pressuretest{ background: #2A1E0A; color: #F4C897; border: 1px solid #6A4010; }
.dt-mode-badge--explore     { background: #200A2A; color: #D497F4; border: 1px solid #5A1A7A; }
.dt-mode-badge--synthesize  { background: #0A2A2A; color: #97F4E8; border: 1px solid #1A6A62; }
.dt-mode-badge--finalize    { background: #2A2000; color: var(--wr-gold); border: 1px solid #5A4A00; }

/* Copy toast */
.dt-copy-toast{ position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: #1C2A14; border: 1px solid #3A6A1A; color: #C0DD97; padding: 8px 20px; border-radius: 6px; font-size: 0.85rem; z-index: 9999; pointer-events: none; }
