/* =====================================================================
   Public site theme — header, footer, home page, account pages.
   Inner pages keep their Eduhive markup; their fonts, colours and page banner are aligned here.
   ===================================================================== */
@font-face { font-family: "Vazirmatn FD"; src: url(fonts/Vazirmatn-FD-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn FD"; src: url(fonts/Vazirmatn-FD-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn FD"; src: url(fonts/Vazirmatn-FD-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn FD"; src: url(fonts/Vazirmatn-FD-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ground: #ffffff; --field: #f2f4f7; --ink: #0d1420; --muted: #545d6b; --line: #e3e6eb; --surface: #ffffff; --edge: #cfd4db; --ink-hover: #26303f; --head-bg: rgba(255, 255, 255, .97);
  --accent: #1d5fbf; --deep: color-mix(in srgb, var(--accent) 42%, #050b16);
  --on-deep: #ffffff; --on-deep-muted: color-mix(in srgb, #ffffff 74%, var(--accent));
  --m: 48px; --font: "Vazirmatn FD", Tahoma, system-ui, sans-serif;
  /* Eduhive variables, so its components take the school's colours */
  --eduhive-base: var(--accent); --eduhive-base-rgb: 29, 95, 191; --eduhive-black: var(--ink); --eduhive-font: var(--font); --eduhive-heading-font: var(--font);
}

body.site { font-family: var(--font) !important; color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.7; text-align: right; }
body.site h1, body.site h2, body.site h3, body.site h4, body.site h5, body.site h6, body.site p, body.site a, body.site li, body.site span:not([class*=icon]), body.site button, body.site input, body.site textarea, body.site select, body.site label { font-family: var(--font) !important; }
body.site a { text-decoration: none; }
body.site img { max-width: 100%; }
.sx-wrap { padding-inline: var(--m); max-width: 1440px; margin: 0 auto; }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 16px var(--font); border: 0; cursor: pointer; transition: transform .08s, background .15s, box-shadow .15s; white-space: nowrap; }
.sx-btn:active { transform: translateY(1px); }
.sx-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sx-btn.dark { background: var(--ink); color: var(--ground) !important; } .sx-btn.dark:hover { background: var(--ink-hover); }
.sx-btn.line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink) !important; background: transparent; } .sx-btn.line:hover { background: var(--field); }
.sx-btn.light { background: var(--surface); color: var(--ink) !important; } .sx-btn.light:hover { background: var(--field); }
.sx-btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.sx-header { position: sticky; top: 0; z-index: 100; background: var(--head-bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.sx-header.scrolled { border-bottom-color: var(--line); }
.sx-bar { height: 76px; display: flex; align-items: center; gap: 28px; }
.sx-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink) !important; flex: none; }
.sx-logo img { width: 42px; height: 42px; object-fit: contain; }
.sx-logo .mark { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sx-nav { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; list-style: none; }
.sx-nav > li { position: relative; }
.sx-nav > li > a, .sx-nav > li > button { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted) !important; font-size: 15px; background: none; border: 0; cursor: pointer; }
.sx-nav > li > a:hover, .sx-nav > li > button:hover, .sx-nav > li > a.on { color: var(--ink) !important; background: var(--field); }
.sx-sub { position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(13, 20, 32, .12); padding: 8px; display: none; z-index: 5; list-style: none; margin: 4px 0 0; }
.sx-nav > li:hover > .sx-sub, .sx-nav > li:focus-within > .sx-sub { display: block; }
.sx-sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink) !important; font-size: 15px; }
.sx-sub a:hover { background: var(--field); }
.sx-sub b { display: block; font-size: 12px; color: var(--muted); font-weight: 500; padding: 8px 12px 2px; }
.sx-actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.sx-icon { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; color: var(--ink) !important; background: transparent; border: 0; cursor: pointer; }
.sx-icon:hover { background: var(--field); }
.sx-icon svg { width: 20px; height: 20px; }
.sx-menu-btn { display: none; }
.sx-search { display: none; padding: 0 0 16px; }
.sx-search.open { display: block; }
.sx-search form { display: flex; gap: 8px; }
.sx-search input { flex: 1; height: 48px; border: 1px solid #cfd4db; border-radius: 999px; padding: 0 20px; font-size: 16px; }
.sx-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.sx-drawer.open { display: block; }
.sx-drawer .scrim { position: absolute; inset: 0; background: rgba(13, 20, 32, .4); }
.sx-drawer .panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(340px, 88vw); background: var(--surface); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.sx-drawer .panel a { padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-size: 17px; }
.sx-drawer .panel .sx-btn { margin-top: 16px; border: 0; }

/* ---------- footer ---------- */
.sx-footer { background: var(--deep); color: var(--on-deep-muted); margin-top: 120px; }
.sx-footer .sx-wrap { padding-top: 72px; padding-bottom: 28px; }
.sx-footer .name { font-size: clamp(44px, 8vw, 128px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; margin: 0; }
.sx-footer .cols { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 48px; margin-top: 48px; }
.sx-footer p { color: var(--on-deep-muted); margin: 0; font-size: 15px; line-height: 1.9; }
.sx-footer h3 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx-footer a { color: var(--on-deep-muted) !important; font-size: 15px; }
.sx-footer a:hover { color: #fff !important; }
.sx-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.sx-social a { min-height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .1); font-size: 14px; }
.sx-social a:hover { background: rgba(255, 255, 255, .2); }
.sx-footer .credit { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.sx-footer .credit b { color: #fff; font-weight: 500; }

/* ---------- home ---------- */
.sx-hero { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 32px; }
.sx-hero h1 { font-size: clamp(38px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0; color: var(--ink); }
.sx-hero .lead { font-size: 20px; margin-top: 28px; max-width: 32em; color: var(--ink); }
.sx-hero .slogan { color: var(--accent); font-weight: 700; font-size: 18px; margin: 0 0 14px; }
.sx-hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.sx-facts { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.sx-facts b { display: block; font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.sx-facts span { color: var(--muted); font-size: 15px; }
.sx-shot { background: var(--field); border-radius: 22px; padding: 28px 0 0 28px; overflow: hidden; }
.sx-shot img { border-radius: 12px 0 0 0; box-shadow: 0 20px 60px rgba(13, 20, 32, .18); width: 100%; display: block; }
.sx-shot.photo { padding: 0; } .sx-shot.photo img { border-radius: 22px; box-shadow: none; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-ui { background: var(--surface); border-radius: 12px 0 0 0; box-shadow: 0 20px 60px rgba(13, 20, 32, .18); padding: 22px; min-height: 360px; }
section.sx-s { padding-top: 112px; }
.sx-sh { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sx-sh h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0; color: var(--ink); }
.sx-sh p { color: var(--muted); max-width: 36em; margin: 8px 0 0; }
.sx-sh > a { margin-inline-start: auto; color: var(--accent) !important; font-weight: 500; white-space: nowrap; }
.sx-roles { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--deep); color: #fff; border-radius: 22px; overflow: hidden; }
.sx-roles > div { padding: 34px 30px 38px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.sx-roles > div:first-child { border: 0; }
.sx-roles h3 { font-size: 23px; font-weight: 700; margin: 0 0 12px; color: #fff; }
.sx-roles ul { margin: 0; padding: 0; list-style: none; color: var(--on-deep-muted); line-height: 2.1; font-size: 16px; }
.sx-about { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
.sx-about img { border-radius: 22px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.sx-about ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.sx-about li { padding-inline-start: 18px; position: relative; }
.sx-about li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sx-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.sx-course { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink) !important; }
.sx-course img { width: 112px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--field); }
.sx-course h3 { font-size: 19px; font-weight: 700; margin: 0; }
.sx-course p { color: var(--muted); font-size: 15px; margin: 2px 0 0; }
.sx-course b { font-size: 18px; white-space: nowrap; text-align: end; }
.sx-course b small { font-weight: 400; color: var(--muted); font-size: 14px; }
.sx-course b s { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.sx-teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sx-teacher { color: var(--ink) !important; }
.sx-teacher img, .sx-teacher .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--field); display: grid; place-items: center; font-size: 42px; font-weight: 800; color: var(--muted); }
.sx-teacher h3 { font-size: 18px; font-weight: 700; margin: 12px 0 0; }
.sx-two { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; }
.sx-post { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink) !important; }
.sx-post h3 { font-size: 20px; font-weight: 700; margin: 0; }
.sx-post time { color: var(--muted); font-size: 15px; white-space: nowrap; }
.sx-post p { color: var(--muted); margin: 0; grid-column: 1; }
.sx-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.sx-faq summary { font-weight: 500; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.sx-faq details[open] summary::after { content: "−"; }
.sx-faq details p { color: var(--muted); margin: 10px 0 0; }
.sx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.sx-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.sx-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.sx-contact { margin-top: 112px; background: var(--field); }
.sx-contact .sx-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.sx-contact h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; margin: 0; }
.sx-contact dl { display: grid; grid-template-columns: 120px 1fr; gap: 14px 16px; margin: 28px 0 0; font-size: 18px; }
.sx-contact dt { color: var(--muted); font-weight: 400; } .sx-contact dd { margin: 0; }
.sx-form { display: grid; gap: 14px; }
.sx-form label { font-weight: 500; font-size: 15px; display: grid; gap: 6px; }
.sx-form input, .sx-form textarea { font: 16px var(--font); border: 1px solid var(--edge); border-radius: 12px; padding: 13px 16px; background: var(--surface); width: 100%; color: var(--ink); }
.sx-form input:focus, .sx-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sx-empty { color: var(--muted); border: 1px dashed #cfd4db; border-radius: 12px; padding: 16px; }
.sx-alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.sx-alert.ok { background: #dcfae5; color: #04250e; } .sx-alert.bad { background: #ffedea; color: #831c1e; }

/* ---------- account pages (login, register, codes) ---------- */
.sx-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); }
.sx-auth .form { display: flex; flex-direction: column; padding: 40px var(--m); }
.sx-auth .box { width: 100%; max-width: 420px; margin: auto; }
.sx-auth h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.sx-auth .sub { color: var(--muted); margin: 8px 0 28px; }
.sx-auth .side { background: var(--deep); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.sx-auth .side h2 { font-size: 40px; font-weight: 800; line-height: 1.2; margin: 0; color: #fff; max-width: 12em; }
.sx-auth .side p { color: var(--on-deep-muted); margin-top: 16px; max-width: 30em; font-size: 17px; }
.sx-auth .side img { width: 118%; max-width: none; border-radius: 14px; margin-top: 40px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.sx-field { display: grid; gap: 8px; margin-bottom: 18px; }
.sx-field label { font-weight: 500; font-size: 15px; }
.sx-field input, .sx-field select { width: 100%; height: 50px; border: 1px solid var(--edge); border-radius: 12px; padding: 0 16px; font: 16px var(--font); background: var(--surface); color: var(--ink); }
.sx-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sx-field .pw { position: relative; }
.sx-field .pw button { position: absolute; inset-inline-end: 8px; top: 7px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 14px var(--font); }
.sx-field .err, .sx-auth .field-validation-error, .sx-auth .text-danger { color: #c4242a; font-size: 14px; }
.sx-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; margin: -2px 0 22px; flex-wrap: wrap; }
.sx-row a, .sx-link { color: var(--accent) !important; }
.sx-auth .sx-btn { width: 100%; min-height: 52px; border-radius: 12px; }
.sx-auth .alt { text-align: center; color: var(--muted); font-size: 15px; margin-top: 20px; }
.sx-auth .terms { color: var(--muted); font-size: 14px; margin-top: 24px; text-align: center; }
.sx-code { letter-spacing: .4em; text-align: center; font-size: 22px !important; direction: ltr; }
.sx-captcha { display: flex; gap: 10px; align-items: center; }
.sx-captcha img { height: 50px; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- inner Eduhive pages: same type, a plain title band instead of the decorated banner ---------- */
body.site .preloader, body.site .custom-cursor__cursor, body.site .custom-cursor__cursor-two { display: none !important; }
body.site .page-header { background: var(--field) !important; padding: 56px 0 48px !important; margin: 0; }
body.site .page-header__bg, body.site [class*=page-header__shape] { display: none !important; }
body.site .page-header__title { font-size: clamp(30px, 4vw, 52px) !important; font-weight: 800 !important; color: var(--ink) !important; letter-spacing: -0.02em; }
body.site .eduhive-breadcrumb, body.site .eduhive-breadcrumb a { color: var(--muted) !important; }
body.site .sec-title__tagline, body.site .sec-title__title__shape { display: none !important; }
body.site .sec-title__title { font-weight: 800 !important; color: var(--ink) !important; letter-spacing: -0.02em; }
body.site .eduhive-btn { border-radius: 999px !important; background: var(--ink) !important; }
body.site .eduhive-btn:hover { background: var(--ink-hover) !important; }
body.site .eduhive-btn__icon { display: none !important; }
body.site .main-header, body.site .main-footer, body.site .mobile-nav__wrapper, body.site .search-popup, body.site .scroll-to-top { display: none !important; }

@media (max-width: 1000px) {
  :root { --m: 16px; }
  .sx-nav, .sx-actions .sx-btn { display: none; }
  .sx-menu-btn { display: grid; }
  .sx-bar { height: 64px; gap: 8px; }
  .sx-hero, .sx-two, .sx-contact .sx-wrap, .sx-courses, .sx-about, .sx-auth { grid-template-columns: 1fr; gap: 36px; }
  .sx-hero { padding-top: 20px; }
  .sx-hero .lead { font-size: 18px; margin-top: 18px; }
  .sx-facts { gap: 24px; margin-top: 32px; } .sx-facts b { font-size: 26px; }
  .sx-shot { padding: 16px 0 0 16px; }
  .sx-roles { grid-template-columns: 1fr 1fr; } .sx-roles > div { padding: 22px 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
  section.sx-s { padding-top: 72px; } .sx-sh { flex-wrap: wrap; }
  .sx-course { grid-template-columns: 80px 1fr; } .sx-course img { width: 80px; height: 60px; } .sx-course b { grid-column: 2; text-align: start; }
  .sx-teachers { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sx-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .sx-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .sx-footer { margin-top: 80px; }
  .sx-auth .side { display: none; } .sx-auth .form { padding: 24px 16px; }
  .sx-about ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* login side: a small piece of the teacher panel */
.side-ui { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 20px; margin-top: 40px; width: 112%; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.side-ui-h { display: flex; justify-content: space-between; margin-bottom: 10px; }
.side-ui-h span { color: var(--muted); font-size: 13px; }
.side-ui-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef0f3; font-size: 14px; }
.side-ui-row small { color: var(--muted); }
.side-ui-row em { font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 99px; background: #eceef2; color: #3d4450; }
.side-ui-row em.ok { background: #dcfae5; color: #04250e; }

.img-broken { display: none !important; }
.sx-teacher img + .ph { display: none; }
.sx-teacher img.img-broken + .ph { display: grid; }
.sx-about:has(img.img-broken) { grid-template-columns: 1fr; }
body.site { overflow-x: hidden; }
body.site .page-wrapper { overflow: hidden; position: relative; min-height: auto; }

/* ---------- colour palettes (same names as the panels) ---------- */
html[data-palette=emerald] { --accent: #0f9b8e; } html[data-palette=ocean] { --accent: #1f6feb; }
html[data-palette=indigo] { --accent: #4f5bd5; } html[data-palette=violet] { --accent: #7c4ddb; }
html[data-palette=rose] { --accent: #d6336c; } html[data-palette=amber] { --accent: #c46a0a; }
html[data-palette=graphite] { --accent: #3b4252; }
body.site ::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
body.site .eduhive-btn { background: var(--accent) !important; color: #fff !important; }
body.site .eduhive-btn:hover { background: color-mix(in srgb, var(--accent) 82%, #000) !important; }

/* ---------- theme picker in the header ---------- */
.sx-theme { position: relative; }
.sx-theme-pop { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 248px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .18); padding: 14px; display: none; z-index: 20; }
.sx-theme.open .sx-theme-pop { display: block; }
.sx-theme-pop h6 { font: 500 13px var(--font); color: var(--muted); margin: 0 0 10px; }
.sx-theme-pop h6 + * { margin-bottom: 14px; }
.sx-swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sx-swatches button { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.sx-swatches button.on { box-shadow: 0 0 0 2px var(--ink); }
.sx-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--field); border-radius: 12px; padding: 4px; margin-bottom: 0 !important; }
.sx-modes button { border: 0; background: transparent; border-radius: 9px; padding: 7px 4px; font: 13px var(--font); color: var(--muted); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sx-modes button svg { width: 17px; height: 17px; }
.sx-modes button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* ---------- dark mode ---------- */
html[data-theme=dark] { color-scheme: dark; --ground: #0e1116; --field: #171b22; --ink: #e8ebf0; --muted: #9aa3b2; --line: #262c36; --surface: #151920; --edge: #323a46; --ink-hover: #ffffff; --head-bg: rgba(14, 17, 22, .94); --deep: color-mix(in srgb, var(--accent) 22%, #06080c); --eduhive-black: #e8ebf0; }
html[data-theme=dark] body.site { background: var(--ground); color: var(--ink); }
html[data-theme=dark] body.site h1, html[data-theme=dark] body.site h2, html[data-theme=dark] body.site h3, html[data-theme=dark] body.site h4, html[data-theme=dark] body.site h5, html[data-theme=dark] body.site h6 { color: var(--ink); }
html[data-theme=dark] body.site p, html[data-theme=dark] body.site li { color: inherit; }
html[data-theme=dark] body.site main section, html[data-theme=dark] body.site main [class*=-section], html[data-theme=dark] body.site main [class*=__item], html[data-theme=dark] body.site main [class*=__card], html[data-theme=dark] body.site main [class*=__content], html[data-theme=dark] body.site main .card, html[data-theme=dark] body.site main .table, html[data-theme=dark] body.site main .modal-content { background-color: transparent; color: var(--ink); border-color: var(--line); }
html[data-theme=dark] body.site main [class*=__item], html[data-theme=dark] body.site main [class*=__card], html[data-theme=dark] body.site main .card, html[data-theme=dark] body.site main .modal-content { background-color: var(--surface); }
html[data-theme=dark] body.site main input, html[data-theme=dark] body.site main textarea, html[data-theme=dark] body.site main select { background-color: var(--surface); color: var(--ink); border-color: var(--edge); }
html[data-theme=dark] body.site main a:not(.sx-btn):not(.eduhive-btn) { color: color-mix(in srgb, var(--accent) 60%, #fff); }
html[data-theme=dark] body.site .table td, html[data-theme=dark] body.site .table th { color: var(--ink); border-color: var(--line); }
html[data-theme=dark] .sx-chips a:hover { background: var(--line); }
html[data-theme=dark] .sx-alert.ok { background: #0f2e1d; color: #9be3b6; } html[data-theme=dark] .sx-alert.bad { background: #3a1517; color: #f6b2b3; }
html[data-theme=dark] .side-ui-row em { background: var(--field); color: var(--muted); }
html[data-theme=dark] .sx-logo img { filter: brightness(1.1); }
html[data-theme=dark] .sx-btn.dark, html[data-theme=dark] body.site .eduhive-btn { background: var(--accent) !important; color: #fff !important; }
html[data-theme=dark] .sx-btn.dark:hover { background: color-mix(in srgb, var(--accent) 80%, #fff) !important; }
body.site input[type=file]::file-selector-button { font: 14px var(--font); border: 0; border-radius: 8px; padding: 6px 14px; margin-inline-end: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); cursor: pointer; }
