/* Drop Inn shared UI: clean, light, modern. Used by every page in this site. */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #1F2933;
  --mute: #6B7280;
  --line: #E7E5E0;
  --line-strong: #D4D1CA;
  --red: #D92D3A;
  --red-dark: #B8222E;
  --red-soft: #FDECEE;
  --teal: #1F7A8C;
  --teal-soft: #E4F2F5;
  --sand: #F3C88F;
  --amber-soft: #FEF3D7;
  --green-soft: #E3F4E8;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(31,41,51,.06), 0 12px 32px rgba(31,41,51,.09);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--ink);
  min-height: 100vh;
  background: radial-gradient(900px 380px at 50% -120px, #DCEEF2 0%, rgba(220,238,242,0) 70%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
.slab { font-family: inherit; font-weight: 800; letter-spacing: -.02em; }
a { color: var(--teal); }
img { max-width: 100%; }
.hide { display: none !important; }
.sp { flex: 1; }

/* ---------- layout ---------- */
.wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 64px; }
.wrap.wide { max-width: 1000px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 6px; }
.top img { height: 52px; width: auto; mix-blend-mode: multiply; }
.top a.back { color: var(--mute); font-size: .92rem; font-weight: 600; text-decoration: none; }
.top a.back:hover { color: var(--ink); }
h1.page { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 18px; }
.lead { color: var(--mute); margin-top: 8px; font-size: 1.02rem; }

.card {
  background: var(--surface); border: 0; border-radius: var(--radius);
  padding: 22px 20px; margin-top: 18px; box-shadow: var(--shadow);
}
.card.sign { background: var(--surface); }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.sec-head .ico { font-size: 1.7rem; line-height: 1; }
.sec-head h2, h2.sec { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h2.sec { margin-bottom: 10px; }
.blurb { color: var(--mute); margin-bottom: 4px; font-size: .98rem; }
.notice { margin-top: 16px; background: var(--amber-soft); border-radius: 12px; padding: 11px 14px; font-size: .93rem; font-weight: 600; }

/* ---------- forms ---------- */
label.field, .field-label {
  display: block; margin-top: 18px; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
}
label.field:first-child, .field-label:first-child { margin-top: 0; }
.req-star { color: var(--red); }
input[type=text], input[type=password], textarea, select {
  width: 100%; margin-top: 6px; font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px;
  text-transform: none; letter-spacing: 0;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9CA3AF; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,122,140,.15); }
input.bad, textarea.bad { border-color: var(--red); background: var(--red-soft); }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(31,122,140,.45); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.two > label.field { margin-top: 0; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  background: var(--red); color: #fff;
  transition: background .15s, transform .08s, box-shadow .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: #F3F2EE; }
.btn.teal { background: var(--teal); }
.btn.teal:hover { background: #196574; }
.btn.big { width: 100%; margin-top: 24px; font-size: 1.05rem; padding: 15px; border-radius: 14px; }
.btn.small { font-size: .88rem; padding: 9px 14px; }
.btn.tiny { font-size: .78rem; padding: 6px 11px; border-radius: 9px; }
.nav { display: flex; gap: 12px; margin-top: 24px; justify-content: space-between; }
.skip-note { text-align: center; font-size: .85rem; color: var(--mute); margin-top: 14px; }
.err { color: var(--red-dark); font-size: .92rem; margin-top: 12px; min-height: 1.3em; text-align: center; font-weight: 600; }
.fine { margin-top: 18px; font-size: .84rem; color: var(--mute); text-align: center; line-height: 1.55; font-weight: 500; }

/* ---------- chips & options ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); transition: background .12s, border-color .12s, color .12s;
}
.chip:hover { background: #F6F5F1; }
.chip.on { background: var(--teal-soft); border-color: var(--teal); color: #14596A; }
.chip.on::before { content: '✓ '; }
.urg { display: grid; gap: 10px; margin-top: 10px; }
.opt {
  display: flex; gap: 14px; align-items: center; text-align: left; width: 100%;
  font: inherit; cursor: pointer; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.opt:hover { border-color: var(--mute); }
.opt .ico { font-size: 1.5rem; }
.opt b { display: block; font-weight: 700; font-size: 1rem; }
.opt small { font-weight: 500; color: var(--mute); font-size: .88rem; }
.opt.on { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 3px rgba(217,45,58,.12); }

/* ---------- landing ---------- */
.landing { max-width: 560px; margin: 0 auto; padding: 36px 16px 56px; text-align: center; }
.landing .logo { width: min(400px, 82%); height: auto; display: block; margin: 0 auto; mix-blend-mode: multiply; }
.landing h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-top: 18px; }
.choices { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.choice {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 0; border-radius: 18px; padding: 20px 20px;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.choice:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,41,51,.05), 0 16px 36px rgba(31,41,51,.1); }
.choice .ico { font-size: 2rem; width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--red-soft); }
.choice.alt .ico { background: var(--teal-soft); }
.choice h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.choice p { font-size: .94rem; color: var(--mute); margin-top: 2px; font-weight: 500; }
.choice .arrow { margin-left: auto; color: var(--line-strong); font-size: 1.4rem; }
.sos { margin-top: 28px; font-size: .86rem; color: var(--mute); }
.sos b { color: var(--red-dark); }

/* ---------- done / success ---------- */
.done { text-align: center; }
.done .big { width: 64px; height: 64px; margin: 4px auto 6px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: 1.8rem; }

/* ---------- feedback flow ---------- */
.tracker { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(31,41,51,.08); padding: 10px 16px 14px; }
.tracker-inner { max-width: 640px; margin: 0 auto; }
.tracker-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--mute); }
.alt { font-family: inherit; font-weight: 800; font-size: .92rem; color: var(--ink); letter-spacing: -.01em; text-transform: none; }
.track { margin-inline: 10px; position: relative; height: 6px; border-radius: 6px; background: var(--line); margin-top: 12px; }
.track-fill { height: 100%; border-radius: 6px; background: var(--red); width: 0; transition: width .5s cubic-bezier(.22,1,.36,1); }
.chute { position: absolute; top: -15px; left: 0; font-size: 1.15rem; transition: left .5s cubic-bezier(.22,1,.36,1); transform: translateX(-50%); }
.hero { text-align: center; padding: 22px 0 4px; }
.hero img { width: min(380px, 80%); height: auto; display: block; margin: 0 auto; mix-blend-mode: multiply; transition: width .3s; }
.hero h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.hero p.sub { margin-top: 8px; color: var(--mute); max-width: 460px; margin-inline: auto; }
body.deep .hero { padding-top: 10px; }
body.deep .hero img { width: 120px; }
body.deep .hero h1, body.deep .hero p.sub { display: none; }
.step { display: none; }
.step.active { display: block; animation: rise .45s cubic-bezier(.22,1,.36,1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.q { padding: 20px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; padding-top: 12px; }
.q-title { font-size: 1.05rem; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.score {
  font: inherit; font-weight: 700; font-size: 1.1rem; cursor: pointer; padding: 12px 0; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: background .12s, border-color .12s, color .12s, transform .08s;
}
.score:hover { background: #F6F5F1; }
.score:active { transform: scale(.96); }
.score.on { background: var(--red); border-color: var(--red); color: #fff; }
.scale-ends { display: flex; justify-content: space-between; font-size: .76rem; color: var(--mute); margin-top: 6px; }
.score-label { height: 1.4em; margin-top: 6px; font-size: .9rem; color: var(--red-dark); text-align: center; font-weight: 700; }
.wishes { display: none; margin-top: 8px; padding: 14px; border-radius: 12px; background: #F7F6F2; }
.wishes.show { display: block; animation: rise .3s ease; }
.wishes .hint { font-size: .85rem; color: var(--mute); margin-bottom: 4px; font-weight: 600; }
.wishes .chips { margin-top: 8px; }

/* ---------- report (guest review screen) ---------- */
.report-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.big-score { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--red); }
.big-score small { font-size: 1rem; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.rep-meta { font-size: .92rem; color: var(--mute); }
.rep-meta b { color: var(--ink); }
h3.rep { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 8px; }
img.swooper { height: 48px; width: auto; mix-blend-mode: multiply; }

/* ---------- bars / data ---------- */
.bars .row { display: grid; grid-template-columns: minmax(120px, 230px) 1fr 74px; gap: 12px; align-items: center; margin: 8px 0; font-size: .92rem; font-weight: 600; }
.bar { height: 10px; border-radius: 8px; background: #EEECE7; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: var(--teal); }
.bar i.low { background: var(--red); } .bar i.mid { background: #E5A93C; }
.bars .sc { text-align: right; font-weight: 700; } .bars .sc small { color: var(--mute); font-weight: 500; }
.bars .cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-top: 18px; font-weight: 700; }
@media (max-width: 520px) { .bars .row { grid-template-columns: 110px 1fr 58px; font-size: .84rem; } }
.todo { list-style: none; }
.todo li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.todo .from { color: var(--mute); font-size: .82rem; }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 2px 9px; background: #EEECE7; color: var(--ink); white-space: nowrap; }
.t1 { background: var(--green-soft); color: #1E6B3A; } .t2 { background: var(--amber-soft); color: #8A5A00; } .t3 { background: var(--red-soft); color: var(--red-dark); } .gen { background: var(--teal-soft); color: #14596A; }
.quote { background: #F7F6F2; border-left: 3px solid var(--red); padding: 10px 14px; border-radius: 8px; margin: 8px 0; font-weight: 500; white-space: pre-wrap; }
.quote b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); font-weight: 700; margin-bottom: 2px; }
.empty { color: var(--mute); padding: 12px 0; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(90px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; transition: transform .3s; z-index: 50; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- admin ---------- */
header.admin { display: flex; align-items: center; gap: 14px; padding: 14px 0 4px; flex-wrap: wrap; }
header.admin img { height: 52px; mix-blend-mode: multiply; }
header.admin h1 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#login { max-width: 380px; margin: 60px auto; text-align: center; }
#login input { margin: 14px 0; }
.tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line-strong); }
.tab { font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--mute); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--red); border-bottom-color: var(--red); }
.tabs + .card { margin-top: 16px; }
@media (max-width: 520px) { .tab { padding: 10px 10px; font-size: .86rem; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { border: 0; border-radius: 14px; padding: 14px 16px; background: #F5F4F0; }
.tile b { display: block; font-weight: 800; font-size: 1.9rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.tile span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); cursor: pointer; user-select: none; white-space: nowrap; font-weight: 700; }
th.sorted::after { content: ' ▲'; } th.sorted.desc::after { content: ' ▼'; }
tr.resp { cursor: pointer; } tr.resp:hover { background: #FBFAF8; }
tr.detail td { background: #FBFAF8; padding: 16px; }
.wl { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.wl .n { font-weight: 800; color: var(--red); min-width: 2ch; text-align: right; } .wl small { color: var(--mute); font-weight: 500; }
.scroll { overflow-x: auto; }
.rq { border: 0; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; background: var(--surface); box-shadow: 0 1px 3px rgba(31,41,51,.07), 0 6px 18px rgba(31,41,51,.07); }
.rq.isdone { opacity: .55; }
.reqtop { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reqtop .when { margin-left: auto; font-size: .8rem; color: var(--mute); font-weight: 500; }
.reqcat { font-size: .86rem; color: var(--teal); margin-top: 4px; font-weight: 600; }
@media (max-width: 600px) { .hcol { display: none; } }
@media print { body { background: #fff; } .toolbar, .tabs, .tracker, .nav, .no-print { display: none !important; } .card { box-shadow: none; } }
