/* ==========================================================================
   NEXIFY STUDIO: staff area (sign-in + dashboard)
   Same identity as the website (palette, Lexend Giga titles, Outfit UI,
   Google Sans Code labels, off-white and hairline pills, the logo slash),
   tuned for daily work: denser, calmer, clearly separate from the public site.
   ========================================================================== */
:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --panel: #0e0e0e;
  --white: #fafafa;
  --ink: #111;
  --offwhite: #f0eeec;
  --grey: #c6c5c5;
  --grey-2: #bdbdbd;
  --grey-dim: #8e8c8a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --err: #e3b4a8;
  --radius: 14px;
  --font-head: "Lexend Giga", "Lexend", system-ui, sans-serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-mono: "Google Sans Code", ui-monospace, Consolas, monospace;
  --font-thin: "Lexend Tera", "Lexend", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(255, 255, 255, 0.06); padding: 0.1em 0.4em; border-radius: 5px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); }

.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.11em; color: #fff; }
.brand svg { width: 1.7rem; height: 1.1rem; overflow: visible; }
.brand line { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.label { display: block; margin: 0; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); }
.label--warn { color: var(--offwhite); }
.t-light { display: block; font-weight: 300; }
.t-bold { display: block; font-weight: 800; }
.ph { font-family: var(--font-mono); font-size: 0.86em; color: var(--grey-dim); border-bottom: 1px dashed rgba(255, 255, 255, 0.2); }
.empty { margin: 0; padding: 2.2rem 0.5rem; text-align: center; color: var(--grey-dim); }

/* pills */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 0.92rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-pill--light { background: var(--offwhite); color: var(--ink); }
.btn-pill--light:hover { background: #fff; }
.btn-pill--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-pill--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn-pill--danger { background: transparent; border-color: rgba(227, 180, 168, 0.5); color: var(--err); }
.btn-pill--danger:hover { border-color: var(--err); background: rgba(227, 180, 168, 0.08); }
.btn-pill--sm { min-height: 2.1rem; padding: 0 0.95rem; font-size: 0.84rem; }
.btn-pill--block { width: 100%; }
.btn-pill:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; display: inline-grid; place-items: center; }
.icon-btn--sm { width: 2rem; height: 2rem; font-size: 0.95rem; }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.icon-btn:hover:not(:disabled) { border-color: #fff; }

/* fields */
.field { display: grid; gap: 0.45rem; margin: 0 0 1.1rem; min-width: 0; border: 0; padding: 0; }
.field > label, .field > legend { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-2); padding: 0; margin-bottom: 0.1rem; }
.field .opt { color: var(--grey-dim); text-transform: none; letter-spacing: 0.02em; }
.field input, .field textarea, .field select, .mini input, .mini select {
  width: 100%; padding: 0.78rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 11px;
  background: rgba(255, 255, 255, 0.02); color: #fff; font-size: 0.97rem; line-height: 1.35;
}
.field select, .mini select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bbb 50%), linear-gradient(135deg, #bbb 50%, transparent 50%); background-position: calc(100% - 1.1rem) 52%, calc(100% - 0.8rem) 52%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.field select option, .mini select option { background: #111; }
.field input:focus, .field textarea:focus, .field select:focus, .mini input:focus, .mini select:focus { outline: none; border-color: var(--offwhite); }
.field textarea { resize: vertical; min-height: 5rem; }
input[type="date"], input[type="time"] { color-scheme: dark; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-ui); font-size: 0.9rem; white-space: nowrap; cursor: pointer; }
.check input { accent-color: #f0eeec; }
.toggle { display: flex; align-items: center; gap: 0.75rem; margin: 0.4rem 0 1.2rem; font-size: 0.95rem; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { position: relative; flex: none; width: 2.6rem; height: 1.5rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); transition: background-color 0.2s; }
.toggle__ui::after { content: ""; position: absolute; top: 0.18rem; left: 0.2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #888; transition: transform 0.2s, background-color 0.2s; }
.toggle input:checked + .toggle__ui { background: var(--offwhite); border-color: var(--offwhite); }
.toggle input:checked + .toggle__ui::after { transform: translateX(1.1rem); background: #111; }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid #fff; outline-offset: 2px; }
.hours-edit { display: grid; gap: 0.4rem; }
.hours-edit__row { display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey-2); text-transform: none !important; letter-spacing: 0 !important; }
.hours-edit__row input { padding: 0.55rem 0.8rem; font-family: var(--font-ui); }
.imgbox { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: center; }
.imgbox img, .imgbox__empty { width: 8rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.imgbox__empty { display: grid; place-items: center; font-size: 0.8rem; color: var(--grey-dim); }
.imgbox__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0.6rem; }
.imgs__item { position: relative; margin: 0; }
.imgs__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.imgs__item .icon-btn { position: absolute; top: 0.3rem; right: 0.3rem; background: rgba(0, 0, 0, 0.7); }
.imgs__add { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 0.85rem; color: var(--grey-2); cursor: pointer; }
.imgs__add:hover { border-color: #fff; color: #fff; }
.form-msg { color: var(--err); font-size: 0.9rem; }

/* ==========================================================================
   Sign-in
   ========================================================================== */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 4vh 1.25rem; position: relative; overflow-x: clip; background: transparent; }  /* let the plate show through */
.auth__plate { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(3, 3, 3, 0.35), rgba(3, 3, 3, 0.85) 70%); }
.auth__giant {
  position: fixed; left: 50%; bottom: -0.18em; transform: translateX(-50%); margin: 0; z-index: -1;
  font-family: var(--font-thin); font-weight: 300; font-size: clamp(9rem, 30vw, 34rem); line-height: 1; letter-spacing: -0.09em;
  color: transparent; background: radial-gradient(ellipse 60% 90% at 50% 0%, #4a4847, #262524 70%); -webkit-background-clip: text; background-clip: text; opacity: 0.75; pointer-events: none;
}
.auth__card {
  width: min(100%, 27rem); padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.82), rgba(8, 8, 8, 0.9));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.auth__card .brand { margin-bottom: 2rem; }
.auth__title { margin: 0.7rem 0 1.8rem; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.06; letter-spacing: -0.1em; }
.auth__msg { margin: 0 0 1rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(227, 180, 168, 0.35); border-radius: 10px; color: var(--err); font-size: 0.9rem; line-height: 1.4; }
.auth__forgot { margin: 1rem 0 0; font-size: 0.84rem; color: var(--grey-dim); text-align: center; }
.auth__backend { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.auth__backend p { margin: 0.6rem 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--grey); }
.auth__backend .btn-pill { margin-top: 1.1rem; }
.auth__back { display: inline-block; margin-top: 1.6rem; font-size: 0.86rem; color: var(--grey-dim); text-decoration: none; }
.auth__back:hover { color: #fff; }

/* ==========================================================================
   Dashboard
   ========================================================================== */
.admin { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); min-height: 100vh; }
.admin.is-locked > * { visibility: hidden; }     /* nothing shows before the session check */
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.6rem 1rem 1.2rem; border-right: 1px solid var(--line);
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 250, 245, 0.05), transparent 70%), var(--bg);
}
.side .brand { padding: 0 0.6rem; margin-bottom: 0.3rem; }
.side__label { padding: 0 0.6rem; margin-bottom: 1.2rem !important; color: var(--grey-dim) !important; }
.side__nav { display: grid; gap: 0.15rem; }
.side__item { display: flex; align-items: center; gap: 0.75rem; padding: 0.68rem 0.75rem; border-radius: 11px; text-decoration: none; color: var(--grey); font-size: 0.95rem; transition: background-color 0.2s, color 0.2s; }
.side__item svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side__item:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.side__item.is-on { color: #fff; background: rgba(240, 238, 236, 0.09); box-shadow: inset 2px 0 0 var(--offwhite); }
.side__badge { margin-left: auto; min-width: 1.4rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--offwhite); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; text-align: center; }
.side__foot { margin-top: auto; display: grid; gap: 0.3rem; padding: 1rem 0.6rem 0; border-top: 1px solid var(--line); }
.side__user { margin: 0 0 0.4rem; font-size: 0.9rem; color: #fff; display: grid; gap: 0.2rem; }
.side__link { justify-self: start; padding: 0.3rem 0; border: 0; background: none; color: var(--grey-dim); text-decoration: none; font-size: 0.88rem; cursor: pointer; }
.side__link:hover { color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; }
.preview-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem;
  padding: 0.7rem 2rem; background: #0d0d0d; border-bottom: 1px solid var(--line-strong);
  color: var(--grey); font-size: 0.86rem; line-height: 1.4;
}
.preview-bar strong { font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--offwhite); padding: 0.2em 0.7em; border: 1px dashed var(--line-strong); border-radius: 999px; }
.topbar { display: flex; align-items: flex-end; gap: 1rem; padding: 2rem 2rem 1.4rem; border-bottom: 1px solid var(--line); }
.topbar__menu { display: none; }
.topbar__title { margin: 0.35rem 0 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.09em; }
.topbar__actions { margin-left: auto; display: flex; gap: 0.6rem; }
.view { padding: 1.8rem 2rem 4rem; outline: none; display: grid; gap: 1.4rem; align-content: start; }
.view__intro { margin: 0; max-width: 46rem; color: var(--grey); font-size: 0.95rem; line-height: 1.5; }

.card { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 1.3rem 1.4rem; min-width: 0; }
.card > p { color: var(--grey); line-height: 1.55; font-size: 0.95rem; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.08em; }
.card--fold { padding: 0; }
.card--fold > summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; margin: 0; }
.card--fold > summary::-webkit-details-marker { display: none; }
.card--fold > summary::after { content: "+"; font-size: 1.3rem; color: var(--grey-2); }
.card--fold[open] > summary::after { content: "–"; }
.card--fold > form { padding: 0 1.4rem 1.3rem; }

.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; }
.kpi { display: grid; gap: 0.35rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; transition: border-color 0.2s; }
.kpi:hover { border-color: var(--line-strong); }
.kpi__n { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.08em; line-height: 1; }
.kpi__sub { font-size: 0.82rem; color: var(--grey-dim); }

.table-wrap { overflow-x: auto; margin: 0 -0.4rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; padding: 0.6rem 0.6rem; font-family: var(--font-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table strong { font-weight: 500; }
.cell-sub { display: block; margin-top: 0.2rem; font-size: 0.8rem; color: var(--grey-dim); max-width: 32rem; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; }

.status { display: inline-block; padding: 0.25em 0.75em; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--grey); }
.status--confirmed, .status--live { background: var(--offwhite); color: var(--ink); border-color: var(--offwhite); }
.status--completed { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.status--cancelled, .status--hidden { color: var(--grey-dim); text-decoration: line-through; }
.status--pending { border-style: dashed; color: #fff; }
.status-select { padding: 0.42rem 1.9rem 0.42rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-strong); background-color: transparent; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 0.95rem) 55%, calc(100% - 0.65rem) 55%; background-size: 0.28rem 0.28rem; background-repeat: no-repeat; }
.status-select option { background: #111; color: #fff; }
.status-select.status--confirmed { background-color: var(--offwhite); color: var(--ink); border-color: var(--offwhite); }
.status-select.status--pending { border-style: dashed; }
.status-select.status--cancelled { color: var(--grey-dim); }

.filters { display: grid; gap: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--grey); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
.chip span { color: var(--grey-dim); }
.chip.is-on { background: var(--offwhite); border-color: var(--offwhite); color: var(--ink); }
.chip.is-on span { color: #555; }
.filters__row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.mini { display: grid; gap: 0.35rem; min-width: 10rem; }
.mini span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); }
.mini--grow { flex: 1; min-width: 14rem; }
.mini input, .mini select { padding: 0.6rem 0.8rem; }

.tiles { display: grid; gap: 1rem; }
.tiles--cards { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.tiles--grid { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.tile__img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; color: var(--grey-dim); font-size: 0.85rem; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiles--cards .tile__img { aspect-ratio: 16 / 11; }
.tile__flag { position: absolute; top: 0.6rem; left: 0.6rem; padding: 0.2em 0.65em; border-radius: 999px; background: rgba(0, 0, 0, 0.75); font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tile__body { padding: 0.95rem 1rem 1rem; display: grid; gap: 0.3rem; }
.tile__title { margin: 0; font-weight: 500; font-size: 1rem; }
.tile__sub { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--grey-dim); }
.tile .row-actions { justify-content: flex-start; }

.grid-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.grid-form .field--wide { grid-column: 1 / -1; }
.grid-form .field--wide2 { grid-column: span 2; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.checklist { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.checklist li { padding-left: 1.6rem; position: relative; color: var(--grey); font-size: 0.92rem; }
.checklist li::before { content: "○"; position: absolute; left: 0; color: var(--grey-dim); }
.checklist li.ok::before { content: "●"; color: var(--offwhite); }
.meta { display: grid; gap: 0.6rem; margin: 0 0 1.4rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.meta div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.8rem; font-size: 0.9rem; }
.meta dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); padding-top: 0.2em; }
.meta dd { margin: 0; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 34rem); display: flex; flex-direction: column; background: #0b0b0b; border-left: 1px solid var(--line-strong); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.08em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.4rem 1.5rem; }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
.drawer__right { display: flex; gap: 0.6rem; }
.has-drawer { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 60; padding: 0.8rem 1.3rem; border-radius: 999px; background: var(--offwhite); color: var(--ink); font-size: 0.9rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.toast.is-bad { background: #2a1c19; color: var(--err); border: 1px solid rgba(227, 180, 168, 0.4); }

@media (max-width: 1200px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .admin { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 40; width: 16.5rem; transform: translateX(-100%); transition: transform 0.25s; }
  .side-open .side { transform: none; box-shadow: 30px 0 80px rgba(0, 0, 0, 0.6); }
  .topbar { padding: 1.4rem 1.2rem 1.1rem; flex-wrap: wrap; }
  .topbar__menu { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; }
  .topbar__actions { margin-left: 0; width: 100%; }
  .view { padding: 1.2rem 1.2rem 3rem; }
  .preview-bar { padding: 0.6rem 1.2rem; }
  .grid-form { grid-template-columns: minmax(0, 1fr); }
  .grid-form .field--wide2 { grid-column: auto; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
