/* ============================================
   LESSFILTERED — CSS
   Refined utilitarian aesthetic
   ============================================ */

:root {
  --slate-900: #0f172a;
  --slate-800: #1a2332;
  --slate-700: #253347;
  --slate-600: #344a63;
  --slate-400: #7a8fa8;
  --slate-300: #a8b8cc;
  --slate-200: #d4dde8;
  --slate-100: #eef2f7;
  --slate-50:  #f7f9fb;
  --white:     #fafaf8;

  --teal-700:  #0f766e;
  --teal-600:  #0d9488;
  --teal-500:  #14b8a6;
  --teal-100:  #ccfbf1;
  --teal-50:   #f0fdfa;

  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-500:   #ef4444;
  --red-100:   #fee2e2;
  --green-500: #22c55e;
  --green-100: #dcfce7;

  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.12);

  --transition: all 0.18s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--slate-800);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   SCREENS
   ============================================ */

.screen {
  display: none;
  min-height: 100vh;
}

.screen.active {
  display: block;
}

/* ============================================
   AUTH
   ============================================ */

#screen-auth {
  background: #e8edf2;
  padding: 2rem;
}

#screen-auth.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}



.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 6px;
}

.brand-mark::after {
  display: none;
}

.brand-mark.small {
  width: 22px;
  height: 22px;
}

.brand-mark.small img {
  width: 22px;
  height: 22px;
}

.brand-mark.small::after {
  display: none;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--slate-800);
  letter-spacing: -0.01em;
}

.auth-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.auth-panel.active {
  display: block;
}

.auth-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.auth-sub {
  color: var(--slate-400);
  font-size: 14px;
  margin-bottom: 1.75rem;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 1rem;
}

.auth-switch a {
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 500;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-group input,
.date-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.date-input:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  height: 42px;
  padding: 0 20px;
  background: var(--slate-800);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--slate-700);
}

.btn-primary:disabled {
  background: var(--slate-200);
  color: var(--slate-400);
  cursor: not-allowed;
}

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

.btn-secondary {
  height: 42px;
  padding: 0 16px;
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-secondary-sm {
  height: 34px;
  padding: 0 14px;
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary-sm:hover {
  background: var(--slate-50);
}

.btn-ghost {
  height: 42px;
  padding: 0 16px;
  background: transparent;
  color: var(--slate-400);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--slate-700);
  background: var(--slate-50);
}

.btn-ghost-sm {
  height: 32px;
  padding: 0 12px;
  background: transparent;
  color: var(--slate-400);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost-sm:hover {
  color: var(--slate-600);
}

.back-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.back-btn:hover {
  color: var(--slate-700);
}

/* ============================================
   SETUP FLOW
   ============================================ */

#screen-setup {
  background: var(--slate-50);
  padding: 2rem 1rem;
}


#screen-setup.active {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding-top: 3rem;
}

.setup-container {
  width: 100%;
  max-width: 560px;
}

.setup-progress {
  margin-bottom: 2.5rem;
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.progress-step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-200);
  flex-shrink: 0;
  transition: var(--transition);
}

.progress-step.active {
  background: var(--teal-600);
}

.progress-step.done {
  background: var(--teal-600);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--slate-400);
}

.setup-step {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.setup-step.active {
  display: block;
}

.setup-header {
  margin-bottom: 1.75rem;
}

.setup-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.setup-desc {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
}

.setup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-100);
}

/* Team member input */
.team-input-area {
  margin-bottom: 0.5rem;
}

.team-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.team-input-row input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.team-input-row input:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.team-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-member-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 99px;
  padding: 6px 12px 6px 10px;
  font-size: 13px;
  color: var(--teal-700);
  font-weight: 500;
}

.team-member-chip .chip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-600);
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.team-member-chip .chip-remove {
  background: none;
  border: none;
  color: var(--teal-600);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  opacity: 0.6;
}

.team-member-chip .chip-remove:hover {
  opacity: 1;
}

/* Gallup intro */
.gallup-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gallup-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.gallup-icon {
  min-width: 52px;
  height: 52px;
  background: var(--slate-800);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
}

.gallup-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.gallup-text p {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.6;
}

.gallup-quote {
  background: var(--slate-50);
  border-left: 3px solid var(--teal-600);
  padding: 1rem 1.25rem;
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.7;
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Frequency setup */
.global-freq {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.freq-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 0.6rem;
}

.freq-options {
  display: flex;
  gap: 8px;
}

.freq-opt {
  padding: 7px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}

.freq-opt:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.freq-opt.active {
  background: var(--slate-800);
  border-color: var(--slate-800);
  color: var(--white);
}

.topic-freq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-freq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.topic-freq-row:last-child {
  border-bottom: none;
}

.topic-freq-info {
  flex: 1;
}

.topic-freq-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topic-freq-gallup {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 1px;
}

.topic-freq-select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--slate-600);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.topic-freq-select:focus {
  border-color: var(--teal-600);
}

/* Assessment choice */
.assessment-choice {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.choice-card:hover {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}

.choice-card:not(.choice-secondary) {
  border-color: var(--teal-600);
  background: var(--teal-50);
}

.choice-badge {
  display: inline-block;
  background: var(--teal-600);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 0.6rem;
}

.choice-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 0.3rem;
}

.choice-desc {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.choice-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-600);
}

.choice-secondary .choice-cta {
  color: var(--slate-400);
}

/* ============================================
   ASSESSMENT SCREEN
   ============================================ */

#screen-assessment {
  background: var(--white);
  padding: 0;
}

#screen-assessment.active {
  display: flex !important;
  flex-direction: column;
}

.assessment-container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem;
  flex: 1;
}

.assessment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.assessment-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--slate-100);
  border-radius: 99px;
  overflow: hidden;
}

.assessment-progress-fill {
  height: 100%;
  background: var(--teal-600);
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 0%;
}

.assessment-counter {
  font-size: 12px;
  color: var(--slate-400);
  white-space: nowrap;
}

.assessment-question-area {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.q-element-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.5rem;
}

.q-context {
  background: var(--slate-50);
  border-left: 3px solid var(--slate-200);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.q-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--slate-800);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.q-window {
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 1.75rem;
}

.q-scale {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scale-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.scale-option:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.scale-option.selected {
  border-color: var(--teal-600);
  background: var(--teal-50);
}

.scale-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  flex-shrink: 0;
  transition: var(--transition);
}

.scale-option.selected .scale-num {
  background: var(--teal-600);
  color: var(--white);
}

.scale-label {
  font-size: 14px;
  color: var(--slate-700);
}

.q-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* ============================================
   APP SHELL (HOME + 1:1)
   ============================================ */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-nav {
  height: 56px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand .brand-name {
  color: var(--slate-800);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  font-size: 13px;
  color: var(--slate-400);
}

/* ============================================
   HOME SCREEN
   ============================================ */

.home-main {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem;
}

.home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.home-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.home-subtitle {
  font-size: 14px;
  color: var(--slate-400);
}

/* Assessment nudge */
.assessment-nudge {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nudge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nudge-text strong {
  font-size: 14px;
  color: var(--teal-700);
}

.nudge-text span {
  font-size: 13px;
  color: var(--teal-600);
}

/* Team list */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.team-member-row {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: var(--transition);
  gap: 1rem;
}

.team-member-row:last-child {
  border-bottom: none;
}

.team-member-row:hover {
  background: var(--slate-50);
}

.member-avatar-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-800);
}

.member-meta {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 1px;
}

.member-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.due     { background: var(--red-500); }
.status-dot.soon    { background: var(--amber-500); }
.status-dot.ok      { background: var(--green-500); }
.status-dot.new     { background: var(--slate-300); }

.status-label.due   { color: var(--red-500); font-weight: 500; }
.status-label.soon  { color: var(--amber-500); font-weight: 500; }
.status-label.ok    { color: var(--green-500); }
.status-label.new   { color: var(--slate-400); }

.member-arrow {
  color: var(--slate-300);
  font-size: 16px;
}

/* ============================================
   1:1 SCREEN
   ============================================ */

.ooo-main {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem 1.5rem 100px;
}

.ooo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.ooo-person-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.person-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--slate-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

.ooo-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.ooo-meta {
  font-size: 13px;
  color: var(--slate-400);
}

.ooo-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.meeting-date-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.meeting-date-row label {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}

.date-input {
  width: auto;
  height: 36px;
  font-size: 13px;
  padding: 0 10px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

/* Topic sections */
.topic-section {
  margin-bottom: 1.75rem;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 8px;
  margin-top: 4px;
  padding-left: 2px;
  border-left: 3px solid var(--teal-600);
  padding-left: 8px;
}

.topic-card {
  border: 1px solid var(--slate-150, #eef0f3);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--white);
  transition: var(--transition);
}

.topic-card:hover {
  border-color: var(--slate-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.topic-card.carry-forward {
  border-left: 3px solid var(--amber-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.topic-card.completed {
  background: var(--slate-50);
  border-color: var(--slate-100);
  opacity: 0.7;
}

.topic-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px 8px;
  cursor: pointer;
}

.topic-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--slate-300);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.topic-checkbox.checked {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.topic-checkbox.checked::after {
  content: '';
  width: 9px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.topic-content {
  flex: 1;
  min-width: 0;
}

.topic-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  margin-bottom: 3px;
}

.topic-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-card.completed .topic-name {
  color: var(--slate-400);
  font-weight: 400;
  text-decoration: line-through;
}

.topic-prompt {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
  margin-bottom: 2px;
}

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

.freq-badge {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 99px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}

.freq-badge.every1on1 { background: var(--teal-50); color: var(--teal-700); }
.freq-badge.weekly     { background: var(--amber-100); color: #92400e; }
.freq-badge.fortnightly { background: var(--slate-100); color: var(--slate-600); }
.freq-badge.monthly    { background: #dbeafe; color: #1e40af; }
.freq-badge.quarterly  { background: #ede9fe; color: #5b21b6; }
.freq-badge.biannually { background: #fce7f3; color: #9d174d; }

.carry-badge {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 99px;
  background: var(--amber-100);
  color: #92400e;
  font-weight: 500;
}

.topic-notes {
  padding: 0 12px 10px 40px;
}

.topic-notes textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--slate-700);
  resize: vertical;
  outline: none;
  transition: var(--transition);
  background: var(--slate-50);
}

.topic-notes textarea:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}

.topic-notes-toggle {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.topic-notes-toggle:hover {
  color: var(--teal-600);
}

/* Custom topics */
.custom-topic-area {
  margin-top: 0.5rem;
}

.custom-topic-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.custom-topic-input-row input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.custom-topic-input-row input:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.custom-topic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.custom-topic-item .topic-name {
  flex: 1;
  font-size: 14px;
}

.custom-topic-remove {
  background: none;
  border: none;
  color: var(--slate-300);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
}

.custom-topic-remove:hover {
  color: var(--red-500);
}

/* Footer */
.ooo-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.btn-save {
  background: var(--teal-600);
  padding: 0 28px;
}

.btn-save:hover {
  background: var(--teal-700);
}

/* ============================================
   SAVE CONFIRMATION
   ============================================ */

#screen-save {
  background: var(--white);
}

#screen-save.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.save-container {
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.save-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.save-check svg {
  width: 100%;
  height: 100%;
}

.save-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

.save-summary {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  text-align: left;
}

.save-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--slate-600);
  padding: 4px 0;
}

.save-summary-row strong {
  color: var(--slate-800);
}

.save-carry {
  margin-bottom: 1.5rem;
}

.save-carry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-600);
  padding: 6px 0;
}

.save-carry-item::before {
  content: '→';
  color: var(--amber-500);
  font-weight: 600;
}

.save-carry-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500, #64748b);
  margin-bottom: 0.5rem;
  text-align: left;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-800);
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--slate-400);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--slate-700);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--slate-400);
}

.empty-state p {
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   UTILITIES
   ============================================ */

.section-divider {
  height: 1px;
  background: var(--slate-100);
  margin: 1.5rem 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-300); }

.auth-tagline {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}

/* Bigger auth subtitle for signup */
#auth-signup .auth-sub {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

#auth-login .auth-sub {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 1.75rem;
}

/* Topics intro screen */
.topics-intro { display: flex; flex-direction: column; gap: 0; }
.intro-para { font-size: 14px; color: var(--slate-600); line-height: 1.7; margin-bottom: 0.9rem; }
.intro-para.last { margin-bottom: 0; }
.intro-benefits { margin: 0 0 0.9rem 1.25rem; display: flex; flex-direction: column; gap: 4px; }
.intro-benefits li { font-size: 14px; color: var(--slate-600); line-height: 1.6; }

/* Info icon */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-left: 6px;
  flex-shrink: 0;
  vertical-align: middle;
  transition: var(--transition);
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
}
.info-icon:hover { background: var(--teal-600); color: white; }

/* Info tooltip panel */
.topic-info-panel {
  padding: 12px 16px 14px 48px;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.info-why {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 6px;
  line-height: 1.5;
}
.info-ideas-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 5px;
  margin-top: 8px;
}
.info-ideas { display: flex; flex-direction: column; gap: 4px; }
.info-idea {
  font-size: 12px;
  color: var(--slate-500, #64748b);
  line-height: 1.55;
  padding-left: 12px;
  position: relative;
}
.info-idea::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-600);
}

/* Freq badge biannually */
.freq-badge.biannually { background: #f0fdf4; color: #166534; }

/* Topic freq row gallup note */
.topic-freq-gallup { font-size: 11px; color: var(--slate-400); margin-top: 2px; }

/* Wrapper for freq row + expandable info panel */
.topic-freq-row-wrap {
  border-bottom: 1px solid var(--slate-100);
}
.topic-freq-row-wrap:last-child {
  border-bottom: none;
}
.topic-freq-row-wrap .topic-freq-row {
  border-bottom: none;
}
.settings-topic-info-panel {
  padding: 10px 16px 14px 16px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}

/* Settings screen */
#screen-settings.active { display: block; }
.settings-main { max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem; }
.settings-title { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--slate-800); margin-bottom: 2rem; }
.settings-section { margin-bottom: 2rem; }
.settings-section-header { margin-bottom: 0.75rem; }
.settings-section-title { font-size: 15px; font-weight: 500; color: var(--slate-700); margin-bottom: 0.2rem; }
.settings-section-desc { font-size: 13px; color: var(--slate-400); line-height: 1.6; }
.settings-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); overflow: hidden; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.settings-row-label { font-size: 14px; font-weight: 500; color: var(--slate-700); }
.settings-row-meta { font-size: 12px; color: var(--slate-400); margin-top: 2px; line-height: 1.5; }

/* Skip button */
.topic-actions-row { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 8px 40px; gap: 8px; }
.topic-actions-right { display: flex; align-items: center; gap: 8px; }
.topic-skip-btn { background: none; border: none; font-size: 11px; color: var(--slate-400); cursor: pointer; padding: 0; transition: var(--transition); font-family: var(--font-sans); }
.topic-skip-btn:hover { color: var(--slate-600); }

/* Member right area */
.member-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.meeting-count { font-size: 11px; color: var(--slate-400); }

/* Next meeting scheduler */
.next-meeting-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.next-meeting-scheduler { margin-top: 0.5rem; }

/* Assessment results screen */
#screen-assessment-results.active { display: block; }
.results-main { max-width: 560px; margin: 0 auto; padding: 2rem 1.5rem; }
.results-page-title { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--slate-800); margin-bottom: 0.4rem; }
.results-page-sub { font-size: 14px; color: var(--slate-400); margin-bottom: 1.75rem; line-height: 1.6; }
.result-strength { background: #E1F5EE; border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }
.result-focus { background: var(--white); border: 2px solid #1D9E75; border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }
.result-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: #0F6E56; margin-bottom: 0.4rem; }
.result-label.focus { color: var(--slate-600); }
.result-title { font-size: 18px; font-weight: 500; color: var(--slate-800); margin-bottom: 0.4rem; }
.result-desc { font-size: 13px; color: var(--slate-600); line-height: 1.6; margin-bottom: 0.75rem; }
.result-ideas-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-400); margin-bottom: 0.5rem; }
.result-idea { font-size: 13px; color: var(--slate-600); padding-left: 12px; position: relative; margin-bottom: 4px; line-height: 1.55; }
.result-idea::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-600); }
.result-note { background: var(--slate-50); border-radius: var(--radius-md); padding: 0.85rem 1rem; font-size: 13px; color: var(--slate-500, #64748b); line-height: 1.6; margin-top: 0.5rem; }

/* Home header actions gap */
.home-header-actions { display: flex; gap: 8px; align-items: center; }

/* Save draft / Close meeting buttons */
.btn-draft {
  height: 42px;
  padding: 0 20px;
  background: var(--teal-600);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-draft:hover { background: var(--teal-700); }

.btn-close-meeting {
  height: 42px;
  padding: 0 20px;
  background: var(--slate-800);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-close-meeting:hover { background: var(--slate-700); }

/* Meeting notes textarea */
.meeting-notes-area { margin-bottom: 1.5rem; }
.meeting-notes-textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--slate-700);
  resize: vertical;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  line-height: 1.6;
}
.meeting-notes-textarea:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}

/* Skipped card */
.topic-card.skipped-card {
  opacity: 0.6;
  background: var(--slate-50);
}

/* Draft badge */
.draft-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--amber-100);
  color: #92400e;
  font-weight: 500;
}

/* History screen */
#screen-history.active { display: block; }
.history-main { max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem; }
.history-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.history-title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--slate-800); margin-bottom: 0.2rem; }
.history-meta { font-size: 13px; color: var(--slate-400); }

.history-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.history-card:hover { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(13,148,136,0.06); }
.history-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.history-date { font-size: 15px; font-weight: 500; color: var(--slate-800); }
.history-status { font-size: 11px; padding: 2px 8px; border-radius: 99px; font-weight: 500; }
.history-status.closed { background: var(--slate-100); color: var(--slate-600); }
.history-status.scheduled { background: var(--teal-100); color: var(--teal-700); }
.history-covered { font-size: 13px; color: var(--slate-500, #64748b); margin-bottom: 4px; }
.history-notes { font-size: 12px; color: var(--slate-400); font-style: italic; margin-top: 4px; }
.history-edit-hint { font-size: 11px; color: var(--teal-600); margin-top: 6px; }

/* Member right layout fix */
.member-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 80px; }
.meeting-count { font-size: 11px; color: var(--teal-600); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.meeting-count:hover { color: var(--teal-700); }

/* ============================================
   NAV DROPDOWN MENU
   ============================================ */

.nav-menu-wrapper {
  position: relative;
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 5px 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}
.nav-menu-btn:hover { background: var(--slate-50); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 100;
  overflow: hidden;
  padding: 4px 0;
}
.nav-dropdown.open { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
}
.nav-dropdown-item:hover { background: var(--slate-50); }
.nav-dropdown-item.nav-item-disabled {
  color: var(--slate-300);
  cursor: not-allowed;
}
.nav-dropdown-item.nav-item-disabled:hover { background: none; }
.nav-dropdown-item.nav-item-danger { color: var(--red-500); }
.nav-dropdown-item.nav-item-danger:hover { background: var(--red-100); }

.nav-item-icon { font-size: 13px; width: 16px; text-align: center; flex-shrink: 0; }
.nav-item-soon {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--slate-100);
  color: var(--slate-400);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--slate-100);
  margin: 4px 0;
}

/* ============================================
   CONTENT SCREENS (About, FAQ, Suggest)
   ============================================ */

#screen-about.active,
#screen-faq.active,
#screen-suggest.active { display: block; }

.content-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.content-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 2rem;
}

.content-body p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.content-h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.content-version {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 2rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--slate-100);
  padding: 1.1rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.faq-a {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.7;
}

/* Assessment intro screen */
#screen-assessment-intro.active { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--white); }
.assessment-intro-content {
  max-width: 560px;
  width: 100%;
  padding: 2rem 1.5rem;
}

/* Settings freq intro */
.settings-freq-intro {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.settings-freq-intro p {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.65;
}

/* ============================================
   FLAT HORIZONTAL NAV (replaces dropdown)
   ============================================ */

.nav-greeting {
  font-size: 13px;
  color: var(--slate-400);
  margin-right: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 5px 10px;
  font-size: 13px;
  color: var(--slate-500, #64748b);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

.nav-link:hover {
  background: var(--slate-100);
  color: var(--slate-700);
}

.nav-link-disabled {
  color: var(--slate-300);
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-disabled:hover {
  background: none;
  color: var(--slate-300);
}

.nav-soon {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 99px;
  background: var(--slate-100);
  color: var(--slate-400);
}

.nav-link-danger { color: var(--red-500); }
.nav-link-danger:hover { background: var(--red-100); color: var(--red-500); }

/* Self-assessment status cards */
#screen-self-assessment.active { display: block; }
.sa-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
}
.sa-status.done { background: var(--teal-50); border-color: var(--teal-100); }
.sa-status.pending { background: var(--slate-50); }
.sa-status-label { font-size: 14px; font-weight: 500; color: var(--slate-700); margin-bottom: 4px; }
.sa-status-meta { font-size: 13px; color: var(--slate-500, #64748b); line-height: 1.6; }

/* ============================================
   MEETING REVIEW SCREEN
   ============================================ */

#screen-meeting-review.active { display: block; }

.review-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 100px;
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.review-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 0.2rem;
}

.review-date-label {
  font-size: 13px;
  color: var(--slate-400);
}

.review-section {
  margin-bottom: 2rem;
}

.review-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}

.review-topic-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}
.review-topic-item:last-child { border-bottom: none; }

.review-topic-check {
  font-size: 13px;
  font-weight: 600;
  width: 20px;
  flex-shrink: 0;
  padding-top: 1px;
}
.review-topic-item.covered .review-topic-check { color: var(--teal-600); }
.review-topic-item.uncovered .review-topic-check { color: var(--slate-300); }

.review-topic-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 3px;
}
.review-topic-item.uncovered .review-topic-name { color: var(--slate-400); font-weight: 400; }

.review-topic-note {
  font-size: 13px;
  color: var(--slate-500, #64748b);
  line-height: 1.6;
  font-style: italic;
}

.review-notes-text {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.7;
  white-space: pre-wrap;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.review-carry-hint {
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}

.review-custom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}
.review-custom-item:last-child { border-bottom: none; }

.review-custom-check {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
  width: 20px;
  flex-shrink: 0;
}

.review-custom-name {
  flex: 1;
  font-size: 14px;
  color: var(--slate-700);
}

.review-carry-btn {
  padding: 5px 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.review-carry-btn:hover { border-color: var(--teal-600); color: var(--teal-600); }
.review-carry-btn.active { background: var(--teal-600); border-color: var(--teal-600); color: white; }

.review-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.review-empty {
  font-size: 13px;
  color: var(--slate-400);
  font-style: italic;
}

/* Previous meeting note reference */
.prev-note-ref {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: var(--slate-50);
  border-left: 2px solid var(--slate-200);
  padding: 4px 8px;
  margin-top: 4px;
  margin-bottom: 2px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex-wrap: wrap;
}

.prev-note-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.prev-note-text {
  font-size: 11px;
  color: var(--slate-500);
  font-style: italic;
  line-height: 1.4;
}

/* Carried from badge */
.carried-from-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 500;
  margin-left: 8px;
  font-style: normal;
}

/* ============================================
   HISTORY TABS
   ============================================ */
.history-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0;
}
.history-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
  padding: 8px 14px;
  position: relative;
  transition: color 0.15s;
  bottom: -1px;
}
.history-tab:hover { color: var(--slate-700); }
.history-tab.active {
  color: var(--teal-600);
  border-bottom: 2px solid var(--teal-600);
}

/* ============================================
   COVERAGE HEATMAP
   ============================================ */
.hm-wrap {
  padding-top: 0.25rem;
}
.hm-empty-state {
  font-size: 13px;
  color: var(--slate-400);
  padding: 2rem 0;
  text-align: center;
  line-height: 1.6;
}
.hm-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.hm-grid {
  min-width: 520px;
}
.hm-header-row,
.hm-row {
  display: grid;
  grid-template-columns: 140px repeat(12, 1fr);
  gap: 3px;
  margin-bottom: 3px;
}
.hm-corner { /* empty top-left */ }
.hm-month-label {
  font-size: 10px;
  color: var(--slate-400);
  text-align: center;
  padding-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hm-topic-label {
  font-size: 12px;
  color: var(--slate-600);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
  display: flex;
  align-items: center;
}
.hm-cell {
  height: 22px;
  border-radius: 3px;
  cursor: default;
}
.hm-covered {
  background: #4f6d8f;
  opacity: 0.8;
}
.hm-covered:hover { opacity: 1; }
.hm-missed {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}
.hm-empty {
  background: transparent;
  border: 1px solid var(--slate-100);
}
.hm-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.hm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--slate-400);
}
.hm-legend-swatch {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  cursor: default;
}

/* ============================================
   NOTE CARRY-FORWARD
   ============================================ */
.prev-note-use-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-600);
  background: none;
  border: 1px solid var(--teal-500);
  border-radius: 99px;
  padding: 3px 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s, color 0.15s;
}
.prev-note-use-btn:hover {
  background: var(--teal-600);
  color: white;
  border-color: var(--teal-600);
}

/* General notes carry-forward sits below textarea */
#prev-general-note-container .prev-note-ref {
  margin-top: 8px;
  margin-bottom: 0;
}

/* Topics context hint */
.topics-context-hint {
  font-size: 12px;
  color: var(--slate-400);
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 1rem 0;
  padding: 0;
}

/* ============================================
   TOPICS TOOLBAR & RESET ORDER
   ============================================ */
.topics-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.btn-reset-order {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  background: none;
  border: 1px solid var(--teal-500);
  border-radius: 99px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-reset-order:hover {
  background: var(--teal-600);
  color: white;
}

/* ============================================
   SETTINGS MENU
   ============================================ */
.settings-menu {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.settings-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background 0.15s;
}
.settings-menu-item:last-child { border-bottom: none; }
.settings-menu-item:hover { background: var(--slate-50); }
.settings-menu-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.settings-menu-desc {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 2px;
}
.settings-menu-arrow {
  font-size: 20px;
  color: var(--slate-300);
  line-height: 1;
}

/* ============================================
   TOPIC ALWAYS-VISIBLE PREVIOUS NOTE
   ============================================ */
.topic-always-visible {
  padding: 0 0 0 44px;
}
.topic-always-visible:empty { display: none; }
.topic-always-visible .prev-note-ref {
  margin-bottom: 4px;
  margin-top: 0;
}

/* ============================================
   HEATMAP — OVERDUE STATE + CLICK + DETAIL
   ============================================ */
.hm-overdue {
  background: #fca5a5;
  border: 1px solid #f87171;
}
.hm-topic-overdue {
  color: #dc2626;
  font-weight: 600;
}
.hm-clickable {
  cursor: pointer;
}
.hm-clickable:hover {
  opacity: 0.75;
  transform: scale(1.1);
  transition: transform 0.1s;
}
.hm-entry-detail {
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hm-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}
.hm-detail-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.hm-detail-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--slate-400);
  line-height: 1;
  padding: 0 4px;
}
.hm-detail-close:hover { color: var(--slate-700); }
.hm-detail-entry {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background 0.15s;
}
.hm-detail-entry:last-child { border-bottom: none; }
.hm-detail-entry:hover { background: var(--slate-50); }
.hm-detail-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 3px;
}
.hm-detail-topics {
  font-size: 12px;
  color: var(--teal-600);
  font-weight: 500;
}
.hm-detail-notes {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 3px;
  font-style: italic;
}

/* Screen display for new settings sub-screens */
#screen-settings-topics.active,
#screen-settings-team.active { display: block; }

/* ============================================
   SETTINGS MENU
   ============================================ */
.settings-menu {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.settings-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s;
}
.settings-menu-item:last-child { border-bottom: none; }
.settings-menu-item:hover { background: var(--slate-50); }
.settings-menu-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.settings-menu-desc {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 2px;
}
.settings-menu-arrow {
  font-size: 20px;
  color: var(--slate-300);
  line-height: 1;
}

/* ============================================
   TOPIC ALWAYS-VISIBLE PREVIOUS NOTE
   ============================================ */
.topic-always-visible {
  padding: 0 1rem;
}
.topic-always-visible:empty { display: none; }
.topic-always-visible .prev-note-ref {
  margin-bottom: 0;
  border-left-color: var(--slate-200);
}

/* ============================================
   HEATMAP ENTRY DETAIL PANEL
   ============================================ */
.hm-entry-detail {
  margin-top: 1.25rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.hm-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}
.hm-detail-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.hm-detail-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--slate-400);
  padding: 0 4px;
  line-height: 1;
}
.hm-detail-close:hover { color: var(--slate-700); }
.hm-detail-entry {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background 0.15s;
}
.hm-detail-entry:last-child { border-bottom: none; }
.hm-detail-entry:hover { background: var(--slate-50); }
.hm-detail-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 2px;
}
.hm-detail-topics {
  font-size: 13px;
  color: var(--slate-700);
}
.hm-detail-notes {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 3px;
  font-style: italic;
}
.hm-clickable { cursor: pointer; }
.hm-clickable:hover { opacity: 0.75; }
.hm-overdue {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}
.hm-topic-overdue {
  color: #dc2626;
}

/* ============================================
   SETTINGS MENU
   ============================================ */
.settings-menu {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.settings-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.12s;
}
.settings-menu-item:last-child { border-bottom: none; }
.settings-menu-item:hover { background: var(--slate-50); }
.settings-menu-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 2px;
}
.settings-menu-desc {
  font-size: 12px;
  color: var(--slate-400);
}
.settings-menu-arrow {
  font-size: 20px;
  color: var(--slate-300);
  line-height: 1;
}

/* ============================================
   TOPIC ALWAYS-VISIBLE PREVIOUS NOTE
   ============================================ */
.topic-always-visible {
  padding: 0 12px;
}
.topic-always-visible .prev-note-ref {
  margin-top: 0;
  margin-bottom: 6px;
}

/* ============================================
   HEATMAP OVERDUE STATE
   ============================================ */
.hm-overdue {
  background: #fca5a5;
  border: 1px solid #f87171;
}
.hm-overdue:hover { background: #f87171; }
.hm-topic-overdue {
  color: #dc2626;
  font-weight: 600;
}
.hm-clickable {
  cursor: pointer;
}
.hm-clickable:hover { opacity: 0.8; }

/* Heatmap month entry detail panel */
.hm-entry-detail {
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hm-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}
.hm-detail-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.hm-detail-close {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.hm-detail-close:hover { color: var(--slate-700); }
.hm-detail-entry {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background 0.12s;
}
.hm-detail-entry:last-child { border-bottom: none; }
.hm-detail-entry:hover { background: var(--slate-50); }
.hm-detail-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 3px;
}
.hm-detail-topics {
  font-size: 13px;
  color: var(--slate-700);
}
.hm-detail-notes {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 3px;
  font-style: italic;
}

/* ============================================
   ASSESSMENT RADAR CHART
   ============================================ */
.radar-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
}
.assessment-radar {
  width: 240px;
  height: 240px;
  max-width: 100%;
}
.radar-scale-hint {
  text-align: center;
  font-size: 11px;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ============================================
   HEATMAP HINT & DETAIL EMPTY
   ============================================ */
.hm-hint {
  font-size: 12px;
  color: var(--slate-400);
  font-style: italic;
  margin: 0 0 0.75rem 0;
}
.hm-detail-empty {
  padding: 1rem;
  font-size: 13px;
  color: var(--slate-400);
  text-align: center;
}
.hm-month-label.hm-clickable:hover {
  color: var(--teal-600);
  cursor: pointer;
}
.hm-topic-label.hm-clickable:hover {
  color: var(--teal-600);
}

/* ============================================
   HEATMAP PRE-ENTRY AND PARTIAL STATES
   ============================================ */
.hm-pre-entry {
  background: transparent;
  border: none;
}
.hm-partial {
  background: #fbbf24;
  opacity: 0.7;
}
.hm-partial:hover { opacity: 1; }
.hm-month-label.hm-inactive {
  color: var(--slate-200);
  cursor: default;
}

/* ============================================
   TEAM OVERVIEW HEATMAP
   ============================================ */
.overview-member-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 12px;
  width: 160px;
}
.overview-member-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-600);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.overview-member-name {
  font-weight: 500;
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview-overdue-badge {
  font-size: 10px;
  font-weight: 500;
  color: #dc2626;
  background: #fee2e2;
  border-radius: 99px;
  padding: 1px 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================
   RADAR CHART KEY HIGHLIGHTS HEADER
   ============================================ */
.result-highlights-header {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--slate-700);
  margin: 1.25rem 0 0.75rem;
}

/* ============================================
   TEAM OVERVIEW DASHBOARD (topic x member)
   ============================================ */
.tod-corner {
  /* empty top-left corner */
}
.tod-topic-header {
  font-size: 9px;
  font-weight: 600;
  color: var(--slate-400);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tod-header {
  margin-bottom: 2px;
}
.tod-member-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  overflow: hidden;
  cursor: pointer;
}
.tod-no-entries {
  font-size: 10px;
  color: var(--slate-300);
  font-style: italic;
}
.tod-row {
  margin-bottom: 3px;
}

/* Topic status cells */
.tod-ok {
  background: var(--teal-600);
  opacity: 0.75;
}
.tod-ok:hover { opacity: 1; }
.tod-overdue {
  background: #f87171;
}
.tod-overdue:hover { background: #ef4444; }
.tod-pending {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}
.tod-pending:hover { background: var(--slate-200); }

/* ============================================
   HOME SCREEN STATUS BADGES
   ============================================ */
.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  padding: 2px 8px;
  vertical-align: middle;
  margin-left: 6px;
  font-family: var(--font-sans);
}
.status-badge-due {
  background: #fee2e2;
  color: #dc2626;
}
.status-badge-soon {
  background: #fef3c7;
  color: #d97706;
}

/* ============================================
   DATE FORMAT HINT
   ============================================ */
.date-format-hint {
  font-size: 11px;
  color: var(--slate-400);
  font-style: italic;
  display: block;
  margin-top: 3px;
}

/* ============================================
   TEAM OVERVIEW — SWAPPED AXES
   ============================================ */
.tod-wrap {
  overflow-x: auto;
}
.tod-grid {
  display: table;
  width: 100%;
  min-width: 300px;
  border-collapse: separate;
  border-spacing: 0 3px;
}
.tod-header-row,
.tod-topic-row {
  display: table-row;
}
.tod-row-label-cell,
.tod-col-header,
.tod-row-label,
.tod-topic-row .hm-cell {
  display: table-cell;
  vertical-align: middle;
}

/* Corner cell */
.tod-row-label-cell {
  width: 160px;
  min-width: 160px;
}

/* Column headers — member names, rotated */
.tod-col-header {
  width: 40px;
  min-width: 36px;
  padding-bottom: 6px;
  vertical-align: bottom;
  height: 110px;
}
.tod-col-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  height: 100%;
}
.tod-col-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-600);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tod-col-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-600);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tod-col-badge {
  font-size: 10px;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  border-radius: 99px;
  padding: 1px 5px;
  line-height: 1.4;
}

/* Row labels — topic names */
.tod-row-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Cells in topic rows */
.tod-topic-row .hm-cell {
  width: 36px;
  height: 24px;
  border-radius: 3px;
  padding: 0;
}

/* ============================================
   HEATMAP OVERDUE NOTE
   ============================================ */
.hm-overdue-note {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  margin: 0 0 6px 0;
  padding: 0;
}

/* ============================================
   CUSTOM TOPIC CARDS
   Uses existing topic-card styles — minimal overrides only
   ============================================ */
.custom-topic-remove {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-400);
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.custom-topic-remove:hover {
  color: #dc2626;
  border-color: #fca5a5;
}

/* ============================================
   OPTION B — SHOW ALL TOPICS TOGGLE
   ============================================ */
.show-all-topics {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 4px;
}
.btn-show-all {
  background: var(--teal-600);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s;
}
.btn-show-all:hover {
  background: var(--teal-700, #0f766e);
}
.show-all-hint {
  font-size: 12px;
  color: var(--slate-400);
}

/* ============================================
   FIRST SESSION PROMPT
   ============================================ */
.first-session-prompt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.first-session-text {
  font-size: 13px;
  color: var(--teal-800);
  line-height: 1.6;
  flex: 1;
}
.first-session-dismiss {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  padding: 0;
  margin-top: 2px;
}
.first-session-dismiss:hover {
  color: var(--teal-800);
}

/* ============================================
   SR LABEL IN IDEAS
   ============================================ */
.sr-label {
  font-weight: 700;
  color: var(--teal-600);
  margin-right: 4px;
}

/* ============================================
   PASSWORD CONFIRM HINT
   ============================================ */
#password-confirm-hint {
  color: #ef4444;
}

/* ============================================
   COVER FOR WHOLE TEAM BUTTON
   ============================================ */
.topic-team-cover-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  background: none;
  border: 1px solid var(--teal-200);
  border-radius: 4px;
  padding: 3px 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.topic-team-cover-btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-400);
  color: var(--teal-700);
}

/* ============================================
   DELETE ENTRY BUTTON
   ============================================ */
.btn-delete-entry {
  color: #dc2626;
  border-color: #fca5a5;
}
.btn-delete-entry:hover {
  background: #fef2f2;
  border-color: #dc2626;
}

/* ============================================
   HISTORY ENTRY EDIT / DELETE
   ============================================ */
.hm-detail-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hm-detail-entry-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.hm-entry-edit-btn,
.hm-entry-delete-btn {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-sans);
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--slate-200);
  background: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hm-entry-edit-btn {
  color: var(--teal-600);
}
.hm-entry-edit-btn:hover {
  background: var(--teal-50);
  border-color: var(--teal-300);
}
.hm-entry-delete-btn {
  color: var(--slate-400);
}
.hm-entry-delete-btn:hover {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fff5f5;
}

/* Ensure topic-freq-name shows info button inline */
.topic-freq-name {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* ============================================
   INTERACTION TYPE LABEL
   ============================================ */
.topic-interaction-type {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
