  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink:      #0f1923;
    --mid:      #4a5568;
    --muted:    #8896a7;
    --line:     #e2e8f0;
    --bg:       #f8fafc;
    --white:    #ffffff;
    --blue:     #1d4ed8;
    --blue-lt:  #eff6ff;
    --blue-dk:  #1e3a8a;
    --accent:   #0ea5e9;
    --shadow:   0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg:0 8px 32px rgba(0,0,0,.10);
    --r:        10px;
    --max:      1120px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .logo {
    font-family: 'Fraunces', serif;
    font-weight: 600; font-size: 1.25rem;
    color: var(--ink); text-decoration: none;
    letter-spacing: -.02em;
  }
  .logo span { color: var(--blue); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: .875rem; font-weight: 500;
    color: var(--mid); text-decoration: none;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--blue); }
  .nav-actions { display: flex; align-items: center; gap: 1.25rem; }
  .nav-phone {
    display: flex; align-items: center; gap: .5rem;
    color: var(--mid); text-decoration: none;
    font-size: .875rem; font-weight: 500;
    transition: color .15s;
    white-space: nowrap;
  }
  .nav-phone:hover { color: var(--blue); }
  .nav-phone svg { color: var(--blue); flex-shrink: 0; }
  .nav-cta {
    background: var(--blue); color: #fff;
    padding: .5rem 1.25rem; border-radius: 6px;
    font-size: .875rem; font-weight: 500;
    text-decoration: none; transition: background .15s;
  }
  .nav-cta:hover { background: var(--blue-dk); }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--blue-dk) 0%, #1d4ed8 55%, #0369a1 100%);
    color: #fff;
    padding: 4.5rem 2rem 3.5rem;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='24.25' height='42' viewBox='0 0 24.25 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.2'%3E%3Cpolygon points='12.12,7 12.12,21 0,28 -12.12,21 -12.12,7 0,0'/%3E%3Cpolygon points='36.37,7 36.37,21 24.25,28 12.12,21 12.12,7 24.25,0'/%3E%3Cpolygon points='24.25,28 24.25,42 12.12,49 0,42 0,28 12.12,21'/%3E%3Cpolygon points='0,28 0,42 -12.12,49 -24.25,42 -24.25,28 -12.12,21'/%3E%3Cpolygon points='48.5,28 48.5,42 36.37,49 24.25,42 24.25,28 36.37,21'/%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-inner {
    max-width: var(--max); margin: 0 auto;
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }
  .hero-eyebrow {
    font-size: .75rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 1rem;
  }
  .hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 300; font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.15; letter-spacing: -.02em;
    margin-bottom: 1.5rem;
  }
  .hero h1 em { font-style: italic; color: var(--accent); }
  .hero-sub {
    font-size: 1.0625rem; color: rgba(255,255,255,.78);
    margin-bottom: 2.5rem; max-width: 480px;
    line-height: 1.7;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: #fff; color: var(--blue-dk);
    padding: .875rem 2rem; border-radius: 7px;
    font-weight: 600; font-size: .9375rem;
    text-decoration: none; transition: transform .15s, box-shadow .15s;
    display: inline-block;
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
  .btn-ghost {
    border: 1.5px solid rgba(255,255,255,.4); color: #fff;
    padding: .875rem 1.75rem; border-radius: 7px;
    font-weight: 500; font-size: .9375rem;
    text-decoration: none; transition: border-color .15s;
    display: inline-block;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,.8); }
  .hero-badges {
    display: flex; flex-direction: column; gap: 1rem;
  }
  .badge-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r);
    padding: 1.5rem;
  }
  .badge-card-icon { font-size: 1.75rem; margin-bottom: .75rem; }
  .badge-card h3 {
    font-size: 1rem; font-weight: 600; margin-bottom: .375rem;
  }
  .badge-card p { font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.5; }

  /* ── SECTION SHARED ── */
  section { padding: 3.5rem 2rem; }
  .section-inner { max-width: var(--max); margin: 0 auto; }
  .section-label {
    font-size: .75rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: .75rem;
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -.02em; line-height: 1.2;
    margin-bottom: 1rem;
  }
  .section-sub {
    color: var(--mid); font-size: 1.0625rem;
    max-width: 560px; line-height: 1.7;
  }
  .section-header { margin-bottom: 2.25rem; }

  /* ── SERVICES ── */
  .services { background: var(--bg); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 2rem;
    transition: box-shadow .2s, transform .2s;
    cursor: default;
  }
  .service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  .service-icon {
    width: 48px; height: 48px;
    background: var(--blue-lt);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
  }
  .service-card h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: .625rem; color: var(--ink);
  }
  .service-card p {
    font-size: .9rem; color: var(--mid); line-height: 1.65;
  }
  .service-tag {
    display: inline-block; margin-top: 1rem;
    font-size: .75rem; font-weight: 600;
    color: var(--blue); background: var(--blue-lt);
    padding: .25rem .625rem; border-radius: 4px;
  }

  /* ── TEAM ── */
  .team-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  }
  .team-card {
    display: flex; gap: 1.75rem; align-items: flex-start;
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--white);
  }
  .team-avatar {
    width: 88px; height: 88px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.75rem; color: #fff; font-weight: 400;
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 95.5% 25%, 95.5% 75%, 50% 100%, 4.5% 75%, 4.5% 25%);
    background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dk) 55%, var(--accent) 100%);
    overflow: hidden;
  }
  .team-avatar img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
  }
  .team-avatar::before {
    content: '';
    position: absolute; inset: 3px;
    clip-path: polygon(50% 0%, 95.5% 25%, 95.5% 75%, 50% 100%, 4.5% 75%, 4.5% 25%);
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 55%);
    pointer-events: none;
  }
  .team-avatar span {
    position: relative; z-index: 1;
    letter-spacing: .02em;
  }
  .team-info h3 {
    font-size: 1.125rem; font-weight: 600; margin-bottom: .25rem;
  }
  .team-role {
    font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: .875rem;
  }
  .team-bio { font-size: .9rem; color: var(--mid); line-height: 1.65; }
  .team-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
  .team-tag {
    font-size: .75rem; color: var(--mid);
    background: var(--bg); border: 1px solid var(--line);
    padding: .2rem .625rem; border-radius: 4px;
  }

  /* ── WHY US ── */
  .why { background: var(--blue-dk); color: #fff; }
  .why .section-title { color: #fff; }
  .why .section-sub { color: rgba(255,255,255,.7); }


  /* ── FOR WHOM ── */
  .forwho { background: var(--bg); }
  .forwho-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .forwho-card {
    background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r);
    padding: 2rem;
  }
  .forwho-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .625rem; }
  .forwho-card p { font-size: .9rem; color: var(--mid); line-height: 1.65; }
  .forwho-icon { font-size: 1.75rem; margin-bottom: 1rem; }

  /* ── FORM ── */
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start;
  }
  .contact-info h2 {
    font-family: 'Fraunces', serif;
    font-weight: 300; font-size: 2rem;
    letter-spacing: -.02em; margin-bottom: 1rem;
  }
  .contact-info p { color: var(--mid); line-height: 1.7; margin-bottom: 2rem; }
  .contact-detail { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
  .contact-detail a {
    color: var(--mid); text-decoration: none; font-size: .9375rem;
    display: flex; align-items: center; gap: .625rem;
  }
  .contact-detail a:hover { color: var(--blue); }

  form { display: flex; flex-direction: column; gap: 1.25rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  label { font-size: .875rem; font-weight: 500; color: var(--ink); display: block; margin-bottom: .375rem; }
  input, select, textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 7px;
    padding: .75rem 1rem;
    font-family: inherit; font-size: .9375rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
  }
  input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29,78,216,.12);
  }
  textarea { resize: vertical; min-height: 120px; }
  .form-submit {
    background: var(--blue); color: #fff;
    border: none; cursor: pointer;
    padding: .9375rem 2.5rem; border-radius: 7px;
    font-family: inherit; font-size: 1rem; font-weight: 600;
    transition: background .15s, transform .15s;
    align-self: flex-start;
  }
  .form-submit:hover { background: var(--blue-dk); transform: translateY(-1px); }
  .form-note { font-size: .8125rem; color: var(--muted); margin-top: -.5rem; }

  /* ── FOOTER ── */
  footer {
    background: var(--ink); color: rgba(255,255,255,.55);
    padding: 3rem 2rem;
    font-size: .875rem;
  }
  .footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-brand {
    font-family: 'Fraunces', serif;
    font-size: 1.125rem; font-weight: 600;
    color: #fff;
  }
  .footer-brand span { color: var(--accent); }
  .footer-legal { line-height: 1.8; }
  .footer-legal strong { color: rgba(255,255,255,.8); }




  /* ── REFERENCE ── */
  .ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .ref-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 2rem;
    display: flex;
    flex-direction: column;
  }
  .ref-quote-icon {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    color: var(--blue);
    opacity: .25;
    line-height: 1;
    margin-bottom: .5rem;
  }
  .ref-text {
    font-size: .9375rem;
    color: var(--ink);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
  }
  .ref-author-name {
    font-size: .9rem; font-weight: 600; color: var(--ink);
  }
  .ref-author-role {
    font-size: .8125rem; color: var(--mid); margin-top: .125rem;
  }
  @media (max-width: 900px) {
    .ref-grid { grid-template-columns: 1fr; }
  }

  /* ── PROCES (Jak to probíhá) ── */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }
  .process-step {
    position: relative;
    padding: 0 1.5rem 0 0;
  }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px; left: calc(100% - 1.5rem + 22px);
    width: calc(1.5rem - 22px);
    height: 2px;
    background: var(--line);
  }
  .process-num {
    width: 44px; height: 44px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.125rem; font-weight: 600;
    margin-bottom: 1.25rem;
  }
  .process-step h3 {
    font-size: 1rem; font-weight: 600;
    margin-bottom: .625rem; color: var(--ink);
  }
  .process-step p {
    font-size: .875rem; color: var(--mid); line-height: 1.6;
  }
  @media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .process-step:not(:last-child)::after { display: none; }
  }
  @media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  }

  /* ── KONTAKT VYLEPŠENÍ ── */
  #kontakt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--blue-lt) 100%);
    position: relative;
  }
  #kontakt::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--blue) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: .04;
    pointer-events: none;
  }
  .contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(15,25,35,.04), 0 12px 32px rgba(15,25,35,.08);
    border: 1px solid rgba(255,255,255,.8);
    position: relative;
  }
  .contact-detail-link {
    display: flex; align-items: center; gap: .75rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: .875rem 1.25rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: .9375rem;
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .contact-detail-link:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(29,78,216,.12);
    transform: translateY(-1px);
  }
  .contact-detail-link .contact-detail-icon {
    width: 36px; height: 36px;
    background: var(--blue-lt);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
  }
  .contact-detail-link .contact-detail-icon svg { width: 18px; height: 18px; }
  .form-submit-wrap {
    display: flex; flex-direction: column; gap: .625rem; align-items: flex-start;
  }
  .form-trust {
    display: flex; align-items: center; gap: .5rem;
    font-size: .8125rem; color: var(--muted);
  }
  .form-trust svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; }

  /* ── DIVIDER ── */
  .divider { border: none; border-top: 1px solid var(--line); }

  /* ── RESPONSIVE ── */

  .badge-card-icon svg { color: rgba(255,255,255,.9); }
  .service-icon svg { color: var(--blue); }
  .forwho-icon svg { color: var(--blue); width: 28px; height: 28px; }
  .contact-detail-icon svg { width: 16px; height: 16px; vertical-align: middle; }
  .admin-panel-box h2 svg { width: 18px; height: 18px; vertical-align: middle; margin-right: .25rem; }
  .badge-card-icon { font-size: 0; margin-bottom: .75rem; }
  .forwho-icon { font-size: 0; margin-bottom: 1rem; }


  /* ── WHY AUTO-SCROLL ── */
  .why-top {
    margin-bottom: 1.25rem;
  }
  .why-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }
  .why-track {
    display: flex; gap: 1.5rem;
    width: max-content;
    animation: why-scroll 28s linear infinite;
  }
  .why-track:hover { animation-play-state: paused; }
  @keyframes why-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .why-card {
    flex: 0 0 240px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r); padding: 1.25rem 1.5rem;
    transition: background .2s;
  }
  .why-card:hover { background: rgba(255,255,255,.14); }
  .why-card-num {
    font-family: 'Fraunces', serif;
    font-size: 1.875rem; font-weight: 300;
    color: var(--accent); line-height: 1;
    margin-bottom: .375rem;
  }
  .why-card h4 { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
  .why-card p { font-size: .8125rem; color: rgba(255,255,255,.65); line-height: 1.5; }
  @media (prefers-reduced-motion: reduce) {
    .why-track { animation: none; }
  }

  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-badges { flex-direction: row; }
    .badge-card { flex: 1; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  }
  @media (max-width: 600px) {
    section { padding: 2.5rem 1.25rem; }
    .nav-inner { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .nav-phone { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .forwho-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 3rem 1.25rem 2.5rem; }
    .team-card { flex-direction: column; }
    .hero-badges { flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
  }

/* ─── Admin panel styly ─── */
/* ── ADMIN PANEL ── */
#admin-trigger {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(15,25,35,.15); border: none; cursor: pointer;
  font-size: 0; /* invisible dot */
  transition: background .2s;
}
#admin-trigger:hover { background: rgba(15,25,35,.3); }

#admin-login, #admin-panel {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,15,25,.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
#admin-login.open, #admin-panel.open { display: flex; }

.admin-box {
  background: #fff; border-radius: 14px;
  padding: 2.5rem; width: 100%; max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.admin-box h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.375rem; margin-bottom: .375rem; color: #0f1923;
}
.admin-box p { font-size: .875rem; color: #8896a7; margin-bottom: 1.5rem; }
.admin-box input {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 7px;
  padding: .75rem 1rem; font-size: .9375rem;
  margin-bottom: 1rem; outline: none; font-family: inherit;
}
.admin-box input:focus { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.admin-btn {
  width: 100%; background: #1d4ed8; color: #fff;
  border: none; border-radius: 7px; padding: .8125rem;
  font-size: .9375rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.admin-btn:hover { background: #1e3a8a; }
.admin-error { color: #dc2626; font-size: .8125rem; margin-top: .5rem; display: none; }

/* Admin panel itself */
.admin-panel-box {
  background: #fff; border-radius: 14px;
  padding: 2rem; width: 100%; max-width: 500px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  max-height: 90vh; overflow-y: auto;
}
.admin-panel-box h2 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.25rem; color: #0f1923;
  margin-bottom: .25rem;
}
.admin-panel-box > p { font-size: .8125rem; color: #8896a7; margin-bottom: 1.75rem; }

.toggle-group { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }
.toggle-group-label {
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #8896a7;
  margin-bottom: .25rem; padding-bottom: .375rem;
  border-bottom: 1px solid #e2e8f0;
}
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .625rem .875rem;
  background: #f8fafc; border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.toggle-row span { font-size: .9rem; font-weight: 500; color: #0f1923; }
.toggle-row small { font-size: .75rem; color: #8896a7; display: block; }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0; cursor: pointer;
  background: #cbd5e1; border-radius: 24px;
  transition: background .2s;
}
.slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; left: 3px; top: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
input:checked + .slider { background: #1d4ed8; }
input:checked + .slider::before { transform: translateX(20px); }

.admin-close {
  width: 100%; background: #f1f5f9; color: #4a5568;
  border: none; border-radius: 7px; padding: .75rem;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.admin-close:hover { background: #e2e8f0; }
