/* BSEATED — shared styles. Palette: place-card ink on white stock, wine accent, gilt edge. */
:root {
  --ink: #1d2433;
  --ink-soft: #4a5263;
  --paper: #fbfbf8;
  --card: #ffffff;
  --line: #dcd9d1;
  --wine: #7a2e4f;
  --wine-soft: #f3e7ec;
  --gilt: #b08a3e;
  --ok: #2f6b4f;
  --warn: #a2481f;
  --radius-s: 4px;
  --radius-m: 10px;
  --display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--wine); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; gap: .45em; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: .55em 1.05em; border-radius: var(--radius-s); cursor: pointer; font-weight: 600; text-decoration: none; font-size: .92rem; }
.btn:hover { background: #2d3750; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wine { background: var(--wine); border-color: var(--wine); }
.btn.wine:hover { background: #64243f; }
.btn.danger { background: transparent; color: var(--warn); border-color: #e3c3b3; }
.btn.danger-solid { background: var(--warn); border-color: var(--warn); color: #fff; }
.btn.small { padding: .3em .7em; font-size: .82rem; }
.btn:disabled { opacity: .5; cursor: default; }

input[type=text], input[type=date], input[type=search], input[type=number], select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-s); padding: .55em .7em; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
label.field { display: block; margin-bottom: .9em; }
label.field > span { display: block; font-size: .82rem; color: var(--ink-soft); margin-bottom: .25em; font-weight: 600; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.row { display: flex; gap: .6em; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hidden { display: none !important; }

/* top bar */
.topbar { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 20; }
.brand { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.brand svg { width: 26px; height: 26px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .6em 1.1em; border-radius: var(--radius-s); font-size: .9rem; z-index: 99; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
