@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/eski/assets/fonts/inter-latin-ext-v20.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/eski/assets/fonts/inter-latin-v20.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10213d;
  --muted: #66788c;
  --soft-ink: #42536a;
  --paper: #f6faff;
  --white: #ffffff;
  --line: #dce8f4;
  --blue: #2563eb;
  --sky: #38bdf8;
  --teal: #14b8a6;
  --green: #22c55e;
  --orange: #f97316;
  --amber: #f59e0b;
  --pink: #ec4899;
  --violet: #7c3aed;
  --navy: #071826;
  --shadow: 0 20px 60px rgba(16, 33, 61, .12);
  --soft-shadow: 0 12px 28px rgba(16, 33, 61, .08);
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(142deg, rgba(56, 189, 248, .20) 0 18%, transparent 18% 52%, rgba(249, 115, 22, .12) 52% 64%, transparent 64%),
    linear-gradient(36deg, transparent 0 58%, rgba(124, 58, 237, .12) 58% 70%, transparent 70%),
    linear-gradient(180deg, #fbfdff 0%, #edf8ff 48%, #fff7ed 74%, #fbfdff 100%);
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.shell {
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}
.sidebar {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  border-radius: 32px;
  padding: 18px;
  color: white;
  background:
    linear-gradient(142deg, rgba(37, 99, 235, .88) 0 22%, transparent 22% 100%),
    linear-gradient(34deg, transparent 0 56%, rgba(249, 115, 22, .52) 56% 70%, transparent 70%),
    linear-gradient(180deg, rgba(7, 24, 38, .88), rgba(16, 33, 61, .98)),
    url("/eski/assets/photos-global/education-v20260626.jpg") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidebar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: linear-gradient(135deg, var(--sky), var(--teal), var(--orange));
  clip-path: polygon(0 48%, 100% 10%, 100% 100%, 0 100%);
  opacity: .78;
}
.side-inner, .side-bottom { position: relative; z-index: 1; }
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #efffff;
  border: 2px solid #c9faff;
}
.brand strong, .brand span { display: block; line-height: .96; font-weight: 900; }
.brand strong { font-size: 18px; }
.brand span { color: #61dcff; font-size: 22px; }
.role-card {
  margin-top: 24px;
  border-radius: 26px;
  padding: 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
}
.role-card b { display: block; font-size: 22px; }
.role-card small { display: block; margin-top: 6px; color: #d4e7f7; font-weight: 800; }
.role-pill {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 9px 12px;
  color: #06202f;
  background: #dff8ff;
  font-size: 13px;
  font-weight: 900;
}
.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.side-nav a, .side-nav button {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 13px 14px;
  color: #e7f3ff;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
  transition: background .2s ease, transform .2s ease;
}
.side-nav a:hover, .side-nav a.active, .side-nav button:hover, .side-nav button.active {
  background: rgba(255,255,255,.14);
  transform: translateX(2px);
}
.side-nav i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  font-style: normal;
  font-size: 13px;
}
.side-bottom { display: grid; gap: 10px; }
.side-bottom a {
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  background: rgba(255,255,255,.16);
  color: white;
  font-weight: 900;
}
.main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.top {
  border-radius: 34px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,248,255,.92) 52%, rgba(255,247,237,.88)),
    white;
  border: 1px solid rgba(220,232,244,.9);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.top h1 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1; letter-spacing: 0; }
.top p { margin: 8px 0 0; color: var(--muted); font-weight: 820; }
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; }
.btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16,33,61,.12); }
.btn-primary { color: white; background: var(--ink); box-shadow: none; }
.btn-blue { color: white; background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: none; }
.btn-danger { color: white; background: var(--pink); box-shadow: none; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(135deg, white, color-mix(in srgb, var(--accent, var(--sky)) 9%, white));
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
  animation: rise .55s ease both;
}
.metric::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -26px;
  top: -28px;
  border-radius: 999px;
  background: var(--accent, var(--sky));
  opacity: .18;
}
.metric:nth-child(1) { --accent: var(--sky); }
.metric:nth-child(2) { --accent: var(--orange); }
.metric:nth-child(3) { --accent: var(--teal); }
.metric:nth-child(4) { --accent: var(--violet); }
.metric span { color: var(--muted); font-size: 13px; font-weight: 900; }
.metric strong { display: block; margin-top: 10px; font-size: 34px; line-height: 1; }
.metric em { display: block; margin-top: 10px; color: var(--green); font-style: normal; font-size: 13px; font-weight: 900; }
.grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 18px; align-items: start; }
.grid.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel {
  border-radius: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,251,255,.94));
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.panel h2 { margin: 0; font-size: 24px; line-height: 1.08; }
.panel-head p, .subtle { margin: 6px 0 0; color: var(--muted); font-weight: 800; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft-ink);
  cursor: pointer;
  font-weight: 900;
}
.tab.active {
  color: white;
  background: var(--ink);
  box-shadow: none;
}
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: white; }
th, td { padding: 13px 14px; border-bottom: 1px solid #edf3fa; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: #f7fbff; }
td { font-weight: 820; color: #24364b; }
tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  color: #075985;
  background: #e0f7ff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.badge.green { color: #065f46; background: #dcfce7; }
.badge.orange { color: #9a3412; background: #ffedd5; }
.badge.pink { color: #9d174d; background: #fce7f3; }
.badge.violet { color: #5b21b6; background: #ede9fe; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { color: var(--soft-ink); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 820;
}
.field textarea { min-height: 88px; padding: 12px; resize: vertical; }
.image-field {
  grid-column: 1 / -1;
  border-radius: 22px;
  padding: 14px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
}
.image-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.image-field-head label {
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.image-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr);
  gap: 10px;
}
.image-tools input[type="url"] {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 820;
  min-width: 0;
}
.image-tools input[type="file"] {
  min-height: 44px;
  border: 1px dashed #b9d7ef;
  border-radius: 14px;
  background: white;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  min-width: 0;
}
.image-presets {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.image-preset {
  min-height: 70px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: linear-gradient(180deg, rgba(7,24,38,.18), rgba(7,24,38,.68)), var(--preset) center / cover;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: end start;
  padding: 9px;
  text-align: left;
}
.thumb {
  width: 78px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  background: #eaf5ff;
  border: 1px solid #d8eaf8;
}
.account-card {
  border-radius: 28px;
  padding: 22px;
  color: white;
  background:
    linear-gradient(140deg, rgba(37,99,235,.46) 0 24%, transparent 24% 62%, rgba(249,115,22,.40) 62% 74%, transparent 74%),
    linear-gradient(135deg, #10213d, #155e75);
  box-shadow: var(--shadow);
}
.account-card b { display: block; font-size: 26px; }
.account-card p { margin: 10px 0 0; color: #d8edf7; font-weight: 820; line-height: 1.4; }
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(142deg, rgba(56,189,248,.24) 0 18%, transparent 18% 52%, rgba(249,115,22,.16) 52% 64%, transparent 64%),
    linear-gradient(180deg, #f7fbff, #edf8ff 52%, #fff7ed);
}
.admin-login-card {
  width: min(920px, 100%);
  border-radius: 36px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
}
.admin-login-visual {
  min-height: 520px;
  padding: 28px;
  color: white;
  background:
    linear-gradient(145deg, rgba(37,99,235,.46) 0 22%, transparent 22% 62%, rgba(249,115,22,.42) 62% 74%, transparent 74%),
    linear-gradient(180deg, rgba(7,24,38,.46), rgba(7,24,38,.94)),
    url("/eski/assets/photos-global/education-v20260626.jpg") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.admin-login-visual h1 { margin: 22px 0 0; font-size: clamp(38px, 6vw, 68px); line-height: .95; }
.admin-login-visual p { color: #d9e7f5; font-size: 17px; line-height: 1.4; font-weight: 820; }
.admin-login-main { padding: 34px; display: grid; align-content: center; gap: 16px; }
.admin-login-main h2 { margin: 0; font-size: 34px; line-height: 1; }
.admin-login-main p { margin: 0; color: var(--muted); font-weight: 820; }
.admin-login-form { display: grid; gap: 12px; margin-top: 8px; }
.admin-login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 850;
}
.admin-login-error {
  display: none;
  border-radius: 16px;
  padding: 12px;
  color: #9d174d;
  background: #fce7f3;
  font-weight: 850;
}
.admin-login-error.show { display: block; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar select { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; color: var(--ink); background: white; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card {
  border-radius: 22px;
  padding: 18px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
}
.mini-card b { display: block; font-size: 18px; }
.mini-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.35; font-weight: 800; }
.mini-card strong { display: block; margin-top: 10px; font-size: 28px; line-height: 1; }
.mini-card.accent-blue { background: #eef7ff; border-color: #cdeaff; }
.mini-card.accent-orange { background: #fff7ed; border-color: #fed7aa; }
.mini-card.accent-green { background: #ecfdf5; border-color: #bbf7d0; }
.mini-card.accent-violet { background: #f5f3ff; border-color: #ddd6fe; }
.bar {
  height: 12px;
  border-radius: 999px;
  background: #edf3fa;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  width: var(--value);
  animation: fill 1s ease both;
}
.list { display: grid; gap: 12px; }
.item {
  border-radius: 20px;
  padding: 14px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
}
.item b { display: block; }
.item small, .item p { display: block; margin: 6px 0 0; color: var(--muted); font-weight: 800; line-height: 1.35; }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.score-list { display: grid; gap: 10px; }
.score {
  border-radius: 18px;
  padding: 12px;
  background: white;
  border: 1px solid #e4eef8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.score b { display: block; }
.score small { color: var(--muted); font-weight: 850; }
.score-meter { min-width: 120px; display: grid; gap: 6px; }
.score-meter strong { font-size: 14px; text-align: right; }
.notice {
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border: 1px solid #cdeaff;
}
.notice b { display: block; font-size: 18px; }
.notice p { margin: 8px 0 0; color: var(--muted); font-weight: 820; line-height: 1.4; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow-step {
  border-radius: 22px;
  padding: 16px;
  color: white;
  background: var(--ink);
  min-height: 130px;
}
.flow-step:nth-child(2) { background: var(--blue); }
.flow-step:nth-child(3) { background: var(--teal); }
.flow-step:nth-child(4) { background: var(--orange); }
.flow-step span { opacity: .75; font-weight: 900; }
.flow-step b { display: block; margin-top: 18px; font-size: 18px; }
.flow-step p { margin: 7px 0 0; color: rgba(255,255,255,.84); font-weight: 800; line-height: 1.35; }
.empty {
  border: 1px dashed #c9d9e8;
  border-radius: 22px;
  padding: 22px;
  color: var(--muted);
  background: #f8fbff;
  font-weight: 850;
}
.public-cta {
  margin: 24px auto 0;
  border-radius: 36px;
  padding: 30px;
  color: white;
  background:
    linear-gradient(140deg, rgba(37,99,235,.52) 0 20%, transparent 20% 56%, rgba(249,115,22,.48) 56% 68%, transparent 68%),
    linear-gradient(36deg, transparent 0 58%, rgba(217,70,239,.34) 58% 70%, transparent 70%),
    linear-gradient(90deg, rgba(7,24,38,.95), rgba(7,24,38,.66)),
    url("/eski/assets/photos-global/study-v20260626.jpg") center / cover;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.public-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--sky), var(--teal), var(--amber), var(--pink), var(--violet));
}
.public-cta > * { position: relative; z-index: 1; }
.public-cta .kicker {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 12px;
  color: #063047;
  background: #dff8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.public-cta h2 {
  margin: 14px 0 0;
  color: white;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: .98;
}
.public-cta p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 820;
}
.public-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.public-cta-actions .btn {
  min-height: 52px;
  padding: 0 18px;
}
.public-cta-actions .btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal), var(--green));
}
.public-cta-actions .btn:not(.btn-primary) {
  color: white;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.public-cta-panel {
  border-radius: 28px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: 0 24px 62px rgba(0,0,0,.16);
  display: grid;
  gap: 10px;
}
.public-cta-line {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  border-radius: 20px;
  padding: 12px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
}
.public-cta-line i {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent, var(--blue));
  font-style: normal;
  font-weight: 900;
}
.public-cta-line:nth-child(2) { --accent: var(--orange); }
.public-cta-line:nth-child(3) { --accent: var(--teal); }
.public-cta-line b,
.public-cta-line span { display: block; }
.public-cta-line span { margin-top: 3px; color: var(--muted); font-weight: 820; line-height: 1.3; font-size: 13px; }
.public-footer {
  margin-top: 28px;
  color: rgba(255,255,255,.76);
  background:
    linear-gradient(145deg, rgba(37,99,235,.20) 0 18%, transparent 18% 58%, rgba(249,115,22,.20) 58% 70%, transparent 70%),
    linear-gradient(180deg, #071826, #0c2035);
  border-top: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
.public-footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 32px;
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) repeat(3, minmax(160px, .62fr));
  gap: 24px;
}
.public-footer .brand strong { color: white; }
.public-footer .brand span { color: #61dcff; }
.public-footer-copy {
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
  line-height: 1.45;
  font-weight: 820;
}
.public-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.public-footer-tags span {
  border-radius: 999px;
  padding: 8px 10px;
  color: #dff8ff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
  font-size: 12px;
  font-weight: 900;
}
.public-footer-col h3 {
  margin: 0 0 14px;
  color: white;
  font-size: 15px;
}
.public-footer-col a,
.public-footer-col span {
  display: block;
  color: rgba(255,255,255,.72);
  font-weight: 820;
  line-height: 1.35;
}
.public-footer-col a + a,
.public-footer-col span + span { margin-top: 10px; }
.public-footer-col a:hover { color: white; }
.public-footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 820;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(1040px, 100%);
  border-radius: 38px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}
.login-hero {
  min-height: 620px;
  color: white;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(7,24,38,.55), rgba(7,24,38,.94)),
    url("/eski/assets/photos-global/hero-v20260626.jpg") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-hero h1 { margin: 26px 0 0; font-size: clamp(38px, 6vw, 68px); line-height: .96; }
.login-hero p { color: #d9e7f5; font-size: 18px; line-height: 1.4; font-weight: 800; }
.login-main { padding: 34px; display: grid; align-content: center; gap: 18px; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.role-link {
  border-radius: 26px;
  padding: 22px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.role-link:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); border-color: #b9e7ff; }
.role-link span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: var(--blue);
  font-weight: 900;
  margin-bottom: 16px;
}
.role-link:nth-child(2) span { background: var(--teal); }
.role-link:nth-child(3) span { background: var(--orange); }
.role-link:nth-child(4) span { background: var(--violet); }
.role-link b { display: block; font-size: 20px; }
.role-link small { display: block; margin-top: 7px; color: var(--muted); font-weight: 800; line-height: 1.35; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fill { from { width: 0; } to { width: var(--value); } }
@media (max-width: 1120px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: auto; height: auto; min-height: 0; }
  .side-nav { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .grid, .grid.equal, .grid.three { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .public-cta,
  .public-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .login-card { grid-template-columns: 1fr; }
  .login-hero { min-height: auto; }
  .admin-login-card { grid-template-columns: 1fr; }
  .admin-login-visual { min-height: 260px; }
}
@media (max-width: 760px) {
  .shell { padding: 10px; gap: 12px; }
  .sidebar, .top, .panel { border-radius: 24px; }
  .sidebar { position: relative; top: auto; height: auto; padding: 10px; border-radius: 22px; }
  .sidebar::after { height: 78px; opacity: .62; }
  .role-card { display: none; }
  .side-inner { display: grid; gap: 8px; }
  .side-nav { display: flex; grid-template-columns: none; overflow-x: auto; gap: 6px; margin-top: 8px; padding-bottom: 2px; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav button, .side-nav a { width: auto; flex: 0 0 auto; padding: 9px 10px; border-radius: 14px; font-size: 12px; white-space: nowrap; }
  .side-nav i { width: 24px; height: 24px; border-radius: 9px; }
  .side-bottom { display: none; }
  .sidebar .brand { padding: 4px; gap: 8px; }
  .sidebar .brand img { width: 40px; height: 40px; border-radius: 14px; }
  .sidebar .brand strong { font-size: 15px; }
  .sidebar .brand span { font-size: 18px; }
  .top { display: grid; }
  .panel-head { display: grid; }
  .top-actions { justify-content: stretch; }
  .top-actions .btn { width: 100%; }
  .metrics, .cards, .role-grid, .flow { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .image-tools { grid-template-columns: 1fr; }
  .image-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-login { padding: 12px; align-items: start; }
  .admin-login-card { border-radius: 26px; }
  .admin-login-visual { min-height: 220px; padding: 20px; }
  .admin-login-main { padding: 22px; }
  .admin-login-main h2 { font-size: 28px; }
  .public-cta { border-radius: 26px; padding: 22px; }
  .public-cta-panel { border-radius: 22px; padding: 14px; }
  .public-cta-actions .btn { width: 100%; }
  .public-footer-inner { width: min(100% - 24px, 1240px); padding: 36px 0 26px; }
  .public-footer-bottom { width: min(100% - 24px, 1240px); display: grid; }
}
@media (max-width: 480px) {
  .metrics, .side-nav { grid-template-columns: 1fr; }
  .panel, .top { padding: 18px; }
  .score { grid-template-columns: 1fr; }
  .score-meter { min-width: 0; }
}

/* Final admin polish: slimmer menu, clearer cards, book color previews. */
.shell {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 16px;
}

.sidebar {
  border-radius: 28px;
  padding: 14px;
}

.role-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
}

.role-card b {
  font-size: 19px;
}

.role-card small {
  font-size: 13px;
  line-height: 1.32;
}

.role-pill {
  margin-top: 10px;
  padding: 7px 10px;
}

.side-nav {
  gap: 7px;
  margin-top: 16px;
}

.side-nav a,
.side-nav button {
  min-height: 48px;
  padding: 9px 10px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.1;
  background: rgba(255, 255, 255, .08);
}

.side-nav a:hover,
.side-nav a.active,
.side-nav button:hover,
.side-nav button.active {
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.12));
  transform: translateX(0);
}

.side-nav i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 12px;
}

.side-bottom {
  grid-template-columns: 1fr;
  gap: 7px;
}

.side-bottom a {
  padding: 10px;
  border-radius: 14px;
  font-size: 13px;
}

.top {
  border-radius: 30px;
}

.metric,
.panel,
.mini-card,
.flow-step {
  overflow-wrap: anywhere;
}

.flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
  min-height: 0;
  padding: 18px 16px;
}

.flow-step b {
  margin-top: 12px;
  font-size: 17px;
}

.flow-step p {
  font-size: 13px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.color-dot {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--dot);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
  }

  .side-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 10px;
  }

  .sidebar {
    border-radius: 24px;
  }

  .role-card,
  .side-bottom {
    display: none;
  }

  .side-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-top: 10px;
  }

  .side-nav a,
  .side-nav button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .top h1 {
    font-size: 30px;
  }

  .metrics,
  .flow,
  .cards,
  .grid,
  .grid.equal {
    grid-template-columns: 1fr;
  }
}

/* 20260626bzzzzzz: mobile admin navigation should fit, not scroll sideways. */
@media (max-width: 760px) {
  body .sidebar {
    padding: 10px !important;
    overflow: hidden !important;
  }

  body .side-inner {
    gap: 8px !important;
  }

  body .side-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  body .side-nav a,
  body .side-nav button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 7px 8px !important;
    flex: none !important;
    white-space: normal !important;
    font-size: 11.6px !important;
    line-height: 1.08 !important;
  }

  body .side-nav i {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
    border-radius: 9px !important;
  }
}

@media (max-width: 360px) {
  body .side-nav {
    grid-template-columns: 1fr !important;
  }
}

/* 20260626bzzzzzzz: keep public floating widgets out of the admin dashboard. */
body:has(.shell) .dk-whatsapp-float,
body:has(.admin-login) .dk-whatsapp-float,
body:has(.shell) .dk-ai-float:not(.open),
body:has(.admin-login) .dk-ai-float:not(.open) {
  display: none !important;
}

/* 20260627l: full admin polish across login, dashboard, records, account and settings. */
body:has(.shell),
body:has(.admin-login) {
  background: #f4f7fb;
}

body:has(.shell) {
  color: #142238;
}

body:has(.shell) .shell {
  width: min(1440px, 100%);
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

body:has(.shell) .sidebar {
  top: 20px;
  height: calc(100vh - 40px);
  border-radius: 24px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(20,34,56,.96), rgba(10,25,42,.98)),
    #10213d;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(12, 28, 48, .18);
}

body:has(.shell) .sidebar::after {
  top: 0;
  bottom: auto;
  height: 4px;
  clip-path: none;
  background: linear-gradient(90deg, #2563eb, #14b8a6, #f97316, #7c3aed);
  opacity: 1;
}

body:has(.shell) .sidebar .brand {
  min-height: 58px;
  padding: 8px 9px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

body:has(.shell) .sidebar .brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

body:has(.shell) .sidebar .brand strong {
  font-size: 15px;
  color: #eff8ff;
}

body:has(.shell) .sidebar .brand span {
  font-size: 18px;
  color: #49d7f2;
}

body:has(.shell) .role-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.12);
}

body:has(.shell) .role-card b {
  font-size: 18px;
}

body:has(.shell) .role-card small {
  color: #c8d7e8;
  font-size: 12.5px;
}

body:has(.shell) .role-pill {
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  color: #082f49;
  background: #dff8ff;
}

body:has(.shell) .side-nav {
  gap: 6px;
  margin-top: 14px;
}

body:has(.shell) .side-nav a,
body:has(.shell) .side-nav button {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #d8e7f6;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0;
}

body:has(.shell) .side-nav a:hover,
body:has(.shell) .side-nav button:hover {
  background: rgba(255,255,255,.09);
}

body:has(.shell) .side-nav a.active,
body:has(.shell) .side-nav button.active {
  color: #071826;
  background: #f8fbff;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

body:has(.shell) .side-nav i {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
}

body:has(.shell) .side-nav .active i {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
}

body:has(.shell) .side-bottom {
  gap: 7px;
}

body:has(.shell) .side-bottom a {
  padding: 10px;
  border-radius: 13px;
  color: #d8e7f6;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12.5px;
}

body:has(.shell) .main {
  gap: 16px;
}

body:has(.shell) .top,
body:has(.shell) .panel,
body:has(.shell) .metric,
body:has(.shell) .mini-card,
body:has(.shell) .account-card,
body:has(.shell) .notice {
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 32, 52, .07);
}

body:has(.shell) .top {
  padding: 20px;
  background: #fff;
  border-color: #e1eaf4;
}

.admin-kicker {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 0 10px;
  color: #075985;
  background: #e0f7ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body:has(.shell) .top h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
}

body:has(.shell) .top p {
  max-width: 760px;
  color: #637488;
  font-size: 14px;
  line-height: 1.45;
}

body:has(.shell) .btn {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px #dbe7f2;
}

body:has(.shell) .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: none;
}

body:has(.shell) .btn-danger {
  background: #e11d48;
  box-shadow: none;
}

body:has(.shell) .metrics {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

body:has(.shell) .metric {
  padding: 18px;
  background: #fff;
  border-left: 4px solid var(--accent, #38bdf8);
}

body:has(.shell) .metric::after {
  display: none;
}

body:has(.shell) .metric:nth-child(5) {
  --accent: var(--pink);
}

body:has(.shell) .metric span {
  font-size: 12px;
}

body:has(.shell) .metric strong {
  margin-top: 8px;
  font-size: 30px;
}

body:has(.shell) .metric em {
  margin-top: 8px;
  color: #0f766e;
  font-size: 12px;
}

body:has(.shell) .grid:not(.equal):not(.three) {
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
  gap: 16px;
}

body:has(.shell) .grid.equal {
  gap: 16px;
}

body:has(.shell) .panel {
  padding: 20px;
  background: #fff;
  border-color: #e1eaf4;
}

body:has(.shell) .panel-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf3fa;
}

body:has(.shell) .panel h2 {
  font-size: 22px;
}

body:has(.shell) .panel-head p,
body:has(.shell) .subtle {
  color: #637488;
  font-size: 13px;
  line-height: 1.42;
}

body:has(.shell) .form-grid {
  gap: 13px;
}

body:has(.shell) .field {
  gap: 7px;
}

body:has(.shell) .field label,
body:has(.shell) .image-field-head label {
  color: #4a5c72;
  font-size: 11px;
  letter-spacing: .06em;
}

body:has(.shell) .field input,
body:has(.shell) .field select,
body:has(.shell) .field textarea,
body:has(.shell) .image-tools input[type="url"],
body:has(.shell) .admin-login-form input {
  min-height: 42px;
  border-radius: 12px;
  background: #f9fbfe;
  border-color: #dbe7f2;
  font-weight: 780;
}

body:has(.shell) .field textarea {
  min-height: 92px;
}

body:has(.shell) .field input:focus,
body:has(.shell) .field select:focus,
body:has(.shell) .field textarea:focus,
body:has(.shell) .image-tools input:focus,
body:has(.admin-login) .admin-login-form input:focus {
  outline: 3px solid rgba(56,189,248,.22);
  border-color: #38bdf8;
  background: #fff;
}

body:has(.shell) .image-field {
  border-radius: 16px;
  background: #f7fbff;
}

body:has(.shell) .image-presets {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

body:has(.shell) .image-preset {
  min-height: 58px;
  border-radius: 13px;
}

body:has(.shell) .table-wrap {
  border-radius: 16px;
  background: #fff;
  border-color: #dbe7f2;
}

body:has(.shell) table {
  min-width: 720px;
}

body:has(.shell) th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #52657b;
  background: #f3f7fb;
}

body:has(.shell) th,
body:has(.shell) td {
  padding: 12px;
}

body:has(.shell) tbody tr:hover td {
  background: #fbfdff;
}

body:has(.shell) td {
  color: #26384e;
  font-weight: 760;
}

body:has(.shell) .status-line {
  gap: 7px;
}

body:has(.shell) td .status-line {
  margin-top: 0;
}

body:has(.shell) td .btn,
body:has(.shell) .item .btn {
  min-height: 34px;
  border-radius: 10px;
  padding: 0 11px;
}

body:has(.shell) .badge {
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
}

body:has(.shell) .cards {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

body:has(.shell) .mini-card {
  padding: 16px;
  background: #fbfdff;
  border-color: #dbe7f2;
}

body:has(.shell) .mini-card b {
  font-size: 16px;
}

body:has(.shell) .mini-card strong {
  font-size: 26px;
}

body:has(.shell) .item {
  border-radius: 16px;
  background: #fbfdff;
}

body:has(.shell) .flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body:has(.shell) .flow-step {
  border-radius: 16px;
  min-height: 126px;
  padding: 15px;
  background: #10213d;
}

body:has(.shell) .flow-step:nth-child(2) {
  background: #1d4ed8;
}

body:has(.shell) .flow-step:nth-child(3) {
  background: #0f766e;
}

body:has(.shell) .flow-step:nth-child(4) {
  background: #c2410c;
}

body:has(.shell) .flow-step b {
  font-size: 16px;
}

body:has(.shell) .flow-step p {
  color: rgba(255,255,255,.82);
}

body:has(.shell) .account-card {
  background: linear-gradient(135deg, #10213d, #0f766e);
}

body:has(.shell) .notice {
  background: #f0fdfa;
  border-color: #b8efe4;
}

body:has(.admin-login) .admin-login {
  background:
    linear-gradient(180deg, rgba(244,247,251,.96), rgba(233,242,250,.96)),
    #f4f7fb;
}

body:has(.admin-login) .admin-login-card {
  width: min(880px, 100%);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 32, 52, .14);
}

body:has(.admin-login) .admin-login-visual {
  min-height: 440px;
  background:
    linear-gradient(145deg, rgba(37,99,235,.44) 0 24%, transparent 24% 66%, rgba(20,184,166,.42) 66% 78%, transparent 78%),
    linear-gradient(180deg, rgba(7,24,38,.42), rgba(7,24,38,.96)),
    url("/eski/assets/photos-global/education-v20260626.jpg") center / cover;
}

body:has(.admin-login) .admin-login-visual h1 {
  font-size: clamp(36px, 5vw, 58px);
}

body:has(.admin-login) .admin-login-main {
  padding: 32px;
}

body:has(.admin-login) .admin-login-main h2 {
  font-size: 32px;
}

@media (max-width: 1120px) {
  body:has(.shell) .shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body:has(.shell) .sidebar {
    position: relative;
    top: auto;
    height: auto;
  }

  body:has(.shell) .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body:has(.shell) .side-bottom {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 12px;
  }

  body:has(.shell) .grid:not(.equal):not(.three),
  body:has(.shell) .grid.equal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body:has(.shell) .shell {
    padding: 8px;
    gap: 10px;
  }

  body:has(.shell) .sidebar {
    padding: 10px !important;
    border-radius: 18px;
  }

  body:has(.shell) .sidebar .brand {
    min-height: 50px;
  }

  body:has(.shell) .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body:has(.shell) .side-nav a,
  body:has(.shell) .side-nav button {
    min-height: 40px !important;
    border-radius: 12px;
    font-size: 11px !important;
  }

  body:has(.shell) .top {
    padding: 16px;
    border-radius: 18px;
  }

  body:has(.shell) .top h1 {
    font-size: 26px;
  }

  body:has(.shell) .top p {
    font-size: 13px;
  }

  body:has(.shell) .top-actions .btn {
    width: auto;
    flex: 1 1 140px;
  }

  body:has(.shell) .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.shell) .metric {
    padding: 14px;
  }

  body:has(.shell) .metric strong {
    font-size: 25px;
  }

  body:has(.shell) .panel {
    padding: 16px;
    border-radius: 18px;
  }

  body:has(.shell) .panel-head {
    display: grid;
    gap: 10px;
  }

  body:has(.shell) .flow,
  body:has(.shell) .cards {
    grid-template-columns: 1fr;
  }

  body:has(.admin-login) .admin-login {
    padding: 10px;
    align-items: start;
  }

  body:has(.admin-login) .admin-login-card {
    border-radius: 22px;
  }

  body:has(.admin-login) .admin-login-visual {
    min-height: 210px;
    padding: 20px;
  }

  body:has(.admin-login) .admin-login-main {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  body:has(.shell) .metrics {
    grid-template-columns: 1fr;
  }
}
