:root {
  --bg: #080506;
  --surface: #100a0c;
  --surface-2: #171013;
  --surface-3: #201418;
  --line: rgba(255, 255, 255, .085);
  --line-red: rgba(255, 48, 73, .26);
  --text: #f7f1f2;
  --muted: #9c8e92;
  --red: #ef233c;
  --red-light: #ff5265;
  --red-dark: #9f0019;
  --green: #38d77a;
  --amber: #f0ad40;
  --blue: #5f8cff;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -5%, rgba(175, 0, 28, .18), transparent 31rem),
    linear-gradient(180deg, #090506 0%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }

.ambient { position: fixed; pointer-events: none; filter: blur(90px); opacity: .16; z-index: -1; border-radius: 50%; }
.ambient-one { width: 420px; height: 420px; background: #df0025; top: 20%; left: -320px; }
.ambient-two { width: 520px; height: 520px; background: #8e0018; right: -410px; bottom: 5%; }

.site-header {
  width: min(1200px, calc(100% - 40px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; letter-spacing: .05em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 73, 94, .55);
  background: linear-gradient(145deg, rgba(239,35,60,.2), rgba(70,0,10,.12));
  box-shadow: inset 0 0 20px rgba(239,35,60,.12), 0 0 26px rgba(239,35,60,.08);
  color: var(--red-light);
  font-weight: 900;
  font-size: 20px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.brand > span:last-child { display: flex; align-items: baseline; gap: 5px; }
.brand strong { font-size: 16px; line-height: 1; }
.brand small { color: var(--red-light); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: var(--muted); font-size: 13px; font-weight: 700; transition: .2s ease; }
.site-header nav a:hover { color: var(--text); }
.site-header nav .nav-cta { color: #fff; border: 1px solid var(--line-red); background: rgba(239,35,60,.07); padding: 10px 17px; border-radius: 10px; }

.hero {
  width: min(1200px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0 92px;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red-light); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow > span { width: 23px; height: 1px; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero h1 { max-width: 670px; margin: 19px 0 24px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 820; }
.hero h1 em { color: var(--red-light); font-style: normal; text-shadow: 0 0 40px rgba(239, 35, 60, .2); }
.hero-copy > p { max-width: 610px; color: #b5a9ac; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; margin-top: 34px; }
.button {
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { color: white; background: linear-gradient(135deg, #f02a44, #bd0927); box-shadow: 0 12px 32px rgba(224, 15, 47, .18), inset 0 1px rgba(255,255,255,.18); }
.button-primary:hover { box-shadow: 0 15px 40px rgba(224,15,47,.28), inset 0 1px rgba(255,255,255,.18); }
.button-ghost { color: #d7ced0; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.button-full { width: 100%; }
.hero-meta { display: flex; gap: 30px; margin-top: 52px; padding-top: 23px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-size: 12px; }
.hero-meta span { color: #766a6e; font-size: 10px; }

.hero-card {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(30,13,17,.8), rgba(11,7,8,.94));
  border-radius: 30px;
  box-shadow: var(--shadow), inset 0 0 80px rgba(196,0,31,.06);
  overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,50,75,.12); border-radius: 50%; box-shadow: 0 0 80px rgba(239,35,60,.08); }
.hero-card::after { content: ""; position: absolute; width: 390px; height: 390px; border: 1px dashed rgba(255,255,255,.06); border-radius: 50%; animation: spin 35s linear infinite; }
.hero-card-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle, black, transparent 72%); }
.shield { position: relative; z-index: 2; display: grid; place-items: center; width: 176px; height: 204px; background: linear-gradient(150deg, rgba(239,35,60,.2), rgba(72,0,12,.16)); clip-path: polygon(50% 0, 92% 16%, 85% 71%, 50% 100%, 15% 71%, 8% 16%); }
.shield::before { content: ""; position: absolute; inset: 4px; background: linear-gradient(145deg, #281116, #0d0809); clip-path: inherit; }
.shield-inner { position: relative; z-index: 2; color: var(--red-light); font-size: 82px; font-weight: 900; letter-spacing: -.08em; text-shadow: 0 0 32px rgba(239,35,60,.4); }
.orbit { position: absolute; z-index: 3; padding: 5px 9px; border: 1px solid var(--line-red); background: rgba(8,5,6,.85); border-radius: 20px; color: #bfaeb2; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.orbit-one { top: 20%; left: 12%; }
.orbit-two { top: 32%; right: 8%; }
.orbit-three { bottom: 28%; left: 10%; }
.hero-card-caption { position: absolute; bottom: 27px; left: 30px; right: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; z-index: 3; }
.hero-card-caption span { color: var(--red-light); font-size: 8px; letter-spacing: .2em; font-weight: 800; }
.hero-card-caption strong { max-width: 180px; text-align: right; font-size: 12px; color: #a8989c; }
@keyframes spin { to { transform: rotate(360deg); } }

.section { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.requirements { border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; }
.section h2 { margin: 13px 0 16px; font-size: clamp(35px, 4vw, 52px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading > p, .application-intro > p { color: var(--muted); max-width: 580px; }
.requirement-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(23,14,17,.82), rgba(12,8,9,.82)); border-radius: var(--radius); transition: .2s ease; }
.info-card:hover { transform: translateY(-5px); border-color: var(--line-red); }
.card-number { color: var(--red-light); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.info-card h3 { margin: 42px 0 9px; font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; }

.application-section { display: grid; grid-template-columns: .76fr 1.24fr; gap: 80px; border-top: 1px solid var(--line); align-items: start; }
.application-intro { position: sticky; top: 45px; padding-top: 28px; }
.process-list { margin-top: 40px; display: grid; gap: 23px; }
.process-list > div { display: flex; gap: 16px; }
.process-list > div > span { flex: 0 0 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line-red); background: rgba(239,35,60,.07); color: var(--red-light); font-weight: 900; font-size: 11px; border-radius: 9px; }
.process-list p { margin: 0; display: flex; flex-direction: column; color: #776b6e; font-size: 12px; }
.process-list strong { color: #ddd3d5; font-size: 13px; }

.form-shell { min-height: 630px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(24,15,18,.93), rgba(12,8,9,.96)); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.form-progress { width: 100%; height: 3px; background: rgba(255,255,255,.04); }
.form-progress span { display: block; width: 33.333%; height: 100%; background: linear-gradient(90deg, var(--red-dark), var(--red-light)); box-shadow: 0 0 18px var(--red); transition: width .3s ease; }
#applicationForm { padding: 34px 40px 36px; }
.form-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.form-topline span:first-child { color: var(--red-light); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-topline span:last-child { color: var(--muted); font-size: 11px; font-weight: 700; }
.form-step { display: none; animation: fadeUp .28s ease; }
.form-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 21px; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: #d8ced0; font-size: 12px; font-weight: 720; }
.field b { color: var(--red-light); }
.field input, .field textarea, .field select {
  width: 100%;
  outline: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #5d5255; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(255,65,88,.55); background: rgba(18,3,6,.52); box-shadow: 0 0 0 3px rgba(239,35,60,.075); }
.field.invalid input, .field.invalid textarea { border-color: #ff4b60; }
.field-error { min-height: 0; color: #ff6677; font-size: 10px; }
.field-error:empty { display: none; }
.field-hint { margin-top: -4px; display: flex; justify-content: space-between; color: #685c60; font-size: 9px; }
.field-hint i { font-style: normal; }
.input-suffix { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: rgba(0,0,0,.2); }
.input-suffix:focus-within { border-color: rgba(255,65,88,.55); box-shadow: 0 0 0 3px rgba(239,35,60,.075); }
.input-suffix input { border: 0; border-radius: 0; box-shadow: none !important; }
.input-suffix span { flex: 0 0 auto; display: flex; align-items: center; padding: 0 14px; border-left: 1px solid var(--line); color: #716468; font-size: 10px; }
.checkbox { display: flex; gap: 12px; cursor: pointer; margin: 4px 0 6px; color: #a99da0; font-size: 11px; }
.checkbox input { position: absolute; opacity: 0; }
.checkmark { flex: 0 0 18px; height: 18px; border: 1px solid var(--line); border-radius: 5px; background: rgba(0,0,0,.2); position: relative; }
.checkbox input:checked + .checkmark { background: var(--red); border-color: var(--red); }
.checkbox input:checked + .checkmark::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 11px; font-weight: 900; }
.checkbox.invalid .checkmark { border-color: var(--red-light); }
.honeypot { position: absolute; left: -9999px; }
.form-navigation { display: flex; justify-content: flex-end; gap: 11px; margin-top: 33px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-navigation #backButton { margin-right: auto; }
.alert { padding: 11px 13px; margin-bottom: 19px; border: 1px solid rgba(255,66,88,.3); background: rgba(239,35,60,.08); color: #ff9aa5; border-radius: 9px; font-size: 11px; }
.success-state { min-height: 630px; padding: 70px 55px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.success-icon { width: 70px; height: 70px; margin-bottom: 30px; display: grid; place-items: center; border: 1px solid rgba(56,215,122,.35); background: rgba(56,215,122,.07); color: var(--green); font-size: 29px; border-radius: 50%; box-shadow: 0 0 40px rgba(56,215,122,.08); }
.success-state h2 { margin: 12px 0; }
.success-state > p { max-width: 480px; color: var(--muted); font-size: 13px; }
.reference-box { min-width: 280px; margin: 23px 0; padding: 13px 20px; display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); background: rgba(0,0,0,.18); border-radius: 11px; }
.reference-box span { color: #6e6265; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.reference-box strong { color: #d8ced0; font-size: 11px; word-break: break-all; }

footer { width: min(1200px, calc(100% - 40px)); min-height: 120px; margin: 0 auto; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #615558; font-size: 10px; }
.admin-link { color: #887a7e; transition: .2s; }
.admin-link:hover { color: var(--red-light); }

/* Admin */
.admin-body { background: #090607; }
.login-view { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.login-card { width: min(430px, 100%); padding: 42px; text-align: center; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(26,15,18,.95), rgba(12,8,9,.98)); border-radius: 24px; box-shadow: var(--shadow); }
.brand-centered { justify-content: center; }
.login-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 38px auto 18px; border: 1px solid var(--line-red); background: rgba(239,35,60,.07); color: var(--red-light); border-radius: 13px; }
.eyebrow-centered { justify-content: center; }
.login-card h1 { margin: 10px 0 7px; font-size: 32px; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 27px; color: var(--muted); font-size: 12px; }
.login-card .field { text-align: left; }
.back-home { display: inline-block; margin-top: 23px; color: #73666a; font-size: 10px; }
.dashboard { min-height: 100vh; display: grid; grid-template-columns: 235px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 235px; padding: 28px 21px; border-right: 1px solid var(--line); background: rgba(12,8,9,.97); display: flex; flex-direction: column; z-index: 4; }
.sidebar-label { margin: 50px 11px 13px; color: #54494c; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.sidebar-nav button { width: 100%; border: 0; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 9px; background: transparent; color: #8e8185; font-size: 11px; font-weight: 700; cursor: pointer; }
.sidebar-nav button.active { color: #fff; background: rgba(239,35,60,.1); }
.sidebar-nav button span { color: var(--red-light); font-size: 17px; }
.sidebar-nav button b { margin-left: auto; min-width: 21px; height: 18px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: white; font-size: 8px; }
.sidebar-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; }
.admin-user { display: flex; align-items: center; gap: 9px; min-width: 0; }
.admin-user > span { flex: 0 0 31px; height: 31px; display: grid; place-items: center; background: linear-gradient(145deg, var(--red), var(--red-dark)); border-radius: 8px; font-size: 11px; font-weight: 900; }
.admin-user div { display: flex; flex-direction: column; min-width: 0; }
.admin-user strong { font-size: 9px; }
.admin-user small { color: #65595c; font-size: 7px; }
.icon-button { margin-left: auto; border: 0; background: transparent; color: #716468; cursor: pointer; font-size: 17px; }
.dashboard-main { grid-column: 2; width: min(1220px, calc(100% - 60px)); margin: 0 auto; padding: 42px 0 70px; }
.dashboard-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dashboard-header h1 { margin: 9px 0 3px; font-size: 35px; letter-spacing: -.04em; }
.dashboard-header p { margin: 0; color: var(--muted); font-size: 11px; }
.stat-grid { margin: 31px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-grid article { min-height: 92px; padding: 18px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(24,15,18,.82), rgba(13,9,10,.88)); border-radius: 14px; }
.stat-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
.stat-icon.pending { color: var(--amber); background: rgba(240,173,64,.08); }
.stat-icon.reviewing { color: var(--blue); background: rgba(95,140,255,.08); }
.stat-icon.accepted { color: var(--green); background: rgba(56,215,122,.08); }
.stat-icon.rejected { color: var(--red-light); background: rgba(239,35,60,.08); }
.stat-grid article div { display: flex; flex-direction: column; }
.stat-grid small { color: #776b6e; font-size: 9px; }
.stat-grid strong { font-size: 21px; }
.application-panel { min-height: 500px; border: 1px solid var(--line); background: rgba(16,10,12,.82); border-radius: 16px; overflow: hidden; }
.panel-toolbar { padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.search-box { flex: 1 1 320px; max-width: 390px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(0,0,0,.18); border-radius: 9px; padding: 0 12px; }
.search-box span { color: #73666a; }
.search-box input { width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.filter-tabs { display: flex; gap: 3px; padding: 3px; background: rgba(0,0,0,.18); border-radius: 9px; }
.filter-tabs button { border: 0; padding: 7px 10px; background: transparent; color: #74676a; border-radius: 7px; font-size: 9px; font-weight: 700; cursor: pointer; }
.filter-tabs button.active { color: white; background: rgba(255,255,255,.07); }
.dashboard-alert { margin: 15px 17px 0; }
.application-list { display: grid; }
.application-row { padding: 15px 18px; display: grid; grid-template-columns: 1.3fr 1fr .7fr .7fr 28px; gap: 20px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.055); cursor: pointer; transition: background .16s ease; }
.application-row:hover { background: rgba(255,255,255,.025); }
.applicant { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-red); background: rgba(239,35,60,.07); border-radius: 9px; color: var(--red-light); font-size: 12px; font-weight: 900; }
.applicant div, .row-cell { display: flex; min-width: 0; flex-direction: column; }
.applicant strong, .row-cell strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.applicant small, .row-cell small { color: #6e6265; font-size: 8px; }
.status-badge { width: fit-content; padding: 4px 8px; border-radius: 20px; font-size: 8px; font-weight: 800; text-transform: capitalize; }
.status-badge.pending { color: var(--amber); background: rgba(240,173,64,.08); border: 1px solid rgba(240,173,64,.13); }
.status-badge.reviewing { color: #82a1ff; background: rgba(95,140,255,.08); border: 1px solid rgba(95,140,255,.13); }
.status-badge.accepted { color: var(--green); background: rgba(56,215,122,.08); border: 1px solid rgba(56,215,122,.13); }
.status-badge.rejected { color: #ff6577; background: rgba(239,35,60,.08); border: 1px solid rgba(239,35,60,.13); }
.row-arrow { color: #564b4e; font-size: 17px; }
.empty-state { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > span { color: var(--red-light); font-size: 38px; }
.empty-state h3 { margin: 8px 0 3px; font-size: 15px; }
.empty-state p { color: #6d6064; font-size: 10px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.application-modal { width: min(900px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.13); background: #120c0e; border-radius: 19px; box-shadow: 0 30px 120px #000; overflow: hidden; animation: modalIn .18s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.98) translateY(10px); } }
.modal-header { flex: 0 0 auto; padding: 25px 28px 20px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 8px 0 1px; font-size: 25px; letter-spacing: -.03em; }
.modal-header p { margin: 0; color: var(--muted); font-size: 10px; }
.modal-close { align-self: flex-start; width: 34px; height: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 9px; color: #988a8e; font-size: 20px; cursor: pointer; }
.modal-content { padding: 25px 28px; overflow-y: auto; }
.profile-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 25px; }
.profile-strip > div { padding: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.16); border-radius: 9px; display: flex; flex-direction: column; }
.profile-strip small, .answer-block small, .decision-grid label > span { color: #6d6064; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-strip strong { margin-top: 3px; font-size: 10px; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.answer-block { padding: 15px; border: 1px solid var(--line); background: rgba(0,0,0,.13); border-radius: 10px; }
.answer-block.wide { grid-column: 1 / -1; }
.answer-block p { margin: 8px 0 0; color: #b7aaad; font-size: 11px; line-height: 1.65; white-space: pre-wrap; }
.decision-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.decision-grid label { display: flex; flex-direction: column; gap: 7px; }
.decision-grid select, .decision-grid textarea { width: 100%; color: var(--text); outline: 0; border: 1px solid var(--line); background: #0d090a; border-radius: 9px; padding: 11px; font-size: 10px; }
.decision-grid textarea { min-height: 85px; resize: vertical; }
.modal-actions { flex: 0 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); background: #0e090b; }
.modal-actions > div { display: flex; gap: 8px; }
.modal-actions .button { padding: 10px 13px; font-size: 10px; }
.delete-button { color: #ff6577; border: 1px solid rgba(239,35,60,.18); background: rgba(239,35,60,.05); }
.reviewing-button { color: #9cb3ff; border: 1px solid rgba(95,140,255,.2); background: rgba(95,140,255,.07); }

.error-page { display: grid; place-items: center; }
.error-page main { text-align: center; padding: 40px; }
.error-code { display: block; margin-top: 55px; color: var(--red-light); font-size: 80px; letter-spacing: -.06em; text-shadow: 0 0 40px rgba(239,35,60,.25); }
.error-page h1 { margin: -8px 0 5px; font-size: 35px; }
.error-page p { margin: 0 0 25px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-copy { max-width: 760px; }
  .hero-card { min-height: 430px; }
  .requirement-grid { grid-template-columns: 1fr 1fr; }
  .application-section { grid-template-columns: 1fr; gap: 45px; }
  .application-intro { position: static; }
  .dashboard { grid-template-columns: 76px 1fr; }
  .sidebar { width: 76px; align-items: center; padding-inline: 13px; }
  .sidebar .brand > span:last-child, .sidebar-label, .sidebar-nav button:not(.active), .sidebar-nav button.active:not(:focus) { font-size: 0; }
  .sidebar-nav button { justify-content: center; padding: 11px; }
  .sidebar-nav button span { font-size: 19px; }
  .sidebar-nav button b { position: absolute; margin: -24px 0 0 26px; font-size: 8px; }
  .admin-user div, .sidebar-footer .icon-button { display: none; }
  .dashboard-main { grid-column: 2; width: calc(100% - 42px); }
  .panel-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; flex-basis: auto; }
}

@media (max-width: 720px) {
  .site-header { height: 75px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { width: min(100% - 28px, 1200px); min-height: auto; gap: 45px; padding: 70px 0; }
  .hero h1 { font-size: 49px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-card { min-height: 400px; }
  .section { width: min(100% - 28px, 1200px); padding: 80px 0; }
  .requirement-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 175px; }
  .info-card h3 { margin-top: 28px; }
  #applicationForm { padding: 27px 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .field-wide { grid-column: auto; }
  .success-state { padding: 50px 22px; }
  footer { flex-wrap: wrap; gap: 20px; padding: 30px 0; }
  .dashboard { display: block; }
  .sidebar { position: static; width: 100%; height: 66px; flex-direction: row; justify-content: space-between; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand > span:last-child { display: flex; font-size: initial; }
  .sidebar-nav, .sidebar-footer { margin: 0; padding: 0; border: 0; }
  .sidebar-footer { display: none; }
  .dashboard-main { width: calc(100% - 28px); margin: 0 auto; padding-top: 30px; }
  .dashboard-header { align-items: flex-start; }
  .dashboard-header .button { padding: 10px; font-size: 0; gap: 0; }
  .dashboard-header .button::first-letter { font-size: 15px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { overflow-x: auto; }
  .application-row { grid-template-columns: 1fr auto 18px; gap: 10px; }
  .application-row .row-cell:nth-of-type(2), .application-row .row-cell:nth-of-type(3) { display: none; }
  .modal-backdrop { padding: 0; align-items: end; }
  .application-modal { max-height: 94vh; border-radius: 18px 18px 0 0; }
  .modal-header, .modal-content { padding-inline: 18px; }
  .profile-strip { grid-template-columns: 1fr 1fr; }
  .answer-grid, .decision-grid { grid-template-columns: 1fr; }
  .answer-block.wide { grid-column: auto; }
  .modal-actions { padding: 12px 18px; flex-wrap: wrap; }
  .modal-actions > div { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .modal-actions #acceptButton { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
