/* Owner dash. Same tokens as the brand kit; tighter section gap. */

:root {
  --bg: #080808;
  --panel: #111;
  --text: #d6a55a;
  --muted: #b8a078;
  --line: #3a3228;
  --gold: #d6a55a;
  --gold-bright: #f1cb84;
  --ink: #080808;
  --display: "Cinzel", Palatino, "Palatino Linotype", serif;
  --body: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
  --space-1: 0.5rem;
  --space-2: 1.5rem;
  --space-3: 2rem;
  --space-4: 3rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;
  --section-gap: var(--space-4);
  --hit: 2.75rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.69rem;
  font-weight: 500;
  line-height: 1.6;
  padding: var(--space-4) var(--space-4) var(--space-6);
}
.dash {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  position: relative;
}
.dash-signout {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
.dash-signout button {
  width: auto;
  margin: 0;
  padding: var(--space-1) var(--space-2);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.logo {
  width: 16rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto var(--space-3);
}
header { text-align: center; margin: 0; }
h1, h2, button, th {
  font-family: var(--display);
}
h1 {
  margin: 0 0 var(--space-2);
  font-size: 2.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--gold-bright);
}
.lede {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}
h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.note { margin: 0 0 var(--space-3); color: var(--muted); font-size: 1.5rem; line-height: 1.6; }
.notice { margin: 0; color: var(--gold-bright); font-style: italic; }
.back { margin: 0; }
.back a, a {
  color: var(--gold-bright);
  text-decoration: none;
}
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.quiet { color: var(--muted); font-size: 1.2rem; }

.gold-sep {
  --w: min(62%, 28rem);
  --h: 2px;
  display: block;
  width: var(--w);
  max-width: 100%;
  min-width: 0;
  height: var(--h);
  border: 0;
  margin-block: 0;
  margin-inline: auto;
  position: relative;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #3a2a12 8%,
    #6a4e24 22%,
    #c9a15a 42%,
    #e8c989 50%,
    #c9a15a 58%,
    #6a4e24 78%,
    #3a2a12 92%,
    transparent 100%
  );
  border-radius: 1px;
  box-shadow:
    0 0 6px 0 rgba(201, 161, 90, 0.18),
    0 0 18px 1px rgba(180, 130, 50, 0.12);
}
.gold-sep::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 236, 190, 0.15) 18%,
    rgba(255, 244, 214, 0.75) 50%,
    rgba(255, 236, 190, 0.15) 82%,
    transparent 100%
  );
  pointer-events: none;
}
.gold-sep::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.55) 50%, transparent);
  pointer-events: none;
}
.gold-sep--wide { --w: min(90%, 48rem); }
header .gold-sep { margin-block: 0 var(--space-3); }

label { display: block; font-weight: 600; }
.field label { margin: 0 0 var(--space-1); }
.field + .field { margin-top: var(--space-3); }
input, textarea, select { font: inherit; font-size: 1.69rem; line-height: 1.6; }
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
  width: 100%;
  min-height: var(--hit);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--gold-bright);
  caret-color: var(--gold-bright);
}
input:hover:not(:disabled) { border-color: var(--gold); }
input:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-color: var(--gold);
}

button,
.btn-ghost {
  display: inline-block;
  margin-top: var(--space-3);
  width: 100%;
  min-height: var(--hit);
  padding: var(--space-3);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}
button:hover:not(:disabled) {
  background-color: var(--gold-bright);
  border-color: var(--gold-bright);
}
button:active:not(:disabled) {
  background-color: color-mix(in srgb, var(--gold) 82%, black);
  border-color: color-mix(in srgb, var(--gold) 82%, black);
  transform: translateY(1px);
}
button:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
}
.btn-ghost:hover:not(:disabled) {
  background-color: var(--panel);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.btn-ghost:active:not(:disabled) {
  background-color: color-mix(in srgb, var(--panel) 82%, black);
  color: var(--gold-bright);
  border-color: color-mix(in srgb, var(--gold) 82%, black);
  transform: translateY(1px);
}
@media (prefers-reduced-motion: reduce) {
  button, .btn-ghost { transition: none; }
  button:active:not(:disabled),
  .btn-ghost:active:not(:disabled) { transform: none; }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  min-height: var(--hit);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.chip:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.chip.on,
.chip[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: var(--panel);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
table caption {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: left;
  margin: 0 0 var(--space-1);
}
th, td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.orders-table {
  font-size: 1.1rem;
}
.orders-table th,
.orders-table td {
  padding: var(--space-1) var(--space-2);
  white-space: nowrap;
}
.who-name { white-space: nowrap; }
th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
tbody tr:hover {
  background: var(--panel);
}
table:has(tfoot) tbody tr:last-child th,
table:has(tfoot) tbody tr:last-child td {
  border-bottom: 0;
}
tfoot th,
tfoot td {
  border-top: 1px solid var(--gold);
  border-bottom: 0;
  color: var(--gold-bright);
  font-weight: 600;
}
tfoot th {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
td a { color: inherit; }

.status {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

dl { margin: 0; }
dl > div { margin: 0 0 var(--space-3); }
dt {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 var(--space-1);
}
dd { margin: 0; }

.price-tax {
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--muted);
  text-transform: none;
  white-space: nowrap;
}

.sign-in-link { text-align: center; }
.cancel { margin-top: var(--space-4); }
.choice {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--hit);
  margin: 0;
  cursor: pointer;
  font-weight: 600;
}
.check {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  position: relative;
}
.check:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.check:checked::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.08rem;
  width: 0.32rem;
  height: 0.7rem;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (max-width: 32rem) {
  h1 { font-size: 2.22rem; letter-spacing: 0.04em; }
  .dash-signout { position: static; text-align: right; }
}
