/* =============================================================================
 * Fontana Hotels — design system
 * Clean, welcoming, warm, professional, with a little depth. One component set;
 * per-hotel colours are swapped as CSS variables by core/theme.js. The signature
 * is the coloured header block + the Cormorant wordmark. Mobile-first.
 * ========================================================================== */

/* ----------------------------------------------------------------------------
 * 1. Tokens  (the §6 [DECIDED] values are kept exactly; the rest are derived)
 * -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* geometry (§6 fixed) */
  --radius: 12px;
  --radius-sm: 8px;
  --space: 16px;
  --maxw: 520px;
  /* geometry (added) */
  --radius-lg: 20px;
  --radius-pill: 999px;
  --radius-btn: 7px; /* buttons: almost square, small soft corners */

  /* neutrals — warm (§6 fixed) */
  --ink: #15211c;
  --bg: #f7f5ef;
  --surface: #fff;
  --muted: #6b6f6a;
  --line: rgba(0, 0, 0, .10);
  /* neutrals (added) */
  --ink-soft: #44504a;
  --surface-2: #fbfaf4;
  --line-strong: rgba(0, 0, 0, .16);

  /* brand — defaults; theme.js overrides per hotel (§6 fixed) */
  --c-primary: #1d6e86;
  --c-primary-dark: #0f2a38;
  --c-accent: #e0a55a;
  --c-tint: #e9f2f4;

  /* derived brand helpers */
  --on-primary: #fff;
  --on-accent: var(--ink);
  /* soft tinted surface from the active primary — adapts to light/dark */
  --tint-bg: color-mix(in srgb, var(--c-primary) 9%, var(--surface));
  --primary-hover: color-mix(in srgb, var(--c-primary) 86%, #000);

  /* feedback */
  --danger: #a8302f;
  --success: #2f6b4f;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(20, 30, 25, .06), 0 1px 3px rgba(20, 30, 25, .05);
  --shadow-md: 0 2px 8px rgba(20, 30, 25, .08), 0 12px 28px rgba(20, 30, 25, .08);

  /* type */
  --font-display: var(--font-ui); /* Fraunces dropped — Inter is the one sans for everything but the wordmark */
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-logo: 'Cormorant', Georgia, 'Times New Roman', serif; /* the wordmark */
  --lh: 1.55;

  /* header block — white at brand level; per-hotel views override these */
  --header-bg: var(--surface);
  --header-fg: var(--ink);

  --focus: color-mix(in srgb, var(--c-primary) 60%, #000);
}

/* Dark mode — warm charcoal, not pure black. Brand fills (primary/accent) carry
 * over; the tinted surface re-derives against the dark surface automatically. */
/* Dark mode — one token set, swapped. Applied via data-theme on <html> by the
 * inline script in index.html (saved preference; "auto" follows the system). */
:root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #eef1ea;
    --ink-soft: #c3ccc4;
    --bg: #12161a;
    --surface: #1a2024;
    --surface-2: #202730;
    --muted: #9aa49d;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .20);
    --on-accent: #1a1206;
    --tint-bg: color-mix(in srgb, var(--c-primary) 24%, var(--surface));
    --primary-hover: color-mix(in srgb, var(--c-primary) 80%, #fff);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, .5);
    --focus: color-mix(in srgb, var(--c-primary) 55%, #fff);
}

/* ----------------------------------------------------------------------------
 * 2. Reset & base
 * -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: var(--lh);
  color: var(--ink);
  /* depth: a soft lighter pocket of the active colour up top, fading into bg */
  background:
    radial-gradient(135% 70% at 50% -8%, color-mix(in srgb, var(--c-primary) 13%, var(--bg)) 0%, transparent 58%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Savile Row pinstripe — a faint tailored texture behind the whole app. Fixed so
   it sits still while content scrolls; kept subtle, and fainter in light mode. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('../assets/img/savile-row-pinstripe.jpg') center center / cover no-repeat;
  opacity: .085; /* light-mode landing — kept very faint */
}
html[data-theme="dark"] body::before { opacity: .42; }
/* inside pages (a hotel, or the guest Private Area): lift the pinstripe to ~40% in both themes */
html[data-theme="dark"] body:has(.app--hotel)::before,
html[data-theme="dark"] body:has(.app--guest)::before { opacity: .4; }
html[data-theme="light"] body:has(.app--hotel)::before,
html[data-theme="light"] body:has(.app--guest)::before { opacity: .24; }

img, picture, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: color-mix(in srgb, var(--c-accent) 45%, transparent); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------------------
 * 3. Typography — Fraunces for display, Inter for UI. Sentence case throughout.
 * -------------------------------------------------------------------------- */
h1, h2, h3, .display, .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}
.display { font-size: clamp(28px, 7vw, 40px); }
h1, .h1 { font-size: clamp(24px, 5.5vw, 30px); }
h2, .h2 { font-size: 20px; }
h3, .h3 { font-size: 17px; }
p { margin: 0 0 .75em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.lead { font-size: 17px; color: var(--ink-soft); }
.muted { margin: 0; color: var(--muted); }
.small { font-size: 14px; }

/* ----------------------------------------------------------------------------
 * 4. Layout
 * -------------------------------------------------------------------------- */
.app { min-height: 100dvh; }
/* guest app: full-height column so the bottom tab bar stays pinned to the bottom
   even when a screen's content is short (otherwise it floats up mid-screen) */
.app--guest { display: flex; flex-direction: column; }
.app--guest .screen { flex: 1 0 auto; padding-bottom: calc(84px + env(safe-area-inset-bottom)); } /* clear the fixed tab bar */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space); }
.screen { padding-block: 20px calc(28px + env(safe-area-inset-bottom)); }
.stack { display: grid; gap: var(--gap, 14px); }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.section { margin-block: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__title { font-family: var(--font-ui); font-weight: 600; font-size: 22px; }
.section__head--center { justify-content: center; }
.section__head--center .section__title { text-align: center; }
.section__logo { display: block; width: auto; height: 46px; max-width: 74%; object-fit: contain; }
.section__logo--trentino { height: 42px; }
/* the logos are white (for the dark theme); on the light theme flip them dark so they read */
html[data-theme="light"] .section__logo { filter: invert(1); }
/* big page headings (e.g. the hotel name under "Your stay") — Inter, bold */
.h1 { font-family: var(--font-ui); font-weight: 700; }
.section__link { font-size: 14px; font-weight: 600; }

/* thin inset separator between home blocks — fades out before the edges */
.rule {
  border: 0; height: 1px; width: 100%; margin: 18px 0;
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--ink) 16%, transparent) 14%,
    color-mix(in srgb, var(--ink) 16%, transparent) 86%,
    transparent 100%);
}

/* ----------------------------------------------------------------------------
 * 5. The signature — the header block + wordmark
 *    A fixed block whose colour belongs to the active hotel (white at the brand
 *    level). The "Fontana Hotels" wordmark is the lockup.
 * -------------------------------------------------------------------------- */
.apphead {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top); /* clear the notch / status bar (esp. installed PWA) */
  background: var(--header-bg); color: var(--header-fg);
  border-bottom: 1px solid color-mix(in srgb, var(--header-fg) 12%, transparent);
  box-shadow: 0 4px 12px rgba(8, 16, 20, .24);
  transition: box-shadow .22s ease;
}
/* stronger lift once the page is scrolled */
html.is-scrolled .apphead { box-shadow: 0 12px 28px rgba(8, 16, 20, .46); }
.apphead__inner { display: flex; align-items: center; gap: 10px; min-height: 60px; }

/* brand level — white block, dark wordmark */
.apphead--brand { --header-bg: var(--surface); --header-fg: var(--ink); }

/* hotel level — the hotel's colour with a soft sheen, white wordmark */
.apphead--hotel {
  --header-fg: #fff;
  background:
    radial-gradient(120% 180% at 0% 0%, color-mix(in srgb, #fff 22%, var(--c-primary)) 0%, transparent 55%),
    linear-gradient(180deg, var(--c-primary) 0%, var(--primary-hover) 100%);
  border-bottom: 2px solid var(--c-primary-dark);
}

/* accent header — the guest "Private Area" (matches the gold banner you tapped) */
.apphead--accent {
  --header-fg: var(--on-accent);
  background:
    radial-gradient(120% 180% at 0% 0%, color-mix(in srgb, #fff 26%, var(--c-accent)) 0%, transparent 55%),
    linear-gradient(180deg, var(--c-accent) 0%, color-mix(in srgb, var(--c-accent) 86%, #000) 100%);
  border-bottom: 2px solid color-mix(in srgb, var(--c-accent) 55%, #000);
}
/* "PRIVATE AREA" header title — same look as the banner label (Inter, bold) */
.apphead__title { flex: 1; min-width: 0; text-align: center; font-family: var(--font-ui); font-weight: 800;
  font-size: 19.5px; letter-spacing: .06em; color: var(--header-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apphead__title--sm { font-size: clamp(15px, 4.5vw, 18px); letter-spacing: .04em; } /* longer titles that must fit (e.g. OPEN YOUR GUEST APP) */
/* guest header: "PRIVATE AREA" + the current screen name stacked underneath */
.apphead__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.apphead__titles .apphead__title { flex: none; max-width: 100%; }
.apphead__sub { font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 1.25;
  color: var(--on-accent); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* hotel-name header — sized to fit the full "Hotel ..." name, with line-height
   that leaves room for descenders (g, p) so they aren't clipped by overflow */
/* One size for every hotel name, tuned so the longest ("Hotel Cesare Augusto")
   always fits between the back + menu icons with margin — never truncates. */
.apphead--hotel .wordmark--center { font-family: var(--font-ui); font-weight: 700; letter-spacing: -.01em; font-size: clamp(17px, 5.6vw, 24px); line-height: 1.12; }

.wordmark {
  font-family: var(--font-logo);
  font-weight: 600; font-size: 31px; line-height: 1; letter-spacing: .015em;
  color: var(--header-fg); white-space: nowrap;
}
/* "Hotels" in green italic, matching the wordmark on the unlock page */
.wordmark em { font-style: italic; font-weight: 600; color: #2f6b4f; opacity: 1; }
.apphead--hotel .wordmark em { color: inherit; } /* on a coloured header keep it white */
@media (prefers-color-scheme: dark) { .wordmark em { color: #6aa886; } }
.wordmark--sm { font-size: 22px; }
.wordmark--center { flex: 1; text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* landing hero header — a cream "letterhead" block (fixed light in both modes) */
.landing-head { background: #f6f3ec; color: #15211c; border-bottom: 2px solid #2f6b4f; }
.landing-head__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 8px 0 12px; }
.wordmark--hero { font-size: clamp(40px, 14vw, 62px); line-height: 1.02; color: #15211c; white-space: nowrap; }
.landing-head .wordmark--hero em { color: #2f6b4f; } /* green italic, fixed in both modes */
.landing-head__rule { width: 100%; max-width: 380px; height: 2px; border-radius: 2px; margin: 3px 0 5px;
  background: linear-gradient(90deg, transparent, #2f6b4f 12%, #2f6b4f 88%, transparent); }
.landing-head__title { font-family: var(--font-ui); font-weight: 600; font-size: 21px; color: #15211c; margin: 0; line-height: 1.2; }
.landing-head__sub { font-family: var(--font-display); font-style: italic; font-size: 15px; color: #6b6f6a; margin: 0; line-height: 1.25; }

/* bare white icon button on a coloured header — no circle, like the banner arrow */
.iconbtn.iconbtn--on-color { color: #fff; background: transparent; }
.iconbtn.iconbtn--on-color:hover { background: rgba(255, 255, 255, .14); }
/* labeled icon button (the "Exit" button in the guest header) + a matching left spacer so the title stays centred */
.iconbtn--labeled { width: 48px; height: auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 0; border-radius: 10px; }
.iconbtn__label { font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .03em; }
.apphead__spacer { flex: none; width: 48px; }
.iconbtn.iconbtn--on-accent { color: var(--on-accent); background: transparent; }
.iconbtn.iconbtn--on-accent:hover { background: rgba(0, 0, 0, .10); }

/* ----------------------------------------------------------------------------
 * 6. Buttons
 * -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px; line-height: 1;
  min-height: 46px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  background: var(--surface-2); color: var(--ink); cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .06s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; transform: none; }
/* primary — gradient + a soft side glow + glossy top edge for life */
.btn--primary {
  color: var(--on-primary);
  border-color: color-mix(in srgb, #000 16%, var(--c-primary)); /* thin crisp edge */
  background:
    linear-gradient(108deg, color-mix(in srgb, #fff 26%, var(--c-primary)) 0%, var(--c-primary) 42%, var(--primary-hover) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 6px 18px color-mix(in srgb, var(--c-primary) 38%, transparent);
}
.btn--primary:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 8px 22px color-mix(in srgb, var(--c-primary) 46%, transparent); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
.btn--secondary:hover { background: var(--surface-2); border-color: var(--muted); }
.btn--ghost { background: transparent; color: var(--c-primary); }
.btn--ghost:hover { background: var(--tint-bg); }
.btn--accent {
  color: var(--on-accent);
  background: linear-gradient(108deg, color-mix(in srgb, #fff 32%, var(--c-accent)) 0%, var(--c-accent) 55%, color-mix(in srgb, var(--c-accent) 82%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px color-mix(in srgb, var(--c-accent) 40%, transparent);
}
.btn--accent:hover { filter: brightness(1.03); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn i { font-size: 18px; }

/* icon-only round button (app bar) */
.iconbtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .18s ease;
  -webkit-tap-highlight-color: transparent; /* no lingering colour flash on iOS tap */
}
/* hover tint only where a real pointer exists — avoids the sticky "brown circle" on touch */
@media (hover: hover) { .iconbtn:hover { background: var(--tint-bg); } }
.iconbtn i { font-size: 22px; }

/* ----------------------------------------------------------------------------
 * 7. Cards
 * -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 16px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 4px; }

/* tinted "offer" card — the daily-offer money shot leans on this */
.card--tint { background: var(--tint-bg); border-color: color-mix(in srgb, var(--c-primary) 18%, transparent); }
.card--feature { box-shadow: var(--shadow-md); }

/* offer card — square photo flush to the left edge, copy left-aligned beside it */
.offer-card { position: relative; display: flex; align-items: stretch; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--tint-bg); border: 1px solid color-mix(in srgb, var(--c-primary) 18%, transparent); border-radius: var(--radius-lg); }
.offer-card:hover { text-decoration: none; }
.offer-card__img { width: 112px; flex: none; object-fit: cover; align-self: stretch; }
.offer-card__body { padding: 14px 42px 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* ☆ save-to-My-Extras control, top-right of the card; gold ★ when saved, × on the My Extras page */
.offer-star { position: absolute; top: 6px; right: 6px; z-index: 2; width: 36px; height: 36px;
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
  transition: color .15s ease, transform .12s ease; }
.offer-star i { font-size: 23px; }
.offer-star .estar { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.offer-star.is-saved .estar { fill: currentColor; stroke: none; }
.offer-star:hover, .offer-star.is-saved { color: var(--c-accent); }
.offer-star:active { transform: scale(.85); }
.offer-star--remove { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.offer-star--remove:hover { color: #ef4444; }

/* soft pulsing glow for the daily-offer card — themed warm gold/yellow accent */
.offer-glow {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-accent) 45%, transparent), 0 0 14px 1px color-mix(in srgb, var(--c-accent) 38%, transparent);
  animation: offer-glow 2.6s ease-in-out infinite;
}
@keyframes offer-glow {
  0%, 100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-accent) 38%, transparent), 0 0 8px 0 color-mix(in srgb, var(--c-accent) 30%, transparent); }
  50% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-accent) 60%, transparent), 0 0 22px 3px color-mix(in srgb, var(--c-accent) 52%, transparent); }
}

/* ---- Hotel photo card (landing centrepiece). Set --card-accent inline to the
 *      hotel's primary so the border + glow belong to that hotel. ---- */
.hotel-card {
  --card-accent: var(--c-primary);
  position: relative; display: block; color: #fff; text-decoration: none;
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; isolation: isolate;
  width: 72%; max-width: 340px; margin-inline: auto;
  border: 2px solid rgba(255, 255, 255, .35); /* same on every card, softened; green in light mode (below) */
  box-shadow:
    0 22px 46px rgba(0, 0, 0, .5),
    0 8px 18px rgba(0, 0, 0, .34);
  transition: box-shadow .25s ease, transform .25s ease;
}
html[data-theme="light"] .hotel-card {
  border-color: rgba(47, 107, 79, .45); /* the "Hotels" green, softened */
  box-shadow: 0 20px 40px rgba(20, 33, 28, .24), 0 7px 16px rgba(20, 33, 28, .16);
}
.hotel-card > img { /* the background photo only — not the logo inside __body */
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transition: transform .5s ease;
}
.hotel-card::after { /* semi-transparent dark panel over the bottom half (page-bg colour @ ~84%) */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 50%; z-index: -1;
  background: rgba(18, 22, 26, .84);
}
.hotel-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 12px 24px rgba(0, 0, 0, .38); }
.hotel-card:hover > img { transform: scale(1.045); }
.hotel-card__body { position: absolute; left: 0; right: 0; bottom: 0; top: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 16px; }
.hotel-card__name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.1; }
.hotel-card__meta { font-size: 13px; opacity: .92; margin-top: 3px; }
.hotel-card__logo { display: block; width: var(--logo-w, 56%); height: auto; max-width: 88%; max-height: 86%; object-fit: contain; }
.hotel-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255, 255, 255, .94); color: #15211c; /* fixed dark: pill is always white */
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius-pill);
}

/* ----------------------------------------------------------------------------
 * 8. List rows  (services, dashboard tiles)
 * -------------------------------------------------------------------------- */
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; text-align: left; color: inherit; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
a.row, button.row { font: inherit; }
.row:hover { border-color: var(--line-strong); text-decoration: none; }
.row__icon {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--tint-bg); color: var(--c-primary);
}
.row__icon i { font-size: 22px; }
/* on the public hotel "website" pages, only the icon glyph takes the secondary
   (accent) colour; the square keeps its original (primary) tint */
.app--hotel .row__icon { color: var(--c-accent); }
/* same in the guest app — icons take the hotel's accent (the colourful "Your
   stay" icons set their own colour inline, so they override this) */
.app--guest .row__icon { color: var(--c-accent); }
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row__title { font-weight: 600; }
.row__sub { color: var(--muted); font-size: 14px; line-height: 1.4; }
.row__chev { color: var(--muted); }
.row__chev i { font-size: 20px; }
/* "My Extras" feature row — the prominent first item in My Stay (accent-framed) */
.row--extras { border-color: color-mix(in srgb, var(--c-accent) 55%, var(--line));
  background: color-mix(in srgb, var(--c-accent) 9%, var(--surface)); }
.row--extras:hover { border-color: var(--c-accent); }
.row__icon--star .estar { width: 23px; height: 23px; fill: currentColor; }
/* × remove button on a My Extras stay row */
.row__x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent;
  color: var(--muted); cursor: pointer; border-radius: 50%; transition: color .15s ease, background-color .15s ease; }
.row__x:hover { color: #ef4444; background: color-mix(in srgb, #ef4444 12%, transparent); }
.row__x i { font-size: 20px; }

/* rooms accordion — tap a room to reveal its photo + details (single-open) */
.room { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .18s ease; }
.room:hover, .room.is-open { border-color: var(--line-strong); }
.room__head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.room__chev { flex: none; display: grid; place-items: center; color: var(--c-accent); transition: transform .25s ease; }
.room__chev i { font-size: 20px; }
.room.is-open .room__chev { transform: rotate(180deg); }
.room__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.room.is-open .room__panel { grid-template-rows: 1fr; }
.room__panel-inner { overflow: hidden; min-height: 0; }
.room__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-top: 1px solid var(--line); }
.room__desc { margin: 0; padding: 13px 16px 15px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* hero photo on a hotel page wears the same border as the landing cards (continuity) */
.hotel-hero { border: 2px solid rgba(255, 255, 255, .35); }
html[data-theme="light"] .hotel-hero { border-color: rgba(47, 107, 79, .45); }

/* ----------------------------------------------------------------------------
 * 9. Chips & badges
 * -------------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--tint-bg); color: var(--c-primary);
  font-size: 13px; font-weight: 600;
}
.chip i { font-size: 15px; }
/* solid filled chip — white text on the active colour; high contrast in both modes */
.chip--solid { background: var(--c-primary); color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.badge--accent { background: var(--c-accent); color: var(--on-accent); border-color: transparent; }
.price { font-weight: 600; }
.price small { color: var(--muted); font-weight: 400; }

/* ----------------------------------------------------------------------------
 * 10. Forms
 * -------------------------------------------------------------------------- */
.field { display: grid; gap: 6px; }
.field > label { font-weight: 600; font-size: 14px; }
.input, .select, .textarea, select.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 96px; resize: vertical; }
select.input { height: 51px; } /* match the rendered text-input height (e.g. Offerte: Tipo = Titolo) */
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .6; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 22%, transparent);
}
.field__hint { font-size: 13px; color: var(--muted); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); font-weight: 600; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--c-primary); flex: none; }

/* ----------------------------------------------------------------------------
 * 11. App header (sticky) + horizon seam
 * -------------------------------------------------------------------------- */
.appbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
.appbar__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; flex: 1; text-align: center; }
.appbar__title--left { text-align: left; padding-left: 4px; }

/* ----------------------------------------------------------------------------
 * 12. Bottom tab bar (guest zone)
 * -------------------------------------------------------------------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tab {
  flex: 1; display: grid; justify-items: center; gap: 3px;
  padding: 8px 4px; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600;
}
.tab:hover { text-decoration: none; color: var(--ink); }
.tab i { font-size: 23px; }
.tab.is-active { color: var(--c-primary); }

/* ----------------------------------------------------------------------------
 * 13. Empty state
 * -------------------------------------------------------------------------- */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty i { font-size: 32px; color: var(--line-strong); }
.empty__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin: 10px 0 4px; }

/* ----------------------------------------------------------------------------
 * 14. Toast (created by core/ui.js)
 * -------------------------------------------------------------------------- */
#fh-toasts {
  position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; justify-items: center; gap: 8px; pointer-events: none; z-index: 60;
}
.toast {
  background: var(--c-primary-dark); color: #fff;
  padding: 11px 18px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-md); max-width: calc(var(--maxw) - 32px);
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast--success { background: var(--success); }
.toast--error { background: var(--danger); }

/* ----------------------------------------------------------------------------
 * 15. App structure components (Tasks 7–17)
 * -------------------------------------------------------------------------- */
/* website section menu (overlay sheet) */
.sheet { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 16, 20, .45); }
.sheet__panel { position: relative; width: min(320px, 84vw); height: 100%;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 16px) 16px;
  background: var(--surface); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sheet__nav { display: flex; flex-direction: column; }
.sheet__link { display: block; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 14px 6px; font: inherit; color: var(--ink); cursor: pointer; text-decoration: none; }
.sheet__link:hover { color: var(--c-primary); text-decoration: none; }

/* "GUEST PRIVATE AREA" — full-width footer bar pinned to the bottom; the page
   content scrolls underneath it. Accent colour, centred text. */
.appbanner-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.appbanner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  color: var(--on-accent); text-align: center; text-decoration: none;
  background: linear-gradient(180deg, color-mix(in srgb, #fff 16%, var(--c-accent)) 0%, var(--c-accent) 72%, color-mix(in srgb, var(--c-accent) 86%, #000) 100%);
  border-top: 1px solid color-mix(in srgb, #000 24%, var(--c-accent)); box-shadow: 0 -6px 18px rgba(8, 16, 20, .20); }
.appbanner:hover { text-decoration: none; filter: brightness(1.03); }
.appbanner:active { filter: brightness(.985); }
.appbanner__text { display: flex; flex-direction: column; align-items: center; line-height: 1.25; min-width: 0; }
.appbanner__text strong { font-size: 19.5px; letter-spacing: .06em; font-weight: 800; }
.appbanner__text small { opacity: .85; font-size: 13px; }

/* hotel-page badge chip — brighter, higher-contrast text so it reads clearly */
.app--hotel .chip { color: var(--ink); }

/* tab bar: a divider before the Settings tab */
.tab-sep { flex: none; align-self: center; width: 1px; height: 26px; margin: 0 3px; background: var(--line-strong); }

/* segmented control (Settings → Appearance) */
.seg-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px; }
.seg-group--2 { grid-template-columns: repeat(2, 1fr); } /* exact 50/50 split (e.g. Orari: Generale | Singole giornate) */
.seg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px;
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 13px;
  border-radius: var(--radius-sm); cursor: pointer; }
.seg.is-active { background: var(--surface); color: var(--c-primary); box-shadow: var(--shadow-sm); }
.seg i { font-size: 16px; }

/* toggle switch (Settings) */
.switch { flex: none; width: 46px; height: 28px; border-radius: var(--radius-pill);
  background: var(--line-strong); position: relative; cursor: pointer; transition: background-color .18s ease; }
.switch.is-on { background: var(--c-primary); }
.switch__dot { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .18s ease; }
.switch.is-on .switch__dot { transform: translateX(18px); }

/* dashboard quick tiles + hotel services grid */
.tiles, .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 8px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.tile:hover { border-color: var(--line-strong); text-decoration: none; }
.svc { display: grid; justify-items: center; gap: 6px; text-align: center; }

/* gallery — each cell is a button that opens the photo full-screen */
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-cell { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.g-cell:hover .g-img { transform: scale(1.04); filter: brightness(1.03); }
.g-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); transition: transform .3s ease, filter .3s ease; }

/* full-screen photo lightbox / carousel (created by app.js; swipe, arrows, ← → keys, Esc) */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(8, 12, 14, .92); padding: 16px; cursor: zoom-out; animation: lb-fade .15s ease; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: default;
  border-radius: var(--radius-sm); box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.lightbox__btn { position: absolute; z-index: 1; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .15s ease, transform .06s ease; }
.lightbox__btn:hover { background: rgba(0, 0, 0, .62); }
.lightbox__btn:active { transform: scale(.92); }
.lightbox__close { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center;
  color: rgba(255, 255, 255, .85); font: 600 14px var(--font-ui); letter-spacing: .05em; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

/* "Add to Home Screen" — a bottom sheet that collapses to an always-visible PEEK
   bar you can tap to reopen (installPrompt.js). Inverted vs the theme so it stays
   visible: cream over the dark app, dark over the light app. */
.installsheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; pointer-events: none; }
.installsheet__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 14, .5); opacity: 0; transition: opacity .34s ease; pointer-events: none; }
.installsheet.is-in:not(.is-offroute):not(.is-collapsed) .installsheet__backdrop { opacity: 1; pointer-events: auto; }
.installsheet__panel { position: relative; width: 100%; max-width: 540px; margin-inline: auto; pointer-events: auto;
  border-radius: 22px 22px 0 0; box-shadow: 0 -22px 60px rgba(0, 0, 0, .42);
  padding: 0 22px env(safe-area-inset-bottom);
  transform: translateY(102%); transition: transform .42s cubic-bezier(.22, 1, .36, 1), margin-bottom .28s ease; }
.installsheet.is-in:not(.is-offroute) .installsheet__panel { transform: translateY(0); }
.installsheet.is-collapsed .installsheet__panel { margin-bottom: var(--peek-offset, 0); } /* peek sits above the tab bar / footer banner */
html[data-theme="dark"] .installsheet__panel { background: #f6f3ec; color: #15211c; }
html[data-theme="light"] .installsheet__panel { background: #1b211e; color: #f3f1ea; }

.ish__bar { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 0; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.ish__icon { flex: none; border-radius: 10px; }
html[data-theme="dark"] .ish__icon { box-shadow: 0 0 0 1px rgba(21, 33, 28, .12); }
html[data-theme="light"] .ish__icon { box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.ish__bartext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ish__eyebrow { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .5; }
.ish__title { font-family: var(--font-ui); font-weight: 800; font-size: 18px; line-height: 1.15; }
.ish__chev { flex: none; width: 22px; height: 22px; opacity: .45; transition: transform .3s ease; }
.installsheet:not(.is-collapsed) .ish__chev { transform: rotate(180deg); }

.ish__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .36s cubic-bezier(.22, 1, .36, 1); }
.installsheet.is-collapsed .ish__body { grid-template-rows: 0fr; }
.ish__body-inner { overflow: hidden; min-height: 0; }
.ish__body-inner--centered { text-align: center; }
.ish__body-inner--centered .ish__steps { text-align: left; }
.ish__biglogo { display: block; margin: 6px auto 12px; width: 94px; height: 94px; border-radius: 21px; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.ish__bigtitle { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: inherit; }
.ish__add { margin: 8px 0 0; }
.ish__lead { margin: 0; opacity: .62; font-size: 14.5px; line-height: 1.4; }
.ish__steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ish__step { display: flex; align-items: flex-start; gap: 13px; }
.ish__num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid; display: grid; place-items: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; margin-top: 1px; }
html[data-theme="dark"] .ish__num, html[data-theme="dark"] .ish__share { color: #2f6b4f; }
html[data-theme="light"] .ish__num, html[data-theme="light"] .ish__share { color: #6aa886; }
.ish__step p { margin: 0; font-size: 15.5px; line-height: 1.45; }
.ish__hint { opacity: .6; font-weight: 400; }
.ish__share { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; margin: 0 1px; }
.ish__rule { height: 1px; border: 0; background: currentColor; opacity: .14; margin: 20px 0 0; }
.ish__or { text-align: center; opacity: .55; font-size: 13px; margin: 16px 0 10px; }
.ish__browser { display: block; width: 100%; padding: 13px; border-radius: var(--radius); font: inherit; font-weight: 700;
  cursor: pointer; background: transparent; color: inherit; border: 1.5px solid currentColor; transition: background-color .15s ease; }
.ish__browser:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.ish__note { text-align: center; opacity: .5; font-size: 12px; line-height: 1.4; margin: 10px 4px 18px; }

/* unlock screen — bigger, full-strength lead (not muted grey) */
.unlock-lead { font-size: 16px; line-height: 1.5; color: var(--ink); margin: 0; }

/* loyalty — three colour-graded "earn points" actions (value → colour) */
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.earn-btn { display: grid; gap: 5px; justify-items: center; text-align: center;
  padding: 14px 8px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
  transition: filter .15s ease, transform .06s ease; }
.earn-btn:hover { filter: brightness(1.04); }
.earn-btn:active { transform: translateY(1px); }
.earn-btn__pts { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; }
.earn-btn__cap { font-size: 11px; line-height: 1.25; color: var(--muted); }
.earn-btn--s { background: color-mix(in srgb, #3b82f6 14%, var(--surface)); border-color: color-mix(in srgb, #3b82f6 30%, transparent); }
.earn-btn--s .earn-btn__pts { color: #3b82f6; }
.earn-btn--m { background: color-mix(in srgb, var(--c-accent) 18%, var(--surface)); border-color: color-mix(in srgb, var(--c-accent) 38%, transparent); }
.earn-btn--m .earn-btn__pts { color: color-mix(in srgb, var(--c-accent) 78%, var(--ink)); }
.earn-btn--l { background: color-mix(in srgb, var(--success) 16%, var(--surface)); border-color: color-mix(in srgb, var(--success) 36%, transparent); }
.earn-btn--l .earn-btn__pts { color: var(--success); }

/* current membership level highlight (wallet) */
.row--current { border-color: color-mix(in srgb, var(--c-accent) 55%, transparent); background: color-mix(in srgb, var(--c-accent) 9%, var(--surface)); }

/* beach spot picker */
.beach-grid { display: grid; gap: 6px; margin-top: 12px; }
.spot { aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface);
  color: var(--muted); font-size: 11px; font-weight: 600; cursor: pointer; }
.spot:hover:not(:disabled) { border-color: var(--c-primary); color: var(--c-primary); }
.spot.is-taken { background: var(--surface-2); color: var(--line-strong); cursor: not-allowed; }
.spot.is-sel { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.legend { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; border: 1px solid var(--line-strong); }
.legend--free { background: var(--surface); }
.legend--taken { background: var(--surface-2); }
.legend--sel { background: var(--c-primary); border-color: var(--c-primary); }

/* ----------------------------------------------------------------------------
 * 16. Motion preferences
 * -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hotel-card:hover > img { transform: none; }
}

/* ── Super-admin — full-page control room ──────────────────────────────────── */
.container--wide { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--space); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .admin-cols { grid-template-columns: 1fr; } }
.su-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; align-items: start; }
.su-card { display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 16px; box-shadow: 0 1px 3px rgba(20, 33, 28, .05); }
.su-card__head { display: flex; gap: 12px; align-items: center; }
.su-card__icon { border-radius: 11px; border: 1px solid var(--line); flex: none; }
.su-card__name { font-weight: 700; display: block; line-height: 1.2; }
.su-card__vert { color: var(--muted); font-size: 12.5px; text-transform: capitalize; }
.su-card__mods { display: flex; flex-wrap: wrap; gap: 6px; }
.su-swatch { display: inline-block; width: 13px; height: 13px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .15); vertical-align: middle; }
.chip--xs { font-size: 11px; padding: 3px 9px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--muted); text-transform: none; }
.su-edit { border-top: 1px solid var(--line); padding-top: 12px; }
.su-field { display: flex; flex-direction: column; gap: 5px; }
.su-field > label { font-size: 12.5px; color: var(--muted); }
.su-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.su-edit input[type="color"] { width: 46px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; }
.su-logo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; }
.su-logo.is-drop { border-color: var(--c-primary); border-style: solid; }
.su-logo__prev { height: 44px; max-width: 180px; object-fit: contain; }
@media (max-width: 480px) { .su-2col { grid-template-columns: 1fr; } }

/* ── Public (walk-in) app — Osteria / Bar / Tenuta ─────────────────────────── */
.menus-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menus-2--single { grid-template-columns: 1fr; } /* one active formula → full width */
.setmenu { text-align: center; }
.setmenu { padding: 4px 2px; }
.setmenu__name { font-weight: 700; font-size: 16.5px; }
.setmenu__price { font-size: 32px; font-weight: 800; color: var(--c-primary); line-height: 1.05; }
.dispo { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.dispo:first-child { border-top: 0; }
.dispo__turno { font-weight: 600; }
.dispo__posti { font-weight: 700; color: var(--c-primary); }
.dispo__posti.is-full { color: var(--muted); }
.landing-head__logo { max-width: 78%; max-height: 88px; object-fit: contain; display: block; margin-inline: auto; }

/* restaurant admin — compact table inventory + tap-to-book tiles */
.tbl-inv-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.tbl-inv { display: flex; flex-direction: column; gap: 3px; }
.tbl-inv label { font-size: 11px; color: var(--muted); }
.tbl-inv .input { width: 52px; padding: 8px 6px; text-align: center; }
.tbl-inv-row .btn { min-height: 48px; } /* match the da-8/da-6 input height */
.tbl { min-width: 38px; height: 38px; padding: 0 9px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .05s ease; }
.tbl:active { transform: scale(.93); }
.tbl.is-booked { background: #8a2024; border-color: #8a2024; color: #fff; position: relative; overflow: hidden; }
/* booked = crossed out (unavailable): a thin 1px diagonal line across the red tile */
.tbl.is-booked::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top right, transparent calc(50% - .5px), rgba(255, 255, 255, .92) calc(50% - .5px),
  rgba(255, 255, 255, .92) calc(50% + .5px), transparent calc(50% + .5px)); }

/* "add" zones in Gestione — a light dashed panel: heading, full-width fields, action on its own row */
.addzone { background: var(--tint-bg); border: 1px dashed color-mix(in srgb, var(--c-primary) 30%, var(--line)); border-radius: 12px; padding: 14px; }
.addzone__title { display: block; font-weight: 700; color: var(--c-primary); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.addzone__fields { display: flex; flex-direction: column; gap: 10px; }
.addzone__row { display: flex; gap: 10px; align-items: flex-end; }
.addzone .su-field { width: 100%; }
.addzone .su-field .input, .addzone .su-field select.input { width: 100%; max-width: none; }
/* same-row action button matches the input height (so they line up) */
.addzone__row { align-items: stretch; }
.addzone__row .su-field { display: flex; flex-direction: column; }
.addzone__row .su-field .input-money, .addzone__row .su-field .input { margin-top: auto; }
.addzone__row .btn { align-self: flex-end; min-height: 51px; }
/* money field: "Costo" label, € shown inside the field */
.input-money { position: relative; }
.input-money__sym { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; line-height: 1; }
.input-money .input { padding-left: 28px; }
/* "Immagine" field in the add/edit modal: big preview + Carica / Cancella stacked beside it */
.imgfield { display: flex; gap: 12px; align-items: center; }
.imgfield__preview { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; background: var(--tint-bg); }
.imgfield__preview--empty { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.imgfield__preview--empty i { font-size: 30px; }
.imgfield__btns { display: flex; flex-direction: column; gap: 8px; min-width: 120px; }

/* swipe-to-reveal rows (menu dishes): drag left → Archivia / Elimina (desktop: hover reveals) */
.swipe { position: relative; overflow: hidden; border-radius: var(--radius); }
.swipe__actions { position: absolute; top: 0; right: 0; bottom: 0; display: flex; }
.swipe__act { width: 84px; border: 0; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.swipe__act i { font-size: 19px; }
.swipe__act--archive { background: #b4730b; }
.swipe__act--delete { background: #db1f1f; }
.swipe__content { position: relative; transition: transform .22s ease; will-change: transform; touch-action: pan-y; }
.swipe.is-open .swipe__content { transform: translateX(-168px); }
@media (hover: hover) { .swipe:hover .swipe__content { transform: translateX(-168px); } }

/* owner content thumbnails (resized photos on specialità / dishes / offers) */
.ra-thumb { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; background: var(--tint-bg); border: 1px solid var(--line); }
.ra-thumb--empty { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.ra-thumb--empty i { font-size: 20px; }
/* the thumbnail itself is the upload/replace button in Gestione */
.ra-thumb-btn { display: inline-flex; padding: 0; border: 0; background: none; cursor: pointer; flex: 0 0 auto; -webkit-tap-highlight-color: transparent; }
.ra-thumb-btn .ra-thumb { transition: filter .15s ease; }
@media (hover: hover) { .ra-thumb-btn:hover .ra-thumb { filter: brightness(.88); } }

/* item ② — customer-facing photo thumbnails + tap-to-open card */
.pub-thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: var(--tint-bg); }
.pub-item { cursor: pointer; transition: transform .06s ease; }
.pub-item:active { transform: scale(.99); }
img.offer-card__img { object-fit: cover; }
.notepad__cam { color: var(--c-primary); opacity: .75; vertical-align: middle; }
/* notepad dish with a photo: small thumb on the left, as tall as the dish's rows */
.notepad__dish--photo { display: flex; gap: 10px; align-items: center; }
.notepad__dish--photo .notepad__dish-main { flex: 1 1 auto; min-width: 0; }
.notepad__thumb { width: 46px; height: 46px; flex: 0 0 auto; object-fit: cover; border-radius: 8px; background: var(--tint-bg); }

/* the tap-to-open content card (built in app.js openCard) */
.cardmodal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 20px;
  background: rgba(0, 0, 0, .62); }
.cardmodal__panel { position: relative; width: min(420px, 100%); max-height: 88vh; overflow: auto;
  background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.cardmodal__imgwrap { width: 100%; aspect-ratio: 4 / 3; background: var(--tint-bg); overflow: hidden; border-radius: 18px 18px 0 0; }
.cardmodal__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cardmodal__body { padding: 16px 18px 20px; }
.cardmodal__top { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.cardmodal__name { margin: 0; font-size: 20px; }
.cardmodal__price { font-weight: 800; color: var(--c-primary); white-space: nowrap; }
.cardmodal__desc { margin: 8px 0 0; color: var(--muted); }
.cardmodal__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none; color: var(--muted); cursor: pointer; z-index: 1; line-height: 1; }
.cardmodal__close i { font-size: 22px; display: block; }

/* notepad menu — the à-la-carte courses written on lined paper */
.notepad {
  position: relative;
  margin-top: 4px;
  padding: 22px 20px 30px 44px;
  border-radius: 7px;
  border: 1px solid rgba(53, 49, 43, .13);
  background-color: #f7f2e4;
  background-image: repeating-linear-gradient(#f7f2e4 0 31px, #ccdae6 31px 32px);
  box-shadow: 0 18px 40px -20px rgba(20, 20, 20, .55), 0 1px 0 rgba(0, 0, 0, .05);
  color: #34312b;
  overflow: hidden;
}
.notepad::before { /* the red margin rule */
  content: ''; position: absolute; top: 0; bottom: 0; left: 30px; width: 2px;
  background: rgba(192, 75, 68, .5);
}
.notepad__title {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 42px; line-height: 1; text-align: center; margin-bottom: 6px;
  color: var(--c-primary);
}
.notepad__course { margin-top: 18px; }
.notepad__course:first-of-type { margin-top: 8px; }
.notepad__course-name {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 28px; line-height: 1.1; margin: 0 0 2px;
  color: var(--c-primary);
}
.notepad__dish { margin: 7px 0; }
.notepad__line { display: flex; align-items: baseline; gap: 8px; }
.notepad__dish-name { font-family: 'Caveat', cursive; font-weight: 600; font-size: 23px; line-height: 1.1; }
.notepad__leader { flex: 1 1 auto; border-bottom: 2px dotted rgba(80, 95, 110, .42); transform: translateY(-0.32em); }
.notepad__price { font-family: 'Caveat', cursive; font-weight: 700; font-size: 23px; white-space: nowrap; color: #34312b; }
.notepad__desc { font-family: 'Caveat', cursive; font-weight: 500; font-size: 19px; line-height: 1.05; margin: 1px 0 0; color: #837a69; }

/* Menu style: MODERN — clean, sans-serif, no paper texture */
.notepad--modern { padding: 20px; background-color: var(--surface); background-image: none; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); color: var(--ink); }
/* subtle on-brand glow from the top so Modern doesn't read as empty (falls back to flat surface) */
@supports (background: color-mix(in srgb, red, blue)) {
  .notepad--modern { background-image:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 1px, transparent 1px 13px),
    radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--c-primary) 9%, transparent), transparent 60%); }
}
.notepad--modern::before { display: none; }
.notepad--modern .notepad__title { font-family: var(--font-ui); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.notepad--modern .notepad__course-name { font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-primary); }
.notepad--modern .notepad__dish-name { font-family: var(--font-ui); font-weight: 600; font-size: 16px; }
.notepad--modern .notepad__price { font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--c-primary); }
.notepad--modern .notepad__desc { font-family: var(--font-ui); font-weight: 400; font-size: 13px; color: var(--muted); }
.notepad--modern .notepad__leader { border: 0; }

/* Menu style: ELEGANT — refined serif on ivory */
.notepad--elegant { padding: 26px 28px 30px; background: #faf6ee; background-image: none; border: 1px solid rgba(53, 49, 43, .13); box-shadow: var(--shadow-sm); color: #34312b; }
.notepad--elegant::before { display: none; }
.notepad--elegant .notepad__title { position: relative; padding-bottom: 20px; font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 34px; letter-spacing: .01em; color: var(--c-primary); }
/* elegant separator under the title: a faded hairline with a small diamond on it */
.notepad--elegant .notepad__title::before { content: ''; position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); width: 132px; height: 1px; background: linear-gradient(to right, transparent, rgba(140, 110, 60, .5) 20%, rgba(140, 110, 60, .5) 80%, transparent); }
.notepad--elegant .notepad__title::after { content: ''; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%) rotate(45deg); width: 7px; height: 7px; background: var(--c-primary); }
.notepad--elegant .notepad__course-name { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 24px; letter-spacing: .02em; color: var(--c-primary); }
.notepad--elegant .notepad__dish-name { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 20px; color: #34312b; }
.notepad--elegant .notepad__price { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 20px; color: #34312b; }
.notepad--elegant .notepad__desc { font-family: var(--font-ui); font-style: italic; font-size: 13px; color: #8a8170; }
.notepad--elegant .notepad__leader { border-bottom: 1px dotted rgba(80, 95, 110, .4); transform: translateY(-0.3em); }

/* Menu-style picker: a mini live mockup of each style (Gestione → Menu) */
.mstyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mstyle { display: flex; flex-direction: column; gap: 6px; padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mstyle__prev { position: relative; display: block; height: 66px; padding: 7px 8px; border-radius: 9px; border: 1px solid var(--line); overflow: hidden; }
.mstyle.is-active .mstyle__prev { border-color: transparent; outline: 2px solid var(--c-primary); outline-offset: 1px; }
.mstyle__label { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.mstyle.is-active .mstyle__label { color: var(--c-primary); }
.mstyle__course { display: block; line-height: 1.05; }
.mstyle__dish { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; margin-top: 4px; }
.mstyle__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mstyle__price { white-space: nowrap; }
/* notepad mini: lined cream paper + red margin + handwritten */
.mstyle__prev--notepad { background-color: #f7f2e4; background-image: repeating-linear-gradient(#f7f2e4 0 11px, #ccdae6 11px 12px); }
.mstyle__prev--notepad::before { content: ''; position: absolute; top: 0; bottom: 0; left: 5px; width: 1px; background: rgba(192, 75, 68, .55); }
.mstyle__prev--notepad .mstyle__course { font-family: 'Caveat', cursive; font-weight: 700; font-size: 14px; color: var(--c-primary); padding-left: 4px; }
.mstyle__prev--notepad .mstyle__dish { padding-left: 4px; }
.mstyle__prev--notepad .mstyle__name, .mstyle__prev--notepad .mstyle__price { font-family: 'Caveat', cursive; font-weight: 600; font-size: 12px; color: #34312b; }
/* modern mini: clean dark card + sans */
.mstyle__prev--modern { background-color: var(--surface); background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 1px, transparent 1px 7px); }
.mstyle__prev--modern .mstyle__course { font-family: var(--font-ui); font-weight: 700; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-primary); }
.mstyle__prev--modern .mstyle__name { font-family: var(--font-ui); font-weight: 600; font-size: 10px; color: var(--ink); }
.mstyle__prev--modern .mstyle__price { font-family: var(--font-ui); font-weight: 700; font-size: 10px; color: var(--c-primary); }
/* elegant mini: ivory + serif */
.mstyle__prev--elegant { background: #faf6ee; }
.mstyle__prev--elegant .mstyle__course { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 14px; color: var(--c-primary); }
.mstyle__prev--elegant .mstyle__name, .mstyle__prev--elegant .mstyle__price { font-family: 'Cormorant', Georgia, serif; font-weight: 600; font-size: 12px; color: #34312b; }

/* Condividi share sheet: white QR card + link */
.share-qr { width: 220px; max-width: 72vw; aspect-ratio: 1 / 1; margin: 0 auto; background: #fff; border-radius: 14px; padding: 12px; box-sizing: border-box; }
.share-qr svg { width: 100%; height: 100%; display: block; }
.share-url { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); word-break: break-all; }

/* Menu disponibili — the menu library thumbs (2 per row, card-like) */
.menu-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-thumb { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; justify-content: center; min-height: 74px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-thumb.is-selected { border-color: transparent; outline: 2px solid var(--c-primary); outline-offset: 1px; }
.menu-thumb__act { position: absolute; top: 4px; right: 4px; }
.menu-thumb__name { font-weight: 700; font-size: 15px; color: var(--ink); padding-right: 22px; }
.menu-thumb__meta { font-size: 12px; color: var(--muted); }
.menu-thumb__show { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.menu-thumb__showlbl { font-size: 11.5px; color: var(--muted); }

/* customer Menu page: tabs over the active menus */
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.menu-tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-tab.is-active { background: var(--c-primary); border-color: transparent; color: #fff; }
/* the editor panel below the thumbs mirrors the selected thumb's orange ring (visually linked) */
.menupanel { border: 1.5px solid var(--c-primary); }
/* admin header: "< App"  ·  centered "Osteria del Borgo | Admin"  ·  balance */
.apphead__inner--admin { display: flex; align-items: center; gap: 8px; }
.admin-head__title { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 5px; font-weight: 700; font-size: 15px; color: var(--ink); }
.admin-head__biz { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-head__suffix { flex: none; opacity: .5; font-weight: 600; }
.apphead__bal { flex: 0 0 36px; }
.is-hidden { display: none !important; }
.ge-day { flex: 0 0 82px; font-size: 13px; color: var(--muted); }
.ge-day + .input { flex: 1; width: auto; min-width: 0; }

/* ============================================================================
   Manager app — PIN lock screen (managerApp.js). A clean app-style passcode pad.
   --mgr-accent is set inline from the business brand colour.
   ============================================================================ */
.mgrgate { min-height: 100svh; display: grid; place-items: safe center; padding: 28px 24px; background: var(--tint-bg); overflow-y: auto; }
.mgrgate__card { width: 100%; max-width: 330px; text-align: center; }
.mgrgate__lock { width: 66px; height: 66px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: var(--on-accent, #fff); background: var(--mgr-accent); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.mgrgate__brand { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.mgrgate__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mgr-accent); margin: 3px 0 0; }
.mgrgate__sub { color: var(--muted); font-size: 14.5px; margin: 18px 0 0; }
.mgrgate__dots { display: flex; gap: 15px; justify-content: center; margin: 16px 0 0; }
.mgrdot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--mgr-accent); transition: background .12s ease; }
.mgrdot.is-on { background: var(--mgr-accent); }
.mgrgate__err { color: var(--danger, #c0322b); font-size: 13px; margin: 11px 0 0; min-height: 1.1em; }
.mgrgate__pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 12px auto 0; max-width: 272px; }
.mgrkey { width: 72px; height: 72px; justify-self: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 25px; font-weight: 500; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .1s, transform .05s; }
.mgrkey:active { background: var(--tint-bg); transform: scale(.95); }
.mgrkey--ghost { border: 0; background: none; pointer-events: none; }
.mgrkey--del { font-size: 21px; border: 0; background: none; }
.mgrgate__note { color: var(--muted); font-size: 11.5px; margin: 22px 0 0; line-height: 1.4; }
.mgrgate__link { display: inline-block; margin: 13px 0 0; font-size: 13.5px; color: var(--mgr-accent); text-decoration: none; font-weight: 600; }
.mgrgate .shake { animation: mgrshake .4s ease; }
@keyframes mgrshake { 10%,90%{transform:translateX(-1px)} 20%,80%{transform:translateX(2px)} 30%,50%,70%{transform:translateX(-5px)} 40%,60%{transform:translateX(5px)} }
/* entrance + unlock-spring */
.mgrgate__card { animation: mgrIn .42s ease both; }
@keyframes mgrIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mgrgate.is-unlocked .mgrgate__lock { animation: mgrPop .5s ease; }
@keyframes mgrPop { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }
.mgrgate.is-unlocked .mgrdot { background: var(--success); border-color: var(--success); transition: background .2s, border-color .2s; }
.mgrgate.is-unlocked .mgrgate__card { animation: mgrOut .5s ease forwards; animation-delay: .14s; }
@keyframes mgrOut { to { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  .mgrgate__card, .mgrgate.is-unlocked .mgrgate__lock, .mgrgate.is-unlocked .mgrgate__card { animation: none; }
}

/* Manager login (managerAuth.js) — email/password form + coming-soon social buttons */
.mgrauth { max-width: 340px; }
.mgrauth__form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; text-align: left; }
.mgrauth__form .input { width: 100%; }
.mgrauth__form .mgrgate__err { text-align: center; margin: 2px 0 0; }
.mgrauth__switchtext { font-size: 13.5px; color: var(--muted); margin: 18px 0 8px; text-align: center; }
.mgrauth__switchbtn { margin: 0; }
.mgrauth__or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.mgrauth__or::before, .mgrauth__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mgrauth__social { display: grid; gap: 8px; }
.mgrsocial { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius, 12px); background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: not-allowed; opacity: .72; }
.mgrsocial span { flex: 1; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgrsocial em { flex: none; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--muted); background: var(--tint-bg); padding: 2px 8px; border-radius: 999px; }
.mgrsocial .ti { font-size: 20px; color: var(--ink); }
