/* ————————————————————————————————————————————
   PRIVY · brand tokens
   Vintage washroom: porcelain, tile green, brass.
   ———————————————————————————————————————————— */

:root {
  /* palette */
  --porcelain:      #F6F1E5;
  --porcelain-deep: #EDE5D2;
  --porcelain-dim:  #E3D9C2;
  --pine:           #123128;   /* near-black green — ink */
  --pine-soft:      #1E4A3D;
  --tile:           #206451;   /* primary tile green */
  --tile-bright:    #2E8168;
  --tile-wash:      #DDEAE2;
  --brass:          #8A671D;
  --brass-bright:   #C79A33;
  --brass-wash:     #F3E7C8;
  --terra:          #B14E2C;   /* alerts / occupied */
  --terra-wash:     #F6E0D6;

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  /* texture + depth */
  --shadow-card: 0 1px 2px rgba(18, 49, 40, .06), 0 4px 14px rgba(18, 49, 40, .08);
  --shadow-pop:  0 2px 6px rgba(18, 49, 40, .14), 0 14px 40px rgba(18, 49, 40, .18);
  --radius: 14px;
  --radius-sm: 9px;

  /* classic bathroom-floor checkerboard */
  --check-size: 12px;
  --check: repeating-conic-gradient(var(--pine) 0% 25%, var(--porcelain) 0% 50%);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

/* keyboard focus — brass ring, visible on porcelain and pine alike */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--brass-bright);
  outline-offset: 2px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--pine);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass-bright); color: var(--pine); }

.check-strip {
  height: 10px;
  background: var(--check);
  background-size: 20px 20px;
}

/* tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.tag-public    { background: var(--tile-wash);  color: var(--tile); }
.tag-customers { background: var(--brass-wash); color: #6F5314; }
.tag-code      { background: var(--pine); color: var(--porcelain); font-family: var(--font-mono); letter-spacing: .12em; }
.tag-key, .tag-ask { background: var(--terra-wash); color: #94411F; }
.tag-open      { background: var(--tile-wash); color: var(--tile); }
.tag-amenity   { background: var(--porcelain-deep); color: var(--pine-soft); }
.tag-stale     { background: var(--terra); color: var(--porcelain); }
.tag-roll      { background: #FFFDF7; color: var(--pine); border: 1.5px solid var(--porcelain-dim); }

/* buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--pine);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  background: var(--porcelain);
  color: var(--pine);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 var(--pine); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 var(--pine); }

.btn-brass {
  background: var(--brass-bright);
  border-color: var(--pine);
}
.btn-brass:hover { background: #D4A83E; }

.btn-pine {
  background: var(--pine);
  color: var(--porcelain);
}
.btn-pine:hover { background: var(--pine-soft); }

.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { box-shadow: none; background: var(--porcelain-deep); }

/* form fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pine-soft);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--pine);
  background: #FFFDF7;
  border: 2px solid var(--porcelain-dim);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color .12s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--tile); }
.field textarea { resize: vertical; min-height: 64px; }

/* scrollbars (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--porcelain-dim); border-radius: 8px; border: 2px solid var(--porcelain); }
::-webkit-scrollbar-thumb:hover { background: var(--tile); }
::-webkit-scrollbar-track { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
