/* ═══════════════════════════════════════════════════════════
   STUDIO — design system
   Brandizzabile via CSS vars (--accent, --brand impostate dal profilo)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --accent: #4f46e5;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, white);
  --accent-dark: color-mix(in srgb, var(--accent) 82%, black);
  --brand: #101828;

  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --border: #e7eaee;
  --border-2: #d5dae1;
  --text: #101828;
  --text-2: #475467;
  --text-3: #98a2b3;
  --side-bg: #0d1220;
  --side-text: #a8b0c2;
  --ok: #12b76a;  --ok-bg: #e7f8f0;
  --warn: #f79009; --warn-bg: #fef4e6;
  --err: #f04438;  --err-bg: #feeceb;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --sh-sm: 0 1px 2px rgba(16,24,40,.05);
  --sh-md: 0 1px 2px rgba(16,24,40,.05), 0 4px 16px rgba(16,24,40,.06);
  --sh-lg: 0 8px 40px rgba(16,24,40,.14);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

[x-cloak] { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
       font-size: 14px; line-height: 1.55; }
h1,h2,h3,h4 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 15px; height: 15px; }
.icon.lg { width: 22px; height: 22px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 12.5px; }

/* ── Login ─────────────────────────────────────────────────── */
.login-wrap { min-height: 100vh; display: grid; place-items: center; position: relative;
  background: #0b0f1c; overflow: hidden; }
.login-wrap::before, .login-wrap::after { content: ''; position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: .5; }
.login-wrap::before { width: 520px; height: 520px; background: var(--accent);
  top: -140px; right: -80px; }
.login-wrap::after { width: 420px; height: 420px; background: #1d4ed8;
  bottom: -160px; left: -60px; opacity: .35; }
.login-card { position: relative; z-index: 1; width: 400px; max-width: calc(100vw - 40px);
  background: rgba(255,255,255,.98); border-radius: 24px; padding: 44px 40px 36px;
  box-shadow: var(--sh-lg); text-align: center; }
.login-mark { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff; font-size: 25px; font-weight: 800;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.login-card h1 { font-size: 22px; font-weight: 800; }
.login-card .sub { color: var(--text-2); margin: 6px 0 26px; }
.login-card input { width: 100%; text-align: center; font-size: 15px; height: 46px; }
.login-card .btn { width: 100%; height: 46px; font-size: 15px; margin-top: 12px; }
.login-foot { margin-top: 22px; font-size: 12px; color: var(--text-3); }

/* ── Layout ────────────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }

.sidebar { background: var(--side-bg); padding: 22px 14px 16px; display: flex;
  flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 2px 10px 18px;
  color: #fff; }
.side-brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover;
  background: #fff; }
.side-logo { width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; }
.side-brand strong { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
  line-height: 1.25; }
.side-brand .faint { font-size: 11px; color: var(--side-text); font-weight: 500; }
.side-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: #5b6478; padding: 16px 12px 6px; }
.step-link { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: none; border: 0; color: var(--side-text); padding: 9.5px 12px;
  border-radius: 9px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s; }
.step-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.step-link.active { background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.step-link .icon { width: 17px; height: 17px; opacity: .9; }
.step-check { margin-left: auto; width: 15px; height: 15px; color: #34d399; }
.step-link.active .step-check { color: #fff; }
.side-foot { margin-top: auto; padding: 10px 6px 0; display: flex; flex-direction: column;
  gap: 8px; }
.demo-note { font-size: 11px; color: #7c86a0; line-height: 1.45; padding: 0 6px; }

/* ── Main / topbar ─────────────────────────────────────────── */
.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 15px 36px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar h2 { font-size: 16.5px; font-weight: 700; }
.topbar .crumb { color: var(--text-3); font-weight: 500; }
.content { padding: 28px 36px 60px; max-width: 1240px; }
section h2.title { font-size: 21px; font-weight: 800; margin-bottom: 3px; }
.lead { color: var(--text-2); margin-bottom: 22px; max-width: 680px; }
.fade-in { animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ── Cards, forms ──────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.card + .card { margin-top: 16px; }
.card h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; display: flex;
  align-items: center; gap: 8px; }
.card h3 .icon { color: var(--accent); }
.card .hint { color: var(--text-3); font-size: 12.5px; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px; align-items: start; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px;
  align-items: start; }

label { display: block; font-size: 12.5px; font-weight: 600; margin: 13px 0 5px;
  color: var(--text-2); }
label:first-of-type { margin-top: 0; }
input, textarea, select { width: 100%; padding: 9px 13px; border: 1px solid var(--border-2);
  border-radius: 10px; font: inherit; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
textarea { resize: vertical; }
.input-row { display: flex; gap: 10px; }
.input-row > * { flex: 1; }

.color-field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-2);
  border-radius: 10px; padding: 5px 10px 5px 5px; background: #fff; }
.color-field input[type=color] { width: 34px; height: 30px; padding: 0; border: 0;
  border-radius: 7px; background: none; cursor: pointer; flex: none; }
.color-field input[type=text] { border: 0; padding: 0; font-size: 13px; box-shadow: none;
  font-family: ui-monospace, monospace; }
.color-field input[type=text]:focus { box-shadow: none; }

/* ── Buttons, pills, chips ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border-2); background: #fff; color: var(--text);
  padding: 9px 16px; border-radius: 10px; font: inherit; font-size: 13.5px;
  font-weight: 600; cursor: pointer; transition: all .15s; white-space: nowrap; }
.btn:hover { border-color: var(--text-3); background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.1), 0 4px 12px color-mix(in srgb, var(--accent) 26%, transparent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.primary:disabled { opacity: .55; cursor: default; box-shadow: none; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn.danger { color: var(--err); }
.btn .icon { width: 16px; height: 16px; }
.actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--surface-2);
  color: var(--text-2); border: 1px solid var(--border); }
.pill.ok { background: var(--ok-bg); color: #067647; border-color: #abefc6; }
.pill.warn { background: var(--warn-bg); color: #b54708; border-color: #fedf89; }
.pill.err { background: var(--err-bg); color: #b42318; border-color: #fecdca; }
.pill.accent { background: var(--accent-soft); color: var(--accent-dark);
  border-color: color-mix(in srgb, var(--accent) 25%, white); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px;
  font-size: 12.5px; font-weight: 500; cursor: pointer; transition: all .13s; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark);
  background: var(--accent-soft); }
.chip button { border: 0; background: none; cursor: pointer; padding: 0; display: flex;
  color: var(--text-3); }

/* ── Cambia sfondo · descrizione a parole ──────────────────── */
.sh-desc { width: 100%; resize: vertical; min-height: 74px; line-height: 1.45;
  padding: 12px 14px; border: 1.6px solid var(--border); border-radius: var(--r-md);
  font: inherit; font-size: 14px; background: var(--surface); color: var(--text-1); }
.sh-desc:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); }
.sh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; }
.sh-lbl { font-size: 12px; font-weight: 600; color: var(--text-2); margin-right: 2px; }
.chip.saved { padding-right: 6px; }
.chip.saved > button:first-child { color: var(--text-1); font-weight: 500; }
.chip.saved .x { font-size: 15px; line-height: 1; color: var(--text-3);
  padding: 0 2px; border-radius: 50%; }
.chip.saved .x:hover { color: #dc2626; }
.sh-adv { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.sh-adv summary { cursor: pointer; font-size: 12.5px; color: var(--text-2);
  font-weight: 500; list-style: none; }
.sh-adv summary::-webkit-details-marker { display: none; }
.sh-adv summary:hover { color: var(--accent-dark); }
.sh-bg-up { margin-top: 10px; border: 1.6px dashed var(--border); border-radius: var(--r-md);
  padding: 14px; text-align: center; cursor: pointer; transition: border-color .13s; }
.sh-bg-up:hover { border-color: var(--accent); }
.sh-bg-up input[type=file] { display: none; }
.sh-bg-prev { max-height: 120px; border-radius: var(--r-sm); display: block; margin: 0 auto; }

/* ── Dashboard ─────────────────────────────────────────────── */
.hello { display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.hello h2 { font-size: 24px; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-sm); }
.stat .icon-wrap { width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark); display: grid;
  place-items: center; margin-bottom: 12px; }
.stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: var(--text-2); font-weight: 500; }

.checklist { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 10px 10px;
  border-radius: 10px; cursor: pointer; transition: background .13s; }
.check-item:hover { background: var(--surface-2); }
.check-ico { width: 26px; height: 26px; border-radius: 50%; border: 1.6px solid var(--border-2);
  display: grid; place-items: center; color: transparent; flex: none; transition: all .15s; }
.check-item.done .check-ico { background: var(--ok); border-color: var(--ok); color: #fff; }
.check-item.done span { color: var(--text-3); text-decoration: line-through; }
.check-item .icon.sm { margin-left: auto; color: var(--text-3); }
.progress-track { height: 7px; background: var(--surface-2); border-radius: 99px;
  overflow: hidden; margin: 10px 0 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 99px; transition: width .4s ease; }

/* ── Gallery / thumbs ──────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 13px; margin-top: 16px; }
.thumb { position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm);
  transition: box-shadow .15s, transform .15s; }
.thumb:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.thumb img, .thumb video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.thumb-bar { display: flex; align-items: center; gap: 6px; padding: 7px 9px; }
.thumb-bar .name { font-size: 11.5px; color: var(--text-2); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 4px; border-radius: 7px;
  color: var(--text-3); display: flex; transition: all .12s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.star.on { color: #f59e0b; }
.primary-badge { position: absolute; top: 8px; left: 8px; }

/* ── Dropzone ──────────────────────────────────────────────── */
.dropzone { border: 1.8px dashed var(--border-2); border-radius: var(--r-lg);
  padding: 36px 20px; text-align: center; color: var(--text-2); cursor: pointer;
  transition: all .15s; background: var(--surface); }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 8px; }
.dropzone b { display: block; font-size: 14px; color: var(--text); }
.dropzone input { display: none; }

/* ── Avatar style cards ────────────────────────────────────── */
.style-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; }
.style-card { border: 1.6px solid var(--border); border-radius: var(--r-md); padding: 0;
  overflow: hidden; cursor: pointer; background: var(--surface); text-align: center;
  transition: all .14s; }
.style-card .swatch { height: 64px; display: grid; place-items: center; font-size: 26px; }
.style-card span { display: block; padding: 8px 6px; font-size: 12px; font-weight: 600; }
.style-card.on { border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }

/* ── Ricerca ───────────────────────────────────────────────── */
.brief { background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px; margin-top: 12px; font-size: 13.5px; }
.brief .b-h { font-weight: 700; margin: 12px 0 4px; font-size: 13.5px; }
.brief .b-h:first-child { margin-top: 0; }
.brief .b-li { display: flex; gap: 8px; padding: 2px 0; }
.brief .b-li::before { content: '•'; color: var(--accent); font-weight: 700; }
.src-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.src-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.src-item .fav { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2);
  border: 1px solid var(--border); display: grid; place-items: center; flex: none;
  color: var(--text-3); }

/* ── Format picker ─────────────────────────────────────────── */
.fmt-group { margin: 18px 0 6px; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); }
.format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; }
.format-card { position: relative; border: 1.6px solid var(--border);
  border-radius: var(--r-md); padding: 13px 13px 11px; cursor: pointer;
  background: var(--surface); transition: all .14s; }
.format-card:hover { border-color: var(--border-2); box-shadow: var(--sh-md); }
.format-card.on { border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.format-card input { display: none; }
.fmt-top { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 9px; }
.fmt-ico { width: 32px; height: 32px; border-radius: 9px; display: grid;
  place-items: center; color: #fff; }
.fmt-ratio { border: 1.4px solid var(--border-2); border-radius: 3px; opacity: .8; }
.format-card b { font-size: 13px; display: block; }
.format-card small { color: var(--text-3); font-size: 11.5px; }
.fmt-check { position: absolute; top: 9px; right: 9px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent); color: #fff; display: none;
  place-items: center; }
.format-card.on .fmt-check { display: grid; }
.format-card.on .fmt-ratio { display: none; }

/* ── Generazione overlay ───────────────────────────────────── */
.gen-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(13,18,32,.55);
  backdrop-filter: blur(4px); display: grid; place-items: center; }
.gen-card { background: #fff; border-radius: 20px; padding: 34px 38px; width: 430px;
  max-width: calc(100vw - 40px); box-shadow: var(--sh-lg); text-align: center; }
.spinner { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%;
  border: 3.5px solid var(--accent-soft); border-top-color: var(--accent);
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-card b { font-size: 16px; }
.gen-card .prog { color: var(--text-2); margin-top: 8px; min-height: 20px; }

/* ═══ ANTEPRIME SOCIAL REALISTICHE ═══════════════════════════ */
.preview-zone { background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; display: grid; place-items: center; }

/* Instagram post */
.ig-post { width: 340px; max-width: 100%; background: #fff; border: 1px solid #dbdbdb;
  border-radius: 14px; overflow: hidden; font-size: 13px; box-shadow: var(--sh-md); }
.ig-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.ig-ava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  outline: 2px solid #fff; box-shadow: 0 0 0 3.5px conic-gradient(red, purple); }
.ig-head b { font-size: 12.5px; }
.ig-head .dots { margin-left: auto; color: #262626; letter-spacing: 1.5px;
  font-weight: 700; }
.ig-media { width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: var(--surface-2); }
.ig-actions { display: flex; align-items: center; gap: 14px; padding: 9px 12px 4px; }
.ig-actions .icon { width: 22px; height: 22px; color: #262626; }
.ig-actions .save { margin-left: auto; }
.ig-likes { padding: 0 12px; font-weight: 600; font-size: 12.5px; }
.ig-cap { padding: 3px 12px 0; margin-bottom: 6px; font-size: 12.5px; line-height: 1.45; color: #262626;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; }
.ig-cap b { margin-right: 5px; }
.ig-time { padding: 0 12px 12px; font-size: 10px; color: #8e8e8e;
  text-transform: uppercase; letter-spacing: .03em; }

/* Carosello dentro il frame IG */
.carousel-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; }
.carousel-scroll::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 100%; aspect-ratio: 1; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center; padding: 26px;
  text-align: left; }
.slide .s-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.slide .s-title { font-size: 19px; font-weight: 800; line-height: 1.22;
  letter-spacing: -.02em; margin-bottom: 8px; }
.slide .s-body { font-size: 12.5px; line-height: 1.5; opacity: .92; }
.slide .s-num { position: absolute; top: 14px; right: 16px; font-size: 10.5px;
  font-weight: 700; opacity: .55; }
.slide { position: relative; }
.slide.t-cover { color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--accent)); }
.slide.t-cover .s-title { font-size: 24px; }
.slide.t-content { background: #fff; color: var(--text);
  border-top: 5px solid var(--accent); }
.slide.t-stat { background: var(--brand); color: #fff; }
.slide.t-stat .s-title { font-size: 30px; color: var(--accent);
  filter: brightness(1.35); }
.slide.t-quote { background: #fff; color: var(--text); font-style: italic; }
.slide.t-quote::before { content: '“'; position: absolute; top: 4px; left: 18px;
  font-size: 64px; color: var(--accent); opacity: .3; font-style: normal; }
.slide.t-recap { background: var(--surface-2); color: var(--text); }
.slide.t-cta { color: #fff; text-align: center; align-items: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark)); }
.slide.t-cta .s-btn { margin-top: 14px; background: #fff; color: var(--accent-dark);
  padding: 8px 20px; border-radius: 99px; font-weight: 700; font-size: 12.5px; }
.car-dots { display: flex; gap: 4px; justify-content: center; padding: 8px 0 2px; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; }
.car-dots i.on { background: var(--accent); }

/* Frame verticale 9:16 (story / reel / tiktok / short) */
.vert-frame { width: 240px; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden;
  position: relative; background: linear-gradient(160deg, #1a1f35, #0d1220);
  color: #fff; box-shadow: var(--sh-md); }
.vert-frame > img, .vert-frame > video { position: absolute; inset: 0; width: 100%;
  height: 100%; object-fit: cover; }
.vert-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 25%, transparent 55%, rgba(0,0,0,.55) 100%); }
.story-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex;
  gap: 4px; }
.story-bars i { flex: 1; height: 2.5px; border-radius: 99px; background: rgba(255,255,255,.35); }
.story-bars i.on { background: #fff; }
.vert-head { position: absolute; top: 20px; left: 12px; display: flex; align-items: center;
  gap: 8px; font-size: 12px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.vert-head .ig-ava { width: 26px; height: 26px; font-size: 11px; box-shadow: none;
  outline: 1.5px solid rgba(255,255,255,.8); }
.vert-rail { position: absolute; right: 10px; bottom: 78px; display: flex;
  flex-direction: column; gap: 15px; align-items: center; }
.vert-rail .r-item { display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vert-rail .icon { width: 25px; height: 25px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.vert-cap { position: absolute; left: 12px; right: 52px; bottom: 40px; font-size: 11.5px;
  line-height: 1.45; text-shadow: 0 1px 4px rgba(0,0,0,.5); display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vert-cap b { display: block; margin-bottom: 3px; }
.vert-music { position: absolute; left: 12px; bottom: 16px; display: flex;
  align-items: center; gap: 6px; font-size: 10.5px; opacity: .95;
  text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vert-story-cta { position: absolute; left: 40px; right: 40px; bottom: 14px;
  border: 1.3px solid rgba(255,255,255,.85); border-radius: 99px; text-align: center;
  padding: 7px 0; font-size: 11.5px; font-weight: 600; backdrop-filter: blur(2px); }
.vert-center { position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; padding: 26px 52px 26px 26px; }
.vert-center .board { font-size: 12px; line-height: 1.5; opacity: .95; }
.vert-center .board b { display: block; font-size: 13.5px; margin-bottom: 8px; }
.play-badge { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.22);
  backdrop-filter: blur(3px); display: grid; place-items: center; margin: 0 auto 12px;
  border: 1.4px solid rgba(255,255,255,.5); }

/* LinkedIn / Facebook card */
.li-post { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--sh-md); font-size: 13px; }
.li-head { display: flex; gap: 10px; padding: 13px 14px 10px; }
.li-ava { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.li-ava.round { border-radius: 50%; }
.li-head b { font-size: 13.5px; display: block; }
.li-head .sub { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }
.li-text { padding: 0 14px; margin-bottom: 10px; font-size: 13px; line-height: 1.5; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden; }
.li-media { width: 100%; aspect-ratio: 1.91; object-fit: cover; display: block;
  background: var(--surface-2); }
.li-stats { display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  font-size: 11.5px; color: var(--text-3); border-bottom: 1px solid var(--border); }
.li-reactions { display: flex; }
.li-reactions i { width: 16px; height: 16px; border-radius: 50%; display: grid;
  place-items: center; font-size: 9px; margin-left: -4px; border: 1.5px solid #fff; }
.li-actions { display: flex; }
.li-actions span { flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 0; font-size: 12px; font-weight: 600; color: var(--text-2); }
.li-actions .icon { width: 16px; height: 16px; }

/* Blog / SERP */
.blog-prev { max-width: 560px; }
.serp { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px;
  background: #fff; margin-bottom: 14px; }
.serp .s-url { font-size: 12px; color: #006621; display: flex; align-items: center; gap: 6px; }
.serp .s-title { color: #1a0dab; font-size: 17px; font-weight: 500; margin: 3px 0;
  line-height: 1.3; }
.serp .s-desc { font-size: 12.5px; color: #4d5156; line-height: 1.5; }
.article-body { background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 22px; max-height: 320px; overflow: auto;
  font-size: 13px; line-height: 1.65; white-space: pre-line; }

/* ── Review layout ─────────────────────────────────────────── */
.content-item { margin-bottom: 22px; }
.content-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.content-head h3 { font-size: 16px; font-weight: 700; flex: 1; }
.format-block { border-top: 1px solid var(--border); padding: 18px 0 6px; margin-top: 14px; }
.format-block:first-of-type { border-top: 0; margin-top: 6px; }
.fb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.fb-head .fmt-ico { width: 28px; height: 28px; border-radius: 8px; }
.fb-head b { font-size: 14px; }
.fb-grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 20px; align-items: start; }
.edit-label { font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.fb-edit textarea { font-size: 13px; }
.fb-edit details { margin-top: 10px; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; background: var(--surface-2); font-size: 13px; }
.fb-edit summary { cursor: pointer; font-weight: 600; color: var(--text-2);
  font-size: 12.5px; }
.slide-edit { display: grid; grid-template-columns: 90px 1fr; gap: 8px; margin-top: 10px;
  align-items: start; }
.slide-edit .tag { font-size: 11px; font-weight: 700; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 7px; padding: 5px 8px; text-align: center;
  text-transform: uppercase; }
.pub-status { display: flex; align-items: center; gap: 10px; margin-top: 12px; }

/* ── Publish modal ─────────────────────────────────────────── */
.modal-wrap { position: fixed; inset: 0; z-index: 95; background: rgba(13,18,32,.5);
  backdrop-filter: blur(3px); display: grid; place-items: center; }
.modal { background: #fff; border-radius: 18px; width: 440px; max-width: calc(100vw - 40px);
  box-shadow: var(--sh-lg); padding: 26px 26px 22px; }
.modal h3 { font-size: 16.5px; margin-bottom: 4px; }
.radio-row { display: flex; gap: 10px; margin: 14px 0; }
.radio-card { flex: 1; border: 1.6px solid var(--border); border-radius: 12px;
  padding: 12px; cursor: pointer; text-align: center; font-weight: 600; font-size: 13px;
  transition: all .13s; }
.radio-card.on { border-color: var(--accent); background: var(--accent-soft);
  color: var(--accent-dark); }
.modal .actions { justify-content: flex-end; }

/* ── Toasts ────────────────────────────────────────────────── */
.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 99; display: flex;
  flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: flex-start; gap: 10px; background: #101828;
  color: #fff; border-radius: 12px; padding: 13px 16px; width: 340px;
  box-shadow: var(--sh-lg); animation: slideIn .25s ease; font-size: 13px; }
.toast .icon { margin-top: 1px; }
.toast.ok .icon { color: #34d399; }
.toast.err .icon { color: #f87171; }
.toast.warn .icon { color: #fbbf24; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }

/* ── Empty state ───────────────────────────────────────────── */
.empty { text-align: center; padding: 48px 20px; color: var(--text-2); }
.empty .e-ico { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 18px;
  background: var(--accent-soft); color: var(--accent-dark); display: grid;
  place-items: center; }
.empty b { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }

/* ── Timeline pubblicazioni ────────────────────────────────── */
.pub-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px;
  border-bottom: 1px solid var(--border); font-size: 13px; }
.pub-row:last-child { border-bottom: 0; }

/* ═══ FILM MANIFESTO ═════════════════════════════════════════ */
.tag-new { margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 7px;
  border-radius: 99px; }
.film-how .how-list { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--text-2); }
.film-how .how-list li { margin-bottom: 7px; }
.film-how .how-list b { color: var(--text); font-weight: 600; }

.film-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.film-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; box-shadow: var(--sh-sm); transition: all .15s; }
.film-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.film-thumb { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff;
  background-size: cover; background-position: center; position: relative; }
.film-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.film-thumb .icon { position: relative; z-index: 1; width: 30px; height: 30px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.film-meta { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.film-meta b { font-size: 14px; }
.film-meta .pill { align-self: flex-start; margin-top: 4px; }

.film-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }

.film-hero { border-radius: var(--r-xl); padding: 40px; color: #fff; margin-bottom: 22px;
  position: relative; overflow: hidden; box-shadow: var(--sh-md); }
.film-hero::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.14), transparent 55%); }
.film-hero-in { position: relative; z-index: 1; max-width: 640px; }
.film-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; opacity: .7; }
.film-hero h2 { font-size: 32px; font-weight: 800; margin: 8px 0 10px; letter-spacing: -.03em; }
.film-logline { font-size: 15px; line-height: 1.5; opacity: .9; }
.film-durs { display: flex; gap: 8px; margin-top: 18px; }
.dur-pill { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.dur-pill.hero { background: #fff; color: var(--brand); border-color: #fff; }

.beat-timeline { display: flex; flex-direction: column; gap: 14px; }
.beat { display: grid; grid-template-columns: 64px 260px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--sh-sm); }
.beat-time { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; }
.beat-time .tc { font-size: 12px; font-weight: 700; font-family: ui-monospace, monospace; }
.beat-time .tc-bar { width: 2px; flex: 1; min-height: 40px; background: var(--border-2);
  border-radius: 2px; }
.beat-board { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.beat-board img, .beat-board video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }
.beat-board::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6)); }
.beat-n { position: absolute; top: 8px; left: 9px; z-index: 2; font-size: 11px; font-weight: 700;
  background: rgba(0,0,0,.5); padding: 2px 7px; border-radius: 99px; backdrop-filter: blur(2px); }
.beat-scene { position: relative; z-index: 2; font-weight: 700; font-size: 13px;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.beat-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.beat-play .icon { width: 34px; height: 34px; background: rgba(255,255,255,.22);
  border: 1.4px solid rgba(255,255,255,.6); border-radius: 50%; padding: 8px;
  backdrop-filter: blur(3px); }
.beat-detail { min-width: 0; }
.bd-row { display: flex; gap: 9px; margin-bottom: 10px; }
.bd-row .icon { color: var(--accent); margin-top: 2px; }
.bd-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-3); }
.bd-row p { font-size: 13px; line-height: 1.5; }
.beat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.mini-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 3px 9px;
  color: var(--text-2); }
.mini-chip .icon { color: var(--accent); }
.prompt-det { border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2);
  padding: 8px 12px; }
.prompt-det summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 6px; }
.prompt-det summary .icon { color: var(--accent); }
.prompt-box { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.prompt-box code { flex: 1; font-size: 12px; font-family: ui-monospace, monospace;
  color: var(--text); line-height: 1.5; white-space: pre-wrap; }

.vo-line { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.vo-line:last-child { border-bottom: 0; }
.vo-t { font-size: 12px; font-weight: 700; font-family: ui-monospace, monospace; color: var(--accent);
  flex: none; width: 42px; padding-top: 1px; }
.vo-line p { font-size: 13px; line-height: 1.5; }

.cut-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.cut-tab { border: 1px solid var(--border-2); background: #fff; border-radius: 99px;
  padding: 6px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  color: var(--text-2); transition: all .13s; }
.cut-tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cut-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.cut-cell { position: relative; flex: none; width: 150px; aspect-ratio: 16/9; border-radius: 10px;
  overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 8px;
  box-shadow: var(--sh-sm); }
.cut-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cut-cell::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.cut-scene { position: relative; z-index: 1; font-size: 11.5px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); line-height: 1.25; }

@media (max-width: 900px) {
  .beat { grid-template-columns: 48px 1fr; }
  .beat-detail { grid-column: 1 / -1; }
}

/* ═══ CALENDARIO EDITORIALE ══════════════════════════════════ */
.cal-list { display: flex; flex-direction: column; gap: 10px; }
.cal-entry { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden;
  transition: box-shadow .15s; }
.cal-entry.open { box-shadow: var(--sh-md); }
.cal-entry.done { opacity: .65; }
.cal-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  cursor: pointer; }
.cal-row:hover { background: var(--surface-2); }
.cal-date { width: 44px; flex: none; text-align: center; background: var(--accent-soft);
  border-radius: 10px; padding: 6px 0; }
.cal-date b { display: block; font-size: 17px; color: var(--accent-dark);
  line-height: 1.1; }
.cal-date span { font-size: 10px; font-weight: 700; text-transform: uppercase;
  color: var(--accent-dark); opacity: .8; }
.cal-row .fmt-ico { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.cal-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cal-title b { font-size: 13.5px; }
.cal-script { border-top: 1px solid var(--border); padding: 16px; background: var(--surface-2); }
.script-hook { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.script-hook p { font-size: 13.5px; font-weight: 600; }
.script-table { display: flex; flex-direction: column; gap: 8px; }
.script-beat { display: grid; grid-template-columns: 74px 1fr 1fr; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; align-items: start; }
.sb-t { font-size: 12px; font-weight: 700; font-family: ui-monospace, monospace;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 7px;
  padding: 3px 8px; text-align: center; }
.sb-say p, .sb-show p { font-size: 12.5px; line-height: 1.45; }
.script-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-top: 12px; }
@media (max-width: 800px) { .script-beat { grid-template-columns: 60px 1fr; }
  .sb-show { grid-column: 2; } }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap;
    align-items: center; }
  .sidebar nav { display: flex; flex-wrap: wrap; }
  .side-foot { margin: 0; }
  .content { padding: 20px; }
  .topbar { padding: 12px 20px; }
  .grid-side, .fb-grid { grid-template-columns: 1fr; }
}

/* ═══ MONTAGGIO ══════════════════════════════════════════════ */
.video-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; }
.vp-item { position: relative; border: 1.6px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; background: #000; transition: all .14s; }
.vp-item video, .vp-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover;
  display: block; opacity: .95; background: var(--surface-2); }
.vp-item .name { display: block; padding: 6px 9px; font-size: 11.5px; color: var(--text-2);
  background: var(--surface); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-item.on { border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.vp-item .fmt-check { display: none; }
.vp-item.on .fmt-check { display: grid; top: 7px; right: 7px; }
.edit-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 9px; }
.opt-card { display: flex; align-items: flex-start; gap: 10px; border: 1.6px solid var(--border);
  border-radius: var(--r-md); padding: 12px; cursor: pointer; margin: 0; font-weight: 400;
  transition: all .13s; background: var(--surface); }
.opt-card input { display: none; }
.opt-card .icon { color: var(--accent); margin-top: 1px; }
.opt-card b { display: block; font-size: 13px; color: var(--text); }
.opt-card span { font-size: 11.5px; color: var(--text-3); }
.opt-card.on { border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, white); }
.opt-card.on-fixed { border-color: var(--border-2); background: var(--surface-2);
  cursor: default; align-items: center; }
.opt-card.on-fixed .pill { margin-left: auto; }
.edit-result { display: grid; grid-template-columns: 300px 1fr; gap: 16px;
  align-items: start; margin-top: 8px; }
.edit-player { width: 100%; border-radius: var(--r-md); background: #000;
  border: 1px solid var(--border); }
@media (max-width: 800px) { .edit-result { grid-template-columns: 1fr; } }

/* ═══ REGIA B-ROLL (LIVELLO 2) ═══════════════════════════════ */
.card.level2 { border-left: 3px solid var(--accent); }
.regia-plan { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.regia-ins { display: grid; grid-template-columns: 170px 1fr; gap: 14px;
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
  background: var(--surface-2); align-items: start; }
.regia-ins.off { opacity: .72; }
.ri-time { display: flex; align-items: center; gap: 6px; }
.ri-time input { width: 58px; padding: 6px 8px; text-align: center; font-size: 12.5px;
  font-family: ui-monospace, monospace; }
.ri-choice { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ri-choice select { font-size: 12.5px; padding: 6px 10px; }
.ri-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border); flex: none; }
@media (max-width: 800px) { .regia-ins { grid-template-columns: 1fr; } }
