/* HotelWiFi console — "Grand hotel" theme: deep navy, champagne gold, warm ivory */
@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bg: #f6f3ec; --bg-2: #efe9dc; --card: #fffdf8; --ink: #161c2d; --muted: #5f6474; --faint: #8f93a0; --line: #e7e0d0; --line-2: #efe9dc;
  --brand: #1c2b4f; --brand-2: #c9a45c; --brand-ink: #fff;
  --gold: #c9a45c; --gold-2: #e8d3a2; --gold-ink: #8a6a2c; --gold-soft: #f6eedb;
  --navy: #0d1730; --navy-2: #16244a;
  --side: #0b1428; --side-ink: #aeb6cb; --side-active: rgba(201,164,92,.13);
  --good: #17734a; --good-bg: #e6f3ea; --bad: #a8321f; --bad-bg: #f9e9e4; --warn: #92600f; --warn-bg: #f8ecd0;
  --s1: #2f5fb3; --s2: #b8842a; --s3: #1f9d74; --s4: #c8553d; --s5: #2a9bb5; --s6: #7d5bc7; --s7: #7c8c2a; --s8: #c95b8a;
  --radius: 16px;
  --shadow: 0 1px 1px rgba(22,28,45,.03), 0 2px 6px rgba(22,28,45,.04), 0 12px 32px -12px rgba(22,28,45,.10);
  --shadow-lg: 0 30px 80px -20px rgba(11,20,40,.45);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: var(--brand); text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
::selection { background: var(--gold-2); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--side) 252px, transparent 252px); }
.side { background: radial-gradient(120% 60% at 0% 0%, #1a2a52 0%, transparent 60%), linear-gradient(180deg, #0e1934, var(--side) 55%);
        color: var(--side-ink); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a3758 transparent;
        border-right: 1px solid rgba(201,164,92,.18); }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font: 600 19px/1.1 var(--serif); letter-spacing: .01em; padding: 2px 8px 18px; text-decoration: none;
         border-bottom: 1px solid rgba(201,164,92,.18); margin-bottom: 16px; }
.brand:hover { color: #fff; }
.brand .mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--navy);
               background: linear-gradient(140deg, #f1dfb4, var(--gold) 55%, #a8813d); box-shadow: 0 6px 18px -6px rgba(201,164,92,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.brand .mark .ic { width: 20px; height: 20px; stroke-width: 2.1; }
.brand small { display: block; font: 600 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.hotel-pick { width: 100%; margin: 0 0 12px; padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(201,164,92,.28); background: rgba(255,255,255,.05); color: #f2ede0; font: inherit; }
.hotel-pick option { color: var(--ink); }
.nav-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); opacity: .85; margin: 20px 12px 8px; font-weight: 600;
         white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: var(--side-ink); text-decoration: none; margin-bottom: 2px; font-weight: 500; font-size: 13.5px;
         position: relative; transition: background .15s, color .15s; }
.nav a .i { width: 20px; display: grid; place-items: center; opacity: .8; }
.nav a .i .ic { width: 18px; height: 18px; }
.nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav a.on { background: var(--side-active); color: #fff; }
.nav a.on .i { color: var(--gold); opacity: 1; }
.nav a.on:before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.side-foot { margin: 22px 8px 4px; padding: 14px; border-radius: 14px; background: linear-gradient(140deg, rgba(201,164,92,.16), rgba(201,164,92,.04)); border: 1px solid rgba(201,164,92,.22);
             font-size: 12px; color: #d8cdb4; }
.side-foot b { display: block; color: #fff; font: 600 14px var(--serif); margin-bottom: 2px; }
.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 14px; padding: 14px 32px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .crumb { margin-right: auto; color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.top .crumb b { color: var(--ink); font: 600 17px var(--serif); }
.top .crumb .hlogo { height: 34px; max-width: 120px; width: auto; object-fit: contain; border-radius: 6px; }
.top .crumb .sep { color: var(--gold); }
.top .who { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 500; }
.top .who small { display: block; color: var(--faint); font-size: 11px; font-weight: 500; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--navy); flex: none; overflow: hidden;
          background: linear-gradient(140deg, #f1dfb4, var(--gold)); box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--gold-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.content { padding: 28px 32px 56px; max-width: 1360px; }
.side-close { display: none; }
.side-backdrop { display: none; }   /* only used by the phone menu; on wide screens it was an empty grid cell that pushed the page down */
.menu-btn { display: none; background: none; border: 0; padding: 4px; color: var(--ink); cursor: pointer; }
.menu-btn:hover { filter: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; background: none; }
  .side { position: fixed; left: -280px; width: 260px; z-index: 20; transition: left .22s; }
  .side.open { left: 0; }
  .side-backdrop { display: none; position: fixed; inset: 0; z-index: 19; background: rgba(11,20,40,.45); }
  .shell:has(.side.open) .side-backdrop { display: block; }
  .side-close { display: block; position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
  .menu-btn { display: block; }
  .content { padding: 18px 16px 40px; }
  .top { padding: 12px 16px; }
  .top .who span:not(.avatar) { display: none; }
}

/* ---------- headings & cards ---------- */
.ph { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; flex-wrap: wrap; }
.ph h1 { font: 600 28px/1.15 var(--serif); letter-spacing: -.01em; margin: 0; margin-right: auto; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.ph h1 a { text-decoration: none; color: inherit; }
.h-ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; color: var(--gold-ink); background: linear-gradient(140deg, #fbf3df, var(--gold-soft));
        border: 1px solid var(--gold-2); box-shadow: inset 0 1px 0 #fff; vertical-align: middle; stroke-width: 1.6; }
.ph .sub { color: var(--muted); font-size: 13.5px; width: 100%; margin-top: -4px; padding-left: 56px; flex-basis: 100%; }
.ph:not(:has(.h-ic)) .sub { padding-left: 0; }
h2 { font: 600 17px/1.3 var(--serif); margin: 0 0 14px; color: var(--ink); letter-spacing: -.005em; }
h3 { font: 600 15px var(--serif); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; border: 1px solid var(--line); }
.card.tight { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-h h2 { margin: 0; margin-right: auto; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.cols { display: grid; gap: 20px; grid-template-columns: 2fr 1fr; }
.cols-2 { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.cols-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .cols, .cols-2, .cols-3 { grid-template-columns: 1fr; } }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 22px; }
.kpi { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 16px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.kpi .lbl { color: var(--muted); font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .1em; }
.kpi .chip { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: var(--gold-ink);
             background: var(--gold-soft) !important; border: 1px solid var(--gold-2); }
.kpi .chip .ic { width: 17px; height: 17px; }
.kpi .val { font-size: 28px; font-weight: 600; letter-spacing: -.025em; margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .val small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.kpi .delta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi.hero { background: radial-gradient(140% 120% at 100% 0%, rgba(201,164,92,.35), transparent 50%), linear-gradient(140deg, var(--navy-2), var(--navy));
            color: #fff; border: 1px solid rgba(201,164,92,.35); box-shadow: 0 18px 40px -18px rgba(11,20,40,.7); }
.kpi.hero:after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(201,164,92,.25);
                  box-shadow: 0 0 0 18px rgba(201,164,92,.05), 0 0 0 40px rgba(201,164,92,.03); }
.kpi.hero .lbl { color: var(--gold-2); }
.kpi.hero .delta { color: #c3c9da; }
.kpi.hero .val small { color: #c3c9da; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.22); display: inline-block; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74,222,128,.06); } }

/* ---------- forms ---------- */
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .01em; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd5c3; border-radius: 11px; font: inherit; background: #fff; color: var(--ink);
                          transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #cfc4ab; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--brand); }
input[type=checkbox] { width: 16px; height: 16px; }
input[type=color] { padding: 3px; height: 40px; }
textarea { min-height: 84px; resize: vertical; }
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--brand); color: var(--brand-ink); border: 1px solid transparent; border-radius: 11px;
  padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; letter-spacing: .005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px -8px color-mix(in srgb, var(--brand) 80%, transparent); transition: transform .08s, filter .15s, box-shadow .15s; }
.btn:hover, button:hover { filter: brightness(1.12); color: var(--brand-ink); }
.btn:active, button:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(140deg, #e4c98e, var(--gold) 60%, #b48c43); color: var(--navy) !important; box-shadow: 0 8px 18px -10px rgba(168,129,61,.9); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid #ddd5c3; font-weight: 500; box-shadow: none; }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: var(--gold); filter: none; }
.btn-red { background: #fff; color: var(--bad) !important; border: 1px solid #ecc9bf; box-shadow: none; font-weight: 500; }
.btn-red:hover { background: var(--bad); color: #fff !important; border-color: var(--bad); filter: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn-xs { padding: 3px 9px; font-size: 12px; border-radius: 8px; }
.inline { display: inline; margin: 0; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink); font-weight: 500; margin: 0; }
.hint { font-size: 12px; color: var(--faint); margin-top: 5px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th { color: var(--faint); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; background: #faf7f0; border-bottom: 1px solid var(--line); }
.card.tight th:first-child, .card.tight td:first-child { padding-left: 22px; }
.card.tight th:last-child, .card.tight td:last-child { padding-right: 22px; }
tbody tr { transition: background .12s; }
tr:hover td { background: #fbf8f1; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- pills & badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: #f0ebdf; color: var(--muted); letter-spacing: .01em; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.gold { background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold-2); }
.m-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink); }
.m-badge i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; border: 1px solid transparent; }
.flash.ok { background: var(--good-bg); color: var(--good); border-color: #c7e5d1; }
.flash.error { background: var(--bad-bg); color: var(--bad); border-color: #f0cfc6; }
.empty { text-align: center; color: var(--faint); padding: 34px 10px; font-style: italic; font-family: var(--serif); }
code, pre { background: #f2ede1; border-radius: 7px; padding: 2px 6px; font-size: 12.5px; color: #3a3524; }
pre { padding: 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; border: 1px solid var(--line); }

/* ---------- charts ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; border-radius: 11px; padding: 9px 12px; font-size: 12px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px));
       opacity: 0; transition: opacity .12s; z-index: 3; box-shadow: 0 10px 30px rgba(11,20,40,.35); border: 1px solid rgba(201,164,92,.35); }
.tip b { display: block; margin-bottom: 4px; color: var(--gold-2); font-weight: 600; }
.tip .r { display: flex; align-items: center; gap: 6px; }
.tip .r i { width: 8px; height: 8px; border-radius: 2px; }
.donut-wrap { display: flex; align-items: center; gap: 22px; }
.donut-wrap .chart { width: 156px; flex: none; }
.donut-legend { display: grid; gap: 9px; font-size: 13px; flex: 1; }
.donut-legend div { display: flex; align-items: center; gap: 9px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; }
.donut-legend b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-list { display: grid; gap: 12px; }
.bar-list .b { display: grid; grid-template-columns: 130px 1fr 56px; gap: 12px; align-items: center; font-size: 13px; }
.bar-list .track { height: 8px; background: #f0ebdf; border-radius: 99px; overflow: hidden; }
.bar-list .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--s1), color-mix(in srgb, var(--s1) 70%, #fff)); }

/* ---------- feeds, cards grids ---------- */
.feed { display: grid; gap: 0; }
.feed .it { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line-2); }
.feed .it:last-child { border-bottom: 0; }
.feed .meta { font-size: 12px; color: var(--faint); }
.feed .grow { flex: 1; min-width: 0; }
.feed .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.dev { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px;
       position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.dev:before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .8; }
.dev:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(22,28,45,.3); }
.dev .top-r { display: flex; align-items: center; gap: 8px; }
.dev .top-r b { margin-right: auto; font-size: 15px; }
.dev .vendor { font: 600 23px/1.2 var(--serif); letter-spacing: -.01em; margin: 6px 0; }
.dev .kv { font-size: 12.5px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #c9c3b4; display: inline-block; }
.dot.on { background: #22a35a; box-shadow: 0 0 0 3px rgba(34,163,90,.18); }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(11,20,40,.55); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 48px 14px; z-index: 30; overflow-y: auto; }
.modal-bg.open { display: flex; }
.modal { background: var(--card); border-radius: 20px; width: 100%; max-width: 660px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.modal-h { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--card)); }
.modal-h h2 { margin: 0; margin-right: auto; font-size: 19px; }
.modal-b { padding: 22px; }
.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.steps .s { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--faint); }
.steps .s i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ece6d8; color: var(--muted); font-style: normal; }
.steps .s.on i { background: var(--brand); color: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-soft); }
.steps .s.on { color: var(--ink); }
.steps .ln { flex: 1; height: 2px; background: #ece6d8; border-radius: 3px; }
.steps .ln.on { background: var(--gold); }
.pick-list { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 13px; margin-top: 8px; }
.pick-list button { display: flex; width: 100%; justify-content: flex-start; gap: 12px; background: var(--card); color: var(--ink); border-radius: 0; border: 0; border-bottom: 1px solid var(--line-2);
                    padding: 12px 16px; font-weight: 500; box-shadow: none; }
.pick-list button:hover, .pick-list button.on { background: var(--gold-soft); filter: none; color: var(--ink); }
.pick-list button small { margin-left: auto; color: var(--faint); font-weight: 500; }

/* ---------- tabs & designer ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -4px 0 18px; overflow-x: auto; }
.tabs button { background: none; color: var(--muted); border-radius: 0; padding: 11px 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
               border: 0; border-bottom: 2px solid transparent; box-shadow: none; }
.tabs button:hover { color: var(--ink); filter: none; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--gold); }
.tab { display: none; }
.tab.on { display: block; }
.designer { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
.phone { position: sticky; top: 84px; width: 360px; height: 720px; border-radius: 48px; background: linear-gradient(140deg, #2b2b30, #0c0c0f); padding: 12px; margin: 0 auto;
         box-shadow: 0 0 0 1.5px #3c3c44, 0 0 0 3px #17171b, 0 40px 70px -20px rgba(11,20,40,.55); }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 37px; background: #fff; }
.phone:before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #0c0c0f; border-radius: 20px; z-index: 2; }
@media (max-width: 1100px) { .designer { grid-template-columns: 1fr; } .phone { position: static; } }
.mlist { display: grid; gap: 8px; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.mrow .nm { flex: 1; font-weight: 600; }
.mrow .st { font-size: 12px; }
.upl { display: flex; align-items: center; gap: 10px; }
.upl .thumb { width: 64px; height: 44px; border-radius: 9px; background: #9aa0ad center/contain no-repeat; border: 1px solid var(--line); flex: none; }

/* ---------- timeline ---------- */
.tl { position: relative; padding-left: 36px; }
.tl:before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-2), var(--line)); }
.tl-it { position: relative; margin-bottom: 14px; }
.tl-it .avatar { position: absolute; left: -38px; top: 12px; width: 32px; height: 32px; box-shadow: 0 0 0 3px var(--bg); }
.tl-day { font: italic 600 14px var(--serif); color: var(--gold-ink); margin: 22px 0 12px -36px; }
.tl-card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tl-card .who { flex: 1; min-width: 200px; }
.tl-card .who b { display: block; }
.tl-card .stat { text-align: center; min-width: 76px; }
.tl-card .stat b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.tl-card .stat span { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- sign-in & standalone screens ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--bg); }
.auth-art { position: relative; overflow: hidden; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between;
            background: radial-gradient(90% 70% at 85% 10%, rgba(201,164,92,.35), transparent 55%), radial-gradient(70% 60% at 0% 100%, #22346a, transparent 60%), linear-gradient(160deg, #13204a, var(--side)); }
.auth-art:before { content: ""; position: absolute; inset: 0; opacity: .5;
                   background-image: linear-gradient(rgba(201,164,92,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(201,164,92,.09) 1px, transparent 1px); background-size: 46px 46px;
                   mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000, transparent); }
.auth-art > * { position: relative; }
.auth-art .brand { border: 0; padding: 0; margin: 0; }
.auth-art h2 { font: 500 44px/1.12 var(--serif); color: #fff; margin: 0 0 18px; letter-spacing: -.015em; max-width: 520px; }
.auth-art h2 em { color: var(--gold-2); }
.auth-art p { color: #c6cbe0; max-width: 460px; font-size: 15px; margin: 0; }
.auth-feats { display: grid; gap: 12px; margin-top: 30px; max-width: 460px; }
.auth-feats div { display: flex; gap: 12px; align-items: center; color: #e2e5ef; font-size: 14px; }
.auth-feats .ic { color: var(--gold); width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(201,164,92,.12); border: 1px solid rgba(201,164,92,.25); }
.auth-art .fine { font-size: 12px; color: #8d95b3; }
.auth-form { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font: 600 32px/1.15 var(--serif); margin: 0 0 6px; letter-spacing: -.01em; }
.auth-card .lead { color: var(--muted); margin: 0 0 28px; }
.auth-card form > div { margin-bottom: 16px; }
.auth-card input { padding: 12px 14px; font-size: 15px; }
.auth-card button { width: 100%; padding: 13px; font-size: 15px; margin-top: 6px; }
.auth-card .flash { margin-bottom: 18px; }
.ornament { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 26px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.ornament:before, .ornament:after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { padding: 28px 24px; min-height: 0; } .auth-art h2 { font-size: 30px; } .auth-feats, .auth-art .fine { display: none; } }

/* ---------- vouchers print ---------- */
.v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-card { border: 1.5px dashed #c9b993; border-radius: 12px; padding: 12px; text-align: center; break-inside: avoid; }
.v-card .code { font: 700 20px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; margin: 6px 0; }
@media print { .no-print { display: none !important; } body { background: #fff; } .v-grid { grid-template-columns: repeat(3, 1fr); } }

.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.theme { display: flex; flex-direction: column; gap: 6px; align-items: stretch; padding: 8px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: center; }
.theme .sw { display: block; height: 54px; border-radius: 9px; }
.theme.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.25); }

/* the brand logo is shown as it is - no round or square frame behind it */
.brand-logo { width: auto; height: 46px; max-width: 64px; object-fit: contain; flex: none; display: block; background: none; border: 0; border-radius: 0; box-shadow: none; }
.auth-art .brand-logo { height: 56px; max-width: 80px; }
