/* ── AUTH SCREEN ── */
#auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  font-family: 'Nunito', system-ui, sans-serif;
  background: #f9f9f8;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0, 167, 93, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(70, 68, 150, 0.04) 0%, transparent 60%);
}
.auth-wrap {
  width: 100%;
  max-width: 420px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.auth-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #00a75d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}
.auth-brand-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a1a18;
  line-height: 1.2;
}
.auth-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #a8a8a4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-card {
  background: #fff;
  border: 1px solid #e8e8e5;
  border-radius: 16px;
  padding: 36px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.05);
  animation: authFade 0.3s ease;
}
@keyframes authFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00a75d;
  margin-bottom: 8px;
}
.auth-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1a1a18;
  margin-bottom: 6px;
  line-height: 1.2;
}
.auth-sub {
  font-size: 0.84rem;
  color: #6e6e6a;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
}
.auth-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6e6e6a;
  display: block;
  margin-bottom: 8px;
}
.auth-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e8e8e5;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a18;
  background: #fff;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  margin-bottom: 16px;
}
.auth-input:focus {
  border-color: #00a75d;
  box-shadow: 0 0 0 3px rgba(0, 167, 93, 0.1);
}
.auth-btn {
  width: 100%;
  padding: 13px 20px;
  background: #00a75d;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
}
.auth-btn:hover:not(:disabled) {
  background: #009952;
}
.auth-btn:active:not(:disabled) {
  transform: scale(0.99);
}
.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  background: #f9f9f8;
  border: 1px solid #e8e8e5;
  border-radius: 12px;
  font-size: 0.76rem;
  color: #6e6e6a;
  font-weight: 600;
  line-height: 1.5;
}
.auth-error {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.auth-success {
  display: none;
  text-align: center;
  padding: 8px 0;
}
.auth-success-icon {
  width: 56px;
  height: 56px;
  background: #f0faf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.auth-success-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a1a18;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.auth-success-sub {
  font-size: 0.84rem;
  color: #6e6e6a;
  font-weight: 500;
  line-height: 1.6;
}
.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #a8a8a4;
}

/* ── APP (hidden until auth) ── */
#app-screen {
  display: none;
}

:root {
  --green: #00a75d;
  --green-light: #f0faf5;
  --green-mid: #d0f0e2;
  --blue: #464496;
  --yellow: #ffce2d;
  --orange: #ff6d2d;
  --charcoal: #3d3d3b;
  --charcoal-2: #595958;
  --white: #ffffff;
  --gray-50: #f9f9f8;
  --gray-100: #f2f2f0;
  --gray-200: #e8e8e5;
  --gray-300: #d4d4d0;
  --gray-400: #a8a8a4;
  --gray-500: #6e6e6a;
  --gray-600: #4a4a47;
  --text: #1a1a18;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--gray-50);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.t-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.t-heading-xl {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}
.t-heading-lg {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}
.t-heading-md {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.t-heading-sm {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}
.t-body {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 500;
}
.t-caption {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn-primary:hover {
  background: #009952;
  border-color: #009952;
}
.btn-ghost {
  background: none;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}
.btn-danger {
  background: none;
  color: #dc2626;
  border-color: #fecaca;
}
.btn-danger:hover {
  background: #fff5f5;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
.badge-green {
  background: var(--green-light);
  color: var(--green);
}
.badge-blue {
  background: #eeeefc;
  color: var(--blue);
}
.badge-orange {
  background: #fff3ee;
  color: var(--orange);
}
.badge-gray {
  background: var(--gray-100);
  color: var(--gray-500);
}
.badge-campaign {
  background: #fff8e1;
  color: #b45309;
  border: 1px solid #fde68a;
}
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card + .card {
  margin-top: 12px;
}
.card .t-heading-sm {
  margin-bottom: 10px;
}
.card .t-body {
  margin-bottom: 0;
}
.card ul {
  padding-left: 18px;
}
.card ul li {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.6;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Video Modal & Distribution ── */
.video-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-100);
  padding: 0 24px;
  gap: 0;
  flex-shrink: 0;
}
.video-tab {
  background: none;
  border: none;
  font-family: Nunito, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gray-400);
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.12s,
    border-color 0.12s;
}
.video-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.video-tab-panel {
  padding: 20px 0;
}
.vf-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.dist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.dist-row:last-child {
  border-bottom: none;
}
.dist-check {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.dist-platform {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}
.dist-done .dist-platform {
  color: var(--gray-400);
  text-decoration: line-through;
}
.dist-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
}
.seo-title-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.12s,
    background 0.12s;
}
.seo-title-option:hover {
  border-color: var(--green);
  background: var(--green-light);
}
.seo-title-option .seo-copy-title {
  background: none;
  border: none;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--green);
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  font-family: Nunito, sans-serif;
}

/* ── Dashboard: wide card + top performers ── */
.dash-card-wide {
  grid-column: 1 / -1;
}
.dash-performer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}
.dash-performer-row:last-child {
  border-bottom: none;
}
.dash-performer-title {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}
.dash-performer-views {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--green);
}
.dash-performer-meta {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray-400);
}

/* ── Production Brief ── */
.brief-section {
  margin-bottom: 22px;
}
.brief-section-label {
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 8px;
}
.brief-section-body {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}
.brief-section-body ul {
  margin: 0;
  padding-left: 18px;
}
.brief-section-body li {
  margin-bottom: 4px;
}
.brief-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0;
}

/* ── Contacts ── */
.contact-card {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.12s;
}
.contact-card:hover {
  border-color: var(--gray-200);
}
.contact-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.contact-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
}
.contact-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Clinical Review Badge ── */
.clinical-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1.5px solid;
  cursor: pointer;
  transition: opacity 0.12s;
  white-space: nowrap;
}
.clinical-pending {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.clinical-approved {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green-mid);
}
.clinical-rejected {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

[data-theme='dark'] {
  --green: #2dd07a;
  --green-light: #0d2b1e;
  --green-mid: #1a4a30;
  --blue: #8b87e0;
  --orange: #ff8c54;
  --white: #1e1e1c;
  --gray-50: #252523;
  --gray-100: #2e2e2c;
  --gray-200: #3a3a38;
  --gray-300: #525250;
  --gray-400: #787874;
  --gray-500: #a8a8a4;
  --gray-600: #d4d4d0;
  --text: #f0f0ee;
}
[data-theme='dark'] body {
  background: #171715;
}
[data-theme='dark'] .sidebar {
  background: #1e1e1c;
  border-right-color: #2e2e2c;
}
[data-theme='dark'] .modal {
  background: #1e1e1c;
}
[data-theme='dark'] select,
[data-theme='dark'] input,
[data-theme='dark'] textarea {
  background: var(--gray-100);
  color: var(--text);
}
[data-theme='dark'] .month-cell.today {
  background: #2a2510;
}
[data-theme='dark'] .dash-header {
  background: var(--gray-100);
  border-color: var(--gray-200);
}
[data-theme='dark'] .camp-form-input {
  background: var(--gray-100);
  color: var(--text);
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 220px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  transition: width 0.22s ease;
}
.sidebar.collapsed {
  width: 48px;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.sidebar-brand {
  display: flex;
  flex-direction: column;
  padding: 16px 14px 14px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-brand-text {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.15s;
}
.sidebar.collapsed .sidebar-brand {
  align-items: center;
  padding: 12px 0;
}
.sidebar.collapsed .sidebar-brand-text {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  margin: 0;
}
.sidebar-body {
  flex: 1;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.sidebar-body::-webkit-scrollbar {
  display: none;
}
.sidebar-group-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding: 14px 10px 6px;
  margin-top: 4px;
  white-space: nowrap;
  opacity: 1;
  overflow: hidden;
  transition:
    opacity 0.15s,
    max-height 0.2s,
    padding 0.2s,
    margin 0.2s;
  max-height: 40px;
}
.sidebar-group-label:first-child {
  padding-top: 4px;
}
.sidebar.collapsed .sidebar-group-label {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}
.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  text-align: left;
  transition:
    background 0.12s,
    color 0.12s,
    padding 0.22s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.sidebar-btn:hover {
  background: var(--gray-50);
  color: var(--gray-600);
}
.sidebar-btn.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 800;
}
.sidebar-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--green);
  border-radius: 0 2px 2px 0;
}
.sidebar-btn-icon {
  font-size: 0.9rem;
  width: 20px;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.sidebar-btn-label {
  opacity: 1;
  transition: opacity 0.12s;
}
.sidebar.collapsed .sidebar-btn {
  justify-content: center;
  padding: 9px 0;
}
.sidebar.collapsed .sidebar-btn-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.sidebar-btn.ideas-btn {
  color: var(--green);
  font-weight: 800;
}
.sidebar-btn.ideas-btn:hover {
  background: var(--green-light);
}
.sidebar-btn.ideas-btn.active {
  background: var(--green);
  color: white;
}
.sidebar-btn.ideas-btn.active::before {
  background: transparent;
}
.sidebar.collapsed .sidebar-btn {
  position: relative;
}
.sidebar.collapsed .sidebar-btn::after {
  content: attr(data-label);
  position: fixed;
  left: 56px;
  background: var(--text);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 400;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
}
.sidebar.collapsed .sidebar-btn:hover::after {
  opacity: 1;
}
.sidebar-footer {
  padding: 10px 8px 12px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar.collapsed .sidebar-footer {
  flex-direction: column;
  justify-content: center;
  padding: 10px 0 12px;
}
.notif-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 6px;
  transition: color 0.15s;
}
.notif-btn:hover {
  color: var(--text);
}
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--orange);
  color: white;
  font-size: 0.5rem;
  font-weight: 900;
  min-width: 14px;
  height: 14px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.notif-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.notif-drawer.open {
  transform: translateX(0);
}
.notif-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 12, 0.3);
  z-index: 399;
  display: none;
}
.notif-backdrop.open {
  display: block;
}
.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  cursor: default;
}
.notif-item.unread {
  background: #f0fdf6;
}
.notif-item-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.notif-item-body {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1.5;
}
.notif-item-time {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-300);
  margin-top: 4px;
}
.notif-empty {
  padding: 48px 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-300);
}
.sidebar-util-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  transition:
    background 0.12s,
    color 0.12s;
  flex-shrink: 0;
}
.sidebar-util-btn:hover {
  background: var(--gray-100);
  color: var(--text);
}
.sidebar-util-btn.dark-active {
  background: var(--gray-100);
  color: var(--text);
  border-color: var(--gray-300);
}
.sidebar-util-btn.signout {
  color: #dc2626;
  border-color: #fecaca;
  font-size: 0.65rem;
  font-weight: 800;
}
.sidebar-util-btn.signout:hover {
  background: #fff5f5;
}
.sidebar-footer-email {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  opacity: 1;
  transition: opacity 0.12s;
}
.sidebar.collapsed .sidebar-footer-email {
  opacity: 0;
  width: 0;
  flex: none;
}
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
}
@media (max-width: 768px) {
  .sidebar {
    width: 220px !important;
    transform: translateX(-100%);
    transition: transform 0.25s ease !important;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.collapsed {
    width: 220px !important;
  }
  .sidebar.collapsed .sidebar-brand-text,
  .sidebar.collapsed .sidebar-btn-label,
  .sidebar.collapsed .sidebar-footer-email {
    opacity: 1 !important;
    width: auto !important;
    overflow: visible !important;
  }
  .sidebar.collapsed .sidebar-group-label {
    opacity: 1 !important;
    max-height: 40px !important;
    padding: 14px 10px 6px !important;
    margin-top: 4px !important;
  }
  .sidebar.collapsed .sidebar-btn {
    justify-content: flex-start !important;
    padding: 9px 12px !important;
  }
  .sidebar.collapsed .sidebar-footer {
    flex-direction: row !important;
    justify-content: flex-start !important;
    padding: 10px 8px 12px !important;
  }
  .sidebar.collapsed .sidebar-btn::after {
    display: none;
  }
  .sidebar-toggle {
    display: flex;
  }
  .sidebar-overlay.open {
    display: block;
  }
  main {
    margin-left: 0 !important;
    padding: 60px 20px 80px !important;
  }
}
main {
  margin-left: 220px;
  max-width: calc(900px + 220px);
  padding: 20px 36px 80px;
  transition:
    margin-left 0.22s ease,
    max-width 0.22s ease;
}
.section {
  display: none;
}
.section.active {
  display: block;
  animation: rise 0.25s ease;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sec-head {
  margin-bottom: 24px;
}
.sec-head .t-eyebrow {
  margin-bottom: 6px;
  display: block;
}
.sec-head .t-heading-lg {
  margin-bottom: 4px;
}
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 40px 0;
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.pillar-head:hover {
  background: var(--gray-50);
}
.pillar-index {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}
.pi-1 {
  background: var(--green);
}
.pi-2 {
  background: var(--blue);
}
.pi-3 {
  background: var(--orange);
}
.pi-4 {
  background: var(--charcoal);
}
.pillar-label {
  font-size: 0.875rem;
  font-weight: 800;
  flex: 1;
  color: var(--text);
}
.pillar-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
}
.pillar-arrow {
  font-size: 0.7rem;
  color: var(--gray-300);
  transition: transform 0.2s;
}
.pillar.open .pillar-arrow {
  transform: rotate(180deg);
}
.pillar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pillar-body-inner {
  padding: 0 20px 18px 60px;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.7;
}
.tab-component {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--white);
}
.tab-btn.t-blue.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tab-btn.t-orange.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.tab-panel {
  display: none;
  padding: 24px 28px;
}
.tab-panel.active {
  display: block;
}
.tab-panel h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tab-panel .t-body {
  margin-bottom: 14px;
}
.tab-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 2px;
}
.tab-title {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tab-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.tab-points {
  padding-left: 16px;
}
.tab-points li {
  font-size: 0.84rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.6;
}
.tier-toggle {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.tier-bar {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.tier-btn {
  flex: 1;
  padding: 11px 14px;
  border: none;
  background: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tier-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
  background: var(--white);
}
.tier-panel {
  display: none;
  padding: 24px 28px;
}
.tier-panel.active {
  display: block;
}
.tier-panel h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.tier-panel .t-body {
  margin-bottom: 14px;
}
.tier-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.formula-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.formula-text {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 6px 0;
}
.formula-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}
.bench {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.bench-val {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.bench-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bench-sub {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 600;
}
.script-flow {
  padding: 8px 0;
}
.sf-step {
  display: flex;
  gap: 16px;
}
.sf-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}
.sf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 14px;
  flex-shrink: 0;
}
.sf-conn {
  width: 1px;
  flex: 1;
  background: var(--gray-200);
  min-height: 8px;
}
.sf-step:last-child .sf-conn {
  display: none;
}
.sf-body {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  margin: 6px 0;
}
.sf-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.sf-label.interrupt {
  color: var(--orange);
}
.sf-label.close {
  color: var(--blue);
}
.sf-desc {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}
.table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
}
thead tr {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover td {
  background: var(--gray-50);
}
td:first-child {
  font-weight: 800;
  color: var(--gray-400);
  font-size: 0.78rem;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.progress-track {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.done-msg {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 16px;
}
.done-msg.show {
  display: block;
}
#qa-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.12s;
  user-select: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
}
.cl-item:hover {
  background: var(--gray-50);
}
.cl-item.done .cl-text {
  text-decoration: line-through;
  color: var(--gray-400);
}
.cl-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}
.cl-item.done .cl-check {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-size: 0.7rem;
}
.cl-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.cl-section {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  padding: 14px 14px 6px;
  margin-top: 8px;
}
.diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.diag-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.diag-card:hover {
  box-shadow: var(--shadow-md);
}
.diag-card.open {
  border-color: var(--green);
}
.diag-symptom {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.diag-signal {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 10px;
}
.diag-cta {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.diag-body {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.7;
}
.diag-card.open .diag-body {
  display: block;
}
.prin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.prin-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.prin-top {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.prin-mid {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 4px;
}
.prin-bot {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-400);
}
.manifesto {
  background: var(--text);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
}
.manifesto-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.man-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.man-pip {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.man-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}
.manifesto-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.cl-item:hover {
  background: var(--gray-50);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.cal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}
.cal-card:hover {
  box-shadow: var(--shadow-md);
}
.cal-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.cal-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cal-desc {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 600;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s;
  user-select: none;
  white-space: nowrap;
}
.status-pill:hover {
  opacity: 0.8;
}
.status-idea {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}
.status-development {
  background: #eff6ff;
  color: #3b82f6;
  border-color: #bfdbfe;
}
.status-scripted {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}
.status-production {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
}
.status-published {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green-mid);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pipeline-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.pipeline-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--gray-100);
}
.pipeline-stat:last-child {
  border-right: none;
}
.pipeline-stat-val {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pipeline-stat-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}
.bank-status-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.bank-status-filter {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.15s;
}
.bank-status-filter.active {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: var(--gray-50);
}
.dash-header {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px 32px 24px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.dash-greeting {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.dash-greeting span {
  color: var(--green);
}
.dash-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-400);
  margin-top: 4px;
}
.dash-quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-quick-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s;
}
.dash-quick-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}
.dash-quick-btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.dash-quick-btn.primary:hover {
  background: #009952;
}
.dash-grid-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 700px) {
  .dash-grid-wide {
    grid-template-columns: 1fr;
  }
}
.dash-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.dash-card-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.dash-pipeline {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.dash-pipe-seg {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
}
.dash-pipe-num {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.dash-pipe-lbl {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-align: center;
}
.dash-pipe-divider {
  width: 1px;
  background: var(--gray-100);
  align-self: stretch;
  margin: 0 2px;
}
.dash-camp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-100);
}
.dash-camp-row:last-child {
  border-bottom: none;
}
.dash-camp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-camp-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}
.dash-camp-days {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}
.dash-camp-days.today {
  background: var(--green-light);
  color: var(--green);
}
.dash-camp-days.soon {
  background: #fff7ed;
  color: #ea580c;
}
.dash-camp-days.upcoming {
  background: var(--gray-100);
  color: var(--gray-500);
}
.dash-camp-days.past {
  background: var(--gray-100);
  color: var(--gray-400);
}
.dash-checklist-track {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0 6px;
}
.dash-checklist-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.dash-recent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-recent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.15s;
}
.dash-recent-row:hover {
  background: var(--gray-100);
}
.dash-recent-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-recent-status {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}
.dash-empty-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
  padding: 20px 0;
}
.gen-controls {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.gen-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.gen-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.gen-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
select {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  cursor: pointer;
}
select:focus {
  border-color: var(--green);
}
.gen-state {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.gen-state-idle {
  padding: 56px 24px;
  text-align: center;
}
.gen-idle-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.gen-idle-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.gen-idle-sub {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.65;
}
.gen-loading {
  padding: 48px 32px;
  text-align: center;
}
.gen-loading-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.gen-loading-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 20px;
}
.gen-prog-track {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.gen-prog-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.gen-prog-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gray-400);
  text-align: right;
}
.api-banner {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.api-banner-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.api-banner-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.api-banner-sub {
  font-size: 0.74rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.6;
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.results-meta {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-400);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pill {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 13px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-pill:hover {
  border-color: var(--gray-400);
  color: var(--gray-600);
}
.filter-pill.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}
.filter-pill[data-filter='Tier 1'].active {
  background: var(--green);
  border-color: var(--green);
}
.filter-pill[data-filter='Tier 2'].active {
  background: var(--blue);
  border-color: var(--blue);
}
#no-results-msg {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-400);
}
.ideas-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.idea-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}
.idea-card:hover {
  box-shadow: var(--shadow-md);
}
.idea-card-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.idea-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
  min-width: 200px;
}
.idea-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.idea-why {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
}
.idea-hook {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--gray-50);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.idea-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bank-empty {
  text-align: center;
  padding: 64px 24px;
}
.bank-empty-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.bank-empty-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.bank-empty-sub {
  font-size: 0.84rem;
  color: var(--gray-400);
  font-weight: 500;
  max-width: 360px;
  margin: 0 auto;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 12, 0.55);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.modal-head-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 4px;
}
.modal-head-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-400);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--gray-100);
  color: var(--text);
}
.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.modal-foot {
  padding: 16px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-prog-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.modal-prog-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 20px;
}
.modal-prog-track {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.modal-prog-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.modal-prog-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gray-400);
  text-align: right;
}
.script-sec {
  margin-bottom: 20px;
}
.script-sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.script-sec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.script-sec-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.script-sec-time {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray-400);
  margin-left: auto;
}
.script-sec-body {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding-left: 18px;
  font-weight: 500;
  white-space: pre-wrap;
}
.copy-confirm {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s;
}
.copy-confirm.show {
  opacity: 1;
}
.camp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 500px) {
  .camp-form-row {
    grid-template-columns: 1fr;
  }
}
.camp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.camp-form-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.camp-form-input {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.camp-form-input:focus {
  border-color: var(--green);
}
.priority-btns {
  display: flex;
  gap: 8px;
}
.priority-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.priority-btn.active-red {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
.priority-btn.active-amber {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}
.priority-btn.active-green {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green-mid);
}
.cal-stats-bar {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.cal-stat {
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid var(--gray-100);
}
.cal-stat:last-child {
  border-right: none;
}
.cal-stat-val {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 3px;
}
.cal-stat-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.cal-view-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}
.cal-view-btn {
  padding: 7px 16px;
  border: none;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-400);
  background: none;
  cursor: pointer;
  transition: all 0.15s;
}
.cal-view-btn.active {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.timeline-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.timeline-months {
  display: grid;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
  overflow-x: auto;
}
.timeline-month-header {
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--gray-100);
  white-space: nowrap;
}
.timeline-body {
  overflow-x: auto;
  position: relative;
  min-height: 120px;
}
.timeline-grid {
  display: grid;
  position: relative;
}
.timeline-col {
  border-right: 1px solid var(--gray-100);
  min-height: 120px;
}
.timeline-bars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0;
  pointer-events: none;
}
.timeline-bar {
  position: absolute;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  pointer-events: all;
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 2;
}
.timeline-bar:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.timeline-empty {
  padding: 56px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
}
.timeline-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--orange);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
.month-grid {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.month-nav-title {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.month-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: all 0.15s;
}
.month-nav-btn:hover {
  background: var(--gray-100);
}
.month-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.month-day-label {
  padding: 8px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.month-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.month-cell {
  min-height: 80px;
  padding: 6px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.month-cell:nth-child(7n) {
  border-right: none;
}
.month-cell.other-month .month-cell-num {
  color: var(--gray-300);
}
.month-cell.today {
  background: #fffbeb;
}
.month-cell-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.month-cell-events {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.month-event {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.list-view {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
  cursor: pointer;
}
.list-item:last-child {
  border-bottom: none;
}
.list-item:hover {
  background: var(--gray-50);
}
.list-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.list-body {
  flex: 1;
}
.list-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.list-meta {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 600;
}
.list-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
}
.list-actions {
  display: flex;
  gap: 6px;
}

/* ── COMMENTS DRAWER ── */
.comments-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100%;
  background: white;
  border-left: 1.5px solid var(--gray-200);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}
.comments-drawer.open {
  right: 0;
}
.comments-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1.5px solid var(--gray-200);
  flex-shrink: 0;
}
.comment-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-mine .comment-avatar {
  background: #dcfce7;
  color: #166534;
}
.comment-content {
  flex: 1;
  min-width: 0;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.comment-author {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text);
}
.comment-time {
  font-size: 0.68rem;
  color: var(--gray-400);
  font-weight: 600;
}
.comment-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.65rem;
  color: var(--gray-400);
  padding: 0;
  margin-left: auto;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.comment-delete-btn:hover {
  opacity: 1;
  color: #dc2626;
}
.comment-body {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}
.mention-highlight {
  background: #fffbeb;
  color: #b45309;
  border-radius: 3px;
  padding: 0 3px;
  font-weight: 700;
}
.comments-empty,
.comments-loading {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 600;
  text-align: center;
  padding: 32px 16px;
}
.comments-input-wrap {
  padding: 12px 16px 16px;
  border-top: 1.5px solid var(--gray-200);
  flex-shrink: 0;
  position: relative;
}
.comments-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  resize: none;
  outline: none;
  transition: border-color 0.15s;
}
.comments-textarea:focus {
  border-color: var(--green);
}
.mention-autocomplete {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow: hidden;
}
.mention-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s;
}
.mention-option:hover {
  background: var(--gray-50);
}
[data-theme='dark'] .comments-drawer {
  background: #1e1e1c;
  border-left-color: var(--gray-200);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}
[data-theme='dark'] .comments-textarea {
  background: var(--gray-50);
}

/* ── SCHEDULE / PUBLISHING QUEUE ── */
.schedule-tabs {
  display: flex;
  gap: 4px;
  align-items: center;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 4px;
}
.schedule-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 8px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.schedule-tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.schedule-tab-btn:hover:not(.active) {
  color: var(--text);
}
.schedule-week-group {
  margin-bottom: 24px;
}
.schedule-week-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.overdue-label {
  color: #b45309;
}
.schedule-week-count {
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 800;
}
.schedule-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 6px;
}
.schedule-card-date {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  min-width: 72px;
  flex-shrink: 0;
}
.schedule-card-body {
  flex: 1;
  min-width: 0;
}
.schedule-card-meta {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.schedule-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Gap finder */
.gap-finder-intro {
  max-width: 560px;
}
.gap-finder-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
}
.gap-finder-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gap-stat {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
}
.gap-finder-hint {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: 8px;
  font-style: italic;
}
.gap-section {
  margin-bottom: 20px;
}
.gap-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.gap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gap-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  line-height: 1.5;
}
.gap-item strong {
  font-weight: 800;
}
.gap-footer {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 600;
}
[data-theme='dark'] .schedule-card {
  background: #1e1e1c;
  border-color: var(--gray-200);
}
