:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #142340;
    background: #f3f6fb;
    line-height: 1.55;
    --blue: #174ca4;
    --line: #dbe4f1;
    --muted: #516581;
}
* { box-sizing: border-box; }
body { margin: 0; }
.frame { width: min(1140px, 100% - 36px); margin-inline: auto; }
.top { background: #10264b; color: white; }
.top-inner, .page-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-inner { min-height: 74px; }
.brand { color: inherit; display: flex; gap: 12px; align-items: center; font-size: 1.08rem; font-weight: 760; text-decoration: none; }
.brand img { border-radius: 12px; }
.brand small { color: #c3d4eb; font-size: .76rem; font-weight: 500; }
small { display: block; }
main { padding-block: 28px 48px; }
.page-title { margin-bottom: 23px; }
.page-title p { margin: 3px 0 0; color: var(--muted); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .65em; }
h1 { font-size: clamp(1.95rem, 4vw, 2.65rem); letter-spacing: -.04em; margin-bottom: 0; }
h2 { font-size: 1.27rem; }
h3 { font-size: 1.12rem; }
.narrow h1 { margin-bottom: .7em; }
.grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(17px, 3vw, 26px); box-shadow: 0 8px 30px #14234008; }
.narrow { max-width: 490px; margin: 5vh auto; }
.stack { display: grid; gap: 13px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 5px; font-size: .94rem; font-weight: 620; }
input, select, textarea { width: 100%; min-width: 0; font: inherit; color: inherit; border-radius: 8px; border: 1px solid #adbed4; padding: 9px 10px; background: #fff; }
textarea { resize: vertical; }
input[type=checkbox] { width: auto; }
a { color: var(--blue); }
button, .button { border: 1px solid transparent; border-radius: 9px; padding: 9px 14px; font: inherit; font-weight: 680; text-decoration: none; color: white; background: var(--blue); cursor: pointer; width: fit-content; }
.quiet { color: var(--blue); background: #edf4ff; border-color: #d3e2f5; }
:focus-visible { outline: 3px solid #067bbb; outline-offset: 3px; }
.muted, .jobs small { color: var(--muted); }
.jobs { list-style: none; padding: 0; margin: 0; }
.jobs li { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding-block: 12px; }
.jobs a { text-decoration: none; overflow-wrap: anywhere; }
.badge { display: inline-block; flex-shrink: 0; background: #edf4ff; color: #214578; border-radius: 50px; padding: 3px 9px; font-size: .78rem; font-weight: 650; }
.alert { border-radius: 10px; padding: 10px 14px; background: #fff3d8; color: #644610; }
.success { background: #e3f7eb; color: #125836; }
.danger { background: #ffe9eb; color: #812b36; }
video { width: 100%; max-height: 495px; background: #0d192e; border-radius: 10px; }
details { margin: 13px 0; }
summary { cursor: pointer; font-weight: 650; }
details form { margin-top: 14px; max-width: 480px; }
.review { margin-block: 16px 10px; }
.check { display: flex; align-items: baseline; gap: 8px; }
.settings { margin-top: 20px; }
.settings > label { max-width: 680px; margin-bottom: 12px; }
.break { overflow-wrap: anywhere; }
.pagination { display: flex; gap: 18px; margin-top: 12px; }
@media (max-width: 740px) {
    .grid { grid-template-columns: 1fr; }
    .page-title { align-items: start; }
    .page-title .button { font-size: .82rem; }
}
@media (max-width: 420px) {
    .fields { grid-template-columns: 1fr; }
    .jobs li { align-items: flex-start; flex-direction: column; }
    .page-title { display: block; }
    .page-title .button { display: inline-block; margin-top: 10px; }
}

footer { padding-bottom: 20px; font-size: .85rem; }
