:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f5f7fc; background: #020813; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #b4d9ff; outline-offset: 5px; }
.space, .shade { position: fixed; inset: 0; width: 100%; height: 100%; }
.space { object-fit: cover; object-position: center; z-index: -2; }
.shade { background: linear-gradient(90deg, rgba(2,8,19,.83), rgba(2,8,19,.25) 57%, rgba(2,8,19,.12)), linear-gradient(0deg, rgba(2,8,19,.84), transparent 55%); z-index: -1; }
.shell { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 0 clamp(24px, 5.2vw, 88px); max-width: 1800px; margin: auto; }
.header { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 304px; height: auto; }
.header-note { color: #c6d0df; font-size: 10px; letter-spacing: .18em; }
.login-main { flex: 1; display: flex; align-items: center; padding: 56px 0 80px; }
.entrance { max-width: 440px; width: 100%; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c8daef; font-size: 10px; letter-spacing: .18em; font-weight: 600; margin: 0 0 22px; }
.dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #bddbfa; box-shadow: 0 0 12px #72b4fc; }
h1 { font-size: clamp(42px, 5.2vw, 76px); font-weight: 450; letter-spacing: -.05em; line-height: 1.04; margin: 0 0 22px; }
.intro { color: #d0d9e7; font-size: 16px; line-height: 1.6; margin: 0; }
.login-form { margin-top: 40px; max-width: 360px; }
label { display: block; font-size: 12px; margin-bottom: 10px; color: #d9e1ec; }
input { width: 100%; border: 1px solid #6f8299; background: rgba(3,12,27,.65); border-radius: 5px; padding: 14px; color: #fff; height: 50px; }
.enter { margin-top: 14px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 14px 18px; background: #edf5ff; color: #08182c; border: 1px solid #edf5ff; border-radius: 5px; font-size: 13px; font-weight: 650; cursor: pointer; }
.enter:hover { background: #cfe6ff; border-color: #cfe6ff; }
.form-note { color: #becadb; font-size: 11px; margin-top: 15px; }
.error { color: #ffd4cb; font-size: 13px; line-height: 1.5; margin: 12px 0; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 27px; color: #acbace; font-size: 10px; letter-spacing: .06em; border-top: 1px solid rgba(201,219,244,.2); }
.logout { color: #e6eef9; background: rgba(2,8,19,.45); border: 1px solid #64758c; border-radius: 5px; padding: 10px 14px; font-size: 12px; cursor: pointer; }
.logout span { margin-left: 14px; }
.logout:hover { background: #172a40; }
.dashboard { flex: 1; padding: 52px 0 40px; }
.dashboard-intro { max-width: 650px; }
.dashboard h1 { font-size: clamp(40px, 4.5vw, 64px); }
.destinations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 52px; }
.destination { background: rgba(4,15,32,.88); border: 1px solid rgba(160,185,218,.4); border-radius: 8px; padding: 25px; backdrop-filter: blur(12px); }
.destination:hover { background: rgba(18,37,62,.94); border-color: #a7c7ed; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 37px; }
.number { color: #9db0ca; font-size: 11px; }
.environment { color: #d2e0f3; font-size: 10px; padding: 5px 9px; border: 1px solid #54677e; border-radius: 20px; white-space: nowrap; }
h2 { font-size: 23px; font-weight: 500; letter-spacing: -.025em; margin: 0 0 8px; }
.card-label { color: #b8c9e0; font-size: 12px; margin: 0 0 18px; }
.description { color: #c3cede; font-size: 13px; line-height: 1.6; min-height: 42px; margin: 0; }
.card-action { display: flex; justify-content: space-between; padding-top: 24px; margin-top: 25px; border-top: 1px solid #34465d; font-size: 12px; }
.boundary-note { color: #bbc9dc; font-size: 12px; line-height: 1.6; margin: 22px 0 0; }
.back { display: inline-block; font-size: 12px; color: #d0def0; margin-bottom: 42px; }
.directory { max-width: 840px; margin-top: 40px; background: rgba(4,15,32,.92); border: 1px solid #50647e; border-radius: 8px; overflow: hidden; }
.directory-row { display: flex; align-items: center; gap: 25px; padding: 25px; }
.directory-row + .directory-row { border-top: 1px solid #34465d; }
.directory-row:hover { background: #172b43; }
.directory-row > span:first-child { flex: 1; }
.directory-row strong { font-size: 17px; font-weight: 500; }
.directory-description { display: block; margin-top: 8px; color: #b9cbe2; font-size: 12px; }
.skip { position: absolute; top: -80px; left: 24px; background: #fff; color: #071323; padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }
@media (max-width: 760px) {
  .space { object-position: 78% center; }
  .shade { background: linear-gradient(90deg, rgba(2,8,19,.85), rgba(2,8,19,.45)), linear-gradient(0deg, #020813, transparent); }
  .header { min-height: 84px; }
  .header-note { font-size: 8px; letter-spacing: .1em; }
  .brand-logo { width: clamp(180px, 42vw, 280px); }
  .header { flex-wrap: wrap; gap: 12px; padding: 18px 0; }
  .login-main { padding: 54px 0 64px; }
  .dashboard { padding-top: 36px; }
  .destinations { grid-template-columns: 1fr; margin-top: 32px; }
  .destination { padding: 22px; }
  .card-top { margin-bottom: 22px; }
  .description { min-height: 0; }
  .card-action { margin-top: 18px; padding-top: 18px; }
  .directory-row { padding: 20px 16px; gap: 12px; }
  .directory-row strong { font-size: 15px; }
}

/* Parent administration workspace. */
.admin-dashboard { padding-top: 24px; }
.admin-heading, .section-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-heading .back { margin-bottom: 30px; }
.admin-heading h1 { font-size: clamp(34px, 4vw, 56px); }
.admin-heading .eyebrow { margin-bottom: 14px; }
.access-badge { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #d4e6fb; white-space: nowrap; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 26px; margin: 32px 0 24px; border-bottom: 1px solid #52627a; }
.admin-nav a { font-size: 13px; padding: 14px 0; border-bottom: 2px solid transparent; }
.admin-nav a:hover { border-color: #badbff; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #435770; border-radius: 8px; background: rgba(4,15,32,.94); }
.overview-item { padding: 24px; min-width: 0; }
.overview-item + .overview-item { border-left: 1px solid #34465d; }
.overview-item > span, .overview-item small { display: block; font-size: 12px; color: #b8c9e0; line-height: 1.6; }
.overview-item strong { display: block; margin: 12px 0 8px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -.025em; }
.overview-item .muted-value { color: #c0ccdc; }
.admin-section { margin-top: 38px; scroll-margin-top: 24px; }
.section-heading { margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; }
.section-note, .monitoring-label { font-size: 11px; color: #b8c9e0; }
.application-grid, .admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.application-panel, .detail-panel { background: rgba(4,15,32,.94); border: 1px solid #435770; border-radius: 8px; padding: 26px; min-width: 0; }
.application-panel h3 { font-size: 25px; font-weight: 500; letter-spacing: -.025em; margin: 26px 0 12px; }
.application-panel p { color: #c3cede; font-size: 13px; line-height: 1.7; margin: 0 0 12px; }
.destination-address { display: block; font-size: 12px; color: #9bb2ce; overflow-wrap: anywhere; }
.application-link { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; margin-top: 24px; border-top: 1px solid #34465d; font-size: 13px; color: #d8eaff; }
.application-link:hover { color: #fff; text-decoration: underline; }
.admin-detail-grid { margin-top: 20px; }
.detail-panel { scroll-margin-top: 24px; }
.detail-panel .eyebrow { margin-bottom: 12px; }
.detail-panel h2 { font-size: 22px; }
.detail-list { margin: 22px 0 0; }
.detail-list > div { padding: 13px 0; border-bottom: 1px solid #2c3d53; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.6; }
.detail-list dt { color: #aebfd6; }
.detail-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.panel-note { font-size: 12px; line-height: 1.7; color: #b8c9e0; margin: 20px 0; }
@media (max-width: 1000px) {
  .overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-item:nth-child(3) { border-left: 0; }
  .overview-item:nth-child(n+3) { border-top: 1px solid #34465d; }
  .access-badge { display: none; }
  .detail-list > div { display: block; }
  .detail-list dd { text-align: left; margin-top: 4px; }
}
@media (max-width: 760px) {
  .application-grid, .admin-detail-grid { grid-template-columns: 1fr; }
  .overview-item { padding: 18px; }
  .overview-item strong { font-size: 19px; }
  .overview-item small { font-size: 11px; }
  .section-heading { display: block; }
  .section-note { display: block; margin-top: 12px; }
  .application-panel, .detail-panel { padding: 22px; }
  .panel-heading { gap: 10px; flex-wrap: wrap; }
  .admin-nav { gap: 20px; }
  .admin-nav a { font-size: 12px; }
}
