* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fb; color: #172941; font: 16px/1.85 Vazirmatn, Tahoma, sans-serif; }
a { color: #214b99; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1970c6; outline-offset: 3px; }
.skip { position: absolute; transform: translateY(-150%); }
.skip:focus { transform: none; background: white; }
.frame { max-width: 1280px; margin: auto; padding: 0 28px; }
header { background: white; border-bottom: 1px solid #dbe3eb; }
.bar, .brand, .actions, .section-title { display: flex; align-items: center; gap: 16px; }
.bar { justify-content: space-between; min-height: 76px; }
.brand { color: #182c49; text-decoration: none; font-weight: 750; }
.brand svg, .brand img { max-width: 115px; max-height: 37px; }
.brand span { border-inline-start: 1px solid #d2dae6; padding-inline-start: 15px; }
.shell { display: grid; grid-template-columns: 196px minmax(0,1fr); gap: 36px; align-items: start; padding-top: 30px; padding-bottom: 64px; }
aside nav { display: grid; gap: 5px; }
aside nav a { color: #334865; padding: 10px 16px; border-radius: 9px; text-decoration: none; }
aside nav a[aria-current], aside nav a:hover { background: #e2ebfc; color: #214b99; }
aside nav .back { border-top: 1px solid #dbe3eb; margin-top: 12px; }
h1 { margin: 0 0 8px; line-height: 1.65; font-size: 32px; }
h2 { font-size: 22px; margin: 0 0 12px; }
h3 { font-size: 17px; }
.intro { max-width: 74ch; margin: 8px 0 24px; color: #425572; }
.panel, .card, .callout { background: #fff; border: 1px solid #dbe3eb; border-radius: 14px; }
.panel, .callout { padding: 24px; margin: 18px 0; }
.panel p { max-width: 74ch; }
.filter { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 14px; align-items: end; }
label { display: block; font-size: 14px; font-weight: 650; }
input,select,textarea { width: 100%; padding: 10px 12px; margin-top: 5px; font: inherit; color: inherit; border: 1px solid #afbdd0; border-radius: 8px; background: white; }
textarea { resize: vertical; }
button,.action { display: inline-block; border: none; border-radius: 9px; background: #214ebb; color: white; padding: 10px 18px; font: inherit; cursor: pointer; text-decoration: none; }
[hidden] { display: none !important; }
.actions { flex-wrap: wrap; margin: 16px 0; }
.section-title { margin: 26px 0 18px; }
.section-title h2 { margin: 0; }
.section-title span,.slug,.card bdi { font-size: 14px; color: #556880; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 12px; }
.card { display: grid; grid-template-columns: 1fr auto; padding: 15px 18px; gap: 4px; color: #213956; text-decoration: none; }
.card bdi { overflow-wrap: anywhere; grid-row: 2; justify-self: start; }
.card span { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.card:hover { border-color: #577db9; background: #f8fbff; }
table { width: 100%; border-collapse: collapse; }
td,th { text-align: start; padding: 10px; border-bottom: 1px solid #e4e9ef; overflow-wrap: anywhere; }
@media(max-width:850px) {
  .shell { display: block; }
  aside nav { display: flex; flex-wrap: wrap; margin-bottom: 22px; }
  aside nav a { padding: 6px 10px; font-size: 14px; }
  aside nav .back { margin: 0; border: 0; }
}
@media(max-width:600px) {
  .frame { padding-inline: 16px; }
  .bar { min-height: 60px; gap: 8px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand span { padding-inline-start: 6px; }
  .brand svg,.brand img { max-width: 74px; }
  .bar .action { font-size: 13px; padding: 8px; }
  .filter { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  h1 { font-size: 25px; }
  h2 { font-size: 20px; }
}
pre { overflow: auto; max-width: 100%; background: #182b44; color: #eef4ff; border-radius: 8px; padding: 14px; text-align: left; }
summary { cursor: pointer; overflow-wrap: anywhere; }
.offer { display: block; }
.offer div { font-size: 14px; margin-top: 6px; }
.offer strong { display: block; }
details .cards { margin-top: 16px; }
