/* ==========================================================================
   ARRA Academy eService — Design System "Neon Cortex"
   Ngjyrat e brendit: magenta → vjollcë, mbi një bazë të errët "midnight".
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand-1: #ff1f8f;
  --brand-2: #c026d3;
  --brand-3: #7c3aed;
  --brand-grad: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 45%, var(--brand-3) 100%);
  --cyan: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sidebar-w: 276px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* dark (default) */
  --bg: #07060c;
  --bg-2: #0d0b16;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --surface-solid: #121020;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f4f2fb;
  --text-2: #b6b0c9;
  --text-3: #7d7695;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(255, 31, 143, .35), 0 10px 40px -8px rgba(192, 38, 211, .55);
  --aurora-op: .55;
  --grid-color: rgba(255, 255, 255, .035);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f5fc;
  --bg-2: #efebf8;
  --surface: rgba(255, 255, 255, .72);
  --surface-2: rgba(255, 255, 255, .95);
  --surface-solid: #ffffff;
  --border: rgba(40, 20, 80, .09);
  --border-strong: rgba(40, 20, 80, .18);
  --text: #16112a;
  --text-2: #4d4566;
  --text-3: #8a83a3;
  --shadow: 0 18px 50px -24px rgba(60, 30, 120, .28);
  --glow: 0 0 0 1px rgba(255, 31, 143, .3), 0 10px 30px -10px rgba(192, 38, 211, .45);
  --aurora-op: .28;
  --grid-color: rgba(40, 20, 80, .045);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: rgba(255, 31, 143, .35); }
:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; border-radius: 6px; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Ambient background (aurora + grid + grain) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient::before { /* grid */
  content: ""; position: absolute; inset: -1px;
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.ambient::after { /* grain */
  content: ""; position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--aurora-op); will-change: transform; }
.blob.b1 { width: 620px; height: 620px; background: radial-gradient(circle, #ff1f8f 0%, transparent 65%); top: -240px; left: -120px; animation: drift1 26s var(--ease) infinite alternate; }
.blob.b2 { width: 700px; height: 700px; background: radial-gradient(circle, #7c3aed 0%, transparent 65%); top: -200px; right: -220px; animation: drift2 32s var(--ease) infinite alternate; }
.blob.b3 { width: 520px; height: 520px; background: radial-gradient(circle, #22d3ee 0%, transparent 65%); bottom: -280px; left: 35%; opacity: calc(var(--aurora-op) * .45); animation: drift3 38s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, 160px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-200px, -120px) scale(1.2); } }

/* ---------- 4. Buttons & form controls ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface-2); font-weight: 650; font-size: 14.5px; letter-spacing: -.005em;
  transition: transform .25s var(--spring), box-shadow .3s var(--ease), background .3s, border-color .3s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand-grad); color: #fff; border: 0; box-shadow: var(--glow); overflow: hidden; }
.btn-primary::after { /* shimmer */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 31, 143, .5), 0 18px 50px -10px rgba(192, 38, 211, .75); }
.btn-ghost { background: transparent; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.field { position: relative; margin-bottom: 16px; }
.field label.lbl, .field span.lbl { display: block; font-size: 13px; font-weight: 650; color: var(--text-2); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap > .ico + .input { padding-left: 44px; }
.input-wrap > .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 18px; height: 18px; pointer-events: none; transition: color .2s; }
.input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s, background .25s;
}
select.input { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select.input option { background: var(--surface-solid); color: var(--text); }
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--border-strong); }
.input:focus { outline: none; border-color: rgba(255, 31, 143, .6); box-shadow: 0 0 0 4px rgba(255, 31, 143, .14); background: var(--surface-2); }
.input-wrap:focus-within > .ico { color: var(--brand-1); }
.input-action { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text-3); border-radius: 10px; }
.input-action:hover { color: var(--text); background: var(--surface-2); }
.hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.hint.warn { color: var(--warn); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--surface); flex-shrink: 0; margin: 1px 0 0; display: grid; place-items: center; transition: .2s; cursor: pointer; }
.check input:checked { background: var(--brand-grad); border-color: transparent; }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--brand-1); font-weight: 600; }

/* password strength meter */
.strength { display: flex; gap: 5px; margin-top: 8px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background .3s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--err); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-score="3"] i:nth-child(-n+3) { background: #a3e635; }
.strength[data-score="4"] i { background: var(--ok); }

/* ---------- 5. Toasts ---------- */
.toasts { position: fixed; top: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; width: min(400px, calc(100vw - 40px)); }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: toastIn .55s var(--spring) both; font-size: 14px; position: relative; overflow: hidden; word-break: break-word;
}
.toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--brand-1)); }
.toast .ico { color: var(--c); margin-top: 1px; }
.toast.success { --c: var(--ok); } .toast.error { --c: var(--err); } .toast.info { --c: var(--cyan); }
.toast .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--c); animation: toastBar 7s linear forwards; }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast-x { margin-left: auto; background: none; border: 0; color: var(--text-3); padding: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes toastBar { from { width: 100%; } to { width: 0; } }

/* ==========================================================================
   AUTH (login / register)
   ========================================================================== */
.auth { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 100vh; }
.auth-visual { position: relative; overflow: hidden; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--border); background: radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, .18), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255, 31, 143, .14), transparent 55%); }
#neural { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.auth-visual > * { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .32em; color: var(--text-3); text-transform: lowercase; margin-top: 4px; }
.auth-hero h1 { font-size: clamp(40px, 4.6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.auth-hero p { font-size: 17px; color: var(--text-2); max-width: 470px; margin-top: 22px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1/1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; opacity: 0; transform: translateY(60%) rotateX(-60deg); transition: opacity .6s var(--ease), transform .7s var(--spring); }
.rotator span.on { opacity: 1; transform: none; }
.rotator span.off { opacity: 0; transform: translateY(-60%) rotateX(60deg); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 26px; backdrop-filter: blur(10px); }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; color: #fff; }
.eyebrow .dot .ico { width: 12px; height: 12px; }
.auth-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.chip-stat { padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); min-width: 130px; }
.chip-stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.chip-stat span { font-size: 12.5px; color: var(--text-3); font-weight: 600; }

.auth-panel { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.auth-card { width: 100%; max-width: 440px; animation: rise .8s var(--ease) both; }
.auth-card.wide { max-width: 560px; }
.auth-card h2 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; }
.auth-card .sub { color: var(--text-2); margin: 10px 0 30px; }
.auth-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--text-2); }
.auth-foot a, .link { color: var(--brand-1); font-weight: 650; }
.link:hover, .auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 12px; font-weight: 600; margin: 24px 0; text-transform: uppercase; letter-spacing: .12em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-top { position: absolute; top: 22px; right: 24px; display: flex; gap: 8px; }
.auth-mobile-brand { display: none; margin-bottom: 30px; }
.cohort-pick { display: grid; gap: 10px; margin-bottom: 16px; }
.cohort-opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: .25s var(--ease); }
.cohort-opt:hover { border-color: var(--border-strong); }
.cohort-opt input { position: absolute; opacity: 0; }
.cohort-opt .code { font-family: var(--font-display); font-weight: 800; font-size: 18px; width: 58px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); transition: .25s; }
.cohort-opt:has(input:checked) { border-color: rgba(255, 31, 143, .6); box-shadow: 0 0 0 4px rgba(255, 31, 143, .12); }
.cohort-opt:has(input:checked) .code { background: var(--brand-grad); color: #fff; }
.cohort-opt b { display: block; font-size: 14.5px; }
.cohort-opt small { color: var(--text-3); font-size: 12.5px; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.steps-dots i { height: 5px; flex: 1; border-radius: 4px; background: var(--border); }
.steps-dots i.on { background: var(--brand-grad); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ==========================================================================
   APP SHELL
   ========================================================================== */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

/* ---- Sidebar ---- */
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  padding: 22px 16px 16px; border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--bg);
  z-index: 50;
}
[data-theme="light"] .sidebar { background: rgba(255, 255, 255, .6); backdrop-filter: blur(20px); }
.sidebar .brand { padding: 0 8px; margin-bottom: 22px; }
.sb-cohort { margin: 0 4px 18px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; gap: 12px; }
.sb-cohort .tag { font-family: var(--font-display); font-weight: 800; font-size: 13px; padding: 7px 9px; border-radius: 10px; background: var(--brand-grad); color: #fff; box-shadow: var(--glow); }
.sb-cohort b { display: block; font-size: 13px; }
.sb-cohort small { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
.pulse.amber { background: var(--warn); box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); }
.pulse.red { background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }

.nav { flex: 1; overflow-y: auto; padding: 0 4px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.nav-group { margin-bottom: 18px; }
.nav-title { font-size: 10.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; color: var(--text-3); padding: 0 12px; margin-bottom: 6px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px;
  border-radius: 12px; color: var(--text-2); font-weight: 600; font-size: 14px;
  transition: color .2s, background .25s var(--ease), transform .25s var(--spring);
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a:hover .ico { transform: scale(1.12) rotate(-4deg); }
.nav a .ico { transition: transform .3s var(--spring); }
.nav a.active { color: var(--text); background: linear-gradient(90deg, rgba(255, 31, 143, .16), rgba(124, 58, 237, .08)); }
.nav a.active::before { content: ""; position: absolute; left: -4px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--brand-grad); box-shadow: 0 0 14px var(--brand-1); }
.nav a.active .ico { color: var(--brand-1); }
.nav a.locked { opacity: .45; }
.nav a .lock { margin-left: auto; width: 14px; height: 14px; }
.nav a .soon { margin-left: auto; font-size: 9.5px; font-weight: 750; letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text-3); text-transform: uppercase; }

.sb-user { margin-top: 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; gap: 11px; }
.sb-user .who { min-width: 0; flex: 1; }
.sb-user b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user small { font-size: 11.5px; color: var(--text-3); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: .25s var(--ease); position: relative; flex-shrink: 0; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn.bare { border: 0; background: transparent; }
.icon-btn .badge-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 2px var(--bg); }
.avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; background: var(--brand-grad); flex-shrink: 0; position: relative; }
.avatar.sm { width: 34px; height: 34px; border-radius: 11px; font-size: 12px; }
.avatar.alt { background: linear-gradient(135deg, #22d3ee, #7c3aed); }

/* ---- Main ---- */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; height: 74px; padding: 0 32px; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--border); }
.topbar h1 { font-size: 20px; font-weight: 700; }
.crumb { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.search-trigger { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; width: 280px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); color: var(--text-3); font-size: 14px; transition: .25s; }
.search-trigger:hover { border-color: var(--border-strong); color: var(--text-2); }
.kbd { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 3px 7px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-3); }
.menu-btn { display: none; }
.content { padding: 8px 32px 48px; flex: 1; }
.page-foot { padding: 20px 32px 28px; font-size: 12.5px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---- Cards / bento ---- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.card {
  position: relative; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(16px); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
[data-theme="light"] .card { box-shadow: var(--shadow); }
.card.spot::before { /* mouse spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 31, 143, .10), transparent 45%);
}
.card.spot:hover::before { opacity: 1; }
.card.spot:hover { border-color: var(--border-strong); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-head h3 .ico { color: var(--brand-1); }
.card-link { font-size: 13px; color: var(--text-3); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, gap .25s; }
.card-link .ico { width: 15px; height: 15px; }
.card-link:hover { color: var(--brand-1); gap: 9px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.badge.brand { background: rgba(255, 31, 143, .12); border-color: rgba(255, 31, 143, .3); color: #ff6bb5; }
.badge.ok { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .3); color: var(--ok); }
.badge.warn { background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .3); color: var(--warn); }
.badge.live { background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .35); color: #f87171; }
[data-theme="light"] .badge.brand { color: #d0006f; } [data-theme="light"] .badge.ok { color: #059669; } [data-theme="light"] .badge.warn { color: #b45309; }

/* ---- Hero (student) ---- */
.hero { padding: 30px; min-height: 290px; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  background: radial-gradient(ellipse at 0% 0%, rgba(255, 31, 143, .20), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, .22), transparent 55%), var(--surface); }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed var(--border-strong); opacity: .5; animation: spin 60s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .hello { font-size: 13.5px; color: var(--text-3); font-weight: 650; display: flex; align-items: center; gap: 8px; }
.hero h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; margin: 8px 0 14px; }
.hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.next-label { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.countdown { display: flex; gap: 10px; align-items: stretch; margin-bottom: 22px; }
.cd-unit { min-width: 74px; padding: 12px 10px 9px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
.cd-unit b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit b.tick { animation: tick .45s var(--spring); }
.cd-unit small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cd-sep { align-self: center; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text-3); animation: blink 1s steps(2) infinite; }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* progress ring */
.ring { position: relative; width: 200px; height: 200px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: var(--border); }
.ring .val { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 534; stroke-dashoffset: 534; transition: stroke-dashoffset 2s var(--ease); filter: drop-shadow(0 0 10px rgba(255, 31, 143, .5)); }
.ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .center b { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ring .center b sup { font-size: 20px; }
.ring .center small { display: block; font-size: 12px; color: var(--text-3); font-weight: 650; margin-top: 4px; }

/* module card */
.mod-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--mc, var(--brand-1)); box-shadow: 0 10px 30px -8px var(--mc); }
.mod-icon .ico { width: 24px; height: 24px; }
.progress { height: 8px; border-radius: 8px; background: var(--border); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pc, var(--brand-grad)); transition: width 1.6s var(--ease); position: relative; }
.progress > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: sheen 2.4s infinite; }
@keyframes sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.kv { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin: 14px 0 8px; }
.kv b { color: var(--text); }

/* quick actions */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.qa { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); transition: .35s var(--ease); position: relative; overflow: hidden; }
.qa:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.qa .qi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--qc) 16%, transparent); color: var(--qc); transition: transform .4s var(--spring); }
.qa:hover .qi { transform: scale(1.1) rotate(-6deg); }
.qa b { font-size: 14.5px; display: block; }
.qa small { color: var(--text-3); font-size: 12.5px; }
.qa .go { position: absolute; top: 18px; right: 18px; color: var(--text-3); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); width: 18px; height: 18px; }
.qa:hover .go { opacity: 1; transform: none; }
.qa.locked { opacity: .55; }

/* journey timeline */
.journey { display: grid; gap: 4px; }
.jstep { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 6px; border-radius: 16px; position: relative; transition: background .25s; }
.jstep:hover { background: var(--surface-2); }
.jstep .node { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-3); position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.jstep:not(:last-child) .node::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 22px; background: var(--border); transform: translateX(-50%); }
.jstep.done .node { background: color-mix(in srgb, var(--mc) 18%, transparent); color: var(--mc); border-color: color-mix(in srgb, var(--mc) 40%, transparent); }
.jstep.done:not(:last-child) .node::after { background: var(--mc); opacity: .6; }
.jstep.current .node { background: var(--mc); color: #fff; border-color: transparent; box-shadow: 0 0 0 5px color-mix(in srgb, var(--mc) 22%, transparent), 0 8px 26px -6px var(--mc); animation: nodeGlow 2.4s ease-in-out infinite; }
@keyframes nodeGlow { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--mc) 10%, transparent), 0 8px 30px -4px var(--mc); } }
.jstep .t b { font-size: 14.5px; display: block; }
.jstep .t small { color: var(--text-3); font-size: 12.5px; }
.jstep.upcoming .t b { color: var(--text-2); }
.jstep .h { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

/* announcements */
.ann { display: grid; gap: 10px; }
.ann-item { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: .25s; }
.ann-item:hover { border-color: var(--border-strong); transform: translateX(3px); }
.ann-item.pinned { border-color: rgba(255, 31, 143, .3); background: linear-gradient(135deg, rgba(255, 31, 143, .08), transparent 60%); }
.ann-item b { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ann-item p { font-size: 13px; color: var(--text-2); margin: 5px 0 8px; }
.ann-item small { font-size: 11.5px; color: var(--text-3); }

/* schedule list */
.sched { display: grid; gap: 8px; }
.sched-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; }
.sched-item:hover { background: var(--surface-2); }
.sched-date { text-align: center; border-radius: 12px; padding: 6px 0; background: var(--surface-2); border: 1px solid var(--border); }
.sched-date b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.1; }
.sched-date small { font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sched-item.first .sched-date { background: var(--brand-grad); color: #fff; border-color: transparent; }
.sched-item.first .sched-date small { color: rgba(255, 255, 255, .8); }
.sched-item b.t { font-size: 13.5px; display: block; }
.sched-item small.s { font-size: 12px; color: var(--text-3); }

/* stat tiles */
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat .top { display: flex; justify-content: space-between; align-items: center; }
.stat .si { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc, var(--brand-1)) 15%, transparent); color: var(--sc, var(--brand-1)); }
.stat .num { font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--text-2); font-weight: 600; }
.stat .trend { font-size: 12px; font-weight: 700; color: var(--ok); }
.stat .trend.flat { color: var(--text-3); }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 750; padding: 0 12px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: var(--surface-2); }
.person { display: flex; align-items: center; gap: 11px; }
.person b { display: block; font-size: 14px; }
.person small { color: var(--text-3); font-size: 12px; }
.table-wrap { overflow-x: auto; margin: 0 -12px; }

/* activity feed */
.feed { display: grid; gap: 2px; }
.feed-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 6px; border-radius: 12px; align-items: start; }
.feed-item .fi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.feed-item .fi .ico { width: 16px; height: 16px; }
.feed-item b { font-size: 13.5px; font-weight: 650; }
.feed-item small { display: block; color: var(--text-3); font-size: 12px; }

/* cohort cards (admin) */
.cohort-card { padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); display: grid; gap: 12px; }
.cohort-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cohort-card .code { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }

/* waiting (applicant) */
.wait-hero { text-align: center; padding: 56px 28px 48px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 31, 143, .22), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(124, 58, 237, .25), transparent 60%), var(--surface); }
.wait-hero h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; margin: 16px auto 12px; max-width: 760px; }
.wait-hero p { color: var(--text-2); max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.wait-hero .countdown { justify-content: center; }
.wait-hero .cd-unit { min-width: 96px; padding: 18px 12px 12px; }
.wait-hero .cd-unit b { font-size: 50px; }
.orbit { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orbit i { position: absolute; left: 50%; top: 50%; border: 1px solid var(--border); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit i:nth-child(1) { width: 520px; height: 520px; }
.orbit i:nth-child(2) { width: 820px; height: 820px; border-style: dashed; animation: spin 90s linear infinite; }
.orbit i:nth-child(3) { width: 1120px; height: 1120px; }
.checklist { display: grid; gap: 8px; }
.cl-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.cl-item .cb { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; border: 1.5px dashed var(--border-strong); color: var(--text-3); flex-shrink: 0; }
.cl-item.done .cb { background: var(--ok); border: 0; color: #04120c; }
.cl-item.done .cb .ico { width: 16px; height: 16px; stroke-width: 3; }
.cl-item b { font-size: 14px; display: block; }
.cl-item small { font-size: 12px; color: var(--text-3); }
.cl-item .btn { margin-left: auto; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.mod-tile { padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; transition: .35s var(--ease); }
.mod-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mc) 50%, transparent); }
.mod-tile::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%; background: var(--mc); opacity: .12; filter: blur(20px); }
.mod-tile .n { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.mod-tile b { display: block; font-size: 14.5px; margin: 10px 0 6px; line-height: 1.3; }
.mod-tile small { color: var(--text-3); font-size: 12.5px; }
.mod-tile .mod-icon { width: 40px; height: 40px; border-radius: 12px; }
.mod-tile .mod-icon .ico { width: 19px; height: 19px; }

/* coming soon */
.soon-wrap { display: grid; place-items: center; min-height: 62vh; text-align: center; }
.soon-card { max-width: 620px; padding: 48px 36px; }
.soon-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 28px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; box-shadow: var(--glow); animation: float 5s ease-in-out infinite; }
.soon-icon .ico { width: 40px; height: 40px; }
.soon-card h2 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.soon-card p { color: var(--text-2); font-size: 15.5px; }
@keyframes float { 50% { transform: translateY(-10px) rotate(3deg); } }

/* ---- Command palette ---- */
.cmdk { position: fixed; inset: 0; z-index: 150; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; background: rgba(5, 3, 12, .55); backdrop-filter: blur(8px); }
.cmdk.open { display: flex; animation: fade .2s ease; }
.cmdk-box { width: min(620px, calc(100vw - 32px)); border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), var(--glow); overflow: hidden; animation: pop .35s var(--spring); }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.cmdk-input .ico { color: var(--brand-1); }
.cmdk-input input { flex: 1; height: 62px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; }
.cmdk-list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.cmdk-item { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 13px; color: var(--text-2); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.cmdk-item .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); }
.cmdk-item .ci .ico { width: 17px; height: 17px; }
.cmdk-item small { margin-left: auto; color: var(--text-3); font-size: 12px; }
.cmdk-item.sel { background: linear-gradient(90deg, rgba(255, 31, 143, .14), rgba(124, 58, 237, .06)); color: var(--text); }
.cmdk-item.sel .ci { background: var(--brand-grad); color: #fff; }
.cmdk-empty { padding: 30px; text-align: center; color: var(--text-3); }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(-10px); } }

/* ---- Mobile bottom nav ---- */
.bottom-nav { display: none; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Errors ---- */
.err-code { font-family: var(--font-display); font-size: clamp(90px, 16vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }

/* ---- Install ---- */
.check-list { display: grid; gap: 8px; margin-bottom: 24px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.check-row .ico { width: 18px; height: 18px; }
.check-row.ok .ico { color: var(--ok); } .check-row.bad .ico { color: var(--err); }
.creds { display: grid; gap: 8px; margin: 18px 0 24px; }
.cred { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; }
.cred b { grid-column: 1/-1; font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .span-8, .span-7 { grid-column: span 12; }
  .span-4, .span-5 { grid-column: span 6; }
  .span-3 { grid-column: span 6; }
}
@media (max-width: 1024px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-mobile-brand { display: inline-flex; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: 290px; transform: translateX(-105%); transition: transform .45s var(--ease); background: var(--bg); box-shadow: 30px 0 80px rgba(0, 0, 0, .5); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .scrim { position: fixed; inset: 0; z-index: 45; background: rgba(5, 3, 12, .55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .menu-btn { display: grid; }
  .search-trigger { width: auto; }
  .search-trigger .lbl-txt, .search-trigger .kbd { display: none; }
  .topbar { padding: 0 18px; }
  .content { padding: 8px 18px 110px; }
  .page-foot { padding: 0 18px 110px; }
  .bottom-nav { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; height: 66px; padding: 0 8px; border-radius: 22px; background: color-mix(in srgb, var(--surface-solid) 85%, transparent); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5); justify-content: space-around; align-items: center; }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--text-3); padding: 8px 12px; border-radius: 14px; transition: .25s; }
  .bottom-nav a.active { color: var(--text); }
  .bottom-nav a.active .ico { color: var(--brand-1); filter: drop-shadow(0 0 8px var(--brand-1)); }
  .bottom-nav a.locked { opacity: .4; }
}
@media (max-width: 760px) {
  .bento { gap: 14px; }
  .span-4, .span-5, .span-6, .span-3 { grid-column: span 12; }
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .hero .ring { width: 160px; height: 160px; margin: 0 auto; order: -1; }
  .quick { grid-template-columns: 1fr 1fr; }
  .cd-unit { min-width: 0; flex: 1; }
  .cd-unit b { font-size: 28px; }
  .wait-hero .cd-unit { min-width: 0; }
  .wait-hero .cd-unit b { font-size: 34px; }
  .cd-sep { display: none; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .topbar h1 { font-size: 17px; }
  .crumb { display: none; }
  .card { padding: 20px; border-radius: 20px; }
  .auth-card h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* spinner */
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; display: inline-block; }
.scrim { display: none; }
@media (max-width: 1024px) { .scrim { display: block; } }

/* ==========================================================================
   HAPI 2 — komponentë për panelet e menaxhimit
   ========================================================================== */
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar.lg { width: 96px; height: 96px; border-radius: 30px; font-size: 32px; }
.avatar.xl { width: 128px; height: 128px; border-radius: 38px; font-size: 42px; }
.badge.danger { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .3); color: var(--err); }
[data-theme="light"] .badge.danger { color: #e11d48; }
.badge .ico { width: 14px; height: 14px; }

/* page header */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.page-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.035em; }
.page-head p { color: var(--text-2); margin-top: 6px; font-size: 14.5px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--text-3); margin-bottom: 10px; transition: color .2s, gap .25s; }
.back-link .ico { width: 15px; height: 15px; transform: rotate(180deg); }
.back-link:hover { color: var(--brand-1); gap: 9px; }

/* sidebar counter */
.nav a .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--brand-grad); box-shadow: 0 4px 14px -4px var(--brand-1); }

/* toolbar & filters */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .grow { flex: 1; min-width: 220px; }
.toolbar .input { height: 44px; }
.toolbar select.input { padding-left: 14px; padding-right: 38px; width: auto; min-width: 150px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.seg a, .seg button, .seg label { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 650; color: var(--text-2); border: 0; background: transparent; transition: .25s var(--ease); cursor: pointer; }
.seg a:hover, .seg label:hover { color: var(--text); background: var(--surface-2); }
.seg a.on, .seg label:has(input:checked) { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.seg a.on .n { background: var(--brand-grad); color: #fff; }
.seg .n { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--surface-2); color: var(--text-3); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 650; font-size: 14px; color: var(--text-3); white-space: nowrap; transition: color .2s; }
.tabs a .ico { width: 17px; height: 17px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand-grad); box-shadow: 0 0 12px var(--brand-1); }

/* forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.input.plain { padding-left: 16px; }
textarea.input { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
input[type="date"].input, input[type="time"].input { padding-right: 12px; }
.form-section { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--border); }
.form-section:last-of-type { border-bottom: 0; }
.form-section h4 { font-size: 15px; margin-bottom: 4px; }
.form-section > p { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding-top: 6px; }
.day-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.day-pick label { position: relative; cursor: pointer; }
.day-pick input { position: absolute; opacity: 0; }
.day-pick span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-weight: 750; font-size: 13.5px; color: var(--text-2); transition: .25s var(--spring); }
.day-pick label:hover span { border-color: var(--border-strong); transform: translateY(-2px); }
.day-pick input:checked + span { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.day-pick input:focus-visible + span { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.mod-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mod-pick label { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 600; transition: .2s; }
.mod-pick label:hover { border-color: var(--border-strong); }
.mod-pick input { position: absolute; opacity: 0; }
.mod-pick .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--mc) 16%, transparent); color: var(--mc); flex-shrink: 0; }
.mod-pick .dot .ico { width: 16px; height: 16px; }
.mod-pick label:has(input:checked) { border-color: color-mix(in srgb, var(--mc) 60%, transparent); background: color-mix(in srgb, var(--mc) 10%, transparent); }
.mod-pick label:has(input:checked) .dot { background: var(--mc); color: #fff; }

/* switch */
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { appearance: none; width: 50px; height: 28px; border-radius: 99px; background: var(--border-strong); position: relative; cursor: pointer; transition: background .3s; flex-shrink: 0; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .35s var(--spring); }
.switch input:checked { background: var(--brand-grad); }
.switch input:checked::after { transform: translateX(22px); }

/* setting rows */
.setting { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.setting:last-child { border-bottom: 0; }
.setting .si { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.setting .txt { flex: 1; min-width: 0; }
.setting .txt b { display: block; font-size: 14.5px; }
.setting .txt small { color: var(--text-3); font-size: 13px; }

/* profile header */
.profile-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.avatar-edit { position: relative; }
.avatar-edit label { position: absolute; right: -6px; bottom: -6px; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-solid); border: 1px solid var(--border-strong); cursor: pointer; transition: .25s var(--spring); color: var(--text); }
.avatar-edit label:hover { transform: scale(1.1) rotate(-8deg); color: var(--brand-1); }
.avatar-edit input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-edit .avatar::after { content: ""; position: absolute; inset: -4px; border-radius: 34px; border: 2px solid transparent; background: var(--brand-grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.profile-hero h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.profile-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.complete { margin-left: auto; min-width: 240px; }
.complete .kv { margin-top: 0; }

/* info list */
.info { display: grid; gap: 0; }
.info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info div:last-child { border-bottom: 0; }
.info span { color: var(--text-3); }
.info b { font-weight: 650; text-align: right; word-break: break-word; }

/* empty state */
.empty { text-align: center; padding: 50px 20px; }
.empty .ei { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); border: 1px dashed var(--border-strong); color: var(--text-3); }
.empty .ei .ico { width: 30px; height: 30px; }
.empty b { display: block; font-size: 17px; margin-bottom: 6px; }
.empty p { color: var(--text-3); font-size: 14px; max-width: 380px; margin: 0 auto; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.pager .pages { display: flex; gap: 6px; }
.pager .pages a, .pager .pages span { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); font-weight: 700; color: var(--text-2); }
.pager .pages a:hover { border-color: var(--border-strong); color: var(--text); }
.pager .pages .on { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* table extras */
.table td.actions { text-align: right; white-space: nowrap; }
.table .cb-col { width: 44px; }
.table tr.sel-row { background: rgba(255, 31, 143, .06); }
.table a.row-link { font-weight: 700; }
.table a.row-link:hover { color: var(--brand-1); }
.check.solo { gap: 0; }

/* bulk bar */
.bulk { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 20px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), var(--glow); transition: transform .5s var(--spring); flex-wrap: wrap; max-width: calc(100vw - 32px); }
.bulk.show { transform: translate(-50%, 0); }
.bulk b { font-size: 14px; white-space: nowrap; }
.bulk select.input { height: 40px; width: auto; padding: 0 36px 0 12px; }

/* dialog */
dialog.modal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(560px, calc(100vw - 32px)); width: 100%; }
dialog.modal::backdrop { background: rgba(5, 3, 12, .6); backdrop-filter: blur(8px); }
dialog.modal[open] { animation: pop .35s var(--spring); }
.modal-box { border-radius: 24px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); padding: 26px; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-box h3 { font-size: 21px; margin-bottom: 6px; }
.modal-box > p { color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: color-mix(in srgb, var(--mi, var(--brand-1)) 15%, transparent); color: var(--mi, var(--brand-1)); }
.modal-icon .ico { width: 26px; height: 26px; }
.btn-danger { background: linear-gradient(120deg, #f43f5e, #e11d48); color: #fff; border: 0; box-shadow: 0 10px 30px -10px rgba(225, 29, 72, .7); }
.btn-ok { background: linear-gradient(120deg, #10b981, #059669); color: #fff; border: 0; box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .6); }

/* cohort big cards */
.cohort-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.cg { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.cg:hover { transform: translateY(-4px); }
.cg .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cg .code { font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.cg .name { color: var(--text-2); font-size: 13.5px; margin-top: 6px; }
.cg .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cg .nums div { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.cg .nums b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.cg .nums small { font-size: 11.5px; color: var(--text-3); font-weight: 650; }
.cg .foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }
.cg.new { border-style: dashed; align-items: center; justify-content: center; text-align: center; min-height: 260px; color: var(--text-3); }
.cg.new .plus { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; box-shadow: var(--glow); transition: transform .4s var(--spring); }
.cg.new:hover .plus { transform: rotate(90deg) scale(1.08); }
.cg.new b { color: var(--text); font-size: 16px; }
.capacity { position: relative; height: 10px; border-radius: 10px; background: var(--border); overflow: hidden; }
.capacity i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #34d399, #22d3ee); transition: width 1.4s var(--ease); width: 0; }
.capacity.hot i { background: linear-gradient(90deg, #fbbf24, #fb7185); }

/* module timeline (cohort detail) */
.mtl { display: grid; gap: 10px; }
.mtl-row { display: grid; grid-template-columns: 190px 1fr; gap: 14px; align-items: center; font-size: 13px; }
.mtl-row .lbl { display: flex; align-items: center; gap: 8px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtl-row .lbl i { width: 10px; height: 10px; border-radius: 4px; background: var(--mc); flex-shrink: 0; }
.mtl-track { position: relative; height: 30px; border-radius: 10px; background: var(--surface-2); }
.mtl-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 7px; background: color-mix(in srgb, var(--mc) 35%, transparent); border: 1px solid color-mix(in srgb, var(--mc) 70%, transparent); display: flex; align-items: center; padding: 0 8px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.mtl-bar.done { background: var(--mc); color: #fff; }
.mtl-now { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--brand-1); box-shadow: 0 0 10px var(--brand-1); border-radius: 2px; }
.mtl-now.lbl-on::before { content: "Sot"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--brand-1); }

/* OTP */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 24px; }
.otp-cell { width: 100%; height: 62px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-align: center; font-family: var(--font-display); font-size: 28px; font-weight: 800; transition: .2s; }
.otp-cell:focus { outline: none; border-color: rgba(255, 31, 143, .6); box-shadow: 0 0 0 4px rgba(255, 31, 143, .14); transform: translateY(-2px); }
.otp-cell.filled { border-color: var(--border-strong); background: var(--surface-2); }

/* activity timeline */
.tl { position: relative; display: grid; gap: 4px; }
.tl-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; border-radius: 14px; transition: background .2s; }
.tl-item:hover { background: var(--surface-2); }
.tl-item .ti { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.tl-item .ti .ico { width: 17px; height: 17px; }
.tl-item.bad .ti { background: rgba(251, 113, 133, .14); color: var(--err); }
.tl-item.good .ti { background: rgba(52, 211, 153, .14); color: var(--ok); }
.tl-item b { font-size: 14px; font-weight: 650; display: block; }
.tl-item small { font-size: 12px; color: var(--text-3); }
.tl-item time { font-size: 12px; color: var(--text-3); white-space: nowrap; }

/* theme cards */
.theme-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.theme-pick label { position: relative; cursor: pointer; border-radius: 18px; border: 1px solid var(--border); padding: 10px; background: var(--surface); transition: .25s; }
.theme-pick input { position: absolute; opacity: 0; }
.theme-pick label:has(input:checked) { border-color: rgba(255, 31, 143, .6); box-shadow: 0 0 0 4px rgba(255, 31, 143, .12); }
.theme-pick .prev { height: 90px; border-radius: 12px; margin-bottom: 10px; overflow: hidden; display: grid; grid-template-columns: 30% 1fr; }
.theme-pick .prev i { display: block; }
.theme-pick .prev.dark { background: #0d0b16; } .theme-pick .prev.dark i { background: #1a1628; border-right: 1px solid #2a2440; }
.theme-pick .prev.light { background: #f7f5fc; } .theme-pick .prev.light i { background: #fff; border-right: 1px solid #e6e1f0; }
.theme-pick .prev.system { background: linear-gradient(110deg, #0d0b16 50%, #f7f5fc 50%); } .theme-pick .prev.system i { background: linear-gradient(110deg, #1a1628 50%, #fff 50%); }
.theme-pick b { font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; }

.danger-zone { border-color: rgba(251, 113, 133, .3); background: linear-gradient(135deg, rgba(251, 113, 133, .06), transparent 60%), var(--surface); }
.note-box { padding: 14px 16px; border-radius: 14px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .25); font-size: 13.5px; color: var(--text-2); }
.note-box b { color: var(--warn); }
.split { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; }

@media (max-width: 1100px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .theme-pick { grid-template-columns: 1fr; }
  .complete { margin-left: 0; width: 100%; }
  .mtl-row { grid-template-columns: 1fr; gap: 4px; }
  .otp { gap: 6px; } .otp-cell { height: 54px; font-size: 22px; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .table.responsive td { border: 0; padding: 0; }
  .table.responsive td.main { grid-column: 1 / -1; }
  .table.responsive td[data-l]::before { content: attr(data-l) ": "; color: var(--text-3); font-size: 12px; }
  .table.responsive td.actions { grid-column: 1 / -1; text-align: left; }
  .page-head .actions { width: 100%; }
}

.person a { display: block; font-size: 14px; }
.person small { display: block; }
.mtl { padding-top: 14px; }

/* ==========================================================================
   HAPI 3 — modulet, materialet, njoftimet, kalendari
   ========================================================================== */
.bell-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--brand-grad); box-shadow: 0 0 0 3px var(--bg), 0 4px 14px -2px var(--brand-1); animation: bellPop .6s var(--spring); }
@keyframes bellPop { from { transform: scale(0); } }
.icon-btn:has(.bell-count) .ico { animation: ring 2.8s ease-in-out infinite; transform-origin: 50% 4px; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } 97% { transform: rotate(-4deg); } }

/* module cards */
.mod-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.mc { --mc: var(--brand-1); display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.mc::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: var(--mc); opacity: .14; filter: blur(30px); z-index: -1; transition: opacity .4s, transform .6s var(--ease); }
.mc:hover::after { opacity: .26; transform: scale(1.15); }
.mc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mc) 45%, transparent); }
.mc .head { display: flex; gap: 14px; align-items: flex-start; }
.mc .num { font-family: var(--font-display); font-size: 64px; font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--mc) 70%, transparent); margin-left: auto; }
.mc h3 { font-size: 19px; line-height: 1.25; }
.mc .desc { color: var(--text-2); font-size: 13.5px; }
.mc .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; font-size: 12px; font-weight: 650; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.chip .ico { width: 13px; height: 13px; }
.mc .meta-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-3); margin-top: auto; }
.state-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.state-pill.done { color: var(--ok); } .state-pill.current { color: var(--mc); } .state-pill.upcoming { color: var(--text-3); }
.stack-avatars { display: flex; }
.stack-avatars .avatar { width: 30px; height: 30px; border-radius: 10px; font-size: 11px; box-shadow: 0 0 0 2px var(--bg); margin-left: -8px; }
.stack-avatars .avatar:first-child { margin-left: 0; }

/* module hero */
.mod-hero { --mc: var(--brand-1); padding: 34px; background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--mc) 30%, transparent), transparent 60%), radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--mc) 14%, transparent), transparent 60%), var(--surface); }
.mod-hero .top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mod-hero .big-icon { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--mc); color: #fff; box-shadow: 0 20px 50px -14px var(--mc); animation: float 6s ease-in-out infinite; }
.mod-hero .big-icon .ico { width: 40px; height: 40px; }
.mod-hero h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.mod-hero .kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.mod-hero .kpi { padding: 12px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); min-width: 120px; }
.mod-hero .kpi b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.mod-hero .kpi small { font-size: 12px; color: var(--text-3); font-weight: 650; }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.topic-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.topic-list li .n { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11.5px; background: color-mix(in srgb, var(--mc) 18%, transparent); color: var(--mc); flex-shrink: 0; }
.topic-list.check li .n { background: rgba(52, 211, 153, .15); color: var(--ok); }
.lesson-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 12px; font-size: 13.5px; }
.lesson-row:hover { background: var(--surface-2); }
.lesson-row .ln { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; border: 1px solid var(--border); color: var(--text-3); }
.lesson-row.done .ln { background: color-mix(in srgb, var(--mc) 15%, transparent); color: var(--mc); border-color: transparent; }
.lesson-row.next .ln { background: var(--mc); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -6px var(--mc); }
.lesson-row small { color: var(--text-3); display: block; font-size: 12px; }
.mod-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mod-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: .3s var(--ease); }
.mod-nav a:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.mod-nav a small { color: var(--text-3); font-size: 12px; font-weight: 650; }
.mod-nav a b { font-size: 14.5px; }
.mod-nav a.next { text-align: right; grid-column: 2; }

/* materials */
.mat-list { display: grid; gap: 10px; }
.mat { display: grid; grid-template-columns: 50px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: .25s var(--ease); }
.mat:hover { border-color: var(--border-strong); transform: translateX(3px); }
.mat .mi { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 15%, transparent); color: var(--cc); position: relative; }
.mat .mi .ext { position: absolute; bottom: -5px; right: -6px; font-family: var(--font-mono); font-size: 9px; font-weight: 800; padding: 2px 5px; border-radius: 6px; background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text-2); text-transform: uppercase; }
.mat b { font-size: 14.5px; display: block; }
.mat .meta { font-size: 12px; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; }
.mat .desc { font-size: 13px; color: var(--text-2); margin-top: 6px; white-space: pre-line; }
.mat .acts { display: flex; gap: 6px; align-items: center; }
.due { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--warn); }
.due.late { color: var(--err); } .due.soon { color: #fb923c; }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: 8px; padding: 26px; border-radius: 18px; border: 2px dashed var(--border-strong); background: var(--surface); cursor: pointer; transition: .25s; }
.dropzone:hover, .dropzone.over { border-color: var(--brand-1); background: rgba(255, 31, 143, .06); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ico { width: 30px; height: 30px; color: var(--brand-1); }
.dropzone b { font-size: 14px; } .dropzone small { color: var(--text-3); font-size: 12px; }
.dropzone .picked { font-size: 13px; font-weight: 700; color: var(--ok); }
.or-sep { text-align: center; font-size: 12px; color: var(--text-3); margin: 10px 0; font-weight: 700; letter-spacing: .1em; }

/* deadlines */
.dl { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.dl .day { text-align: center; border-radius: 14px; padding: 8px 0; background: color-mix(in srgb, var(--cc) 15%, transparent); color: var(--cc); }
.dl .day b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1; }
.dl .day small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dl b.t { font-size: 14px; display: block; }
.dl small.s { font-size: 12px; color: var(--text-3); }

/* announcements */
.ann-feed { display: grid; gap: 14px; }
.ann-card { position: relative; padding: 22px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); transition: .3s var(--ease); }
.ann-card:hover { border-color: var(--border-strong); }
.ann-card.pinned { border-color: rgba(255, 31, 143, .35); background: linear-gradient(135deg, rgba(255, 31, 143, .09), transparent 55%), var(--surface); }
.ann-card.unread::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--brand-grad); box-shadow: 0 0 12px var(--brand-1); }
.ann-card .head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.ann-card .head .who b { font-size: 14px; display: block; }
.ann-card .head .who small { font-size: 12px; color: var(--text-3); }
.ann-card .head .tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.ann-card h3 { font-size: 18px; margin-bottom: 8px; }
.ann-card .body { color: var(--text-2); font-size: 14.5px; white-space: pre-line; line-height: 1.65; }
.ann-card .foot { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); flex-wrap: wrap; }
.ann-card .foot .sp { margin-left: auto; display: flex; gap: 6px; }
.new-dot { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; background: var(--brand-grad); color: #fff; }

/* calendar */
.cal-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.cal-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; text-transform: capitalize; margin-right: auto; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); text-align: center; padding-bottom: 6px; }
.cal-day { position: relative; min-height: 112px; padding: 8px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 4px; overflow: hidden; transition: border-color .2s, background .2s; }
.cal-day:hover { border-color: var(--border-strong); }
.cal-day.out { opacity: .38; }
.cal-day.weekend { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.cal-day.holiday { background: repeating-linear-gradient(135deg, rgba(52, 211, 153, .07) 0 8px, transparent 8px 16px), var(--surface); }
.cal-day .dn { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; }
.cal-day.today { border-color: rgba(255, 31, 143, .6); box-shadow: 0 0 0 3px rgba(255, 31, 143, .12); }
.cal-day.today .dn { background: var(--brand-grad); color: #fff; box-shadow: var(--glow); }
.ev { display: flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--ec) 18%, transparent); color: var(--text); border-left: 3px solid var(--ec); cursor: default; }
.ev .t { opacity: .7; font-family: var(--font-mono); font-size: 10px; }
.ev.more { background: transparent; border: 0; color: var(--text-3); padding-left: 4px; }
.agenda { display: grid; gap: 8px; }
.ag { display: grid; grid-template-columns: 4px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.ag::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; background: var(--ec); }
.ag b { font-size: 13.5px; display: block; }
.ag small { font-size: 12px; color: var(--text-3); }
.ag .when { text-align: right; font-size: 12px; color: var(--text-2); font-weight: 650; white-space: nowrap; }
.ag .when b { font-size: 13px; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--ec); }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: var(--font-mono); font-size: 12px; }

/* syllabus print */
.syl { max-width: 860px; margin: 0 auto; padding: 48px 40px; background: #fff; color: #16112a; font-family: var(--font-body); }
.syl-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; padding: 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.syl h1 { font-size: 34px; letter-spacing: -.03em; color: #16112a; }
.syl .brandline { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid; border-image: linear-gradient(90deg, #ff1f8f, #7c3aed) 1; padding-bottom: 18px; margin-bottom: 26px; }
.syl .brandline img { width: 46px; }
.syl section.mod { page-break-inside: avoid; padding: 22px 0; border-bottom: 1px solid #e6e1f0; }
.syl section.mod h2 { font-size: 22px; color: #16112a; display: flex; align-items: center; gap: 10px; }
.syl section.mod h2 i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.syl .meta { color: #6b6385; font-size: 13px; margin: 6px 0 12px; }
.syl h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8a83a3; margin: 14px 0 6px; }
.syl ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.syl table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.syl td, .syl th { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; }
.syl th { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8a83a3; }
.syl footer { margin-top: 30px; font-size: 12px; color: #8a83a3; text-align: center; }
@media print {
  .syl-bar, .ambient { display: none !important; }
  body { background: #fff !important; }
  .syl { padding: 0; max-width: none; }
  @page { margin: 16mm; }
}

@media (max-width: 1100px) { .cal-wrap { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 64px; padding: 5px; border-radius: 10px; }
  .cal-day .ev { font-size: 0; padding: 0; height: 6px; border-left-width: 0; background: var(--ec); }
  .cal-day .ev.more, .cal-day .ev .t { display: none; }
  .cal-dow { font-size: 9px; letter-spacing: .04em; }
  .mod-cards { grid-template-columns: 1fr; }
  .mat { grid-template-columns: 44px 1fr; }
  .mat .acts { grid-column: 1 / -1; }
  .mod-nav { grid-template-columns: 1fr; } .mod-nav a.next { grid-column: 1; }
  .mod-hero { padding: 24px; }
  .syl { padding: 24px 18px; }
}

/* ==========================================================================
   HAPI 4 — Klasa Live & Vijueshmëria
   ========================================================================== */
.live-pill { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; padding: 3px 7px; border-radius: 6px; background: #ef4444; color: #fff; box-shadow: 0 0 14px rgba(239, 68, 68, .7); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .6; box-shadow: 0 0 4px rgba(239, 68, 68, .4); } }

.live-hero { --mc: var(--brand-1); text-align: center; padding: 44px 28px; overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--mc) 30%, transparent), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(239, 68, 68, .14), transparent 60%), var(--surface); }
.live-hero.staff { padding: 30px; }
.live-hero h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; margin-top: 16px; }
.live-top { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.live-rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.live-rings i { position: absolute; left: 50%; top: 58%; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--mc) 50%, transparent); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: ripple 4.5s cubic-bezier(.2, .6, .3, 1) infinite; }
.live-rings i:nth-child(2) { animation-delay: 1.5s; } .live-rings i:nth-child(3) { animation-delay: 3s; }
.live-hero.staff .live-rings i { left: 85%; top: 50%; }
@keyframes ripple { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(3.2); } }
.join-btn { --h: 66px; padding: 0 44px; font-size: 18px; border-radius: 20px; }
.join-btn .ico { width: 24px; height: 24px; }
.join-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(255, 31, 143, .5); animation: btnRing 2s ease-out infinite; z-index: -2; }
@keyframes btnRing { from { transform: scale(.95); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.in-room { display: grid; gap: 14px; justify-items: center; margin-top: 18px; }
.in-room .timer { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 96px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 50%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.in-room .timer small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); -webkit-text-fill-color: var(--text-3); margin-top: 8px; }
.in-room .conn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: var(--ok); font-weight: 700; font-size: 13.5px; }
.in-room .conn.bad { background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .3); color: var(--err); }
.in-room .conn.bad .pulse { background: var(--err); }
.checkin-box { max-width: 460px; margin: 26px auto 0; padding: 24px; border-radius: 22px; border: 1px solid rgba(251, 191, 36, .45); background: linear-gradient(135deg, rgba(251, 191, 36, .1), transparent), var(--surface-solid); box-shadow: 0 20px 60px -20px rgba(251, 191, 36, .45); animation: pop .5s var(--spring); }
.checkin-box .modal-icon { --mi: var(--warn); }
.checkin-form { display: flex; gap: 8px; }
.checkin-form .input { text-align: center; font-family: var(--font-mono); font-size: 22px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.checkin-ok { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: 99px; background: rgba(52, 211, 153, .12); color: var(--ok); font-weight: 700; font-size: 13.5px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.pp { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: .3s; }
.pp .avatar { position: relative; overflow: visible; }
.pp .avatar img { border-radius: inherit; }
.pp .avatar::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--text-3); box-shadow: 0 0 0 2.5px var(--surface-solid); }
.pp.on .avatar::after { background: var(--ok); box-shadow: 0 0 0 2.5px var(--surface-solid), 0 0 8px var(--ok); }
.pp.off { opacity: .45; }
.pp b { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp small { font-size: 11.5px; color: var(--text-3); }
.pp .st { margin-left: auto; width: 9px; height: 9px; border-radius: 3px; background: var(--cc); flex-shrink: 0; }
.big-code { font-family: var(--font-mono); font-weight: 800; font-size: 48px; letter-spacing: .18em; text-align: center; padding: 22px 10px; border-radius: 18px; background: var(--surface-2); border: 1px dashed var(--border-strong); background-image: linear-gradient(120deg, #fbbf24, #ff1f8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.code-card:fullscreen { display: grid; place-items: center; background: var(--bg); padding: 40px; }
.code-card:fullscreen .big-code { font-size: min(18vw, 220px); border: 0; }
.code-card:fullscreen .card-head, .code-card:fullscreen [data-code-empty], .code-card:fullscreen button { display: none !important; }

/* attendance */
.att-counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.att-counts div { padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--ac) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent); }
.att-counts b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--ac); line-height: 1.1; }
.att-counts span { font-size: 12px; font-weight: 650; color: var(--text-2); }
.bars { display: flex; gap: 14px; align-items: flex-end; height: 170px; }
.bar { flex: 1; max-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.bar .col { flex: 1; width: 100%; border-radius: 12px; background: var(--surface-2); display: flex; align-items: flex-end; overflow: hidden; }
.bar .col i { display: block; width: 100%; height: 0; border-radius: 12px; transition: height 1.4s var(--ease); }
.bar b { font-size: 12.5px; } .bar small { font-size: 11px; color: var(--text-3); font-weight: 700; }
.matrix-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.matrix { border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 100%; }
.matrix th, .matrix td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.matrix th { font-size: 11px; font-weight: 750; color: var(--text-3); vertical-align: bottom; }
.matrix th span { display: block; color: var(--text); font-size: 12px; }
.matrix th small { display: block; font-weight: 600; }
.matrix th em { display: block; font-style: normal; font-size: 10px; color: var(--ok); margin-top: 2px; }
.matrix .sticky { position: sticky; left: 0; z-index: 2; text-align: left; background: var(--surface-solid); padding-right: 16px; min-width: 210px; }
.matrix tr.risk .sticky b { color: var(--err); }
.matrix .tot { font-family: var(--font-display); font-size: 15px; min-width: 56px; }
.matrix tbody tr:hover td { background: var(--surface-2); }
.cell { width: 30px; height: 30px; border-radius: 9px; border: 0; background: color-mix(in srgb, var(--cc) 22%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 55%, transparent); cursor: pointer; transition: transform .2s var(--spring); position: relative; }
.cell::after { content: ""; position: absolute; inset: 9px; border-radius: 4px; background: var(--cc); }
.cell:hover { transform: scale(1.18); }
.cell.manual::before { content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px var(--surface-solid); }
@media (max-width: 760px) {
  .att-counts { grid-template-columns: repeat(2, 1fr); }
  .join-btn { --h: 58px; padding: 0 28px; font-size: 16px; }
  .big-code { font-size: 36px; }
  .matrix .sticky { min-width: 150px; }
}

/* ==========================================================================
   HAPI 5 — Video-incizimet
   ========================================================================== */
.sec-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 6px 0 14px; }
.sec-title .ico { color: var(--brand-1); }
.sec-title .dot-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--mc); color: #fff; box-shadow: 0 8px 20px -8px var(--mc); }
.sec-title .dot-ic .ico { color: #fff; width: 17px; height: 17px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.vcard { display: flex; flex-direction: column; gap: 10px; }
.vcard .thumb { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--mc) 45%, transparent), transparent 60%), #0e0b18; border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.vcard:hover .thumb { transform: translateY(-4px) scale(1.015); box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--mc) 70%, transparent); border-color: color-mix(in srgb, var(--mc) 50%, transparent); }
.vcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .thumb img { transform: scale(1.06); }
.vcard .ph { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--mc) 80%, #fff); }
.vcard .ph .ico { width: 46px; height: 46px; opacity: .55; }
.vcard .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%) scale(.8); background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); color: #fff; opacity: 0; transition: .35s var(--spring); border: 1px solid rgba(255, 255, 255, .3); }
.vcard .play .ico { width: 30px; height: 30px; }
.vcard:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vcard .dur, .vcard .src, .vcard .done { position: absolute; bottom: 10px; right: 10px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 700; background: rgba(0, 0, 0, .72); color: #fff; }
.vcard .src { right: auto; left: 10px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.vcard .done { bottom: auto; top: 10px; right: 10px; display: inline-flex; gap: 4px; align-items: center; background: rgba(16, 185, 129, .9); }
.vcard .done .ico { width: 13px; height: 13px; }
.vcard .bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--brand-grad); box-shadow: 0 0 10px var(--brand-1); }
.vcard .vmeta b { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.vcard .vmeta small { color: var(--text-3); font-size: 12px; display: block; margin-top: 4px; }

.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--mc) 60%, #000), 0 0 0 1px var(--border); user-select: none; -webkit-user-select: none; }
.player video, .player iframe { width: 100%; height: 100%; display: block; border: 0; background: #000; }
.player .wm { position: absolute; left: 10%; top: 12%; pointer-events: none; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .22); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); white-space: nowrap; transition: left 2.5s ease, top 2.5s ease; z-index: 2; letter-spacing: .02em; }
.player:fullscreen .wm { font-size: 18px; }
.pbar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.speeds { display: inline-flex; padding: 4px; gap: 3px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.speeds button { border: 0; background: transparent; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-3); }
.speeds button:hover { color: var(--text); }
.speeds button.on { background: var(--brand-grad); color: #fff; }
.pbar-r { display: flex; gap: 6px; align-items: center; }
.chapters { display: grid; gap: 4px; }
.chapters button { display: flex; gap: 12px; align-items: center; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.chapters button:hover { background: var(--surface-2); color: var(--text); }
.chapters button .mono { color: var(--mc); font-size: 12px; min-width: 52px; }
.note-form { display: flex; gap: 8px; margin-bottom: 12px; }
.note-form .input { height: 44px; }
.note-form .btn { --h: 44px; padding: 0 14px; }
.notes { display: grid; gap: 6px; max-height: 340px; overflow-y: auto; }
.note { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; animation: pop .35s var(--spring); }
.note .ts { border: 0; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 700; background: color-mix(in srgb, var(--mc) 18%, transparent); color: var(--mc); cursor: pointer; }
.note .x { border: 0; background: transparent; color: var(--text-3); padding: 0; opacity: 0; transition: opacity .2s; }
.note:hover .x { opacity: 1; }
.note .x .ico { width: 15px; height: 15px; }
.plist { display: grid; gap: 4px; max-height: 460px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.plist a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s; }
.plist a:hover { background: var(--surface-2); }
.plist a.on { background: color-mix(in srgb, var(--mc) 14%, transparent); }
.plist .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--text-3); flex-shrink: 0; }
.plist .n .ico { width: 15px; height: 15px; }
.plist a.on .n { background: var(--mc); color: #fff; }
.plist .t { min-width: 0; }
.plist .t b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist .t small { font-size: 11.5px; color: var(--text-3); }
.keys { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--text-3); }
.keys .kbd { margin: 0 3px 0 0; }
@media (max-width: 1100px) { .watch { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .player { border-radius: 14px; margin: 0 -6px; } .vgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .vcard .vmeta b { font-size: 13px; } }
@media (max-width: 460px) { .vgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   HAPI 6 — Financat
   ========================================================================== */
.fin-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid rgba(251, 191, 36, .4); background: linear-gradient(120deg, rgba(251, 191, 36, .14), rgba(251, 191, 36, .04)); color: var(--text); font-size: 14px; animation: rise .6s var(--ease) both; }
.fin-banner > .ico { color: var(--warn); width: 24px; height: 24px; }
.fin-banner b { margin-right: 4px; }
.fin-banner .btn { margin-left: auto; flex-shrink: 0; }
.fin-banner.blocked { border-color: rgba(251, 113, 133, .45); background: linear-gradient(120deg, rgba(251, 113, 133, .16), rgba(192, 38, 211, .06)); }
.fin-banner.blocked > .ico { color: var(--err); }
.fin-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; background: radial-gradient(ellipse at 0% 0%, rgba(52, 211, 153, .16), transparent 55%), var(--surface); }
.fin-hero.late { background: radial-gradient(ellipse at 0% 0%, rgba(251, 191, 36, .16), transparent 55%), var(--surface); }
.fin-hero.blocked { background: radial-gradient(ellipse at 0% 0%, rgba(251, 113, 133, .18), transparent 55%), var(--surface); }
.fin-nums { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.fin-nums small { display: block; font-size: 12px; color: var(--text-3); font-weight: 650; }
.fin-nums b { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.next-due { display: flex; flex-direction: column; gap: 6px; background: radial-gradient(ellipse at 100% 0%, rgba(255, 31, 143, .18), transparent 60%), var(--surface); }
.next-due.late { background: radial-gradient(ellipse at 100% 0%, rgba(251, 113, 133, .22), transparent 60%), var(--surface); }
.next-due .amount { font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 6px; }
.next-due .days { display: inline-flex; align-self: flex-start; margin: 8px 0 18px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 750; background: var(--surface-2); border: 1px solid var(--border); }
.next-due.late .days { background: rgba(251, 113, 133, .14); border-color: rgba(251, 113, 133, .35); color: var(--err); }
.inst-list { display: grid; gap: 8px; }
.inst { display: grid; grid-template-columns: 42px minmax(120px, 1fr) minmax(160px, 1.2fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.inst .no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.inst.paid .no { background: rgba(52, 211, 153, .15); color: var(--ok); border-color: transparent; }
.inst.overdue { border-color: rgba(251, 113, 133, .35); background: linear-gradient(90deg, rgba(251, 113, 133, .07), transparent 60%), var(--surface); }
.inst.overdue .no { background: rgba(251, 113, 133, .15); color: var(--err); border-color: transparent; }
.inst.soon .no { background: rgba(251, 191, 36, .15); color: var(--warn); border-color: transparent; }
.inst .t b { font-size: 14px; display: block; } .inst .t small, .inst .ibar small { font-size: 12px; color: var(--text-3); }
.inst .ibar small { display: block; margin-top: 5px; }
.pay-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.pay-steps b { color: var(--text); }
.bank-box { border-radius: 18px; border: 1px solid var(--border); background: var(--surface-2); padding: 6px 16px; }
.bank-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { color: var(--text-3); min-width: 150px; font-size: 13px; }
.bank-row b { flex: 1; word-break: break-all; }
.bank-row .icon-btn { width: 32px; height: 32px; }
.bank-row.hl b { color: var(--brand-1); font-size: 16px; }
.paypal-card { background: radial-gradient(ellipse at 100% 0%, rgba(0, 112, 186, .2), transparent 60%), var(--surface); align-self: start; }
.paypal-btn { background: #ffc439; color: #111; border: 0; font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px -12px rgba(255, 196, 57, .8); }
.paypal-btn:hover { background: #f2b625; }
.paypal-btn .pp { color: #003087; font-style: italic; font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.paypal-btn .pp i { color: #009cde; font-style: italic; }
.proofs { display: grid; gap: 10px; }
.proof { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.proof .pv { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); transition: transform .3s var(--spring); }
.proof .pv:hover { transform: scale(1.05); }
.proof .pv img { width: 100%; height: 100%; object-fit: cover; }
.proof .pv .ico { width: 28px; height: 28px; }
.proof .pv small { font-size: 10px; font-weight: 800; }
.proof .amt { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.proof .acts { display: flex; flex-direction: column; gap: 8px; }
.plan-rows { display: grid; gap: 8px; }
.plan-row { display: grid; grid-template-columns: 40px 1fr 170px 140px; gap: 10px; align-items: center; }
.plan-row.head { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.plan-row .no { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-weight: 800; }
.plan-row .input { height: 44px; }
.plan-preview { font-size: 13px; color: var(--text-2); margin: 4px 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--border-strong); }
.plan-preview:empty { display: none; }
.plan-preview div { display: flex; justify-content: space-between; padding: 3px 0; }
.code-sample { font-family: var(--font-mono); font-size: 12.5px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin: 10px 0; white-space: pre; overflow-x: auto; }
@media (max-width: 760px) {
  .inst { grid-template-columns: 40px 1fr auto; }
  .inst .ibar { grid-column: 2 / -1; }
  .proof { grid-template-columns: 64px 1fr; } .proof .pv { width: 64px; height: 64px; }
  .proof .acts { grid-column: 1 / -1; flex-direction: row; }
  .plan-row { grid-template-columns: 36px 1fr; } .plan-row.head { display: none; }
  .plan-row .input[type=date], .plan-row .input[type=number] { grid-column: 2; }
  .bank-row span { min-width: 96px; }
  .fin-banner { flex-wrap: wrap; } .fin-banner .btn { margin-left: 0; }
}

/* ==========================================================================
   HAPI 7 — Projektet & Rezultatet
   ========================================================================== */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-stats .stat { padding: 20px; }
.proj-next { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.proj-next .btn { margin-top: 14px; }
.countdown.sm { margin: 14px 0 0; gap: 6px; }
.countdown.sm .cd-unit { min-width: 54px; padding: 8px 6px; border-radius: 12px; }
.countdown.sm .cd-unit b { font-size: 22px; }
.countdown.sm .cd-sep { font-size: 18px; }
.mod-row-head { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.mod-row-head .mod-icon { width: 40px; height: 40px; border-radius: 13px; }
.mod-row-head .mod-icon .ico { width: 19px; height: 19px; }
.mod-row-head small { display: block; font-size: 11.5px; }
.mod-row-head b { font-family: var(--font-display); font-size: 17px; letter-spacing: -.02em; }
.mod-row-head .badge { margin-left: auto; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.proj-card { --mc: var(--brand-1); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .35s var(--spring), border-color .25s, box-shadow .3s; isolation: isolate; }
.proj-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--mc), transparent); opacity: .9; }
.proj-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mc) 22%, transparent), transparent 70%); z-index: -1; transition: transform .5s var(--ease); }
.proj-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mc) 45%, var(--border)); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--mc) 60%, transparent); }
.proj-card:hover::after { transform: scale(1.35); }
.proj-card.is-locked { opacity: .55; pointer-events: none; filter: grayscale(.4); }
.pc-top { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-title { font-family: var(--font-display); font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.pc-brief { font-size: 13.5px; color: var(--text-2); line-height: 1.55; flex: 1; }
.pc-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 650; color: var(--text-3); }
.pc-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pc-foot .ico { width: 14px; height: 14px; }
.pc-foot .hot { color: var(--err); }
.pc-foot .go { margin-left: auto; width: 18px; height: 18px; color: var(--mc); transition: transform .3s var(--spring); }
.proj-card:hover .pc-foot .go { transform: translateX(4px); }
.pc-score b { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.proj-card .progress { margin: 2px 0 0; }
.proj-card.st-passed { border-color: rgba(52, 211, 153, .3); }
.proj-card.st-revision, .proj-card.st-late { border-color: rgba(251, 113, 133, .3); }

.prose { font-size: 15px; line-height: 1.75; color: var(--text-2); word-break: break-word; }
.prose.clamp { max-height: 260px; overflow: auto; }
.res-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.file-chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); transition: .25s; min-width: 0; max-width: 100%; }
.file-chip > .ico:first-child { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: color-mix(in srgb, var(--mc, var(--brand-1)) 18%, transparent); color: var(--mc, var(--brand-1)); flex-shrink: 0; }
.file-chip span { display: grid; min-width: 0; }
.file-chip b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip small { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip > .ico:last-child { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; }
.file-chip:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.req-list { display: grid; gap: 8px; }
.req { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; font-size: 14px; line-height: 1.5; transition: .2s; }
.req input { position: absolute; opacity: 0; pointer-events: none; }
.req .cb { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--border-strong); transition: .25s var(--spring); }
.req .cb .ico { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: .25s var(--spring); color: #fff; }
.req:has(input:checked) { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.req:has(input:checked) .cb { background: var(--ok); border-color: var(--ok); }
.req:has(input:checked) .cb .ico { opacity: 1; transform: none; }
.req:has(input:checked) span:last-child { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(52, 211, 153, .5); }
.req:has(input:focus-visible) { outline: 2px solid var(--brand-1); outline-offset: 2px; }

.rubric { display: grid; gap: 12px; }
.rb { display: grid; grid-template-columns: minmax(120px, 1.3fr) 2fr auto; align-items: center; gap: 12px; font-size: 13.5px; }
.rb span { color: var(--text-2); font-weight: 600; }
.rb-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rb-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand-grad); }
.rb b { font-family: var(--font-mono); font-size: 12.5px; min-width: 38px; text-align: right; }
.rubric.mini { gap: 8px; margin: 12px 0 4px; }
.rubric.mini .rb { font-size: 12.5px; grid-template-columns: minmax(100px, 1.2fr) 1.4fr auto; }
.rubric.mini .rb-bar { height: 6px; }

.submit-card { border-color: color-mix(in srgb, var(--brand-1) 35%, var(--border)); box-shadow: 0 30px 60px -36px rgba(255, 31, 143, .5); }
.state-card { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 24px; }
.state-card .soon-icon { width: 64px; height: 64px; margin: 0 0 8px; background: linear-gradient(135deg, #fbbf24, #fb7185); }
.state-card.good .soon-icon { background: linear-gradient(135deg, #34d399, #22d3ee); }
.state-card.bad .soon-icon { background: linear-gradient(135deg, #fb7185, #c026d3); }
.state-card b { font-size: 18px; font-family: var(--font-display); }
.state-card p { font-size: 13.5px; }
.state-card .btn { margin-top: 8px; }

.attempts { display: grid; gap: 12px; }
.attempt { padding: 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--warn); }
.attempt.st-passed { border-left-color: var(--ok); } .attempt.st-revision, .attempt.st-failed { border-left-color: var(--err); }
.at-head { display: flex; align-items: center; gap: 12px; }
.at-head > div:nth-child(2) { flex: 1; min-width: 0; }
.at-head b { display: block; font-size: 14.5px; }
.at-head small { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.at-n { min-width: 38px; height: 38px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; background: color-mix(in srgb, var(--mc, var(--brand-1)) 16%, transparent); color: var(--mc, var(--brand-1)); }
.at-score { text-align: right; } .at-score b { font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; display: inline; } .at-score small { color: var(--text-3); font-weight: 700; display: inline; }
.at-files { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.at-files .chip:hover { border-color: var(--border-strong); color: var(--text); }
.feedback { margin: 12px 0 0; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--brand-3) 9%, transparent); border: 1px solid color-mix(in srgb, var(--brand-3) 22%, transparent); font-size: 14px; line-height: 1.65; color: var(--text); }
.feedback cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--text-3); font-weight: 650; }
.feedback.student { background: color-mix(in srgb, var(--cyan) 8%, transparent); border-color: color-mix(in srgb, var(--cyan) 22%, transparent); }

.grade-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.grade-cta .gi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(251, 191, 36, .16); color: var(--warn); flex-shrink: 0; }
.proj-rows { display: grid; gap: 10px; }
.proj-row { --mc: var(--brand-1); display: grid; grid-template-columns: auto minmax(0, 1fr) repeat(3, 92px) 150px; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); transition: .25s; }
.proj-row:hover { border-color: color-mix(in srgb, var(--mc) 45%, var(--border)); transform: translateX(3px); }
.proj-row .mod-icon { width: 44px; height: 44px; border-radius: 14px; }
.proj-row .mod-icon .ico { width: 20px; height: 20px; }
.pr-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-3); font-weight: 650; flex-wrap: wrap; }
.pr-meta .badge { height: 20px; font-size: 11px; }
.pr-main b { display: block; font-size: 15.5px; margin: 3px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-prog { display: flex; align-items: center; gap: 10px; }
.pr-prog .progress { flex: 1; max-width: 220px; margin: 0; }
.pr-prog small { font-size: 12px; color: var(--text-3); font-weight: 650; white-space: nowrap; }
.pr-stat { text-align: center; }
.pr-stat b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.pr-stat b.warn { color: var(--warn); } .pr-stat b.ok { color: var(--ok); }
.pr-stat small { font-size: 11.5px; color: var(--text-3); font-weight: 650; }
.pr-due { display: flex; gap: 10px; align-items: center; }
.pr-due .ico { width: 18px; height: 18px; color: var(--text-3); }
.pr-due b { display: block; font-size: 14px; } .pr-due small { font-size: 12px; color: var(--text-3); }
.pr-due.hot .ico, .pr-due.hot small { color: var(--warn); }
.pr-due.past { opacity: .6; }
.split.wide-left { grid-template-columns: minmax(0, 1fr) 400px; }
.sticky-side { position: sticky; top: 96px; }
.rubric-edit { display: grid; gap: 8px; }
.rbe { display: grid; grid-template-columns: 1fr 110px auto; gap: 8px; align-items: center; }
.hint.warn { color: var(--warn); }

.grade-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.grade-head .person small { display: block; margin-top: 4px; }
.grade-nav { display: flex; gap: 10px; align-items: center; }
.danger-box { background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.danger-box b { color: var(--err); display: inline-flex; align-items: center; gap: 6px; }
.sub-preview { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); max-height: 460px; }
.sub-preview img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.score-list { display: grid; gap: 8px; margin-bottom: 16px; }
.score-row { display: grid; grid-template-columns: 1fr 104px auto; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.score-row .input { height: 42px; padding: 0 6px 0 12px; text-align: center; font-family: var(--font-mono); font-weight: 700; font-size: 16px; }
.score-row .input:user-invalid { border-color: #ef4444; }
.score-row small { color: var(--text-3); font-family: var(--font-mono); min-width: 40px; }
.grade-total { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.grade-total div { padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
.grade-total small { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.grade-total b { font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; transition: color .3s; }
.grade-total.pass b[data-g-pct], .grade-total.pass b[data-g-grade] { color: var(--ok); }
.grade-total.fail b[data-g-pct], .grade-total.fail b[data-g-grade] { color: var(--err); }
.decision { display: grid; gap: 8px; }
.dc { --dc: var(--ok); display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface-2); cursor: pointer; font-weight: 700; font-size: 14px; transition: .2s; }
.dc.dc-warn { --dc: var(--warn); } .dc.dc-err { --dc: var(--err); }
.dc input { position: absolute; opacity: 0; pointer-events: none; }
.dc .ico { width: 18px; height: 18px; color: var(--dc); }
.dc:hover { border-color: color-mix(in srgb, var(--dc) 50%, var(--border)); }
.dc:has(input:checked) { border-color: var(--dc); background: color-mix(in srgb, var(--dc) 12%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dc) 14%, transparent); }
.dc:has(input:focus-visible) { outline: 2px solid var(--dc); outline-offset: 2px; }
.dc.suggested::after { content: "sugjerim"; margin-left: auto; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dc); }
.quick-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.quick-chips .chip { cursor: pointer; transition: .2s; }
.quick-chips .chip:hover { border-color: var(--brand-1); color: var(--text); }

.res-hero h2 .grad-text { font-size: inherit; }
.res-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.res-pills div { padding: 12px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); min-width: 120px; }
.res-pills b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.res-pills small { font-size: 12px; color: var(--text-3); font-weight: 650; }
.gbars { position: relative; display: flex; gap: 8px; align-items: flex-end; height: 190px; padding-top: 20px; }
.gbars::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(22px + (100% - 42px) * var(--pass, .5)); border-top: 1.5px dashed rgba(251, 113, 133, .5); }
.bar-col { flex: 1; max-width: 46px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.bar-col span { font-size: 11px; font-weight: 750; color: var(--text-2); }
.bar-col i { display: block; width: 100%; height: 0; max-height: calc(100% - 40px); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--bc), color-mix(in srgb, var(--bc) 40%, transparent)); transition: height 1.3s var(--ease); }
.bar-col small { font-size: 10.5px; color: var(--text-3); font-weight: 700; font-family: var(--font-mono); }
.mod-icon.sm { width: 36px; height: 36px; border-radius: 12px; flex-shrink: 0; }
.mod-icon.sm .ico { width: 17px; height: 17px; }
.dots { display: flex; gap: 5px; margin-bottom: 4px; }
.dot { width: 14px; height: 14px; border-radius: 5px; background: var(--surface-2); border: 1.5px solid var(--border-strong); transition: transform .2s var(--spring); }
.dot:hover { transform: scale(1.3); }
.dot.st-passed { background: var(--ok); border-color: var(--ok); }
.dot.st-submitted { background: var(--warn); border-color: var(--warn); }
.dot.st-revision, .dot.st-failed, .dot.st-missed { background: var(--err); border-color: var(--err); }
.dot.st-todo, .dot.st-late { border-color: var(--brand-1); }
.grade-pill { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-family: var(--font-display); font-weight: 800; font-size: 17px; background: var(--surface-2); }
.grade-pill.g10, .grade-pill.g9 { background: rgba(52, 211, 153, .16); color: var(--ok); }
.grade-pill.g8, .grade-pill.g7 { background: rgba(34, 211, 238, .14); color: var(--cyan); }
.grade-pill.g6 { background: rgba(251, 191, 36, .14); color: var(--warn); }
.grade-pill.g5 { background: rgba(251, 113, 133, .14); color: var(--err); }
.legend-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); font-weight: 650; margin-bottom: 14px; }
.legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.gb-key { width: 12px; height: 12px; border-radius: 4px; display: inline-block; background: var(--surface-2); border: 1.5px solid var(--border-strong); }
.gb-key.st-passed { background: var(--ok); border-color: var(--ok); } .gb-key.st-submitted { background: var(--warn); border-color: var(--warn); }
.gb-key.st-revision { background: #fb923c; border-color: #fb923c; } .gb-key.st-failed { background: var(--err); border-color: var(--err); }
.gb-wrap { overflow-x: auto; }
.gradebook th, .gradebook td { white-space: nowrap; }
.gradebook th a { display: grid; gap: 2px; font-size: 12px; color: var(--text-2); }
.gradebook th a .mono { color: var(--mc); font-size: 11px; }
.gradebook .sticky { position: sticky; left: 0; background: var(--surface-solid); z-index: 2; min-width: 220px; }
.gb-cell { text-align: center; }
.gb { display: inline-grid; place-items: center; min-width: 52px; height: 34px; padding: 0 8px; border-radius: 10px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); transition: transform .2s var(--spring); }
a.gb:hover { transform: scale(1.08); }
.gb .ico { width: 15px; height: 15px; }
.gb.st-passed { background: rgba(52, 211, 153, .14); color: var(--ok); border-color: rgba(52, 211, 153, .3); }
.gb.st-submitted { background: rgba(251, 191, 36, .14); color: var(--warn); border-color: rgba(251, 191, 36, .3); }
.gb.st-revision { background: rgba(251, 146, 60, .14); color: #fb923c; border-color: rgba(251, 146, 60, .3); }
.gb.st-failed, .gb.miss { background: rgba(251, 113, 133, .12); color: var(--err); border-color: rgba(251, 113, 133, .28); }
[data-theme="light"] .gb.st-passed { color: #059669; } [data-theme="light"] .gb.st-submitted { color: #b45309; }

@media (max-width: 1280px) {
  .proj-row { grid-template-columns: auto minmax(0, 1fr) repeat(2, 84px) 140px; }
  .proj-row .pr-stat:nth-of-type(4) { display: none; }
}
@media (max-width: 1100px) {
  .split.wide-left { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}
@media (max-width: 1024px) { .mini-stats { grid-column: span 12; } .proj-next { grid-column: span 12; } }
@media (max-width: 760px) {
  .mini-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proj-row { grid-template-columns: auto minmax(0, 1fr); }
  .proj-row .pr-stat, .proj-row .pr-due { display: none; }
  .rb { grid-template-columns: 1fr auto; } .rb .rb-bar { grid-column: 1 / -1; grid-row: 2; }
  .grade-total b { font-size: 20px; }
  .rbe { grid-template-columns: 1fr 92px auto; }
}
@media print {
  .sidebar, .topbar, .bottom-nav, .page-foot, .page-head .actions, .ambient, .fin-banner { display: none !important; }
  .shell { display: block; } .main { margin: 0 !important; }
  body { background: #fff !important; color: #111 !important; }
  .card { break-inside: avoid; box-shadow: none !important; border-color: #ddd !important; background: #fff !important; }
}

/* ==========================================================================
   HAPI 8 — Certifikatat & faqet publike
   ========================================================================== */
.pub { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(16px, 4vw, 48px); }
.pub-top .brand { margin: 0; }
.pub-nav { display: flex; align-items: center; gap: 8px; }
.pub-nav > a:not(.btn) { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; height: 40px; border-radius: 12px; font-size: 13.5px; font-weight: 650; color: var(--text-2); transition: .2s; }
.pub-nav > a:not(.btn):hover { background: var(--surface-2); color: var(--text); }
.pub-nav .ico { width: 16px; height: 16px; }
.pub-main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px) 60px; }
.pub-foot { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; padding: 26px 16px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--border); }
.pub-foot a:hover { color: var(--text); }

.cert-paper { --mc: #c026d3; position: relative; container-type: inline-size; border-radius: 14px; background: #fff; color: #16112a; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .04); }
.cert-paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 2.4cqw; background: linear-gradient(90deg, #ff1f8f, #c026d3, #7c3aed); }
.cert-paper::after { content: ""; position: absolute; inset: auto 0 0; height: 2.4cqw; background: linear-gradient(90deg, #7c3aed, #c026d3, #ff1f8f); }
.cp-in { position: relative; aspect-ratio: 297 / 210; display: flex; flex-direction: column; padding: 5.5cqw 6.5cqw 5cqw; }
.cert-paper.program { background: radial-gradient(ellipse at 50% 120%, rgba(192, 38, 211, .08), transparent 60%), #fff; }
.cp-top { display: flex; align-items: center; gap: 2.2cqw; }
.cp-logo { width: 5.6cqw; height: 5.6cqw; border-radius: 1.5cqw; display: grid; place-items: center; background: #c026d3; color: #fff; font-weight: 800; font-size: 3cqw; font-family: var(--font-display); }
.cp-top b { display: block; font-size: 2.6cqw; letter-spacing: .04em; }
.cp-top small { display: block; font-size: 1.9cqw; color: #8a83a3; font-weight: 650; }
.cp-no { margin-left: auto; font-size: 1.9cqw; color: #8a83a3; }
.cp-body { flex: 1; display: grid; place-content: center; text-align: center; gap: 1.2cqw; }
.cp-k { font-size: 2cqw; color: #8a83a3; font-weight: 600; }
.cp-name { font-family: var(--font-display); font-size: 6.4cqw; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; color: #16112a; }
.cp-line { width: 34cqw; height: .45cqw; margin: .4cqw auto; border-radius: 9px; background: linear-gradient(90deg, #ff1f8f, #c026d3, #7c3aed); }
.cert-paper p { font-size: 2.2cqw; line-height: 1.45; color: #4d4566; max-width: 72cqw; margin: 0 auto; }
.cert-paper p b { color: #16112a; }
.cp-foot { display: flex; align-items: flex-end; gap: 5cqw; }
.cp-foot small { display: block; font-size: 1.6cqw; text-transform: uppercase; letter-spacing: .1em; color: #a59fbd; font-weight: 750; }
.cp-foot b { font-size: 2.4cqw; }
.cp-qr { margin-left: auto; width: 13cqw; height: 13cqw; border-radius: 1cqw; border: 1px solid #ece7f6; background: #fff; }
.cp-stamp { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 1.4cqw 4cqw; border: .5cqw solid #e11d48; border-radius: 2cqw; color: #e11d48; font-weight: 900; font-size: 6cqw; letter-spacing: .08em; background: rgba(255, 241, 242, .85); }

.cert-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 34px; background: radial-gradient(ellipse at 0% 0%, rgba(255, 31, 143, .18), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, .18), transparent 55%), var(--surface); }
.cf-paper { transform: rotate(-2deg); transition: transform .5s var(--spring); }
.cf-paper:hover { transform: rotate(0) scale(1.02); }
.cf-info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 10px; line-height: 1.1; }
.cert-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.btn.li b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #0a66c2; color: #fff; font-size: 11px; font-weight: 800; }
.cert-road { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.cert-road .check-list { margin: 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.cert-tile { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.cert-tile .cert-actions { margin-top: 14px; }
.cert-tile.locked { display: grid; }
.cert-ghost { --mc: var(--brand-1); aspect-ratio: 297 / 210; border-radius: 14px; border: 2px dashed var(--border-strong); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--surface) 14px 28px); }
.cert-ghost .mod-icon { opacity: .7; }
.cert-ghost b { font-size: 15px; }
.cert-ghost small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); font-weight: 650; }
.cert-ghost .ico { width: 14px; height: 14px; }
.cert-ghost .progress { margin: 4px 0; }
.mod-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.mchip { --mc: var(--brand-1); display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-3); background: var(--surface-2); border: 1px dashed var(--border-strong); }
.mchip.on { background: color-mix(in srgb, var(--mc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--mc) 55%, transparent); color: var(--text); }
.mchip.ready { border: 1.5px solid var(--mc); color: var(--mc); animation: pulse-soft 1.8s ease-in-out infinite; }
.mchip.rev { text-decoration: line-through; color: var(--err); }
@keyframes pulse-soft { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mc) 18%, transparent); } }
.table tr.muted-row td { opacity: .55; }

.verify-wrap { max-width: 980px; margin: 0 auto; display: grid; gap: 22px; }
.verify-head { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 0 6px; }
.verify-head h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; max-width: 760px; }
.verify-head p { max-width: 560px; }
.verify-form { display: flex; gap: 10px; width: min(560px, 100%); margin-top: 8px; }
.verify-form .input { height: 54px; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.verify-form .btn { height: 54px; }
.verify-result { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg); border: 1px solid; }
.verify-result.good { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .35); }
.verify-result.bad { background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .35); }
.vr-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #34d399, #22d3ee); box-shadow: 0 14px 30px -10px rgba(52, 211, 153, .7); }
.verify-result.bad .vr-icon { background: linear-gradient(135deg, #fb7185, #c026d3); box-shadow: 0 14px 30px -10px rgba(251, 113, 133, .7); }
.vr-icon .ico { width: 28px; height: 28px; }
.verify-result b { font-family: var(--font-display); font-size: 21px; letter-spacing: -.02em; }
.verify-result p { color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.verify-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.verify-info { padding: 10px 22px; }

@media (max-width: 1100px) { .cert-feature, .cert-road, .verify-grid { grid-template-columns: 1fr; } .cf-paper { transform: none; } }
@media (max-width: 760px) {
  .pub-nav > a:not(.btn) span { display: none; }
  .verify-form { flex-direction: column; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-feature { padding: 20px; }
}

/* ==========================================================================
   HAPI 9 — Statistikat, raportet, audit, konfigurimet
   ========================================================================== */
.chart-box { margin: 0 -6px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: var(--border); stroke-width: 1; }
.chart .gl.base { stroke: var(--border-strong); }
.chart text { fill: var(--text-3); font-size: 11px; font-family: var(--font-body); font-weight: 600; }
.chart .mk path, .chart .mk .dotm { transition: opacity .2s; }
.chart .mk:hover path { opacity: .8; }
.chart .mk .hit { cursor: crosshair; }
.chart .cross { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart .mk:hover .cross { opacity: 1; }
.chart .dotm { stroke: var(--surface-solid); stroke-width: 2; }
.chart .mk:hover .dotm { r: 6; }
.hbars { display: grid; gap: 12px; }
.hb { display: grid; grid-template-columns: minmax(130px, 1.1fr) 2fr 58px; gap: 14px; align-items: center; font-size: 13.5px; }
.hb-l { font-weight: 650; color: var(--text); line-height: 1.3; min-width: 0; }
.hb-l small { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 600; margin-top: 2px; }
.hb-t { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 4px; background: var(--bc, var(--brand-1)); }
.hb b { text-align: right; font-family: var(--font-mono); font-size: 12.5px; }
.funnel { display: grid; gap: 8px; }
.fn { display: grid; grid-template-columns: 1fr 130px; gap: 12px; align-items: center; }
.fn-bar { height: 34px; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; background: linear-gradient(90deg, color-mix(in srgb, var(--brand-2) 70%, transparent), color-mix(in srgb, var(--brand-3) 45%, transparent)); color: #fff; min-width: 46px; }
.fn-bar b { font-family: var(--font-display); font-size: 15px; }
.fn span { font-size: 13px; font-weight: 650; color: var(--text-2); }
.fn span small { display: block; font-size: 11.5px; color: var(--text-3); }
.stat .trend.down { color: var(--err); }
.stat .trend small { color: var(--text-3); font-weight: 600; }
.tag-code { display: inline-grid; place-items: center; min-width: 54px; height: 36px; padding: 0 8px; border-radius: 11px; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 13px; }
.mini-meter { display: inline-block; vertical-align: middle; width: 70px; height: 7px; border-radius: 9px; background: var(--surface-2); overflow: hidden; margin-right: 8px; }
.mini-meter i { display: block; height: 100%; background: var(--ok); border-radius: inherit; }
.mini-meter.bad i { background: var(--err); }
.tl-f { display: grid; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.tl-f .input { text-transform: none; letter-spacing: 0; }
.tl-f.grow { flex: 1; }
.toolbar.card { align-items: flex-end; }
.table tr.total-row td { border-top: 1.5px solid var(--border-strong); background: var(--surface-2); }
.table tr.risk-row td:first-child { box-shadow: inset 3px 0 0 var(--err); }
.audit-list { display: grid; gap: 6px; }
.au { display: grid; grid-template-columns: auto minmax(0, 1fr) 190px 130px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.au-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--text-3); }
.au.good .au-i { color: var(--ok); background: rgba(52, 211, 153, .1); } .au.bad .au-i { color: var(--err); background: rgba(251, 113, 133, .1); }
.au-i .ico { width: 17px; height: 17px; }
.au-m { min-width: 0; display: grid; gap: 2px; }
.au-m code { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--text); }
.au-m span { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-u b, .au-t b { display: block; font-size: 13px; } .au-u small, .au-t small { font-size: 11.5px; color: var(--text-3); }
.au-t { text-align: right; }
.link-list { display: grid; gap: 8px; }
.link-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); transition: .2s; }
.link-list a:hover { border-color: var(--border-strong); transform: translateX(3px); }
.link-list a > .ico:first-child { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(192, 38, 211, .14); color: var(--brand-1); flex-shrink: 0; }
.link-list span { flex: 1; } .link-list b { display: block; font-size: 14px; } .link-list small { font-size: 12px; color: var(--text-3); }
.link-list a > .ico:last-child { width: 16px; height: 16px; color: var(--text-3); }
@media (max-width: 760px) {
  .au { grid-template-columns: auto minmax(0, 1fr); }
  .au-u, .au-t { grid-column: 2; text-align: left; }
  .hb { grid-template-columns: 1fr 52px; } .hb-t { grid-column: 1 / -1; grid-row: 2; }
  .fn { grid-template-columns: 1fr 100px; }
}

/* ==========================================================================
   HAPI 10 — Manuali, FAQ, Asistenti, Rregullorja
   ========================================================================== */
.help-hero { position: relative; display: flex; align-items: center; gap: 30px; padding: 36px; margin-bottom: 18px; border-radius: var(--r-xl); border: 1px solid var(--border); overflow: hidden;
  background: radial-gradient(ellipse at 0% 0%, rgba(255, 31, 143, .22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(34, 211, 238, .14), transparent 55%), var(--surface); }
.help-hero > div:first-child { flex: 1; min-width: 0; }
.help-hero h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 14px 0 20px; }
.help-search { display: flex; gap: 10px; max-width: 640px; }
.help-search .input { height: 54px; font-size: 15.5px; }
.help-search .btn { height: 54px; }
.help-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.help-chips .chip { cursor: pointer; padding: 7px 12px; font-size: 12.5px; transition: .2s; }
.help-chips .chip:hover { border-color: var(--brand-1); color: var(--text); }
.help-orb { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: conic-gradient(from 0deg, #ff1f8f, #c026d3, #7c3aed, #22d3ee, #ff1f8f); box-shadow: 0 30px 80px -20px rgba(192, 38, 211, .8); animation: spin 14s linear infinite; position: relative; }
.help-orb::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2a1840, #0d0b16); }
.help-orb .ico { width: 54px; height: 54px; position: relative; z-index: 1; animation: spin 14s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-bottom: 18px; }
.guide { display: flex; flex-direction: column; gap: 14px; }
.g-head { display: flex; gap: 14px; }
.g-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(192, 38, 211, .7); }
.g-ic .ico { width: 21px; height: 21px; }
.g-head b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.g-head p { font-size: 13.5px; color: var(--text-2); margin-top: 4px; line-height: 1.55; }
.g-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; flex: 1; }
.g-steps li { counter-increment: s; position: relative; padding-left: 34px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.g-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.guide .card-link { margin-top: auto; }
.shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.shortcuts div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.shortcuts small { display: block; margin-top: 6px; color: var(--text-2); font-weight: 650; font-size: 13px; }
.faq-cat { margin-bottom: 18px; }
.faq-cat h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin: 6px 0 10px; }
.faq { border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 8px; transition: border-color .2s; }
.faq[open] { border-color: color-mix(in srgb, var(--brand-1) 40%, var(--border)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 700; font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span:first-child { flex: 1; }
.faq summary .fx { width: 18px; height: 18px; color: var(--text-3); transition: transform .3s var(--spring); flex-shrink: 0; }
.faq[open] summary .fx { transform: rotate(45deg); color: var(--brand-1); }
.faq-a { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.faq-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: min(720px, calc(100vh - 210px)); min-height: 480px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.chat-av { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
.chat-av .ico { width: 20px; height: 20px; }
.chat-head b { display: block; } .chat-head small { font-size: 12px; color: var(--text-3); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.msg { display: flex; }
.msg.me { justify-content: flex-end; }
.bubble { max-width: min(680px, 86%); padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.65; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 6px; overflow-wrap: anywhere; }
.msg.me .bubble { background: var(--brand-grad); color: #fff; border: 0; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.msg.err .bubble { border-color: rgba(251, 113, 133, .4); color: var(--err); }
.bubble p + p, .bubble ul, .bubble ol, .bubble pre { margin-top: 8px; }
.bubble ul, .bubble ol { padding-left: 20px; }
.bubble code { font-family: var(--font-mono); font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .25); }
.bubble pre { padding: 12px 14px; border-radius: 12px; background: #0b0914; color: #e9e4f7; overflow-x: auto; }
.bubble pre code { padding: 0; background: none; font-size: 12.5px; line-height: 1.6; }
.srcs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.srcs a { font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.srcs a:hover { color: var(--text); border-color: var(--brand-1); }
.dots-t { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots-t i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: bounce 1.2s infinite; }
.dots-t i:nth-child(2) { animation-delay: .15s; } .dots-t i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding: 14px 16px; border-top: 1px solid var(--border); }
.chat-form textarea { resize: none; min-height: 50px; max-height: 160px; padding-top: 14px; }
.chat-form .btn { height: 50px; width: 54px; padding: 0; justify-content: center; }
.chat-note { font-size: 11.5px; color: var(--text-3); text-align: center; padding: 0 16px 12px; }
.doc { padding: 34px clamp(20px, 4vw, 48px); font-size: 15px; line-height: 1.8; color: var(--text-2); }
.doc h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--text); margin-bottom: 14px; }
.doc h3 { font-size: 18px; color: var(--text); margin: 26px 0 8px; }
.doc h4 { font-size: 15px; color: var(--text); margin: 18px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; } .doc li { margin-bottom: 4px; }
.doc b { color: var(--text); }
.doc-upd { margin-top: 24px; font-size: 12.5px; }
.accept-card { display: grid; justify-items: center; text-align: center; gap: 6px; }
.accept-card .soon-icon { width: 60px; height: 60px; margin: 0 0 8px; }
.accept-card.ok .soon-icon { background: linear-gradient(135deg, #34d399, #22d3ee); }
.accept-card b { font-size: 17px; }
.accept-card form { width: 100%; }
.pub-doc { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
@media (max-width: 760px) {
  .help-hero { padding: 24px; } .help-orb { display: none; }
  .help-search { flex-direction: column; }
  .guide-grid { grid-template-columns: 1fr; }
  .chat { height: calc(100vh - 230px); }
}

/* ---------- Lista të vogla (profili i studentit, ballinat) ---------- */
.mini-list { display: grid; gap: 6px; }
.ml-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); transition: .2s; min-width: 0; }
.ml-row:hover { border-color: var(--border-strong); transform: translateX(2px); }
.ml-row > .ico { width: 17px; height: 17px; color: var(--brand-1); flex-shrink: 0; }
.ml-row .dot { flex-shrink: 0; }
.ml-t { flex: 1; min-width: 0; display: grid; }
.ml-t b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-t small { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-row > b.mono { font-size: 12.5px; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.todo { --tc: var(--text-3); display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--tc); transition: .2s; }
.todo.warn { --tc: var(--warn); } .todo.brand { --tc: var(--brand-1); } .todo.danger { --tc: var(--err); }
.todo:hover { transform: translateY(-2px); border-color: var(--border-strong); border-left-color: var(--tc); }
.td-i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--tc) 15%, transparent); color: var(--tc); }
.td-i .ico { width: 18px; height: 18px; }
.td-t { flex: 1; min-width: 0; display: grid; } .td-t b { font-size: 14px; } .td-t small { font-size: 12px; color: var(--text-3); }
.td-n { min-width: 32px; height: 28px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: color-mix(in srgb, var(--tc) 18%, transparent); color: var(--tc); white-space: nowrap; }

/* ---------- Zilja: njoftimet personale ---------- */
.bell-wrap { position: relative; }
.bell-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px)); border-radius: 20px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); z-index: 60; overflow: hidden; animation: pop .25s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.bp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.bp-head .link { background: none; border: 0; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--brand-1); }
.bp-list { max-height: 380px; overflow-y: auto; padding: 6px; }
.bp-item { --tc: var(--brand-1); display: flex; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; position: relative; }
.bp-item:hover { background: var(--surface-2); }
.bp-item.ok { --tc: var(--ok); } .bp-item.danger { --tc: var(--err); } .bp-item.warn { --tc: var(--warn); }
.bp-item.new::after { content: ""; position: absolute; right: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 3px rgba(255, 31, 143, .2); }
.bp-i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--tc) 15%, transparent); color: var(--tc); }
.bp-i .ico { width: 17px; height: 17px; }
.bp-t { display: grid; gap: 2px; min-width: 0; padding-right: 14px; }
.bp-t b { font-size: 13.5px; line-height: 1.35; } .bp-t small { font-size: 12.5px; color: var(--text-2); line-height: 1.4; } .bp-t time { font-size: 11.5px; color: var(--text-3); }
.bp-item:not(.new) .bp-t b { font-weight: 600; color: var(--text-2); }
.bp-empty { text-align: center; padding: 26px 16px; color: var(--text-3); font-size: 13.5px; display: grid; justify-items: center; gap: 8px; }
.bp-empty .ico { width: 26px; height: 26px; }
.bp-foot { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text-2); }
.bp-foot:hover { color: var(--text); background: var(--surface-2); }
.bp-foot .ico { width: 16px; height: 16px; }
.bp-foot .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--brand-grad); }
.install-bar { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 70; width: min(460px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); animation: pop .3s var(--spring); }
.install-bar > span:nth-child(2) { flex: 1; display: grid; } .install-bar b { font-size: 14px; } .install-bar small { font-size: 12px; color: var(--text-3); }
.ib-i { font-size: 24px; }
@media (min-width: 1025px) { .install-bar { bottom: 24px; left: auto; right: 24px; transform: none; } }
.ready-list { display: grid; gap: 8px; }
.rd { --rc: var(--ok); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.rd.warn { --rc: var(--warn); } .rd.bad { --rc: var(--err); border-color: rgba(251, 113, 133, .3); }
.rd-i { color: var(--rc); display: grid; } .rd-i .ico { width: 20px; height: 20px; }
.rd-t { flex: 1; min-width: 0; display: grid; } .rd-t b { font-size: 14px; } .rd-t small { font-size: 12.5px; color: var(--text-3); overflow-wrap: anywhere; }

/* ---------- Logoja e ARRA Academy ---------- */
.brand-mark { object-fit: contain; filter: drop-shadow(0 6px 16px rgba(192, 38, 211, .35)); }
.brand-full { gap: 12px; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-logo.on-light { display: none; }
[data-theme="light"] .brand-logo.on-dark { display: none; }
[data-theme="light"] .brand-logo.on-light { display: block; }
.brand-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 8px; color: #fff; background: var(--brand-grad); box-shadow: 0 6px 18px -8px var(--brand-1); align-self: center; }
.auth-visual .brand-logo { height: 62px; }
.auth-mobile-brand .brand-logo { height: 40px; }
@media (max-width: 760px) { .pub-top .brand-logo { height: 34px; } .pub-top .brand-tag { display: none; } }
.cp-brand { height: 7.5cqw; width: auto; }
.cp-kind small { font-size: 1.9cqw; color: #c026d3; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cp-kind { margin-left: 1cqw; }
.cmdk-item em { font-style: normal; color: var(--text-3); font-size: 12px; margin-left: 6px; }
.thread { display: grid; gap: 12px; margin-bottom: 14px; max-height: 460px; overflow-y: auto; }
.tmsg { display: flex; gap: 10px; align-items: flex-start; }
.tmsg.me { flex-direction: row-reverse; }
.tmsg .tb { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); border-top-left-radius: 6px; }
.tmsg.me .tb { background: color-mix(in srgb, var(--brand-2) 16%, var(--surface-2)); border-color: color-mix(in srgb, var(--brand-2) 30%, var(--border)); border-top-left-radius: 16px; border-top-right-radius: 6px; }
.tmsg .th { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .tmsg .th b { font-size: 13px; } .tmsg .th small { font-size: 11.5px; color: var(--text-3); }
.tmsg p { font-size: 14px; line-height: 1.55; margin-top: 3px; overflow-wrap: anywhere; }
.thread-form { display: flex; gap: 8px; align-items: flex-end; }
.thread-form textarea { min-height: 48px; resize: vertical; }
.thread-form .btn { height: 48px; width: 52px; padding: 0; justify-content: center; }

/* ==========================================================================
   Regjistrimi me hapa & kyçja
   ========================================================================== */
.auth-card.reg-card { max-width: 640px; }
.reg-target { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin: 4px 0 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(255, 31, 143, .1), rgba(124, 58, 237, .1)); border: 1px solid rgba(192, 38, 211, .28); }
.reg-target .rt-i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-grad); color: #fff; }
.reg-target .rt-i .ico { width: 18px; height: 18px; }
.reg-target b { display: block; font-size: 14px; } .reg-target small { font-size: 12.5px; color: var(--text-2); }
.wz-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: none; }
.wz-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text-3); cursor: default; }
.wz-steps li::before { content: ""; height: 4px; border-radius: 9px; background: var(--surface-2); transition: background .4s; }
.wz-steps li.on::before, .wz-steps li.done::before { background: var(--brand-grad); }
.wz-steps li span { display: none; }
.wz-steps li b { font-weight: 700; }
.wz-steps li.on b { color: var(--text); }
.wz-steps li.done { cursor: pointer; } .wz-steps li.done b { color: var(--text-2); }
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js-wz .wz-step { display: none; }
.js-wz .wz-step.on { display: block; animation: wzIn .35s var(--ease); }
@keyframes wzIn { from { opacity: 0; transform: translateX(14px); } }
form:not(.js-wz) [data-wz-next], form:not(.js-wz) [data-wz-back] { display: none; }
form:not(.js-wz) .wz-step + .wz-step { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); }
.wz-nav { display: flex; gap: 10px; margin-top: 6px; }
.wz-nav [data-wz-next], .wz-nav [data-wz-submit] { flex: 1; justify-content: center; }
.wz-nav [data-wz-back] .ico { transform: rotate(180deg); }
.wz-nav [hidden] { display: none !important; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: 13px; border: 1.5px solid var(--border-strong); background: var(--surface); font-weight: 650; font-size: 14px; color: var(--text-2); transition: .2s; }
.pill span .ico { width: 15px; height: 15px; }
.pill:hover span { border-color: color-mix(in srgb, var(--brand-1) 50%, var(--border-strong)); color: var(--text); }
.pill input:checked + span { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 12%, var(--surface)); color: var(--text); box-shadow: 0 0 0 3px rgba(255, 31, 143, .14); }
.pill input:focus-visible + span { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.prog-pick { display: grid; gap: 10px; }
.prog { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--border-strong); background: var(--surface); cursor: pointer; transition: .2s; }
.prog input { position: absolute; opacity: 0; pointer-events: none; }
.prog .pr-i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); color: var(--brand-1); transition: .25s; }
.prog .pr-i .ico { width: 20px; height: 20px; }
.prog b { display: block; font-size: 15px; } .prog small { font-size: 12.5px; color: var(--text-3); }
.prog > span:nth-child(3) { flex: 1; }
.prog .pr-check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: .25s var(--spring); }
.prog .pr-check .ico { width: 14px; height: 14px; color: #fff; opacity: 0; }
.prog:hover { border-color: color-mix(in srgb, var(--brand-1) 50%, var(--border-strong)); }
.prog:has(input:checked) { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 9%, var(--surface)); box-shadow: 0 12px 30px -18px var(--brand-1); }
.prog:has(input:checked) .pr-i { background: var(--brand-grad); color: #fff; }
.prog:has(input:checked) .pr-check { background: var(--brand-1); border-color: var(--brand-1); }
.prog:has(input:checked) .pr-check .ico { opacity: 1; }
.prog:has(input:focus-visible) { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.reg-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 16px; margin: 0 0 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.reg-summary div { display: grid; min-width: 0; } .reg-summary span { font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .reg-summary b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field > .lbl:not(label) { display: block; }
/* kyçja: thirrja për regjistrim */
.join-cta { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; border: 1.5px solid transparent;
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, linear-gradient(120deg, #ff1f8f, #c026d3, #7c3aed, #22d3ee, #ff1f8f) border-box; background-size: 100% 100%, 300% 100%; animation: ctaBorder 6s linear infinite; transition: transform .3s var(--spring), box-shadow .3s; box-shadow: 0 18px 40px -24px rgba(255, 31, 143, .8); }
@keyframes ctaBorder { to { background-position: 0 0, 300% 0; } }
.join-cta:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -22px rgba(255, 31, 143, .9); }
.join-cta .jc-i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-grad); color: #fff; position: relative; }
.join-cta .jc-i::after { content: ""; position: absolute; inset: -4px; border-radius: 17px; border: 2px solid rgba(255, 31, 143, .6); animation: jcPulse 2s ease-out infinite; }
@keyframes jcPulse { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.join-cta .jc-i .ico { width: 22px; height: 22px; }
.join-cta .jc-t { flex: 1; } .join-cta b { display: block; font-size: 16px; } .join-cta small { font-size: 12.5px; color: var(--text-2); }
.join-cta .jc-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 11px; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.join-cta .jc-go .ico { width: 15px; height: 15px; }
.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.join-steps div { padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; color: var(--text-2); text-align: center; }
.join-steps b { display: grid; place-items: center; width: 22px; height: 22px; margin: 0 auto 4px; border-radius: 7px; background: var(--surface-2); color: var(--text); font-size: 11.5px; }
.auth-top .btn-reg { margin-right: auto; }
@media (max-width: 560px) { .reg-summary { grid-template-columns: 1fr; } .wz-steps li b { font-size: 10.5px; } .join-cta .jc-go span { display: none; } .pill span { padding: 0 13px; } }
.app-msg { display: block; font-size: 12px; color: var(--text-2); font-style: italic; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* importi */
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 800; margin-right: 4px; }
.cols-help { display: grid; gap: 12px; margin-bottom: 14px; }
.cols-help div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .cols-help b { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.hint-list { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.imp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.imp-kpis div { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.imp-kpis b { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: -.03em; } .imp-kpis span { font-size: 12.5px; color: var(--text-3); font-weight: 650; }
.imp-kpis .ok b { color: var(--ok); } .imp-kpis .info b { color: var(--cyan); } .imp-kpis .bad b { color: var(--err); }
.imp-table { max-height: 520px; overflow: auto; }
.table tr.imp-error td { background: rgba(251, 113, 133, .05); }
.err-t { color: var(--err); }
.import-result { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.import-result .soon-icon { width: 56px; height: 56px; margin: 0; background: linear-gradient(135deg, #34d399, #22d3ee); }
.import-result > div:nth-child(2) { flex: 1; } .import-result > div > b { font-size: 16px; }
.ir-nums { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--text-2); } .ir-nums b { color: var(--text); font-size: 15px; }
@media (max-width: 760px) { .imp-kpis { grid-template-columns: 1fr 1fr; } }

/* ===================== Tarifat shtesë: video-incizimet & certifikatat ===================== */
.fee-pick { display: grid; gap: 16px; }
.fee-pick.compact { gap: 12px; margin-top: 12px; }
.fee-gh { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; }
.fee-gh .ico { width: 17px; height: 17px; color: var(--brand-2); }
.fee-gh small { margin-left: auto; color: var(--text-3); font-size: 12px; }
.fee-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.fee-pick.compact .fee-opts { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.fee-opt { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: .25s var(--ease); }
.fee-opt:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.fee-opt input { position: absolute; opacity: 0; pointer-events: none; }
.fo-box { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--border-strong); color: transparent; transition: .25s var(--spring); }
.fo-box .ico { width: 14px; height: 14px; stroke-width: 3; }
.fo-t { display: grid; min-width: 0; line-height: 1.25; }
.fo-t b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-t small { font-size: 11.5px; color: var(--text-3); }
.fo-p { margin-left: auto; font-weight: 800; font-size: 13.5px; text-align: right; white-space: nowrap; display: grid; }
.fo-p em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ok); }
.fee-opt:has(input:checked:not(:disabled)) { border-color: rgba(192, 38, 211, .75); background: linear-gradient(120deg, rgba(255, 31, 143, .12), rgba(124, 58, 237, .1)); box-shadow: inset 0 0 0 1px rgba(192, 38, 211, .45), 0 10px 26px -16px rgba(192, 38, 211, .8); }
.fee-opt:has(input:checked:not(:disabled)) .fo-box { background: var(--brand-grad); border-color: transparent; color: #fff; transform: scale(1.05); }
.fee-opt:has(input:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.fee-opt.current .fo-t small { color: var(--brand-2); font-weight: 700; }
.fee-opt.bundle { grid-column: 1 / -1; padding: 14px 16px; background: linear-gradient(120deg, rgba(251, 191, 36, .1), rgba(244, 114, 182, .08)); border-color: rgba(251, 191, 36, .35); }
.fee-opt.bundle .fo-t b { font-size: 14.5px; }
.fee-opt.is-paid, .fee-opt.is-pending { cursor: default; opacity: .78; transform: none; }
.fee-opt.is-paid .fo-box { background: rgba(52, 211, 153, .18); border-color: rgba(52, 211, 153, .5); color: var(--ok); }
.fee-opt.is-pending .fo-box { border-style: dashed; border-color: rgba(251, 191, 36, .6); }
.fee-opt.is-paid .fo-p, .fee-opt.is-pending .fo-p { color: var(--text-3); text-decoration: line-through; font-weight: 600; }
.fee-opt.dim { opacity: .45; }
.fo-st { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.fo-st .ico { width: 12px; height: 12px; }
.fo-st.ok { color: var(--ok); } .fo-st.warn { color: var(--warn); }

.fee-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); }
.fee-total small { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fee-total b[data-fees-total] { font-size: 28px; font-weight: 850; letter-spacing: -.02em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .3s var(--spring); display: inline-block; }
.fee-total b.bump { transform: scale(1.08); }
.fee-checkout [data-fees-submit]:disabled { opacity: .5; cursor: not-allowed; }
.bank-box.compact { padding: 2px 14px; }
.bank-box.compact .bank-row { padding: 9px 0; }

.fee-inline { margin: 16px 0 6px; border-radius: 16px; border: 1px dashed var(--border-strong); padding: 0 14px; transition: .25s; }
.fee-inline[open] { border-style: solid; padding-bottom: 14px; background: var(--surface); }
.fee-inline summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; font-size: 13.5px; font-weight: 650; list-style: none; }
.fee-inline summary::-webkit-details-marker { display: none; }
.fee-inline summary .ico { width: 16px; height: 16px; color: var(--brand-2); transition: transform .3s var(--spring); }
.fee-inline[open] summary .ico { transform: rotate(45deg); }
.fee-inline [data-fees-split] { margin: 12px 0 0; }

.fee-chip, .table td small.fee-chip { display: inline-flex; width: auto; align-items: center; gap: 5px; margin: 4px 4px 0 0; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 650; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); }
.fee-chip .ico { width: 12px; height: 12px; color: var(--brand-2); }
td .fee-chip:first-of-type { margin-left: 6px; }
.fee-chips { display: flex; flex-wrap: wrap; align-items: center; margin: 2px 0 4px; }
.fee-chips:empty { display: none; }
td .fee-chips .fee-chip:first-of-type { margin-left: 0; }

.fee-alert { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid rgba(251, 113, 133, .4); background: linear-gradient(120deg, rgba(251, 113, 133, .13), rgba(192, 38, 211, .05)); font-size: 14px; animation: rise .6s var(--ease) both; flex-wrap: wrap; }
.fee-alert > div:not(.fa-act) { flex: 1; min-width: 220px; display: grid; gap: 2px; }
.fee-alert small { color: var(--text-2); font-size: 13px; }
.fee-alert .fa-i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #fb7185, #c026d3); box-shadow: 0 12px 26px -12px rgba(251, 113, 133, .8); }
.fee-alert .fa-i .ico { width: 21px; height: 21px; }
.fee-alert .fa-act { display: flex; gap: 8px; flex-wrap: wrap; }
.fee-alert.pending { border-color: rgba(251, 191, 36, .45); background: linear-gradient(120deg, rgba(251, 191, 36, .14), rgba(251, 191, 36, .03)); }
.fee-alert.pending .fa-i { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 12px 26px -12px rgba(251, 191, 36, .8); }
.fee-alert.cert { border-color: rgba(251, 191, 36, .4); background: linear-gradient(120deg, rgba(251, 191, 36, .12), rgba(244, 114, 182, .07)); }
.fee-alert.cert .fa-i { background: linear-gradient(135deg, #fbbf24, #f472b6); }

/* Faqja e kyçur e video-incizimeve */
.vpw { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 34px; align-items: center; margin-bottom: 18px; overflow: hidden; border-color: rgba(251, 113, 133, .35); }
.vpw.pending { border-color: rgba(251, 191, 36, .4); }
.vpw-art { position: relative; height: 230px; display: grid; place-items: center; }
.vpw-stack { position: absolute; inset: 0; }
.vpw-thumb { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 16 / 9; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--mc) 85%, #000) 0%, #120d22 100%); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
  transform: translate(calc(-50% + (var(--i) - 1) * 26px), calc(-50% + (var(--i) - 1) * -16px)) rotate(calc((var(--i) - 1) * 5deg)); filter: blur(calc(var(--i) * .6px)) saturate(.8); opacity: calc(1 - var(--i) * .18); z-index: calc(3 - var(--i)); }
.vpw-thumb::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 255, 255, .03) 14px 15px); }
.vpw-thumb span { font-size: 11px; opacity: .75; } .vpw-thumb b { font-size: 13.5px; line-height: 1.25; filter: blur(2.2px); }
.vpw-lock { position: relative; z-index: 5; width: 78px; height: 78px; border-radius: 26px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #fb7185, #c026d3 60%, #7c3aed); box-shadow: 0 20px 44px -12px rgba(192, 38, 211, .9), inset 0 1px 0 rgba(255, 255, 255, .35); animation: vpwPulse 2.6s var(--ease) infinite; }
.vpw.pending .vpw-lock { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 20px 44px -12px rgba(251, 191, 36, .8); }
.vpw-lock .ico { width: 34px; height: 34px; }
@keyframes vpwPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.vpw-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 8px; letter-spacing: -.02em; }
.vpw-body p { font-size: 14.5px; max-width: 60ch; }
.vpw-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.vpw-facts > div { padding: 10px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; min-width: 96px; }
.vpw-facts b { font-size: 18px; font-weight: 850; display: flex; align-items: center; } .vpw-facts b .ico { width: 20px; height: 20px; color: var(--brand-2); }
.vpw-facts small { font-size: 11.5px; color: var(--text-3); }
@media (max-width: 760px) { .vpw { grid-template-columns: 1fr; gap: 6px; } .vpw-art { height: 170px; } }

/* Kartat e shërbimeve */
.svc-card { display: flex; flex-direction: column; gap: 14px; }
.svc-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-top > div { display: grid; flex: 1; min-width: 140px; } .svc-top small { color: var(--text-3); font-size: 12.5px; }
.svc-i { --si: linear-gradient(135deg, #22d3ee, #7c3aed); width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--si); box-shadow: 0 12px 26px -14px rgba(124, 58, 237, .9); }
.svc-i .ico { width: 22px; height: 22px; }
.svc-i.sm { width: 38px; height: 38px; border-radius: 12px; } .svc-i.sm .ico { width: 18px; height: 18px; }
.svc-months { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-months .m { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 650; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); margin: 0; }
.svc-months .m .ico { width: 12px; height: 12px; }
.svc-months .m.paid { color: var(--ok); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.svc-months .m.pending { color: var(--warn); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.svc-months .m.past { opacity: .7; }
.svc-months .m em { font-style: normal; font-size: 10.5px; opacity: .7; }
.svc-months .mx { border: 0; background: transparent; color: inherit; padding: 0; margin-left: 2px; display: inline-grid; cursor: pointer; opacity: .55; transition: .2s; }
.svc-months .mx:hover { opacity: 1; transform: scale(1.15); }
.svc-row { display: flex; align-items: center; gap: 12px; }
.svc-row > div { display: grid; flex: 1; } .svc-row small { color: var(--text-3); font-size: 12.5px; }
.svc-grant { display: flex; gap: 8px; } .svc-grant .input { height: 38px; padding: 0 12px; flex: 1; min-width: 0; }

/* Certifikata e paaktivizuar */
.cert-paper.fee-locked .cp-qr { filter: blur(5px); opacity: .5; }
.cp-lock { position: absolute; inset: auto 0 0 0; height: 46%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1cqw; padding-bottom: 4cqw; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .92) 55%); color: #6b21a8; font-size: 2.6cqw; }
.cp-lock span { width: 8cqw; height: 8cqw; border-radius: 2.4cqw; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff1f8f, #7c3aed); box-shadow: 0 1.6cqw 3.4cqw -1.4cqw rgba(124, 58, 237, .8); }
.cp-lock span .ico { width: 4cqw; height: 4cqw; }
.cert-actions.locked { align-items: center; }
.cert-actions.locked small { display: flex; align-items: center; gap: 5px; flex-basis: 100%; font-size: 12px; }
.cert-actions.locked small .ico { width: 13px; height: 13px; }
.verify-result.warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .4); }
.verify-result.warn .vr-icon { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 14px 30px -10px rgba(251, 191, 36, .7); }
@media (max-width: 600px) { .vpw-hide { display: none; } .fee-gh { flex-wrap: wrap; } .fee-gh small { margin-left: 0; flex-basis: 100%; } }
.auth-top .auth-home { color: var(--text-2); } @media (max-width: 560px) { .auth-top .auth-home { display: none; } }

/* ===================== Faqja kryesore: mesazhet, vlerësimet, buletini ===================== */
.inbox { display: grid; gap: 10px; }
.inbox-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding: 16px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, background .25s; }
.inbox-item.unread { border-color: color-mix(in srgb, var(--brand-2) 40%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--brand-1) 7%, transparent), var(--surface)); }
.ib-av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brand-grad); }
.ib-body { min-width: 0; }
.ib-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.ib-top b { font-size: 15px; }
.ib-body > p { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; overflow-wrap: anywhere; }
.ib-reply { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--ok); }
.ib-reply small { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; font-size: 12px; }
.ib-reply small .ico { width: 13px; height: 13px; }
.ib-reply p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.ib-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ib-acts form { display: inline; }
.ib-acts .ico { width: 16px; height: 16px; }
.ib-quote { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--text-3); font-size: 13.5px; max-height: 120px; overflow: auto; border-left: 3px solid var(--border-strong); }
@media (max-width: 720px) { .inbox-item { grid-template-columns: 38px 1fr; } .ib-av { width: 38px; height: 38px; } .ib-acts { grid-column: 1 / -1; justify-content: flex-start; } }

.nl-hist { display: grid; gap: 8px; }
.nl-item { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.nl-item b { font-size: 14px; } .nl-item small { font-size: 12px; } .nl-item .badge { justify-self: start; }

.stars { color: #fbbf24; letter-spacing: 2px; font-size: 16px; }
.stars .off { color: var(--border-strong); }
.tm-admin { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.tma { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.tma.pending { border-color: rgba(251, 191, 36, .45); background: linear-gradient(140deg, rgba(251, 191, 36, .08), var(--surface)); }
.tma.hidden { opacity: .65; }
.tma-top { display: flex; align-items: center; gap: 12px; }
.tma-top > div { flex: 1; display: grid; min-width: 0; } .tma-top small { font-size: 12px; }
.tma-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; font-weight: 800; color: #fff; background: var(--brand-grad); flex-shrink: 0; }
.tma p { margin: 0; color: var(--text-2); font-size: 14px; flex: 1; }
.tma-acts { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.tma-acts form { display: inline; }
@media (max-width: 420px) { .tm-admin { grid-template-columns: 1fr; } }

.tm-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.tm-status > div { flex: 1; min-width: 200px; display: grid; } .tm-status small { color: var(--text-2); font-size: 13px; }
.tms-i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #fbbf24, #f97316); flex-shrink: 0; }
.tm-status.approved { border-color: rgba(52, 211, 153, .4); background: linear-gradient(120deg, rgba(52, 211, 153, .1), var(--surface)); }
.tm-status.approved .tms-i { background: linear-gradient(135deg, #34d399, #22d3ee); }
.tm-status.pending { border-color: rgba(251, 191, 36, .4); }
.tm-status.hidden .tms-i { background: var(--surface-2); color: var(--text-3); }
.star-pick { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 2px; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label { font-size: 38px; line-height: 1; color: var(--border-strong); cursor: pointer; transition: color .15s, transform .25s var(--spring); padding: 0 2px; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: #fbbf24; }
.star-pick label:hover { transform: scale(1.18); }
.star-pick input:focus-visible + label { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.star-txt { order: -1; margin-left: 12px; font-weight: 750; color: var(--text-2); font-size: 14px; }
.tm-count.warn { color: var(--warn); }
.tm-preview { position: relative; display: grid; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface-solid); box-shadow: var(--shadow); }
.tm-preview::before { content: "“"; position: absolute; top: 4px; right: 18px; font-family: var(--font-display); font-size: 80px; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.tm-preview p { margin: 0; color: var(--text-2); font-size: 14.5px; overflow-wrap: anywhere; }
.tm-who { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.tm-who > div:not(.avatar) { flex: 1; display: grid; } .tm-who small { color: var(--text-3); font-size: 12px; }
.tm-ver .ico { width: 18px; height: 18px; color: #38bdf8; }
.tm-cta { display: flex; align-items: center; gap: 14px; }
.tm-cta .tms-i { background: var(--brand-grad); }
.tm-cta > div { flex: 1; display: grid; } .tm-cta small { color: var(--text-2); font-size: 13px; }

/* ===================== Paneli i adminit: grupi sot, kalibrimi, fjalëkalimet ===================== */
.today-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tc-now { display: flex; align-items: center; gap: 14px; }
.tc-now > div { display: grid; } .tc-now small { color: var(--text-3); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .tc-now b { font-family: var(--font-display); font-size: 20px; }
.tc-i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--mc), color-mix(in srgb, var(--mc) 45%, #7c3aed)); box-shadow: 0 12px 28px -14px var(--mc); }
.tc-i .ico { width: 22px; height: 22px; }
.tc-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.bulk-pw { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.bulk-pw > p { flex-basis: 100%; }
.access-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.access-box small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; } .access-box small .ico { width: 14px; height: 14px; }
.access-box .seg button { height: 32px; font-size: 12.5px; padding: 0 12px; }
.danger-zone { border-color: rgba(244, 63, 94, .3); }
.danger-zone .card-head h3 { color: var(--err); }

/* ---------- Llogaria & shërbimet (profili i studentit) ---------- */
.acct-rows { display: grid; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 14px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.acct-row:first-child { border-top: 0; padding-top: 2px; }
.ar-t { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; }
.ar-t b { display: block; font-size: 14.5px; }
.ar-t small { display: block; color: var(--text-faint, #8a83a6); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.ar-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--text-muted, #b9b3cf); }
.ar-ic.ok { color: var(--ok); background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.ar-ic.warn { color: var(--warn); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .3); }
.ar-ic.bad { color: var(--err); background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .3); }
.ar-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-btns form { margin: 0; }
.bulk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bulk-grid .btn { justify-content: flex-start; }
@media (max-width: 560px) { .bulk-grid { grid-template-columns: 1fr; } .ar-btns { width: 100%; } }

/* ---------- Grupet: ndërruesi i grupit + pagesat e studentëve ---------- */
.cohort-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 18px; }
.cohort-switch a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); font: 600 13px var(--font-mono, monospace); color: var(--text-muted, #b9b3cf); transition: .2s; }
.cohort-switch a:hover { border-color: var(--border-strong); color: var(--text); }
.cohort-switch a.on { background: linear-gradient(135deg, #ff1f8f, #a855f7); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(255, 31, 143, .7); }
.cohort-switch a i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.pay-strip { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, .025); }
.ps-sum { min-width: 220px; flex: 0 1 300px; }
.ps-sum small { display: block; font-size: 12px; color: var(--text-faint, #8a83a6); }
.ps-sum b { font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; margin-right: 6px; }
.ps-sum .progress { margin-top: 8px; }
.ps-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-muted, #b9b3cf); transition: .2s; }
.ps-chip b { font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--text); }
.ps-chip:hover { border-color: var(--border-strong); color: var(--text); }
.ps-chip.ok b { color: var(--ok); } .ps-chip.warn b { color: var(--warn); } .ps-chip.danger b { color: var(--err); } .ps-chip.info b { color: #22d3ee; }
.ps-chip.on { border-color: rgba(255, 31, 143, .6); color: var(--text); background: rgba(255, 31, 143, .08); }
.pay-mini { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.pay-mini small { color: var(--text-faint, #8a83a6); font-size: 12px; }
.progress.thin { height: 5px; margin-top: 6px; max-width: 120px; }
.pay-sub { display: block; font-size: 11.5px; color: var(--text-faint, #8a83a6); margin-top: 4px; }
.pay-sub .ico { width: 12px; height: 12px; vertical-align: -2px; }
.cg-pay { display: flex; gap: 6px 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-faint, #8a83a6); }
.cg-pay span { display: inline-flex; align-items: center; gap: 4px; }
.cg-pay .ok { color: var(--ok); } .cg-pay .warn { color: var(--warn); } .cg-pay .bad { color: var(--err); }
.cg-pay .ico { width: 14px; height: 14px; }

/* ---------- Telefon: kartat statistikore 2 në rresht, titujt e kartave mbështillen ---------- */
@media (max-width: 760px) {
  .bento > .stat.span-3, .bento > .stat.span-4 { grid-column: span 6; padding: 16px; gap: 8px; }
  .stat .num { font-size: 28px; }
  .stat .si { width: 36px; height: 36px; border-radius: 11px; }
  .stat .lbl { font-size: 12px; }
  .card-head { flex-wrap: wrap; }
  .card-head > .badge, .card-head > .card-link { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-head .actions { flex-wrap: wrap; }
  .pay-strip { padding: 12px; }
  .ps-chips { gap: 6px; }
  .ps-chip { height: 32px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 380px) { .bento > .stat.span-3, .bento > .stat.span-4 { grid-column: span 12; } }
.au-m > b { font-size: 14px; font-weight: 700; }
.au-m > b + code { font-size: 11px; opacity: .5; font-weight: 500; margin-left: 4px; }

/* =================== Kuizet & provimet =================== */
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.qz-card { display: grid; gap: 14px; transition: transform .25s, border-color .25s; }
.qz-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mc) 55%, transparent); }
.qz-top { display: flex; gap: 12px; align-items: flex-start; }
.qz-top > div { flex: 1; min-width: 0; }
.qz-top b { display: block; font-size: 16px; line-height: 1.3; margin-top: 2px; }
.qz-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--mc); background: color-mix(in srgb, var(--mc) 15%, transparent); }
.qz-ic.lg { width: 56px; height: 56px; border-radius: 17px; }
.qz-ic.lg .ico { width: 26px; height: 26px; }
.qz-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--text-2); }
.qz-meta span { display: inline-flex; align-items: center; gap: 5px; }
.qz-meta .ico { width: 14px; height: 14px; }
.qz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.qz-stats b { display: block; font-family: var(--font-display); font-size: 20px; }
.qz-stats small { font-size: 11.5px; color: var(--text-3); }

/* redaktori */
.qz-editor { display: grid; gap: 14px; }
.qq { border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: rgba(255, 255, 255, .02); display: grid; gap: 10px; }
.qq-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qq-n { font-size: 13px; letter-spacing: .02em; color: var(--brand-1); }
.qq-type { width: auto; height: 36px; padding: 0 32px 0 10px; font-size: 13px; }
.qq-pts { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.qq-pts input { width: 74px; height: 36px; }
.qq-tools { margin-left: auto; display: flex; gap: 2px; }
.qq-tools .icon-btn { width: 32px; height: 32px; font-size: 16px; }
.qq-body { min-height: 60px; resize: vertical; }
.qq-opts { display: grid; gap: 8px; }
.qq-o { display: flex; align-items: center; gap: 8px; }
.qq-o input.input { height: 42px; }
.qq-o .icon-btn { width: 32px; height: 32px; font-size: 18px; flex: none; }
.qq-ok { position: relative; flex: none; width: 30px; height: 30px; cursor: pointer; }
.qq-ok input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qq-ok span { position: absolute; inset: 0; border-radius: 9px; border: 2px solid var(--border-strong); transition: .2s; }
.qq-ok input:checked + span { background: var(--ok); border-color: var(--ok); }
.qq-ok input:checked + span::after { content: ''; position: absolute; left: 9px; top: 4px; width: 7px; height: 13px; border: solid #04120c; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.qq-ok input:focus-visible + span { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.qq-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qq-expl { flex: 1; min-width: 200px; height: 38px; font-size: 13px; }
.qz-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.qz-sample { font-family: var(--font-mono); font-size: 12px; line-height: 1.55; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); white-space: pre-wrap; margin: 0 0 12px; max-height: 190px; overflow: auto; color: var(--text-2); }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); font-size: 14px; }
.alert.warn { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.alert .ico { flex: none; color: var(--warn); }

/* hyrja */
.qz-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.qz-hero { padding: 28px; }
.qz-hero-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qz-hero-top > div { flex: 1; min-width: 200px; }
.qz-hero-top h2 { font-size: 28px; letter-spacing: -.02em; margin-top: 2px; }
.qz-desc { margin: 16px 0 0; color: var(--text-2); line-height: 1.6; }
.qz-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.qz-facts > div { display: grid; gap: 2px; justify-items: start; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .025); }
.qz-facts .ico { color: var(--mc); width: 18px; height: 18px; margin-bottom: 4px; }
.qz-facts b { font-family: var(--font-display); font-size: 22px; }
.qz-facts small { font-size: 12px; color: var(--text-3); }
.qz-cta { display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.qz-cta form { margin: 0; }
.qz-cta .faint { font-size: 13px; }

/* plotësimi */
.qz-take { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.qz-bar { position: sticky; top: 72px; z-index: 20; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7); }
.qz-bar-t { flex: 1 1 220px; min-width: 0; }
.qz-bar-t b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-prog { flex: 0 1 200px; font-size: 12.5px; color: var(--text-2); }
.qz-prog .progress { margin-top: 6px; height: 6px; }
.qz-prog .progress i { transition: width .35s; }
.qz-timer { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; font-family: var(--font-mono); font-size: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.qz-timer.warn { color: var(--warn); border-color: rgba(251, 191, 36, .45); }
.qz-timer.crit { color: #fff; background: var(--err); border-color: var(--err); animation: qzpulse 1s infinite; }
@keyframes qzpulse { 50% { opacity: .65; } }
.qz-saved { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.qz-saved .ico { width: 13px; height: 13px; color: var(--ok); }
.qz-saved.err { color: var(--warn); }
.qz-saved.busy .ico { opacity: .3; }
.qz-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.qz-dots a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 600 12.5px var(--font-mono); border: 1px solid var(--border); color: var(--text-2); }
.qz-dots a.on { background: color-mix(in srgb, var(--mc) 22%, transparent); border-color: color-mix(in srgb, var(--mc) 60%, transparent); color: var(--text); }
.qz-q { scroll-margin-top: 150px; }
.qz-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.qz-n { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 700 13px var(--font-mono); background: color-mix(in srgb, var(--mc, var(--brand-1)) 18%, transparent); color: var(--mc, var(--brand-1)); }
.qz-n.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 11.5px; }
.qz-body { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 0 0 16px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opts.tf { grid-template-columns: 1fr 1fr; }
.qz-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 56px; border-radius: 14px; border: 1.5px solid var(--border); background: rgba(255, 255, 255, .02); cursor: pointer; transition: .18s; }
.qz-opt:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, .04); }
.qz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz-mark { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--font-mono); border: 1.5px solid var(--border-strong); color: var(--text-2); transition: .18s; }
.qz-mark .ico { width: 16px; height: 16px; }
.qz-opt input[type=radio] + .qz-mark { border-radius: 50%; }
.qz-opts.tf .qz-mark { display: none; }
.qz-opts.tf .qz-opt { justify-content: center; font-weight: 600; }
.qz-txt { flex: 1; line-height: 1.45; }
.qz-opt:has(input:checked) { border-color: var(--mc, var(--brand-1)); background: color-mix(in srgb, var(--mc, var(--brand-1)) 12%, transparent); }
.qz-opt input:checked + .qz-mark { background: var(--mc, var(--brand-1)); border-color: var(--mc, var(--brand-1)); color: #fff; }
.qz-opt input:focus-visible + .qz-mark { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.qz-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.qz-submit b { display: block; font-size: 16px; }

/* rezultati */
.qz-res { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 28px; }
.qz-res-t { flex: 1; min-width: 240px; }
.qz-res-t h2 { font-size: 28px; letter-spacing: -.02em; }
.qz-ring { --c: var(--ok); width: 150px; height: 150px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--surface-solid) 78%, transparent 79%), conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.qz-res.bad .qz-ring { --c: var(--err); }
.qz-ring b { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.qz-ring small { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.qz-rev { margin-bottom: 14px; border-left: 3px solid var(--border); }
.qz-rev.ok { border-left-color: var(--ok); } .qz-rev.part { border-left-color: var(--warn); } .qz-rev.bad { border-left-color: var(--err); }
.qz-opt.ro { cursor: default; }
.qz-opt.ro.correct { border-color: rgba(52, 211, 153, .6); background: rgba(52, 211, 153, .08); }
.qz-opt.ro.correct .qz-mark { background: var(--ok); border-color: var(--ok); color: #04120c; }
.qz-opt.ro.wrong { border-color: rgba(251, 113, 133, .6); background: rgba(251, 113, 133, .08); }
.qz-opt.ro.wrong .qz-mark { background: var(--err); border-color: var(--err); color: #fff; }
.qz-opts.tf .qz-opt.ro .qz-mark { display: grid; }
.qz-you { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.qz-expl { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(34, 211, 238, .07); border: 1px solid rgba(34, 211, 238, .25); font-size: 13.5px; line-height: 1.5; }
.qz-expl .ico { flex: none; color: #22d3ee; }

/* analiza */
.qz-an { display: grid; gap: 6px; }
.qz-an-row { border: 1px solid var(--border); border-radius: 12px; }
.qz-an-row summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; }
.qz-an-row summary::-webkit-details-marker { display: none; }
.qz-an-t { flex: 1; font-size: 13px; min-width: 0; }
.qz-an-opts { display: grid; gap: 6px; padding: 0 12px 12px; }
.qz-an-o { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; overflow: hidden; background: rgba(255, 255, 255, .03); }
.qz-an-o span, .qz-an-o small { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; }
.qz-an-o i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(251, 113, 133, .16); }
.qz-an-o.c i { background: rgba(52, 211, 153, .2); }
.qz-an-o.c span { color: var(--ok); font-weight: 600; }
.qz-an-o .ico { width: 13px; height: 13px; }

@media (max-width: 1000px) { .qz-intro { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .qz-facts { grid-template-columns: 1fr 1fr; }
  .qz-hero, .qz-res { padding: 20px; }
  .qz-hero-top h2, .qz-res-t h2 { font-size: 22px; }
  .qz-bar { top: 64px; padding: 10px 12px; gap: 8px 12px; }
  .qz-bar-t { flex-basis: 100%; }
  .qz-prog { flex: 1; }
  .qz-saved { display: none; }
  .qz-timer { height: 38px; font-size: 16px; padding: 0 12px; }
  .qz-body { font-size: 16px; }
  .qz-opts.tf { grid-template-columns: 1fr; }
  .qz-ring { width: 120px; height: 120px; }
  .qq-tools { margin-left: 0; }
}
.form-grid > .field { min-width: 0; }
.form-grid > .field .input, .form-grid > .field select { min-width: 0; max-width: 100%; }

/* ---------- Ftesa për ligjëratën e parë (faqja e grupit) ---------- */
.invite-card { display: grid; grid-template-columns: 1fr auto auto; gap: 18px 24px; align-items: center; }
.ic-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ic-main h3 { font-size: 20px; letter-spacing: -.02em; margin: 2px 0 0; }
.ic-cal { flex: none; width: 62px; height: 66px; border-radius: 16px; display: grid; place-items: center; align-content: center; background: linear-gradient(160deg, #ff1f8f, #a855f7); color: #fff; box-shadow: 0 14px 30px -14px rgba(255, 31, 143, .8); }
.ic-cal small { font-size: 11px; font-weight: 800; letter-spacing: .12em; opacity: .9; }
.ic-cal b { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.ic-stats { display: flex; gap: 22px; }
.ic-stats div { display: grid; gap: 2px; text-align: center; }
.ic-stats b { font-family: var(--font-display); font-size: 24px; }
.ic-stats b.warn { color: var(--warn); } .ic-stats b.ok { color: var(--ok); }
.ic-stats small { font-size: 12px; color: var(--text-3, #8a83a6); }
.ic-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ic-actions form { margin: 0; }
.ic-auto { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }
@media (max-width: 1024px) { .invite-card { grid-template-columns: 1fr; } .ic-actions { justify-content: flex-start; } .ic-stats { justify-content: flex-start; } }

/* ---------- 10 orët falas (M0) → programi i plotë ---------- */
.free-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; border-color: rgba(52, 211, 153, .35); background: linear-gradient(120deg, rgba(52, 211, 153, .1), transparent 60%), var(--surface); }
.fc-i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ok); background: rgba(52, 211, 153, .14); }
.fc-t { flex: 1 1 280px; min-width: 0; }
.fc-t b { display: block; font-size: 15.5px; }
.fc-t small { display: block; color: var(--text-2); font-size: 13px; margin-top: 3px; line-height: 1.5; }
.free-card form { margin: 0; }

/* ---------- Asistenti ARRA — paneli i administratës ---------- */
.cb-log { display: grid; }
.cb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--border); }
.cb-row:first-child { border-top: 0; }
.cb-q { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.cb-q .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brand-1); }
.cb-q b { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.cb-row > .cb-q { grid-column: 1; grid-row: 1; }
.cb-row > small { grid-column: 1; grid-row: 2; padding-left: 24px; }
.cb-row > .badge { grid-column: 2; grid-row: 1 / 3; }
.cb-row > .btn { grid-column: 3; grid-row: 1 / 3; }
.cb-answers { display: grid; gap: 12px; }
.cb-ans { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.cb-ans.off { opacity: .6; }
.cb-keys { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cb-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.cb-text p { margin: 0 0 6px; }
.cb-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
@media (max-width: 640px) { .cb-row { grid-template-columns: 1fr auto; } .cb-row > .badge { grid-column: 1; grid-row: 3; justify-self: start; } .cb-row > .btn { grid-column: 2; grid-row: 1 / 4; } .cb-row > small { padding-left: 0; } }
.plan-preview .pp-total { border-top: 1px solid var(--border-strong); margin-top: 4px; padding-top: 8px; font-weight: 700; }
.plan-preview .pp-total b { color: var(--ok); }

/* ---------- Analitika e videove ---------- */
.va-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.va-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.va-kpis > div { position: relative; padding: 12px 14px 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); overflow: hidden; }
.va-kpis b { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.va-kpis b small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.va-kpis b.ok { color: var(--ok); } .va-kpis b.bad { color: var(--err); } .va-kpis b.warn { color: var(--warn); }
.va-kpis span { font-size: 12px; color: var(--text-2); }
.va-kpis i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: linear-gradient(90deg, #ff1f8f, #a855f7); }
.va-kpis i.ok { background: linear-gradient(90deg, #34d399, #22d3ee); }
.va-block { margin-bottom: 18px; }
.va-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.va-title b { font-size: 14px; } .va-title small { font-size: 12.5px; color: var(--text-3); }
.va-heat { display: flex; align-items: flex-end; gap: 1px; height: 84px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--border); }
.va-heat span { flex: 1; height: var(--h); min-height: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #ff1f8f, #a855f7); opacity: var(--o); transition: opacity .2s; }
.va-heat span:hover { opacity: 1; }
.va-heat span.top { background: linear-gradient(180deg, #fbbf24, #ff1f8f); opacity: 1; }
.va-axis { display: flex; justify-content: space-between; margin-top: 5px; font: 11px var(--font-mono); color: var(--text-3); }
.va-when { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.va-bars { display: flex; align-items: flex-end; gap: 3px; height: 70px; }
.va-bars span { position: relative; flex: 1; height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; background: color-mix(in srgb, #22d3ee 70%, transparent); }
.va-bars.d7 { height: 70px; padding-bottom: 16px; }
.va-bars.d7 span em { position: absolute; bottom: -17px; left: 50%; transform: translateX(-50%); font: 600 10.5px var(--font-body); font-style: normal; color: var(--text-3); }
.va-cov { display: flex; align-items: center; gap: 8px; } .va-cov .progress { flex: 1; height: 6px; } .va-cov b { font-size: 12.5px; min-width: 36px; text-align: right; }
.va-table td small { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.va-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); margin-bottom: 16px; }
@media (max-width: 760px) { .va-when { grid-template-columns: 1fr; } }

/* =========================================================
   Progresi im — raporti i studentit
   ========================================================= */
.pr-top { margin-bottom: 18px; }
.pr-hero { display: flex; gap: 28px; align-items: center; }
.pr-hero .ring { flex: none; width: 170px; height: 170px; }
.pr-hero-t { flex: 1; min-width: 0; }
.pr-hero-t h2 { margin: 10px 0 6px; }
.pr-parts { display: grid; gap: 9px; margin-top: 16px; }
.pr-part { display: grid; grid-template-columns: 118px 1fr 42px; gap: 12px; align-items: center; font-size: 13px; }
.pr-part > span { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 600; }
.pr-part > span svg { width: 15px; height: 15px; color: var(--text-3); }
.pr-part > b { text-align: right; font-variant-numeric: tabular-nums; }
.pr-meter { position: relative; height: 8px; border-radius: 8px; background: var(--border); }
.pr-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #c026d3, #ff1f8f); transition: width 1.2s var(--ease); }
.pr-meter i.low { background: linear-gradient(90deg, #f59e0b, #fb7185); }
.pr-meter em, .pr-legend em { position: absolute; top: -4px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--text); opacity: .55; }
.pr-legend { position: relative; margin: 2px 0 0; padding-left: 12px; font-size: 11.5px; color: var(--text-3); }
.pr-legend em { left: 0; top: 1px; height: 12px; }

.pr-next { display: grid; gap: 8px; }
.pr-step { display: grid; grid-template-columns: 34px 1fr 16px; gap: 11px; align-items: center; padding: 10px 11px; border-radius: 14px; border: 1px solid var(--border); color: inherit; text-decoration: none; transition: .2s; }
.pr-step:hover { border-color: var(--border-strong); transform: translateX(2px); }
.pr-step .pi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text-2); }
.pr-step .pi svg { width: 17px; height: 17px; }
.pr-step b { display: block; font-size: 13.5px; }
.pr-step small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-step > svg { width: 16px; height: 16px; color: var(--text-3); }
.pr-step.danger { border-color: color-mix(in srgb, var(--err) 40%, transparent); } .pr-step.danger .pi { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.pr-step.warn .pi { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.pr-step.ok .pi { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pr-step.brand .pi { background: color-mix(in srgb, #c026d3 16%, transparent); color: #e879f9; }

.pr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.pr-stat { display: block; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
a.pr-stat:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.pr-stat-h { display: flex; align-items: center; gap: 10px; }
.pr-stat-h h3 { margin: 0; font-size: 15px; flex: 1; }
.pr-stat-h .pi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, #c026d3 14%, transparent); color: #e879f9; }
.pr-stat-h .pi svg { width: 17px; height: 17px; }
.pr-p { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pr-big { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 10px; }
.pr-big b { font: 800 30px/1 var(--font-display); letter-spacing: -.03em; }
.pr-big small { color: var(--text-3); font-size: 13px; }
.pr-stat .progress { margin-bottom: 8px; }
.pr-stat .kv { margin-top: 6px; font-size: 13px; }

.pr-heat-wrap { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pr-heat-d { display: grid; grid-template-rows: repeat(7, 1fr); gap: 4px; font-size: 10.5px; color: var(--text-3); }
.pr-heat-d span { height: 15px; line-height: 15px; }
.pr-heat { display: grid; grid-template-rows: repeat(7, 15px); grid-auto-flow: column; grid-auto-columns: 15px; gap: 4px; }
.pr-heat i, .pr-scale i { display: block; width: 15px; height: 15px; border-radius: 4px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.pr-heat i.x { background: none; }
.pr-heat i.today { outline: 2px solid var(--text-3); outline-offset: 1px; }
.pr-heat .l1, .pr-scale .l1 { background: rgba(192, 38, 211, .3); }
.pr-heat .l2, .pr-scale .l2 { background: rgba(192, 38, 211, .55); }
.pr-heat .l3, .pr-scale .l3 { background: rgba(255, 31, 143, .75); }
.pr-heat .l4, .pr-scale .l4 { background: #ff1f8f; }
.pr-heat-f { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; margin-top: 16px; }
.pr-mini b { display: block; font: 800 22px/1 var(--font-display); }
.pr-mini small { font-size: 12px; color: var(--text-3); }
.pr-scale { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-3); }
.pr-scale i { width: 12px; height: 12px; border-radius: 3px; }

.pr-wk { display: flex; gap: 8px; align-items: flex-end; height: 170px; margin-top: 8px; }
.pr-wk-c { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; }
.pr-wk-c span { font-size: 10.5px; color: var(--text-3); min-height: 13px; }
.pr-wk-b { flex: 1; width: 100%; max-width: 28px; display: flex; flex-direction: column-reverse; border-radius: 7px; overflow: hidden; background: color-mix(in srgb, var(--text) 5%, transparent); }
.pr-wk-b i { display: block; height: 0; transition: height 1s var(--ease); }
.pr-wk-b .l, .pr-legend2 .l { background: linear-gradient(180deg, #ff1f8f, #c026d3); }
.pr-wk-b .v, .pr-legend2 .v { background: #22d3ee; }
.pr-wk-c small { font-size: 10.5px; color: var(--text-3); }
.pr-legend2 { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--text-3); }
.pr-legend2 i { width: 10px; height: 10px; border-radius: 3px; }
.pr-legend2 i.v { margin-left: 10px; }

.pr-mod tr.dim td { opacity: .55; }
.pr-cell { display: flex; align-items: center; gap: 8px; }
.pr-mini-bar { width: 54px; height: 5px; border-radius: 5px; background: var(--border); overflow: hidden; }
.pr-mini-bar i { display: block; height: 100%; background: var(--ok); }
.tl a.tl-item { color: inherit; text-decoration: none; }
.tl a.tl-item:hover b { color: var(--brand-1); }

@media (max-width: 1100px) { .pr-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .pr-hero { flex-direction: column; align-items: stretch; text-align: left; }
  .pr-hero .ring { align-self: center; width: 150px; height: 150px; }
  .pr-stats { grid-template-columns: 1fr; }
  .pr-part { grid-template-columns: 100px 1fr 38px; }
  .pr-scale { margin-left: 0; }
}
@media print {
  .pr-step > svg, .page-head .actions { display: none !important; }
  .pr-stats { grid-template-columns: repeat(3, 1fr); }
  .pr-stat, .pr-hero, .card { break-inside: avoid; }
}
.pr-stat-h h3 { text-align: left; }
.pr-stat .kv b { font-size: 14px; font-weight: 700; }
.pr-heat-d { grid-template-rows: repeat(7, 1fr); align-items: center; }
.pr-heat-d span { height: auto; line-height: 1; }
.pr-heat { flex: 1; grid-template-rows: repeat(7, auto); grid-auto-columns: minmax(13px, 30px); justify-content: start; }
.pr-heat i { width: 100%; height: auto; aspect-ratio: 1; border-radius: 5px; }

/* =========================================================
   Fotoja zyrtare (kamera + kontroll) & verifikimi nga stafi
   ========================================================= */
.ph-alert { display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--surface-solid)); }
.ph-alert.bad { border-color: color-mix(in srgb, var(--err) 45%, transparent); background: color-mix(in srgb, var(--err) 9%, var(--surface-solid)); }
.ph-alert .pi { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.ph-alert.bad .pi { background: color-mix(in srgb, var(--err) 16%, transparent); color: var(--err); }
.ph-alert b { display: block; font-size: 15px; } .ph-alert small { color: var(--text-2); font-size: 13.5px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.ph-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: color-mix(in srgb, var(--text) 5%, transparent); margin-bottom: 16px; }
.ph-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: 600 14px var(--font-body); cursor: pointer; }
.ph-tabs button svg { width: 17px; height: 17px; }
.ph-tabs button.on { background: var(--surface-solid); color: var(--text); box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); }
.ph-stage { position: relative; aspect-ratio: 3 / 4; max-height: 62vh; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #0c0818; isolation: isolate; }
.ph-stage video, .ph-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-stage video { transform: scaleX(-1); }
.ph-guide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .3s; }
.ph-guide .ring { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.5; stroke-dasharray: 7 6; transition: stroke .25s; }
.ph-stage.good .ph-guide .ring { stroke: #34d399; stroke-dasharray: none; stroke-width: 3.5; filter: drop-shadow(0 0 8px rgba(52,211,153,.7)); }
.ph-stage.done .ph-guide { opacity: 0; }
.ph-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; max-width: calc(100% - 24px); padding: 10px 16px; border-radius: 999px; background: rgba(12,8,24,.78); backdrop-filter: blur(8px); color: #fff; font-size: 13.5px; white-space: nowrap; }
.ph-hint b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.ph-hint .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,.2); }
.ph-hint.good .dot { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.ph-hint.bad .dot { background: #fb7185; box-shadow: 0 0 0 4px rgba(251,113,133,.25); }
.ph-hint[hidden] { display: none; }
.ph-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px; color: #e9e4ff; background: radial-gradient(80% 60% at 50% 30%, rgba(192,38,211,.25), transparent 70%), #120c22; }
.ph-empty[hidden] { display: none; }
.ph-empty > svg { width: 44px; height: 44px; color: #e879f9; }
.ph-empty b { font-size: 17px; } .ph-empty small { color: #b8b0d6; margin-bottom: 8px; }
.ph-empty label { cursor: pointer; }
.ph-checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 4px; padding: 0; }
.ph-checks li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-3); border: 1px solid var(--border); transition: .2s; }
.ph-checks i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.ph-checks li.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); } .ph-checks li.ok i { background: var(--ok); }
.ph-checks li.bad { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); } .ph-checks li.bad i { background: var(--err); }
.ph-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ph-actions [hidden] { display: none; }
.ph-msg { min-height: 20px; margin: 12px 0 0; text-align: center; font-size: 13.5px; color: var(--text-2); }
.ph-msg.bad { color: var(--err); font-weight: 600; }
.ph-current { display: flex; gap: 14px; align-items: center; }
.ph-current img, .ph-none { flex: none; width: 84px; height: 112px; border-radius: 14px; object-fit: cover; border: 1px solid var(--border); }
.ph-none { display: grid; place-items: center; color: var(--text-3); background: color-mix(in srgb, var(--text) 5%, transparent); }
.ph-current p { margin: 0; font-size: 13.5px; color: var(--text-2); } .ph-current p.bad { color: var(--err); font-weight: 600; }
.ph-rules { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.ph-rules li { display: flex; gap: 9px; align-items: center; }
.ph-rules li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--ok); }
.ph-rules li.no::before { content: "✕"; background: var(--err); }
/* stafi */
.inline-filter { display: inline-flex; }
.ph-review { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ph-rc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ph-rc-img { display: block; aspect-ratio: 3 / 4; background: #0c0818; }
.ph-rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-rc-b { padding: 12px 14px 14px; display: grid; gap: 4px; }
.ph-rc-b small { color: var(--text-3); font-size: 12px; }
.ph-note { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 0; font-size: 12.5px; color: var(--warn); } .ph-note.bad { color: var(--err); }
.ph-note svg { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.ph-rc-a { display: flex; gap: 8px; margin-top: 8px; } .ph-rc-a form { display: contents; } .ph-rc-a .btn { flex: 1; justify-content: center; }
.ph-reasons { display: grid; gap: 8px; margin: 14px 0 10px; }
.radio-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; }
.radio-card:has(input:checked) { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 8%, transparent); }
@media (max-width: 980px) { .ph-grid { grid-template-columns: 1fr; } .ph-stage { max-height: none; width: min(100%, 440px); } }

/* =========================================================
   Karta e studentit (CR80 · 85.6 × 54) + verifikimi publik
   ========================================================= */
.idc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.idc-stage { display: grid; justify-items: center; gap: 14px; padding: 34px 20px 22px; border-radius: 26px; border: 1px solid var(--border);
  background: radial-gradient(70% 60% at 50% 35%, rgba(192, 38, 211, .18), transparent 70%), color-mix(in srgb, var(--surface-solid) 85%, transparent); }
.idc-stage.locked .idc { filter: grayscale(.85) blur(1.5px); opacity: .55; pointer-events: none; }
.idc { --w: min(520px, 100%); width: var(--w); aspect-ratio: 85.6 / 54; perspective: 1600px; cursor: pointer; container-type: inline-size; }
.idc-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.idc.flipped .idc-in { transform: rotateY(180deg); }
.idc-face { position: absolute; inset: 0; border-radius: 4.2cqw; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 70px -25px rgba(26, 11, 46, .75), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.idc-front { color: #fff; background:
  radial-gradient(60% 80% at 100% 0%, rgba(255, 31, 143, .35), transparent 60%),
  radial-gradient(50% 70% at 0% 100%, rgba(124, 58, 237, .35), transparent 60%),
  repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3.6cqw),
  linear-gradient(135deg, #1a0b2e, #2a0f45 55%, #3b0d4f); }
.idc-front::before { content: ""; position: absolute; inset: 0 0 auto; height: 1.9cqw; background: linear-gradient(90deg, #ff1f8f, #c026d3, #7c3aed); }
.idc-top { position: absolute; top: 5.4cqw; left: 5.6cqw; right: 5.6cqw; display: flex; justify-content: space-between; align-items: flex-start; }
.idc-top img { height: 6.4cqw; width: auto; }
.idc-top span { text-align: right; line-height: 1.25; }
.idc-top b { display: block; font: 800 2.7cqw var(--font-body); letter-spacing: .14em; color: #f0abfc; }
.idc-top small { font-size: 2cqw; letter-spacing: .08em; color: #c4b5fd; }
.idc-body { position: absolute; top: 17cqw; left: 5.4cqw; right: 5.4cqw; display: flex; gap: 4.6cqw; }
.idc-photo { flex: none; width: 26.6cqw; aspect-ratio: 3 / 4; border-radius: 2.6cqw; padding: .6cqw; background: #fff; box-shadow: 0 10px 26px -10px rgba(0,0,0,.6); }
.idc-photo img, .idc-photo span { width: 100%; height: 100%; border-radius: 2.1cqw; object-fit: cover; display: grid; place-items: center; background: #e9e4f3; color: #8a83a6; }
.idc-data { min-width: 0; padding-top: 1cqw; }
.idc-name { display: block; font: 800 5cqw/1.12 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.idc-prog { display: block; margin-top: 1.2cqw; font-size: 2.4cqw; color: #d8b4fe; }
.idc-data dl { margin: 3.6cqw 0 0; display: grid; gap: 1.5cqw; }
.idc-data dl div { display: grid; grid-template-columns: 19cqw 1fr; align-items: baseline; }
.idc-data dt { font-size: 1.9cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a78bfa; }
.idc-data dd { margin: 0; font-size: 3cqw; font-weight: 700; }
.idc-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 7.2cqw; display: flex; justify-content: space-between; align-items: center; padding: 0 5.6cqw;
  background: linear-gradient(90deg, #ff1f8f, #c026d3, #7c3aed); font-size: 2.2cqw; font-weight: 800; letter-spacing: .05em; }
.idc-back { transform: rotateY(180deg); background: #fff; color: #16112a; }
.idc-back::after { content: ""; position: absolute; inset: auto 0 0; height: 1.9cqw; background: linear-gradient(90deg, #ff1f8f, #c026d3, #7c3aed); }
.idc-stripe { position: absolute; top: 5.2cqw; left: 0; right: 0; height: 10cqw; background: #1a0b2e; }
.idc-bb { position: absolute; top: 20cqw; left: 5.6cqw; right: 5.6cqw; bottom: 5cqw; display: flex; gap: 5cqw; justify-content: space-between; }
.idc-txt b { display: block; font-size: 2.8cqw; } .idc-txt p { margin: 1.4cqw 0 0; font-size: 2.3cqw; line-height: 1.4; color: #4d4566; max-width: 52cqw; }
.idc-sign { display: block; margin-top: 4cqw; padding-top: 1.2cqw; border-top: 1px solid #c4b5fd; width: 36cqw; font-size: 2cqw; color: #6b6385; }
.idc-qr { flex: none; width: 27cqw; display: grid; justify-items: center; gap: 1cqw; }
.idc-qr svg { width: 100%; height: auto; border-radius: 1.4cqw; border: 1px solid #ece7f6; }
.idc-qr small { font-size: 2cqw; font-weight: 700; color: #6b21a8; }
.idc-flip { margin-top: 4px; }
.idc-wait { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.idc-wait .pi { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.idc-wait > div { flex: 1; } .idc-wait b { font-size: 15px; } .idc-wait p { margin: 2px 0 0; font-size: 13.5px; color: var(--text-2); }
.idc-link { display: flex; gap: 8px; margin-top: 12px; } .idc-link .input { font-size: 12px; height: 38px; }
.vs-card { display: flex; gap: 22px; align-items: center; margin-top: 18px; }
.vs-photo { flex: none; width: 150px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); }
.vs-photo.none { display: grid; place-items: center; color: var(--text-3); background: color-mix(in srgb, var(--text) 5%, transparent); }
.vs-card .info { flex: 1; }
@media (max-width: 980px) { .idc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .vs-card { flex-direction: column; align-items: stretch; } .vs-photo { width: 140px; align-self: center; } .idc-stage { padding: 22px 12px 16px; } }
@media print { .idc-flip, .idc-wait { display: none !important; } }

/* Shiriti "Konfirmo email-in" (llogari e re, pa verifikuar) */
.verify-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--brand-1) 40%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, #ff1f8f 12%, var(--surface-solid)), color-mix(in srgb, #7c3aed 10%, var(--surface-solid))); }
.verify-banner .vb-i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff1f8f, #7c3aed); box-shadow: 0 10px 24px -10px rgba(255, 31, 143, .7); }
.verify-banner .vb-i svg { width: 20px; height: 20px; }
.verify-banner .vb-t { flex: 1; min-width: 0; }
.verify-banner .vb-t > b { display: block; font-size: 15px; }
.verify-banner small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.verify-banner form { flex: none; }
@media (max-width: 640px) { .verify-banner { flex-wrap: wrap; } .verify-banner form, .verify-banner .btn { width: 100%; justify-content: center; } }

/* Pagesa e muajit të parë: njoftimi + mënyrat e pagesës */
.verify-banner.pay { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: linear-gradient(100deg, color-mix(in srgb, #fbbf24 13%, var(--surface-solid)), color-mix(in srgb, #ff1f8f 8%, var(--surface-solid))); }
.verify-banner.pay .vb-i { background: linear-gradient(135deg, #f59e0b, #ff1f8f); box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .7); }
.verify-banner.pay.ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 9%, var(--surface-solid)); }
.verify-banner.pay.ok .vb-i { background: linear-gradient(135deg, #10b981, #22d3ee); box-shadow: none; }
dialog.modal.wide, dialog.modal:has(> .modal-box.wide) { max-width: min(660px, calc(100vw - 32px)); }
.paym-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.paym-tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--border); cursor: pointer; transition: .2s; min-width: 0; }
.paym-tab input { position: absolute; opacity: 0; pointer-events: none; }
.paym-tab .pi { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text-2); }
.paym-tab .pi svg { width: 17px; height: 17px; }
.paym-tab b { display: block; font-size: 13.5px; } .paym-tab small { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paym-tab > span:last-child { min-width: 0; }
.paym-tab:has(input:checked) { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 8%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-1) 15%, transparent); }
.paym-tab:has(input:checked) .pi { background: linear-gradient(135deg, #ff1f8f, #7c3aed); color: #fff; }
.paym-tab:has(input:focus-visible) { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.paym-panel[hidden] { display: none; }
.paym-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 2px 0; font-size: 13px; color: var(--text-2); }
.paym-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--ok); }
.paym-note.warn { color: var(--warn); font-weight: 600; } .paym-note.warn svg { color: var(--warn); }
.paym-form { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.paym-form h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14.5px; }
.paym-form h4 svg { width: 17px; height: 17px; color: var(--brand-1); }
.paym-form .dropzone { margin-top: 4px; padding: 18px; }
[data-paym-req] { font-weight: 500; color: var(--text-3); } [data-paym-req].req { color: var(--err); font-weight: 700; }
@media (max-width: 560px) {
  .paym-tabs { grid-template-columns: 1fr; }
  .bank-row span { min-width: 108px; }
}
/* telefoni: etiketa sipër vlerës, pa ndarje fjalësh · skedat kompakte në një rresht */
@media (max-width: 560px) {
  .paym .bank-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l c" "v c"; column-gap: 10px; row-gap: 2px; }
  .paym .bank-row span { grid-area: l; min-width: 0; font-size: 12px; }
  .paym .bank-row b { grid-area: v; overflow-wrap: normal; word-break: normal; white-space: normal; font-size: 14.5px; }
  .paym .bank-row b.mono { word-break: break-all; }
  .paym .bank-row .icon-btn { grid-area: c; align-self: center; }
  .paym-tabs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .paym-tab { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 6px; }
  .paym-tab small { display: none; }
  .paym-tab b { font-size: 12.5px; line-height: 1.2; }
}

/* ---------- Fotoja e studentit: identiteti + zmadhimi ---------- */
.av-zoom { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 13px; flex-shrink: 0; transition: transform .2s var(--spring); }
.av-zoom:hover { transform: scale(1.08); }
.av-zoom:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.pr-who { display: flex; gap: 18px; align-items: center; min-width: 0; }
.pr-who h2 { margin: 0 0 8px; }
.pr-who .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-photo { position: relative; flex: none; width: 96px; height: 128px; border-radius: 18px; overflow: hidden; padding: 0; border: 1px solid var(--border); background: var(--surface-solid); cursor: zoom-in; box-shadow: 0 10px 28px -14px rgba(0,0,0,.45); }
.pr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--spring); }
.pr-photo span { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; opacity: 0; transition: opacity .2s; }
.pr-photo span svg { width: 14px; height: 14px; }
.pr-photo:hover img { transform: scale(1.05); }
.pr-photo:hover span, .pr-photo:focus-visible span { opacity: 1; }
.pr-photo.none { cursor: default; display: grid; place-content: center; text-align: center; background: var(--brand-grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.pr-photo.none small { font: 600 11px/1.2 var(--font-body, inherit); opacity: .85; margin-top: 4px; }
.pr-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 13.5px; }
.pr-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2, var(--text)); opacity: .85; text-decoration: none; overflow-wrap: anywhere; }
.pr-contact a:hover { color: var(--brand-1); opacity: 1; }
.pr-contact svg { width: 15px; height: 15px; flex: none; }
.zoom-dlg { padding: 0; width: min(420px, calc(100vw - 32px)); overflow: hidden; }
.zoom-dlg figure { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); }
.zoom-dlg img { display: block; width: 100%; aspect-ratio: 3 / 4; max-height: calc(100vh - 140px); object-fit: cover; background: var(--surface-solid); }
.zoom-dlg figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
.zoom-dlg figcaption b { font-size: 16px; }
.zoom-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0,0,0,.55) !important; color: #fff !important; border: 0; }
@media (max-width: 640px) {
  .pr-who { gap: 14px; align-items: flex-start; }
  .pr-photo { width: 76px; height: 101px; border-radius: 14px; }
  .pr-who h2 { font-size: 20px; }
}
@media print { .pr-photo span { display: none; } }

/* vlerë e llogaritur (jo e ndryshueshme) brenda formularit */
.input.readonly-val { display: flex; align-items: center; gap: 2px; background: var(--surface-2); color: var(--text); cursor: default; white-space: nowrap; overflow: hidden; }
.input.readonly-val .ico { width: 17px; height: 17px; color: var(--text-3, var(--text-2)); margin-right: 4px; }

.decision .dc.off { opacity: .4; pointer-events: none; filter: grayscale(.6); }

/* ---------- Nënshkrimi elektronik ---------- */
.sig-preview { height: 110px; border-radius: 16px; border: 1px dashed var(--border-strong); background: #fff; display: grid; place-items: center; overflow: hidden; }
.sig-preview img { max-width: 92%; max-height: 92px; object-fit: contain; }
.sig-preview.empty span { display: inline-flex; gap: 8px; align-items: center; color: #8b84a3; font-size: 13.5px; font-weight: 600; }
.sig-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin: 14px 0 12px; }
.sig-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.sig-tabs button .ico { width: 16px; height: 16px; }
.sig-tabs button.on { background: var(--surface-solid); color: var(--text); box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
.sig-pad { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border-strong); overflow: hidden; }
.sig-pad canvas { display: block; width: 100%; aspect-ratio: 1200 / 420; touch-action: none; cursor: crosshair; position: relative; z-index: 1; }
.sig-base { position: absolute; left: 7%; right: 7%; bottom: 24%; border-top: 1.5px dashed #d6cfe6; }
.sig-ph { position: absolute; left: 7%; bottom: calc(24% + 8px); color: #b5aecb; font-size: 14px; font-weight: 600; pointer-events: none; }
[data-sig-msg].err { color: var(--err); }
.sig-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.sig-docs .switch span { display: inline-flex; align-items: center; gap: 7px; }
.sig-docs .switch .ico { width: 16px; height: 16px; color: var(--brand-1); }

/* verifikimi publik: rezultatet */
.vs-results { display: block; }
.vs-res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.vs-res-head > div { display: grid; gap: 2px; }
.vs-res-head b { font-size: 20px; font-family: var(--font-display); }
.vs-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vs-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: 8px 6px; border-bottom: 1px solid var(--border); }
.vs-table td { padding: 9px 6px; border-bottom: 1px solid var(--border); }
.vs-table td:nth-child(2), .vs-table th:nth-child(2) { white-space: nowrap; }
.vs-certs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.vs-certs .faint { margin-right: 4px; font-size: 13px; }
/* cilësimet */
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 16px; align-items: start; }
.cfg-grid .field { margin: 0; }
.cfg-grid .field.full { grid-column: 1 / -1; }
.cfg-grid .switch span { display: grid; gap: 2px; }
.cfg-grid .switch small { color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.cfg-num { position: relative; }
.cfg-num span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 13px; pointer-events: none; }
.cfg-num .input { padding-right: 52px; }
.cfg-grid textarea.input { min-height: 110px; font-family: inherit; line-height: 1.55; resize: vertical; }
.cfg-grid .is-own .input { border-color: color-mix(in srgb, var(--brand-1) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-1) 10%, transparent); }
.cfg-grid .is-own .lbl::after { content: "e imja"; margin-left: 8px; font-size: 10.5px; font-weight: 700; color: var(--brand-1); text-transform: uppercase; letter-spacing: .05em; }
.cfg-side p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin: 0 0 10px; }
@media (max-width: 640px) { .cfg-grid { grid-template-columns: 1fr; } .vs-table { font-size: 12.5px; } }

/* email (SMTP) */
.mail-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin: 4px 0 12px; border: 1px solid var(--border); }
.mail-state .ico { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.mail-state div { display: grid; gap: 3px; }
.mail-state small { color: var(--text-2); font-size: 12.5px; }
.mail-state.ok { background: color-mix(in srgb, var(--ok) 10%, transparent); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--text); }
.mail-state.ok .ico { color: var(--ok); }
.mail-state.bad { background: color-mix(in srgb, var(--err) 9%, transparent); border-color: color-mix(in srgb, var(--err) 35%, transparent); }
.mail-state.bad .ico { color: var(--err); }
.mail-err { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); overflow-wrap: anywhere; }
.mail-err .ico { width: 17px; height: 17px; flex: none; color: var(--warn); margin-top: 1px; }
.cfg-steps { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* arsyetimi i mungesave */
.ab-reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ab-reasons label { cursor: pointer; }
.ab-reasons input { position: absolute; opacity: 0; pointer-events: none; }
.ab-reasons span { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface-2); font-weight: 600; font-size: 13.5px; transition: .2s; }
.ab-reasons span .ico { width: 17px; height: 17px; color: var(--text-3); }
.ab-reasons input:checked + span { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 9%, transparent); color: var(--text); }
.ab-reasons input:checked + span .ico { color: var(--brand-1); }
.ab-reasons input:focus-visible + span { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.ab-list { display: grid; gap: 10px; }
.ab-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface-2); }
.ab-item.pending { border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.ab-item > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ab-item small { color: var(--text-2); font-size: 12.5px; overflow-wrap: anywhere; }
.ab-item .ab-reply { display: flex; gap: 6px; align-items: center; color: var(--text); }
.ab-item .ab-reply .ico { width: 14px; height: 14px; }
.ab-item .pi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-solid); flex: none; }
.ab-item .pi .ico { width: 18px; height: 18px; color: var(--brand-1); }
.ab-act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ab-act .input { height: 36px; width: 190px; font-size: 13px; }
@media (max-width: 760px) { .ab-item { flex-wrap: wrap; } .ab-act { width: 100%; justify-content: stretch; } .ab-act .input { flex: 1 1 100%; width: auto; } .ab-act .btn { flex: 1; } }
.invite-next { display: grid; gap: 8px; margin: 4px 0 12px; }
.invite-next div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.invite-next b { font-weight: 700; }

/* vlerësimi i ligjëratës */
.rate-card { margin-bottom: 18px; display: grid; gap: 12px; }
.rate-head { display: flex; gap: 12px; align-items: center; }
.rate-head > div { display: grid; gap: 2px; }
.rate-head small { color: var(--text-2); font-size: 12.5px; }
.rate-i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-1) 14%, transparent); color: var(--brand-1); flex: none; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rate-stars label { font-size: 34px; line-height: 1; cursor: pointer; color: var(--border-strong, #cfc8e2); transition: transform .15s var(--spring), color .15s; }
.rate-stars label:hover, .rate-stars label:hover ~ label, .rate-stars input:checked ~ label { color: #fbbf24; }
.rate-stars label:hover { transform: scale(1.15); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--brand-1); outline-offset: 2px; border-radius: 6px; }
.rate-more { display: flex; gap: 8px; }
.rate-more .input { flex: 1; min-width: 0; }
.rate-anon { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; }
.rate-anon .ico { width: 14px; height: 14px; }
@media (max-width: 640px) { .rate-more { flex-direction: column; } }
.fb-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 18px; overflow-x: auto; }
.fb-bars .b { flex: 1 0 22px; max-width: 36px; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.fb-bars .b i { width: 100%; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #fbbf24, #f59e0b); min-height: 4px; }
.fb-bars .b span { font-size: 10.5px; font-weight: 700; }
.fb-bars .b small { font-size: 10px; color: var(--text-3); }
.fb-comments { display: grid; gap: 8px; margin-top: 14px; }
.fb-comments div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.fb-comments small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 3px; }

/* qasja në video-incizime + bonusi */
.va { display: grid; gap: 8px; margin: 12px 0 4px; }
.va.compact { margin: 8px 0 4px; display: inline-grid; }
.va-row { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.va-row .ico { width: 16px; height: 16px; flex: none; }
.va-row.ok .ico { color: var(--ok); }
.va-row.warn .ico { color: var(--warn); }
.va-row.off .ico { color: var(--err); }
.va-row.bonus { padding: 9px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand-1) 9%, transparent); border: 1px solid color-mix(in srgb, var(--brand-1) 30%, transparent); color: var(--text); }
.va-row.bonus .ico { color: var(--brand-1); }
.va-bonus { padding: 11px 13px; border-radius: 13px; background: var(--surface-2); border: 1px dashed color-mix(in srgb, var(--brand-1) 45%, transparent); display: grid; gap: 7px; }
.va-bonus-t { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.va-bonus-t span { flex: 1; }
.va-bonus-t .ico { width: 16px; height: 16px; color: var(--brand-1); flex: none; }
.va-bonus small { color: var(--text-3); font-size: 12px; }
.va-bonus .progress i { background: var(--brand-grad); }
.svc-months .m.bonus { color: var(--brand-1); border-color: color-mix(in srgb, var(--brand-1) 35%, transparent); background: color-mix(in srgb, var(--brand-1) 8%, transparent); }
.fee-alert.soon { border-color: color-mix(in srgb, var(--warn) 45%, transparent); }

/* ---------- Disa grupe ---------- */
.sb-cohort.sw { cursor: pointer; list-style: none; transition: border-color .2s; }
.sb-cohort.sw::-webkit-details-marker { display: none; }
.sb-cohort.sw .chev { margin-left: auto; width: 16px; height: 16px; color: var(--text-3); transition: transform .2s; }
.sb-cohort.sw .chev { transform: rotate(90deg); } details[open] > .sb-cohort.sw .chev { transform: rotate(-90deg); }
details[open] > .sb-cohort.sw, .sb-cohort.sw:hover { border-color: color-mix(in srgb, var(--brand-1) 45%, var(--border)); }
.sb-groups { margin: -10px 4px 18px; padding: 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); display: grid; gap: 2px; }
.sb-groups form { margin: 0; }
.sb-groups button, .sb-groups a { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-align: left; text-decoration: none; }
.sb-groups button:hover, .sb-groups a:hover { background: var(--surface); }
.sb-groups .mini { font-family: var(--font-display); font-weight: 800; font-size: 11.5px; padding: 4px 7px; border-radius: 8px; background: var(--surface-solid); }
.sb-groups .cur .mini { background: var(--brand-grad); color: #fff; }
.sb-groups .cur { cursor: default; }
.sb-groups .ico { width: 15px; height: 15px; color: var(--text-3); }
.mg-list { display: grid; gap: 10px; }
.mg-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }
.mg-item.cur { border-color: color-mix(in srgb, var(--brand-1) 50%, transparent); }
.mg-item.pending { border-style: dashed; }
.mg-item > div { flex: 1; min-width: 180px; display: grid; gap: 3px; }
.mg-item small, .mg-pick small { color: var(--text-2); font-size: 12.5px; display: flex; gap: 5px; align-items: center; }
.mg-item small .ico { width: 13px; height: 13px; }
.mg-item form { margin: 0; }
.mg-item .tag, .mg-pick .tag { font-family: var(--font-display); font-weight: 800; font-size: 13px; padding: 7px 9px; border-radius: 10px; background: var(--brand-grad); color: #fff; }
.mg-pay { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 15px; margin-bottom: 14px; border: 1px solid; flex-wrap: wrap; }
.mg-pay.ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.mg-pay.bad { border-color: color-mix(in srgb, var(--danger, #ef4444) 40%, transparent); background: color-mix(in srgb, var(--danger, #ef4444) 8%, transparent); }
.mg-pay > .ico { width: 22px; height: 22px; flex: none; }
.mg-pay.ok > .ico { color: var(--ok); } .mg-pay.bad > .ico { color: var(--danger, #ef4444); }
.mg-pay > div { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.mg-pay small { color: var(--text-2); font-size: 13px; }
.mg-pick { display: grid; gap: 8px; }
.mg-pick label { cursor: pointer; }
.mg-pick input { position: absolute; opacity: 0; pointer-events: none; }
.mg-pick label > span { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--border); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; }
.mg-pick label > span > span:not(.tag) { flex: 1; display: grid; gap: 2px; }
.mg-pick em { font-style: normal; }
.mg-pick input:checked + span { border-color: var(--brand-1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-1) 20%, transparent); }
.mg-pick input:focus-visible + span { outline: 2px solid var(--brand-1); outline-offset: 2px; }

/* ---------- Kodeku i videos ---------- */
.codec-note { margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid; font-size: 13.5px; display: grid; gap: 6px; line-height: 1.5; }
.codec-note.ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.codec-note.bad { border-color: color-mix(in srgb, #ef4444 45%, transparent); background: color-mix(in srgb, #ef4444 8%, transparent); }
.codec-note > b { display: flex; gap: 8px; align-items: center; }
.codec-note.bad > b .ico { width: 18px; height: 18px; color: #ef4444; }
.codec-note span { color: var(--text-2); }
.codec-note ol { margin: 2px 0 0 18px; padding: 0; display: grid; gap: 4px; color: var(--text-2); }
.vp-nopic { position: absolute; inset: auto 16px 64px 16px; z-index: 3; padding: 14px 16px; border-radius: 14px; background: rgba(15, 12, 30, .86); color: #fff; display: grid; gap: 4px; font-size: 13.5px; backdrop-filter: blur(6px); pointer-events: none; }
.vp-nopic span { color: rgba(255, 255, 255, .78); }
.dropzone .picked.bad { color: #ef4444; }

/* ---------- Fushat e dorëzimit të projektit ---------- */
.sf-grid { display: grid; gap: 8px; }
.sf-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); flex-wrap: wrap; }
.sf-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-solid); flex: none; }
.sf-ic .ico { width: 17px; height: 17px; color: var(--brand-1); }
.sf-l { flex: 1; min-width: 150px; display: grid; gap: 1px; }
.sf-l b { font-size: 14px; } .sf-l small { color: var(--text-3); font-size: 12px; }
.sf-seg label { height: 32px; padding: 0 11px; font-size: 12.5px; }
.sf-seg label.required:has(input:checked) { color: #fff; background: var(--brand-grad); box-shadow: none; }
.sf-seg label.off:has(input:checked) { color: var(--text-3); }
.sub-fields { display: grid; gap: 14px; }
.sub-field > .lbl { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-weight: 700; }
.sub-field > .lbl > .ico { width: 16px; height: 16px; color: var(--brand-1); }
.sub-field .sf-req { color: var(--brand-1); font-weight: 800; font-size: 15px; }
.sub-field .sf-opt { color: var(--text-3); font-weight: 500; }
.sub-field .dropzone { padding: 18px; }
.sub-field .dropzone b { font-size: 14px; }
.sub-field .cur-file { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.sub-photo-prev { margin-top: 8px; max-height: 160px; border-radius: 12px; border: 1px solid var(--border); display: block; }
.sub-media { display: grid; gap: 12px; margin: 4px 0 14px; }
.sub-media img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); cursor: zoom-in; }
.sub-media video { width: 100%; max-height: 460px; border-radius: 14px; background: #000; }

/* ---------- Ditari i email-ave ---------- */
.mail-journal { margin-top: 18px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.mj-head { padding: 12px 14px; background: var(--surface-2); display: grid; gap: 2px; }
.mj-head small { color: var(--text-3); font-size: 12px; }
.mj-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 13px; }
.mj-row > div { display: grid; gap: 1px; min-width: 0; }
.mj-row small { color: var(--text-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-r { justify-items: end; text-align: right; }
.mj-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.mj-row.bad .mj-dot { background: #ef4444; } .mj-row.log .mj-dot { background: var(--warn); }
.mj-info { grid-column: 2 / -1; white-space: normal !important; font-family: var(--font-mono); }

/* ---------- Regjistrimi: mesazhi i kushteve ---------- */
.terms-msg { display: flex; gap: 8px; align-items: center; margin: -10px 0 16px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: #be123c; background: color-mix(in srgb, #ef4444 9%, transparent); border: 1px solid color-mix(in srgb, #ef4444 35%, transparent); }
.terms-msg .ico { width: 16px; height: 16px; flex: none; }

/* ---------- Telefoni: menyja anësore mbi shiritin e poshtëm, e plotë deri në fund ---------- */
@media (max-width: 1024px) {
  .sidebar { height: 100vh; height: 100dvh; z-index: 80; width: min(300px, 86vw); padding-bottom: calc(14px + env(safe-area-inset-bottom)); overflow: hidden; }
  .sidebar .nav { min-height: 0; overscroll-behavior: contain; }
  .scrim { z-index: 75; }
  body.nav-open { overflow: hidden; }
  body.nav-open .bottom-nav, body.nav-open .arrabot { opacity: 0; pointer-events: none; transform: translateY(20px); }
  .bottom-nav { transition: opacity .25s, transform .25s; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1024px) { [data-theme="light"] .sidebar { background: var(--bg); backdrop-filter: none; } }

/* ---------- Rregullime për telefon (auditimi i pamjes mobile) ---------- */
.st-head-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: -8px 0 12px; }
.mj-row > div { min-width: 0; }
.mj-row > div b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-r { flex: none; }
.proof .pv small { font-size: 9px; line-height: 1.2; text-align: center; padding: 0 4px; overflow-wrap: anywhere; }
.badge { white-space: nowrap; }
@media (max-width: 1024px) {
  .bulk { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .topbar h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar > div:first-of-type { min-width: 0; flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .st-head-actions { justify-content: flex-start; }
  .st-head-actions .btn { flex: 1 1 auto; }
  .mj-row { grid-template-columns: 10px minmax(0, 1fr); }
  .mj-r { grid-column: 2; justify-items: start; text-align: left; display: flex; gap: 8px; align-items: center; }
  .mg-item { gap: 10px; }
  .mg-item > div { flex: 1 1 calc(100% - 70px); }
  .mg-item > .badge, .mg-item > form { margin-left: 52px; }
  .mg-pick label > span { flex-wrap: wrap; }
  .mg-pick label > span > span:not(.tag) { flex: 1 1 calc(100% - 70px); min-width: 0; }
  .mg-pick em { margin-left: 52px; }
  .sub-field .dropzone { padding: 14px; }
  .sf-row .sf-seg { width: 100%; }
  .sf-row .sf-seg label { flex: 1; justify-content: center; }
}
