/* ============================================================
   Fix-It Board — Static Demo Stylesheet
   Brand tokens preserved from product globals.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,300&family=Source+Sans+3:wght@400;500;600&display=swap');

/* ------------------------------------------------------------------ */
/*  Custom properties                                                   */
/* ------------------------------------------------------------------ */
:root {
  --bg-deep:    #1a2e28;
  --bg-mid:     #243d34;
  --bg-surface: #f3efe6;
  --accent:     #c45c26;
  --accent-dim: #a84d20;
  --ink:        #1c2420;
  --ink-muted:  #4a574f;
  --ok:         #2f6b4f;
  --ok-light:   #e6f4ee;
  --warn-bg:    #fef3e2;
  --warn-border:#d97706;
  --border:     #d5cfc6;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(26,46,40,.12);
  --shadow-md:  0 4px 12px rgba(26,46,40,.14);
  --transition: 220ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

main { flex: 1; }

/* ------------------------------------------------------------------ */
/*  Skip link                                                           */
/* ------------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.skip-link:focus { left: 1rem; }

/* ------------------------------------------------------------------ */
/*  Site header / nav                                                   */
/* ------------------------------------------------------------------ */
.site-header {
  background: var(--bg-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header__brand {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__brand:hover { color: #fff; text-decoration: none; }

.site-header__brand-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.site-header__nav a {
  color: rgba(255,255,255,.78);
  font-size: 0.92rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.site-header__nav a:hover,
.site-header__nav a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.alias-chip {
  background: var(--bg-mid);
  color: rgba(255,255,255,.9);
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}

.header-logout {
  font-size: 0.85rem;
  color: rgba(255,255,255,.65);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.header-logout:hover { color: #fff; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0.25rem;
}

@media (max-width: 700px) {
  .site-header__nav { display: none; flex-direction: column; gap: 0; }
  .site-header__nav.open {
    display: flex;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 199;
  }
  .nav-toggle { display: block; }
  .site-header__inner { flex-wrap: wrap; height: auto; padding: 0.6rem 1.25rem; }
}

/* ------------------------------------------------------------------ */
/*  Demo banner                                                         */
/* ------------------------------------------------------------------ */
.demo-banner {
  background: #fef3e2;
  border-bottom: 1px solid #f0c57a;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: #7a4a00;
}
.demo-banner a { color: #a35c00; font-weight: 600; }

.badge-demo {
  display: inline-block;
  background: #f0c57a;
  color: #7a4a00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* ------------------------------------------------------------------ */
/*  Page container                                                      */
/* ------------------------------------------------------------------ */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.page-title {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
  color: var(--bg-deep);
}

.page-subtitle {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------------ */
/*  Bounty strip / hero                                                 */
/* ------------------------------------------------------------------ */
.bounty-strip {
  background: var(--bg-mid);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bounty-strip__tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,.88);
  flex: 1;
  min-width: 220px;
}

.bounty-strip__rules {
  font-size: 0.82rem;
  color: rgba(255,255,255,.62);
}

.bounty-strip__rules span {
  display: inline-block;
  margin-right: 0.75rem;
}

/* ------------------------------------------------------------------ */
/*  Chips (sort / filter)                                               */
/* ------------------------------------------------------------------ */
.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink-muted);
  font-size: 0.87rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/*  Two-column board layout                                             */
/* ------------------------------------------------------------------ */
.board-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 750px) {
  .board-columns { grid-template-columns: 1fr; }
}

.board-col__heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

/* ------------------------------------------------------------------ */
/*  Problem cards                                                       */
/* ------------------------------------------------------------------ */
.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  transition: box-shadow var(--transition), border-color var(--transition);
  animation: card-rise 0.3s ease both;
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c0b9ae;
}

.problem-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.problem-card__title a { color: inherit; }
.problem-card__title a:hover { color: var(--accent); text-decoration: none; }

.problem-card__meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.problem-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

/* ------------------------------------------------------------------ */
/*  Solution cards                                                      */
/* ------------------------------------------------------------------ */
.solution-card {
  background: var(--ok-light);
  border: 1px solid #b7ddc8;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  animation: card-rise 0.3s ease both;
}

.solution-card--accepted {
  border-color: var(--ok);
  border-left: 4px solid var(--ok);
}

.solution-card__by {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ok);
  margin-bottom: 0.35rem;
}

.solution-card__body {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.solution-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ */
/*  Status badges                                                       */
/* ------------------------------------------------------------------ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.status-badge--open        { background: #dbeafe; color: #1e40af; }
.status-badge--solved      { background: #d1fae5; color: #065f46; }
.status-badge--in-progress { background: #fef3c7; color: #92400e; }

.cat-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  background: rgba(196,92,38,.12);
  color: var(--accent-dim);
  font-weight: 600;
}

.ditto-count {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ink-muted); }

.btn-ok {
  background: var(--ok);
  color: #fff;
  border-color: var(--ok);
}
.btn-ok:hover { background: #235641; border-color: #235641; }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-muted); }

.btn-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.65rem 1.4rem;
  font-size: 1rem;
}

.btn[disabled], .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/*  Compose panel                                                       */
/* ------------------------------------------------------------------ */
.compose-panel {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.compose-panel__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg-deep);
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #faf9f6;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,92,38,.14);
}

.form-textarea { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-hint {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

.form-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  color: #991b1b;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  display: none;
}

/* ------------------------------------------------------------------ */
/*  Problem detail page                                                 */
/* ------------------------------------------------------------------ */
.problem-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.problem-detail__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--bg-deep);
}

.problem-detail__body {
  font-size: 1rem;
  color: var(--ink);
  margin: 1rem 0;
  line-height: 1.75;
}

.problem-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.tag {
  background: #f1ede6;
  color: var(--ink-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.health-disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #78350f;
  margin: 1rem 0;
}

/* ------------------------------------------------------------------ */
/*  Leaderboard / tips table                                            */
/* ------------------------------------------------------------------ */
.fixit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
}

.fixit-table th {
  background: var(--bg-deep);
  color: rgba(255,255,255,.85);
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fixit-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--ink);
}

.fixit-table tr:last-child td { border-bottom: none; }

.fixit-table tr:hover td { background: #faf8f4; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}
.rank-badge--1 { background: #fef3c7; color: #92400e; }
.rank-badge--2 { background: #f1f5f9; color: #475569; }
.rank-badge--3 { background: #fde8d8; color: #9a3412; }

/* ------------------------------------------------------------------ */
/*  Moderation queue                                                    */
/* ------------------------------------------------------------------ */
.mod-report {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 0.85rem;
}

.mod-report--resolved {
  opacity: .55;
}

.mod-report__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mod-report__type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-dim);
  background: rgba(196,92,38,.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.mod-report__reason {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.mod-report__meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------ */
/*  Payments / receipts                                                 */
/* ------------------------------------------------------------------ */
.receipt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.receipt-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.receipt-card__icon--tip    { background: #d1fae5; color: #065f46; }
.receipt-card__icon--boost  { background: #dbeafe; color: #1e40af; }
.receipt-card__icon--unlock { background: #ede9fe; color: #5b21b6; }

.receipt-card__body { flex: 1; min-width: 160px; }

.receipt-card__note {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.receipt-card__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.receipt-card__amount {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ok);
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  Variants page                                                       */
/* ------------------------------------------------------------------ */
.cluster-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  animation: card-rise 0.3s ease both;
}

.cluster-card__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-deep);
  margin-bottom: 0.65rem;
}

.cluster-card__member {
  font-size: 0.9rem;
  color: var(--accent-dim);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cluster-card__related {
  list-style: none;
  padding: 0;
}
.cluster-card__related li {
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 2px solid var(--border);
  margin-bottom: 0.25rem;
}

/* ------------------------------------------------------------------ */
/*  Login page                                                          */
/* ------------------------------------------------------------------ */
.login-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.25rem;
}

.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  width: 100%;
  max-width: 430px;
  box-shadow: var(--shadow-md);
  animation: card-rise 0.35s ease both;
}

.login-card__brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.login-card__logo {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.login-card__name {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--bg-deep);
}

.login-card__tagline {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

.role-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.role-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #faf9f6;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
  font-family: inherit;
  width: 100%;
}
.role-btn:hover { border-color: var(--accent); background: #fff; }

.role-btn__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.role-btn__creds {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-family: 'Courier New', monospace;
}

.role-btn__role-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}
.role-tag--poster    { background: rgba(196,92,38,.12); color: var(--accent-dim); }
.role-tag--helper    { background: var(--ok-light); color: var(--ok); }
.role-tag--moderator { background: #ede9fe; color: #5b21b6; }

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ------------------------------------------------------------------ */
/*  Toast notifications                                                 */
/* ------------------------------------------------------------------ */
#toastContainer {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 340px;
  pointer-events: none;
}

.fixit-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-deep);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: auto;
}
.fixit-toast--visible { opacity: 1; transform: translateY(0); }

.fixit-toast__icon { font-size: 1rem; flex-shrink: 0; }
.fixit-toast--success { border-left: 3px solid var(--ok); }
.fixit-toast--error   { border-left: 3px solid #ef4444; }
.fixit-toast--warning { border-left: 3px solid #f59e0b; }
.fixit-toast--info    { border-left: 3px solid #60a5fa; }

/* ------------------------------------------------------------------ */
/*  Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.6);
  padding: 1.5rem 1.25rem;
  margin-top: auto;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/*  Keyframe animations                                                 */
/* ------------------------------------------------------------------ */
@keyframes card-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in { animation: fade-in 0.4s ease both; }

/* ------------------------------------------------------------------ */
/*  Utility                                                             */
/* ------------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-muted   { color: var(--ink-muted); }
.text-ok      { color: var(--ok); }
.text-accent  { color: var(--accent); }
.text-center  { text-align: center; }
.mt-1  { margin-top: 0.4rem; }
.mt-2  { margin-top: 0.85rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-1  { margin-bottom: 0.4rem; }
.mb-2  { margin-bottom: 0.85rem; }
.mb-3  { margin-bottom: 1.5rem; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
