/* REVEL Field Ops — matches lunchtime dark / Space Grotesk aesthetic */
:root {
  --background: #08090c;
  --foreground: #ffffff;
  --panel: #11141a;
  --panel-strong: #151922;
  --panel-border: #252a35;
  --accent: #8b46e6;
  --accent-soft: #a874f2;
  --red: #ff6568;
  --amber: #fcbb00;
  --green: #05df72;
  --muted: rgba(255, 255, 255, 0.55);
  --muted-2: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.12);
  --hover: rgba(255, 255, 255, 0.05);
  --radius: 0.6rem;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  /* Keep layout width stable when vertical scrollbar appears/disappears */
  scrollbar-gutter: stable;
}
html, body {
  min-height: 100%;
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

body {
  background-image:
    radial-gradient(52rem 32rem at 92% -12%, rgba(139, 70, 230, 0.12), transparent 62%);
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.55rem 0.8rem;
  border-radius: 0.45rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 1rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 9, 12, 0.96);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  overflow: visible;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: opacity 0.15s;
}
.brand:hover { opacity: 0.88; }
.brand img {
  height: 1.65rem;
  width: auto;
  max-width: 9rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.brand .app-name {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.01em;
  padding-top: 0.1rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem 0.35rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  max-width: 11rem;
  overflow: hidden;
  white-space: nowrap;
}
.nav-user-icon {
  flex-shrink: 0;
  opacity: 0.9;
}
.nav-user-label {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.nav-user:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.nav-user.signed-in {
  color: #e8dcff;
  border-color: rgba(139, 70, 230, 0.45);
  background: rgba(139, 70, 230, 0.12);
}
.nav-more {
  position: relative;
  margin-left: 0.35rem;
}

/* Optional identity (no password) */
.identity-shell {
  max-width: 26rem;
  margin: 0 auto;
}
.identity-form .email-compose {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0.15rem;
}
.email-compose .input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  text-transform: lowercase;
}
/* Person name fields always display lowercase */
#op-author, #op-contact, #id-local,
input[name="author"], input[name="contact_name"], input[name="contact"] {
  text-transform: lowercase;
}
.email-domain {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  background: #0a0c12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: none;
  border-radius: 0 0.55rem 0.55rem 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  white-space: nowrap;
  user-select: none;
}
.me-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
.me-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-more > summary {
  list-style: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary:hover { color: #fff; background: var(--hover); }
.nav-more[open] > summary { color: #fff; background: rgba(139, 70, 230, 0.2); }
.nav-menu-btn .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5px;
  width: 1.15rem;
  height: 0.9rem;
}
.nav-menu-btn .hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
}
.nav-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 10rem;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.35rem;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-more-panel button {
  width: 100%;
  text-align: left;
}
@media (max-width: 720px) {
  .header-inner { height: auto; min-height: 4rem; padding-top: 0.65rem; padding-bottom: 0.65rem; flex-wrap: wrap; }
  .nav-more-panel { position: static; box-shadow: none; margin-top: 0.25rem; }
  .brand .app-name { display: none; }
}
.nav button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav button:hover { color: #fff; background: var(--hover); }
/* Shared shape for Log / Doc / History — no sticky selected state */
.nav button.nav-item {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  box-shadow: none;
}
.nav button.nav-item.active {
  /* No persistent highlight — only brief :active press */
  background: inherit;
  box-shadow: none;
  border-color: inherit;
  color: inherit;
}
.nav button.nav-log {
  color: #fff;
  border-color: rgba(139, 70, 230, 0.55);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}
.nav button.nav-log:hover {
  filter: brightness(1.08);
  color: #fff;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}
.nav button.nav-log:active {
  filter: brightness(0.95);
}
.nav button.nav-log.active {
  color: #fff;
  border-color: rgba(139, 70, 230, 0.55);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}
/* Doc / History — wireframe, quieter */
.nav button.nav-ghost {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}
.nav button.nav-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
.nav button.nav-ghost:active {
  background: rgba(255, 255, 255, 0.08);
}
.nav button.nav-ghost.active {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}
/* Menu panel items keep a light active if ever used */
.nav-more-panel button.active {
  color: #fff;
  background: rgba(139, 70, 230, 0.2);
  box-shadow: inset 0 0 0 1px rgba(139, 70, 230, 0.35);
}

/* Home hub */
.home-hero {
  max-width: 46rem;
  margin: 0 0 1.5rem;
}
.home-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.home-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}
.home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 840px) {
  .home-cards { grid-template-columns: 1fr; }
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-secondary { display: grid; gap: 1rem; }
.home-card {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  width: 100%;
  color: inherit;
  font: inherit;
}
.home-card:hover {
  border-color: rgba(139, 70, 230, 0.55);
  background: var(--panel-strong);
  transform: translateY(-2px);
}
.home-card:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.home-card-primary {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(139, 70, 230, 0.16), var(--panel) 58%);
}
.home-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.home-card-label {
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(139, 70, 230, 0.2);
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.home-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.home-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.home-card .go {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-soft);
}
.home-card.card-op { border-color: rgba(139, 70, 230, 0.4); }
.home-card.card-add { border-color: rgba(255, 255, 255, 0.16); }
.home-card.card-docs { border-color: rgba(255, 255, 255, 0.16); }
.home-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
}
.home-more span { color: var(--muted-2); font-size: 0.8rem; margin-right: 0.25rem; }
.home-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.home-tools-label {
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-right: 0.2rem;
}
.home-cards-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-cards-main.home-cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .home-cards-main.home-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-card-primary { min-height: 13rem; }
  .home-cards-main { grid-template-columns: 1fr; }
  .home-cards-main.home-cards-4 { grid-template-columns: 1fr; }
}
.profile-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* Progressive disclosure — keep first view calm */
.advanced-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  padding: 0.15rem 0.85rem 0.15rem;
  margin-top: 0.25rem;
}
.advanced-box > summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.65rem 0.15rem;
  user-select: none;
}
.advanced-box > summary::-webkit-details-marker { display: none; }
.advanced-box > summary::before {
  content: "▸ ";
  color: var(--accent-soft);
  font-size: 0.75rem;
}
.advanced-box[open] > summary::before { content: "▾ "; }
.advanced-box > summary:hover { color: #fff; }
.advanced-box .advanced-body {
  padding: 0.15rem 0 0.85rem;
  border-top: 1px solid var(--border);
}
.nav-more-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  padding: 0.45rem 0.55rem 0.2rem;
}
.nav-more-label:first-child { padding-top: 0.2rem; }

/* Layout */
main {
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  flex: 1;
}
.page-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.page-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Panels */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.panel + .panel { margin-top: 1rem; }

/* Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}
.toolbar .grow { flex: 1; min-width: 12rem; }
.toolbar .mode-toggle {
  display: inline-flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.btn-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
}

/* Forms — solid dark surfaces (native <select> on Windows often greys out) */
.input, .select, .textarea,
input.input, select.select, textarea.textarea,
select, input[type="text"], input[type="search"], input[type="number"],
input[type="email"], input[type="file"] {
  width: 100%;
  background: #0c0e14;
  background-color: #0c0e14;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  padding: 0.6rem 0.75rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
select, select.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.7rem;
  padding-right: 2rem;
  cursor: pointer;
}
select option, select.select option {
  background: #0c0e14;
  background-color: #0c0e14;
  color: #ffffff;
}
.input::placeholder, .textarea::placeholder, input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.input:focus, .select:focus, .textarea:focus,
input:focus, select:focus, textarea:focus {
  border-color: rgba(139, 70, 230, 0.65);
  box-shadow: 0 0 0 3px rgba(139, 70, 230, 0.18);
  background-color: #10131a;
  color: #fff;
}
.textarea { min-height: 5.5rem; resize: vertical; line-height: 1.45; }
label.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
label.field strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(139, 70, 230, 0.18);
}
.btn-primary:hover { filter: brightness(1.08); background: var(--accent); }
.btn-danger {
  border-color: rgba(255, 101, 104, 0.55);
  color: var(--red);
  background: rgba(255, 101, 104, 0.12);
}
.btn-danger:hover {
  background: rgba(255, 101, 104, 0.22);
  border-color: rgba(255, 101, 104, 0.7);
}
.btn-ghost { background: transparent; }
.btn-sm { padding: 0.35rem 0.6rem; font-size: 0.8rem; }

/* Issue cards */
.issue-list { display: flex; flex-direction: column; gap: 0.65rem; }
.issue-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  width: 100%;
}
.issue-card:hover {
  border-color: rgba(139, 70, 230, 0.45);
  background: rgba(139, 70, 230, 0.08);
}
.issue-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.issue-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.issue-card .blurb {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.issue-card .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}
.badge-seed {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
}
.badge-S0 { color: var(--red); border-color: rgba(255, 101, 104, 0.4); background: rgba(255, 101, 104, 0.1); }
.badge-S1 { color: #ff9a6b; border-color: rgba(255, 154, 107, 0.4); background: rgba(255, 154, 107, 0.1); }
.badge-S2 { color: var(--amber); border-color: rgba(252, 187, 0, 0.35); background: rgba(252, 187, 0, 0.1); }
.badge-S3 { color: rgba(255, 255, 255, 0.65); }
.badge-cat { color: var(--accent-soft); border-color: rgba(139, 70, 230, 0.35); }
.badge-ok { color: var(--green); border-color: rgba(5, 223, 114, 0.35); background: rgba(5, 223, 114, 0.08); }
.badge-open { color: var(--amber); }
.badge-needs { color: var(--amber); border-color: rgba(252, 187, 0, 0.45); background: rgba(252, 187, 0, 0.12); }
.badge-contact { color: #c4a8ff; border-color: rgba(168, 116, 242, 0.4); background: rgba(139, 70, 230, 0.12); }

.callout-soft {
  border: 1px solid rgba(139, 70, 230, 0.3);
  background: rgba(139, 70, 230, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  margin-bottom: 1rem;
}
.callout-soft strong { color: #fff; }
.contact-panel {
  margin-bottom: 1rem;
  border-color: rgba(139, 70, 230, 0.35);
  background: rgba(139, 70, 230, 0.12);
}
.contact-panel.warn-panel {
  border-color: rgba(252, 187, 0, 0.35);
  background: rgba(252, 187, 0, 0.08);
}
.resp-block { margin-bottom: 1rem; }
.resp-block h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.resp-block ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.resp-block li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}
button.linkish {
  background: none;
  border: none;
  color: var(--accent-soft);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
}
button.linkish:hover { text-decoration: underline; color: #fff; }

/* How to use */
.guide-block { margin-bottom: 1rem; }
.guide-block h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.guide-list {
  margin: 0.6rem 0 0 1.1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}
.guide-list li { margin: 0.3rem 0; }
.guide-steps {
  margin: 0.6rem 0 0 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}
.guide-steps li { margin: 0.4rem 0; }
.flow-ascii {
  margin-top: 0.85rem;
  overflow-x: auto;
}
.flow-ascii pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--accent-soft);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  margin: 0;
  white-space: pre;
}
.guide-table {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.guide-table > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.guide-table span { color: var(--muted); }
code.inline {
  display: inline;
  padding: 0.1rem 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  font-size: 0.8em;
  color: var(--accent-soft);
}

/* Two lanes */
.lane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 800px) {
  .lane-grid { grid-template-columns: 1fr; }
}
.lane-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: color-mix(in srgb, var(--panel) 75%, transparent);
}
.lane-card.lane-op {
  border-color: rgba(139, 70, 230, 0.45);
  background: rgba(139, 70, 230, 0.1);
}
.lane-card.lane-docs {
  border-color: rgba(5, 223, 114, 0.3);
  background: rgba(5, 223, 114, 0.06);
}
.lane-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.lane-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.45; margin-bottom: 0.85rem; }

/* Ticket board */
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .board { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .board { grid-template-columns: 1fr; }
}
.board-col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  min-height: 12rem;
  display: flex;
  flex-direction: column;
}
.board-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
}
.board-col-head .n {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.board-col-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.ticket {
  text-align: left;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: var(--panel);
  padding: 0.65rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ticket:hover {
  border-color: rgba(139, 70, 230, 0.5);
  background: rgba(139, 70, 230, 0.08);
}
.ticket h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.ticket .tid { font-size: 0.7rem; color: var(--muted-2); margin-bottom: 0.35rem; }
.ticket .tmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}
.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 0.45rem;
  opacity: 0.72;
}
.ticket:hover .ticket-actions { opacity: 1; }
.ticket-actions button,
.ticket-actions .ticket-st {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.15rem 0.38rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.ticket-actions button:hover,
.ticket-actions .ticket-st:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.ticket-actions button.solve,
.ticket-actions .ticket-st.solve {
  color: rgba(5, 223, 114, 0.7);
  border-color: rgba(5, 223, 114, 0.2);
}

/* Operator capture */
.op-shell { max-width: 36rem; margin: 0 auto; }
.op-shell .textarea { min-height: 7rem; font-size: 1.05rem; }
.op-shell .op-row { margin-top: 0; gap: 0.65rem; }
.op-shell .op-row .field { margin-top: 0; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
}
.chip.on {
  background: rgba(139, 70, 230, 0.25);
  border-color: rgba(139, 70, 230, 0.55);
  color: #fff;
  font-weight: 600;
}
.chip.sev-S0.on { background: rgba(255, 101, 104, 0.2); border-color: rgba(255, 101, 104, 0.5); color: var(--red); }
.chip.sev-S1.on { background: rgba(255, 154, 107, 0.15); border-color: rgba(255, 154, 107, 0.45); }
.chip.sev-S2.on { background: rgba(252, 187, 0, 0.12); border-color: rgba(252, 187, 0, 0.4); color: var(--amber); }
.btn-huge {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Navigable docs / troubleshooting book */
.docs-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.docs-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
}
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .docs-nav { position: static; max-height: none; }
  .docs-nav:not([open]) { padding-bottom: 0.75rem !important; }
}
.docs-nav {
  position: sticky;
  top: 4.5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 0.75rem !important;
}
.docs-nav > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0.35rem 0.65rem;
  border-bottom: 1px solid var(--border);
}
.docs-nav > summary::-webkit-details-marker { display: none; }
.docs-nav > summary::after {
  content: "▾";
  color: var(--accent-soft);
  font-size: 0.8rem;
}
.docs-nav:not([open]) > summary::after { content: "▸"; }
.docs-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.docs-nav-current {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.docs-nav-list { padding-top: 0.55rem; }
.docs-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 0.15rem;
}
.docs-nav-item:hover { background: var(--hover); color: #fff; }
.docs-nav-item.active {
  background: rgba(139, 70, 230, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(139, 70, 230, 0.4);
}
.docs-article { padding: 1.25rem 1.4rem !important; min-width: 0; min-height: 24rem; }
.guide-html { min-width: 0; overflow-wrap: anywhere; }
.guide-html h1 { font-size: 1.45rem; color: #fff; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.guide-html h2 { font-size: 1.1rem; color: var(--accent-soft); margin: 1.25rem 0 0.5rem; }
.guide-html h3 { font-size: 0.98rem; color: rgba(255,255,255,0.9); margin: 1rem 0 0.4rem; }
.guide-html p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.55; margin: 0.4rem 0; }
.guide-html ul { margin: 0.4rem 0 0.6rem 1.15rem; color: rgba(255,255,255,0.82); font-size: 0.92rem; line-height: 1.5; }
.guide-html li { margin: 0.25rem 0; }
.guide-html .g-ol { margin: 0.25rem 0; color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.guide-html code {
  font-size: 0.85em;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  padding: 0.05rem 0.3rem;
  color: var(--accent-soft);
}
.guide-html .g-code {
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #d4c4f7;
  margin: 0.65rem 0;
}
.guide-html .g-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.65rem 0 1rem;
}
.guide-html .g-table th, .guide-html .g-table td {
  border: 1px solid var(--border);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.guide-html .g-table th { background: rgba(139,70,230,0.15); color: #fff; }
.guide-html .g-table td { color: rgba(255,255,255,0.8); }
.guide-html a { color: var(--accent-soft); text-decoration: underline; }
.guide-html .g-callout {
  margin: 0.85rem 0 1.1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(139, 70, 230, 0.45);
  border-left: 4px solid #8b46e6;
  background: rgba(139, 70, 230, 0.14);
}
.guide-html .g-callout p { margin: 0.2rem 0; color: rgba(255,255,255,0.92); }
.guide-html .g-callout strong { color: #fff; }
.guide-html .g-img,
.guide-html img.g-img {
  display: block;
  max-width: min(100%, 28rem);
  width: 100%;
  height: auto;
  margin: 0.75rem 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #000;
}
.guide-html h3 {
  border-left: 3px solid var(--accent);
  padding-left: 0.55rem;
  margin-top: 1.35rem;
}
.guide-html hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}
.field-cases { margin-top: 1.75rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.field-cases h2 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.case-card {
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.75rem 0.9rem;
  margin: 0.55rem 0;
  background: rgba(0,0,0,0.2);
}
.lbl-mini {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
  margin-top: 0.4rem;
}
.case-body { font-size: 0.88rem; color: rgba(255,255,255,0.8); white-space: pre-wrap; line-height: 1.4; }
.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.docs-pager .btn { max-width: 48%; overflow: hidden; text-overflow: ellipsis; }
.time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 187, 0, 0.35);
  color: var(--amber);
  background: rgba(252, 187, 0, 0.08);
}
.time-pill.done {
  border-color: rgba(5, 223, 114, 0.35);
  color: var(--green);
  background: rgba(5, 223, 114, 0.08);
}
.status-bar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}
.status-bar-quiet { opacity: 0.9; }
.status-bar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.status-bar-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.status-st {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.status-st:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.status-st.is-current {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.status-st.status-solve:hover {
  color: rgba(5, 223, 114, 0.95);
  border-color: rgba(5, 223, 114, 0.35);
}
.status-st.status-solve.is-current {
  color: var(--green);
  border-color: rgba(5, 223, 114, 0.35);
  background: rgba(5, 223, 114, 0.08);
}

/* App modals (confirm / solve / etc.) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-panel {
  width: min(28rem, 100%);
  max-height: min(90vh, 40rem);
  overflow-y: auto;
  background: #101319;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.modal-panel.modal-sm { width: min(24rem, 100%); }
.modal-head {
  margin-bottom: 0.85rem;
}
.modal-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.modal-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.1rem;
}
.modal-panel .textarea { min-height: 5.5rem; }
.modal-error {
  display: none;
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 101, 104, 0.45);
  background: rgba(255, 101, 104, 0.12);
  color: #ffb4b6;
  font-size: 0.85rem;
  line-height: 1.4;
}
.modal-error.show { display: block; }
.field.has-error .input,
.field.has-error .textarea,
.field.has-error input,
.field.has-error textarea {
  border-color: rgba(255, 101, 104, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(255, 101, 104, 0.15);
}

/* Metrics */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.metric-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: color-mix(in srgb, var(--panel) 75%, transparent);
}
.metric-card .val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.metric-card .lbl {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.bar-row {
  display: grid;
  grid-template-columns: 7rem 1fr 2rem;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  margin: 0.35rem 0;
}
.bar-track {
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent-soft);
  border-radius: 999px;
}
.bar-row .name { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .n { text-align: right; color: rgba(255, 255, 255, 0.7); }

/* Master */
.master-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.master-tabs button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.master-tabs button.active {
  color: #fff;
  border-color: rgba(139, 70, 230, 0.5);
  background: rgba(139, 70, 230, 0.18);
}
.master-editor .textarea { min-height: 22rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; }

/* Photos */
.dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  text-align: center;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-top: 0.65rem;
}
.dropzone:hover, .dropzone.drag {
  border-color: rgba(139, 70, 230, 0.65);
  background: rgba(139, 70, 230, 0.1);
  color: #fff;
}
.dropzone input[type="file"] { display: none; }
.drop-ico { font-size: 1.5rem; margin-bottom: 0.35rem; line-height: 1; }
.photo-panel {
  border-color: rgba(139, 70, 230, 0.35) !important;
  background: rgba(139, 70, 230, 0.07) !important;
}
.photo-panel-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.photo-panel-hint { margin-bottom: 0.65rem; line-height: 1.4; }
.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  align-items: center;
}
.photo-actions a.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.photo-grid .thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  position: relative;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-del {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.photo-del:hover { background: rgba(228, 0, 20, 0.9); }
.photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.2rem 0.3rem;
  font-size: 0.62rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Detail */
.detail-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
/* Ironman setup: keep dangerous reload away from main actions */
.im-setup-toolbar {
  justify-content: space-between;
  align-items: center;
}
.im-setup-toolbar #im-reset {
  margin-left: auto;
}
.kv {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.kv dt { color: var(--muted); }
.kv dd { color: rgba(255, 255, 255, 0.9); }
.section-block { margin-top: 1rem; }
.section-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 0.35rem;
}
.section-block p, .section-block .body {
  white-space: pre-wrap;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

/* Export */
.export-box code {
  display: block;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  color: var(--accent-soft);
  margin: 0.5rem 0 1rem;
  overflow-x: auto;
}
.hint {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.loading-state {
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.loading-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 5px rgba(139, 70, 230, 0.12);
}
.toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  right: auto;
  bottom: auto;
  background: #1a1028;
  border: 1px solid rgba(139, 70, 230, 0.45);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 0.65rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 500; /* above modals so validation messages stay visible */
  font-size: 0.9rem;
  max-width: min(22rem, calc(100vw - 2rem));
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.check-row input { width: 1rem; height: 1rem; accent-color: var(--accent); }

.hidden { display: none !important; }
