:root {
  --uo-wine: #74264f;
  --uo-pink: #d94f9f;
  --uo-ink: #30242c;
  --uo-muted: #766a72;
  --uo-paper: #fffaf7;
  --uo-line: #eadde5;
  --uo-green: #176534;
  --uo-green-bg: #e5f5e9;
}

* { box-sizing: border-box; }
html { background: #f7f2f4; }
body.uo-front-body { margin: 0; background: linear-gradient(145deg, #fffaf7 0%, #f6edf3 100%); color: var(--uo-ink); font-family: Inter, Arial, sans-serif; min-height: 100vh; }
.uo-front-shell { margin: 0 auto; max-width: 1540px; padding: 0 28px 48px; }
.uo-front-header { align-items: center; border-bottom: 1px solid rgba(116,38,79,.13); display: flex; justify-content: space-between; min-height: 82px; }
.uo-front-brand { align-items: center; color: var(--uo-ink); display: flex; gap: 12px; text-decoration: none; }
.uo-front-brand span { align-items: center; border: 1px solid var(--uo-pink); border-radius: 50%; color: var(--uo-wine); display: flex; font-family: Georgia, serif; height: 42px; justify-content: center; width: 42px; }
.uo-front-brand strong { font-family: Georgia, serif; font-size: 20px; }
.uo-front-logout { color: var(--uo-wine); font-weight: 700; text-decoration: none; }
.uo-front-title { align-items: center; display: flex; justify-content: space-between; gap: 24px; padding: 48px 0 28px; }
.uo-front-title h1, .uo-login-card h1 { font-family: Georgia, serif; font-size: clamp(34px, 5vw, 55px); font-weight: 500; line-height: 1; margin: 6px 0 12px; }
.uo-front-title p { color: var(--uo-muted); margin: 0; }
.uo-eyebrow { color: var(--uo-pink) !important; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.uo-primary-button, .uo-secondary-button { border-radius: 999px; display: inline-flex; font-weight: 800; justify-content: center; padding: 14px 20px; text-decoration: none; white-space: nowrap; }
.uo-primary-button { background: var(--uo-wine); color: #fff; }
.uo-secondary-button { border: 1px solid var(--uo-wine); color: var(--uo-wine); }
.uo-metric-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.uo-metric-grid article, .uo-answer-card, .uo-login-card { background: rgba(255,255,255,.92); border: 1px solid var(--uo-line); border-radius: 18px; box-shadow: 0 10px 30px rgba(87,38,65,.06); }
.uo-metric-grid article { padding: 24px; }
.uo-metric-grid strong { color: var(--uo-wine); display: block; font-family: Georgia, serif; font-size: 36px; }
.uo-metric-grid span { color: var(--uo-muted); }
.uo-search { display: flex; gap: 10px; margin: 22px 0; }
.uo-search input { background: #fff; border: 1px solid var(--uo-line); border-radius: 12px; color: var(--uo-ink); flex: 1; font: inherit; max-width: 440px; min-height: 48px; padding: 0 15px; }
.uo-search button { background: var(--uo-pink); border: 0; border-radius: 12px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; padding: 0 20px; }
.uo-table-shell { background: #fff; border: 1px solid var(--uo-line); border-radius: 18px; overflow-x: auto; }
.uo-table-shell table { border-collapse: collapse; min-width: 1220px; width: 100%; }
.uo-table-shell th, .uo-table-shell td { border-bottom: 1px solid #f0e8ed; padding: 15px 14px; text-align: left; vertical-align: top; }
.uo-table-shell th { color: #5b4553; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.uo-table-shell td { font-size: 14px; }
.uo-table-shell td small { color: var(--uo-muted); display: block; margin-top: 4px; }
.uo-pill { background: #f2eef0; border-radius: 999px; display: inline-block; font-size: 12px; padding: 6px 9px; }
.uo-pill.is-positive { background: var(--uo-green-bg); color: var(--uo-green); }
.uo-view-link { color: var(--uo-wine); font-weight: 800; white-space: nowrap; }
.uo-pagination { display: flex; gap: 8px; justify-content: center; padding: 24px; }
.uo-pagination a { align-items: center; background: #fff; border: 1px solid var(--uo-line); border-radius: 9px; color: var(--uo-wine); display: flex; height: 36px; justify-content: center; text-decoration: none; width: 36px; }
.uo-pagination a.is-current { background: var(--uo-wine); color: #fff; }
.uo-answer-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uo-answer-card { min-height: 92px; padding: 18px; }
.uo-answer-card span { color: var(--uo-muted); display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; margin-bottom: 8px; text-transform: uppercase; }
.uo-answer-card strong { font-size: 15px; overflow-wrap: anywhere; }
.uo-login-card { margin: 9vh auto 0; max-width: 520px; padding: 36px; }
.uo-login-card p { color: var(--uo-muted); }
.uo-login-card label { color: var(--uo-ink); display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.uo-login-card input[type="text"], .uo-login-card input[type="password"] { border: 1px solid var(--uo-line); border-radius: 11px; font: inherit; min-height: 48px; padding: 0 13px; width: 100%; }
.uo-login-card input[type="submit"] { background: var(--uo-wine); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; min-height: 48px; padding: 0 24px; width: 100%; }

@media (max-width: 760px) {
  .uo-front-shell { padding: 0 16px 32px; }
  .uo-front-title { align-items: stretch; flex-direction: column; padding-top: 32px; }
  .uo-metric-grid, .uo-answer-grid { grid-template-columns: 1fr; }
  .uo-primary-button, .uo-secondary-button { width: 100%; }
}

