:root {
  --ink: #2c2020;
  --muted: #725f5d;
  --paper: #fff9f1;
  --cream: #f5ead9;
  --rose: #a94855;
  --wine: #5d2430;
  --gold: #c89a54;
  --sage: #7b8f70;
  --blue: #385a6b;
  --line: rgba(44, 32, 32, .14);
  --shadow: 0 18px 45px rgba(44, 32, 32, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.guest-shell { min-height: 100vh; padding: 24px 18px 36px; background: radial-gradient(circle at top, #fff 0, var(--paper) 42%, #ead9c2 100%); }
.guest-hero { max-width: 560px; margin: 0 auto 22px; text-align: center; }
.guest-title { font-family: Georgia, serif; font-size: clamp(42px, 14vw, 74px); line-height: .92; margin: 20px 0 12px; letter-spacing: 0; }
.guest-date { color: var(--wine); font-weight: 800; text-transform: uppercase; }
.guest-grid { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.module-card, .admin-card, .form-card { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: var(--shadow); }
.module-card { display: block; text-decoration: none; }
.module-card strong { display: block; font-size: 20px; margin-bottom: 4px; }
.button, button { min-height: 46px; border: 0; border-radius: 8px; padding: 12px 16px; background: var(--wine); color: #fff; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button.secondary { background: var(--blue); }
.button.light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
input, textarea, select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
label { display: block; font-weight: 800; margin: 12px 0 6px; }
.notice { padding: 12px 14px; border-radius: 8px; background: #fff; border-left: 4px solid var(--gold); margin: 12px 0; }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; background: #f7f3ec; }
.admin-nav { background: #241b1b; color: #fff; padding: 22px; }
.admin-nav a { display: block; padding: 10px 0; text-decoration: none; color: #f7eadc; }
.admin-main { padding: 26px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #ead9c2; font-size: 12px; font-weight: 800; }
.camera { min-height: 100vh; background: #161313; color: #fff; display: grid; place-items: center; padding: 18px; }
.camera-panel { width: min(560px, 100%); text-align: center; }
video, .media-preview { width: 100%; max-height: 62vh; object-fit: cover; border-radius: 8px; background: #000; }
.shutter { width: 86px; height: 86px; border-radius: 50%; background: #fff; border: 8px solid #c89a54; margin: 18px auto; display: block; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.danger { background: #8f1f2a; }
@media (max-width: 760px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; }
  .admin-main { padding: 16px; }
  .table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
