/* Vitrina · Paneli i Reklamuesit — desktop dashboard (light Vitrina theme). */

:root {
  --side-w: 244px;
  --top-h: 68px;
  --page-pad: 32px;
  --card-pad: 20px;
  --ink: var(--vitrina-ink);
}
html, body { background: var(--bg); }
body { min-width: 1080px; font-size: 14px; line-height: 1.45; }
.num { font-variant-numeric: tabular-nums; }

/* ── Shell ─────────────────────────────────────────────────────────────── */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100dvh;
  background: linear-gradient(90deg, var(--surface) 0 calc(var(--side-w) - 1px), var(--border) calc(var(--side-w) - 1px) var(--side-w), transparent var(--side-w)); }
.side {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 6px;
  padding: 22px 16px 18px; background: var(--surface); border-right: 1px solid var(--border); z-index: 30;
}
.side-logo { display: block; padding: 2px 8px 0; }
.side-logo img { height: 30px; width: auto; }
.side-kicker { padding: 2px 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); }
.side-nav { display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 11px;
  color: var(--fg-muted); font-weight: 600; font-size: 14.5px; text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.side-nav a:hover { background: var(--surface-2); color: var(--fg); }
.side-nav a.is-active { background: var(--vitrina-violet-50); color: var(--vitrina-violet-dark); }
.side-nav a.is-active svg { color: var(--vitrina-violet); }
.side-count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; background: var(--vitrina-violet); color: #fff; }
.side-cta { margin: 14px 4px 0; height: 44px; min-height: 44px; font-size: 14.5px; }
.side-net {
  margin-top: auto; padding: 16px; border-radius: 16px; color: #fff; display: grid; gap: 6px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(123, 92, 255, .55), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(0, 209, 193, .28), transparent 60%),
    var(--vitrina-night);
  box-shadow: 0 10px 26px -12px rgba(11, 13, 23, .6);
}
.side-net-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 4px; }
.side-net-head .dot-live { color: var(--vitrina-turquoise); background: var(--vitrina-turquoise); }
.side-net-row { display: flex; align-items: baseline; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.side-net-row b { font-family: var(--font-display); font-size: 21px; font-weight: 650; color: #fff; letter-spacing: -.02em; }
.side-net-foot { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.side-help { display: flex; gap: 9px; padding: 12px 10px 0; font-size: 11.5px; line-height: 1.45; color: var(--fg-muted); }
.side-help svg { flex: none; color: var(--vitrina-turquoise-dark); margin-top: 1px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 25; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--page-pad); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; color: var(--fg); }
.crumbs a { color: var(--fg-muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs svg { color: var(--fg-subtle); }
.crumbs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.conn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 650;
  color: var(--green-ink); background: var(--green-soft); }
.conn.is-off { color: var(--amber-ink); background: var(--amber-soft); }
.conn.is-off .dot-live { color: var(--amber); background: var(--amber); }
.who { position: relative; }
.who-btn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-xs); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); text-align: left; }
.who-btn:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.who-text { display: grid; line-height: 1.2; }
.who-text b { font-size: 14px; font-weight: 700; }
.who-text small { font-size: 12px; color: var(--fg-muted); }
.who-btn > svg { color: var(--fg-muted); }
.who-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 330px; max-height: min(560px, 80vh); overflow: auto; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); animation: rise-in .22s var(--ease-out); }
.who-menu-head { padding: 8px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-subtle); }
.who-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 11px; text-align: left; }
.who-item:hover { background: var(--surface-2); }
.who-item.is-current { background: var(--vitrina-violet-50); }
.who-item > svg { color: var(--vitrina-violet); margin-left: auto; }
.who-item-text { display: grid; line-height: 1.25; min-width: 0; }
.who-item-text b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-item-text small { font-size: 12px; color: var(--fg-muted); }

.adv-logo { width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; color: #fff; border-radius: calc(var(--s) * .3);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 2px 6px -2px color-mix(in srgb, var(--c) 60%, transparent); }

.view { flex: 1; outline: none; }
.boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--fg-muted); font-weight: 600; }
.boot.is-error svg { color: var(--danger); }
.conn-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 95; border-radius: 99px; box-shadow: var(--shadow-md); }

/* ── Page ──────────────────────────────────────────────────────────────── */
.page { max-width: 1400px; margin: 0 auto; padding: 26px var(--page-pad) 48px; display: grid; gap: 20px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 2px; }
.page-title { font-size: 30px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.page-sub { margin-top: 6px; color: var(--fg-muted); font-size: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.page-sub svg { color: var(--fg-subtle); }
.page-sub .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); margin: 0 6px; }
.page-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.page-actions .btn { --btn-h: 44px; font-size: 14.5px; }
.eyebrow-row { margin-bottom: 8px; }
.eyebrow-row .eyebrow { color: var(--vitrina-violet); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13.5px; font-weight: 650; color: var(--fg-muted); text-decoration: none; }
.back:hover { color: var(--fg); }
.title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Cards */
.card { border-radius: var(--card-radius); box-shadow: var(--shadow-xs); }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h3 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.card-h p { margin-top: 2px; font-size: 13px; color: var(--fg-muted); }
.chart-card, .map-card, .area-card, .feed-card, .table-card, .recent-card, .creative-card { padding: var(--card-pad); }
.grid { display: grid; gap: 20px; }
.g-75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.g-84 { grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr); align-items: stretch; }
.g-84 > .stack-col { grid-template-rows: auto minmax(0, 1fr); height: 0; min-height: 100%; }
.feed-card { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.feed-card .feed { flex: 1; min-height: 0; overflow: hidden; align-content: start; }
.g-48 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.stack-col { display: grid; gap: 20px; align-content: start; min-width: 0; }

/* KPI cards */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kpi-card { position: relative; padding: 18px 18px 16px; display: grid; gap: 6px; align-content: start; overflow: hidden; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.kpi-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-muted); }
.kpi-value { position: relative; display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 27px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; white-space: nowrap; }
.kpi-sub { font-size: 12.5px; color: var(--fg-muted); line-height: 1.4; }
.kpi-card.is-hero { background:
    radial-gradient(140% 120% at 100% 0%, rgba(123, 92, 255, .12), transparent 55%), var(--surface);
  border-color: color-mix(in srgb, var(--vitrina-violet) 22%, var(--border)); }
.kpi-card.is-hero .kpi-value { font-size: 32px; color: var(--vitrina-violet-dark); }
.kpi-bump { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--green-ink); background: var(--green-soft); padding: 2px 7px; border-radius: 99px; opacity: 0; transform: translateY(4px); letter-spacing: 0; }
.kpi-bump.is-on { animation: bump 2.2s var(--ease-out) both; }
@keyframes bump { 0% { opacity: 0; transform: translateY(6px); } 12% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
.kpi-card.is-flash { animation: flash 1.6s var(--ease-out); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(0, 209, 193, .0); } 15% { box-shadow: 0 0 0 4px rgba(0, 209, 193, .35); border-color: var(--vitrina-turquoise); } 100% { box-shadow: var(--shadow-xs); } }
.kpi-meter { height: 5px; border-radius: 9px; background: var(--vitrina-violet-100); overflow: hidden; margin-top: 2px; }
.kpi-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--vitrina-violet); transition: width var(--dur-slow) var(--ease-out); }
.live-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-ink); background: var(--green-soft); }
.live-chip .dot { width: 6px; height: 6px; }

/* Charts */
.chart { position: relative; min-height: 220px; }
.ch { position: relative; }
.ch-svg { display: block; max-width: none; overflow: visible; font-family: var(--font-ui); }
.ch-grid { stroke: var(--border); stroke-width: 1; shape-rendering: crispEdges; }
.ch-grid.is-base { stroke: var(--border-strong); }
.ch-ytick, .ch-xtick { font-size: 11px; fill: var(--fg-subtle); font-variant-numeric: tabular-nums; font-weight: 500; }
.ch-xtick.is-now { fill: var(--vitrina-violet-dark); font-weight: 700; }
.ch-bar { fill: var(--vitrina-violet); transition: fill var(--dur-fast); }
.ch-bar.is-now { fill: var(--vitrina-violet-400); }
.ch-bar.is-hover { fill: var(--vitrina-violet-dark); }
.ch-bar.is-anim { transform-box: fill-box; transform-origin: 50% 100%; animation: grow .7s var(--ease-out) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
.ch-future { fill: var(--surface-3); }
.ch-hit { fill: transparent; cursor: default; outline: none; }
.ch-line { fill: none; stroke: var(--vitrina-violet); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-line.is-anim { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 1.1s var(--ease-out) forwards; }
.ch-area.is-anim { animation: fade-in .9s var(--ease-out) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ch-dot { fill: var(--vitrina-violet); stroke: var(--surface); stroke-width: 2; pointer-events: none; }
.ch-hover-dot { opacity: 0; }
.ch-hover-dot.is-on { opacity: 1; }
.ch-cross { stroke: var(--fg-subtle); stroke-width: 1; opacity: 0; pointer-events: none; shape-rendering: crispEdges; }
.ch-cross.is-on { opacity: .7; }
.ch-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; display: grid; gap: 1px; min-width: 96px; padding: 8px 11px; border-radius: 10px;
  background: var(--vitrina-night); color: #fff; box-shadow: 0 8px 24px rgba(11, 13, 23, .25); font-size: 12px; line-height: 1.35;
  opacity: 0; transition: opacity .12s; white-space: nowrap;
}
.ch-tip.is-on { opacity: 1; }
.ch-tip b { font-family: var(--font-display); font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ch-tip span { color: rgba(255, 255, 255, .72); }
.legend-key { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-muted); font-weight: 600; white-space: nowrap; }
.lk-bar { width: 10px; height: 10px; border-radius: 3px; background: var(--vitrina-violet); }

/* Bar list */
.bl { display: grid; gap: 10px; }
.bl-row { display: grid; grid-template-columns: 116px minmax(0, 1fr) 92px; align-items: center; gap: 12px; animation: rise-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
.bl-label { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-track { height: 12px; border-radius: 0 4px 4px 0; position: relative; }
.bl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--vitrina-violet); transition: width var(--dur-slow) var(--ease-out); }
.bl-row.is-muted .bl-fill { background: var(--vitrina-violet-200); }
.bl-val { text-align: right; font-size: 13.5px; font-weight: 700; display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; }
.bl-val small { font-size: 11.5px; font-weight: 600; color: var(--fg-subtle); min-width: 32px; text-align: right; }
.bl-empty { padding: 20px 0; color: var(--fg-muted); font-size: 13.5px; }
.tip-card { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; text-decoration: none; color: var(--fg);
  background: var(--vitrina-turquoise-50); border: 1px solid color-mix(in srgb, var(--vitrina-turquoise) 30%, transparent); font-size: 13px; line-height: 1.4; }
.tip-card > svg:first-child { flex: none; color: var(--vitrina-turquoise-dark); }
.tip-card > svg:last-child { flex: none; color: var(--fg-muted); transition: transform var(--dur-fast); }
.tip-card:hover > svg:last-child { transform: translateX(3px); }
.tip-card b { display: block; font-size: 13.5px; }

/* Map */
.map-card { display: flex; flex-direction: column; }
.map-box { position: relative; flex: 1; min-height: 440px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); isolation: isolate; }
.map-box > .map, .map-box > .map.hm-map { position: absolute; inset: 0; }
.map-legend { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; color: var(--fg-muted); white-space: nowrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ml-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vitrina-violet); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(123, 92, 255, .3); }
.ml-fence { width: 14px; height: 14px; border-radius: 50%; border: 1.6px dashed var(--vitrina-violet); background: rgba(123, 92, 255, .1); }
.ml-pin { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, .3); }
.imp-icon { background: none; border: 0; }
.imp-dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--vitrina-violet); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(11, 13, 23, .35); }
.imp-dot.is-new { background: var(--vitrina-turquoise-dark); animation: dot-in .5s var(--ease-spring) both; }
.imp-dot.is-new::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--vitrina-turquoise); animation: ping 1.6s var(--ease-out) 2; }
@keyframes dot-in { from { transform: scale(0); } to { transform: none; } }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

/* Feed */
.feed { list-style: none; padding: 0; margin: 0; display: grid; }
.feed-item { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.feed-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feed-item.is-new { animation: feed-in .6s var(--ease-out) both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); background: var(--vitrina-violet-50); } to { opacity: 1; transform: none; } }
.feed-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--vitrina-violet-50); color: var(--vitrina-violet); }
.feed-item.is-scan .feed-ic { background: var(--vitrina-turquoise-50); color: var(--vitrina-turquoise-dark); }
.feed-body { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.feed-body b { font-size: 13.5px; font-weight: 650; }
.feed-body small { font-size: 12px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-time { font-size: 12px; color: var(--fg-subtle); font-weight: 600; }
.feed-empty { padding: 16px 0; color: var(--fg-muted); font-size: 13px; }

/* Table */
.tbl-wrap { overflow-x: auto; margin: 0 calc(var(--card-pad) * -1); padding: 0 var(--card-pad); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 650; color: var(--fg-muted); padding: 0 12px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl .r { text-align: right; }
.tbl td.num { font-weight: 600; }
.tbl tbody tr { transition: background var(--dur-fast); }
.tbl tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.sub-num { display: block; font-size: 11.5px; font-weight: 600; color: var(--green-ink); }
.c-name { width: 34%; max-width: 0; }
.c-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.c-link:hover b { color: var(--vitrina-violet-dark); }
.thumb { position: relative; width: 72px; height: 45px; flex: none; border-radius: 9px; overflow: hidden; background: var(--surface-3); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.thumb .art { position: absolute; inset: 0; }
.c-name-text { display: grid; min-width: 0; line-height: 1.3; }
.c-name-text b { font-size: 14.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.c-name-text small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; }
.c-name-text small svg { flex: none; }
.budget { display: grid; gap: 4px; min-width: 132px; }
.budget > span:first-child { font-weight: 600; }
.budget-bar { height: 4px; border-radius: 9px; background: var(--vitrina-violet-100); overflow: hidden; }
.budget-bar span { display: block; height: 100%; background: var(--vitrina-violet); border-radius: inherit; }
.budget small { font-size: 11.5px; color: var(--fg-muted); }
.c-act { text-align: right; width: 1%; }
.c-act .btn { --btn-h: 34px; }
.c-act .btn-ghost { margin-right: 4px; }
.c-act .btn-link { padding: 0 2px 0 8px; }

/* Status pill */
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 99px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.is-active { background: var(--green-soft); color: var(--green-ink); }
.pill.is-active .pill-dot { animation: pulse-ring 1.8s var(--ease-out) infinite; color: var(--green); background: var(--green); }
.pill.is-paused { background: var(--amber-soft); color: var(--amber-ink); }
.pill.is-scheduled { background: var(--blue-soft); color: var(--blue-ink); }
.pill.is-ended, .pill.is-draft { background: var(--surface-3); color: var(--fg-muted); }

/* Empty states, filters */
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--fg-muted); }
.empty-state svg { color: var(--vitrina-violet-400); }
.empty-state b { color: var(--fg); font-size: 16px; }
.empty-state .btn { margin-top: 8px; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filters-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--fg-muted); }
.seg-n { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 11px; background: var(--surface-3); color: var(--fg-muted); }
.segmented > .is-active .seg-n { background: var(--vitrina-violet-50); color: var(--vitrina-violet-dark); }

/* ── Report ───────────────────────────────────────────────────────────── */
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); font-weight: 600; margin-right: 6px; white-space: nowrap; }
.report-top { display: grid; grid-template-columns: minmax(380px, 5fr) minmax(0, 7fr); gap: 20px; }
.creative-card { display: grid; gap: 14px; }
.cr-frame { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 24px -14px rgba(11, 13, 23, .5); }
.creative-meta { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 18px; align-items: start; }
.creative-meta > div { display: grid; gap: 2px; min-width: 0; }
.creative-meta b { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creative-meta > div:last-child b { white-space: normal; line-height: 1.35; }
.creative-meta .mono { font-size: 13px; }
.kpis-report { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-self: stretch; }
.kpis-report .kpi-card { min-height: 118px; align-content: space-between; }
.report-top { align-items: stretch; }
.rep-area { display: flex; flex-direction: column; }
.rep-map-box { position: relative; flex: 1; min-height: 260px; margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); isolation: isolate; }
.rep-map-box > .map { position: absolute; inset: 0; }
.day-empty { height: 220px; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--fg-muted); font-size: 13.5px;
  border-radius: 14px; background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, transparent 10px 20px); }
.day-empty svg { color: var(--vitrina-violet); }
.day-empty b { font-family: var(--font-display); font-size: 20px; color: var(--fg); }
.day-empty span { max-width: 30ch; }
.tbl-recent td { padding-top: 9px; padding-bottom: 9px; font-size: 13.5px; }
.tbl-recent td small { color: var(--fg-subtle); font-weight: 500; }
.tbl-recent .plate { font-size: 12.5px; letter-spacing: .04em; font-weight: 600; }
.tbl-recent tr.is-new td { animation: row-in 1.6s var(--ease-out); }
@keyframes row-in { 0% { background: var(--vitrina-violet-50); } 100% { background: transparent; } }
.empty-row { padding: 18px 0 !important; white-space: normal !important; }
.print-head, .print-foot { display: none; }

/* ── Toasts (desktop: top right) ──────────────────────────────────────── */
.adv-toasts.toast-stack { left: auto; right: 24px; top: auto; bottom: 24px; transform: none; width: 400px; justify-items: stretch; grid-template-columns: minmax(0, 1fr); }
.adv-toasts .toast { padding: 12px 10px 12px 12px; align-items: center; }
.adv-toasts .toast-title, .adv-toasts .toast-sub { display: block; }
.adv-toasts .toast { min-width: 0; }
.adv-toasts .toast-sub { margin-top: 1px; }
.adv-toasts .toast-accent .toast-icon { background: var(--vitrina-turquoise); color: var(--vitrina-night); }
.toast-x { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .6); }
.toast-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ── Responsive (narrower laptops) ────────────────────────────────────── */
@media (max-width: 1360px) {
  :root { --page-pad: 24px; --side-w: 224px; }
  .kpi-value { font-size: 24px; }
  .kpi-card.is-hero .kpi-value { font-size: 28px; }
  .g-84 { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); }
}
@media (max-width: 1220px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis > .kpi-card.is-hero { grid-column: span 1; }
  .kpis-report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g-75, .g-48 { grid-template-columns: minmax(0, 1fr); }
  .map-legend { display: none; }
}

/* ── Phone ───────────────────────────────────────────────────────────────
   Below ~860px the sidebar + main grid cannot hold two columns. The blocker
   is `body { min-width: 1080px }` at the top of this file: without clearing
   it the page stays 1080px wide and the phone just pans around a desktop
   layout, so every rule below depends on that first line.

   The sidebar becomes a horizontally scrollable nav strip above the content.
   Its decorative blocks (network panel, help note, kicker) are desktop-only
   furniture and are hidden rather than stacked — on a phone they would push
   the actual content a screen and a half down.                            */
@media (max-width: 860px) {
  body { min-width: 0; }
  :root { --page-pad: 16px; }

  .app { grid-template-columns: minmax(0, 1fr); min-height: 100dvh; }

  .side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .side::-webkit-scrollbar { display: none; }
  .side-logo { flex: none; padding: 0; }
  .side-logo img { height: 24px; }
  .side-nav { grid-auto-flow: column; grid-auto-columns: max-content; gap: 4px; }
  .side-nav a { height: 38px; padding: 0 12px; white-space: nowrap; }
  .side-cta { margin: 0 0 0 auto; flex: none; height: 38px; min-height: 38px; padding: 0 14px; }
  /* Desktop-only furniture: hidden, not stacked. */
  .side-kicker, .side-net, .side-help { display: none; }

  .topbar { padding-left: var(--page-pad); padding-right: var(--page-pad); }
  .page { padding: 18px var(--page-pad) 40px; gap: 16px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title { font-size: 23px; }
  .page-sub { font-size: 14px; }
  .page-actions { width: 100%; flex-wrap: wrap; }
  .page-actions .btn { --btn-h: 42px; flex: 1 1 auto; }

  /* Every multi-column grid collapses; two-up is kept only for the KPI tiles,
     which stay readable at half width. */
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis-report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-84, .g-75, .g-48, .report-top, .wiz-body, .pkgs, .zones, .done {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .kpi-value { font-size: 22px; }
  .kpi-card.is-hero .kpi-value { font-size: 25px; }
}

@media (max-width: 480px) {
  .kpis, .kpis-report, .parts { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title { font-size: 21px; }
}

/* ── Print (Shkarko raportin → PDF) ───────────────────────────────────── */
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html, body { background: #fff !important; min-width: 0; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 12px; }
  .side, .topbar, .toast-stack, .conn-banner, .no-print, .back, .tip-card, .who-menu { display: none !important; }
  .app { display: block; }
  .page { max-width: none; padding: 0; gap: 12px; }
  .print-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--vitrina-violet); }
  .print-head img { height: 24px; width: auto; }
  .print-head div { display: grid; text-align: right; }
  .print-head b { font-family: var(--font-display); font-size: 15px; }
  .print-head span { font-size: 11px; color: var(--fg-muted); }
  .print-foot { display: block; font-size: 10px; color: var(--fg-muted); margin-top: 4px; }
  .page-title { font-size: 22px; }
  .page-sub { font-size: 12px; }
  .card { box-shadow: none !important; break-inside: avoid; }
  .report-top { grid-template-columns: 42% 1fr; gap: 12px; }
  .kpis-report { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi-card { padding: 10px 12px; min-height: 0 !important; }
  .kpi-value, .kpi-card.is-hero .kpi-value { font-size: 18px; }
  .kpi-sub { font-size: 10.5px; }
  .creative-card { padding: 10px; gap: 8px; }
  .creative-meta { gap: 10px; }
  .grid, .print-stack { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .chart-card, .area-card, .recent-card { padding: 12px; }
  .ch-svg { width: 100% !important; height: auto !important; }
  .chart { min-height: 0; }
  .card-h { margin-bottom: 8px; }
  .card-h h3 { font-size: 13px; }
  .card-h p { font-size: 10.5px; }
  .bl-row { grid-template-columns: 90px 1fr 70px; animation: none; }
  .tbl-recent td, .tbl-recent th { padding: 5px 6px; font-size: 10.5px; }
  .ch-bar.is-anim, .ch-line.is-anim, .ch-area.is-anim { animation: none !important; stroke-dashoffset: 0 !important; }
  .cr *, .cr { animation: none !important; }
  .rep-map-box { min-height: 200px; height: 200px; flex: none; }
  .leaflet-control-zoom, .hm-badge { display: none !important; }
  .day-empty { height: 160px; }
}

/* ══ Wizard (Fushatë e re) ═══════════════════════════════════════════════ */
.wiz { gap: 18px; }
.wiz-head { display: grid; gap: 22px; }
.wiz-help { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 13px; font-weight: 600;
  color: var(--fg-muted); background: var(--surface); border: 1px solid var(--border); white-space: nowrap; }
.wiz-help svg { color: var(--vitrina-violet); }
.wiz.is-done .wiz-help { visibility: hidden; }

/* Stepper: five segments with a progress rule on top */
.stepper { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.step button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 2px 0; border-top: 3px solid var(--border); text-align: left;
  color: var(--fg-subtle); font-size: 14px; font-weight: 650; transition: border-color var(--dur-base), color var(--dur-base); }
.step button:not([disabled]):hover { color: var(--fg); }
.step button[disabled] { cursor: default; }
.step-n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  background: var(--surface-3); color: var(--fg-muted); font-variant-numeric: tabular-nums; transition: background var(--dur-base), color var(--dur-base); }
.step-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.is-done button { border-top-color: var(--vitrina-violet); color: var(--fg-muted); }
.step.is-done .step-n { background: var(--vitrina-violet); color: #fff; }
.step.is-current button { border-top-color: var(--vitrina-violet); color: var(--fg); }
.step.is-current .step-n { background: var(--vitrina-violet-50); color: var(--vitrina-violet-dark); box-shadow: inset 0 0 0 2px var(--vitrina-violet); }

/* Body: form card + sticky preview */
.wiz-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 500px); gap: 20px; align-items: start; }
.wiz-main { display: flex; flex-direction: column; min-width: 0; overflow: clip; }
.wiz-panels { padding: 28px 28px 8px; }
.wiz-panel { display: grid; gap: 22px; animation: rise-in .35s var(--ease-out) both; }
.wiz-step-h h2 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.wiz-step-h p { margin-top: 6px; color: var(--fg-muted); font-size: 14.5px; max-width: 62ch; }
.wiz-foot { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 16px 28px; margin-top: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.wiz-foot .btn { --btn-h: 46px; }
.wiz-foot-msg { flex: 1; min-width: 0; text-align: right; font-size: 13.5px; font-weight: 600; color: var(--amber-ink); opacity: 0; transform: translateX(6px); transition: opacity var(--dur-base), transform var(--dur-base); }
.wiz-foot-msg.is-on { opacity: 1; transform: none; }
#w-next { min-width: 150px; }
#w-next.is-soft-disabled { opacity: .55; box-shadow: none; }
.btn-launch { background: var(--brand-gradient) !important; min-width: 190px !important; box-shadow: 0 10px 24px -10px rgba(123, 92, 255, .8) !important; }
.btn-launch:hover { filter: brightness(1.06); }
.is-shake { animation: shake .42s var(--ease-out); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.wiz-side { position: sticky; top: calc(var(--top-h) + 18px); display: grid; gap: 16px; min-width: 0; }
.preview-card { padding: 18px 18px 18px; }
.preview-card .card-h { margin-bottom: 12px; }
.preview-tablet { border-radius: 14px; }
.preview-tablet > .tablet-stage { cursor: default; }
.preview-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--fg-muted); }
.preview-foot svg { flex: none; color: var(--vitrina-turquoise-dark); }

.tally { padding: 6px 18px; }
.tally-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.tally-row > span { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); font-weight: 600; }
.tally-row > span svg { color: var(--fg-subtle); flex: none; }
.tally-row b { font-weight: 650; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tally-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 12px; }
.tally-total > span { font-weight: 700; font-size: 14px; }
.tally-total small { display: block; font-size: 12px; font-weight: 600; color: var(--fg-muted); }
.tally-total b { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; color: var(--vitrina-violet-dark); font-variant-numeric: tabular-nums; }

/* Form bits */
.wiz .field { gap: 8px; }
.wiz .label { font-size: 13.5px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; }
.opt { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--fg-subtle); }
.wiz .input, .wiz .textarea { min-height: 46px; font-size: 14.5px; }
.wiz .textarea { min-height: 72px; line-height: 1.45; }
.input.is-warn { border-color: var(--amber); }
.input.is-warn:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 30%, transparent); }
.hint.is-warn { color: var(--amber-ink); font-weight: 600; }
.counter { font-size: 12px; font-weight: 700; color: var(--fg-muted); padding: 2px 8px; border-radius: 99px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--amber-ink); background: var(--amber-soft); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.seg-sm > button { min-height: 32px; padding: 0 12px; font-size: 13px; }
.prefill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--vitrina-violet-dark); }

/* Image source: gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-item { position: relative; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.g-item .art { position: absolute; inset: 0; }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: box-shadow var(--dur-fast); }
.g-item:hover { transform: translateY(-1px); }
.g-item:hover::after { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.g-item.is-selected::after { box-shadow: inset 0 0 0 3px var(--vitrina-violet), inset 0 0 0 5px rgba(255, 255, 255, .85); }
.g-check { position: absolute; z-index: 2; right: 7px; top: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vitrina-violet); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); opacity: 0; transform: scale(.6); transition: all var(--dur-fast) var(--ease-spring); }
.g-item.is-selected .g-check { opacity: 1; transform: none; }

/* Image source: upload */
.drop { display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border-radius: 14px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--border-strong); background: var(--surface-2); transition: border-color var(--dur-fast), background var(--dur-fast); }
.drop:hover, .drop:focus-visible { border-color: var(--vitrina-violet-400); background: var(--vitrina-violet-50); }
.drop.is-over { border-color: var(--vitrina-violet); background: var(--vitrina-violet-50); box-shadow: 0 0 0 4px var(--ring); }
.drop b { font-size: 14.5px; font-weight: 650; }
.drop > span:last-child { font-size: 12.5px; color: var(--fg-muted); }
.drop-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 4px; background: var(--surface); color: var(--vitrina-violet); box-shadow: var(--shadow-xs); }
.drop.is-compact { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 12px 16px; gap: 2px 12px; }
.drop.is-compact .drop-ic { grid-row: span 2; width: 38px; height: 38px; margin: 0; }
.drop.is-compact b { font-size: 13.5px; }
.upl { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.upl-thumb { width: 96px; aspect-ratio: 16 / 10; flex: none; border-radius: 9px; overflow: hidden; background: var(--surface-3); }
.upl-thumb img, .upl-thumb video { width: 100%; height: 100%; object-fit: cover; }
.upl-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.upl-body b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upl-body small { font-size: 12px; color: var(--fg-muted); }
.upl-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; font-weight: 650; color: var(--green-ink); }
.upl.is-busy .upl-state { color: var(--fg-muted); }
.upl-state .spinner { width: 14px; height: 14px; border-width: 2px; }
.upl.is-error { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: var(--red-soft); color: var(--red-ink); }
.upl.is-error > span { display: grid; gap: 2px; }
.upl.is-error b { font-size: 13.5px; }
.upl.is-error small { font-size: 12.5px; }

/* Layout + theme pickers */
.layouts, .themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lay, .th { display: grid; justify-items: center; gap: 6px; padding: 8px 6px 7px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  font-size: 12px; font-weight: 650; color: var(--fg-muted); transition: border-color var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast); }
.lay:hover, .th:hover { border-color: var(--border-strong); color: var(--fg); }
.lay[aria-pressed="true"], .th[aria-pressed="true"] { border-color: var(--vitrina-violet); box-shadow: 0 0 0 1px var(--vitrina-violet); color: var(--vitrina-violet-dark); }
.lay-art { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #C9C3E8, #A99EE0); }
.lay-art i { position: absolute; display: block; border-radius: 2px; background: #fff; }
.lay-art i:nth-child(1) { height: 13%; width: 46%; }
.lay-art i:nth-child(2) { height: 8%; width: 30%; opacity: .75; }
.lay-art i:nth-child(3) { height: 11%; width: 22%; border-radius: 9px; background: var(--vitrina-night); }
.lay-art::before { content: ""; position: absolute; inset: 0; }
.lay-left::before { background: linear-gradient(90deg, rgba(11, 13, 23, .85) 0 45%, transparent 75%); }
.lay-right::before { background: linear-gradient(270deg, rgba(11, 13, 23, .85) 0 45%, transparent 75%); }
.lay-center::before { background: radial-gradient(60% 70% at 50% 50%, rgba(11, 13, 23, .8), rgba(11, 13, 23, .45)); }
.lay-bottom::before { background: linear-gradient(0deg, rgba(11, 13, 23, .85) 0 40%, transparent 75%); }
.lay-left i:nth-child(1) { left: 9%; top: 30%; } .lay-left i:nth-child(2) { left: 9%; top: 49%; } .lay-left i:nth-child(3) { left: 9%; top: 65%; }
.lay-right i:nth-child(1) { right: 9%; top: 30%; } .lay-right i:nth-child(2) { right: 25%; top: 49%; } .lay-right i:nth-child(3) { right: 33%; top: 65%; }
.lay-center i:nth-child(1) { left: 27%; top: 32%; } .lay-center i:nth-child(2) { left: 35%; top: 51%; } .lay-center i:nth-child(3) { left: 39%; top: 67%; }
.lay-bottom i:nth-child(1) { left: 9%; top: 56%; } .lay-bottom i:nth-child(2) { left: 9%; top: 73%; } .lay-bottom i:nth-child(3) { left: 66%; top: 70%; }
.lay[aria-pressed="true"] .lay-art { background: linear-gradient(135deg, #B3A6FF, #7B5CFF); }
.th-sw { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); overflow: hidden; }
.th-sw::before { content: ""; position: absolute; left: 12%; top: 30%; width: 48%; height: 13%; border-radius: 2px; background: var(--fg); }
.th-sw::after { content: ""; position: absolute; left: 12%; top: 58%; width: 30%; height: 16%; border-radius: 9px; background: var(--ac); }
.th-sw i { position: absolute; right: 9%; bottom: 12%; width: 18%; aspect-ratio: 1; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

/* Rules + compliance */
.rules { display: flex; gap: 12px; padding: 13px 15px; border-radius: 14px; font-size: 13px; line-height: 1.5; color: var(--fg);
  background: var(--vitrina-turquoise-50); border: 1px solid color-mix(in srgb, var(--vitrina-turquoise) 28%, transparent); }
.rules > svg { flex: none; color: var(--vitrina-turquoise-dark); margin-top: 1px; }
.rules b { font-weight: 700; }
.comp { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; line-height: 1.45; animation: rise-in .3s var(--ease-out) both; }
.comp > svg { flex: none; margin-top: 1px; }
.comp.is-warn { background: var(--amber-soft); color: var(--amber-ink); }
.comp.is-error { background: var(--red-soft); color: var(--red-ink); }

/* Step 2 · Zonat */
.city-toggle { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast); }
.city-toggle:hover { border-color: var(--border-strong); }
.city-toggle.is-on { border-color: var(--vitrina-violet); background: var(--vitrina-violet-50); }
.city-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--vitrina-violet); }
.city-toggle.is-on .city-ic { background: var(--vitrina-violet); color: #fff; }
.city-body { flex: 1; display: grid; gap: 1px; }
.city-body b { font-size: 14.5px; }
.city-body small { font-size: 12.5px; color: var(--fg-muted); }
.city-toggle .switch input:checked + .switch-track { background: var(--vitrina-violet); }
.zmap-box { position: relative; height: 330px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); isolation: isolate; }
.zmap-box > .zmap { position: absolute; inset: 0; }
.zmap-hint { position: absolute; z-index: 500; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px;
  font-size: 12px; font-weight: 650; color: var(--fg); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); pointer-events: none; }
.zmap-hint svg { color: var(--vitrina-violet); }
.zmap-box.is-city::after { content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none; background: rgba(123, 92, 255, .1); box-shadow: inset 0 0 0 3px var(--vitrina-violet); border-radius: inherit; }
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zone { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-align: left;
  transition: border-color var(--dur-fast), background var(--dur-fast), opacity var(--dur-fast); }
.zone:hover { border-color: var(--border-strong); }
.zone.is-on { border-color: var(--vitrina-violet); background: var(--vitrina-violet-50); }
.zone.is-dim { opacity: .5; }
.zone-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.zone-body { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.zone-body b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-body small { font-size: 12px; color: var(--fg-muted); }
.zone-share { display: grid; justify-items: end; line-height: 1.2; margin-right: 26px; }
.zone-share b { font-size: 13px; font-variant-numeric: tabular-nums; }
.zone-share small { font-size: 11px; color: var(--fg-subtle); }
.zone-check { position: absolute; right: 10px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border-strong); color: transparent; transition: all var(--dur-fast); }
.zone.is-on .zone-check { background: var(--vitrina-violet); border-color: var(--vitrina-violet); color: #fff; }
.zone-foot, .sched-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); }
.zone-foot svg, .sched-note svg { flex: none; margin-top: 2px; color: var(--vitrina-violet); }
.zone-foot b, .sched-note b { color: var(--fg); }

/* Step 3 · Orari */
.quick { display: flex; gap: 6px; }
.quick button { height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--fg-muted); border: 1px solid var(--border); background: var(--surface); transition: all var(--dur-fast); }
.quick button:hover { color: var(--fg); border-color: var(--border-strong); }
.quick button[aria-pressed="true"] { color: var(--vitrina-violet-dark); border-color: var(--vitrina-violet-200); background: var(--vitrina-violet-50); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 15px; font-weight: 700; color: var(--fg-muted); transition: all var(--dur-fast) var(--ease-out); }
.day:hover { border-color: var(--fg-subtle); color: var(--fg); }
.day[aria-pressed="true"] { background: var(--vitrina-violet); border-color: var(--vitrina-violet); color: #fff; box-shadow: 0 6px 14px -8px rgba(123, 92, 255, .9); }
.parts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.part { display: grid; justify-items: start; gap: 2px; padding: 12px 12px 11px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); text-align: left; transition: all var(--dur-fast); }
.part:hover { border-color: var(--border-strong); }
.part-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px; background: var(--surface-2); color: var(--fg-muted); transition: all var(--dur-fast); }
.part b { font-size: 13.5px; }
.part small { font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.part[aria-pressed="true"] { border-color: var(--vitrina-violet); background: var(--vitrina-violet-50); box-shadow: 0 0 0 1px var(--vitrina-violet); }
.part[aria-pressed="true"] .part-ic { background: var(--vitrina-violet); color: #fff; }
.starts { display: flex; gap: 8px; flex-wrap: wrap; }
.starts > button, .start-date { display: grid; align-content: center; justify-items: start; gap: 0; min-width: 120px; height: 52px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 700; text-align: left; transition: all var(--dur-fast); }
.starts > button small { font-size: 12px; font-weight: 500; color: var(--fg-muted); }
.starts > button:hover, .start-date:hover { border-color: var(--border-strong); }
.starts > button[aria-pressed="true"], .start-date.is-on { border-color: var(--vitrina-violet); background: var(--vitrina-violet-50); box-shadow: 0 0 0 1px var(--vitrina-violet); }
.start-date { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg-muted); }
.start-date { position: relative; }
.start-date span { font-size: 14px; font-weight: 700; color: var(--fg); }
.start-date input { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; border: 0; }
.week { padding: 14px 16px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.week-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.week-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--fg-muted); }
.week-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--vitrina-violet); }
.week-grid { display: grid; grid-template-columns: 26px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.wk-day { font-size: 11.5px; font-weight: 650; color: var(--fg-muted); }
.week-grid i { display: block; height: 14px; border-radius: 3px; background: var(--surface-3); transition: background var(--dur-base); }
.week-grid i.on { background: var(--vitrina-violet); }
.week-axis { display: flex; justify-content: space-between; margin: 6px 0 0 29px; font-size: 11px; font-weight: 600; color: var(--fg-subtle); font-variant-numeric: tabular-nums; }

/* Step 4 · Buxheti */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg { position: relative; display: grid; justify-items: start; align-content: start; gap: 4px; padding: 18px 16px 16px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); text-align: left; transition: border-color var(--dur-fast), box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out); }
.pkg:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pkg.is-on { border-color: var(--vitrina-violet); box-shadow: 0 0 0 1px var(--vitrina-violet), 0 14px 30px -18px rgba(123, 92, 255, .9);
  background: radial-gradient(120% 80% at 100% 0%, rgba(123, 92, 255, .1), transparent 60%), var(--surface); }
.pkg-tag { position: absolute; top: -10px; left: 14px; height: 21px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--vitrina-night); background: var(--vitrina-turquoise); }
.pkg-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 8px; background: var(--vitrina-violet-50); color: var(--vitrina-violet); }
.pkg.is-on .pkg-ic { background: var(--vitrina-violet); color: #fff; }
.pkg-name { font-family: var(--font-display); font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
.pkg-spec { font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.pkg-price { margin-top: 12px; font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pkg-plays { font-size: 12.5px; font-weight: 650; color: var(--vitrina-violet-dark); }
.pkg-blurb { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); width: 100%; font-size: 12.5px; color: var(--fg-muted); line-height: 1.45; }
.pkg-radio { position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-strong); transition: all var(--dur-fast); }
.pkg.is-on .pkg-radio { border: 6px solid var(--vitrina-violet); }
.price-box { padding: 6px 18px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.pb-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--border-strong); font-size: 14px; }
.pb-row > span { color: var(--fg-muted); font-weight: 600; }
.pb-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-row.is-off b { color: var(--fg-subtle); font-weight: 600; }
.pb-geo { display: block; }
.pb-geo .btn-link { display: inline-flex; min-height: 0; height: auto; padding: 0 0 0 8px; font-size: 13px; vertical-align: baseline; }
.pb-total { border-bottom: 0; padding-top: 14px; }
.pb-total > span { color: var(--fg); font-weight: 700; font-size: 15px; }
.pb-total b { font-family: var(--font-display); font-size: 26px; font-weight: 650; letter-spacing: -.02em; color: var(--vitrina-violet-dark); }
.pb-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--fg-muted); }
.pb-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pb-meta svg { color: var(--fg-subtle); }
.fine { font-size: 12px; line-height: 1.5; color: var(--fg-subtle); }
.fine b { color: var(--fg-muted); font-weight: 650; }

/* Step 5 · Përmbledhje */
.sum { display: grid; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.sum > div { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.sum > div:last-child { border-bottom: 0; }
.sum dt { font-size: 13px; font-weight: 650; color: var(--fg-muted); }
.sum dd { margin: 0; display: grid; gap: 2px; min-width: 0; }
.sum dd b { font-size: 14.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.sum dd small { font-size: 12.5px; color: var(--fg-muted); }
.sum .btn-link { min-height: 30px; font-size: 13px; }
.sum-total { background: var(--vitrina-violet-50); }
.sum-total dd b { font-family: var(--font-display); font-size: 24px; color: var(--vitrina-violet-dark); letter-spacing: -.02em; }
.launch-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--surface-2); color: var(--fg-muted); }
.launch-note > svg { flex: none; margin-top: 2px; color: var(--vitrina-violet); }
.launch-note b { color: var(--fg); }
.launch-note.is-live { background: var(--green-soft); color: var(--green-ink); }
.launch-note.is-live > svg { color: var(--green); }
.launch-note.is-live b { color: inherit; }

/* Success */
.done { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; padding: 40px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(0, 209, 193, .1), transparent 55%), radial-gradient(70% 100% at 100% 100%, rgba(123, 92, 255, .12), transparent 60%), var(--surface); }
.done-main { display: grid; justify-items: start; gap: 12px; }
.done-check { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 6px; color: #fff; background: var(--green);
  box-shadow: 0 14px 30px -12px rgba(22, 163, 74, .8); animation: pop .6s var(--ease-spring) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done .eyebrow { color: var(--green-ink); }
.done-title { font-size: 32px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.done-sub { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); max-width: 52ch; }
.done-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.done-facts > span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 650; background: var(--surface); border: 1px solid var(--border); }
.done-facts svg { color: var(--vitrina-violet); }
.done-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.done-preview { display: grid; gap: 12px; }
.done-preview .tablet-fit { border-radius: 16px; }
.center-text { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }

/* Wizard on narrower laptops */
@media (max-width: 1360px) {
  .wiz-body { grid-template-columns: minmax(0, 1fr) 420px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zone-share { display: none; }
}
@media (max-width: 1220px) {
  .wiz-body { grid-template-columns: minmax(0, 1fr) 360px; }
  .pkgs { grid-template-columns: minmax(0, 1fr); }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .done { grid-template-columns: minmax(0, 1fr); }
}
