:root {
  color-scheme: dark light;
  --cyan: #00c7f2;
  --cyan-soft: #9ee9ff;
  --cyan-dark: #00546d;
  --gold: #d7a83f;
  --gold-bright: #f4ca64;
  --gold-soft: #fff1bd;
  --ink: #061b20;
  --ink-2: #0b252b;
  --ink-3: #142f37;
  --line: rgba(116, 216, 238, 0.28);
  --white: #f3fbff;
  --muted: #a9bfca;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

html[data-theme='dark'] {
  --bg: #061316;
  --surface: rgba(10, 31, 36, 0.94);
  --surface-strong: #132c33;
  --surface-soft: rgba(17, 53, 61, 0.72);
  --header: #00566c;
  --text: var(--white);
  --text-muted: var(--muted);
  --button-bg: #121a1f;
  --button-text: #f6fdff;
  --button-border: rgba(158, 233, 255, 0.18);
}

html[data-theme='light'] {
  --bg: #e9fbff;
  --surface: rgba(252, 254, 255, 0.98);
  --surface-strong: #ffffff;
  --surface-soft: rgba(232, 250, 255, 0.92);
  --header: #005f78;
  --text: #0d2c35;
  --text-muted: #315766;
  --button-bg: #102126;
  --button-text: #f6fdff;
  --button-border: rgba(0, 84, 109, 0.16);
  --line: rgba(0, 84, 109, 0.2);
  --shadow: 0 28px 80px rgba(0, 84, 109, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 199, 242, 0.18), transparent 32%),
    linear-gradient(180deg, var(--header) 0 92px, var(--bg) 92px 100%);
  color: var(--text);
}

a { color: inherit; }

.hidden { display: none !important; }

body.auth-locked .header-actions {
  display: none;
}

body.auth-locked .topbar-inner {
  justify-content: space-between;
}

body.auth-locked .topbar-inner > .brand {
  flex: 1 1 auto;
}

body.auth-locked .shell {
  min-height: calc(100vh - 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 56px;
}

body.auth-locked .hero {
  max-width: 720px;
  text-align: center;
}

body.auth-locked .hero-grid {
  grid-template-columns: 1fr;
}

body.auth-locked .hero-actions {
  justify-content: center;
}

body.auth-locked .trust-card {
  display: none;
}

body.auth-locked #loading-card {
  width: min(720px, 100%);
  margin: 16px auto 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  border-bottom: 1px solid rgba(158, 233, 255, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.topbar-inner {
  width: min(1480px, calc(100% - 36px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 22px);
}

.topbar-inner > .brand { flex: 1 1 440px; }
.topbar-inner > .header-actions { flex: 0 1 auto; }
.topbar-inner > .session-actions { flex: 0 0 auto; margin-left: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 300px;
}

.brand-shield {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.brand-copy { display: grid; gap: 4px; min-width: 0; }
.brand-copy strong {
  color: var(--cyan);
  font-size: clamp(0.78rem, 0.85vw, 0.94rem);
  font-weight: 950;
  letter-spacing: clamp(0.12em, 0.9vw, 0.22em);
  line-height: 1.25;
  text-transform: uppercase;
  white-space: normal;
}
.brand-copy small {
  color: rgba(246, 253, 255, 0.78);
  font-size: 1rem;
  font-weight: 800;
}

.header-actions, .session-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.nav-button, .icon-button, .big-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--button-border);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--button-bg);
  color: var(--button-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.nav-button:hover, .icon-button:hover, .big-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 199, 242, 0.55);
}

.nav-button.primary:hover {
  border-color: var(--gold-bright);
  filter: saturate(1.08) brightness(1.03);
}

.nav-button.primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: rgba(244, 202, 100, 0.95);
  color: #17210f;
  box-shadow: 0 16px 30px rgba(215, 168, 63, 0.28);
}

.big-button {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  color: #06252d;
}

.icon-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 10px;
  background: #11171b;
  color: var(--white);
  font-size: 1.05rem;
}

#theme-icon { line-height: 1; }

.ava-alert-button { position: relative; gap: 8px; }
.unread-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e64747;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 1000;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
}
.user-menu-wrapper { position: relative; }
.avatar-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(135,230,255,0.46);
  background: linear-gradient(135deg, var(--gold-bright), var(--cyan-soft));
  color: #06252d;
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}
.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
}
.user-menu a, .user-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.user-menu a:hover, .user-menu button:hover { background: var(--surface-soft); }
.ava-toast {
  position: fixed;
  top: 104px;
  right: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(244,202,100,0.85);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
}
.ava-toast a { color: var(--cyan); font-weight: 1000; }
.ava-toast button { border: 0; background: transparent; color: var(--text); font-size: 1.25rem; cursor: pointer; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 72px;
}

.card, .summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-glow {
  position: relative;
  overflow: hidden;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 82% 12%, rgba(0, 199, 242, 0.14), transparent 36%);
}
.card-glow > * { position: relative; }

.hero {
  padding: clamp(30px, 6vw, 54px);
  max-width: 960px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 199, 242, 0.12);
  border: 1px solid rgba(0, 199, 242, 0.22);
  border-bottom-color: rgba(244, 202, 100, 0.55);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1.06; letter-spacing: -0.045em; }
h1 {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  text-decoration: underline;
  text-decoration-color: rgba(215, 168, 63, 0.38);
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.14em;
}
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.lead, .section-note, .trust-card p { color: var(--text-muted); line-height: 1.6; }
.lead { max-width: 720px; margin: 22px 0 0; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.big-button { min-height: 52px; padding: 0 22px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0, 199, 242, 0.22); }
.trust-pill { color: var(--gold-bright); font-weight: 900; }
html[data-theme='light'] .trust-pill { color: #8a6420; }
.trust-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  background: rgba(6, 20, 24, 0.34);
}

html[data-theme='light'] .trust-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 250, 255, 0.94));
  border-color: rgba(0, 84, 109, 0.2);
  box-shadow: 0 18px 44px rgba(0, 84, 109, 0.12);
}

html[data-theme='light'] .trust-card h2,
html[data-theme='light'] .trust-card p {
  color: var(--text);
}

html[data-theme='light'] .trust-card p {
  color: var(--text-muted);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 199, 242, 0.13), rgba(244, 202, 100, 0.18));
  color: var(--gold-bright);
  font-weight: 950;
}

.dashboard { display: grid; gap: 22px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.summary-card { padding: 20px; background: var(--surface-strong); }
.summary-card strong { display: block; margin: 8px 0 4px; font-size: 1.6rem; }
#user-name { font-size: 1.12rem; line-height: 1.25; overflow-wrap: anywhere; }
.summary-card small, .summary-label { color: var(--text-muted); }
.summary-label { font-size: 0.76rem; font-weight: 950; text-transform: uppercase; letter-spacing: 0.12em; }
.section-card { padding: 26px; }
.section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-note { max-width: 430px; margin: 0; }

.todo-list { display: grid; gap: 12px; }
.todo-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 16px;
  background: var(--surface-soft);
  text-decoration: none;
}
.todo-item.priority-high { border-left-color: #ff7b7b; }
.todo-item.priority-low { border-left-color: #4ee5a5; }
.todo-priority, .status-pill {
  display: inline-flex;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 199, 242, 0.12), rgba(244, 202, 100, 0.13));
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}
.todo-main small { display: block; margin-top: 3px; color: var(--text-muted); }
.todo-date { color: var(--text-muted); font-size: 0.9rem; }

.application-list { display: grid; gap: 12px; }
.application-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold-bright);
  border-radius: 16px;
  background: var(--surface-soft);
}
.application-main { display: grid; gap: 4px; }
.application-main strong { font-size: 1.05rem; }
.application-main small { color: var(--text-muted); }
.application-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }


.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--text-muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(0, 199, 242, 0.05); }
tr:last-child td { border-bottom: 0; }
td small { display: block; margin-top: 4px; color: var(--text-muted); }
td a { font-weight: 900; color: var(--cyan); }
.date-lines { display: grid; gap: 2px; }
.date-lines strong { font-size: 0.98rem; }
.date-lines small { margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.documents-list { display: grid; gap: 12px; }
.document-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}
.document-card strong { display: block; margin-bottom: 4px; }
.document-card small { color: var(--text-muted); }
.empty-state, .empty-cell, .status-card { padding: 18px; color: var(--text-muted); }
.empty-state {
  display: grid;
  gap: 5px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(0, 199, 242, 0.05);
}
.empty-state strong { color: var(--text); font-size: 1.05rem; }
.empty-state span { line-height: 1.45; }
.status-card { display: grid; gap: 6px; max-width: 960px; margin: 22px auto 0; }

@media (max-width: 1100px) {
  .topbar-inner { flex-wrap: wrap; padding: 18px 0; }
  .topbar-inner > .brand { flex-basis: 100%; }
  .header-actions, .session-actions { justify-content: flex-start; }
  body { background: linear-gradient(180deg, var(--header) 0 190px, var(--bg) 190px 100%); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-copy strong { white-space: normal; }
}

@media (max-width: 640px) {
  .topbar-inner, .shell { width: min(100% - 24px, 1120px); }
  .summary-grid { grid-template-columns: 1fr; }
  .todo-item { grid-template-columns: 1fr; }
  .application-item { align-items: stretch; flex-direction: column; }
  .application-actions { justify-content: flex-start; }
  .application-item { align-items: stretch; flex-direction: column; }
  .application-actions { justify-content: flex-start; }
  .nav-button { width: 100%; }
  .icon-button { width: 44px; }
  .header-actions { align-items: stretch; }
  .session-actions { align-items: center; }
  h1 { font-size: clamp(2.6rem, 16vw, 3.8rem); }
}

/* Portal Ava CSR + My Info subpages */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.detail-card strong {
  display: block;
  margin: 9px 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.detail-card small { color: var(--text-muted); line-height: 1.45; }
.compact-actions { margin-top: 20px; }

.profile-form-grid { display: block; }
.profile-update-form { display: grid; gap: 18px; }
.profile-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}
.profile-panel-heading h3 { margin: 5px 0 0; font-size: 1.25rem; }
.profile-panel label { display: grid; gap: 6px; color: var(--text-muted); font-weight: 800; }
.profile-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
}
.profile-panel input[readonly] { opacity: 0.78; cursor: not-allowed; }
.profile-row { display: grid; grid-template-columns: 1fr 110px 150px; gap: 12px; }
.sign-in-panel p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.profile-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.profile-submit-row small, .form-status { color: var(--text-muted); }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}


.ava-shell { overflow: hidden; }
.ava-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: stretch;
}

.ava-context-panel,
.ava-chat-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.ava-context-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
}

.ava-context-panel h3 { margin: 0; font-size: 1.35rem; }
.ava-history-block h4 { margin: 6px 0 0; color: var(--gold-bright); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.ava-history-list { display: grid; gap: 8px; }
.ava-history-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
}
.ava-history-item strong { color: var(--cyan); }
.ava-history-item small { color: var(--text-muted); line-height: 1.35; }
.ava-context-panel p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.ava-context-panel label {
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-theme='light'] .ava-context-panel label { color: #8a6420; }

.ava-context-panel select,
.ava-context-panel textarea,
.ava-compose input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.ava-context-panel textarea { resize: vertical; min-height: 110px; }
.ava-context-panel select:focus,
.ava-context-panel textarea:focus,
.ava-compose input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(244, 202, 100, 0.16);
}

.fine-print { font-size: 0.85rem; }

.ava-chat-panel {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  min-height: 520px;
}

.ava-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
}

.ava-message {
  max-width: min(82%, 720px);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.ava-message span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme='light'] .ava-message span { color: #8a6420; }
.ava-message p { margin: 0; line-height: 1.5; white-space: pre-wrap; }
.ava-message.from-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 199, 242, 0.16), rgba(244, 202, 100, 0.13));
}
.ava-message.from-ava { align-self: flex-start; }

.ava-compose {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.ava-compose-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ava-attachment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.attachment-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.nav-button.small { min-height: 38px; padding: 8px 12px; font-size: 0.9rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .detail-grid, .ava-grid { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 1fr; }
  .ava-chat-panel { min-height: 440px; }
}

@media (max-width: 640px) {
  .ava-compose-row { grid-template-columns: 1fr; }
  .ava-message { max-width: 100%; }
}


.impersonation-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #7c2d12, #92400e);
  color: #fff7ed;
  border-bottom: 1px solid rgba(251, 191, 36, 0.45);
  font-size: 14px;
}
.impersonation-banner strong { font-weight: 800; }
.impersonation-banner a { color: #fff; font-weight: 800; text-decoration: underline; }
.impersonation-banner.hidden { display: none; }


.ava-action-panel {
  display: grid;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}
.ava-action-panel.hidden { display: none; }
.ava-needed-list strong { display: block; margin-bottom: 8px; color: var(--text); font-size: 1rem; }
.ava-needed-list ul { margin: 0; padding-left: 20px; color: var(--text); line-height: 1.55; }
.ava-needed-list p { margin: 0; color: var(--text); }
.ava-action-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ava-action-button { width: fit-content; text-decoration: none; }
.ava-action-button.secondary { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--border); }
.ava-action-help { margin: 0; color: var(--text-muted); line-height: 1.45; font-size: 0.95rem; }


.mini-checklist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.mini-checklist li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.82rem; }
.mini-checklist li span { width: 16px; color: var(--gold); font-weight: 800; }
.mini-checklist li strong { flex: 1; font-weight: 700; color: var(--text); }
.mini-checklist li em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mini-checklist li.is-done span { color: #22c55e; }
.mini-checklist li.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(34, 197, 94, 0.55); }
.checklist-progress { display: block; margin-top: 4px; color: var(--gold); font-weight: 700; }

.mini-checklist li.is-submitted span { color: var(--gold); }
.mini-checklist li.is-submitted strong { color: var(--text); }
