/* Lotus — base: colori, caratteri, componenti comuni e creatività */

:root {
  --bg: #f4f3ef;
  --bg-2: #eeede8;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --line: #e7e5df;
  --line-2: #d9d6ce;
  --ink: #16161a;
  --ink-2: #3f3f46;
  --muted: #74737a;
  --faint: #a6a49e;

  --accent: #ff5a36;
  --accent-ink: #d9401f;
  --accent-soft: #ffece6;

  --ok: #1b7f53;
  --ok-soft: #e2f3ea;
  --warn: #a8660b;
  --warn-soft: #fbefd9;
  --info: #2c55c9;
  --info-soft: #e7edfb;
  --danger: #c2332b;
  --danger-soft: #fbe6e4;

  --r-xs: 6px;
  --r-sm: 9px;
  --r: 13px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-1: 0 1px 2px rgba(22, 22, 26, .05);
  --sh-2: 0 1px 2px rgba(22, 22, 26, .04), 0 10px 28px -14px rgba(22, 22, 26, .18);
  --sh-3: 0 2px 6px rgba(22, 22, 26, .06), 0 28px 60px -24px rgba(22, 22, 26, .32);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

.num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* icone */
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 15px; height: 15px; }
.ico.xs { width: 13px; height: 13px; stroke-width: 2; }
.ico.lg { width: 22px; height: 22px; }
.ico.fill { fill: currentColor; stroke: none; }

/* marchio */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -.03em; }
.brand-mark { width: 22px; height: 22px; fill: var(--accent); flex: none; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); position: relative; }
.brand-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: onair 2.8s var(--ease) infinite; }
@keyframes onair { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.9); opacity: 0; } }

/* pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; padding: 0 13px; border-radius: var(--r-sm);
  font-weight: 550; font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
  box-shadow: var(--sh-1);
  transition: background .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:hover { background: var(--surface-2); border-color: #cbc8bf; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2a2a30; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-ink); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ok:hover { background: #156a45; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { background: rgba(22, 22, 26, .05); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn.icon { width: 34px; padding: 0; }
.btn.icon.sm { width: 28px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* etichette */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 550; letter-spacing: -.005em; white-space: nowrap;
  background: var(--bg-2); color: var(--ink-2);
}
.chip .ico { width: 12px; height: 12px; stroke-width: 2.1; }
.chip.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.outline { background: transparent; border: 1px solid var(--line-2); }

.st-idea { background: #efeee9; color: #5c5b61; }
.st-lavorazione { background: var(--info-soft); color: var(--info); }
.st-approvazione { background: var(--warn-soft); color: var(--warn); }
.st-approvato, .st-pronto { background: var(--ok-soft); color: var(--ok); }
.st-pubblicato { background: #1d1d22; color: #f2f1ec; }
.st-modifiche { background: var(--danger-soft); color: var(--danger); }

.avatar {
  --c: #6d6a63;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  font-size: 10.5px; font-weight: 650; letter-spacing: .01em; color: #fff;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--surface);
}
.avatar.sm { width: 21px; height: 21px; font-size: 9px; }
.avatar.lg { width: 36px; height: 36px; font-size: 13px; }
/* le regole dei contenitori (span grigi) non devono toccare le iniziali */
.avatar.avatar { color: #fff; font-size: 10.5px; line-height: 1; }
.avatar.avatar.sm { font-size: 9px; }
.avatar.avatar.lg { font-size: 13px; }
.avatars { display: inline-flex; }
.avatars .avatar + .avatar { margin-left: -6px; }

.cl-dot { width: 8px; height: 8px; border-radius: 3px; flex: none; background: var(--c, #999); }

/* avvisi */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 12px;
  background: #1b1b20; color: #f4f3ef; font-size: 13.5px;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .45);
  animation: toast-in .45s var(--ease-out) both;
}
.toast .ico { color: #8fe3b3; }
.toast.out { animation: toast-out .3s ease both; }
.toast a, .toast button { color: #ffb3a1; font-weight: 600; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ============ CREATIVITÀ ============
   Ogni contenuto è disegnato in HTML: si adatta dalla miniatura del calendario
   alla pagina di approvazione grazie alle unità cqi (container queries). */

.cr {
  container-type: inline-size;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: var(--ar, 4 / 5);
  border-radius: var(--cr-r, 8px);
  background: #ddd;
  color: #fff;
  font-family: var(--font);
  line-height: 1.02;
  user-select: none;
}
.cr img { pointer-events: none; }
.cr-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.cr-shade { position: absolute; inset: 0; z-index: -1; }
.cr-car { position: absolute; left: 50%; transform: translateX(-50%); width: 92%; height: auto; filter: drop-shadow(0 4cqi 3cqi rgba(0, 0, 0, .35)); }
.cr-kicker { font-size: 4.3cqi; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cr-title { font-size: 14cqi; font-weight: 700; letter-spacing: -.045em; line-height: .92; }
.cr-sub { font-size: 4.6cqi; font-weight: 450; line-height: 1.25; opacity: .9; max-width: 88%; }
.cr-logo { height: 5.2cqi; width: auto; align-self: flex-start; }
.cr-pad { position: absolute; inset: 7cqi; display: flex; flex-direction: column; gap: 3cqi; }
.cr-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 3cqi; font-size: 3.4cqi; font-weight: 550; opacity: .92; }
.cr-cta { display: inline-flex; align-items: center; height: 8cqi; padding: 0 4cqi; border-radius: 99px; font-size: 3.6cqi; font-weight: 650; background: #fff; color: #111; }
.l-script { font-family: "Yellowtail", cursive; font-weight: 400; letter-spacing: 0; font-size: 1.12em; margin: 0 -.02em; display: inline-block; transform: translateY(.04em); }

/* Kia / BiAutlet */
.tpl-kia { background: radial-gradient(120% 80% at 70% 18%, #183a52 0%, #0a2030 45%, #05141f 100%); }
.tpl-kia .cr-logo { filter: invert(1); }
.tpl-kia .cr-kicker { color: #9fd4ff; opacity: 1; }
.tpl-kia .cr-car { bottom: 14cqi; }
.tpl-kia .glow { position: absolute; left: 10%; right: 10%; bottom: 13cqi; height: 10cqi; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 190, 255, .35), transparent); z-index: -1; }

/* Toyota */
.tpl-toyota { background: linear-gradient(180deg, #f6f5f2 0%, #e9e7e2 100%); color: #16161a; }
.tpl-toyota .bar { position: absolute; left: 7cqi; top: 7cqi; width: 10cqi; height: 1.4cqi; background: #eb0a1e; border-radius: 2px; }
.tpl-toyota .cr-pad { top: 12cqi; }
.tpl-toyota .cr-kicker { color: #eb0a1e; opacity: 1; }
.tpl-toyota .cr-title { font-size: 11.5cqi; }
.tpl-toyota .cr-car { bottom: 15cqi; }
.tpl-toyota .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .06)); z-index: -1; }

/* Lexus */
.tpl-lexus { background: #111; }
.tpl-lexus .cr-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7) 100%); }
.tpl-lexus .cr-title { font-family: var(--serif); font-weight: 400; font-size: 12cqi; letter-spacing: -.02em; }
.tpl-lexus .cr-kicker { letter-spacing: .3em; font-size: 3.6cqi; }
.tpl-lexus .cr-logo { filter: invert(1); height: 7cqi; }

/* Usato */
.tpl-usato { background: #fff; color: #16161a; }
.tpl-usato .cr-bg { height: 66%; }
.tpl-usato .panel { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; padding: 5.5cqi 7cqi; display: flex; flex-direction: column; gap: 2cqi; background: #fff; }
.tpl-usato .tag { position: absolute; left: 6cqi; top: 6cqi; padding: 2cqi 3.4cqi; border-radius: 2cqi; background: #16161a; color: #fff; font-size: 3.6cqi; font-weight: 650; letter-spacing: .02em; }
.tpl-usato .cr-title { font-size: 7.6cqi; letter-spacing: -.035em; }
.tpl-usato .cr-sub { color: #6b6a70; opacity: 1; font-size: 3.9cqi; }
.tpl-usato .dealer { margin-top: auto; font-size: 3.4cqi; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #e51e26; }

/* Officina */
.tpl-officina { background: #222; }
.tpl-officina .cr-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(10, 10, 10, .78) 100%); }
.tpl-officina .band { display: inline-block; align-self: flex-start; padding: 2cqi 3.4cqi; background: #ffb020; color: #1a1300; font-size: 3.8cqi; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 1.5cqi; }
.tpl-officina .cr-title { font-size: 11cqi; }

/* Cantina (cliente d'esempio) */
.tpl-cantina { background: radial-gradient(90% 70% at 30% 20%, #7a2440 0%, #561730 55%, #3d0f22 100%); color: #f6e9d8; }
.tpl-cantina .cr-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 13cqi; letter-spacing: -.03em; }
.tpl-cantina .cr-kicker { color: #e7c48f; opacity: 1; letter-spacing: .24em; font-size: 3.4cqi; }
.tpl-cantina .grapes { position: absolute; right: -8cqi; bottom: -6cqi; width: 62cqi; height: 62cqi; z-index: -1; opacity: .55;
  background: radial-gradient(circle at 50% 50%, #9c3b5c 0 34%, transparent 35%) 0 0 / 12cqi 12cqi; mask: radial-gradient(closest-side, #000 60%, transparent); -webkit-mask: radial-gradient(closest-side, #000 60%, transparent); }
.tpl-cantina .mark { font-family: var(--serif); font-size: 3.8cqi; letter-spacing: .12em; text-transform: uppercase; color: #e7c48f; }

/* Palestra (cliente d'esempio) */
.tpl-palestra { background: #121212; color: #fff; }
.tpl-palestra .cr-title { font-size: 17cqi; font-weight: 800; letter-spacing: -.06em; text-transform: uppercase; line-height: .86; color: #d4ff3a; }
.tpl-palestra .ring { position: absolute; right: -18cqi; top: -14cqi; width: 70cqi; height: 70cqi; border-radius: 50%; border: 9cqi solid #d4ff3a; opacity: .14; z-index: -1; }
.tpl-palestra .ring.b { right: auto; left: -30cqi; top: auto; bottom: -34cqi; opacity: .08; }
.tpl-palestra .mark { font-size: 3.8cqi; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

/* Attività senza grafica */
.tpl-doc { background: repeating-linear-gradient(0deg, transparent 0 7cqi, rgba(22, 22, 26, .05) 7cqi calc(7cqi + 1px)), #fbfaf7; color: var(--ink); border: 1px solid var(--line); }
.tpl-doc .cr-pad { gap: 3cqi; }
.tpl-doc .ico-wrap { width: 16cqi; height: 16cqi; border-radius: 4cqi; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); }
.tpl-doc .ico-wrap .ico { width: 9cqi; height: 9cqi; }
.tpl-doc .cr-title { font-size: 7.4cqi; letter-spacing: -.03em; font-weight: 650; }
.tpl-doc .ln { height: 2.4cqi; border-radius: 2cqi; background: rgba(22, 22, 26, .09); }

/* forme: quadrata */
.cr.square .cr-car { width: 80%; bottom: 15cqi; }
.cr.square.tpl-toyota .cr-title { font-size: 10cqi; }
.cr.square .cr-title { font-size: 12cqi; }

/* stampa: il manifesto è quasi quadrato, l'auto si fa più piccola */
.frame-print .cr-car { width: 72%; bottom: 11cqi; }
.frame-print .cr-sub { max-width: 64%; }
.frame-print .cr-title { font-size: 13cqi; }

/* forme: orizzontale */
.cr.wide .cr-pad { right: 48%; }
.cr.wide .cr-title { font-size: 9cqi; }
.cr.wide .cr-kicker { font-size: 2.6cqi; }
.cr.wide .cr-sub { font-size: 2.8cqi; }
.cr.wide .cr-logo { height: 3.4cqi; }
.cr.wide .cr-foot { font-size: 2.3cqi; }
.cr.wide .cr-car { left: auto; right: 2%; transform: none; width: 50%; bottom: 10%; }
.cr.wide.tpl-kia .glow { left: 50%; right: 2%; bottom: 8%; }
.cr.wide.tpl-toyota .bar { width: 6cqi; height: 1cqi; top: 5cqi; left: 5cqi; }
.cr.wide.tpl-toyota .cr-pad { top: 9cqi; }
.cr.wide.tpl-palestra .cr-title { font-size: 11cqi; }
.cr.wide.tpl-cantina .cr-title { font-size: 8.5cqi; }
.cr.wide.tpl-lexus .cr-title { font-size: 7.4cqi; }
.cr.wide.tpl-officina .cr-title { font-size: 7cqi; }
.cr.wide .band, .cr.wide .tag { font-size: 2.4cqi; }
.cr.wide .cr-pad { inset: 5cqi 48% 5cqi 5cqi; gap: 1.8cqi; }
.cr.wide.tpl-usato .cr-bg { height: 100%; width: 60%; left: auto; right: 0; }
.cr.wide.tpl-usato .panel { top: 0; right: auto; width: 42%; height: 100%; padding: 5cqi; justify-content: center; }
.cr.wide.tpl-usato .cr-title { font-size: 4.6cqi; }
.cr.wide.tpl-usato .cr-sub { font-size: 2.5cqi; }
.cr.wide.tpl-usato .dealer { font-size: 2.2cqi; margin-top: 3cqi; }
.cr.wide.tpl-lexus .cr-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .2) 55%, transparent 100%); }

/* forme: verticale 9:16 */
.cr.tall .cr-pad { top: 16cqi; }
.cr.tall .cr-title { font-size: 17cqi; }
.cr.tall .cr-car { bottom: 30%; width: 104%; }
.cr.tall.tpl-kia .glow { bottom: 29%; }
.cr.tall.tpl-usato .cr-bg { height: 62%; }
.cr.tall.tpl-usato .panel { height: 38%; }

/* formato: storia / reel */
.fx-story .bars { position: absolute; left: 4cqi; right: 4cqi; top: 4cqi; display: flex; gap: 1.2cqi; z-index: 3; }
.fx-story .bars i { flex: 1; height: .9cqi; min-height: 1px; border-radius: 1cqi; background: rgba(255, 255, 255, .45); }
.fx-story .bars i:first-child { background: #fff; }
.fx-reel .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18cqi; height: 18cqi; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 3; }
.fx-reel .play::after { content: ""; margin-left: 1.4cqi; border-left: 5.4cqi solid #fff; border-top: 3.4cqi solid transparent; border-bottom: 3.4cqi solid transparent; }
.fx-carosello .dots { position: absolute; left: 0; right: 0; bottom: 3.2cqi; display: flex; justify-content: center; gap: 1.4cqi; z-index: 3; }
.fx-carosello .dots i { width: 1.6cqi; height: 1.6cqi; min-width: 2px; min-height: 2px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.fx-carosello .dots i:first-child { background: #fff; }
.fx-carosello .count { position: absolute; right: 4cqi; top: 4cqi; padding: 1.2cqi 2.6cqi; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 3.2cqi; font-weight: 600; z-index: 3; }
.tpl-toyota.fx-carosello .dots i, .tpl-usato.fx-carosello .dots i { background: rgba(0, 0, 0, .2); }
.tpl-toyota.fx-carosello .dots i:first-child, .tpl-usato.fx-carosello .dots i:first-child { background: #111; }
.fx-ads .sponsor { position: absolute; left: 0; right: 0; bottom: 0; height: 12cqi; padding: 0 4cqi; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .96); color: #111; font-size: 3.4cqi; font-weight: 600; z-index: 3; }
.fx-ads .sponsor b { font-weight: 650; }
.fx-ads .sponsor span { padding: 1.4cqi 3cqi; border-radius: 1.6cqi; background: #1877f2; color: #fff; font-size: 3.1cqi; }

/* cornici: newsletter, sito, volantino, evento */
.frame { container-type: inline-size; position: relative; overflow: hidden; border-radius: var(--cr-r, 8px); background: #fff; color: #16161a; border: 1px solid var(--line); aspect-ratio: var(--ar); display: flex; flex-direction: column; user-select: none; }
.frame .cr { --cr-r: 0; aspect-ratio: auto; flex: none; }
.frame-mail { --ar: 3 / 4; background: #f4f3ef; }
.frame-mail .mail { margin: 5cqi; background: #fff; border-radius: 2.4cqi; overflow: hidden; display: flex; flex-direction: column; flex: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.frame-mail .mail-head { display: flex; align-items: center; justify-content: space-between; padding: 3.4cqi 4.4cqi; font-size: 3.2cqi; font-weight: 650; }
.frame-mail .mail-head img { height: 4cqi; width: auto; }
.frame-mail .cr { height: 46%; }
.frame-mail .mail-body { padding: 4.4cqi; display: flex; flex-direction: column; gap: 2.2cqi; }
.frame-mail .mail-body h5 { margin: 0; font-size: 5.4cqi; line-height: 1.08; letter-spacing: -.03em; }
.frame-mail .ln { height: 1.9cqi; border-radius: 2cqi; background: #e6e4de; }
.frame-mail .btnx { align-self: flex-start; margin-top: 1.2cqi; height: 7cqi; padding: 0 4cqi; display: inline-flex; align-items: center; border-radius: 1.6cqi; background: #16161a; color: #fff; font-size: 3cqi; font-weight: 650; }
.frame-web { --ar: 16 / 11; background: #fff; }
.frame-web .chrome { height: 6.5cqi; min-height: 8px; display: flex; align-items: center; gap: 1.2cqi; padding: 0 2.4cqi; background: #efeee9; border-bottom: 1px solid #e3e1da; }
.frame-web .chrome i { width: 1.6cqi; height: 1.6cqi; min-width: 3px; min-height: 3px; border-radius: 50%; background: #d3d0c7; }
.frame-web .chrome u { margin-left: 2cqi; flex: 1; height: 3.4cqi; border-radius: 1.4cqi; background: #fff; text-decoration: none; font-size: 1.9cqi; color: #8b8a86; display: flex; align-items: center; padding: 0 1.6cqi; }
.frame-web .cr { flex: 1; }
.frame-web .webnav { display: flex; align-items: center; gap: 3cqi; padding: 0 4cqi; height: 6cqi; background: #fff; font-size: 1.9cqi; font-weight: 600; color: #444; border-bottom: 1px solid #eee; }
.frame-web .webnav b { margin-right: auto; font-size: 2.3cqi; letter-spacing: -.02em; color: #e51e26; }
.frame-web .webnav span.cta { padding: .9cqi 2cqi; border-radius: 1cqi; background: #05141f; color: #fff; }
.frame-print { --ar: 1 / 1.414; background: #fff; padding: 0; }
.frame-print .cr { height: 72%; }
.frame-print .info { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi 5cqi; padding: 5cqi 6cqi; font-size: 3.1cqi; line-height: 1.3; color: #333; }
.frame-print .info b { display: block; font-size: 2.6cqi; letter-spacing: .12em; text-transform: uppercase; color: #05141f; margin-bottom: .8cqi; }
.frame-print .info .logos { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e8e6e0; padding-top: 3cqi; margin-top: auto; }
.frame-print .info .logos img { height: 4.2cqi; width: auto; }
.frame-print .info .logos span { font-weight: 800; font-size: 3.6cqi; letter-spacing: -.02em; color: #e51e26; }
.frame-event { --ar: 16 / 10; }
.frame-event .cr { height: 100%; }
.frame-event .date { position: absolute; right: 4cqi; top: 4cqi; width: 16cqi; padding: 2cqi 0; border-radius: 2.4cqi; background: #fff; color: #16161a; text-align: center; z-index: 4; box-shadow: 0 2cqi 5cqi rgba(0, 0, 0, .25); }
.frame-event .date b { display: block; font-size: 7cqi; line-height: 1; letter-spacing: -.04em; }
.frame-event .date small { font-size: 2.4cqi; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }

/* campagne nuove: un modello neutro, con il colore del cliente */
.tpl-brand { background: linear-gradient(155deg, color-mix(in srgb, var(--bc, #3f3f46) 86%, #fff) 0%, var(--bc, #3f3f46) 42%, color-mix(in srgb, var(--bc, #3f3f46) 68%, #000) 100%); color: #fff; }
.tpl-brand .arc { position: absolute; right: -24cqi; top: -26cqi; width: 78cqi; height: 78cqi; border-radius: 50%; border: 11cqi solid rgba(255, 255, 255, .1); z-index: -1; }
.tpl-brand .arc.b { right: auto; left: -36cqi; top: auto; bottom: -44cqi; border-color: rgba(0, 0, 0, .1); }
.tpl-brand .mark { font-size: 3.8cqi; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.tpl-brand .cr-title { font-size: 10.5cqi; line-height: .98; letter-spacing: -.04em; overflow-wrap: anywhere; }
.cr.wide.tpl-brand .cr-pad { right: 26%; }
.cr.wide.tpl-brand .cr-title { font-size: 7cqi; }
.cr.wide.tpl-brand .mark { font-size: 2.5cqi; }
.cr.tall.tpl-brand .cr-title { font-size: 13cqi; }

/* affissione: il poster 6×3 sul suo impianto */
.frame-bill { --ar: 31 / 20; background: linear-gradient(180deg, #d6e4ef 0%, #edf2f4 100%); }
.frame-bill .cr { position: absolute; left: 6%; right: 6%; top: 9%; aspect-ratio: 2 / 1; border: .9cqi solid #26262b; border-radius: 1.2cqi; box-shadow: 0 1.6cqi 3.4cqi rgba(22, 22, 26, .2); z-index: 2; }
.frame-bill .leg { position: absolute; top: 50%; bottom: 6%; left: 27%; width: 2.4cqi; min-width: 1px; background: #3b3b42; z-index: 1; }
.frame-bill .leg.b { left: auto; right: 27%; }
.frame-bill .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, #cfd2c4, #e2e1d8); }
.frame-print .info .ln { display: block; height: 2cqi; border-radius: 2cqi; background: #e6e4de; margin-top: 1.4cqi; }
.frame-print .info .ln.s { width: 60%; }

.st-stampa { background: #f1e8fa; color: #7a3fb0; }
.st-standby { background: #eeece8; color: #57534e; box-shadow: inset 0 0 0 1px #d9d6ce; }

/* l'immagine vera caricata al posto del disegno di prova */
.cr-img { background: #f4f3ef; }
.cr-img .cr-bg { object-fit: cover; z-index: 0; }

/* 16/10: quando Lotus non può partire (niente rete, server giù, link sbagliato) */
body.fermo { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 24px 16px; }
.fermo-in { max-width: 420px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.fermo-in .brand-mark { width: 40px; height: 40px; fill: var(--accent); }
.fermo-in h1 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.fermo-in p { color: var(--muted); line-height: 1.5; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: giro .8s linear infinite; flex: none; vertical-align: -2px; }
@keyframes giro { to { transform: rotate(1turn); } }
