@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1c2230;
  --muted: #6b7385;
  --line: #e3e6ec;
  --line-strong: #cfd4dd;
  --primary: #1f2a44;
  --primary-hover: #2c3a5c;
  --accent: #b08d57;
  --ok: #18794e; --ok-bg: #e5f5ec;
  --warn: #9a6400; --warn-bg: #fdf1dc;
  --danger: #c93a3a; --danger-bg: #fdeaea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 16px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.45; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 650; }
h3 { font-size: 16px; font-weight: 650; }
a { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[v-cloak] { display: none; }

/* ---------- Pulsanti e campi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 550; font-size: 14px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: #f7f8fa; border-color: #b9bfcb; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-hover); }
.btn.danger { color: var(--danger); border-color: #efc4c4; }
.btn.danger:hover { background: var(--danger-bg); }
.btn.danger.solid { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: rgba(0, 0, 0, .05); }
.btn.sm { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { background: rgba(0, 0, 0, .06); color: var(--text); }
.icon-btn.danger:hover { background: var(--danger-bg); color: var(--danger); }
.icon-btn svg { width: 18px; height: 18px; }

input, select, textarea {
  font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 12px; width: 100%; min-height: 40px;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .icon-btn:focus-visible {
  outline: 3px solid rgba(31, 42, 68, .18); outline-offset: 1px; border-color: var(--primary);
}
input[type="color"] { padding: 3px; width: 56px; height: 40px; cursor: pointer; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--primary); }
label { display: block; font-size: 13px; font-weight: 550; color: #3d4556; }
label > input, label > select, label > textarea { margin-top: 6px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-weight: 400; }

/* ---------- Layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: 60px; padding: 0 20px;
  display: flex; align-items: center; gap: 12px; background: var(--primary); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; color: #fff; }
.topbar .spacer { flex: 1; }
.topbar .btn.ghost { color: #fff; }
.topbar .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.conn { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: #fff3; }
.conn.off { background: var(--danger); }

.page { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; }
.page.wide { max-width: 1800px; }
.page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head .grow { flex: 1; min-width: 200px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card.pad { padding: 20px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: 6px; }

/* ---------- Login / installazione ---------- */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #1f2a44 0%, #2d3b5e 100%); }
.card.narrow { width: 100%; max-width: 400px; padding: 32px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.card.narrow h1 { margin-bottom: 6px; }
.alert { padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.alert.error { background: var(--danger-bg); color: var(--danger); }
.alert.success { background: var(--ok-bg); color: var(--ok); }
.login-logo { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.login-logo svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Elenco eventi ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.event-card {
  display: block; text-decoration: none; padding: 20px; border-top: 4px solid var(--c, var(--accent));
  transition: transform .15s, box-shadow .15s; cursor: pointer;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 24, 40, .12); }
.event-card h3 { font-size: 18px; margin-bottom: 8px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13.5px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta svg { width: 14px; height: 14px; }
.event-stats { display: flex; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.event-stats b { display: block; font-size: 20px; }
.event-stats small { color: var(--muted); font-size: 12px; }

/* ---------- Pagina evento ---------- */
.event-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.event-head .title { flex: 1; min-width: 200px; }
.event-head h1 { display: flex; align-items: center; gap: 10px; }
.event-head .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -1px; white-space: nowrap; text-decoration: none;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab .count { background: var(--danger); color: #fff; font-size: 11.5px; padding: 1px 7px; border-radius: 99px; }

/* ---------- Statistiche ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat {
  text-align: left; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.stat:hover { border-color: var(--line-strong); }
.stat.active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.stat b { display: block; font-size: 22px; font-weight: 700; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat.ok b { color: var(--ok); } .stat.warn b { color: var(--warn); } .stat.danger b { color: var(--danger); }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1; min-width: 220px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search input { padding-left: 38px; }

/* ---------- Tabella ospiti ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; }
table.list th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap;
}
table.list td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list tr:hover td { background: #fafbfd; }
table.list tr.declined td { color: var(--muted); }
.g-name { font-weight: 600; }
.g-sub { font-size: 12.5px; color: var(--muted); }
.actions { display: flex; gap: 2px; justify-content: flex-end; }
.center { text-align: center; }

.status-select {
  width: auto; min-height: 32px; height: 32px; padding: 0 28px 0 12px; border-radius: 99px; font-size: 13px;
  font-weight: 600; border-color: transparent; cursor: pointer;
}
.status-select.confermato { background-color: var(--ok-bg); color: var(--ok); }
.status-select.invitato { background-color: var(--warn-bg); color: var(--warn); }
.status-select.rifiutato { background-color: var(--danger-bg); color: var(--danger); }

.switch {
  position: relative; width: 46px; height: 26px; border-radius: 99px; border: 0; background: #d5d9e1; cursor: pointer;
  transition: background .15s; flex: none; padding: 0;
}
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s;
}
.switch.on { background: var(--ok); }
.switch.on::after { transform: translateX(20px); }

.seat-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--line-strong); background: #fff;
  border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--text); white-space: nowrap;
}
.seat-btn:hover { border-color: var(--primary); }
.seat-btn.assigned { border-style: solid; border-color: var(--line); background: #f7f8fa; }
.seat-btn .tnum { background: var(--primary); color: #fff; border-radius: 6px; padding: 1px 7px; font-weight: 700; font-size: 12.5px; }
.seat-btn.todo { color: var(--warn); border-color: #e6c88f; background: var(--warn-bg); font-weight: 600; }

/* Tabella → schede su schermi stretti */
@media (max-width: 760px) {
  table.list thead { display: none; }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  table.list td { padding: 0; border: 0; min-width: 0; }
  table.list td[data-label] { display: flex; align-items: center; gap: 8px; }
  table.list td[data-label]::before { content: attr(data-label); font-size: 12px; color: var(--muted); min-width: 52px; }
  table.list td.col-name, table.list td.col-actions,
  table.list td[data-label="Stato"], table.list td[data-label="Posto"] { grid-column: 1 / -1; }
  table.list td.center { text-align: left; }
  .seat-btn { white-space: normal; text-align: left; max-width: 100%; }
  .actions { justify-content: flex-start; }
}

/* ---------- Modali ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 20, 32, .5); display: grid; place-items: center;
  padding: 16px; animation: fade .15s ease;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px);
  display: flex; flex-direction: column; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); animation: pop .18s ease;
}
.modal.wide { max-width: 680px; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.modal-head h3 { flex: 1; font-size: 18px; }
.modal-body { padding: 4px 20px 20px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal-foot .left { margin-right: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.seat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.seat-pick {
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 8px 6px; min-height: 64px;
  font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.seat-pick b { font-size: 18px; }
.seat-pick small { font-size: 11px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-pick:hover { border-color: var(--primary); background: #f6f8fc; }
.seat-pick.taken { background: #f3f4f6; }
.seat-pick.current { border-color: var(--accent); background: #fbf6ee; box-shadow: inset 0 0 0 1px var(--accent); }
.link-row { display: flex; gap: 8px; margin-top: 12px; }
.logo-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.logo-thumb { flex: none; width: 128px; height: 76px; padding: 8px; border-radius: 10px; background: #0f1115; display: grid; place-items: center; }
.logo-thumb img { display: block; max-width: 100%; max-height: 100%; }
.logo-thumb.light img { background: #fff; padding: 4px; border-radius: 6px; }
.logo-thumb span { color: rgba(255, 255, 255, .55); font-size: 12px; }
.logo-actions { min-width: 0; display: grid; gap: 8px; }
.logo-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-warning { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff6e5; border: 1px solid #f0d9a8; color: #6b4e16; font-size: 13px; line-height: 1.45; }
.qr-warning .small { display: block; margin-top: 4px; color: #8a6a2a; }
.qr-single { display: flex; align-items: center; gap: 16px; }
.qr-single img { width: 132px; height: 132px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.link-row input { font-size: 13px; color: var(--muted); }
.report { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.report div { background: #f7f8fa; border-radius: 10px; padding: 10px; text-align: center; }
.report b { display: block; font-size: 20px; }
.report span { font-size: 12px; color: var(--muted); }
.messages { max-height: 180px; overflow: auto; font-size: 13px; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0; }
.messages li { margin: 3px 0 3px 14px; }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; padding: 0; }
.swatch.sel { box-shadow: 0 0 0 2px var(--primary); }

/* ---------- Toast e dialoghi ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: #1c2230; color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 14px; animation: pop .2s ease; }
.toast.error { background: var(--danger); }

/* ---------- Sala ---------- */
.room { display: grid; grid-template-columns: 270px 1fr; gap: 16px; align-items: start; }
.room-side { position: sticky; top: 76px; display: flex; flex-direction: column; max-height: calc(100vh - 96px); }
.room-side .side-head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.room-side .side-head h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.badge { background: var(--warn-bg); color: var(--warn); font-size: 12px; padding: 2px 8px; border-radius: 99px; font-weight: 700; }
.chips { overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 80px; flex: 1; }
.chip {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: grab; user-select: none; touch-action: pan-y; font-size: 14px; font-weight: 550;
}
.chip:hover { border-color: var(--line-strong); background: #fafbfc; }
.chip.sel { border-color: var(--accent); background: #fbf6ee; box-shadow: inset 0 0 0 1px var(--accent); }
.chip .st { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.chip .st.invitato { background: #e0a43a; }
.chip-empty { padding: 20px 12px; text-align: center; color: var(--muted); font-size: 13.5px; }
.unassigned-zone.drop-on { outline: 3px dashed var(--accent); outline-offset: -6px; }

.room-main { position: relative; }
.room-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.room-bar .grow { flex: 1; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; border: 2px solid #c9ced8; background: #fff; }
.legend i.taken { background: var(--accent); border-color: var(--accent); }
.legend i.pending { background: #f3e3c6; border-color: var(--accent); }
.legend i.present { background: var(--ok); border-color: var(--ok); }
.selection-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fbf6ee;
  border: 1px solid #ead9bd; margin-bottom: 12px; font-size: 14px;
}
.selection-bar .grow { flex: 1; }

.map-card { padding: 10px; overflow: hidden; }
.map { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.map .room-rect { fill: #fbfbfc; stroke: #d9dde5; stroke-width: 2; stroke-dasharray: 10 8; }
.map .tbl-body { fill: #fff; stroke: var(--accent); stroke-width: 3; cursor: move; }
.map .tbl.selected .tbl-body { stroke: var(--primary); stroke-width: 5; }
.map .tbl.dragging { opacity: .85; }
.map text { pointer-events: none; font-family: Inter, system-ui, sans-serif; }
.map .tbl-num { font-size: 30px; font-weight: 700; fill: var(--text); }
.map .tbl-name { font-size: 13px; font-weight: 600; fill: var(--accent); }
.map .tbl-count { font-size: 12px; font-weight: 600; fill: var(--muted); }
.map .seat { cursor: pointer; }
.map .seat circle { fill: #fff; stroke: #c9ced8; stroke-width: 2; transition: fill .15s; }
.map .seat text { font-size: 13px; font-weight: 700; fill: #5b6475; }
.map .seat.taken circle { fill: var(--accent); stroke: var(--accent); }
.map .seat.taken text { fill: #fff; }
.map .seat.pending circle { fill: #f3e3c6; stroke: var(--accent); }
.map .seat.pending text { fill: #7a5a26; }
.map .seat.present circle { fill: var(--ok); stroke: var(--ok); }
.map .seat.present text { fill: #fff; }
.map .seat.target circle { stroke: var(--primary); stroke-width: 3; stroke-dasharray: 4 3; }
.map .seat.mine circle { stroke: var(--primary); stroke-width: 4; }
.map .seat.hover circle { stroke: var(--primary); stroke-width: 4; fill: #e9edf7; }
.map .seat:hover circle { stroke: var(--primary); }

.drag-ghost {
  position: fixed; z-index: 300; pointer-events: none; transform: translate(-50%, -130%);
  background: var(--primary); color: #fff; padding: 7px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); white-space: nowrap;
}

.table-panel { position: absolute; top: 52px; right: 10px; width: 300px; max-height: calc(100% - 62px); overflow-y: auto; z-index: 5; padding: 16px; }
.table-panel .panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.table-panel .panel-head h3 { flex: 1; }
.seat-list { list-style: none; padding: 0; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.seat-list li { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-bottom: 1px solid var(--line); font-size: 14px; min-height: 42px; }
.seat-list li:last-child { border-bottom: 0; }
.seat-list .n { width: 22px; height: 22px; border-radius: 50%; background: #eef0f4; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.seat-list .who { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-list .free { color: var(--muted); font-style: italic; }
.seat-list li.clickable { cursor: pointer; }
.seat-list li.clickable:hover { background: #f6f8fc; }

@media (max-width: 900px) {
  .room { grid-template-columns: 1fr; }
  .room-side { position: static; max-height: 260px; }
  .table-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 70vh; border-radius: 16px 16px 0 0; z-index: 50; }
}

/* ---------- Schermo & QR ---------- */
.share-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.share-grid .stack { display: grid; gap: 16px; }
.preview { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 10px; background: #0f1115; display: block; margin-top: 14px; }
.steps { margin: 12px 0 0; padding-left: 20px; color: #3d4556; font-size: 14px; }
.steps li { margin: 4px 0; }
.card h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.card h2 svg { width: 20px; height: 20px; color: var(--accent); }
@media (max-width: 900px) { .share-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .page { padding: 16px 12px 60px; }
  .topbar { padding: 0 12px; }
  .form .row { grid-template-columns: 1fr; }
  .report { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat { padding: 8px 10px; }
  .stat b { font-size: 18px; }
  .stat span { font-size: 11px; }
  .event-head h1 { font-size: 20px; }
  .toolbar .btn { flex: 1; }
}
