/* =========================================================
   InnoMIS Formlar — tasarım sistemi
   innomis.tr ile aynı dil: koyu zemin · turuncu→kırmızı gradyan ·
   Outfit başlıklar · Inter metin · cam kartlar · hap düğmeler
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --surface: #141414;
  --surface2: #1f1f1f;
  --glass: rgba(24, 24, 27, 0.55);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: #a3a3a3; 
  --faint: #737373;
  --border: #262626;
  --border-strong: #404040;
  --primary: #f49f20;
  --primary-d: #e88f0d;
  --primary-soft: rgba(244, 159, 32, 0.14);
  --accent: #da2c2e;
  --accent-soft: rgba(218, 44, 46, 0.16);
  --danger: #ff6b6e;
  --danger-soft: rgba(218, 44, 46, 0.16);
  --success: #4ade80;
  --success-soft: rgba(21, 128, 61, 0.22);
  --warn: #f6b24a;
  --warn-soft: rgba(244, 159, 32, 0.16);
  --info: #7db4ff;
  --info-soft: rgba(59, 130, 246, 0.16);
  --r: 20px;
  --r-sm: 12px;
  --shadow-sm:
    0 4px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(135deg, #f49f20 0%, #da2c2e 100%);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
  accent-color: var(--primary);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(
      900px 480px at 15% -140px,
      rgba(244, 159, 32, 0.16),
      transparent 70%
    ),
    radial-gradient(
      800px 460px at 100% 8%,
      rgba(218, 44, 46, 0.13),
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    48px 48px,
    48px 48px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3 {
  font-weight: 600;
}
p {
  margin: 0;
}
a {
  color: var(--primary);
  text-underline-offset: 3px;
}
a:hover {
  color: #ffbf5e;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}
.narrow {
  max-width: 800px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.86rem;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Üst Çubuk (Yüzen Ada / Floating Island) ---------- */
.topbar {
  position: sticky;
  top: 16px;
  z-index: 90;
  width: 95%;
  max-width: 1240px;
  margin: 16px auto 0 auto;
  border-radius: 20px;
  background: rgba(18, 18, 20, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 14px 34px -4px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.topbar.is-scrolled {
  background: rgba(10, 10, 12, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.14);
}
.topbar .bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 24px;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0;
  margin-left: 2px;
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav a,
.nav button {
  padding: 7px 13px;
  border-radius: 99px;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav a:hover,
.nav button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.nav a.on {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(244, 159, 32, 0.25);
}
.nav a.nav-cta {
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  margin: 0;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(244, 159, 32, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(244, 159, 32, 0.5);
  color: #fff;
}
/* Giriş sayfasında hiçbir zaman header görünmesin */
body.is-login-page .topbar,
body:has(.login-wrap) .topbar,
.page-login .topbar {
  display: none !important;
}

.topbar .menu {
  display: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.topbar .menu:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.topbar .menu[aria-expanded="true"] {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(244, 159, 32, 0.4);
}
.topbar .menu .ico {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.nav button.nav-logout{background:var(--accent-soft);color:#ff9a9c;box-shadow:inset 0 0 0 1px rgba(218,44,46,.4);margin-left:8px}
.nav button.nav-logout:hover{background:#a82328;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}

@media (max-width: 1080px) {
  .nav a,
  .nav button {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* Animasyon */
@keyframes navFullscreenIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 880px) {
  .brand-tag {
    display: none;
  }

  body.nav-fullscreen-open {
    overflow: hidden !important;
  }

  /* Mobilde public sayfalarda header görünmez */
  .topbar:not(.admin-topbar):not(.public-home-topbar) {
    display: none !important;
  }
  .topbar.public-home-topbar{display:block;width:calc(100% - 24px);margin:12px auto 0;top:10px;border-radius:16px}
  .topbar.public-home-topbar .bar-in{padding:10px 14px;min-height:58px;gap:10px;flex-wrap:nowrap}
  .public-home-topbar .brand-logo{height:28px}
  .public-home-topbar .nav a.nav-cta{padding:9px 12px;font-size:.78rem;min-height:40px;box-shadow:none}

  /* Admin panelinde mobilde logo ve hamburger menülü header görünür */
  .topbar.admin-topbar {
    display: block !important;
    width: calc(100% - 20px);
    margin: 10px auto 0;
    top: 10px;
    border-radius: 18px;
    z-index: 1000;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  }

  /* Menü tam ekran açıldığında header arka planı transparanlaşır */
  body.nav-fullscreen-open .topbar.admin-topbar {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .topbar.admin-topbar .bar-in {
    padding: 8px 16px;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
  }
  .topbar.admin-topbar .brand {
    order: 1;
    position: relative;
    z-index: 1002;
  }
  .topbar.admin-topbar .menu.has-admin {
    order: 2;
    display: inline-flex !important;
    margin-left: auto;
    position: relative;
    z-index: 1002;
  }

  /* Tam Ekran Açılır Menü (Full-Screen Overlay) */
  .topbar.admin-topbar .nav.admin-nav {
    display: none;
  }
  .topbar.admin-topbar .nav.admin-nav.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1001;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 20px 32px;
    box-sizing: border-box;
    gap: 12px;
    overflow-y: auto;
    margin: 0;
    border: none;
    border-radius: 0;
    animation: navFullscreenIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .topbar.admin-topbar .nav.admin-nav.open a,
  .topbar.admin-topbar .nav.admin-nav.open button {
    border-radius: 16px;
    justify-content: flex-start;
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  .topbar.admin-topbar .nav.admin-nav.open a:hover,
  .topbar.admin-topbar .nav.admin-nav.open button:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateX(4px);
  }
  .topbar.admin-topbar .nav.admin-nav.open a.on {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: rgba(244, 159, 32, 0.35);
    box-shadow: inset 0 0 0 1px rgba(244, 159, 32, 0.25);
  }
  .topbar.admin-topbar .nav.admin-nav.open .ico {
    width: 22px;
    height: 22px;
    color: inherit;
    flex-shrink: 0;
  }
  .topbar.admin-topbar .nav.admin-nav.open button.nav-logout {
    margin-top: 14px;
    margin-left: 0;
    background: var(--accent-soft);
    color: #ff9a9c;
    border-color: rgba(218, 44, 46, 0.4);
    justify-content: center;
  }
  .topbar.admin-topbar .nav.admin-nav.open button.nav-logout:hover {
    background: #a82328;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: none;
  }
}

@media (max-width: 520px) {
  .topbar.admin-topbar .brand-logo {
    height: 28px;
  }
  .topbar.admin-topbar .menu {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}
main {
  padding: 24px 0 80px;
  outline: none;
  flex: 1;
  width: 100%;
}

/* ---------- Başlık alanı ---------- */
.hero {
  padding: 34px 0 8px;
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero h1 .grad-text {
  display: inline-block;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
}
.hero p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}
.hero--center {
  text-align: center;
  padding: clamp(28px, 6vw, 64px) 0 8px;
}
.hero--center p {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .hero-desc {
    display: none;
  }
  .hero--center {
    padding-top: 20px;
    padding-bottom: 0;
  }
  .section-head {
    margin-top: 28px;
  }
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 99px;
  background: var(--primary-soft);
  border: 1px solid rgba(244, 159, 32, 0.3);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(218, 44, 46, 0.28);
}
.searchbox {
  position: relative;
  margin: 30px auto 0;
  max-width: 640px;
}
.searchbox .input {
  padding-left: 52px;
  border-radius: 99px;
}
.searchbox .ico {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--primary);
  pointer-events: none;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

/* ---------- Kartlar ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 20px;
  margin-top: 22px;
}
.card {
  background: var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-width: 0;
}
.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.fcard::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(244, 159, 32, 0.22),
    transparent 70%
  );
  pointer-events: none;
}
.fcard h2 {
  font-size: 1.35rem;
  margin-top: 4px;
  color: #fff;
  line-height: 1.3;
}
.fcard p.d {
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.fcard .btn {
  margin-top: 6px;
}
@media (hover: hover) and (pointer: fine) {
  .fcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(244, 159, 32, 0.45);
  }
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.btn:hover {
  border-color: var(--text);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.btn.primary {
  background: var(--grad);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 3px 12px rgba(244, 159, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn.primary:hover {
  background: var(--grad);
  filter: brightness(1.06);
  box-shadow: 0 5px 18px rgba(244, 159, 32, 0.25);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.danger {
  color: var(--danger);
  border-color: rgba(218, 44, 46, 0.5);
}
.btn.danger:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
}
.btn.danger.solid {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.btn.danger.solid:hover {
  background: var(--accent);
  filter: brightness(1.15);
  color: #fff;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
}
.btn.icon {
  padding: 0;
  width: 46px;
  min-width: 46px;
}
.btn.sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.88rem;
}
.ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: none;
}
.ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- Form kontrolleri ---------- */
.input,
select.input,
textarea.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.input::placeholder {
  color: var(--faint);
}
textarea.input {
  min-height: 110px;
  resize: vertical;
}
.input:hover {
  border-color: rgba(244, 159, 32, 0.45);
}
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.input[aria-invalid="true"] {
  border-color: var(--accent);
  background: rgba(218, 44, 46, 0.07);
}
.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input:disabled {
  background: var(--bg-soft);
  color: var(--faint);
  cursor: not-allowed;
}
.input.big {
  font-size: 1.05rem;
  padding: 16px 20px;
  min-height: 56px;
}
input[type="date"].input {
  color-scheme: dark;
}
.field {
  margin-top: 22px;
}
.lbl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: #ff8f91;
  border: 1px solid rgba(218, 44, 46, 0.35);
}
.tag.opt {
  background: var(--surface2);
  color: var(--muted);
  border-color: var(--border-strong);
}
.help {
  color: var(--muted);
  font-size: 0.92rem;
  margin: -2px 0 10px;
}
.err {
  display: flex;
  gap: 8px;
  color: #ff8f91;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--danger-soft);
  border: 1px solid rgba(218, 44, 46, 0.35);
}
.err[hidden] {
  display: none;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  margin-top: 8px;
  cursor: pointer;
  min-height: 50px;
  background: var(--surface);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.choice:hover {
  border-color: rgba(244, 159, 32, 0.5);
}
.choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  flex: none;
}
.phone {
  display: flex;
}
.phone .pre {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: var(--surface2);
  font-weight: 700;
  color: var(--primary);
}
.phone .input {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.edu {
  display: grid;
  gap: 14px;
}
.edu small {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.uni-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-strong);
}
.uni-badge[hidden] {
  display: none;
}
.uni-badge img {
  height: 44px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}
.uni-badge span {
  font-weight: 600;
}
.combo {
  position: relative;
}
.combo-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 250px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #18181b;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}
.combo-list li {
  padding: 11px 14px;
  border-radius: 8px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.combo-list li.act,
.combo-list li:hover {
  background: var(--primary-soft);
}
.combo-list li.sel {
  font-weight: 700;
  color: var(--primary);
}
.combo-empty {
  color: var(--muted);
}
.alert {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  margin-top: 16px;
  font-weight: 500;
}
.alert.error {
  border-color: rgba(218, 44, 46, 0.5);
  background: var(--danger-soft);
  color: #ff9a9c;
}
.alert.ok {
  border-color: rgba(74, 222, 128, 0.4);
  background: var(--success-soft);
  color: var(--success);
}
.alert.info {
  border-color: rgba(125, 180, 255, 0.4);
  background: var(--info-soft);
  color: var(--info);
}
.alert[hidden] {
  display: none;
}

/* ---------- Yönetici Giriş Ekranı (Login) ---------- */
.login-wrap {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 40px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  position: relative;
  padding: clamp(2rem, 5vw, 2.75rem);
  border-radius: 24px;
  background: rgba(18, 18, 20, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.login-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at 50% 18%,
    rgba(244, 159, 32, 0.13) 0%,
    rgba(218, 44, 46, 0.055) 38%,
    rgba(218, 44, 46, 0) 74%
  );
  pointer-events: none;
  z-index: 0;
}
.login-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.login-avatar img {
  height: 40px;
  width: auto;
  display: block;
}
.login-header h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.login-header p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.field-group {
  margin-bottom: 1.15rem;
  position: relative;
}
.field-group .lbl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 6px;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-with-icon > .ico {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}
.input-with-icon .input {
  padding-left: 44px;
  padding-right: 48px;
  width: 100%;
  box-sizing: border-box;
}
.input-action-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}
.input-action-btn .ico {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: 18px;
  height: 18px;
  color: inherit;
  pointer-events: none;
}
.input-action-btn:hover {
  color: #fff;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.25rem;
  font-size: 0.86rem;
  gap: 10px;
}
.demo-chip {
  background: rgba(244, 159, 32, 0.12);
  border: 1px solid rgba(244, 159, 32, 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.demo-chip:hover {
  background: rgba(244, 159, 32, 0.22);
  transform: translateY(-1px);
  color: #fff;
}
.login-btn {
  width: 100%;
  height: 48px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(244, 159, 32, 0.35);
  transition: all 0.2s ease;
}
.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(244, 159, 32, 0.5);
}
.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.login-sublinks {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
}
.login-sublinks a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.login-sublinks a:hover {
  color: #fff;
}
@media (max-width: 480px) {
  .login-wrap {
    min-height: calc(100vh - 100px);
    padding: 16px 12px 32px;
  }
  .login-card {
    padding: 26px 18px;
    border-radius: 20px;
  }
  .login-header {
    margin-bottom: 1.25rem;
  }
  .login-avatar {
    width: 56px;
    height: 56px;
    margin-bottom: 0.85rem;
    border-radius: 16px;
  }
  .login-avatar img {
    height: 34px;
  }
  .login-header h1 {
    font-size: 1.45rem;
  }
  .login-header p {
    font-size: 0.86rem;
  }
  .login-options {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0.85rem 0 1.25rem;
  }
  .login-options label {
    justify-content: flex-start;
  }
  .demo-chip {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    box-sizing: border-box;
    font-size: 0.82rem;
    text-align: center;
  }
  .login-btn {
    height: 46px;
    font-size: 0.95rem;
  }
}

/* ---------- Etiketler ---------- */
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.badge.s-published,
.badge.s-approved {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(74, 222, 128, 0.35);
}
.badge.s-draft,
.badge.s-new {
  background: var(--info-soft);
  color: var(--info);
  border-color: rgba(125, 180, 255, 0.35);
}
.badge.s-closed,
.badge.s-reviewing {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: rgba(244, 159, 32, 0.4);
}
.badge.s-waitlist {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
}
.badge.s-archived {
  background: var(--surface2);
  color: var(--muted);
}
.badge.s-rejected {
  background: var(--danger-soft);
  color: #ff8f91;
  border-color: rgba(218, 44, 46, 0.4);
}

/* ---------- Yerleşim yardımcıları ---------- */
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.row.sb {
  justify-content: space-between;
}
.stack > * + * {
  margin-top: 16px;
}
.toolbar {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 560px) {
  .toolbar {
    grid-template-columns: 1fr;
  }
}

/* ---------- Admin kartları ---------- */
.acard {
  display: grid;
  gap: 14px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
@media (hover: hover) {
  .acard:hover {
    border-color: rgba(244, 159, 32, 0.5);
    box-shadow: 0 12px 32px rgba(244, 159, 32, 0.12);
  }
}
.acard h2 {
  font-size: 1.2rem;
  color: #fff;
}
.meta {
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
details.more {
  border-top: 1px dashed var(--border-strong);
  padding-top: 4px;
}
details.more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}
details.more summary::-webkit-details-marker {
  display: none;
}
details.more summary::after {
  content: "▾";
  transition: transform 0.2s;
}
details.more[open] summary::after {
  transform: rotate(180deg);
}
details.more .actions {
  margin-top: 6px;
  padding-bottom: 4px;
}
details.card.more {
  padding: 8px 22px;
}

/* ---------- Durum kutuları ---------- */
.state {
  text-align: center;
  padding: 56px 24px;
}
.state .big {
  font-size: 3rem;
  margin-bottom: 6px;
}
.state h1,
.state h2 {
  font-size: 1.7rem;
  color: #fff;
}
.shimmer {
  height: 170px;
  border-radius: var(--r);
  background: linear-gradient(90deg, #161616 25%, #232323 50%, #161616 75%);
  background-size: 200% 100%;
  animation: sh 1.3s infinite;
}
@keyframes sh {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Bildirim ve pencere ---------- */
.toasts {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(92px + env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
  justify-items: center;
  pointer-events: none;
  z-index: 90;
  padding: 0 12px;
}
.toast {
  pointer-events: auto;
  background: #262626;
  color: #fff;
  border: 1px solid var(--border-strong);
  padding: 13px 22px;
  border-radius: 99px;
  box-shadow: var(--shadow);
  font-weight: 500;
  font-size: 0.95rem;
  animation: pop 0.3s var(--ease);
  max-width: 92vw;
}
.toast.error {
  background: #4a1213;
  border-color: var(--accent);
}
.toast.ok {
  background: #0f3d24;
  border-color: #15803d;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}
dialog.dlg {
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 0;
  width: min(560px, 94vw);
  max-height: 90vh;
  background: #141414;
  color: var(--text);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}
dialog.dlg.wide {
  width: min(780px, 94vw);
}
dialog.dlg[open] {
  animation: pop 0.25s;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.dlg-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.dlg-h h2 {
  font-size: 1.3rem;
}
.dlg-b {
  padding: 22px;
  overflow: auto;
  max-height: 64vh;
}
.dlg-f {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 0 0 24px 24px;
}
.qr {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.qr canvas {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  padding: 6px;
  background: #fff;
}
.qr code {
  overflow-wrap: anywhere;
  font-size: 0.85rem;
  background: var(--surface2);
  padding: 6px 12px;
  border-radius: 10px;
}

/* ---------- Form düzenleyici ---------- */
.sect {
  margin-top: 22px;
}
.sect > h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.qcard {
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r);
  padding: 20px;
  margin-top: 16px;
  background: var(--glass);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  animation: pop 0.3s;
}
.qcard:focus-within {
  border-color: rgba(244, 159, 32, 0.6);
  border-left-color: var(--primary);
}
.qhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qtype {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--text);
}
.qacts {
  display: flex;
  gap: 4px;
}
.optrow {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 500;
}
.switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
}
.addgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.addgrid .btn {
  justify-content: flex-start;
  border-style: dashed;
}
.bar {
  position: sticky;
  bottom: 12px;
  z-index: 25;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  margin-top: 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}
body.kb .bar {
  position: static;
}
.savestate {
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.savestate.saved {
  color: var(--success);
}
.savestate.error {
  color: #ff8f91;
}
.savestate.saving,
.savestate.pending {
  color: var(--muted);
}

/* ---------- Yanıtlar ---------- */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 6px 4px 14px;
  border-radius: 99px;
  background: var(--primary-soft);
  border: 1px solid rgba(244, 159, 32, 0.3);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}
.chip button {
  border: 0;
  background: rgba(244, 159, 32, 0.2);
  color: inherit;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font: inherit;
}
.chip button:hover {
  background: rgba(244, 159, 32, 0.4);
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
}
.fgrid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--muted);
}
.rcard {
  display: grid;
  gap: 12px;
}
.rcard h3 {
  font-size: 1.1rem;
  color: #fff;
}
dl.kv {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr;
  gap: 10px 16px;
  margin: 0;
}
dl.kv dt {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}
dl.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
@media (max-width: 520px) {
  dl.kv {
    grid-template-columns: 1fr;
  }
  dl.kv dd {
    margin-bottom: 10px;
  }
}
.pager {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
  font-weight: 500;
}

/* ---------- Form doldurma ---------- */
.thanks .big {
  font-size: 3.4rem;
}
.formhead {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
}
.formhead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 6px;
  background: var(--grad);
}
.formhead::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 159, 32, 0.2), transparent 70%);
  pointer-events: none;
}
.formhead h1 {
  font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  margin-top: 6px;
  color: #fff;
  position: relative;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.sr:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 10px;
}

/* ---------- Üniversite şeridi (ana sayfa) ---------- */
.uni-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.uni-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 14px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--glass-border);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.uni-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (hover: hover) {
  .uni-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 159, 32, 0.28);
  }
}

/* ---------- Alt Bilgi (Yüzen Ada / Floating Island) ---------- */
.site-footer {
  width: 95%;
  max-width: 1240px;
  margin: 60px auto 28px auto;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 2.75rem)
    clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(14, 14, 16, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow:
    0 20px 48px -8px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.site-footer .container {
  padding: 0;
  max-width: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem 1.75rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1.1rem;
  display: block;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 280px;
}
.site-footer h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-meta-divider {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--faint);
}
.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-powered a {
  display: inline-flex;
  align-items: center;
}
.vipera-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.vipera-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: var(--primary);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-meta-divider {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .footer-legal-links {
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .site-footer {
    width: calc(100% - 20px);
    margin: 40px auto 16px auto;
    border-radius: 18px;
    padding: 1.75rem 1.25rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
@media (max-width: 520px) {
  .card {
    padding: 18px;
  }
  .formhead {
    padding: 24px 18px;
  }
  main {
    padding-top: 20px;
  }
}
/* Ortak bileşenlerde son dokunuşlar */
html {
  scroll-padding-top: 96px;
}
::selection {
  background: rgba(244, 159, 32, 0.3);
  color: #fff;
}
.hero h1 {
  text-wrap: balance;
}
.hero p {
  line-height: 1.75;
  text-wrap: pretty;
}
.card:focus-within {
  border-color: rgba(244, 159, 32, 0.35);
}
.fcard .btn {
  align-self: stretch;
}
.meta,
.badge,
.savestate,
.pager {
  font-variant-numeric: tabular-nums;
}
.input::placeholder {
  color: #929292;
  opacity: 1;
}
.input:disabled:hover {
  border-color: var(--border-strong);
}
.choice:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.combo-list {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.field.card{position:relative;z-index:0}
.field.card:has(.combo input[aria-expanded="true"]){z-index:20}
.combo:has(input[aria-expanded="true"]){z-index:21}
.combo-list[hidden]{display:none!important}
.combo::after{content:'⌄';position:absolute;right:16px;top:14px;color:var(--muted);pointer-events:none;font-size:18px;line-height:1}
.combo>.input{padding-right:40px}
.combo-list li{min-height:44px;display:flex;align-items:center}
select.input option{background:#18181b;color:var(--text)}
.dlg-b {
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.acard h2,
.rcard h3 {
  line-height: 1.35;
}
.acard .actions {
  padding-top: 4px;
}
.nav a.on {
  box-shadow: inset 0 0 0 1px rgba(244, 159, 32, 0.18);
}
.uni-tile {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}
.footer-links a:focus-visible {
  outline-offset: 5px;
}
@media (max-width: 520px) {
  .hero p {
    font-size: 1rem;
  }
  .grid {
    gap: 16px;
  }
  .state {
    padding: 36px 20px;
  }
  .bar {
    bottom: 8px;
    gap: 12px;
  }
  .toast {
    border-radius: 16px;
    overflow-wrap: anywhere;
  }
}

/* ---------- Form Yönetimi (Admin Dashboard) ---------- */
.dash-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.dash-title-group h1{
  font-size:clamp(1.8rem,4vw,2.4rem);
  font-weight:800;
  color:#fff;
  letter-spacing:-.02em;
}
.dash-title-group p{
  color:var(--muted);
  margin-top:6px;
  font-size:.95rem;
}
.dash-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:32px;
}
@media (max-width:1023px){
  .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.dash-stat-card{
  background:rgba(20,20,24,.6);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  gap:14px;
  position:relative;
  overflow:hidden;
  transition:all .25s ease;
  min-width:0;
}
.dash-stat-card:hover{
  transform:translateY(-2px);
  border-color:rgba(244,159,32,.35);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.dash-stat-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.35rem;
  flex-shrink:0;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.dash-stat-card > div:last-child{
  min-width:0;
}
.dash-stat-val{
  font-family:var(--font-display);
  font-size:1.9rem;
  font-weight:800;
  color:#fff;
  line-height:1.1;
}
.dash-stat-lbl{
  color:var(--muted);
  font-size:.84rem;
  font-weight:500;
  margin-top:3px;
  overflow-wrap:break-word;
  word-break:break-word;
}
@media (max-width:600px){
  .dash-stats{
    gap:10px;
    margin-bottom:22px;
  }
  .dash-stat-card{
    padding:12px 12px;
    border-radius:16px;
    gap:10px;
  }
  .dash-stat-icon{
    width:38px;
    height:38px;
    border-radius:11px;
    font-size:1.1rem;
  }
  .dash-stat-val{
    font-size:1.45rem;
  }
  .dash-stat-lbl{
    font-size:.74rem;
    line-height:1.2;
    margin-top:2px;
  }
}
@media (max-width:360px){
  .dash-stats{
    gap:8px;
  }
  .dash-stat-card{
    padding:10px 8px;
    gap:8px;
    border-radius:13px;
  }
  .dash-stat-icon{
    width:32px;
    height:32px;
    font-size:.95rem;
  }
  .dash-stat-val{
    font-size:1.25rem;
  }
  .dash-stat-lbl{
    font-size:.68rem;
  }
}
.dash-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin-bottom:24px;
  flex-wrap:wrap;
}
.dash-search{
  position:relative;
  min-width:0;
  flex:1;
  max-width:none;
}
.dash-toolbar .dash-status-filter{width:190px;min-height:46px;border-radius:99px;flex:none;font-size:.9rem}
@media (max-width:520px){
  .dash-toolbar{flex-wrap:nowrap;gap:8px}
  .dash-toolbar .dash-status-filter{width:132px;padding:10px 12px;font-size:.82rem}
}
@media (max-width:360px){
  .dash-toolbar{flex-wrap:wrap}
  .dash-search,.dash-toolbar .dash-status-filter{width:100%;flex-basis:100%}
}
.dash-search .input{
  padding-left:42px;
  min-height:46px;
  border-radius:99px;
  font-size:.92rem;
}
.dash-search .ico{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  pointer-events:none;
}
.dash-filters{
  display:inline-flex;
  gap:4px;
  background:rgba(20,20,24,.6);
  padding:4px;
  border-radius:99px;
  border:1px solid rgba(255,255,255,.08);
  flex-wrap:wrap;
}
.dash-filter-btn{
  padding:7px 15px;
  border-radius:99px;
  font-size:.85rem;
  font-weight:600;
  color:var(--muted);
  background:none;
  border:none;
  cursor:pointer;
  transition:all .2s;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.dash-filter-btn:hover{color:#fff}
.dash-filter-btn.active{
  background:var(--primary-soft);
  color:var(--primary);
  box-shadow:inset 0 0 0 1px rgba(244,159,32,.25);
}
.dash-filter-badge{
  background:rgba(255,255,255,.1);
  padding:1px 7px;
  border-radius:99px;
  font-size:.75rem;
}
.dash-filter-btn.active .dash-filter-badge{
  background:rgba(244,159,32,.25);
  color:#fff;
}
.acard{
  background:rgba(18,18,22,.65);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}
.acard:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 16px 36px rgba(0,0,0,.45);
}
.acard-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.acard-badges{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.acard h2{
  font-size:1.25rem;
  color:#fff;
  line-height:1.45;
  margin:0;
  font-weight:700;
}
.acard p.desc{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.55;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.acard-meta-bar{
  display:grid;
  gap:14px;
  padding:16px;
  background:rgba(255,255,255,.025);
  border-radius:12px;
  border:1px solid rgba(255,255,255,.05);
  font-size:.85rem;
  color:var(--muted);
}
.acard-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid rgba(255,255,255,.07);padding-top:12px}
.acard-dates>div{display:grid;gap:4px;min-width:0}
.acard-date-label{font-size:.75rem;color:var(--muted);line-height:1.4}
.acard-date-value{font-size:.875rem;color:var(--text);font-variant-numeric:tabular-nums;line-height:1.5}
.acard-responses-count{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--primary);
  font-weight:700;
  font-size:.92rem;
}
.acard-main-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:auto;
  padding-top:4px;
}
.acard-main-actions .btn{
  min-height:48px;
  padding:10px 12px;
  border-radius:14px;
  white-space:nowrap;
  font-size:.9rem;
}
.acard-more-actions{
  display:flex;
  gap:6px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.06);
  flex-wrap:wrap;
  justify-content:flex-end;
}
.acard-more-actions .btn{
  font-size:.82rem;
  padding:6px 12px;
  min-height:36px;
}
.acard details.more summary{
  cursor:pointer;
  font-size:.84rem;
  color:#c4c4c4;
  user-select:none;
  padding:6px 0;
  justify-content:space-between;
  transition:color .2s;
}
.acard details.more summary:hover{color:#fff}
.acard details.more[open] summary{margin-bottom:8px}
.acard details.more{border-top-style:solid;border-top-color:rgba(255,255,255,.08);margin-top:2px}
@media (max-width:360px){
  .acard{padding:18px}
  .acard-main-actions{grid-template-columns:1fr}
  .acard-dates{gap:10px}
}

/* ---------- Profilim Sayfası ---------- */
.profile-hero {
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(20, 20, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.profile-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(244, 159, 32, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.profile-hero-in {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.profile-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.profile-avatar-img {
  width: 44px;
  height: auto;
  display: block;
}
.profile-hero-name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.profile-card {
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(18, 18, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
@media(max-width:600px){
  .profile-quick-card{padding:20px 16px;border-radius:18px}
  .profile-quick-card h3{font-size:1.05rem}
  .profile-quick-card>p{font-size:.82rem;line-height:1.65}
  .profile-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .profile-quick-actions>.btn{width:100%;min-height:64px;border-radius:12px;padding:12px 8px;flex-direction:column;gap:7px;font-size:.78rem;line-height:1.4;text-align:center}
  .profile-quick-actions>.profile-logout{background:var(--danger-soft);border-color:rgba(218,44,46,.28)}
  .profile-quick-actions>.btn:last-child:nth-child(odd){grid-column:1/-1;flex-direction:row;min-height:46px}
  .profile-save-actions>.btn{width:100%;border-radius:12px;min-height:48px}
}
@media (max-width: 860px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 520px) {
  .profile-hero {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .profile-avatar-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
  .profile-avatar-img {
    width: 34px;
  }
  .profile-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
}

.question-add-fab.btn{position:fixed;right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:35;width:60px;height:60px;padding:0;border-radius:50%;box-shadow:0 8px 28px rgba(0,0,0,.5)}
.question-add-fab .ico{width:26px;height:26px}
@media(min-width:769px){
  .question-section-heading .question-add-fab.btn{position:static;width:auto;height:auto;min-height:46px;padding:10px 20px;border-radius:14px;box-shadow:0 3px 12px rgba(244,159,32,.18)}
  .question-section-heading .question-add-fab .ico{width:18px;height:18px}
}
@media(max-width:768px){.question-add-fab>span:not(.ico){display:none}}
body.question-picker-open{overflow:hidden}
dialog.dlg.question-picker-dialog{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column}
.question-picker-dialog .dlg-h{padding:20px clamp(18px,5vw,64px);flex:none}
.question-picker-dialog .dlg-b{max-height:none;flex:1;min-height:0;padding:24px clamp(18px,5vw,64px);overflow:auto}
.question-picker-dialog .dlg-b>div{max-width:960px;margin:0 auto}
.question-picker-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.question-bulk-switch{padding:8px 14px;border:1px solid var(--border-strong);border-radius:12px}
.question-picker-actions{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;gap:12px;padding:16px 0 calc(16px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);margin-top:24px}
@media(max-width:520px){.question-add-fab.btn{right:calc(12px + env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));width:54px;height:54px}.question-picker-actions .btn{padding:10px 14px}}
.question-type-group{border:0;padding:0;margin:20px 0}
.question-type-group legend{font-weight:600;font-size:.9rem;margin-bottom:10px}
.question-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.question-type-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border-strong);border-radius:12px;cursor:pointer;min-height:48px;font-size:.9rem}
.question-type-option input{width:18px;height:18px;flex:none;accent-color:var(--primary)}
.question-type-option:has(input:checked){background:var(--primary-soft);border-color:var(--primary)}
.question-type-option:focus-within{outline:2px solid var(--primary);outline-offset:2px}
.question-type-option.is-used{color:var(--muted);cursor:default}
.question-type-option small{display:block;font-size:.72rem;margin-top:2px}
.qdrag{display:inline-flex;align-items:center;justify-content:center;width:40px;height:44px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface2);color:var(--muted);font-size:1.6rem;cursor:grab;touch-action:none;user-select:none;flex:none}
.qdrag:active{cursor:grabbing}
.qcard.is-dragging{opacity:.55}
.qcard.drop-before{box-shadow:0 -4px 0 var(--primary)}
.qcard.drop-after{box-shadow:0 4px 0 var(--primary)}
.qcard .qhead{padding-bottom:12px;border-bottom:1px solid var(--border)}
.question-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-left:auto;flex-wrap:wrap}
.qcard .qacts{flex-wrap:wrap}
.qcard .question-required{white-space:nowrap;font-size:.88rem;gap:8px}
.question-field{display:block}
.public-home{padding-top:12px}
.home-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:48px;align-items:center;padding:44px 0 56px}
.home-kicker{color:var(--primary);font-size:.76rem;font-weight:600;letter-spacing:.04em;margin-bottom:14px}
.home-intro h1{font-size:clamp(2rem,4.8vw,3.7rem);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.home-intro-description{max-width:52ch;color:var(--muted);font-size:1rem;line-height:1.8;margin:22px 0 26px}
.home-intro-copy>.btn{border-radius:14px}
.home-guide{padding:28px;border:1px solid var(--glass-border);border-radius:24px;background:linear-gradient(145deg,rgba(27,24,21,.95),rgba(18,18,20,.95))}
.home-guide>h2{font-size:1.15rem;margin-bottom:24px}
.home-guide-step{display:flex;gap:16px;align-items:flex-start}
.home-guide-step+.home-guide-step{margin-top:22px}
.home-guide-number{font-size:.8rem;color:var(--primary);font-weight:600;flex:none;padding-top:2px;font-variant-numeric:tabular-nums}
.home-guide-step h3{font-size:.9rem;line-height:1.5}
.home-guide-step p{font-size:.82rem;line-height:1.7;color:var(--muted);margin-top:5px}
.home-applications{scroll-margin-top:100px;border-top:1px solid var(--border);padding-top:32px}
.home-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}
.home-section-title h2{font-size:clamp(1.5rem,3vw,2rem)}
.home-section-title .home-kicker{margin-bottom:8px}
.home-search{position:relative;margin:24px 0}
.home-search>.ico{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.home-search>.input{padding-left:48px;border-radius:14px;min-height:54px;background:var(--surface)}
.home-form-grid{gap:22px;margin-top:0}
.home-form-card{overflow:hidden;min-width:0;border:1px solid var(--glass-border);border-radius:22px;background:#141416;display:flex;flex-direction:column}
.home-form-cover{position:relative;aspect-ratio:16/7;background:var(--surface2);overflow:hidden}
.home-form-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.home-form-cover-default{background:radial-gradient(ellipse at 50% 50%,rgba(244,159,32,.18),transparent 70%),linear-gradient(135deg,#24201b,#161618)}
.home-form-cover-default>.home-cover-emblem{object-fit:contain;width:68px;height:68px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:.85}
.home-open-badge{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;background:rgba(10,20,14,.88);border:1px solid rgba(74,222,128,.2);border-radius:8px;color:#83dfa0;font-size:.7rem;font-weight:600}
.home-form-body{padding:22px;display:flex;flex-direction:column;gap:14px;flex:1}
.home-form-body h3{font-size:1.18rem;line-height:1.4;overflow-wrap:anywhere}
.home-form-description{font-size:.88rem;color:var(--muted);line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-form-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:.74rem;color:var(--muted);margin-top:auto;padding-top:8px}
.home-form-meta>span{display:inline-flex;align-items:center;gap:6px}
.home-form-meta .ico{width:15px;height:15px}
.home-form-body>.btn{border-radius:12px;justify-content:space-between;min-height:46px;font-size:.9rem}
.home-empty{grid-column:1/-1}
.home-empty .big .ico{width:30px;height:30px}
.home-empty h3{font-size:1.2rem;margin-bottom:10px}
.home-empty .btn{margin-top:18px}
.home-about{margin-top:48px;padding:28px;display:flex;align-items:center;gap:24px;border:1px solid var(--glass-border);border-radius:22px;background:rgba(20,20,22,.8)}
.home-about>img{width:48px;height:48px;object-fit:contain;flex:none}
.home-about>div{flex:1;min-width:0}
.home-about h2{font-size:1.2rem;line-height:1.4;margin-bottom:8px}
.home-about p{font-size:.86rem;line-height:1.7;max-width:65ch}
.home-about>.btn{flex:none;border-radius:12px;font-size:.88rem}
@media(max-width:820px){.home-intro{grid-template-columns:1fr;gap:28px;padding-top:24px}.home-guide{display:none}.home-about{flex-wrap:wrap}.home-about>div{flex-basis:calc(100% - 80px)}}
@media(max-width:520px){
  .public-home{padding-top:0}.home-intro{padding:22px 0 32px}.home-intro h1{font-size:clamp(1.9rem,8vw,2.5rem)}
  .home-intro-description{font-size:.9rem;margin:18px 0 22px}.home-intro-copy>.btn{width:100%;min-height:48px}
  .home-applications{padding-top:24px}.home-section-title{align-items:start;gap:10px}.home-section-title>p{width:100%}
  .home-search{margin:18px 0}.home-form-grid{gap:16px}.home-form-card{border-radius:18px}.home-form-body{padding:18px;gap:12px}
  .home-form-cover{aspect-ratio:16/6}.home-form-body h3{font-size:1.1rem}.home-about{padding:20px 16px;gap:16px;margin-top:28px}
  .home-about>img{width:40px;height:40px}.home-about h2{font-size:1.05rem}.home-about>.btn{width:100%}
}
.section-editor-list{display:grid;gap:12px}
.question-placement-list{display:grid;gap:10px;margin-top:16px}
.question-placement-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.question-placement-row>.input{grid-column:2/-1}
.placement-question-info{min-width:0;overflow-wrap:anywhere}
.placement-question-info strong{font-size:.95rem;line-height:1.5}
.placement-question-info p{margin-top:4px}
@media(max-width:520px){.question-placement-row{padding:12px;gap:8px;grid-template-columns:44px minmax(0,1fr)}.question-placement-row>.row{grid-column:1;grid-row:2;flex-direction:column}.question-placement-row>.input{grid-column:2;grid-row:2}}
.section-editor{padding:16px}
.section-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:44px;font-weight:600}
.section-editor>div{margin-top:16px}
.public-form [hidden]{display:none!important}
.public-section-header{display:grid;gap:10px;padding:24px}
.public-section-header h2{font-size:1.35rem;line-height:1.4}
.public-section-actions{justify-content:flex-end}
@media(max-width:520px){.public-section-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.public-section-actions>.btn{width:100%;min-width:0!important;border-radius:12px}.public-section-actions>.btn:only-child,.public-section-actions>.btn[hidden]+.btn{grid-column:1/-1}}
.management-page>h1{font-size:clamp(1.7rem,4vw,2.4rem);margin-top:24px}
.super-page-header{margin-bottom:26px}
.super-page-header h1{font-size:clamp(1.8rem,4vw,2.6rem);margin-top:8px}
.super-kicker{font-size:.75rem;letter-spacing:.08em;color:var(--primary);font-weight:600}
.super-description{margin-top:12px;max-width:62ch;line-height:1.7}
.super-tabs{display:flex;gap:6px;margin-top:26px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.super-tabs{flex-wrap:wrap}
.audit-values{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;padding:14px;border:1px solid var(--border);border-radius:12px;max-height:350px;overflow:auto}
.super-tabs a{display:flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:10px;color:var(--muted);font-size:.9rem;font-weight:600;text-decoration:none;min-height:46px}
.super-tabs a.active{color:var(--primary);background:var(--primary-soft)}
.super-tabs a:hover{color:var(--text)}
.super-overview-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:20px}
.super-overview-grid h2{font-size:1.15rem}
.super-user-total{font-size:2.5rem;font-weight:700;font-variant-numeric:tabular-nums}
.super-user-total span{font-size:.95rem;font-weight:400;color:var(--muted)}
.super-recent-row{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-top:14px;border-top:1px solid var(--border)}
.super-recent-row strong{font-size:.88rem;font-weight:500}
.super-recent-row time{font-size:.75rem;white-space:nowrap}
.super-list-toolbar{display:flex;align-items:center;gap:20px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.super-list-toolbar>.input{max-width:420px}
.super-list-toolbar>p{margin-left:auto}
.dlg-b .management-create{margin-top:0!important;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none}
.dlg-b .management-create>h2{display:none}
@media(max-width:700px){
  .super-page-header>.row{align-items:stretch;gap:18px}
  .super-page-header>.row>.btn{width:100%;border-radius:12px}
  .super-overview-grid{grid-template-columns:1fr}
  .super-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-radius:18px;margin-top:20px}
  .super-tabs a{min-width:0;min-height:48px;padding:10px 8px;font-size:.8rem;line-height:1.4;text-align:center;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.025);border-radius:12px}
  .super-tabs a.active{border-color:rgba(244,159,32,.25);background:var(--primary-soft);box-shadow:inset 0 1px 0 rgba(244,159,32,.08)}
  .super-list-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px}
  .super-list-toolbar>p{margin-left:0}
  .super-recent-row{flex-wrap:wrap;gap:6px}
  .super-page-header{margin-bottom:20px}
}
.management-page>p{max-width:65ch;line-height:1.7}
.management-create{margin-top:26px!important;padding:26px}
.management-create h2{font-size:1.2rem}
.management-page .toolbar{padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.user-card{display:flex;flex-direction:column;padding:24px;gap:12px;background:linear-gradient(140deg,#1a1a1d,#121214)}
.user-card.stack>*+*{margin-top:0}
.user-card h2{font-size:1.15rem;overflow-wrap:anywhere;line-height:1.4}
.user-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0!important}
.user-card-actions .btn{border-radius:12px}
.user-card-footer{display:grid;gap:10px;margin-top:auto!important;padding-top:16px;border-top:1px solid rgba(255,255,255,.07)}
.user-card-footer .btn{width:100%;border-radius:12px;min-height:44px;font-size:.88rem}
.user-card-footer>.btn.danger{background:rgba(218,44,46,.055);border-color:rgba(218,44,46,.25)}
.user-card-footer .btn:disabled{opacity:.3;background:transparent;box-shadow:none}
.user-created{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.8rem;padding:10px 0 6px;margin-top:6px!important}
.user-created>span:last-child{font-variant-numeric:tabular-nums;color:#c9c9ce}
.user-card>.row:first-child{margin-bottom:4px}
.user-card>.muted{font-size:.85rem}
.user-depts{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.user-depts .badge{font-size:.74rem;padding:3px 8px;border-radius:8px}
.user-dept-selection{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;gap:8px}
.user-dept-selection .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-top:6px}
.user-dept-selection label.choice{font-size:.86rem;display:flex;align-items:center;gap:8px;cursor:pointer;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);transition:all .18s var(--ease)}
.user-dept-selection label.choice:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
.user-avatar{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:var(--primary-soft);color:var(--primary);font-weight:700}
.log-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px}
.log-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.04);color:var(--primary)}
.log-content h2{font-size:.96rem;line-height:1.5}
.log-content p{margin-top:5px}
.log-detail{overflow-wrap:anywhere;line-height:1.6;color:#c0c0c7}
.log-time{font-variant-numeric:tabular-nums;padding-top:3px}
.rcard{padding:24px;background:linear-gradient(135deg,#1a1a1d,#121214);gap:16px}
.rcard h3{line-height:1.4;font-size:1.15rem;overflow-wrap:anywhere}
.rcard .meta{overflow-wrap:anywhere;line-height:1.7}
.rcard .actions{padding-top:12px;border-top:1px solid var(--border)}
.rcard .actions>.btn:first-child{flex:1}
.rcard .actions .btn{border-radius:12px}
.status-btn-group{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%}
.status-btn-group.modal-status-group{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));margin-top:8px}
.status-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;min-height:40px;font-family:inherit;font-size:.83rem;font-weight:500;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:var(--muted);cursor:pointer;transition:all .18s var(--ease);user-select:none;text-align:center;white-space:nowrap}
.status-btn .status-icon{font-size:.9em;line-height:1;opacity:.8}
.status-btn:hover:not(:disabled){transform:translateY(-1px);color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.06)}
.status-btn:active:not(:disabled){transform:scale(.97)}
.status-btn.is-busy{opacity:.55;cursor:wait;pointer-events:none}
.status-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.status-btn.st-new:hover:not(.is-active){border-color:rgba(125,180,255,.45);color:var(--info);background:rgba(59,130,246,.09)}
.status-btn.st-new.is-active{background:var(--info-soft);color:#fff;border-color:rgba(125,180,255,.6);box-shadow:0 2px 10px rgba(59,130,246,.22);font-weight:700}
.status-btn.st-new.is-active .status-icon{color:var(--info);opacity:1}
.status-btn.st-reviewing:hover:not(.is-active){border-color:rgba(244,159,32,.45);color:var(--warn);background:rgba(244,159,32,.09)}
.status-btn.st-reviewing.is-active{background:var(--warn-soft);color:#fff;border-color:rgba(244,159,32,.6);box-shadow:0 2px 10px rgba(244,159,32,.22);font-weight:700}
.status-btn.st-reviewing.is-active .status-icon{color:var(--warn);opacity:1}
.status-btn.st-approved:hover:not(.is-active){border-color:rgba(74,222,128,.45);color:var(--success);background:rgba(21,128,61,.14)}
.status-btn.st-approved.is-active{background:var(--success-soft);color:#fff;border-color:rgba(74,222,128,.6);box-shadow:0 2px 10px rgba(74,222,128,.22);font-weight:700}
.status-btn.st-approved.is-active .status-icon{color:var(--success);opacity:1}
.status-btn.st-rejected:hover:not(.is-active){border-color:rgba(218,44,46,.45);color:#ff8f91;background:rgba(218,44,46,.09)}
.status-btn.st-rejected.is-active{background:var(--danger-soft);color:#fff;border-color:rgba(218,44,46,.6);box-shadow:0 2px 10px rgba(218,44,46,.22);font-weight:700}
.status-btn.st-rejected.is-active .status-icon{color:#ff8f91;opacity:1}
.status-btn.st-waitlist:hover:not(.is-active){border-color:rgba(168,85,247,.45);color:#c084fc;background:rgba(168,85,247,.09)}
.status-btn.st-waitlist.is-active{background:rgba(168,85,247,.25);color:#fff;border-color:rgba(168,85,247,.6);box-shadow:0 2px 10px rgba(168,85,247,.22);font-weight:700}
.status-btn.st-waitlist.is-active .status-icon{color:#c084fc;opacity:1}
.form-quota-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);font-size:.85rem;font-weight:600;color:#e4e4e7;margin-bottom:12px}
.quota-dot{width:8px;height:8px;border-radius:50%;background:#4ade80}
.quota-dot.danger{background:#f43f5e;box-shadow:0 0 8px #f43f5e}
.thank-you-social{margin-top:24px;padding:20px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);text-align:center}
.thank-you-social h3{font-size:1.05rem;margin-bottom:6px}
.social-buttons-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
.social-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;font-size:.85rem;font-weight:600;text-decoration:none;transition:all .18s var(--ease);border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#fff}
.social-btn:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.08)}
.social-btn-instagram:hover{border-color:#E1306C;box-shadow:0 4px 14px rgba(225,48,108,.25)}
.social-btn-linkedin:hover{border-color:#0A66C2;box-shadow:0 4px 14px rgba(10,102,194,.25)}
.social-btn-youtube:hover{border-color:#FF0000;box-shadow:0 4px 14px rgba(255,0,0,.25)}
.social-btn-whatsapp:hover{border-color:#25D366;box-shadow:0 4px 14px rgba(37,211,102,.25)}
.public-form-social{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:16px 0;margin-top:10px}
.public-social-link{font-size:.82rem;font-weight:600;color:var(--muted);text-decoration:none;padding:4px 8px;border-radius:8px;transition:color .18s}
.public-social-link:hover{color:#fff;background:rgba(255,255,255,.05)}
.bulk-toolbar{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:1000;width:min(calc(100% - 24px),500px);padding:12px 16px;border-radius:18px;background:rgba(18,18,22,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1.5px solid rgba(244,159,32,.5);box-shadow:0 16px 48px rgba(0,0,0,.75),0 0 24px rgba(244,159,32,.2);display:flex;flex-direction:column;gap:10px;animation:bulkPopupIn .22s cubic-bezier(.16,1,.3,1)}
@keyframes bulkPopupIn{from{opacity:0;transform:translate(-50%,-14px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.bulk-toolbar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.bulk-select-all-label{display:inline-flex;align-items:center;gap:8px;font-size:.86rem;font-weight:600;color:var(--text);cursor:pointer;user-select:none;margin:0}
.bulk-select-all-check,.rcard-select-checkbox{width:18px;height:18px;accent-color:var(--primary);cursor:pointer;margin:0;border-radius:4px}
.bulk-top-actions{display:inline-flex;align-items:center;gap:8px}
.bulk-selected-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:99px;background:var(--primary-soft);color:var(--primary);border:1px solid rgba(244,159,32,.35);font-size:.8rem;font-weight:700}
.bulk-toolbar-statuses{width:100%}
.bulk-status-btns{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%}
.bulk-status-btns .status-btn{min-height:38px;padding:6px 12px;font-size:.82rem}
.rcard-header-left{display:inline-flex;align-items:center;gap:10px}
.rcard.is-selected{border-color:rgba(244,159,32,.55);box-shadow:0 0 0 1px rgba(244,159,32,.3),0 8px 24px rgba(0,0,0,.35);background:linear-gradient(135deg,#221f1c,#141313)}
.response-summary-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
dl.response-details{display:block}
.response-detail-item{padding:16px 0;border-bottom:1px solid var(--border)}
.response-detail-item:first-child{padding-top:0}
.response-detail-item:last-child{border-bottom:0}
.response-detail-item dt{margin-bottom:8px;color:var(--muted);font-size:.82rem}
.response-detail-item dd{line-height:1.7;font-size:.95rem}
.response-detail-item .social-fields{gap:10px}
.question-picker-dialog .question-type-option{background:rgba(255,255,255,.02);padding:16px;gap:12px;border-radius:14px}
.question-picker-dialog .question-type-option:has(input:checked){background:var(--primary-soft);border-color:var(--primary)}
.question-picker-dialog .question-type-group legend{color:var(--muted);font-size:.8rem}
.state{max-width:100%;line-height:1.7}
.state h1,.state h2{text-wrap:balance;line-height:1.3}
.state .big{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 20px;border-radius:24px;background:rgba(255,255,255,.04);font-size:2.4rem}
.state p{max-width:50ch;margin-left:auto!important;margin-right:auto!important}
.file-input::file-selector-button:hover{background:rgba(244,159,32,.24)}
.file-selection-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}
.file-selection-meta>p{margin-top:0!important;overflow-wrap:anywhere;min-width:0;flex:1}
.file-selection-meta .btn[hidden]{display:none!important}
.question-type-option>.ico{color:var(--primary)}
@media(max-width:600px){
  .management-create{padding:20px 16px}
  .management-create>.btn{width:100%;border-radius:12px}
  .management-page .toolbar{padding:12px;grid-template-columns:1fr}
  .log-card{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:16px}
  .log-icon{width:36px;height:36px}
  .log-time{grid-column:2;font-size:.75rem}
  .user-card,.rcard{padding:16px;gap:12px;border-radius:18px}
  .rcard>.row.sb.rcard-header{align-items:center;gap:8px}
  .rcard>.row.sb>.small{font-size:.74rem}
  .rcard h3{font-size:1.08rem;margin:2px 0 0}
  .rcard .meta{font-size:.82rem;line-height:1.55}
  .rcard .status-btn-group{gap:6px;margin:2px 0 0}
  .rcard .status-btn{min-height:36px;font-size:.77rem;padding:5px 6px;gap:5px;border-radius:10px}
  .rcard .actions{padding-top:10px;gap:8px}
  .rcard .actions .btn{min-height:40px;font-size:.82rem;border-radius:10px}
  .status-btn-group.modal-status-group{grid-template-columns:repeat(2,1fr)}
  .status-btn{font-size:.78rem;padding:7px 8px;gap:5px}
  .bulk-toolbar{top:10px;width:calc(100% - 20px);padding:10px 14px;gap:8px;border-radius:16px}
  .bulk-toolbar-top{width:100%;display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
  .bulk-select-all-label{font-size:.8rem;gap:6px}
  .bulk-select-all-check{width:17px;height:17px}
  .bulk-top-actions{display:inline-flex;align-items:center;gap:6px}
  .bulk-selected-badge{font-size:.72rem;padding:2px 7px}
  .bulk-top-actions .btn{min-height:28px;padding:4px 8px;font-size:.74rem;border-radius:8px;gap:4px}
  .bulk-top-actions .btn .ico{width:13px;height:13px}
  .bulk-toolbar-statuses{width:100%}
  .bulk-status-btns{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;width:100%}
  .bulk-status-btns .status-btn{min-height:35px;padding:5px 6px;font-size:.76rem;gap:4px;border-radius:9px}
  .bulk-status-btns .status-btn .status-icon{font-size:.82em}
  .dlg-f .btn{flex:1;border-radius:12px;font-size:.85rem;padding:10px 12px}
  .response-detail-item dd{font-size:.9rem}
  .social-editor-row{gap:8px}
  .social-editor-row>.switch{min-height:44px}
  .social-editor-row .input{font-size:.9rem}
}
.public-form{--r:22px;display:flex;flex-direction:column;gap:18px}
.public-cover{overflow:hidden;border:1px solid var(--glass-border);border-radius:22px;background:var(--surface)}
.public-cover img,.cover-preview img{display:block;width:100%;aspect-ratio:16/6;object-fit:cover}
.cover-preview:empty{display:none}
.cover-preview{overflow:hidden;border-radius:14px;margin-bottom:14px}
.cover-editor .btn[hidden]{display:none!important}
@media(max-width:520px){.public-cover{border-radius:18px}.public-cover img{aspect-ratio:16/8}}
.addition-check{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px}
.addition-check h2{font-size:1rem;line-height:1.5;margin-bottom:4px}
.addition-controls{display:flex;align-items:center;gap:8px}
.addition-label{display:flex;align-items:center;gap:12px}
.addition-prompt{font-weight:600;font-size:1.1rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.public-form .addition-answer{width:90px;text-align:center}
.addition-check>.err{width:100%;margin-top:0}
@media(max-width:520px){.addition-check{padding:18px 16px}.addition-controls{width:100%;justify-content:space-between}.addition-label{flex:1;justify-content:space-between}}
.public-form.stack>*+*{margin-top:0}
.public-form .formhead{padding:32px;background:linear-gradient(140deg,rgba(30,25,20,.98),rgba(18,18,20,.98))}
.public-form .formhead::before{height:3px}
.public-form-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:.78rem;font-weight:600;margin-bottom:18px}
.public-form-meta>span:first-child{color:var(--primary)}
.public-form .formhead h1{line-height:1.2;text-wrap:balance;font-size:clamp(1.6rem,4vw,2.4rem)}
.public-form .formhead p{line-height:1.7}
.public-form .public-question{padding:28px;background:linear-gradient(135deg,rgba(24,24,27,.97),rgba(16,16,18,.97));border-color:rgba(255,255,255,.085);box-shadow:0 6px 22px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.025)}
.public-form .public-question:focus-within{border-color:rgba(244,159,32,.35)}
.public-question-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.public-question-number{font-size:.78rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--primary);padding-top:4px;flex:none;min-width:22px}
.public-question-heading>.lbl{margin:0;font-size:1.05rem;line-height:1.5;min-width:0;flex:1;gap:8px}
.public-form .tag{font-size:.7rem;padding:3px 0;letter-spacing:0;text-transform:none;font-weight:500;border:0;border-radius:0;background:transparent;color:#bdbdc4;margin-left:auto}
.public-form .tag:not(.opt){color:#e6af6b}
.public-question .help{margin:0 0 14px;font-size:.86rem;line-height:1.65}
.public-question-hint{font-size:.8rem;color:var(--muted);margin:-4px 0 12px}
.public-form .input{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.025);border-radius:12px}
.public-form .input:focus{border-color:var(--primary);background:rgba(255,255,255,.035)}
.public-form .input.is-valid{border-color:rgba(74,222,128,.55)}
.public-form .input[aria-invalid="true"]{border-color:var(--danger);background:rgba(218,44,46,.04)}
.public-form .input[aria-invalid="true"]:focus{box-shadow:0 0 0 3px var(--accent-soft)}
.public-form .input::placeholder{color:#82828c;font-size:.9rem}
.public-form .phone .input{border-radius:0 12px 12px 0}
.public-form .phone .pre{border-radius:12px 0 0 12px;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.045)}
.public-form .choice{padding:14px;gap:12px;background:rgba(255,255,255,.02);border-color:rgba(255,255,255,.12);font-size:.95rem}
.public-form .choice:has(input:checked){border-color:var(--primary);background:var(--primary-soft)}
.public-form .social-field{padding:16px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.015)}
.public-form .social-field .lbl{font-size:.9rem;gap:8px}
.public-form .file-input{padding:16px;border-style:dashed;min-height:88px;cursor:pointer}
.public-form .file-input::file-selector-button{margin-bottom:4px}
.public-form .public-consent{padding:20px;background:var(--surface)}
.public-form .public-consent .choice{border:0;padding:0;background:transparent;align-items:flex-start;line-height:1.6}
.public-consent .choice input{margin-top:3px}
.consent-read-link{display:inline;padding:0;margin:0;border:0;background:transparent;color:var(--primary);text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:600;cursor:pointer;transition:color .18s var(--ease)}
.consent-read-link:hover{color:#fff}
.consent-modal-body{line-height:1.65;font-size:.95rem;color:#d1d1d6}
.consent-modal-list{padding-left:20px;display:flex;flex-direction:column;gap:12px;margin:12px 0}
.consent-modal-list strong{color:#fff}
.public-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 4px;margin-top:8px!important}
.public-submit>.btn{min-height:50px;border-radius:14px}
.public-form .social-fields{gap:12px}
@media(max-width:520px){
  .public-form{gap:14px}
  .public-form .formhead{padding:24px 20px}
  .public-form .public-question{padding:20px 16px;border-radius:18px}
  .public-question-heading{gap:10px;margin-bottom:14px}
  .public-question-heading>.lbl{font-size:.98rem}
  .public-form .social-field{padding:12px}
  .public-form .choice{padding:12px;font-size:.9rem}
  .public-form .file-input{padding:12px;font-size:.84rem}
  .public-submit{flex-direction:column;align-items:stretch;gap:12px;padding:12px 0}
  .public-submit>.btn{width:100%}
  .public-submit>p{text-align:center;font-size:.78rem}
}
.social-fields{display:grid;gap:16px}
.social-icon{width:22px;height:22px;color:var(--primary)}
.social-field{display:block}
.social-editor-fields{display:grid;gap:10px}
.social-editor-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border:1px solid var(--border);border-radius:12px}
.social-editor-row>.input{width:160px;flex:1;min-width:100px}
.social-editor-row>.switch{margin-left:auto;font-size:.82rem}
.social-editor-row.drop-before{box-shadow:0 -3px 0 var(--primary)}
.social-add-row{display:flex;gap:10px;align-items:center}
.social-add-row>.input{flex:1;min-width:0}
.social-add-row>.btn{flex:none}
.file-input{padding:10px}
.file-input::file-selector-button{border:0;border-radius:8px;padding:10px 14px;margin-right:12px;background:var(--primary-soft);color:var(--primary);font:inherit;font-weight:600;cursor:pointer}
.other-answer{margin-top:10px}
.other-answer[hidden]{display:none!important}
.optrow{align-items:center}
.optrow .input{min-width:0;flex:1}
.optrow.is-dragging{opacity:.5}
.optrow.drop-before{box-shadow:0 -3px 0 var(--primary)}
.optrow.drop-after{box-shadow:0 3px 0 var(--primary)}
.option-add-actions .btn[disabled]{pointer-events:none}
.editor-tabs{display:flex;gap:6px;padding:6px;margin-top:22px;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.editor-tab{flex:1;min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-weight:600;cursor:pointer}
.editor-tab[aria-selected="true"]{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px rgba(244,159,32,.25)}
.editor-tab:hover{color:var(--text)}
.editor-tab-label-mobile{display:none}
.response-tab-heading{padding:4px 0 18px}
.editor-save-bar[hidden],.editor-save-bar [hidden]{display:none!important}
.response-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.response-controls .response-tab-heading{padding:0}
.response-controls>div:first-child{min-width:0}
@media(max-width:520px){
  .editor-save-bar{padding:14px;gap:12px;border-radius:18px}
  .editor-save-status{width:100%;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid var(--border)}
  .editor-save-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .editor-save-actions .btn{min-height:44px;padding:10px 8px;font-size:.82rem;border-radius:12px}
  .editor-save-actions .btn.primary{grid-column:1/-1}
  .response-controls{display:grid;grid-template-columns:minmax(0,1fr);padding:14px;gap:12px;border-radius:18px}
  .response-controls>div{width:100%;min-width:0}
  .response-controls h1{font-size:1.35rem!important;line-height:1.25;margin-top:4px!important}
  .response-controls .response-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .response-controls .btn{min-height:42px;border-radius:12px;padding:8px 10px;font-size:.8rem;width:100%;gap:6px}
  .response-controls .response-export-actions .btn{min-height:42px;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:8px 8px;font-size:.76rem;line-height:1.2;text-align:center}
  .response-controls .response-export-actions .btn .ico{width:15px;height:15px;flex:none}
  .response-controls>div:last-child .btn{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.13);min-height:42px;font-size:.84rem}
  .response-controls .response-tab-heading{width:100%}
}
.response-filter-menu{border:1px solid var(--border-strong);border-radius:14px;background:var(--surface);margin-top:8px}
.response-filter-menu>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 16px;cursor:pointer;font-weight:600;list-style:none}
.response-filter-menu>summary::-webkit-details-marker{display:none}
.response-filter-menu>summary::after{content:'▾';color:var(--muted)}
.response-filter-menu[open]>summary::after{transform:rotate(180deg)}
.response-filter-options{padding:16px;border-top:1px solid var(--border)}
.chips[hidden]{display:none}
@media(max-width:520px){
  .editor-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border-radius:14px;margin-top:18px}
  .editor-tab{min-width:0;min-height:46px;padding:10px 6px;font-size:.84rem;line-height:1.4;white-space:nowrap}
  .editor-tab-label-desktop{display:none}
  .editor-tab-label-mobile{display:inline}
  .response-tab-heading .btn{width:100%}
}
[id^="editor-panel-"][hidden]{display:none!important}
#qbox>.qcard[hidden]{display:none!important}
@media(max-width:520px){.editor-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-tab{font-size:.75rem;padding:10px 4px}}
@media(max-width:520px){.question-type-grid{grid-template-columns:1fr}.qcard .qhead{align-items:flex-start}.qcard .qacts{gap:2px}}
@media(max-width:520px){
  .qcard{padding:16px;margin-top:14px;gap:16px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:linear-gradient(145deg,rgba(26,26,29,.96),rgba(16,16,18,.96));box-shadow:0 8px 24px rgba(0,0,0,.2)}
  .qcard:focus-within{border-color:rgba(244,159,32,.45);box-shadow:0 0 0 1px rgba(244,159,32,.08)}
  .qcard .qhead{display:grid;grid-template-columns:1fr;gap:10px;padding-bottom:12px;border-bottom-color:rgba(255,255,255,.07)}
  .qcard .qhead>.row{gap:10px;flex-wrap:nowrap;min-width:0}
  .qcard .qtype{font-size:.95rem;line-height:1.4;overflow-wrap:anywhere}
  .qcard .qdrag{width:44px;height:44px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08);border-radius:12px;color:#aaa}
  .qcard .question-header-actions{width:100%;margin-left:0;justify-content:space-between;gap:6px}
  .qcard .question-required{font-size:.76rem;gap:7px;min-height:44px}
  .qcard .question-required input{width:18px;height:18px;margin:0}
  .qcard .qacts{gap:2px;margin-left:auto;flex-wrap:nowrap}
  .qcard .qacts .btn.icon{width:44px;min-width:44px;min-height:44px;border-radius:12px;border-color:transparent;background:rgba(255,255,255,.035)}
  .qcard .qacts .btn.danger{background:rgba(218,44,46,.1)}
  .qcard .qacts .btn:disabled{background:transparent;opacity:.3}
  .qcard .lbl{font-size:.82rem;margin-bottom:7px;color:#d4d4d4;font-weight:500}
  .qcard .input{border-radius:12px;border-color:rgba(255,255,255,.12);background:rgba(0,0,0,.18);min-height:48px;padding:12px;font-size:.94rem}
  .qcard .input:focus{border-color:var(--primary)}
  .qcard>.small.muted{font-size:.77rem;line-height:1.65;color:#a6a6ad}
}
@media(max-width:380px){.qcard .question-header-actions:has(.qacts>.btn:nth-child(4)) .question-required{width:100%}}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .fcard:hover,
  .uni-tile:hover,
  .btn:active {
    transform: none;
  }
}
/* Geri Bildirim Merkezi */
.feedback-page{padding-top:40px;padding-bottom:60px}
.user-view-switch{display:flex;gap:6px;flex-shrink:0}
.user-matrix-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.user-matrix{border-collapse:collapse;width:100%;font-size:14px}
.user-matrix caption{text-align:left;padding:16px;color:var(--muted)}
.user-matrix th,.user-matrix td{padding:16px;border-top:1px solid var(--border);text-align:left;vertical-align:middle;min-width:110px}
.user-matrix thead th{background:var(--surface2);font-size:12px}
.user-matrix tbody th{position:sticky;left:0;background:var(--surface);z-index:1;min-width:150px}
.user-matrix td.user-matrix-permission{text-align:center}
.user-matrix-permission input{width:22px;height:22px;accent-color:var(--primary);cursor:pointer}
.user-matrix-permission input:disabled{cursor:default}
.user-matrix .permission-yes{color:var(--success);font-size:20px;font-weight:700}
.user-matrix .permission-no{color:var(--muted);font-size:20px}
.feedback-page:has(.feedback-columns)>h1,.feedback-page:has(.feedback-columns)>p{text-align:center;max-width:820px;margin-left:auto;margin-right:auto}
.feedback-columns{display:grid;grid-template-columns:minmax(0,1fr);max-width:820px;margin:28px auto 0}
.feedback-form{display:grid;gap:18px;padding:24px}
.feedback-form.feedback-success{text-align:center;justify-items:center;gap:18px;padding:44px 28px;border-color:rgba(74,222,128,.22);background:linear-gradient(180deg,rgba(74,222,128,.04),transparent 65%),var(--surface)}
.feedback-success-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.25);color:var(--success);font-size:30px;font-weight:700}
.feedback-success h2{margin:4px 0 0;font-size:clamp(24px,4vw,30px)}
.feedback-success p{max-width:480px;margin:0;line-height:1.7}
.feedback-success .btn{margin-top:8px}
@media(max-width:760px){.feedback-form.feedback-success{padding:32px 20px}}
.feedback-field{display:grid;gap:8px;min-width:0}
.feedback-field label{font-weight:600}
.feedback-field[hidden]{display:none}
.feedback-person-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.feedback-person-fields[hidden]{display:none}
@media(max-width:540px){.feedback-person-fields{grid-template-columns:1fr}}
.feedback-consent{display:flex;gap:10px;align-items:start}
.feedback-text{white-space:pre-wrap;overflow-wrap:anywhere}
.feedback-form code{overflow-wrap:anywhere}
.feedback-list{display:grid;gap:16px;margin-top:24px}
.feedback-list details{padding:24px}
.feedback-list summary{cursor:pointer;font-weight:600;overflow-wrap:anywhere}
.feedback-admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.feedback-admin-heading h1{margin:8px 0}
.feedback-admin .feedback-filters{padding:20px;gap:16px}
.feedback-admin .feedback-record{padding:0;overflow:hidden}
.feedback-record-summary{display:flex;align-items:center;gap:16px;padding:22px 24px;list-style:none}
.feedback-record-summary::-webkit-details-marker{display:none}
.feedback-summary-copy{flex:1;min-width:0}
.feedback-summary-copy h2{font-size:18px;margin:0 0 6px}
.feedback-summary-copy p{margin:0;font-weight:400}
.feedback-record-badges{display:flex;gap:8px;flex-wrap:wrap}
.feedback-status-received{color:var(--primary);background:var(--primary-soft)}
.feedback-status-resolved{color:var(--success);background:rgba(74,222,128,.1)}
.feedback-status-rejected{color:var(--danger);background:var(--danger-soft)}
.feedback-chevron{display:flex;color:var(--muted)}
.feedback-record[open] .feedback-chevron{transform:rotate(180deg)}
.feedback-record-id{padding:0 24px 18px;overflow-wrap:anywhere}
.feedback-record-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);border-top:1px solid var(--border)}
.feedback-record-info{padding:24px;min-width:0}
.feedback-record-body h3{font-size:16px;margin:0 0 20px}
.feedback-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 24px}
.feedback-meta dt{color:var(--muted);font-size:12px;margin-bottom:5px}
.feedback-meta dd{margin:0;overflow-wrap:anywhere;font-size:14px}
.feedback-message{background:var(--surface2);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.feedback-message h4{font-size:12px;color:var(--muted);margin:0 0 8px}
.feedback-message p{margin:0;line-height:1.7}
.feedback-editor{border-left:1px solid var(--border);align-content:start;background:var(--bg-soft);gap:16px}
.feedback-editor h3{margin:0}
.feedback-editor textarea{min-height:110px;resize:vertical}
.feedback-editor-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.feedback-save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:16px}
.feedback-save-bar p{margin:0}
.feedback-history{margin-top:28px}
.feedback-history-entry{border-left:2px solid var(--primary);padding:0 0 4px 14px;margin-bottom:18px}
.feedback-history-entry p{margin:6px 0}
dialog.dlg.feedback-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:90dvh}
.feedback-dialog .dlg-h{padding:20px 24px}
.feedback-dialog .dlg-h h2{font-size:22px;overflow-wrap:anywhere}
.feedback-dialog .dlg-b{padding:0;max-height:calc(90dvh - 86px);overflow:auto}
.feedback-popup-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 24px;background:var(--surface2)}
.feedback-popup-meta p{margin:0}
.feedback-popup-id{margin-left:auto!important;overflow-wrap:anywhere}
.feedback-dialog .feedback-record-body{border-top:1px solid var(--border)}
.feedback-dialog .feedback-save-bar{position:sticky;bottom:0;background:var(--bg-soft);padding-bottom:4px}
@media(max-width:760px){dialog.dlg.feedback-dialog{width:calc(100vw - 16px);max-height:94dvh}.feedback-dialog .dlg-h{padding:16px}.feedback-dialog .dlg-h h2{font-size:18px}.feedback-dialog .dlg-b{max-height:calc(94dvh - 78px)}.feedback-popup-meta{padding:16px}.feedback-popup-id{width:100%;margin-left:0!important}.feedback-record-summary>.btn{margin-left:auto}}
@media(max-width:760px){.feedback-admin-heading{align-items:start;flex-direction:column;gap:8px}.feedback-record-summary{flex-wrap:wrap;padding:18px}.feedback-record-badges{order:3;width:100%}.feedback-record-body{grid-template-columns:1fr}.feedback-editor{border-left:0;border-top:1px solid var(--border)}.feedback-editor-settings{grid-template-columns:1fr}.feedback-record-info{padding:18px}}
.feedback-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
@media(max-width:760px){.feedback-columns,.feedback-filters{grid-template-columns:1fr}.feedback-form{padding:18px}}
