/* Справочные страницы и калькуляторы common.uz (seo_layout.py). Шрифт и цвета — из style.css. */
.ikat { height: 12px; background-image: url('assets/images/ikat_indigo.webp'); background-size: 180px auto; background-position: center }
.seo-head { max-width: 1280px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 32px); display: flex; gap: 12px; align-items: center; justify-content: space-between }
.logo { font-weight: 900; font-size: 28px; letter-spacing: -0.02em; color: #23246B }
.head-actions { display: flex; gap: 10px; align-items: center }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #EDEDF8; color: #23246B; font-weight: 800; font-size: 14px; white-space: nowrap }
.pill-dark { background: #23246B; color: #FFFFFF }
.pill-dark:hover { color: #FFFFFF; background: #11124A }
.seo-main { max-width: 860px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) clamp(16px, 3vw, 32px) 0; display: flex; flex-direction: column; gap: 24px }
.seo-main a:not(.btn):not(.pill):not(.hub-card) { text-decoration: underline }
.crumbs { font-size: 14px; font-weight: 700; color: #6B6B92 }
.crumbs a { color: #6B6B92 }
.updated { font-size: 14px; font-weight: 800; color: #6B6B92; margin-bottom: 10px }
.seo-main h1 { margin: 0 0 14px; font-weight: 900; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.02em; color: #1A1A4A }
.card { background: #FFFFFF; border-radius: 28px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 12px 36px rgba(35, 36, 107, 0.05) }
.card h2, .seo-main h2 { margin: 0 0 14px; font-weight: 900; font-size: clamp(23px, 3vw, 32px); letter-spacing: -0.01em; color: #1A1A4A }
.card h3 { margin: 18px 0 8px; font-weight: 900; font-size: 19px; color: #1A1A4A }
.p, .card p, .card li { font-size: 17px; font-weight: 600; line-height: 1.6; color: #3A3A66 }
.card p { margin: 0 0 12px }
.lede { font-size: 18px; font-weight: 600; line-height: 1.6; color: #3A3A66; margin: 0 }
.card ul, .card ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px }
.calc { display: flex; flex-direction: column; gap: 18px }
.calc h2 { margin: 0 }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; color: #6B6B92; min-width: 0 }
.field input, .field select { font: 800 21px 'Nunito', system-ui, sans-serif; color: #1A1A4A; border: 2px solid #E3E1F2; border-radius: 16px; padding: 11px 14px; background: #F8F6FC; width: 100%; min-width: 0 }
.field select { font-size: 17px; padding: 13px 12px }
.field input:focus, .field select:focus { outline: 3px solid #F2A93B; outline-offset: 1px; border-color: #23246B }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; font-weight: 800; color: #6B6B92 }
.chip { border: 0; border-radius: 999px; padding: 9px 15px; min-height: 40px; cursor: pointer; font: 800 14px 'Nunito', system-ui, sans-serif; background: #EDEDF8; color: #23246B }
.chip[aria-pressed="true"] { background: #23246B; color: #FFFFFF }
.res { background: #F8F6FC; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.res-l { font-size: 14px; font-weight: 800; color: #6B6B92 }
.res-v { font-size: 25px; font-weight: 900; color: #1A1A4A; overflow-wrap: anywhere }
.res-v.red { color: #C42B3E }
.res-v.green { color: #107C52 }
.res-s { font-size: 14px; font-weight: 700; color: #6B6B92 }
.warn { background: #FFF1EF; color: #A8261F; border-radius: 14px; padding: 12px 14px; font-weight: 800; font-size: 15px }
.btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: #F2A93B; color: #1A1A4A; font-weight: 900; font-size: 17px }
.btn:hover { color: #1A1A4A; opacity: 0.9 }
.btn-ghost { border: 2px dashed #CFCDE6; background: transparent; color: #23246B; border-radius: 16px; min-height: 48px; padding: 0 18px; font: 800 15px 'Nunito', system-ui, sans-serif; cursor: pointer; align-self: flex-start }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch }
.table { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 700; color: #3A3A66 }
.table th { text-align: left; font-size: 13px; font-weight: 800; color: #6B6B92; padding: 8px 10px; border-bottom: 2px solid #EDEDF8 }
.table td { padding: 10px; border-bottom: 2px solid #F3F1FA; white-space: nowrap; font-variant-numeric: tabular-nums }
details.sched summary { cursor: pointer; font-weight: 900; color: #23246B; padding: 6px 0 }
.debt { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr auto; gap: 10px; align-items: end; padding: 12px; border-radius: 18px; background: #FBFAFE; border: 2px solid #F0EEF8 }
.debt .field input, .debt .field select { font-size: 17px; padding: 10px 11px }
.debt-del { border: 0; background: #EDEDF8; color: #23246B; border-radius: 12px; min-width: 44px; min-height: 44px; font: 900 18px 'Nunito', system-ui, sans-serif; cursor: pointer }
.order { margin: 0; padding-left: 22px }
.faq details { border-top: 2px solid #EDEDF8; padding: 14px 0 }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; color: #1A1A4A }
.faq details p { margin-top: 10px }
.cta { background: #23246B; color: #FFFFFF; border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px }
.cta h2 { margin: 0; font-weight: 900; font-size: clamp(23px, 3vw, 32px); color: #FFFFFF }
.cta p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.6; color: #D9D9F2 }
.also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
.hub-card { display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; border-radius: 22px; padding: 20px; box-shadow: 0 8px 24px rgba(35, 36, 107, 0.05); color: #1A1A4A; border: 2px solid transparent }
.hub-card:hover { border-color: #23246B; color: #1A1A4A }
.hub-card b { font-size: 19px; font-weight: 900 }
.hub-card span { font-size: 15px; font-weight: 600; color: #6B6B92; line-height: 1.5 }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px }
.sources { font-size: 15px; font-weight: 600; line-height: 1.6; color: #3A3A66; padding-left: 22px; margin: 0 0 12px }
.disclaimer { font-size: 14px; font-weight: 600; color: #6B6B92; margin: 0 }
.seo-foot { border-top: 2px solid #EDEDF8; margin-top: 48px }
.seo-foot-in { max-width: 1280px; margin: 0 auto; padding: 24px clamp(16px, 3vw, 32px) 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 15px; font-weight: 700; color: #6B6B92 }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px }
.foot-links a { color: #23246B }
@media (max-width: 640px) {
  .grid, .grid-2, .also, .hub-grid { grid-template-columns: 1fr }
  .debt { grid-template-columns: 1fr 1fr; }
  .debt .field:first-child { grid-column: 1 / -1 }
  .debt > div:last-child { grid-column: 1 / -1 }
  .seo-head { padding: 14px 16px }
  .logo { font-size: 24px }
  .pill { padding: 0 12px; font-size: 13px; min-height: 40px }
}
.field[hidden] { display: none }
