:root {
  color-scheme: light;
  --blue: #003090;
  --orange: #f05400;
  --ink: #0e1d55;
  --ground: #f4f6f8;
  --quiet: #485678;
  --line: #d9dfeb;
  --shadow: 0 8px 18px rgba(8, 23, 70, .1);
  font-family: Rubik, Arial, sans-serif;
  background: var(--ground);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1.05rem; line-height: 1.5; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px;
}
header button:focus-visible, .enamel button:focus-visible { outline-color: white; }
:focus:not(:focus-visible) { outline: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3, .brand { font-family: "Secular One", Rubik, sans-serif; font-weight: 400; }
h1 { font-size: clamp(2.7rem, 5.7vw, 5.1rem); color: var(--blue); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.13; }
h3 { font-size: 1.34rem; line-height: 1.25; }
.sr-only, .skip:not(:focus) {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 2; inset: .6rem .6rem auto auto; color: var(--blue); background: white; padding: .5rem; }
.frame { width: min(1280px, 100%); margin: auto; padding: clamp(12px, 2.4vw, 32px); }
header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 10px 8px 22px; min-height: 76px; background: var(--blue); color: white;
  border-radius: 22px; box-shadow: var(--shadow);
}
header button { border: 0; background: transparent; color: white; }
.brand { display: inline-flex; align-items: center; gap: 14px; padding: 0; font-size: clamp(1.3rem, 2vw, 2rem); border-radius: 15px; }
.brand-tile { display: grid; place-items: center; background: white; border-radius: 15px; width: 69px; height: 56px; }
.brand img { width: 46px; height: 43px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 6px; }
nav button { border-radius: 12px; min-height: 44px; font-weight: 600; padding: 7px 13px; }
nav button:hover, nav [aria-current] { background: white; color: var(--blue); }
main { margin-top: 18px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(255px, .86fr); gap: 18px; align-items: start; }
.paper, .enamel { background: white; border-radius: 22px; box-shadow: var(--shadow); }
.primary-panel { padding: clamp(24px, 4.7vw, 67px); min-height: min(620px, 65vh); }
.primary-panel h1 { max-width: 12.5em; }
.primary-panel .intro { font-size: clamp(1.03rem, 1.5vw, 1.26rem); color: var(--quiet); margin-top: 14px; max-width: 44ch; }
.primary-panel h1:focus { outline: none; }
.side { display: grid; gap: 18px; }
.side article { padding: clamp(23px, 2.6vw, 35px); }
.side article p { margin-top: 12px; line-height: 1.55; }
.side article button { margin-top: 22px; }
.enamel { background: var(--blue); color: white; }
.enamel h2 { font-size: clamp(2rem, 3.35vw, 3.15rem); max-width: 10em; }
.enamel p { color: #e3eafa; }
.enamel .btn { background: white; color: var(--blue); }
.enamel .btn:hover { background: #e9effb; }
.brand-stripe { display: flex; align-items: center; gap: 7px; margin-bottom: 32px; }
.brand-stripe::before, .brand-stripe::after { content: ""; border-radius: 6px; height: 7px; }
.brand-stripe::before { width: 52px; background: var(--orange); }
.brand-stripe::after { width: 12px; background: white; }
.back, .text-button { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: transparent; color: var(--blue); font-weight: 600; padding: 3px 0; text-decoration: underline; text-underline-offset: .22em; }
.back { margin: -10px 0 18px; }
.text-button:hover, .back:hover { color: #273b66; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; border: none; border-radius: 14px;
  min-height: 48px; padding: 10px 21px; font-weight: 700; line-height: 1.25;
}
.action { color: var(--ink); background: var(--orange); }
.action:hover { background: #ff762c; }
.secondary { color: var(--blue); background: #ecf1fb; }
.secondary:hover { background: #dee7f9; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.search { margin: clamp(28px, 3.3vw, 45px) 0 25px; }
.search label, .field label { display: block; font-weight: 650; margin-bottom: 8px; }
.input-wrap { display: flex; align-items: stretch; border: 1.5px solid #9aa7c2; border-radius: 14px; background: white; }
.input-wrap:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.input-wrap input { min-width: 0; flex: 1; border: 0; background: none; padding: 13px 16px; outline: none; color: var(--ink); border-radius: 14px; }
.input-wrap input:focus-visible { outline: none; }
.input-wrap .text-button { margin-inline-end: 12px; }
[hidden] { display: none !important; }
.input-wrap input[type=search]::-webkit-search-cancel-button { display: none; }
.results-heading { color: var(--quiet); font-weight: 600; margin: 0 0 4px; font-size: .93rem; }
.rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.row-title { font-family: "Secular One", Rubik, sans-serif; font-size: 1.45rem; line-height: 1.22; overflow-wrap: anywhere; }
.row small, .muted { color: var(--quiet); }
.row small { display: block; margin-top: 2px; }
.row .btn { flex: none; min-height: 44px; padding: 7px 16px; }
.form { margin-top: 28px; max-width: 35em; }
.field + .field { margin-top: 16px; }
.field input, .field textarea {
  color: var(--ink); width: 100%; border: 1.5px solid #909db6; border-radius: 13px; padding: 12px 15px; background: white; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input[dir=ltr] { text-align: left; font-variant-numeric: tabular-nums; }
.otp { letter-spacing: .28em; font-size: 1.4rem; }
.code-tools { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 13px; }
.code-tools button:disabled { color: var(--quiet); text-decoration: none; cursor: default; }
.policy { margin-top: 20px; background: var(--ground); padding: 14px 18px; border-radius: 14px; }
.policy summary { cursor: pointer; font-weight: 650; color: var(--blue); padding-block: 4px; }
.policy p, .check { margin-top: 10px; }
.check { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.help { font-size: .93rem; margin-top: 8px; color: var(--quiet); }
.error { font-weight: 600; color: #9e241b; margin-top: 9px; }
.note { padding: 13px 17px; background: #eff3fb; border-inline-start: 4px solid var(--blue); color: var(--ink); border-radius: 8px; margin-top: 22px; }
.note code { font: 650 1.1rem Rubik, sans-serif; letter-spacing: .07em; }
.issue { border-inline-start-color: var(--orange); background: #fff2e9; }
.detail-box { background: var(--ground); border-radius: 15px; padding: 17px 20px; margin-top: 24px; }
.detail-box strong { display: block; font-size: 1.22rem; }
.detail-box p { margin-top: 4px; color: var(--quiet); }
.steps { list-style: none; margin-top: 22px; padding: 0; }
.steps li { position: relative; padding-inline-start: 28px; padding-block: 7px; color: #d9e2f7; }
.steps li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 1.18em; height: 9px; width: 9px; border-radius: 100%; background: var(--blue); border: 2px solid #b9c9ea; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 9px; top: 1.4em; bottom: -.9em; width: 2px; background: #7e9bd1; }
.steps li[aria-current] { font-weight: 700; color: white; }
.steps li[aria-current]::before { background: var(--orange); border-color: white; }
.community-name { color: var(--blue); font-weight: 650; }
.feed { margin-top: 25px; }
.post { border-top: 1px solid var(--line); padding: 15px 0; }
.post p { margin-top: 3px; overflow-wrap: anywhere; white-space: pre-wrap; }
.empty { margin-block: 15px; color: var(--quiet); }
footer { padding: 21px 8px 4px; font-size: .9rem; color: var(--quiet); }
@media (max-width: 760px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side { gap: 12px; }
  .primary-panel { min-height: auto; }
  main { margin-top: 12px; }
  .brand-stripe { margin-bottom: 16px; }
  .side article { padding: 23px; }
  .flow .side { display: none; }
  .flow .primary-panel { min-height: 420px; }
  .primary-panel h1 { font-size: clamp(2.5rem, 9vw, 3.8rem); }
}
@media (max-width: 490px) {
  .frame { padding: 10px; }
  header { min-height: 62px; border-radius: 17px; padding: 6px; gap: 5px; }
  .brand { gap: 7px; font-size: 1.19rem; white-space: nowrap; }
  .brand-tile { width: 41px; height: 44px; border-radius: 11px; }
  .brand img { width: 33px; height: 31px; }
  nav { gap: 1px; }
  nav button { font-size: .83rem; padding: 5px 7px; }
  .primary-panel { padding: 26px 17px; }
  .row { gap: 8px; }
  .row-title { font-size: 1.24rem; }
  .row small { font-size: .88rem; }
  .row .btn { padding: 8px 11px; font-size: .94rem; }
  .actions .btn { width: 100%; }
}
@media (max-width: 350px) {
  .brand { font-size: 1rem; }
  nav button { padding: 5px; }
  .brand-tile { width: 32px; }
}
.btn[href] { text-decoration: none; }
.btn:disabled { cursor: wait; opacity: .65; }
.form fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.check input { flex: none; }
.policy p { white-space: pre-wrap; overflow-wrap: anywhere; }
