/* SnapFind — sistemi vizual
   Neutrale të ngrohta (letër fotografike) + një aksent “safelight” (drita e kuqe e dhomës së errët). */
:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #EEEBE5;
  --ink: #161513;
  --ink-2: #3D3A35;
  --muted: #6E6A62;
  --line: #E2DED6;
  --line-2: #D3CEC4;
  --accent: #C5432A;
  --accent-ink: #FFFFFF;
  --accent-hover: #AE3720;
  --accent-soft: #F6E4DE;
  --ok: #2E6B4F; --ok-soft: #E3EFE8;
  --warn: #94620F; --warn-soft: #F5ECD9;
  --err: #A52222; --err-soft: #F7E1E0;
  --live: #C5432A;
  --dark: #121110; --dark-2: #1D1B19; --dark-3: #2A2724; --dark-line: #34312D; --dark-muted: #A39E95;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --shadow: 0 1px 2px rgba(22, 21, 19, .06), 0 8px 24px -12px rgba(22, 21, 19, .16);
  --shadow-lg: 0 24px 60px -20px rgba(22, 21, 19, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body[data-theme="dark"] { background: var(--dark); color: #F2EFEA; }
body.has-modal { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
#app:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- Tipografia ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 480px; padding-top: 48px; padding-bottom: 64px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow--light { color: #E9937F; }
.display { font: 400 clamp(44px, 9vw, 84px)/0.98 var(--serif); letter-spacing: -0.015em; }
.display em { font-style: italic; color: var(--accent); }
.display--light { color: #fff; }
.display--md { font-size: clamp(40px, 7vw, 64px); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 34ch; margin-top: 20px; }
.h2 { font: 400 clamp(30px, 4.6vw, 44px)/1.08 var(--serif); letter-spacing: -0.01em; }
.h2--light { color: #fff; }
.h3 { font-size: 17px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 8px; }
.muted { color: var(--muted); }
body[data-theme="dark"] .muted { color: var(--dark-muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.t-warn { color: var(--warn); } .t-ok { color: var(--ok); } .t-err { color: var(--err); } .t-right { text-align: right; }
.row-gap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Butonat ---------- */
.btn {
  --bh: var(--tap);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bh); padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s, color .18s, transform .12s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover:not(:disabled) { background: var(--surface); border-color: var(--ink-2); }
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.btn--glass.is-on { background: #fff; color: var(--ink); }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger:hover:not(:disabled) { background: #861a1a; }
.btn--danger-ghost { background: transparent; color: var(--err); border-color: #E4BDBA; }
.btn--danger-ghost:hover { background: var(--err-soft); }
.btn--lg { --bh: 54px; padding: 0 26px; font-size: 16px; }
.btn--sm { --bh: 38px; padding: 0 14px; font-size: 14px; }
.btn--xs { --bh: 32px; padding: 0 12px; font-size: 13px; }
.btn--block { width: 100%; }
@media (pointer: coarse) { .btn--sm, .btn--xs { --bh: 40px; } }

.icon-btn {
  display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); flex: none;
  border-radius: 999px; border: 1px solid transparent; background: transparent; color: inherit;
  transition: background .15s, border-color .15s; text-decoration: none;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn--lg { width: 56px; height: 56px; }
.icon-btn--lg .ic { width: 22px; height: 22px; }
.icon-btn--dark { color: #fff; background: rgba(255, 255, 255, .08); }
.icon-btn--dark:hover { background: rgba(255, 255, 255, .16); }
.icon-btn--glass { width: 38px; height: 38px; background: rgba(18, 17, 16, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.icon-btn--glass:hover { background: rgba(18, 17, 16, .8); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn--light { color: var(--dark-muted); justify-content: center; }

/* ---------- Pill / statuse ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pill .ic { width: 14px; height: 14px; }
.pill--neutral { background: var(--surface-2); color: var(--ink-2); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--err { background: var(--err-soft); color: var(--err); }
.pill--live { background: var(--accent-soft); color: var(--accent); }
.pill--live .ic { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.pill--on-dark { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--ok { background: #3FA673; } .dot--warn { background: #E0A43A; } .dot--neutral { background: #BDB7AC; }

/* ---------- Fusha ---------- */
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
body[data-theme="dark"] .field__label { color: var(--dark-muted); }
.field__error { font-size: 13.5px; color: var(--err); }
.field__hint { font-size: 13px; color: var(--muted); }
.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 21, 19, .08); }
.input[aria-invalid="true"] { border-color: var(--err); }
.input--sm { min-height: 40px; font-size: 14px; }
select.input { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236E6A62' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input--code { font-family: var(--mono); font-size: 20px; letter-spacing: .2em; text-transform: uppercase; text-align: center; min-height: 54px; }
.demo-tools .input { background-color: var(--dark-3); border-color: var(--dark-line); color: #fff; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .15s; margin-top: 1px; }
.check__box .ic { width: 15px; height: 15px; opacity: 0; color: #fff; stroke-width: 2.5; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box .ic { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check--dark .check__box { border-color: #5A554F; }

.copy-field { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); min-width: 0; }
.copy-field code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }

.note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.note .ic { margin-top: 2px; }
.note--wide { grid-column: 1 / -1; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.demo-hint { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.demo-hint--center { justify-content: center; margin: 24px 0 40px; text-align: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; margin-bottom: 16px; }
.banner--ok { background: var(--ok-soft); border-color: #C6DDD0; color: #1F4D38; }
.banner--live { background: var(--accent-soft); border-color: #EFC9BF; color: #7A2615; }
.banner--live .ic { animation: pulse 1.8s infinite; }
.banner--err { background: var(--err-soft); border-color: #EDC3C0; color: #7B1A1A; }
.banner .link-btn { margin-left: auto; color: inherit; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty--sm { padding: 28px 16px; }
.empty__ic, .empty-page__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); color: var(--muted); margin-bottom: 4px; }
.empty__ic .ic, .empty-page__ic .ic { width: 24px; height: 24px; }
.empty .muted { max-width: 42ch; }
.empty-page { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 96px 20px; }

.monogram { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 18px/1 var(--serif); flex: none; letter-spacing: .02em; }
.monogram--sm { width: 36px; height: 36px; font-size: 15px; }

.meter { display: block; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .4s var(--ease); }
.meter--warn > span { background: var(--warn); }

/* Imazhe: fallback kur dështojnë burimet */
.img-fallback { background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23A39E95' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") center / 28px no-repeat !important; }
img.is-failed { visibility: hidden; }

/* ---------- Shiriti demo ---------- */
.demo-strip { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px; background: var(--ink); color: #DCD7CF; font-size: 13px; line-height: 1.35; text-align: center; }
.demo-strip > span { display: inline-flex; gap: 8px; align-items: center; }
.demo-strip strong { color: #fff; font-weight: 500; }
.demo-strip .icon-btn { color: #fff; width: 32px; height: 32px; }
.demo-strip .icon-btn:hover { background: rgba(255, 255, 255, .1); }
body[data-theme="dark"] .demo-strip { background: #000; }
.demo-strip__short { display: none; }
@media (max-width: 600px) { .demo-strip__long { display: none; } .demo-strip__short { display: inline; } }

/* ---------- Logo & header ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; }
.logo__mark .ic { width: 18px; height: 18px; }
.logo__word { font: 400 25px/1 var(--serif); letter-spacing: -.01em; }
.logo--dark { color: #fff; }
.logo--dark .logo__mark { background: #fff; color: var(--ink); }

.site-head { position: relative; z-index: 5; }
.site-head__row { display: flex; align-items: center; gap: 16px; height: 72px; }
.site-nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.site-head .btn { margin-left: auto; }
.site-head--overlay { position: absolute; inset: 0 0 auto; }
.site-head--overlay .site-nav a { color: rgba(255, 255, 255, .82); }
.site-head--overlay .site-nav a:hover { color: #fff; }
@media (max-width: 420px) { .site-head .btn span { display: none; } .site-head .btn { width: var(--bh); padding: 0; } }
@media (min-width: 900px) { .site-nav { display: flex; } .site-nav + .btn { margin-left: 12px; } }

.site-foot { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; }
.site-foot__row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-foot__tag { color: var(--muted); font-size: 14px; margin-top: 10px; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-foot__links a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.site-foot__links a:hover { color: var(--ink); text-decoration: underline; }
.site-foot__legal { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 28px; font-size: 13px; color: var(--muted); }
.site-foot__legal .link-btn { font-size: 13px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 64px; }
.hero__copy { align-self: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: inline-flex; gap: 7px; align-items: center; }
.hero__visual { position: relative; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 10px; aspect-ratio: 1 / 1.02; }
.mosaic__item { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--surface-2); position: relative; animation: rise .9s var(--ease) both; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__item--1 { grid-column: 1 / 4; grid-row: 1 / 4; }
.mosaic__item--2 { grid-column: 4 / 7; grid-row: 1 / 3; animation-delay: .08s; }
.mosaic__item--3 { grid-column: 4 / 7; grid-row: 3 / 7; animation-delay: .16s; }
.mosaic__item--4 { grid-column: 1 / 3; grid-row: 4 / 7; animation-delay: .24s; }
.mosaic__item--5 { grid-column: 3 / 4; grid-row: 4 / 7; animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.face-frame { position: absolute; left: 34%; top: 22%; width: 30%; aspect-ratio: 1; }
.face-frame i { position: absolute; width: 22%; height: 22%; border: 2px solid #fff; }
.face-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.face-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.face-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.face-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.face-frame { animation: frame 3.2s var(--ease) infinite; }
@keyframes frame { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.06); opacity: .7; } }
.hero-card { position: absolute; left: -6px; bottom: -18px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-lg); animation: rise 1s .5s var(--ease) both; }
.hero-card strong { display: block; font-size: 14.5px; }
.hero-card small { color: var(--muted); font-size: 12.5px; }
.hero-card__thumbs { display: flex; }
.hero-card__thumbs span { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid var(--surface); margin-left: -10px; background: var(--surface-2); }
.hero-card__thumbs span:first-child { margin-left: 0; }
.hero-card__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 40px; padding-bottom: 96px; min-height: calc(100vh - 110px); }
  .hero-card { left: -28px; bottom: 32px; }
}

/* ---------- Seksionet ---------- */
.section { padding: 64px 20px; }
.section__head { margin-bottom: 36px; max-width: 640px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bg); padding: 28px 24px 32px; position: relative; }
.step__n { font: italic 400 20px/1 var(--serif); color: var(--accent); }
.step__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); margin: 22px 0 18px; }
.step__ic .ic { width: 22px; height: 22px; }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 34ch; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { padding: 36px 32px 40px; } }

.event-cards { display: grid; gap: 18px; }
@media (min-width: 700px) { .event-cards { grid-template-columns: repeat(3, 1fr); } }
.event-card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card__img img { transform: scale(1.04); }
.event-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px 18px; }
.event-card__name { font: 400 24px/1.15 var(--serif); margin-top: 6px; }
.event-card__meta { color: var(--muted); font-size: 14px; }
.event-card__code { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: 6px; flex-wrap: wrap; }

.section--split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .section--split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .ic { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.feature-list strong { display: block; font-weight: 600; }
.feature-list p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.pro-preview { background: var(--dark); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; }
.pro-preview__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--dark-line); }
.pro-preview__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--dark-3); }
.pro-preview__body { padding: 22px; }
.pro-preview__title { font: 400 26px/1.1 var(--serif); }
.pro-preview__path { font-size: 12.5px; color: var(--dark-muted); margin-top: 6px; }
.pro-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.pro-preview__tile { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--dark-3); }
.pro-preview__tile img { width: 100%; height: 100%; object-fit: cover; }
.pro-preview__tile .dot { position: absolute; top: 7px; right: 7px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); }
.pro-preview__stats { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--dark-muted); }
.pro-preview__stats b { color: #fff; font-weight: 600; }
.pro-preview__stats .t-warn { color: #E7B45A; } .pro-preview__stats .t-ok { color: #6FCB9C; }

.privacy { background: var(--dark); color: #EDEAE4; padding: 80px 0; margin-top: 40px; }
.privacy .h2 { max-width: 22ch; }
.privacy__grid { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 760px) { .privacy__grid { grid-template-columns: repeat(4, 1fr); } }
.privacy__grid > div { border-top: 1px solid var(--dark-line); padding-top: 20px; }
.privacy__grid .ic { width: 22px; height: 22px; color: #E9937F; }
.privacy__grid h3 { font-size: 17px; font-weight: 600; margin: 14px 0 6px; }
.privacy__grid p { color: var(--dark-muted); font-size: 15px; }
.privacy__note { display: flex; gap: 10px; align-items: center; margin-top: 44px; font-size: 14px; color: var(--dark-muted); }
.privacy + .site-foot { margin-top: 0; }

/* ---------- Find event modal ---------- */
.demo-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-events a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--line); transition: background .15s; }
.demo-events a:hover { background: var(--bg); }
.demo-events__thumb { width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--surface-2); }
.demo-events__thumb img { width: 100%; height: 100%; object-fit: cover; }
.demo-events__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14.5px; }
.demo-events__txt span { color: var(--muted); font-size: 13px; }
.code-form { display: grid; gap: 14px; }

/* ---------- Faqja e eventit ---------- */
.event-hero { position: relative; min-height: 70vh; min-height: 70svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.event-hero__bg { position: absolute; inset: 0; }
.event-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: zoom 14s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } }
.event-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .88) 0%, rgba(10, 9, 8, .35) 45%, rgba(10, 9, 8, .45) 100%); }
.event-hero__content { position: relative; padding-top: 120px; padding-bottom: 40px; }
.event-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.event-hero__meta span { display: inline-flex; gap: 8px; align-items: center; }
.event-body { display: grid; gap: 24px; padding-top: 0; padding-bottom: 48px; }
.event-panel { background: var(--surface); border-radius: var(--r-lg); padding: 22px; margin-top: -28px; position: relative; box-shadow: var(--shadow); display: grid; gap: 22px; }
@media (min-width: 900px) { .event-body { grid-template-columns: 1.3fr 1fr; gap: 32px; } .event-panel { padding: 30px; } }
.photographer { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.photographer__label { display: block; font-size: 12.5px; color: var(--muted); }
.access-form { display: grid; gap: 16px; }
.access-form--card { background: var(--surface); padding: 28px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.access-form__head { display: flex; gap: 14px; align-items: flex-start; }
.access-form__head > .ic { width: 22px; height: 22px; margin-top: 4px; color: var(--accent); }
.access-form__head .muted { margin-top: 4px; font-size: 15px; }
.event-cta { display: grid; gap: 12px; }
.event-cta__note { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.event-cta__note .ic { margin-top: 2px; color: var(--ok); }
.event-side { display: grid; gap: 16px; align-content: start; padding-top: 4px; }
@media (min-width: 900px) { .event-side { padding-top: 24px; } }
.status-note { display: flex; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.status-note > .ic { width: 20px; height: 20px; margin-top: 2px; }
.status-note p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.status-note--live > .ic { color: var(--accent); animation: pulse 1.8s infinite; }
.status-note--uploading > .ic { color: var(--warn); }
.status-note--finished > .ic { color: var(--ok); }
.event-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.event-facts div { background: var(--bg); padding: 12px 14px; }
.event-facts dt { font-size: 12.5px; color: var(--muted); }
.event-facts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 500; }
.highlights { grid-column: 1 / -1; margin-top: 16px; }
.highlights .muted { font-size: 14.5px; margin-top: 4px; }
.highlights__row { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; margin-top: 16px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.highlights__item { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; background: var(--surface-2); }
.highlights__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .highlights__row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); } }

/* ---------- Hyrja ---------- */
.auth { display: grid; min-height: calc(100vh - 32px); }
.auth__visual { display: none; position: relative; background: var(--dark); overflow: hidden; }
.auth__visual img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.auth__quote { position: absolute; left: 40px; right: 40px; bottom: 40px; color: #fff; font: italic 400 30px/1.2 var(--serif); max-width: 22ch; }
.auth__form-wrap { padding: 28px 20px; display: flex; flex-direction: column; gap: 40px; }
.auth__form { display: grid; gap: 16px; width: 100%; max-width: 400px; margin: auto; }
.auth__form .h2 { margin-bottom: -8px; }
@media (min-width: 900px) { .auth { grid-template-columns: 1.1fr 1fr; } .auth__visual { display: block; } .auth__form-wrap { padding: 40px 56px; } }

/* ---------- Flow i selfies (i errët) ---------- */
.flow { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--dark); color: #F2EFEA; }
.flow__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.flow__title { flex: 1; text-align: center; min-width: 0; font-size: 14px; color: var(--dark-muted); }
.flow__title > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow__steps { list-style: none; padding: 0; margin: 8px auto 0; display: flex; gap: 5px; justify-content: center; }
.flow__steps li { width: 26px; height: 3px; border-radius: 3px; background: var(--dark-3); transition: background .3s; }
.flow__steps li.is-on { background: #fff; }
.flow__spacer { width: var(--tap); }
.flow__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 20px 24px; }
.flow__main:focus { outline: none; }
.flow__demo { padding: 0 16px 16px; display: flex; justify-content: center; }
.flow-card { width: 100%; max-width: 440px; display: grid; gap: 16px; animation: rise .5s var(--ease) both; }
.flow-card__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--dark-2); border: 1px solid var(--dark-line); color: #E9937F; margin-bottom: 4px; }
.flow-card__ic .ic { width: 26px; height: 26px; }
.flow-card__ic--warn { color: #E7B45A; }
.flow-lead { color: #C9C4BB; font-size: 16px; }
.flow-lead strong { color: #fff; font-weight: 500; }
.flow-small { display: flex; gap: 8px; align-items: center; color: var(--dark-muted); font-size: 13.5px; }
.consent-list, .tips { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 12px; }
.consent-list li, .tips li { display: flex; gap: 12px; font-size: 15px; color: #DAD5CC; }
.consent-list .ic { color: #6FCB9C; margin-top: 3px; }
.consent-list strong { color: #fff; font-weight: 500; }
.consent-list + .check { padding: 16px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); }
.tips li { align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--dark-2); }
.tips .ic { color: #E9937F; width: 20px; height: 20px; }

.demo-tools { width: 100%; max-width: 440px; border: 1px dashed var(--dark-line); border-radius: var(--r); font-size: 13.5px; color: var(--dark-muted); }
.demo-tools summary { display: flex; gap: 8px; align-items: center; padding: 10px 14px; cursor: pointer; list-style: none; min-height: var(--tap); }
.demo-tools summary::-webkit-details-marker { display: none; }
.demo-tools__body { display: grid; gap: 12px; padding: 0 14px 14px; }
.demo-tools__note { font-size: 12.5px; }

.camera { width: 100%; max-width: min(520px, calc((100vh - 250px) * .75)); max-width: min(520px, calc((100svh - 250px) * .75)); display: grid; gap: 20px; }
.camera__view { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden; background: #000; }
.camera__video { width: 100%; height: 100%; object-fit: cover; }
.camera__video.is-mirrored { transform: scaleX(-1); }
.camera__guide { position: absolute; inset: 0; display: grid; place-items: center; }
.camera__oval { width: 62%; aspect-ratio: 3 / 4; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .45); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.025); border-color: rgba(255, 255, 255, .6); } }
.camera__hint { position: absolute; left: 16px; right: 16px; bottom: 18px; text-align: center; font-size: 14.5px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.camera__controls { display: flex; align-items: center; justify-content: space-evenly; }
.shutter { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #fff; background: transparent; padding: 5px; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .12s; }
.shutter:active span { transform: scale(.88); }
.preview { width: 100%; max-width: 440px; display: grid; gap: 18px; animation: rise .4s var(--ease) both; }
.preview__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; background: var(--dark-2); }
.preview__img img { width: 100%; height: 100%; object-fit: cover; }
.preview__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks__item { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; font-size: 13px; background: var(--dark-2); }
.checks__item--ok .ic { color: #6FCB9C; } .checks__item--warn .ic { color: #E7B45A; }
.problem-thumb { position: relative; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--dark-2); }
.problem-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); }
.problem-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #E7B45A; }
.problem-thumb .ic { width: 34px; height: 34px; }
.searching { text-align: center; display: grid; justify-items: center; gap: 14px; max-width: 420px; }
.searching__grid { position: relative; display: grid; grid-template-columns: repeat(4, 56px); gap: 6px; margin-bottom: 18px; border-radius: var(--r); overflow: hidden; }
.searching__grid span { aspect-ratio: 1; border-radius: 6px; background: var(--dark-3); animation: shimmer 1.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes shimmer { 50% { background: #3E3A35; } }
.searching__scan { position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(to bottom, transparent, rgba(233, 147, 127, .35), transparent); animation: scan 1.8s ease-in-out infinite; }
@keyframes scan { 0% { top: -40%; } 100% { top: 100%; } }
.searching__note { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--dark-muted); }

/* ---------- Albumi ---------- */
.album { padding-top: 16px; }
.album__head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin: 12px 0 24px; }
.album__event { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.album__event:hover { color: var(--ink); }
.album__meta { color: var(--muted); margin-top: 8px; font-size: 15px; }
.album__head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.album__toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.album__hint { font-size: 13.5px; color: var(--muted); }
.masonry { columns: 2; column-gap: 8px; }
@media (min-width: 640px) { .masonry { columns: 3; column-gap: 12px; } }
@media (min-width: 1040px) { .masonry { columns: 4; column-gap: 14px; } }
.tile { position: relative; margin: 0 0 8px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--surface-2); aspect-ratio: var(--ar, 1.5); animation: rise .5s var(--ease) both; }
@media (min-width: 640px) { .tile { margin-bottom: 12px; } }
.tile__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile__open img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s, transform .5s var(--ease); }
.tile__open img.is-loaded { opacity: 1; }
.tile:hover .tile__open img { transform: scale(1.02); }
.tile.is-selected { outline: 3px solid var(--accent); outline-offset: -3px; }
.tile.is-selected .tile__open img { transform: scale(.94); border-radius: 8px; }
.tile.is-new { animation: rise .6s var(--ease) both; }
.tile__check { position: absolute; top: 8px; left: 8px; cursor: pointer; }
.tile__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile__check span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: rgba(18, 17, 16, .35); color: transparent; transition: .15s; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.tile__check span .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.tile__check::before { content: ''; position: absolute; inset: -8px; }
.tile__check input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile__check input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.tile__badge { position: absolute; top: 10px; right: 10px; padding: 3px 9px; font-size: 12px; font-weight: 600; border-radius: 99px; background: var(--accent); color: #fff; }
.tile__actions { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; opacity: 1; transition: opacity .2s; }
@media (hover: hover) { .tile__actions { opacity: 0; } .tile:hover .tile__actions, .tile:focus-within .tile__actions { opacity: 1; } }
.album__foot { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .album__foot { grid-template-columns: 1fr 1fr; } }
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; align-content: start; }
.share-box .muted { font-size: 14.5px; }
.share-box .btn { justify-self: start; }
.selbar { position: fixed; z-index: 30; left: 50%; bottom: 16px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); font-size: 14.5px; white-space: nowrap; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.selbar.is-visible { transform: translate(-50%, 0); }
.honest { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--surface-2); }
.honest > .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-2); }
.honest .muted { font-size: 14.5px; margin-top: 4px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(18, 17, 16, .55); opacity: 0; transition: opacity .2s; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.modal--dark .modal__backdrop { background: rgba(8, 8, 7, .96); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: 100%; max-height: 92vh; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--shadow-lg); transform: translateY(24px); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal__panel { max-width: 560px; border-radius: var(--r-xl); }
  .modal__panel--sm { max-width: 440px; }
  .modal__panel--lg { max-width: 720px; }
}
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 6px 24px; }
.modal__title { font: 400 28px/1.1 var(--serif); }
.modal__body { padding: 8px 24px 20px; overflow-y: auto; }
.modal__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.modal__bare { position: relative; width: 100%; height: 100%; opacity: 0; transition: opacity .2s; }
.modal.is-open .modal__bare { opacity: 1; }

/* Lightbox */
.lightbox { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; position: relative; z-index: 2; }
.lightbox__count { font-size: 14px; color: var(--dark-muted); padding-left: 8px; font-variant-numeric: tabular-nums; }
.lightbox__tools { display: flex; gap: 6px; align-items: center; }
.lightbox__stage { flex: 1; min-height: 0; position: relative; margin: 4px 12px 24px; }
.lightbox__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: fadein .3s ease both; }
.lightbox__stage.img-fallback { margin: 20px; border-radius: var(--r); background-color: var(--dark-2) !important; }
@keyframes fadein { from { opacity: 0; } }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; z-index: 2; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox__nav .ic { width: 24px; height: 24px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 18px; transform: none; } .lightbox__stage { margin-bottom: 88px; } }

/* QR */
.qr-card { text-align: center; padding: 20px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.qr-card__code { width: min(240px, 70vw); margin: 0 auto; }
.qr-svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.qr-card__name { font: 400 24px/1.15 var(--serif); margin-top: 14px; }
.qr-card__meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.qr-fallback { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px; color: var(--muted); font-size: 13.5px; }
.qr-fallback .ic { width: 36px; height: 36px; }

/* Toasts */
.toasts { position: fixed; z-index: 80; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg); animation: toastin .3s var(--ease) both; }
.toast.is-out { animation: toastout .25s ease both; }
.toast > span { flex: 1; }
.toast--ok > .ic { color: #6FCB9C; } .toast--err > .ic { color: #F08A84; } .toast--warn > .ic { color: #E7B45A; }
.toast__btn { background: none; border: 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } }
@keyframes toastout { to { opacity: 0; transform: translateY(6px); } }
body:has(.selbar.is-visible) .toasts { bottom: 84px; }

/* ---------- Dashboard ---------- */
.dash { min-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.dash__side { background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; z-index: 20; }
.dash__brand { display: flex; align-items: center; gap: 10px; }
.dash__brand .logo__word { font-size: 22px; }
.dash__kind { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.dash__nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
.dash__nav::-webkit-scrollbar { display: none; }
.dash__nav a, .dash__alt { display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 40px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: 14.5px; white-space: nowrap; flex: none; }
.dash__nav a:hover, .dash__alt:hover { background: var(--bg); color: var(--ink); }
.dash__nav a.is-active { background: var(--ink); color: #fff; }
.dash__side-foot { display: none; }
.dash__main { flex: 1; padding: 20px 16px 64px; min-width: 0; width: 100%; max-width: 1240px; }
@media (min-width: 1000px) {
  .dash { flex-direction: row; }
  .dash__side { width: 252px; flex: none; height: calc(100vh - 32px); top: 0; border-bottom: 0; border-right: 1px solid var(--line); padding: 22px 14px; gap: 28px; }
  .dash__brand { padding: 0 8px; }
  .dash__nav { flex-direction: column; overflow: visible; margin: 0; }
  .dash__nav a { min-height: 42px; }
  .dash__side-foot { display: grid; gap: 2px; margin-top: auto; }
  .dash__alt { color: var(--muted); font-size: 14px; }
  .dash__user { display: flex; align-items: center; gap: 10px; padding: 14px 6px 0; margin-top: 10px; border-top: 1px solid var(--line); }
  .dash__user div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
  .dash__user span { color: var(--muted); font-size: 12.5px; }
  .dash__main { padding: 32px 40px 80px; }
}
.page-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.page-head .muted { margin-top: 6px; }
.page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.stat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.stat__ic { color: var(--muted); margin-bottom: 8px; }
.stat__label { font-size: 13.5px; color: var(--muted); }
.stat__value { font: 400 36px/1 var(--serif); letter-spacing: -.01em; }
.stat__sub { font-size: 12.5px; color: var(--muted); }
.stat .meter { margin-top: 10px; }
.stat__live { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--warn); }
.stat__live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; min-width: 0; }
@media (min-width: 700px) { .card { padding: 22px; } }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.ev-rows { list-style: none; padding: 0; margin: 0; display: grid; }
.ev-rows a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }
.ev-rows li:first-child a { border-top: 0; }
.ev-rows__img { width: 48px; height: 48px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--surface-2); }
.ev-rows__img img { width: 100%; height: 100%; object-fit: cover; }
.ev-rows__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14.5px; }
.ev-rows__txt span { color: var(--muted); font-size: 13px; }
.ev-rows .pill { display: none; }
@media (min-width: 560px) { .ev-rows .pill { display: inline-flex; } }
.activity { list-style: none; margin: 0; padding: 0; display: grid; }
.activity li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.activity li:first-child { border-top: 0; }
.activity__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); color: var(--ink-2); flex: none; }
.activity__ic .ic { width: 15px; height: 15px; }
.activity__txt { flex: 1; padding-top: 4px; }
.activity time { font-size: 12.5px; color: var(--muted); white-space: nowrap; padding-top: 5px; }
.big-num { font: 400 52px/1 var(--serif); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.search-input { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 40px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.search-input:focus-within { border-color: var(--ink); }
.search-input input { flex: 1; border: 0; background: none; outline: none; min-height: 38px; font-size: 14.5px; color: var(--ink); min-width: 0; }
.filters .input--sm { width: auto; flex: 0 1 200px; border-radius: 999px; }
.st-events { display: grid; gap: 14px; }
@media (min-width: 700px) { .st-events { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .st-events { grid-template-columns: repeat(3, 1fr); } }
.st-event { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.st-event__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); display: block; }
.st-event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.st-event:hover .st-event__img img { transform: scale(1.03); }
.st-event__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.st-event__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.st-event__name { font: 400 24px/1.15 var(--serif); margin-top: 6px; }
.st-event__name a { text-decoration: none; }
.st-event__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.st-event__meta { font-size: 14px; color: var(--muted); }
.st-event__count { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.st-event__actions { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.st-event__actions .icon-btn { margin-left: auto; border: 1px solid var(--line-2); width: 38px; height: 38px; }

/* Forma */
.form { display: grid; gap: 16px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.choice-cards { display: grid; gap: 10px; }
@media (min-width: 520px) { .choice-cards { grid-template-columns: 1fr 1fr; } }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 14px; border: 1.5px solid var(--line-2); border-radius: var(--r); transition: .15s; height: 100%; }
.choice .ic { grid-row: span 2; margin-top: 2px; }
.choice small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice input:checked + span { border-color: var(--ink); background: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cover-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .cover-pick { grid-template-columns: repeat(6, 1fr); } }
.cover-pick__item { cursor: pointer; }
.cover-pick__item input { position: absolute; opacity: 0; }
.cover-pick__item span { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s; background: var(--surface-2); }
.cover-pick__item img { width: 100%; height: 100%; object-fit: cover; }
.cover-pick__item input:checked + span { outline-color: var(--accent); }
.cover-pick__item input:focus-visible + span { outline-color: var(--ink); }
.form__actions { display: flex; justify-content: flex-end; }
.fixed-setting { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-soft); color: #1F4D38; font-size: 14px; }
.fixed-setting .ic { margin-top: 2px; }
.settings .card__head { margin-bottom: 0; }
.danger-zone { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border-color: #EDC3C0; }
.danger-zone .muted { font-size: 14.5px; margin-top: 4px; max-width: 52ch; }

/* Detajet e eventit */
.back-link { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 16px; min-height: 32px; }
.back-link:hover { color: var(--ink); }
.ev-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 20px; }
.ev-head__img { width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.ev-head__img img { width: 100%; height: 100%; object-fit: cover; }
.ev-head__txt .h2 { margin: 8px 0 4px; }
.ev-head__txt .muted { font-size: 14px; }
.ev-head__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1100px) { .ev-head { grid-template-columns: auto 1fr auto; } .ev-head__img { width: 96px; height: 96px; } .ev-head__actions { grid-column: auto; justify-content: flex-end; max-width: 360px; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 46px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 500; font-size: 14.5px; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--accent); }
.tab__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--err); color: #fff; font-size: 12px; display: grid; place-items: center; }
.ph-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; white-space: nowrap; color: var(--ink-2); }
.chip span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: rgba(255, 255, 255, .7); }
.chip--err:not(.is-on) span { color: var(--err); font-weight: 600; }
.bulkbar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; margin-bottom: 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
.bulkbar span { flex: 1; }
.bulkbar .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.bulkbar .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.bulkbar .btn--danger-ghost { color: #F6B3AE; border-color: rgba(246, 179, 174, .4); }
.bulkbar .btn--danger-ghost:hover { background: rgba(246, 179, 174, .12); }
.st-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .st-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .st-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.st-photo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.st-photo.is-selected { outline: 2px solid var(--accent); outline-offset: -1px; }
.st-photo__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.st-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.st-photo--pending .st-photo__img img, .st-photo--processing .st-photo__img img { filter: saturate(.3) brightness(.9); }
.st-photo--error .st-photo__img img { filter: grayscale(1) brightness(.75); }
.st-photo__pill { position: absolute; right: 8px; bottom: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.st-photo figcaption { padding: 10px 12px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; flex: 1; }
.st-photo__name { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-photo__meta { color: var(--muted); font-size: 12.5px; }
.st-photo__err { color: var(--err); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.st-photo__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 6px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 20px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); margin-bottom: 6px; }
.dropzone__ic .ic { width: 24px; height: 24px; }
.dropzone .muted { font-size: 14px; }
.upload-alt { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; font-size: 14px; }
.up-list { list-style: none; padding: 0; margin: 0; display: grid; }
.up-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.up-list li:first-child { border-top: 0; }
.up-list__img { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex: none; background: var(--surface-2); }
.up-list__img img { width: 100%; height: 100%; object-fit: cover; }
.up-list__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

/* SFTP */
.sftp { display: grid; gap: 16px; }
@media (min-width: 1000px) { .sftp { grid-template-columns: 1.3fr 1fr; } .sftp__guide { grid-column: 1 / -1; } }
.cred { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.cred:first-of-type { border-top: 0; }
.cred__label { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.cred__value { font-size: 14.5px; word-break: break-all; }
.cred__value--muted { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.conn { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r); background: var(--bg); margin-bottom: 14px; }
.conn > div { display: flex; flex-direction: column; font-size: 14px; }
.conn .muted { font-size: 13px; }
.conn__dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.conn__dot--demo { background: transparent; border: 2px solid var(--warn); }
.kv { margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv dt { font-size: 12.5px; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-weight: 500; }
.guide { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.guide li::marker { color: var(--accent); font-weight: 600; }

/* Tabela */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td .ic { vertical-align: -3px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg); }
.strong-link { font-weight: 500; text-decoration: none; }
.strong-link:hover { text-decoration: underline; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.cell-user div { display: flex; flex-direction: column; }
.cell-meter { display: grid; gap: 6px; min-width: 140px; }
