/* ================= Urban Loft — MaxHaus edition (tema claro) ================= */
/* branco + cobre, ar industrial */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f2efe9;
  --line: #e6e1d8;
  --line-strong: #d4cec1;
  --text: #1c1a17;
  --muted: #6f6a62;
  --faint: #948e83;
  --accent: #be6a2f;
  --accent-strong: #8f4f22;
  --accent-glow: rgba(190, 106, 47, .18);
  --accent-ink: #ffffff;
  --green: #4c8a3e;
  --red: #c8382e;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(30, 24, 16, .1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-ui: "Inter", -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
input, textarea, select { font: inherit; color: var(--text); }

/* ================= screens ================= */
.screen { display: none; min-height: 100dvh; animation: screenIn .45s cubic-bezier(.2, .7, .2, 1); }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px) skewY(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.85); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }

/* ================= logo / splash ================= */
.logo-card {
  background: #fff; border-radius: 24px;
  display: grid; place-items: center;
  width: 96px; height: 96px;
}
.logo-card img { width: 78%; height: 78%; object-fit: contain; }
.logo-card.lg { width: 150px; height: 150px; border-radius: 32px; }
.logo-card.sm { width: 62px; height: 62px; border-radius: 18px; }
.logo-card.xs { width: 32px; height: 32px; border-radius: 9px; display: inline-grid; vertical-align: -9px; margin-right: 8px; }
/* logo transparente própria para fundo escuro — sem cartão branco */
.logo-card.no-card { background: none; }
.logo-card.no-card img { width: 100%; height: 100%; }

#screen-splash { display: none; place-items: center; }
#screen-splash.active { display: grid; }
.splash-inner { text-align: center; display: grid; justify-items: center; gap: 12px; }
.splash-inner .logo-card { animation: popIn .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.splash-sub { color: var(--muted); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-top: 8px; animation: rise .5s ease .25s backwards; }
.splash-loader { width: 130px; height: 3px; background: var(--line); border-radius: var(--pill); overflow: hidden; margin-top: 20px; }
.splash-loader span { display: block; height: 100%; width: 40%; border-radius: var(--pill); background: var(--accent); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ================= idiomas ================= */
.lang-switch {
  display: inline-flex; gap: 2px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill);
}
.lang-switch button {
  padding: 6px 13px; border-radius: var(--pill); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; color: var(--faint); transition: all .2s ease;
}
.lang-switch button.active { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px var(--accent-glow); }
.auth-lang { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.hero .lang-switch { position: absolute; top: 18px; right: 18px; }

/* ================= auth screens ================= */
.auth-wrap {
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 26px calc(30px + var(--safe-b));
  max-width: 460px; margin: 0 auto;
}
.auth-brand { margin-bottom: 32px; }
.auth-brand .logo-card { animation: popIn .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.auth-title {
  font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: .96;
  letter-spacing: 1.5px; margin: 22px 0 14px; animation: rise .55s ease .1s backwards;
}
.auth-title em { font-style: normal; color: var(--accent); }
.auth-sub { color: var(--muted); font-size: 15.5px; max-width: 36ch; animation: rise .55s ease .2s backwards; }
.auth-form { display: grid; gap: 14px; animation: rise .55s ease .3s backwards; }
.auth-foot { margin-top: 26px; color: var(--faint); font-size: 13.5px; text-align: center; }
.auth-foot a { color: var(--muted); }

.dev-credit { margin-top: 14px; color: var(--faint); font-size: 11px; text-align: center; opacity: .7; }
.dev-credit a { color: var(--faint); font-weight: 700; }
.dev-credit a:hover { color: var(--text); }

.field { display: grid; gap: 7px; }
.field-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 12px; }
.field input, .field select {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--pill); padding: 15px 22px; font-size: 16.5px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 22px; padding: 15px 20px; font-size: 15.5px; outline: none;
  resize: vertical; min-height: 90px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(190, 106, 47, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field-error { color: var(--red); font-size: 14px; padding-left: 12px; }

.phone-row { display: flex; gap: 8px; }
.phone-row select {
  flex: none; width: 118px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--pill); padding: 15px 14px; font-size: 15px; outline: none;
  appearance: none; -webkit-appearance: none; text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.phone-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(190, 106, 47, .12); }
.phone-row input { flex: 1; min-width: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--pill); padding: 15px 26px; font-weight: 700; font-size: 15.5px;
  letter-spacing: .02em;
  transition: transform .15s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease, opacity .18s ease;
}
.btn:active { transform: scale(.96); }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink); box-shadow: 0 6px 18px rgba(190, 106, 47, .22);
}
.btn-primary:hover { background: #cf7f45; }
.btn-primary[disabled] { opacity: .55; }
.btn-ghost { background: var(--surface); border: 1.5px dashed var(--line-strong); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--faint); }
.btn-danger { background: rgba(200, 56, 46, .1); color: var(--red); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-text { padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--faint); }
.btn-text:hover { color: var(--text); }
.btn-text.accent { color: var(--accent); }

.name-row { display: flex; gap: 8px; align-items: center; animation: fadeUp .3s ease backwards; }
.name-row .field { flex: 1; }
.name-row .rm {
  width: 52px; height: 52px; border-radius: var(--pill); flex: none;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--faint); font-size: 17px;
  transition: all .2s ease;
}
.name-row .rm:hover { color: var(--red); border-color: var(--red); }

/* ================= guest area ================= */
.guest-main { padding: 0 0 calc(100px + var(--safe-b)); max-width: 560px; margin: 0 auto; }
.gview { display: none; }
.gview.active { display: block; animation: screenIn .35s cubic-bezier(.2, .7, .2, 1); }

.hero {
  position: relative;
  padding: 60px 24px 30px;
  background: radial-gradient(120% 90% at 88% -10%, rgba(190, 106, 47, .1), transparent 58%);
}
.hero::before {
  content: ""; position: absolute; left: 24px; top: 44px; width: 34px; height: 4px;
  background: var(--accent); border-radius: var(--pill);
}
.hero-eyebrow {
  color: var(--accent); font-size: 12.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; animation: rise .5s ease backwards;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: .98;
  letter-spacing: 1.5px; margin: 12px 0 12px; animation: rise .55s ease .08s backwards;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-text { color: var(--muted); font-size: 15.5px; white-space: pre-line; animation: rise .55s ease .16s backwards; }

.section { padding: 8px 20px 6px; }
.section-title {
  font-family: var(--font-display); font-size: 27px; font-weight: 400; letter-spacing: 1.5px;
  margin: 22px 4px 12px; display: flex; align-items: center; gap: 10px;
}
.section-title::before { content: ""; width: 5px; height: 20px; background: var(--accent); border-radius: 3px; flex: none; }
.section-title .hint { font-family: var(--font-ui); font-size: 12px; color: var(--faint); font-weight: 500; letter-spacing: .04em; }

.cards { display: grid; gap: 12px; }
.cards > * { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.cards > *:nth-child(1) { animation-delay: .05s; }
.cards > *:nth-child(2) { animation-delay: .12s; }
.cards > *:nth-child(3) { animation-delay: .19s; }
.cards > *:nth-child(4) { animation-delay: .26s; }
.cards > *:nth-child(5) { animation-delay: .33s; }
.cards > *:nth-child(6) { animation-delay: .4s; }
.cards > *:nth-child(n+7) { animation-delay: .46s; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:active { transform: scale(.985); }
.card-row { display: flex; align-items: center; gap: 14px; }
.card-icon {
  width: 44px; height: 44px; flex: none; border-radius: var(--pill); display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent);
}
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-body { flex: 1; min-width: 0; }
.card-label { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card-value { font-size: 16.5px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.card-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.card-action {
  flex: none; padding: 10px 18px; border-radius: var(--pill); font-size: 13.5px; font-weight: 700;
  background: rgba(190, 106, 47, .12); color: var(--accent); border: 1px solid rgba(190, 106, 47, .25);
  transition: all .2s ease;
}
.card-action:active { transform: scale(.94); }

.card-actions-row { display: flex; gap: 10px; margin-top: 14px; }
.card-actions-row .card-action { flex: 1; text-align: center; }

.wifi-qr { display: none; padding-top: 16px; text-align: center; }
.wifi-qr.open { display: block; animation: fadeUp .35s ease; }
.wifi-qr img { width: 190px; height: 190px; border-radius: 16px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.wifi-qr p { color: var(--faint); font-size: 12.5px; margin-top: 8px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat .k { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--font-display); font-size: 34px; letter-spacing: 1px; margin-top: 4px; }
.stat .s { font-size: 12.5px; color: var(--faint); }

.list-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-card .list-item { animation: fadeUp .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.list-card .list-item:nth-child(1) { animation-delay: .05s; }
.list-card .list-item:nth-child(2) { animation-delay: .11s; }
.list-card .list-item:nth-child(3) { animation-delay: .17s; }
.list-card .list-item:nth-child(4) { animation-delay: .23s; }
.list-card .list-item:nth-child(5) { animation-delay: .29s; }
.list-card .list-item:nth-child(n+6) { animation-delay: .35s; }
.list-item { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.list-item + .list-item { border-top: 1px solid var(--line); }
.list-item .em { font-size: 20px; line-height: 1.4; flex: none; }
.list-item .t { font-weight: 600; font-size: 15.5px; }
.list-item .d { color: var(--muted); font-size: 14px; margin-top: 2px; white-space: pre-line; }

.rules .list-item { padding: 13px 18px; }
.rules .em { color: var(--accent); font-size: 15px; margin-top: 1px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 18px; border-radius: var(--pill); font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  transition: all .22s cubic-bezier(.2, .7, .2, 1);
}
.chip:active { transform: scale(.93); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px var(--accent-glow); }

.rec-card { display: flex; gap: 14px; align-items: center; }
.rec-card .go {
  flex: none; width: 44px; height: 44px; border-radius: var(--pill); display: grid; place-items: center;
  background: rgba(190, 106, 47, .12); color: var(--accent); border: 1px solid rgba(190, 106, 47, .25);
  transition: all .2s ease;
}
.rec-card .go:active { transform: scale(.9) rotate(8deg); }
.rec-card .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rec-meta { display: flex; gap: 8px; align-items: center; margin-top: 3px; flex-wrap: wrap; }
.pill { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(190, 106, 47, .1); padding: 3px 11px; border-radius: var(--pill); }
.dist { font-size: 12.5px; color: var(--faint); }

.host-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 17px 26px; border-radius: var(--pill);
  background: var(--accent);
  color: var(--accent-ink); font-weight: 700; font-size: 15.5px;
  box-shadow: 0 6px 18px rgba(190, 106, 47, .22);
  transition: transform .15s ease, background .2s ease;
  animation: fadeUp .5s ease backwards;
}
.host-cta svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.host-cta:active { transform: scale(.97); }

.contact-card { display: flex; align-items: center; gap: 14px; }
.contact-actions { display: flex; gap: 8px; flex: none; }
.round-btn {
  width: 44px; height: 44px; border-radius: var(--pill); display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  transition: transform .15s ease;
}
.round-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:active { transform: scale(.9); }
.round-btn.wa { color: var(--green); border-color: rgba(127, 176, 105, .35); }

.empty { text-align: center; color: var(--faint); padding: 30px 20px; font-size: 14.5px; }

.guest-actions { display: flex; justify-content: center; gap: 6px; padding: 26px 0 8px; }
.guest-actions .btn-text::after { content: "·"; margin-left: 12px; color: var(--line-strong); font-weight: 400; }
.guest-actions .btn-text:last-child::after { content: none; margin-left: 0; }

.card-action-block {
  display: block; text-align: center; margin-top: 14px; padding: 12px 20px; border-radius: var(--pill);
  background: rgba(190, 106, 47, .12); color: var(--accent); font-weight: 700; font-size: 14px;
  border: 1px solid rgba(190, 106, 47, .25); transition: all .2s ease;
}
.card-action-block:active { transform: scale(.97); }

/* ================= modal de feedback ================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .6);
  display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 26px 26px 0 0; padding: 24px 22px calc(26px + var(--safe-b));
  display: grid; gap: 14px;
  animation: sheetUp .35s cubic-bezier(.2, .7, .2, 1);
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 1px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-top: -8px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

.star-rating { display: flex; gap: 6px; }
.star-rating .star {
  font-size: 32px; line-height: 1; color: var(--line-strong);
  transition: transform .15s cubic-bezier(.2, .7, .2, 1), color .15s ease;
}
.star-rating .star:active { transform: scale(.85); }
.star-rating .star.filled { color: var(--accent); }

/* ================= tabbar ================= */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-around;
  padding: 8px 12px calc(10px + var(--safe-b));
  background: rgba(250, 249, 246, .85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.tab {
  position: relative;
  display: grid; justify-items: center; gap: 3px; color: var(--faint);
  font-size: 11px; font-weight: 600; padding: 8px 14px 6px; border-radius: 14px;
  transition: color .2s ease, transform .2s cubic-bezier(.2, .7, .2, 1);
}
.tab::before {
  content: ""; position: absolute; top: 0; width: 18px; height: 3px; border-radius: 3px;
  background: var(--accent); opacity: 0; transform: scaleX(.3); transition: all .25s ease;
}
.tab svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.tab.active { color: var(--accent); }
.tab.active::before { opacity: 1; transform: scaleX(1); }
.tab.active svg { transform: translateY(-2px) scale(1.08); }

/* ================= Urbi (chat do hóspede) ================= */
.fab-urbi {
  position: fixed; right: 18px; bottom: calc(92px + var(--safe-b)); z-index: 45;
  width: 54px; height: 54px; border-radius: var(--pill);
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px var(--accent-glow);
  transition: transform .15s cubic-bezier(.2, .7, .2, 1);
  animation: popIn .5s cubic-bezier(.2, .7, .2, 1) .3s backwards;
}
.fab-urbi:active { transform: scale(.92); }
.fab-urbi svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

#screen-urbi.active { display: flex; flex-direction: column; height: 100dvh; }
.urbi-header {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 16px 18px 14px; border-bottom: 1px solid var(--line);
}
.urbi-back {
  width: 38px; height: 38px; border-radius: var(--pill); flex: none;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.urbi-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.urbi-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; }
.urbi-sub { font-size: 12px; color: var(--faint); }

.urbi-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.urbi-msg {
  max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5;
  white-space: pre-line; animation: fadeUp .3s ease backwards;
}
.urbi-msg.user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.urbi-msg.assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.urbi-msg.typing { align-self: flex-start; display: flex; gap: 4px; align-items: center; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.urbi-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: dotPulse 1.2s ease-in-out infinite; }
.urbi-dot:nth-child(2) { animation-delay: .15s; }
.urbi-dot:nth-child(3) { animation-delay: .3s; }
@keyframes dotPulse { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.urbi-input-row {
  flex: none; display: flex; gap: 8px;
  padding: 12px 14px calc(14px + var(--safe-b)); border-top: 1px solid var(--line);
}
.urbi-input-row input {
  flex: 1; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill);
  padding: 13px 18px; font-size: 15px; color: var(--text); outline: none; transition: border-color .2s ease;
}
.urbi-input-row input:focus { border-color: var(--accent); }
.urbi-send {
  width: 46px; height: 46px; border-radius: var(--pill); flex: none;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  transition: transform .15s ease;
}
.urbi-send:active { transform: scale(.9); }
.urbi-send[disabled] { opacity: .5; }
.urbi-send svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ================= admin ================= */
.admin-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 249, 246, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; max-width: 720px; margin: 0 auto; }
.admin-title { font-weight: 700; font-size: 16px; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 14px 12px; scrollbar-width: none; max-width: 720px; margin: 0 auto; }
.admin-tabs::-webkit-scrollbar { display: none; }
.atab { flex: none; padding: 8px 17px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all .2s ease; }
.atab.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 5px 16px var(--accent-glow); }

.admin-main { max-width: 720px; margin: 0 auto; padding: 20px 18px calc(50px + var(--safe-b)); }
.aview { display: none; }
.aview.active { display: grid; gap: 14px; animation: screenIn .3s ease; }

.abox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 13px; animation: fadeUp .4s ease backwards; }
.abox h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: 1px; }
.abox .note { font-size: 13px; color: var(--faint); margin-top: -6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }

.aitem { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 10px; }
.aitem-head { display: flex; justify-content: space-between; align-items: center; }
.aitem-head .n { font-size: 12px; font-weight: 800; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; }
.aitem-rm { color: var(--red); font-size: 13.5px; font-weight: 600; }

.guest-row { display: flex; align-items: center; gap: 12px; padding: 14px 2px; animation: fadeUp .35s ease backwards; }
.guest-row + .guest-row { border-top: 1px solid var(--line); }
.guest-row .info { flex: 1; min-width: 0; }
.guest-row .ph { font-weight: 700; font-size: 15.5px; }
.guest-row .nm { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.badge { flex: none; font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: var(--pill); letter-spacing: .05em; }
.badge.ok { background: rgba(127, 176, 105, .15); color: var(--green); }
.badge.wait { background: rgba(190, 106, 47, .12); color: var(--accent); }
.icon-rm { flex: none; width: 36px; height: 36px; border-radius: var(--pill); display: grid; place-items: center; color: var(--faint); background: var(--surface-2); transition: all .2s ease; }
.icon-rm:hover { color: var(--red); }

.invite-row { display: flex; gap: 10px; }
.invite-row .field { flex: 1; }

/* ================= toast ================= */
.toast {
  position: fixed; left: 50%; bottom: calc(104px + var(--safe-b)); transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text);
  padding: 12px 22px; border-radius: var(--pill); font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow), 0 0 0 1px rgba(190, 106, 47, .15); z-index: 1000; white-space: nowrap;
  animation: toastin .3s cubic-bezier(.2, .7, .2, 1);
}
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 14px) scale(.95); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

@media (min-width: 640px) {
  .hero { border-radius: 0 0 30px 30px; }
}
