.admissions-open.closed { color: #d3a7a7; }
.admissions-open.closed span { background: #a96565; box-shadow: 0 0 0 5px #a9656518; }
.admissions-closed { background: #111112; border: 1px solid #343435; border-radius: 8px; padding: 34px; }
.admissions-closed h3 { font-size: 26px; margin: 0 0 14px; }
.admissions-closed p { margin: 0; }
#settings-drawer { width: min(780px, 100%); overflow: auto; }
.settings-form { display: grid; gap: 26px; margin-top: 28px; }
.settings-form section { border-top: 1px solid var(--line); padding-top: 22px; }
.settings-form h3 { font-size: 18px; margin: 0 0 17px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-grid .full { grid-column: 1 / -1; }
.settings-form textarea { min-height: 108px; resize: vertical; }
.switch-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; color: #ddd; line-height: 1.4; }
.switch-row input { width: 20px; height: 20px; flex: 0 0 auto; }
.switch-row small { display: block; color: #888; margin-top: 4px; }
.settings-actions { position: sticky; bottom: -35px; background: #121213; border-top: 1px solid var(--line); padding: 18px 0 35px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.saved { color: #9fd4ad; font-size: 14px; }
.saved.error-message { color: #ffadb7; }
@media (max-width: 600px) {
  .settings-grid { grid-template-columns: 1fr; }
  .settings-grid .full { grid-column: auto; }
  .settings-actions { bottom: -24px; padding-bottom: 24px; }
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #9fd4ad;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

.brand { min-height: 44px; }

.form-card[aria-busy="true"] .field-grid,
.detail-form[aria-busy="true"] .field,
.settings-form[aria-busy="true"] section {
  opacity: .72;
}

.switch-row small { color: #aaa; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Hillside public UI — 2026-09-21. Presentation only. */
body:has(> .direct-page) { background: #0b0c0b; color: #f4f3ee; }
body:has(> .direct-page) .site-nav { min-height: 84px; padding-inline: max(24px, calc((100% - 1240px)/2)); border-bottom-color: #ffffff14; }
body:has(> .direct-page) .site-nav > a:last-child { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid #dddcd1; border-radius: 6px; background: #efeee5; color: #141713; font-size: 14px; font-weight: 600; transition: background .15s ease; }
body:has(> .direct-page) .site-nav > a:last-child:hover { background: #d9e7d7; }
.direct-page .direct-layout { width: min(1240px, calc(100% - 64px)); grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: start; gap: clamp(36px,5vw,72px); padding-block: 48px 64px; }
.direct-page .direct-intro { min-width: 0; padding-top: 8px; }
.direct-page .admissions-open { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 25px; padding: 8px 12px; border: 1px solid #9fd4ad25; border-radius: 40px; background: #9fd4ad08; font-size: 12px; }
.direct-page .eyebrow { color: #b2b5ab; font-size: 11px; letter-spacing: .16em; }
.direct-page h1 { margin: 20px 0 24px; font-size: clamp(44px,5.2vw,72px); line-height: 1.04; letter-spacing: -.045em; }
.direct-page h1 em { color: #c8cebc; }
.direct-page .direct-lead { max-width: 49ch; margin: 0 0 28px; color: #bdc0b6; font-size: 16px; line-height: 1.75; }
.direct-page .direct-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.direct-page .direct-facts > div { min-width: 0; padding: 18px 14px; border: 1px solid #ffffff17; border-radius: 8px; background: #ffffff03; }
.direct-page .direct-facts strong { display: block; margin-bottom: 9px; font-size: clamp(18px,1.7vw,23px); font-weight: 600; letter-spacing: -.025em; }
.direct-page .direct-facts span { color: #aeb3a6; font-size: 12px; line-height: 1.65; }
.direct-page .cpf-note { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #a7c8a64d; border-left: 3px solid #b2d6ad; border-radius: 8px; background: #202b20; color: #eff6e9; font-size: 15px; font-weight: 500; line-height: 1.6; }
.direct-page .direct-note { max-width: 55ch; margin: 0; color: #a4aa9d; font-size: 12px; line-height: 1.8; }
.direct-page .direct-application { min-width: 0; padding: 28px; background: #121512; border: 1px solid #ffffff20; border-radius: 12px; box-shadow: 0 20px 60px #00000024; scroll-margin-top: 108px; }
.direct-page .direct-form-heading { gap: 16px; padding-bottom: 24px; }
.direct-page .direct-form-heading h2 { font-size: clamp(25px,2.4vw,32px); letter-spacing: -.035em; line-height: 1.2; }
.direct-page .direct-form-heading > span { flex-shrink: 0; color: #c1c8b8; border-color: #ffffff20; border-radius: 5px; }
.direct-page .form-card { min-width: 0; }
.direct-page .form-stepper { gap: 8px; color: #abb3a3; }
.direct-page .form-stepper .active { color: #edf3e7; }
.direct-page .field-grid { min-width: 0; gap: 18px 14px; }
.direct-page .field { min-width: 0; }
.direct-page .field input, .direct-page .field select, .direct-page .field textarea { min-width: 0; max-width: 100%; background: #ffffff04; border-color: #ffffff26; border-radius: 6px; min-height: 48px; font-size: 16px; color: #f0f2eb; }
.direct-page input::placeholder, .direct-page textarea::placeholder { color: #969e8e; opacity: 1; }
.direct-page .button { min-height: 48px; border-radius: 6px; padding-inline: 24px; font-weight: 600; }
.direct-page .button:not(.ghost) { background: #e4eddc; color: #182017; border: 1px solid #e4eddc; }
.direct-page .button:not(.ghost):hover { background: #cddfc2; }
.direct-page .button.ghost { border: 1px solid #ffffff30; }
.direct-page .fine { color: #a6ad9e; line-height: 1.6; }
body:has(> .direct-page) .direct-footer { border-top: 1px solid #ffffff17; padding-block: 24px; gap: 16px; color: #a2a89b; }
@media (max-width: 960px) {
 .direct-page .direct-layout { width: min(700px,calc(100% - 48px)); grid-template-columns: minmax(0,1fr); gap: 36px; padding-block: 32px 48px; }
 .direct-page .direct-intro { padding: 0; }
 .direct-page h1 { font-size: clamp(44px,7.6vw,66px); }
 .direct-page .direct-lead { max-width: 55ch; }
}
@media (max-width: 540px) {
 body:has(> .direct-page) .site-nav { min-height: 76px; padding-inline: 18px; gap: 12px; }
 body:has(> .direct-page) .site-nav > a:last-child { padding-inline: 12px; font-size: 12px; }
 .direct-page .direct-layout { width: calc(100% - 36px); padding-top: 28px; gap: 30px; }
 .direct-page .admissions-open { margin-bottom: 20px; }
 .direct-page h1 { font-size: clamp(38px,10.6vw,54px); margin-block: 16px 20px; }
 .direct-page .direct-lead { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
 .direct-page .direct-facts { gap: 7px; }
 .direct-page .direct-facts > div { padding: 14px 9px; }
 .direct-page .direct-facts strong { font-size: 19px; }
 .direct-page .direct-facts span { font-size: 11px; }
 .direct-page .cpf-note { padding: 15px 16px; font-size: 14px; }
 .direct-page .direct-application { padding: 22px 18px; }
 .direct-page .form-stepper { font-size: 11px; gap: 6px; }
 .direct-page .field-grid { grid-template-columns: minmax(0,1fr); }
 .direct-page .form-controls { gap: 10px; }
 .direct-page .form-controls .button { flex: 1; padding-inline: 14px; }
 body:has(> .direct-page) .direct-footer { flex-wrap: wrap; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 body:has(> .direct-page) .site-nav > a:last-child { transition: none; }
}

/* Mobile layout correction — 2026-09-21 */
@media (max-width: 620px) {
  .direct-page h1 {
    font-size: clamp(36px, 9.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -.04em;
  }
  .direct-page .direct-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .direct-page .direct-facts > div {
    display: grid;
    grid-template-columns: minmax(108px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }
  .direct-page .direct-facts strong {
    min-width: 0;
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }
  .direct-page .direct-facts span {
    min-width: 0;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
  }
  .direct-page .cpf-note {
    margin-top: 14px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.55;
  }
}
@media (max-width: 360px) {
  .direct-page .direct-facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Premium blue accents and lightweight effects — 2026-09-21 */
body:has(> .direct-page) {
  background:
    radial-gradient(circle at 16% 9%, rgba(72, 116, 214, .10), transparent 30rem),
    radial-gradient(circle at 88% 34%, rgba(53, 92, 182, .055), transparent 26rem),
    #0b0c0f;
}
body:has(> .direct-page) .site-nav > a:last-child {
  border-color: #cbd9f5;
  background: #e5edfc;
  color: #111827;
  box-shadow: 0 8px 28px rgba(69, 110, 205, .12);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
body:has(> .direct-page) .site-nav > a:last-child:hover {
  background: #d5e2fb;
  box-shadow: 0 12px 34px rgba(75, 119, 220, .22);
  transform: translateY(-1px);
}
.direct-page .admissions-open {
  color: #cbdcff;
  border-color: rgba(104, 148, 245, .28);
  background: rgba(74, 111, 197, .10);
  box-shadow: inset 0 0 22px rgba(64, 105, 204, .05);
}
.direct-page .admissions-open span {
  background: #79a2ff;
  box-shadow: 0 0 0 5px rgba(121, 162, 255, .10), 0 0 16px rgba(121, 162, 255, .48);
}
.direct-page h1 em { color: #aebfe3; text-shadow: 0 0 30px rgba(104, 145, 232, .09); }
.direct-page .direct-facts > div {
  border-color: rgba(144, 173, 235, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(71,106,183,.035));
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.direct-page .direct-facts > div:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 163, 247, .40);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(71,106,183,.075));
  box-shadow: 0 12px 30px rgba(20, 48, 105, .16);
}
.direct-page .cpf-note {
  border-color: rgba(118, 158, 242, .46);
  border-left-color: #82a9ff;
  background: linear-gradient(105deg, rgba(28, 48, 91, .92), rgba(22, 31, 53, .92));
  color: #eef4ff;
  box-shadow: 0 12px 34px rgba(29, 63, 137, .16), inset 0 1px 0 rgba(255,255,255,.035);
}
.direct-page .direct-application {
  background: linear-gradient(155deg, rgba(20, 24, 34, .98), rgba(15, 18, 24, .98));
  border-color: rgba(136, 165, 227, .24);
  box-shadow: 0 24px 70px rgba(0,0,0,.30), 0 0 48px rgba(47, 79, 151, .055);
}
.direct-page progress { accent-color: #82a9ff; }
.direct-page .form-stepper .active { color: #dce7ff; }
.direct-page .form-stepper .active i { border-color: #82a9ff; color: #dce7ff; box-shadow: 0 0 14px rgba(130,169,255,.18); }
.direct-page .field input:focus,
.direct-page .field select:focus,
.direct-page .field textarea:focus {
  border-color: #789de9;
  box-shadow: 0 0 0 3px rgba(104, 145, 232, .12);
}
.direct-page .button:not(.ghost) {
  background: #dce7ff;
  border-color: #dce7ff;
  color: #111827;
  box-shadow: 0 8px 24px rgba(65, 104, 192, .14);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.direct-page .button:not(.ghost):hover {
  background: #c8d9fb;
  box-shadow: 0 12px 28px rgba(69, 111, 207, .23);
  transform: translateY(-1px);
}
.direct-page :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline-color: #82a9ff;
}
@media (hover: none) {
  .direct-page .direct-facts > div:hover,
  .direct-page .button:not(.ghost):hover,
  body:has(> .direct-page) .site-nav > a:last-child:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .direct-page .direct-facts > div,
  .direct-page .button:not(.ghost),
  body:has(> .direct-page) .site-nav > a:last-child { transition: none; }
}

/* Hillside admin — simplified workspace 2026-09-21 */
.admin-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(66, 104, 193, .11), transparent 30rem),
    #090a0d;
}
.admin-body .crm-nav {
  height: 68px;
  padding-inline: max(22px, calc((100vw - 1260px)/2));
  background: rgba(9, 10, 13, .94);
  border-bottom-color: rgba(139, 166, 226, .17);
  backdrop-filter: blur(12px);
}
.admin-body .crm-nav > div { gap: 7px; }
.admin-body .crm-nav .button.small {
  min-height: 40px;
  padding: 9px 12px;
  border-color: rgba(155, 175, 220, .26);
  border-radius: 6px;
  color: #d6dcea;
}
.admin-body .crm-nav .button.small:hover {
  border-color: rgba(126, 161, 235, .56);
  background: rgba(74, 109, 189, .09);
}
.admin-body .crm {
  width: min(1260px, calc(100% - 44px));
  margin: 36px auto 64px;
}
.admin-body .crm-header {
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(139, 166, 226, .15);
}
.admin-body .crm-header .eyebrow { margin-bottom: 10px; color: #93abdb; }
.admin-body .crm-header h1 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.04em;
}
.admin-body .crm-header .muted { margin: 10px 0 0; }
.admin-body .crm-header #export {
  flex: 0 0 auto;
  border-color: rgba(145, 171, 228, .32);
  color: #dce6fb;
}
.admin-body .stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
  border: 0;
  background: transparent;
}
.admin-body .stat {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(141, 164, 214, .17);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(55,84,151,.04));
}
.admin-body .stat strong {
  margin: 8px 0 4px;
  color: #edf3ff;
  font-size: 28px;
  line-height: 1;
}
.admin-body .stat p,
.admin-body .stat small { margin: 0; color: #9fa9bd; }
.admin-body .crm-controls {
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(155px, .8fr)) auto;
  gap: 9px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid rgba(139, 166, 226, .15);
  border-radius: 9px;
  background: rgba(18, 21, 28, .82);
}
.admin-body .crm-controls input,
.admin-body .crm-controls select {
  height: 44px;
  border-color: rgba(151, 169, 209, .25);
  border-radius: 6px;
  background: #151923;
  color: #eef2f8;
  font-size: 14px;
}
.admin-body .crm-controls input:focus,
.admin-body .crm-controls select:focus {
  outline: 0;
  border-color: #789de9;
  box-shadow: 0 0 0 3px rgba(104, 145, 232, .11);
}
.admin-body .crm-controls #refresh {
  min-height: 44px;
  padding: 10px 14px;
  border-color: rgba(145, 171, 228, .30);
  border-radius: 6px;
  color: #dbe5fa;
}
.admin-body .table-wrap {
  border-color: rgba(139, 166, 226, .17);
  border-radius: 9px;
  background: rgba(15, 17, 23, .82);
}
.admin-body table { min-width: 940px; }
.admin-body th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 13px 15px;
  background: #11141b;
  color: #8f9bb0;
  letter-spacing: .06em;
}
.admin-body td { padding: 14px 15px; }
.admin-body tbody tr { transition: background .15s ease; }
.admin-body tbody tr:hover { background: rgba(73, 105, 176, .065); }
.admin-body .pill {
  border-color: rgba(149, 171, 219, .30);
  background: rgba(66, 96, 164, .07);
}
.admin-body .open {
  color: #bcd0fa;
  text-decoration: none;
  font-weight: 600;
}
.admin-body .open:hover { color: #e4ecff; }
.admin-body dialog {
  background: linear-gradient(155deg, #151923, #101218);
  border-left-color: rgba(139, 166, 226, .22);
  box-shadow: -24px 0 70px rgba(0,0,0,.30);
}
.admin-body #settings-drawer { width: min(720px, 100%); }
.admin-body .settings-form section {
  padding: 20px;
  border: 1px solid rgba(139, 166, 226, .16);
  border-radius: 8px;
  background: rgba(255,255,255,.015);
}
.admin-body .settings-form section:first-child { border-top: 1px solid rgba(139, 166, 226, .16); }
.admin-body .settings-form h3 { color: #dce7ff; }
@media (max-width: 1080px) {
  .admin-body .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .crm-controls { grid-template-columns: minmax(240px, 2fr) repeat(2, minmax(150px, 1fr)); }
  .admin-body .crm-controls #refresh { grid-column: auto; }
}
@media (max-width: 700px) {
  .admin-body .crm-nav {
    height: auto;
    min-height: 64px;
    padding: 10px 12px;
    gap: 10px;
  }
  .admin-body .crm-nav > div {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    overflow-x: auto;
  }
  .admin-body .crm-nav .button.small { flex: 0 0 auto; padding-inline: 10px; font-size: 12px; }
  .admin-body .crm { width: calc(100% - 24px); margin-top: 24px; }
  .admin-body .crm-header { align-items: flex-start; gap: 18px; }
  .admin-body .crm-header h1 { font-size: 34px; }
  .admin-body .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .admin-body .stat { padding: 13px; }
  .admin-body .stat strong { font-size: 25px; }
  .admin-body .crm-controls { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .admin-body table { min-width: 520px; }
  .admin-body th:nth-child(2), .admin-body td:nth-child(2),
  .admin-body th:nth-child(4), .admin-body td:nth-child(4),
  .admin-body th:nth-child(5), .admin-body td:nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-body tbody tr { transition: none; }
}

/* iPhone admin layout — 2026-09-21 */
@media (max-width: 600px) {
  .admin-body {
    min-width: 0;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .admin-body .crm-nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
    gap: 10px;
  }
  .admin-body .crm-nav .brand { width: max-content; }
  .admin-body .crm-nav .brand b { width: 34px; height: 34px; font-size: 19px; }
  .admin-body .crm-nav .brand span { display: block; font-size: 11px; }
  .admin-body .crm-nav .brand small { font-size: 7px; }
  .admin-body .crm-nav > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
  }
  .admin-body .crm-nav .button.small {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 11px;
    white-space: nowrap;
  }
  .admin-body .crm {
    width: calc(100% - 24px);
    margin: 22px auto 48px;
  }
  .admin-body .crm-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 20px;
  }
  .admin-body .crm-header h1 { font-size: 34px; }
  .admin-body .crm-header .muted { font-size: 14px; }
  .admin-body .crm-header #export {
    width: 100%;
    min-height: 46px;
  }
  .admin-body .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
  }
  .admin-body .stat {
    min-height: 88px;
    padding: 13px;
  }
  .admin-body .stat:last-child { grid-column: 1 / -1; }
  .admin-body .stat strong { font-size: 25px; }
  .admin-body .stat p,
  .admin-body .stat small { font-size: 12px; }
  .admin-body .crm-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px;
  }
  .admin-body .crm-controls input,
  .admin-body .crm-controls select,
  .admin-body .crm-controls #refresh {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
  }
  .admin-body .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .admin-body table,
  .admin-body tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .admin-body thead { display: none; }
  .admin-body tbody {
    display: grid;
    gap: 10px;
  }
  .admin-body tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(139, 166, 226, .18);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(55,84,151,.045));
  }
  .admin-body tbody td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
  }
  .admin-body tbody td:nth-child(1) { grid-column: 1 / -1; }
  .admin-body tbody td:nth-child(2),
  .admin-body tbody td:nth-child(4),
  .admin-body tbody td:nth-child(5) { display: none; }
  .admin-body tbody td:nth-child(3),
  .admin-body tbody td:nth-child(6) { align-self: center; }
  .admin-body tbody td:nth-child(7) {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
  }
  .admin-body .open {
    min-width: 72px;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid rgba(129, 162, 233, .34);
    border-radius: 6px;
    background: rgba(65, 98, 172, .10);
  }
  .admin-body dialog,
  .admin-body #settings-drawer {
    width: 100%;
    max-width: none;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
    border-left: 0;
  }
  .admin-body dialog .close {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #151923;
    border-radius: 50%;
  }
  .admin-body .detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .admin-body .detail-actions a {
    justify-content: center;
    min-width: 0;
    text-align: center;
  }
  .admin-body .settings-form { gap: 14px; }
  .admin-body .settings-form section { padding: 16px 13px; }
  .admin-body .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-body .settings-actions {
    bottom: calc(-24px - env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .admin-body .settings-actions .button { width: 100%; min-height: 46px; }
}
