/* Soft mobile-app layer — React-like polish on PHP */

:root {
  --bg: #e8f1ef;
  --bg-elevated: #f5faf8;
  --surface: #ffffff;
  --text: #163038;
  --muted: #6a838c;
  --brand-deep: #0d5c54;
  --accent: #1a9a82;
  --glow: #3ec9a8;
  --sand: #d9ebe6;
  --border: rgba(13, 92, 84, 0.08);
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 10px 14px 32px rgba(12, 60, 55, 0.07);
  --shadow-lg: 14px 22px 48px rgba(12, 60, 55, 0.1);
  --soft-inset: inset 4px 4px 12px rgba(12, 60, 55, 0.04), inset -4px -4px 12px rgba(255, 255, 255, 0.7);
  --scroll-size: 8px;
  --scroll-track: transparent;
  --scroll-thumb: color-mix(in srgb, var(--brand-deep, #0d5c54) 28%, transparent);
  --scroll-thumb-hover: color-mix(in srgb, var(--brand-deep, #0d5c54) 48%, transparent);
}

.dark {
  --bg: #0b1418;
  --bg-elevated: #121e24;
  --surface: #16252c;
  --text: #e6f3f0;
  --muted: #8ea8b0;
  --brand-deep: #3ec9a8;
  --accent: #3ec9a8;
  --glow: #6ee0c4;
  --sand: #1a2d34;
  --border: rgba(110, 224, 196, 0.1);
  --shadow: 10px 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 16px 24px 50px rgba(0, 0, 0, 0.45);
  --soft-inset: inset 3px 3px 10px rgba(0, 0, 0, 0.25), inset -3px -3px 10px rgba(255, 255, 255, 0.03);
  --scroll-track: transparent;
  --scroll-thumb: color-mix(in srgb, var(--glow, #6ee0c4) 32%, transparent);
  --scroll-thumb-hover: color-mix(in srgb, var(--glow, #6ee0c4) 55%, transparent);
}

/* —— Soft scrollbars (site-wide) —— */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
*::-webkit-scrollbar {
  width: var(--scroll-size);
  height: var(--scroll-size);
}
*::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  min-height: 2rem;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}

.hb-scroll,
.admin-side-nav,
.app-side,
.admin-main,
.soft-app .app-main {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px) {
  :root {
    --scroll-size: 5px;
  }
  *::-webkit-scrollbar-thumb {
    border-width: 1px;
  }
}

body {
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(62, 201, 168, 0.16), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(13, 92, 84, 0.08), transparent 50%),
    var(--bg);
}

.btn {
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(13, 92, 84, 0.18);
  background: linear-gradient(145deg, #127064, #0d5c54);
}
.btn-ghost {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* —— Soft landing chrome —— */
.site-header {
  background: transparent;
  border-bottom: 0;
  padding: 0.65rem 0 0;
}
.site-header .nav {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.35rem;
}
.nav-mobile {
  margin-top: 0.55rem;
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.55rem;
}
.nav-mobile.open { display: flex; }

/* Soft home */
.soft-home { padding-bottom: 2rem; }
.soft-hero {
  margin: 0.75rem auto 1.25rem;
  width: min(1080px, calc(100% - 1.5rem));
  border-radius: 32px;
  padding: 1.75rem 1.35rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.28), transparent 32%),
    linear-gradient(155deg, #0a524b 0%, #0f6b60 45%, #15967c 100%);
  box-shadow: var(--shadow-lg);
  min-height: min(52dvh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
@media (min-width: 720px) {
  .soft-hero { min-height: min(58dvh, 520px); padding: 2.25rem 2rem 1.85rem; }
}
.soft-hero::after {
  content: "";
  position: absolute; right: -10%; top: -20%;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  /* no transform animation — keeps hero text crisp */
}
.soft-hero > * { position: relative; z-index: 1; }
.soft-hero.rise {
  animation: none;
  opacity: 1;
  transform: none;
}
.soft-kicker {
  display: inline-flex; align-self: flex-start;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: .03em;
  margin-bottom: 0.85rem;
}
.soft-hero h1 {
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  color: #fff; margin: 0 0 0.55rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.soft-hero p {
  margin: 0; max-width: 28rem;
  color: #ecfdf8;
  font-weight: 600; font-size: 1.02rem;
  line-height: 1.45;
}
.soft-hero .hero-actions { margin-top: 1.35rem; }
.soft-hero .btn {
  background: #fff; color: #0d5c54;
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}
.soft-hero .btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff; border-color: rgba(255,255,255,.22);
  box-shadow: none;
}

.soft-section {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto 1.35rem;
}
.soft-section h2 {
  font-size: 1.35rem; margin: 0 0 0.35rem;
}
.soft-section .lead {
  color: var(--muted); margin: 0 0 1rem; font-weight: 600; font-size: 0.95rem;
}

.soft-home .home-sec-title {
  text-align: center;
  font-size: clamp(1.2rem, 3.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hb-text, var(--text));
  margin: 0 0 1rem;
}

.soft-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.15rem;
}

.soft-steps {
  display: grid; gap: 0.75rem;
}
@media (min-width: 800px) {
  .soft-steps { grid-template-columns: repeat(3, 1fr); }
}
.soft-step {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.1rem 1.2rem;
  transition: transform .2s ease;
}
.soft-step:active { transform: scale(0.985); }
.soft-step .n {
  width: 2.1rem; height: 2.1rem; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: color-mix(in srgb, var(--glow) 22%, var(--surface));
  color: var(--brand-deep);
  margin-bottom: 0.7rem;
}
.soft-step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.soft-step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.soft-tools {
  display: grid; gap: 0.75rem;
}
@media (min-width: 720px) {
  .soft-tools { grid-template-columns: 1.15fr 1fr; }
  .soft-tools .big { grid-row: span 2; min-height: 260px; }
}
.soft-tool {
  border-radius: 24px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 130px;
}
.soft-tool.big {
  background: linear-gradient(160deg, #0d5c54, #1a9a82);
  color: #fff; border: 0;
}
.soft-tool.big p { color: rgba(255,255,255,.85); }
.soft-tool h3 { margin: 0.4rem 0 0.3rem; font-size: 1.15rem; }
.soft-tool p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.soft-exams {
  display: grid; gap: 0.8rem;
}
@media (min-width: 640px) {
  .soft-exams { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .soft-exams { grid-template-columns: repeat(3, 1fr); }
}
a.soft-exam {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
a.soft-exam:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.soft-exam-top {
  padding: 1.2rem 1.15rem 1rem;
  min-height: 108px;
  color: #fff;
  background: linear-gradient(135deg, #0d5c54, #17967f);
}
.soft-exam:nth-child(2) .soft-exam-top { background: linear-gradient(135deg, #0a4a55, #1a9a82); }
.soft-exam:nth-child(3) .soft-exam-top { background: linear-gradient(135deg, #0c3f48, #127064); }
.soft-exam:nth-child(4) .soft-exam-top { background: linear-gradient(135deg, #0b554c, #2cbc9b); }
.soft-exam-top .chip {
  background: rgba(255,255,255,.16); color: #fff; margin-bottom: 0.45rem;
}
.soft-exam-top h3 { color: #fff; font-size: 1.25rem; }
.soft-exam-body { padding: 0.95rem 1.15rem 1.1rem; }
.soft-exam-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.soft-exam-cta {
  margin-top: 0.75rem; font-weight: 800; font-size: 0.86rem; color: var(--accent);
}

.soft-install {
  display: none;
  align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.soft-install.show { display: flex; }

.site-footer {
  border-top: 0;
  margin-top: 2.5rem;
  padding: 0 0 calc(1.5rem + var(--safe-b, 0px));
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .hb-footer-shell {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--glow, #2dd4bf) 8%, var(--surface, #fff)), var(--surface, #fff));
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 18%, var(--border));
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.55rem 1.45rem 1.15rem;
  overflow: hidden;
  position: relative;
}
.site-footer .hb-footer-shell::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, #2dd4bf) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.hb-footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .hb-footer-top {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}
.hb-footer-brand p {
  margin: 0.55rem 0 1rem;
  max-width: 28ch;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.95rem;
}
.hb-footer-logo {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-deep, #0d5c54);
  text-decoration: none;
}
.hb-footer-logo:hover {
  color: color-mix(in srgb, var(--brand-deep, #0d5c54) 80%, black);
}
.hb-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-deep, #0d5c54), #127064);
  color: #f3faf8 !important;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.88rem;
  box-shadow: 0 10px 22px rgba(13, 92, 84, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hb-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 92, 84, 0.28);
}
.hb-footer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep, #0d5c54);
  margin-bottom: 0.7rem;
}
.hb-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.hb-footer-col a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.hb-footer-col ul a:hover {
  color: var(--brand-deep, #0d5c54);
  transform: translateX(2px);
}
.hb-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
a.hb-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 18%, var(--border));
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 1px 0 rgba(8, 30, 28, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.hb-footer-social-link.is-icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  justify-content: center;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 12%, #fff);
  color: var(--brand-deep, #0d5c54);
}
a.hb-footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 30, 28, 0.08);
}
.hb-footer-social-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 16%, #fff);
  color: var(--brand-deep, #0d5c54);
}
.hb-footer-social-ico svg {
  width: 18px;
  height: 18px;
  display: block;
  shape-rendering: geometricPrecision;
}
a.hb-footer-social-link.is-icon-only .hb-footer-social-ico {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  background: transparent;
  color: inherit;
}
a.hb-footer-social-link.is-icon-only .hb-footer-social-ico svg {
  width: 22px;
  height: 22px;
}
.hb-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}
.hb-footer-credit {
  color: var(--brand-deep, #0d5c54);
  text-decoration: none;
  font-weight: 750;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  line-height: 1.2;
  text-align: right;
}
.hb-footer-credit-brand {
  display: inline-block;
}
.hb-footer-credit-note {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--muted);
  opacity: 0.92;
}
.hb-footer-credit em {
  font-style: italic;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
}
.hb-footer-credit:hover {
  text-decoration: none;
}
.hb-footer-credit:hover .hb-footer-credit-brand {
  text-decoration: underline;
}

html.dark .site-footer .hb-footer-shell {
  background: linear-gradient(165deg, rgba(45, 212, 191, 0.07), var(--surface, #141c21));
  border-color: rgba(45, 212, 191, 0.16);
}
html.dark .hb-footer-logo {
  color: var(--glow, #2dd4bf);
}
html.dark .hb-footer-label {
  color: #5eead4;
}
html.dark .hb-footer-col a {
  color: var(--text);
}
html.dark .hb-footer-col ul a:hover {
  color: #5eead4;
}
html.dark a.hb-footer-social-link {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.18);
  color: var(--text);
}
html.dark a.hb-footer-social-link.is-icon-only {
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.18);
}
html.dark .hb-footer-social-ico {
  background: rgba(45, 212, 191, 0.14);
  color: #5eead4;
}
html.dark a.hb-footer-social-link.is-icon-only .hb-footer-social-ico {
  background: transparent;
  color: inherit;
}
html.dark .hb-footer-credit {
  color: #5eead4;
}
html.dark .hb-footer-credit-note {
  color: var(--muted, #94b7be);
  opacity: 0.88;
}
html.dark .hb-footer-bottom {
  border-top-color: rgba(148, 183, 190, 0.12);
}

@media (max-width: 560px) {
  .site-footer .hb-footer-shell {
    padding: 1.25rem 1.1rem 1rem;
    border-radius: 24px;
  }
  .hb-footer-brand p {
    max-width: none;
  }
}

/* —— Soft admin —— */
.soft-admin {
  background:
    radial-gradient(800px 380px at 0% 0%, rgba(62, 201, 168, 0.14), transparent 55%),
    radial-gradient(600px 320px at 100% 0%, rgba(13, 92, 84, 0.07), transparent 50%),
    var(--bg);
  min-height: 100dvh;
}
.soft-admin .admin-backdrop {
  background: rgba(12, 48, 44, 0.28) !important;
  backdrop-filter: blur(8px) saturate(1.2);
}
.soft-admin .admin-side {
  background: linear-gradient(180deg, #f8fcfb 0%, #eef6f3 100%) !important;
  border-right: 1px solid var(--border) !important;
  box-shadow: 18px 0 48px rgba(12, 60, 55, 0.1) !important;
  color: var(--text);
}
.soft-admin .admin-side .brand {
  color: var(--brand-deep) !important;
  font-size: 1.15rem;
}
.soft-admin .admin-badge {
  background: color-mix(in srgb, var(--glow) 24%, white) !important;
  color: var(--brand-deep) !important;
}
.soft-admin .admin-close {
  border-color: var(--border) !important;
  color: var(--text) !important;
  background: var(--surface) !important;
  border-radius: 12px !important;
}
.soft-admin .admin-side-nav a {
  color: var(--text) !important;
  border-radius: 14px !important;
  font-weight: 700;
}
.soft-admin .admin-side-nav a.active,
.soft-admin .admin-side-nav a:hover {
  background: color-mix(in srgb, var(--glow) 20%, white) !important;
  color: var(--brand-deep) !important;
}
.soft-admin .admin-side .side-foot {
  border-top-color: var(--border) !important;
}
.soft-admin .admin-side .side-foot a {
  color: var(--muted) !important;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sand) 35%, white);
}
.soft-admin .admin-side-head {
  border-bottom-color: var(--border) !important;
}

.soft-admin .admin-topbar {
  background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
  border-bottom: 0 !important;
  margin: 0.65rem 0.75rem 0;
  border-radius: 20px;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.25);
}
.soft-admin .admin-burger {
  border-radius: 14px !important;
  box-shadow: var(--shadow);
  background: var(--surface) !important;
}
.soft-admin .admin-main {
  padding: 1rem 0.85rem 2.5rem !important;
}
@media (min-width: 640px) {
  .soft-admin .admin-main { padding: 1.25rem 1.25rem 3rem !important; }
}

.soft-admin .kpi,
.soft-admin .admin-card,
.soft-admin .admin-workbench,
.soft-admin .list-card,
.soft-admin .admin-action,
.soft-admin .admin-item-card,
.soft-admin table,
.soft-admin .form,
.soft-admin .panel {
  border-radius: 22px !important;
  box-shadow: var(--shadow) !important;
  border-color: var(--border) !important;
  background: var(--surface) !important;
}
.soft-admin .kpi {
  padding: 1rem 1.05rem !important;
  transition: transform .18s ease;
}
.soft-admin .kpi:active { transform: scale(0.98); }
.soft-admin .kpi strong { color: var(--brand-deep); }
.soft-admin .admin-action {
  background: color-mix(in srgb, var(--sand) 42%, white) !important;
  border-radius: 18px !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.soft-admin .admin-action:active { transform: scale(0.985); }
.soft-admin .work-tabs {
  background: color-mix(in srgb, var(--sand) 48%, white) !important;
}
.soft-admin .type-tabs a {
  border-radius: 999px !important;
  box-shadow: none;
}
.soft-admin .type-tabs a.active {
  background: linear-gradient(145deg, #127064, #0d5c54) !important;
  color: #fff !important;
}
.soft-admin input,
.soft-admin select,
.soft-admin textarea {
  border-radius: 14px !important;
  border-color: var(--border) !important;
  background: var(--bg-elevated) !important;
}
.soft-admin .admin-page-title h1 {
  letter-spacing: -0.03em;
}
.soft-admin .admin-welcome {
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.2), transparent 40%),
    linear-gradient(145deg, #0d5c54, #1a9a82);
  color: #f3fffb;
  border: 0;
  border-radius: 26px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.soft-admin .admin-welcome strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.soft-admin .admin-welcome span {
  opacity: 0.88;
  font-size: 0.9rem;
  font-weight: 600;
}
.soft-admin .admin-welcome .chip {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}

.dark body.soft-admin,
html.dark body.soft-admin {
  background:
    radial-gradient(800px 380px at 0% 0%, rgba(62, 201, 168, 0.08), transparent 55%),
    var(--bg);
}
html.dark .soft-admin .admin-side {
  background: linear-gradient(180deg, #121e24 0%, #0e181d 100%) !important;
}
html.dark .soft-admin .admin-side .brand { color: var(--glow) !important; }
html.dark .soft-admin .admin-side-nav a { color: var(--text) !important; }
html.dark .soft-admin .admin-side-nav a.active,
html.dark .soft-admin .admin-side-nav a:hover {
  background: rgba(62, 201, 168, 0.14) !important;
  color: var(--glow) !important;
}
html.dark .soft-admin .admin-side .side-foot a {
  background: rgba(255,255,255,.04);
  color: var(--muted) !important;
}
html.dark .soft-admin .admin-close {
  background: var(--surface) !important;
  color: var(--text) !important;
}

@media (min-width: 980px) {
  .soft-admin .admin-side {
    background: linear-gradient(180deg, #f8fcfb, #eef6f3) !important;
  }
  html.dark .soft-admin .admin-side {
    background: linear-gradient(180deg, #121e24, #0e181d) !important;
  }
  .soft-admin .admin-content {
    padding-left: 0.25rem;
  }
}

/* Soft app shell */
.soft-app .app-tabs {
  background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
  border-top: 0 !important;
  margin: 0 0.55rem calc(0.35rem + var(--safe-b, 0px));
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding-bottom: 0.45rem !important;
}
.soft-app .app-top {
  background: transparent !important;
  border-bottom: 0 !important;
}
.soft-app .app-top .brand {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}
.soft-app .study-hero,
.study-hero {
  border-radius: 28px !important;
  box-shadow: var(--shadow-lg) !important;
}
.soft-app .exam-panel,
.soft-app .list-card,
.soft-app .stats-card,
.soft-app .deck-shell,
.soft-app .pdf-card {
  border-radius: 22px !important;
  box-shadow: var(--shadow) !important;
  border-color: var(--border) !important;
}
.soft-app .install-banner {
  border-radius: 20px !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
}
.soft-auth .install-banner-auth {
  box-shadow: var(--shadow);
}

/* Soft article teaser (no gradient top) */
a.soft-exam.soft-article .soft-exam-body {
  padding: 1.15rem;
}
a.soft-exam.soft-article h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.soft-yazilar .yazilar-bc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .soft-yazilar .yazilar-topics {
    columns: 1 !important;
  }
}

/* —— Yazılar hub & exam guide —— */
.yz-page {
  padding-bottom: 3rem;
}
.yz-hero {
  position: relative;
  padding: 2.25rem 0 2rem;
  margin-bottom: 0;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(13, 92, 84, 0.14), transparent 50%),
    linear-gradient(180deg, color-mix(in srgb, var(--hb-teal, #0d5c54) 6%, var(--bg, #f6f8f7)) 0%, transparent 100%);
  overflow: hidden;
}
.yz-hero h1 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  margin: 0.35rem 0 0.55rem;
  letter-spacing: -0.02em;
  color: var(--hb-text, #0f172a);
  max-width: 18ch;
}
.yz-hero > .container > p,
.yz-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted, #64748b);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 550;
}
.yz-hero-exam h1 { max-width: 22ch; }
.yz-bc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.yz-bc a {
  color: var(--brand-deep, #0d5c54);
  text-decoration: none;
  font-weight: 650;
}
.yz-bc a:hover { text-decoration: underline; }
.yz-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 1.15rem;
}
.yz-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 16%, white);
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 28%, transparent);
  font-size: 0.82rem;
  color: var(--brand-deep, #0d5c54);
  font-weight: 600;
}
.yz-stats strong {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.05rem;
}
.yz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.yz-btn-ghost {
  background: color-mix(in srgb, white 70%, transparent) !important;
}
.yz-body {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding-top: 1.5rem;
}
.yz-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .yz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .yz-grid { grid-template-columns: repeat(3, 1fr); }
}
.yz-grid-articles { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .yz-grid-articles { grid-template-columns: repeat(2, 1fr); }
}
a.yz-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: 22px;
  box-shadow: var(--shadow, 0 10px 30px rgba(15, 40, 35, 0.06));
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100%;
}
a.yz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 92, 84, 0.12);
}
a.yz-card.yz-card-title {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-height: 0;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  border: 1.5px solid color-mix(in srgb, var(--brand-deep, #0d5c54) 12%, var(--border, rgba(0,0,0,.08)));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--glow, #2dd4bf) 8%, transparent), transparent 55%),
    var(--surface, #fff);
  box-shadow: 0 8px 22px rgba(13, 92, 84, 0.05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
a.yz-card.yz-card-title:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--glow, #2dd4bf) 45%, var(--border));
  box-shadow: 0 14px 32px rgba(13, 92, 84, 0.12);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--glow, #2dd4bf) 14%, transparent), transparent 60%),
    var(--surface, #fff);
}
.yz-card-title-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  color: var(--hb-text, #14221f);
}
.yz-card-title-chev {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0.35rem;
  border-radius: 999px;
  color: var(--brand-deep, #0d5c54);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 16%, transparent);
  transition: transform .18s ease, background .18s ease;
}
a.yz-card.yz-card-title:hover .yz-card-title-chev {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 28%, transparent);
}
html.dark a.yz-card.yz-card-title {
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.08), transparent 55%),
    var(--surface, #141c21);
  border-color: rgba(45, 212, 191, 0.16);
  box-shadow: none;
}
html.dark a.yz-card.yz-card-title:hover {
  border-color: rgba(45, 212, 191, 0.35);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.14), transparent 60%),
    var(--surface, #141c21);
}
html.dark .yz-card-title-text {
  color: var(--hb-text, #e8f4f1);
}
html.dark .yz-card-title-chev {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.12);
}
.yz-card-accent {
  height: 6px;
  background: linear-gradient(90deg, #0d5c54, #2dd4bf);
}
.yz-card.tone-1 .yz-card-accent { background: linear-gradient(90deg, #0a4a55, #1a9a82); }
.yz-card.tone-2 .yz-card-accent { background: linear-gradient(90deg, #0c3f48, #36b89a); }
.yz-card.tone-3 .yz-card-accent { background: linear-gradient(90deg, #134e4a, #5eead4); }
.yz-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}
.yz-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-display, Georgia, serif);
  letter-spacing: -0.01em;
}
.yz-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}
.yz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.yz-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-deep, #0d5c54);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 14%, transparent);
  padding: 0.22rem 0.5rem;
  border-radius: 8px;
}
.yz-cta {
  margin-top: 0.55rem;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--brand-deep, #0d5c54);
}
.yz-schedule {
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, #eab308 12%, white), color-mix(in srgb, #2dd4bf 10%, white));
  border: 1px solid color-mix(in srgb, #ca8a04 22%, transparent);
}
.yz-schedule-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #854d0e;
  margin-bottom: 0.45rem;
}
.yz-schedule-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--hb-text, #1e293b);
  white-space: pre-line;
}
.yz-guide {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.yz-guide h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-family: var(--font-display, Georgia, serif);
}
.yz-guide-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--hb-text, #1e293b);
  white-space: pre-line;
}
.yz-guide-body p + p,
.yz-article-body { margin-top: 0; }
.yz-section-head {
  margin: 0 0 0.9rem;
}
.yz-section-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-family: var(--font-display, Georgia, serif);
}
.yz-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tek parça müfredat */
.yz-curr {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.yz-curr-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25rem 1.35rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--glow, #2dd4bf) 8%, transparent), transparent);
}
.yz-curr-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  font-family: var(--font-display, Georgia, serif);
  letter-spacing: -0.02em;
}
.yz-curr-head .yz-source {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.4;
}
.yz-curr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.yz-curr-pills span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-deep, #0d5c54) 10%, white);
  color: var(--brand-deep, #0d5c54);
  border: 1px solid color-mix(in srgb, var(--brand-deep, #0d5c54) 18%, transparent);
}
.yz-curr-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0 0.5rem;
}
.yz-curr-row-simple {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.72rem 1.35rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}
.yz-curr-row-simple:first-child {
  border-top: none;
}
.yz-curr-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hb-text, #0f172a);
  min-width: 0;
}
.yz-curr-i {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-deep, #0d5c54);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 20%, white);
}
.yz-curr-soru {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-deep, #0d5c54);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 14%, transparent);
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  justify-self: end;
}

@media (max-width: 640px) {
  .yz-curr-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .yz-curr-pills { justify-content: flex-start; }
  .yz-curr-row-simple {
    grid-template-columns: auto 1fr;
    gap: 0.45rem 0.65rem;
  }
  .yz-curr-soru {
    grid-column: 2;
    justify-self: start;
  }
}

.yz-empty-card {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--glow) 6%, var(--surface, #fff));
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.yz-empty-card p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.92rem;
}
.yz-pill {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--glow) 18%, transparent);
  color: var(--brand-deep);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 700;
}
.yz-article-inner {
  max-width: 720px;
  padding-top: 2rem;
}
.yz-article-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.yz-article-body {
  font-size: 1.05rem;
  line-height: 1.75;
}

html.dark .yz-hero {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(45, 212, 191, 0.12), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(13, 92, 84, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(15, 30, 28, 0.9) 0%, transparent 100%);
}
html.dark .yz-schedule {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(45, 212, 191, 0.08));
  border-color: rgba(234, 179, 8, 0.25);
}
html.dark .yz-schedule-label { color: #fde68a; }
html.dark .yz-stats span {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.22);
  color: #5eead4;
}
html.dark .yz-curr {
  background: color-mix(in srgb, var(--surface, #1a2422) 100%, black);
}
html.dark .yz-curr-pills span {
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.2);
}
html.dark .yz-btn-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e2e8f0 !important;
}

/* Soft auth */
.auth-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(62, 201, 168, 0.18), transparent 55%),
    radial-gradient(600px 300px at 100% 10%, rgba(13, 92, 84, 0.1), transparent 50%),
    var(--bg);
}
.auth-stack {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.auth-card .alert {
  margin-top: 0.25rem;
}
.soft-landing .alert,
.soft-home .alert {
  max-width: 40rem;
}
.auth-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.35rem 1.4rem;
}
.auth-card .brand {
  color: var(--brand-deep);
  font-size: 1.35rem;
}
.auth-card .form-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
  font-size: 0.9rem;
  margin: 0.15rem 0 0.35rem;
  cursor: pointer;
  user-select: none;
}
.auth-card .form-check input {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  accent-color: var(--brand-deep, #0d5c54);
  cursor: pointer;
}
.auth-card input {
  border-radius: 14px;
}

/* iOS/Android: input focus zoom engeli (font < 16px yakınlaştırır) */
@media (max-width: 899px) {
  body.soft-auth input,
  body.soft-auth select,
  body.soft-auth textarea,
  .auth-card input,
  .auth-card select,
  .auth-card textarea {
    font-size: 16px !important;
  }
}

.soft-landing .land-mobile-actions { display: none; }
.soft-landing .site-header {
  background: transparent;
  border-bottom: 0;
}
.soft-landing .site-header .brand {
  color: var(--brand-deep);
  font-weight: 700;
}
html.dark .soft-landing .site-header .brand {
  color: #e8f4f2;
}
html.dark .soft-landing .soft-section h2 {
  color: var(--text);
}

.soft-landing .land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.soft-landing .land-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.soft-landing .land-nav-text {
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.soft-landing .land-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.soft-landing .land-icon-btn:hover,
.soft-landing .land-icon-btn:focus-visible {
  color: var(--brand-deep, #0d5c54);
  border-color: color-mix(in srgb, var(--glow, #2dd4bf) 35%, var(--border));
}
.soft-landing .land-icon-btn svg {
  width: 20px;
  height: 20px;
}
html.dark .soft-landing .land-icon-btn {
  border-color: rgba(148, 183, 190, 0.16);
  background: rgba(20, 28, 33, 0.7);
  color: #8aa0a8;
}
html.dark .soft-landing .land-icon-btn:hover,
html.dark .soft-landing .land-icon-btn:focus-visible {
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.35);
}

@media (max-width: 560px) {
  .soft-landing .land-nav-text {
    max-width: 5.5rem;
    font-size: 0.82rem;
    padding-inline: 0.55rem;
  }
  .soft-landing .land-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
}

/* Soft admin lists */
.soft-admin .admin-item-card.is-active {
  border-color: color-mix(in srgb, var(--glow) 45%, var(--border)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 18%, transparent), var(--shadow) !important;
}
.soft-admin .empty-state {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
}
.soft-admin .empty-state h3 { margin: 0 0 0.35rem; color: var(--text); }
.soft-admin .chip-ok {
  background: color-mix(in srgb, var(--glow) 28%, white);
  color: var(--brand-deep);
}
.soft-admin .chip-draft {
  background: color-mix(in srgb, var(--sand) 70%, white);
  color: var(--muted);
}
.soft-admin .role-chip.role-admin {
  background: color-mix(in srgb, #c45c4a 18%, white);
  color: #8a3a2e;
}
.soft-admin .role-chip.role-pro,
.soft-admin .role-chip.role-pro_plus {
  background: color-mix(in srgb, var(--glow) 28%, white);
  color: var(--brand-deep);
}
.soft-admin .pager {
  border-top-color: var(--border);
  gap: 0.4rem;
}
.soft-admin .pager-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
}
.soft-admin .pager-num.active {
  background: linear-gradient(145deg, #127064, #0d5c54);
  color: #fff;
  border-color: transparent;
}
.soft-admin .bulk-help pre {
  background: color-mix(in srgb, var(--sand) 55%, white) !important;
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 14px !important;
}
.soft-admin .panel-split {
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .soft-admin .panel-split {
    display: grid;
    grid-template-columns: 1fr;
  }
  .soft-admin .admin-item-card {
    flex-direction: column;
    align-items: stretch !important;
  }
  .soft-admin .admin-item-card .row {
    justify-content: flex-start;
  }
}

/* Collapse add forms */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.admin-toolbar h2 { margin: 0; font-size: 1.05rem; }
.admin-add-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #127064, #0d5c54);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 92, 84, 0.18);
}
.admin-add-toggle[aria-expanded="true"] {
  background: var(--surface);
  color: var(--brand-deep);
  box-shadow: var(--shadow);
}
.admin-add-toggle-ico {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
}
.admin-collapse-panel {
  margin-bottom: 0.85rem;
}
.admin-collapse-panel[x-cloak] { display: none !important; }

.social-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 16%, #fff);
  color: var(--brand-deep, #0d5c54);
}
.social-ico svg {
  width: 22px;
  height: 22px;
  display: block;
  shape-rendering: geometricPrecision;
}

html.dark .social-ico {
  background: color-mix(in srgb, var(--glow, #2dd4bf) 18%, transparent);
  color: var(--glow, #2dd4bf);
}

.notif-ico {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--glow) 20%, white);
  color: var(--brand-deep);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.5rem;
}
.platform-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.45rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.platform-pick input { position: absolute; opacity: 0; pointer-events: none; }
.platform-pick.is-on,
.platform-pick:has(input:checked) {
  border-color: color-mix(in srgb, var(--glow) 50%, var(--border));
  background: color-mix(in srgb, var(--glow) 16%, white);
  color: var(--brand-deep);
  box-shadow: var(--shadow);
}

/* —— İletişim sayfası —— */
.ct-page {
  padding: 1.35rem 0 3.5rem;
}
.ct-intro {
  margin: 0 0 1.35rem;
}
.ct-intro h1 {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.65rem, 3.8vw, 2.15rem);
  margin: 0 0 0.45rem;
  letter-spacing: -0.025em;
  color: var(--text, #0f172a);
  line-height: 1.15;
}
.ct-intro p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted, #64748b);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 550;
}
.ct-body {
  width: min(720px, calc(100% - 1.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ct-channels {
  display: grid;
  gap: 0.85rem;
}
a.ct-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--glow, #2dd4bf) 10%, var(--bg-elevated, #fff)), var(--bg-elevated, #fff));
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 22%, var(--border, rgba(13,92,84,.12)));
  box-shadow: var(--shadow, 0 10px 30px rgba(13, 92, 84, 0.06));
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), border-color 0.2s ease, box-shadow 0.22s ease;
}
a.ct-channel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--glow, #2dd4bf) 45%, transparent);
  box-shadow: 0 16px 36px rgba(13, 92, 84, 0.12);
}
a.ct-channel:active {
  transform: scale(0.985);
}
.ct-channel-ico {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 18%, white);
  color: var(--brand-deep, #0d5c54);
  flex-shrink: 0;
}
.ct-channel-wa .ct-channel-ico {
  background: color-mix(in srgb, #25d366 22%, white);
  color: #128c7e;
}
.ct-channel-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ct-channel-label {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}
.ct-channel-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text, #0f172a);
  word-break: break-word;
}
.ct-channel-hint {
  font-size: 0.88rem;
  color: var(--muted, #64748b);
  font-weight: 550;
}
.ct-channel-go {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 14%, transparent);
  color: var(--brand-deep, #0d5c54);
  transition: transform 0.2s ease, background 0.2s ease;
}
a.ct-channel:hover .ct-channel-go {
  transform: translateX(3px);
  background: color-mix(in srgb, var(--glow, #2dd4bf) 28%, transparent);
}
.ct-empty {
  padding: 1.5rem 1.25rem;
  border-radius: 22px;
  border: 1px dashed var(--border);
  text-align: center;
  background: var(--bg-elevated, #fff);
}
.ct-empty h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.ct-social {
  margin-top: 2.25rem;
}
.ct-social h2 {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin: 0.35rem 0 1rem;
  letter-spacing: -0.02em;
}
.ct-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
a.ct-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  background: color-mix(in srgb, var(--glow) 8%, var(--bg-elevated, #fff));
  border: 1px solid color-mix(in srgb, var(--glow) 18%, var(--border));
  box-shadow: 0 1px 0 rgba(8, 30, 28, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.ct-social-link.is-icon-only {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 16px;
  justify-content: center;
  background: color-mix(in srgb, var(--glow) 12%, var(--bg-elevated, #fff));
  color: var(--brand-deep);
}
a.ct-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 30, 28, 0.08);
}
.ct-social-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex-shrink: 0;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--glow) 16%, #fff);
}
.ct-social-ico svg {
  width: 18px;
  height: 18px;
  display: block;
  shape-rendering: geometricPrecision;
}
a.ct-social-link.is-icon-only .ct-social-ico {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: transparent;
  color: inherit;
}
a.ct-social-link.is-icon-only .ct-social-ico svg {
  width: 22px;
  height: 22px;
}
.ct-note {
  margin-top: 2.5rem;
  padding: 1.35rem 1.3rem;
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-deep, #0d5c54) 88%, #06332e), color-mix(in srgb, #127064 70%, #0a4a55));
  color: #f3faf8;
  box-shadow: 0 18px 40px rgba(13, 92, 84, 0.22);
}
.ct-note p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(243, 250, 248, 0.92);
}
.ct-note .btn {
  background: #fff;
  color: var(--brand-deep, #0d5c54);
  border: 0;
  box-shadow: none;
}
.ct-note .btn:hover {
  background: #e8f7f3;
}

html.dark .ct-intro h1 {
  color: var(--text, #f3faf8);
}
html.dark a.ct-channel {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.08), var(--bg-elevated, #141c21));
  border-color: rgba(45, 212, 191, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
html.dark a.ct-channel:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
html.dark .ct-channel-ico {
  background: rgba(45, 212, 191, 0.14);
  color: #5eead4;
}
html.dark .ct-channel-wa .ct-channel-ico {
  background: rgba(37, 211, 102, 0.16);
  color: #6ee7b7;
}
html.dark .ct-channel-copy strong {
  color: var(--text, #f3faf8);
}
html.dark a.ct-social-link {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.18);
  color: var(--text);
}
html.dark a.ct-social-link.is-icon-only {
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
}
html.dark .ct-social-ico {
  background: rgba(45, 212, 191, 0.14);
  color: #5eead4;
}
html.dark a.ct-social-link.is-icon-only .ct-social-ico {
  background: transparent;
  color: inherit;
}
html.dark .ct-empty {
  background: var(--bg-elevated, #141c21);
}

@media (max-width: 560px) {
  .ct-body {
    width: min(100% - 1.25rem, 720px);
  }
  a.ct-channel {
    grid-template-columns: auto 1fr;
    padding: 1rem;
  }
  .ct-channel-go {
    display: none;
  }
  .ct-note {
    padding: 1.15rem 1.05rem;
  }
}

/* —— Hakkımızda sayfası —— */
.ab-page {
  padding: 1.1rem 0 3rem;
}
.ab-shell {
  width: min(760px, calc(100% - 1.5rem));
  margin: 0 auto;
}
.ab-intro {
  margin: 0 0 1rem;
}
.ab-intro h1 {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.55rem, 5.2vw, 2.15rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.025em;
  color: var(--text, #0f172a);
  line-height: 1.18;
}
.ab-lead {
  margin: 0;
  color: var(--text, #0f172a);
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.6;
  font-weight: 600;
}
.ab-prose {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 7%, var(--bg-elevated, #fff));
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 14%, var(--border));
}
.ab-prose p {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 0.94rem;
  line-height: 1.62;
  font-weight: 550;
}
.ab-highlights {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}
@media (min-width: 720px) {
  .ab-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}
.ab-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--glow, #2dd4bf) 10%, var(--bg-elevated, #fff)), var(--bg-elevated, #fff));
  border: 1px solid color-mix(in srgb, var(--glow, #2dd4bf) 20%, var(--border));
  box-shadow: var(--shadow, 0 10px 28px rgba(13, 92, 84, 0.05));
}
@media (min-width: 720px) {
  .ab-card {
    grid-template-columns: 1fr;
    padding: 1.05rem 1.05rem 1.15rem;
  }
}
.ab-card-ico {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--glow, #2dd4bf) 18%, white);
  color: var(--brand-deep, #0d5c54);
}
@media (min-width: 720px) {
  .ab-card-ico {
    margin-bottom: 0.55rem;
  }
}
.ab-card-copy {
  min-width: 0;
}
.ab-card h2 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.ab-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 550;
}
.ab-note {
  padding: 1.15rem 1.1rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-deep, #0d5c54) 88%, #06332e), color-mix(in srgb, #127064 70%, #0a4a55));
  color: #f3faf8;
  box-shadow: 0 18px 40px rgba(13, 92, 84, 0.22);
}
@media (min-width: 640px) {
  .ab-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.25rem;
    gap: 1rem;
  }
}
.ab-note p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(243, 250, 248, 0.92);
}
.ab-note .btn,
.ab-note-btn {
  background: #fff !important;
  color: var(--brand-deep, #0d5c54) !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 2.75rem;
  border-radius: 999px !important;
  font-weight: 800;
}
@media (min-width: 640px) {
  .ab-note .btn,
  .ab-note-btn {
    width: auto;
    flex-shrink: 0;
  }
}
.ab-note .btn:hover,
.ab-note-btn:hover {
  background: #e8f7f3 !important;
}

html.dark .ab-intro h1,
html.dark .ab-lead {
  color: var(--text, #f3faf8);
}
html.dark .ab-prose {
  background: rgba(45, 212, 191, 0.06);
  border-color: rgba(45, 212, 191, 0.14);
}
html.dark .ab-card {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.08), var(--bg-elevated, #141c21));
  border-color: rgba(45, 212, 191, 0.18);
}
html.dark .ab-card-ico {
  background: rgba(45, 212, 191, 0.14);
  color: #5eead4;
}
html.dark .ab-card h2 {
  color: var(--text, #f3faf8);
}

@media (max-width: 560px) {
  .ab-page {
    padding: 0.85rem 0 2.5rem;
  }
  .ab-shell {
    width: min(100% - 1.15rem, 760px);
  }
  .ab-intro {
    margin-bottom: 0.85rem;
  }
  .ab-prose {
    margin-bottom: 1.1rem;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
  }
  .ab-highlights {
    gap: 0.55rem;
    margin-bottom: 1.1rem;
  }
  .ab-card {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    gap: 0.75rem;
  }
  .ab-card-ico {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
  }
  .ab-note {
    padding: 1rem 0.95rem;
    border-radius: 18px;
  }
}

/* —— Shared confirm / alert dialog —— */
html.hb-dialog-open {
  overflow: hidden;
}
.hb-dialog-backdrop,
.admin-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 20, 22, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}
.hb-dialog-backdrop[hidden] {
  display: none !important;
  pointer-events: none;
}
.hb-dialog-backdrop.is-open {
  animation: hb-dialog-fade 0.16s ease;
}
.hb-dialog,
.admin-confirm {
  width: min(22rem, 100%);
  border-radius: 18px;
  border: 1px solid var(--hb-line, rgba(15, 23, 42, 0.1));
  background: var(--hb-card, #fff);
  box-shadow: 0 18px 48px rgba(8, 30, 28, 0.18);
  padding: 1.15rem 1.2rem 1.1rem;
  animation: hb-dialog-pop 0.18s ease;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.hb-dialog-title,
.admin-confirm h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hb-text, #0f172a);
  font-family: var(--font-body, inherit);
}
.hb-dialog-msg,
.admin-confirm p {
  margin: 0.45rem 0 0;
  color: var(--hb-mute, #64748b);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}
.hb-dialog-actions,
.admin-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.15rem;
}
.hb-dialog-actions:has(.hb-dialog-cancel[hidden]) {
  grid-template-columns: 1fr;
}
.hb-dialog-actions form,
.admin-confirm-actions form {
  margin: 0;
}
.hb-dialog-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.hb-dialog-btn:active {
  transform: scale(0.98);
}
.hb-dialog-cancel {
  color: var(--hb-text, #0f172a);
  background: color-mix(in srgb, var(--hb-card-2, #f1f5f9) 88%, transparent);
  border-color: var(--hb-line, rgba(15, 23, 42, 0.12));
}
.hb-dialog-cancel:hover,
.hb-dialog-cancel:focus-visible {
  border-color: color-mix(in srgb, var(--hb-mute, #64748b) 40%, var(--hb-line, rgba(15, 23, 42, 0.12)));
  background: var(--hb-card-2, #f1f5f9);
  outline: none;
}
.hb-dialog-ok {
  color: #06201c;
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}
.hb-dialog-ok:hover,
.hb-dialog-ok:focus-visible {
  filter: brightness(1.05);
  outline: none;
}
.hb-dialog-ok.is-danger {
  color: #fff;
  background: linear-gradient(145deg, #f87171, #dc2626);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.28);
}
@keyframes hb-dialog-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hb-dialog-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
html.dark .hb-dialog,
html.dark .admin-confirm {
  background: var(--hb-card, #152025);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
html.dark .hb-dialog-cancel {
  background: color-mix(in srgb, var(--hb-card-2, #1c2a30) 90%, transparent);
  color: var(--hb-text, #e8f1ef);
}

html.app-pjax-busy .app-main {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity .15s ease;
}
html.app-pjax-busy {
  cursor: progress;
}

