:root {
  --navy: #091b59;
  --navy-dark: #061440;
  --text: #091b59;
  --muted: #5b6585;
  --border: #e4e8ed;
  --border-hover: #b6b6b6;
  --panel: #f8f9fa;
  --white: #fff;
  --danger: #e55151;
  --success: #00ba74;
  --alert: #fab515;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--alert); outline-offset: 2px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  min-height: 80px; display: flex; align-items: center;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { height: 48px; width: auto; display: block; }

main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 40px 20px 64px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 6px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); margin-bottom: 28px; }

.site-footer { background: var(--navy); color: var(--white); }
.site-footer .inner {
  max-width: 1320px; margin: 0 auto; padding: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem;
}
.site-footer a { color: var(--white); }

.btn {
  display: inline-block; border: 2px solid var(--navy); background: var(--navy); color: var(--white);
  padding: 10px 20px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--navy-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.outline { background: var(--white); color: var(--navy); }
.btn.outline:hover { background: var(--panel); }

/* Job list */
.job-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.job-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px;
  color: inherit; text-decoration: none;
}
.job-row:hover, .job-row:focus-visible { border-color: var(--border-hover); }
.job-row:hover .job-title { text-decoration: underline; }
.job-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.job-meta { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.badge { display: inline-block; background: var(--alert); color: var(--navy); font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }

/* Job detail */
.back { display: inline-block; margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin: 20px 0 8px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0 0 4px; font-weight: 600; }
.rich ul, .rich ol { margin: 0 0 12px; padding-left: 1.4em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }

/* Form */
.apply { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 8px; }
.field { margin: 16px 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; color: inherit; padding: 10px 12px; border: 1px solid var(--border-hover); border-radius: 6px;
}
.field textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
.notice.error { background: #fdeeee; border: 1px solid var(--danger); }
.notice.ok { background: #e8f8f1; border: 1px solid var(--success); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
[hidden] { display: none !important; }

/* Job detail: two-column layout */
main.wide { max-width: 1320px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; }
.card.flush { background: var(--panel); }
.card h1 { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 24px; }
.chips li { background: #e6e9f2; border-radius: 4px; padding: 3px 8px; font-size: .78rem; }
.overview { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.stat { display: flex; align-items: center; gap: 12px; }
.tile { flex: none; width: 40px; height: 40px; border-radius: 5px; background: #edf0f2; display: grid; place-items: center; color: #6b7280; }
.tile svg { width: 22px; height: 22px; }
.stat dt { font-size: .85rem; color: var(--muted); }
.stat dd { margin: 0; font-weight: 600; font-size: .95rem; }
.apply-card { text-align: center; }
.apply-card p { margin: 0 0 14px; font-size: .9rem; }
.apply-card .actions { justify-content: center; margin: 0; }
.benefits h2 { margin-top: 0; font-size: 1rem; font-weight: 500; }
.benefit { display: flex; gap: 12px; margin: 16px 0; }
.benefit img { flex: none; width: 40px; height: 40px; border-radius: 5px; background: #edf0f2; object-fit: contain; padding: 4px; }
.benefit .label { color: var(--muted); font-size: .85rem; margin: 0 0 2px; }
.benefit .body { font-weight: 600; font-size: .85rem; margin: 0; }
.rich { font-size: .95rem; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

/* Header: match the live site's larger wordmark */
.brand { font-size: 1.75rem; font-weight: 800; gap: 14px; }
.brand img { height: 44px; }
@media (max-width: 600px) { .brand { font-size: 1.15rem; gap: 10px; } .brand img { height: 36px; } }

/* Apply page */
body.apply-page { background: var(--panel); }
.apply-card-page { max-width: 820px; margin: 0 auto; }
.apply-head { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.apply-head h1 { font-size: 1.9rem; margin: 0 0 6px; }
.apply-head p { font-size: .82rem; margin: 0; }
.frow { display: flex; align-items: flex-start; gap: 20px; margin: 14px 0; }
.frow > label { flex: 0 0 120px; font-weight: 700; padding-top: 13px; }
.frow .ctl { flex: 1 1 auto; max-width: 380px; }
.ctl input[type=text], .ctl input[type=email], .ctl input[type=tel] {
  width: 100%; font: inherit; color: inherit; padding: 12px; border: 1px solid var(--border-hover); border-radius: 6px; background: var(--white);
}
.ctl .hint { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.filebox { display: flex; align-items: center; width: 100%; min-height: 48px; border: 1px solid var(--border-hover); border-radius: 6px; background: var(--white); }
.filebox .pick { flex: 1; min-width: 0; text-align: left; background: none; border: 0; font: inherit; padding: 12px; color: #9aa3b8; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filebox.has-file .pick { color: var(--text); }
.filebox .clear { flex: none; border: 0; background: none; font-size: 1.5rem; line-height: 1; padding: 4px 14px; cursor: pointer; color: var(--muted); }
.filebox .clear:hover { color: var(--danger); }
.icon-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; }
::placeholder { color: #a8b0c4; }
@media (max-width: 640px) {
  .frow { flex-direction: column; gap: 6px; }
  .frow > label { flex: none; padding-top: 0; }
  .frow .ctl { max-width: none; width: 100%; }
}

/* Header and footer share the page's content width so the logo lines up with the content */
.site-header .inner, .site-footer .inner { max-width: 960px; }
body.wide-page .site-header .inner, body.wide-page .site-footer .inner { max-width: 1320px; }
.apply-card-page { max-width: none; }

/* Apply page: navy action banner, then the same position title style as the job page */
.apply-card-page { padding: 0; overflow: hidden; }
.apply-banner { display: flex; align-items: center; gap: 12px; background: var(--navy); color: var(--white); padding: 14px 28px; font-weight: 700; font-size: 1.05rem; }
.apply-body { padding: 24px 28px 28px; }
.apply-head h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; overflow-wrap: anywhere; }
.apply-head .apply-note { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---- Marketing pages: home, how we hire, perks ---- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 960px; }
.section { padding-top: 48px; padding-bottom: 64px; }
.section-title { text-align: center; font-size: 1.6rem; line-height: 1.25; margin: 40px 0 24px; }
.section > .section-title:first-child { margin-top: 0; }

.hero { background: #e6e8ee; }
.hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; min-height: 450px; }
.hero-copy { flex: 1 1 520px; padding: 64px 0; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 800; margin: 0 0 14px; }
.hero h1 .dim { color: #808080; }
.hero .lead-lg { font-size: 1.3rem; margin: 0 0 22px; }
.hero-img { flex: 0 1 500px; }
.hero-img img { display: block; width: 100%; height: auto; }
.hero-img.perks-img { flex-basis: 400px; }
.search-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border-radius: 10px; padding: 14px 16px 14px 24px; max-width: 700px; margin-top: 40px; }
.search-box p { margin: 0; text-align: center; flex: 1; padding-right: 20px; border-right: 1px solid #e9eef5; }
@media (max-width: 1100px) {
  .hero .container { justify-content: center; }
  .hero-copy { text-align: center; }
  .hero-img { display: none; }
  .search-box { margin-left: auto; margin-right: auto; }
}
@media (max-width: 730px) {
  .search-box { flex-direction: column; padding: 20px; }
  .search-box p { border-right: 0; padding-right: 0; }
}

.features { display: grid; grid-template-columns: 1fr 1fr; }
.feature { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 20px; text-align: center; color: var(--white); padding: 48px 28px; min-height: 240px; }
.feature.a { background: #66709a; }
.feature.b { background: #5c5b75; }
.feature h2 { margin: 0; font-size: 1.6rem; }
.feature p { margin: 0; max-width: 520px; }
.feature .btn { border-color: var(--white); }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.voices { padding: 56px 0 72px; }
.voices h2 { text-align: center; font-size: 2rem; margin: 0 0 28px; }

.intro { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; margin: 0 0 40px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 32px 68px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.step::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 6px; width: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3, .tip h3, .perk h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.step p, .tip p { margin: 0; }
.tips { display: grid; gap: 14px; }
.tip { border: 1px solid var(--border); border-left: 4px solid var(--navy); border-radius: 10px; padding: 14px 22px 18px; }
.tip h3 { margin-top: 4px; }

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.perk { display: flex; gap: 20px; align-items: flex-start; }
.perk .tile { width: 52px; height: 52px; border-radius: 8px; }
.perk .tile svg { width: 28px; height: 28px; }
.perk h3 { margin-top: 2px; }
.perk p { margin: 0 0 10px; }

/* ===== Polish pass: depth, tonal color, softer weights. Fonts untouched (system default). ===== */
:root {
  --radius: 14px;
  --tint: #e9ecf6;
  --shadow-sm: 0 1px 2px rgba(9,27,89,.05), 0 6px 20px rgba(9,27,89,.06);
  --shadow-md: 0 2px 4px rgba(9,27,89,.06), 0 18px 44px rgba(9,27,89,.14);
  --ring: 0 0 0 3px rgba(9,27,89,.28);
}
body { line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -0.015em; }
h1 { font-weight: 700; }

/* Header */
.site-header { background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(9,27,89,.08); }
.site-header .inner { min-height: 72px; }
.brand { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.brand img { height: 44px; }
@media (max-width: 600px) { .brand { font-size: 1.05rem; } .brand img { height: 36px; } }

/* Buttons */
.btn { border-radius: 10px; font-weight: 600; box-shadow: 0 1px 2px rgba(9,27,89,.2); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(9,27,89,.25); }
.btn:active { transform: none; box-shadow: 0 1px 2px rgba(9,27,89,.2); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.outline { box-shadow: none; }
.btn .arrow { display: inline-block; margin-left: 8px; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arrow, .feature, .perk, .job-row { transition: none; } .btn:hover, .feature:hover { transform: none; } }

/* Hero */
.hero { background: radial-gradient(900px 420px at 82% 30%, rgba(9,27,89,.10), transparent 65%), linear-gradient(180deg, #f1f3f9 0%, #e1e5f0 100%); }
.hero .container { min-height: 520px; }
.hero-copy { padding: 88px 0; }
.hero h1 { font-weight: 700; letter-spacing: -0.03em; }
.hero h1 .dim { color: rgba(9,27,89,.42); }
.search-box { border-radius: 16px; box-shadow: var(--shadow-md); padding: 12px 12px 12px 26px; border: 1px solid rgba(9,27,89,.06); }
.search-box p { text-align: left; border-right-color: var(--border); }

/* Home: two cards instead of two flat color blocks */
.features { max-width: 1320px; margin: 0 auto; padding: 72px 20px 24px; gap: 24px; }
.feature, .feature.a, .feature.b { background: var(--white); color: var(--text); align-items: flex-start; text-align: left; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 36px; min-height: 0; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.feature .ico svg { width: 28px; height: 28px; }
.feature h2 { font-size: 1.5rem; margin: 6px 0 0; }
.feature p { max-width: none; color: var(--muted); flex: 1; }
.feature .btn { border-color: var(--navy); align-self: flex-start; }
@media (max-width: 760px) { .features { padding-top: 48px; } .feature { padding: 28px; } }

/* Voices */
.voices { background: #f5f6fa; padding: 80px 0 88px; margin-top: 48px; }
.voices h2 { font-weight: 700; }

/* Inner pages */
.section-title { font-size: 1.75rem; }
.intro { background: #f5f6fa; border: 0; border-radius: 16px; }
.step::before { box-shadow: 0 4px 12px rgba(9,27,89,.25); }
.tip { box-shadow: var(--shadow-sm); border-radius: 14px; }
.perks { grid-template-columns: 1fr 1fr; gap: 20px; }
.perk { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.perk .tile { background: var(--tint); color: var(--navy); }
@media (max-width: 820px) { .perks { grid-template-columns: 1fr; } }

/* Jobs, cards, forms */
.job-row { border-radius: 14px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.job-row:hover, .job-row:focus-visible { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.card { border-radius: 16px; box-shadow: var(--shadow-sm); }
.chips li { background: var(--tint); }
.ctl input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: var(--ring); }
.filebox:focus-within { border-color: var(--navy); box-shadow: var(--ring); }

/* Headline fits two lines on phones */
.hero h1 { font-size: clamp(1.85rem, 7.5vw, 3.5rem); }
@media (max-width: 730px) { .search-box p { text-align: center; } }

/* Testimonial cards */
.voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.voice { display: flex; gap: 32px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm); }
.voice-photo { flex: 0 0 180px; width: 180px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 14px; background: var(--tint); }
.voice-body { min-width: 0; }
.voice-name { margin: 0 0 6px; font-size: 1.7rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.voice-role { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 2px solid var(--tint); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; font-weight: 600; color: #4a5683; }
.voice blockquote { margin: 0; font-size: 1rem; line-height: 1.5; color: #2d3552; }
.voice blockquote p { margin: 0; }
@media (max-width: 1000px) { .voice-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .voice { flex-direction: column; padding: 28px; } .voice-photo { width: 100%; max-width: 240px; flex-basis: auto; } .voice-name { font-size: 1.5rem; } }

/* Header wordmark: Cinzel (Google Fonts, OFL). Falls back to a serif if it fails to load. */
.site-header .inner { min-height: 84px; }
.brand { font-family: "Cinzel", Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 2.4vw + .5rem, 2.2rem); font-weight: 400; letter-spacing: .05em; gap: 14px; line-height: 1.15; }
.brand img { height: 52px; }
@media (max-width: 600px) { .brand img { height: 36px; } .site-header .inner { min-height: 68px; } }
/* Lowercase source letters render as Cinzel small caps, so every letter is the same height. */
.brand span { text-transform: lowercase; }
@media (max-width: 400px) { .brand { font-size: 1rem; } }

/* ===== Compact hero (no clipart) + navy header ===== */
.hero .container { min-height: 0; align-items: center; }
.hero-copy { flex: 1 1 100%; padding: 52px 0; }
.hero h1 { font-size: clamp(1.85rem, 5vw, 2.75rem); margin-bottom: 10px; }
.hero .lead-lg { margin-bottom: 18px; }
.hero--home .hero-copy { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 48px 0; }
.hero--home h1 { margin: 0; }
.hero--home .search-box { margin: 0; flex: 0 1 600px; }
@media (max-width: 1100px) { .hero--home .hero-copy { justify-content: center; text-align: center; } .hero--home .search-box { flex-basis: 100%; max-width: 640px; } }

.site-header { background: var(--navy); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .inner { min-height: 76px; }
.brand { color: #fff; }
.brand img { background: #fff; border-radius: 50%; padding: 2px; box-sizing: content-box; }
.brand:focus-visible { outline-color: #fff; }

/* ===== Admin ===== */
.site-header .inner { justify-content: space-between; }
.who { display: flex; align-items: center; gap: 14px; color: #fff; font-size: .9rem; }
.btn.small { padding: 6px 14px; font-size: .85rem; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn.danger { background: #c0392b; border-color: #c0392b; }
.btn.danger:hover { background: #a93226; }
.login { max-width: 520px; margin: 40px auto; text-align: center; padding: 40px; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-bar h1 { margin: 0; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.jobs-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.jobs-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--panel); }
.jobs-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.jobs-table tr:last-child td { border-bottom: 0; }
.mono { font-variant-numeric: tabular-nums; color: var(--muted); }
.badge.muted { background: #e4e6ee; color: #4a5683; }
.row-actions { white-space: nowrap; }
.row-actions > * { margin-right: 14px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.linkbtn.danger { color: #c0392b; }
.linkbtn:disabled { opacity: .5; cursor: progress; }
.editor { max-width: 960px; margin: 0 auto; }
.ctl select { width: 100%; font: inherit; color: inherit; padding: 12px; border: 1px solid var(--border-hover); border-radius: 6px; background: var(--white); }
.ctl input[type=date] { font: inherit; color: inherit; padding: 11px 12px; border: 1px solid var(--border-hover); border-radius: 6px; background: var(--white); }
.ctl .static { display: inline-block; padding-top: 13px; color: var(--muted); }
.inline-select { max-width: 320px; margin-bottom: 8px; font: inherit; padding: 10px 12px; border: 1px solid var(--border-hover); border-radius: 6px; background: var(--white); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-weight: 400; cursor: pointer; }
.check input { margin-top: 5px; }
.editor .field { max-width: none; }
dialog { border: 0; border-radius: 16px; padding: 28px; max-width: 460px; width: calc(100% - 40px); box-shadow: var(--shadow-md); color: var(--text); }
dialog::backdrop { background: rgba(9,27,89,.45); }
dialog h2 { margin: 0 0 10px; font-size: 1.3rem; }
dialog .actions { margin: 20px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(680px, calc(100% - 32px)); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-md); z-index: 50; }
.toast a { color: #fff; }
.editor .frow > label { flex-basis: 170px; }

/* 404 */
.notfound { text-align: center; padding-top: 72px; padding-bottom: 96px; }
.notfound .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; margin: 0; color: rgba(9,27,89,.18); letter-spacing: -0.03em; }
.notfound h1 { margin: 8px 0 12px; }
.notfound .lead { max-width: 560px; margin: 0 auto 28px; }
.notfound .actions { justify-content: center; }
