/* p-rules.css · the "rules" pages of halal-solution.com (Miniatur design), round-2 rework 5 Oct 2026, linked after
   site.css and pages.css: /jakim-halal-requirements/ (rq-), /halal-requirements-by-company-size/ (sz-),
   /halal-certification-process/ (pr-), /jakim-halal-fees/ (fe-); ru- = shared by the four.
   Tokens only from site.css; every font-size >= 12px; blue/green are fills, text uses --blue-ink/--green-ink. */

/* ---------- shared ---------- */
.ru-h2 { font-size: clamp(34px, 3.6vw, 56px); font-stretch: 80%; line-height: .96; letter-spacing: -.024em; margin: 0 0 20px; text-wrap: balance; }
.ru-h2 span { font-weight: 300; }
.iso-wrap { position: relative; }
/* iso_rules drawings: fills and strokes are attributes (so a cropped <use> copy renders the same); not .iso, whose
   shared rules would override them */
.isr { width: 100%; height: auto; display: block; overflow: visible; }
.ru-t .cl { white-space: normal; }
/* the H1 stays the largest heading on these pages: the closing band and the night band are set below it */
.ru-close h2 { font-size: clamp(34px, 3.8vw, 58px); }
.fe-night h2 { font-size: clamp(32px, 3.7vw, 56px); }
/* keyboard focus over paper and white */
.pg-requirements a:focus-visible, .pg-sizes a:focus-visible, .pg-process a:focus-visible, .pg-fees a:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }
.fe-night a:focus-visible { outline-color: #7FD0F5; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-requirements .who, .pg-process .who { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; white-space: nowrap; line-height: 1.4; margin: 0; }
.ru-num { font-stretch: 125%; font-weight: 780; letter-spacing: -.04em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.link:hover { text-decoration-thickness: 2px; }
.ru-fresh { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 52em; }
.ru-fresh b { color: var(--ink); font-weight: 650; }
.ru-guides { margin: 0 auto; padding-top: 22px; padding-bottom: 22px; font-size: 15.5px; color: var(--ink-2); background: none; }
.ru-close .ru-cred { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; margin: 26px 0 0; max-width: 38em; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.ru-close .ru-cred .ico { width: 44px; height: 44px; }
.ru-cred-s { font-size: 14px !important; color: var(--ink-2); }
.rq-sch { display: flex; align-items: center; gap: 12px; }
.rq-sch .ico { width: 54px; height: 54px; }
.rq-sch small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: .02em; margin-top: 2px; }
.ru-yr { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ru-yr .ru-num { font-size: 26px; vertical-align: -3px; }
.ru-dim { font-weight: 500; color: var(--mute); }
.rq-schemes td, .sz-schemes td { vertical-align: middle; }

/* real tables from 641px: the shared rule stacks every table below 981px; these keep their rows and columns */
@media (min-width: 641px) and (max-width: 980px) {
  .ru-real table { display: table; table-layout: auto; font-size: 15.5px; }
  .ru-real thead { display: table-header-group; }
  .ru-real tbody { display: table-row-group; }
  .ru-real tr, .ru-real tbody tr { display: table-row; padding: 0; }
  .ru-real th, .ru-real td, .ru-real tbody th { display: table-cell; width: auto; padding: 14px 14px; border-bottom: 1px solid var(--line); position: static; min-height: 0; }
  .ru-real tbody th { font-size: 15.5px; padding-bottom: 14px; }
  .ru-real td::before { content: none; }
  .ru-real tbody tr:last-child > * { border-bottom: 0; }
}

/* the renewal bar (requirements and process) */
.pr-line { display: grid; grid-template-columns: 5fr 2.4fr 2.2fr 2.6fr; margin: 0 0 8px; }
.pr-line span { font-family: var(--mono); font-size: 12.5px; line-height: 1.35; padding: 12px 10px; text-align: center; }
.pr-line small { display: none; font-size: 12px; margin-top: 3px; }
.pr-l-valid { background: var(--white); border: 1px solid var(--line); border-radius: 10px 0 0 10px; color: var(--ink-2); }
.pr-l-win { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); color: var(--green-ink); font-weight: 500; }
.pr-l-late { background: var(--paper-2); color: #4A5862; }
.pr-l-new { border: 1.5px dashed #9AA6AE; border-left: 0; border-radius: 0 10px 10px 0; color: #4A5862; }
.pr-line-k { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 5fr 2.4fr 2.2fr 2.6fr; }
.pr-line-k li { font-family: var(--mono); font-size: 12.5px; line-height: 1.35; color: var(--ink); border-left: 1.5px solid var(--ink); padding: 8px 0 0 6px; }
.pr-line-k li:nth-child(1) { grid-column: 2; }
.pr-line-k li:nth-child(2) { grid-column: 3; }
.pr-line-k li:nth-child(3) { grid-column: 4; }

/* ================================================================ requirements: the walk through one building */
.rq-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.rq-hero h1 { font-size: clamp(42px, 4.9vw, 80px); margin: 0; }
.rq-fig { margin: 0; padding: clamp(16px, 2.6vw, 40px); box-shadow: 0 34px 90px -48px rgba(15, 27, 36, .45); }
.rq-fig .iso-wrap { width: min(100%, 1000px); margin: 0 auto; }

.rq-fig figcaption { max-width: 60em; }
.rq-pin { position: absolute; transform: translate(-16px, -50%); display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.rq-pin b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 500; box-shadow: 0 0 0 3px var(--white), 0 8px 18px -8px rgba(15, 27, 36, .6); }
.rq-pin span { font-size: 14px; font-weight: 600; font-stretch: 92%; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--line); }
.rq-pin:hover b { background: var(--blue-ink); }
.rq-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.rq-legend a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s; }
.rq-legend a:hover { border-color: var(--blue); background: var(--white); }
.rq-legend b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue-ink); }

.rq-intro { padding: clamp(56px, 6vw, 96px) 0 clamp(56px, 6vw, 88px); }
.rq-intro-in { display: grid; grid-template-columns: minmax(0, 46rem) minmax(260px, 330px); justify-content: space-between; gap: clamp(32px, 5vw, 80px); align-items: start; }
.rq-intro p:not(.src):not(.note-t):not(.ru-fresh) { color: var(--ink-2); max-width: 42em; }
.rq-h3 { font-size: clamp(22px, 1.9vw, 28px); font-stretch: 86%; line-height: 1.05; margin: 30px 0 10px; }
.rq-h3 span { font-weight: 300; }
.rq-terms-note { position: sticky; top: calc(var(--nav) + 28px); }
.note .rq-terms div { padding: 10px 0; }
.note .rq-terms dd { font-size: 15px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); line-height: 1.5; margin-top: 3px; }

.rq-walk { padding: clamp(56px, 6vw, 96px) 0; background: var(--paper-2); }
.rq-walk-head { max-width: 50rem; margin-bottom: clamp(28px, 3.4vw, 48px); }
.rq-walk-head .lede { margin: 0; }
.rq-walk-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: start; }
.rq-idx { position: sticky; top: calc(var(--nav) + 28px); }
.rq-idx-t { font-family: var(--mono); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.rq-idx ol { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.rq-idx ol::before, .rq-idx ol::after { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--line); }
.rq-idx ol::after { background: var(--blue); bottom: auto; height: calc((100% - 12px) * var(--walk, 0)); transition: height .3s; }
.rq-idx li { position: relative; }
.rq-idx li::before { content: ''; position: absolute; left: -22px; top: 50%; width: 10px; height: 10px; border-radius: 50%; translate: 0 -50%; background: var(--paper-2); box-shadow: inset 0 0 0 2px #AEB8BE; transition: background .3s, box-shadow .3s; }
.rq-idx a { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 9px 0 9px 6px; font-size: 14.5px; line-height: 1.3; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .25s, background .25s; }
.rq-idx a:hover { color: var(--ink); }
.rq-idx b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue-ink); }
.rq-idx li.on a { color: var(--ink); font-weight: 650; background: var(--white); }
.rq-idx li.on::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 155, 215, .2); }
.rq-cards { display: grid; gap: 22px; }
.rq-st { background: var(--white); border: 1px solid rgba(15, 27, 36, .08); border-radius: 24px; box-shadow: 0 30px 80px -52px rgba(15, 27, 36, .5); scroll-margin-top: calc(var(--nav) + 20px); overflow: hidden; }
.rq-st-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px); align-items: end; gap: 22px; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 38px) 0; border-bottom: 1px solid var(--line); background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 24px 24px; }
.rq-st-head .st-n { color: var(--blue-ink); padding-bottom: 18px; line-height: .78; }
.st-room { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.st-room .ico { width: 52px; height: 52px; }
.rq-crop { display: block; width: 100%; height: auto; max-height: 190px; overflow: hidden; align-self: end; }
.rq-st-body { padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 38px) clamp(22px, 2.8vw, 36px); }
.rq-st-body h3 { font-size: clamp(26px, 2.3vw, 36px); font-stretch: 82%; line-height: 1; margin: 0 0 10px; text-wrap: balance; }
.rq-st-body h3 span { font-weight: 300; }
.rq-st-lede { color: var(--ink-2); max-width: 44em; margin: 0 0 18px; }
.rq-asks-t { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 20px 0 6px; }
.rq-asks-t:first-of-type { margin-top: 0; }
.rq-asks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rq-asks li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.rq-asks .cl { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); text-align: right; padding-top: 3px; }
.rq-more { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-2); }
.rq-st .prep { max-width: 44em; }
.pg-rules .prep b, .rq-st .prep b, .sz-ch .prep b { font-size: 12px; }
.rq-st .src { margin-top: 12px; }

.rq-plan { padding: clamp(64px, 7vw, 110px) 0; }
.rq-plan-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.rq-plan-head .ru-h2 { margin: 0; }
.rq-plan-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
.rq-plan-grid { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: #46606F; border: 6px solid #46606F; border-radius: 4px; position: relative; }
.rq-plan-grid > li { position: relative; background-color: var(--white); padding: 22px 22px 24px; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; }
/* door openings in the plan walls, where the drawing has its doors */
.rq-plan-grid > li.r1::after, .rq-plan-grid > li.r2::after, .rq-plan-grid > li.r4::after, .rq-plan-grid > li.r5::after { content: ''; position: absolute; right: -6px; width: 6px; height: 54px; background: var(--white); top: 58%; }
.rq-plan-grid > li.r1::before, .rq-plan-grid > li.r2::before, .rq-plan-grid > li.r3::before { content: ''; position: absolute; bottom: -6px; height: 6px; width: 64px; background: var(--white); left: 36%; }
.rq-plan-grid > li > a { display: flex; align-items: baseline; gap: 12px; color: var(--ink); text-decoration: none; }
.rq-plan-n { font-stretch: 125%; font-weight: 780; font-size: 40px; line-height: .8; letter-spacing: -.04em; color: var(--blue-ink); }
.rq-plan-grid b { font-size: 18px; font-weight: 650; font-stretch: 90%; line-height: 1.2; }
.rq-plan-grid > li > a:hover b { color: var(--blue-ink); }
.rq-plan-grid ul { list-style: none; margin: 14px 0 0; padding: 0; }
.rq-plan-grid ul li { font-size: 15px; line-height: 1.4; color: var(--ink-2); padding: 7px 0 7px 18px; border-top: 1px solid var(--line); position: relative; }
.rq-plan-grid ul li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 8px; height: 10px; border: 1.5px solid #7D8B94; border-radius: 1px; }
.rq-plan-grid ul li.none { color: var(--mute); font-style: italic; padding-left: 0; }
.rq-plan-grid ul li.none::before { display: none; }

.rq-check { padding: 0 0 clamp(64px, 7vw, 110px); }
.rq-check-lede { color: var(--ink-2); max-width: 46em; margin: 0 0 clamp(24px, 3vw, 36px); }
.rq-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-bottom: 14px; }
.rq-panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); }
.rq-panel.no { background: transparent; border: 1.5px dashed #AEB8BE; }
.rq-panel h3 { font-size: clamp(22px, 1.9vw, 28px); font-stretch: 86%; margin: 0 0 6px; }
.rq-panel-t { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }
.rq-conds, .rq-nots { list-style: none; margin: 0; padding: 0; }
.rq-conds li, .rq-nots li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.rq-nots li { grid-template-columns: 40px minmax(0, 1fr); }
.rq-cn { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); padding-top: 3px; }
.rq-nots .rq-cn { color: var(--mute); }
.rq-chip { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); text-decoration: none; margin-top: 1px; }
.rq-chip:hover { background: var(--blue-ink); color: #fff; }

.rq-schemes-sec { padding: clamp(64px, 7vw, 110px) 0; background: var(--white); scroll-margin-top: var(--nav); }
.rq-schemes-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.rq-schemes-head .ru-h2 { margin: 0; }
.rq-schemes-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
.rq-schemes .tscroll { background: var(--paper); }
.rq-schemes tbody th { width: 27%; }
.rq-schemes td:last-child { width: 14%; }
.rq-schemes tr.hl th, .rq-schemes tr.hl td { background: var(--blue-soft); }

.rq-terms-sec { padding: clamp(64px, 7vw, 100px) 0 0; }
.rq-yrs { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rq-yrs li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px 18px; }
.rq-yrs li.hl { background: var(--blue-soft); border-color: rgba(10, 108, 160, .25); }
.rq-yrs li.hl .ico { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; }
.rq-yrs .ru-num { display: block; font-size: clamp(64px, 6vw, 92px); line-height: .8; }
.rq-yrs span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 10px 0 10px; }
.rq-yrs p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.rq-yrs p.cl { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); margin-top: 10px; }

.rq-rules { padding: clamp(64px, 7vw, 110px) 0; }
.rq-rules-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.rq-rules-head .ru-h2 { margin: 0; }
.rq-rules-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
.rq-rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rq-rule { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 2.6vw, 36px); scroll-margin-top: calc(var(--nav) + 20px); }
.rq-rule-t, .pr-panel-t { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; font-stretch: 86%; letter-spacing: -.015em; line-height: 1.05; color: var(--ink); }
.rq-rule-t .ico, .pr-panel-t .ico { width: 56px; height: 56px; }
.rq-rule p:not(.src):not(.rq-rule-t) { color: var(--ink-2); font-size: 16.5px; max-width: 38em; }
.ru-line { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.ru-line::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: var(--line); }
.ru-line li { position: relative; padding: 24px 12px 0 0; }
.ru-line li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--ink); }
.ru-line li:nth-child(2)::before { box-shadow: inset 0 0 0 3px var(--green); background: var(--green-soft); }
.ru-line li:nth-child(3)::before { box-shadow: inset 0 0 0 3px var(--blue); background: var(--blue-soft); }
.ru-line b { display: block; font-size: 17px; font-weight: 700; font-stretch: 90%; color: var(--ink); }
.ru-line span { display: block; font-family: var(--mono); font-size: 12px; line-height: 1.45; color: var(--ink-2); margin-top: 4px; }

/* ================================================================ by company size: column-led */
.sz-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sz-hero h1 { font-size: clamp(42px, 4.8vw, 80px); margin: 0; text-wrap: balance; }
.sz-fig { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.4vw, 34px); background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; box-shadow: 0 34px 90px -52px rgba(15, 27, 36, .45); }
.sz-cols { display: grid; grid-template-columns: 22% minmax(0, 1fr); align-items: end; }
.sz-key { margin: 0; padding: 0 20px 6px 0; align-self: end; }
.sz-key b { display: block; font-size: 18px; font-weight: 650; font-stretch: 90%; color: var(--ink); }
.sz-key span { display: block; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--mute); margin-top: 6px; }
.sz-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.sz-col { padding: 0 14px; border-left: 1px solid var(--line); }
.sz-col:nth-child(3) { border-left: 2px solid var(--ink); }
.sz-art { display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }

.sz-name { font-size: clamp(20px, 1.7vw, 26px); font-weight: 720; font-stretch: 84%; letter-spacing: -.02em; line-height: 1; margin: 0; color: var(--ink); }
.sz-ms { font-family: var(--mono); font-size: 12px; color: var(--mute); margin: 5px 0 0; }
.sz-band { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); margin: 10px 0 0; padding-top: 10px; position: relative; }
.sz-band::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; border-radius: 2px; background: var(--blue); width: 25%; }
.sz-col:nth-child(2) .sz-band::before { width: 50%; }
.sz-col:nth-child(3) .sz-band::before { width: 75%; }
.sz-col:nth-child(4) .sz-band::before { width: 100%; }
.sz-fig figcaption { margin-top: 18px; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--mute); max-width: 64em; }

.sz-sec { padding: clamp(48px, 5vw, 80px) 0 clamp(40px, 4vw, 64px); }
.sz-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(24px, 3vw, 36px); }
.sz-sec-head.one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.sz-sec-head .ru-h2 { margin: 0 0 18px; }
.sz-sec-head.one .ru-h2 { margin: 0; }
.sz-sec-head p { margin: 0; color: var(--ink-2); max-width: 40em; }
.note.sz-note dd { font-size: 17px; }
.sz-matrix table { table-layout: fixed; }
.sz-matrix thead th { vertical-align: bottom; }
.sz-matrix thead tr:last-child th:first-child { width: 24%; }
.sz-matrix .sz-grp td, .sz-matrix .sz-grp th { background: var(--white); border-bottom: 0; padding-top: 14px; padding-bottom: 0; text-transform: none; letter-spacing: 0; }
.sz-matrix .sz-grp th span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 8px; }
.sz-matrix .sz-grp th span b { color: var(--blue-ink); font-size: 14px; }
.sz-matrix .sz-grp th:last-child span { border-top-color: var(--blue); }
.sz-th { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sz-th .ico { width: 56px; height: 56px; }
.sz-th b { font-family: var(--f); font-size: 18px; font-weight: 650; font-stretch: 90%; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.sz-th small { font-size: 12px; letter-spacing: .02em; text-transform: none; color: var(--mute); }
.sz-matrix tbody tr > :nth-child(4), .sz-matrix thead tr:last-child > :nth-child(4), .sz-matrix .sz-grp > :nth-child(3) { box-shadow: inset 2px 0 0 var(--ink); }
.sz-n { font-size: 32px; font-stretch: 125%; font-weight: 780; line-height: 1; color: var(--blue-ink); letter-spacing: -.04em; vertical-align: -5px; margin-left: 4px; }
.sz-fee { font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sz-na { display: block; color: var(--mute); font-size: 14.5px; line-height: 1.35; }
.sz-na b { display: block; font-size: 22px; font-weight: 400; color: var(--mute); line-height: 1; margin-bottom: 4px; }
.sz-abbr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 18px 0 0; }
.sz-abbr div { padding: 10px 0; border-top: 1px solid var(--line); }
.sz-abbr dt { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.sz-abbr dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

.sz-chs { padding: clamp(48px, 5vw, 80px) 0 clamp(64px, 7vw, 110px); }
.sz-chs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.sz-chs-head .ru-h2 { margin: 0; }
.sz-chs-head p { margin: 0; color: var(--ink-2); max-width: 38em; }
.sz-ch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.sz-ch { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 2vw, 28px); }
.sz-ch.s1 { margin-top: 132px; } .sz-ch.s2 { margin-top: 88px; } .sz-ch.s3 { margin-top: 44px; }
.sz-ch.s3, .sz-ch.s4 { border-color: rgba(10, 108, 160, .28); }
.sz-ch header { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sz-ch header .ico { width: 60px; height: 60px; }
.sz-ch-n { font-size: 26px; font-weight: 720; font-stretch: 84%; letter-spacing: -.02em; line-height: 1; margin: 0; color: var(--ink); }
.sz-ch-band { font-family: var(--mono); font-size: 12px; color: var(--mute); margin: 6px 0 0; }
.sz-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sz-tags li { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid #AEB8BE; color: var(--ink-2); }
.sz-tags li.add { border-color: var(--green); color: var(--green-ink); background: var(--green-soft); }
.sz-ch h3 { font-size: clamp(21px, 1.6vw, 25px); font-stretch: 86%; line-height: 1.05; margin: 16px 0 10px; text-wrap: balance; }
.sz-ch h3 span { font-weight: 300; }
.sz-ch > p:not(.src):not(.prep) { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

.sz-sys { background: var(--paper-2); padding: clamp(64px, 7vw, 104px) 0; }
.sz-sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.sz-sys-c { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 2.6vw, 36px); }
.sz-sys-c.has { box-shadow: inset 0 4px 0 var(--blue); }
.sz-sys-k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 10px; }
.sz-sys-c h3 { font-size: clamp(23px, 2vw, 30px); font-stretch: 84%; margin: 0 0 12px; }
.sz-sys-c > p:not(.src):not(.sz-sys-k) { color: var(--ink-2); font-size: 16.5px; }
.sz-parts { list-style: none; counter-reset: p; margin: 0 0 14px; padding: 0; }
.sz-parts li { counter-increment: p; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.sz-parts li::before { content: counter(p); grid-row: span 2; font-stretch: 125%; font-weight: 780; font-size: 26px; line-height: 1; color: var(--blue-ink); }
.sz-parts b { font-size: 16.5px; font-weight: 650; color: var(--ink); }
.sz-parts span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.sz-verdict { background: var(--white); padding: clamp(72px, 8vw, 124px) 0; }
.sz-verdict-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.sz-verdict p:not(.src):not(.kicker) { color: var(--ink-2); max-width: 40em; }
.sz-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sz-nums li { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.sz-nums b { display: block; font-size: clamp(120px, 14vw, 220px); font-stretch: 125%; font-weight: 780; line-height: .8; letter-spacing: -.05em; color: var(--blue); }
.sz-nums span { display: block; font-size: 18px; font-weight: 650; font-stretch: 90%; margin-top: 18px; }
.sz-nums small { display: block; font-family: var(--mono); font-size: 12px; color: var(--mute); margin-top: 4px; }

.sz-schemes-sec { padding: clamp(64px, 7vw, 104px) 0 clamp(40px, 4vw, 64px); }
.sz-schemes tbody th { width: 27%; }
.sz-schemes td:last-child { width: 12%; }

.sz-over { padding: clamp(40px, 4vw, 64px) 0 clamp(64px, 7vw, 100px); }
.sz-over-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 44px); }
.sz-over-t { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.sz-over-t .ico { width: 52px; height: 52px; }
.sz-over h2 { font-size: clamp(28px, 2.9vw, 44px); font-stretch: 82%; line-height: 1; margin: 0 0 14px; }
.sz-over h2 span { font-weight: 300; }
.sz-over-txt p:not(.src):not(.sz-over-t) { color: var(--ink-2); max-width: 44em; }
.sz-spec { margin: 0; border-left: 1px solid var(--line); padding-left: clamp(18px, 2vw, 32px); }
.sz-spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sz-spec div:last-child { border-bottom: 0; }
.sz-spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sz-spec dd { margin: 4px 0 0; font-size: clamp(30px, 2.8vw, 42px); font-stretch: 125%; font-weight: 780; letter-spacing: -.04em; line-height: 1; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.sz-spec dd small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); margin-top: 6px; }

/* ================================================================ process: the road and the spine */
.pr-hero { padding-bottom: 0; }
.pr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 4vw, 60px); }
.pr-hero h1 { font-size: clamp(42px, 5vw, 84px); margin: 0; }
.pr-scope { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; }
.pr-scope li { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.pr-scope li.yes { border-color: rgba(60, 122, 18, .4); background: var(--green-soft); }
.pr-scope li.no { border-style: dashed; border-color: #AEB8BE; background: transparent; }
.pr-scope b { font-weight: 650; color: var(--ink); }
.pr-band { background: var(--paper-2); padding: clamp(32px, 3.6vw, 52px) 0 clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.pr-band-t { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.pr-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-road { margin: 0 0 6px; }

.pr-track { list-style: none; margin: 0 0 22px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); box-sizing: border-box; }
.pr-stop { position: relative; padding: 0 8px; text-align: center; --c: #8C9AA3; --ct: #3C4A53; }
.pr-stop.us { --c: var(--blue); --ct: var(--blue-ink); }
.pr-stop.you { --c: var(--ink); --ct: var(--ink); }
.pr-stop::before { content: ''; position: absolute; left: 50%; right: -50%; top: 30px; height: 4px; background: var(--c); }
.pr-stop:last-child::before { display: none; }
.pr-stop-n { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4px var(--c); color: var(--ct); font-size: 18px; font-weight: 760; font-stretch: 110%; letter-spacing: -.02em; margin: 0 auto 14px; }
.pr-stop .who { margin: 0 auto; }
.pr-stop-t { font-size: clamp(18px, 1.45vw, 22px); font-weight: 700; font-stretch: 86%; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); margin: 12px 0 6px; text-wrap: balance; }
.pr-stop .pr-when { font-family: var(--mono); font-size: 12px; color: var(--ct); margin: 0 0 8px; }
.pr-stop p:last-child { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 0; }

.pr-body { padding: clamp(56px, 6vw, 96px) 0; }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 72px); align-items: start; }
.pr-aside { position: sticky; top: calc(var(--nav) + 28px); }
.pr-key { list-style: none; margin: 0; padding: 0; }
.pr-key li { padding: 12px 10px; border-top: 1px solid var(--line-2); border-radius: 10px; transition: background .3s, box-shadow .3s; }
.pr-key li span:not(.who) { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pr-key li.on { background: var(--paper); box-shadow: inset 3px 0 0 var(--ink); }
.pr-key li.on[data-r="1"] { box-shadow: inset 3px 0 0 var(--blue); }
.pr-key li.on[data-r="3"] { box-shadow: inset 3px 0 0 #8C9AA3; }
.pr-main { position: relative; }
.pr-main::before { content: ''; position: absolute; left: 26px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: linear-gradient(var(--blue), var(--blue) 18%, var(--ink) 18%, var(--ink) 46%, #AEB8BE 46%); opacity: .55; }
.pr-phase { position: relative; padding-left: 84px; }
.pr-phase + .pr-phase { margin-top: clamp(40px, 4vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.pr-phase-p { color: var(--ink-2); max-width: 42em; }
.pr-pre { margin: 22px 0 0; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.pr-pre-t { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; }
.pr-pre ul { list-style: none; margin: 0; padding: 0; }
.pr-pre li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.pr-pre .ru-num { font-size: 40px; line-height: .8; }
.pr-pre .cl, .pr-loop .cl { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.pr-steps { list-style: none; margin: 28px 0 0 -84px; padding: 0; }
.pr-step { position: relative; padding: 0 0 38px 84px; --c: #8C9AA3; --ct: #3C4A53; }
.pr-step.us { --c: var(--blue); --ct: var(--blue-ink); }
.pr-step.you { --c: var(--ink); --ct: var(--ink); }
.pr-step:last-child { padding-bottom: 0; }
.pr-dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--c), 0 0 0 6px var(--paper); color: var(--ct); font-size: 20px; font-weight: 760; font-stretch: 118%; }
.pr-step-h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 20px; min-height: 56px; margin: 0 0 8px; }
.pr-step-h h3 { flex: 1 1 24rem; }
.pr-clock { display: inline-flex; align-items: baseline; gap: 8px; }
.pr-clock b { font-size: clamp(40px, 3.4vw, 54px); font-stretch: 125%; font-weight: 780; line-height: .8; letter-spacing: -.04em; color: var(--blue-ink); }
.pr-clock small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.pr-step h3 { font-size: clamp(22px, 1.9vw, 28px); font-stretch: 86%; margin: 0; line-height: 1.08; }
.pr-sn { display: table; font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; padding: 4px 9px; border-radius: 6px; margin: 2px 0 10px; background: #DCE2E5; color: #3C4A53; }
.pr-sn.us { background: var(--blue-soft); color: var(--blue-ink); }
.pr-sn.you { background: var(--ink); color: #fff; }
.pr-step p:not(.src) { color: var(--ink-2); max-width: 42em; }
.pr-step .src { margin-top: 6px; }
.pr-loop { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; margin: 16px 0 10px; padding: 14px 18px; border: 1.5px dashed #9AA6AE; border-radius: 16px; background: rgba(255, 255, 255, .6); max-width: 46em; }
.pr-loop-a { width: 40px; height: 40px; color: var(--ink); }
.pr-loop p { margin: 0; font-size: 15px !important; line-height: 1.5; }
.pr-loop b { color: var(--ink); }
.pr-fork { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 34px 0 12px; padding-top: 22px; max-width: 46em; }
.pr-fork::before { content: ''; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 0; height: 2px; background: var(--ink); }
.pr-fork::after { content: ''; position: absolute; left: 50%; top: -18px; width: 2px; height: 18px; background: var(--ink); }
.pr-fork-b { position: relative; padding: 14px 14px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.pr-fork-b::before { content: ''; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: var(--ink); }
.pr-fork-b.pass { background: var(--green-soft); border-color: rgba(60, 122, 18, .45); }
.pr-fork-b.fail { border-style: dashed; border-color: #9AA6AE; background: transparent; }
.pr-fork-k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.pr-fork-b.pass .pr-fork-k { color: var(--green-ink); }
.pr-fork-b p:not(.pr-fork-k) { font-size: 14.5px !important; line-height: 1.45; margin: 0; }

.pr-long, .pr-cost { padding: clamp(56px, 6vw, 96px) 0 0; }
.pr-after-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(20px, 2.6vw, 34px); }
.pr-after-head .ru-h2 { margin: 0; }
.pr-after-head p { margin: 0; color: var(--ink-2); max-width: 38em; }
.pr-clocks tbody th, .pr-valid tbody th { width: 22%; white-space: nowrap; font-weight: 600; }
.pr-clocks tbody th .ru-num, .pr-valid tbody th .ru-num { font-size: 30px; line-height: .9; margin-right: 6px; }
.pr-clocks td:last-child, .pr-valid td:last-child, .pr-costs td:last-child { width: 130px; }
.pr-valid tbody th .ico { display: inline-block; width: 30px; height: 30px; vertical-align: -6px; margin-right: 6px; }
.pr-valid tr.hl th, .pr-valid tr.hl td { background: var(--blue-soft); }
.pr-costs .fe-amt { font-size: 18px; }
.pr-after { background: var(--white); padding: clamp(64px, 7vw, 110px) 0; margin-top: clamp(56px, 6vw, 96px); }
.pr-valid .tscroll { background: var(--paper); }
.pr-after-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); align-items: stretch; }
.pr-renew, .pr-export { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 2.6vw, 36px); scroll-margin-top: calc(var(--nav) + 20px); }
.pr-renew p:not(.src):not(.pr-panel-t), .pr-export p:not(.src):not(.pr-panel-t) { color: var(--ink-2); font-size: 16.5px; }

/* ================================================================ fees: the price board */
.fe-board { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(20px, 2.6vw, 36px); padding: clamp(24px, 3.6vw, 56px); background: var(--white); border: 1px solid rgba(15, 27, 36, .08); border-radius: 24px; box-shadow: 0 34px 90px -44px rgba(15, 27, 36, .5), 0 2px 6px rgba(15, 27, 36, .04); }
.fe-board::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.fe-board > * { position: relative; }
.fe-board .kicker { margin-top: 0; }
.fe-hero h1 { font-size: clamp(42px, 4.6vw, 78px); text-wrap: balance; }
.fe-fig { margin: 0; }

.fe-pin { position: absolute; transform: translate(-50%, calc(-100% - 10px)); font-size: 15px; font-weight: 720; font-stretch: 90%; letter-spacing: -.01em; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(15, 27, 36, .4); font-variant-numeric: tabular-nums; }
.fe-pin::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 1.5px; height: 7px; background: #7D8B94; }
.fe-pin.o { color: var(--blue-ink); border-color: rgba(10, 108, 160, .35); }
.fe-legend { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.25fr); margin-top: 14px; border-top: 1.5px solid var(--ink); }
.fe-legend ul { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fe-legend ul.fe-legend-o { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1.5px dashed #9AA6AE; padding-left: 16px; margin-left: 8px; }
.fe-legend b { display: block; font-size: clamp(16px, 1.3vw, 20px); font-weight: 760; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fe-legend-o b { color: var(--blue-ink); }
.fe-legend span { display: block; font-family: var(--mono); font-size: 12px; line-height: 1.35; color: var(--mute); margin-top: 4px; }
.fe-fig figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--mute); }
.fe-find { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; }
.fe-find p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.fe-find ul, .fe-side-idx ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fe-find a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s; }
.fe-find a:hover { border-color: var(--blue); background: var(--white); }

.fe-body { padding: clamp(56px, 6vw, 96px) 0; }
.fe-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 72px); align-items: start; }
.fe-aside { position: sticky; top: calc(var(--nav) + 28px); display: grid; gap: 14px; }
.fe-side-idx { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.fe-side-idx ul { flex-direction: column; gap: 0; }
.fe-side-idx .note-t { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 8px; }
.fe-side-idx a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; border-top: 1px solid var(--line-2); }
.fe-side-idx a:hover { color: var(--blue-ink); }
.note .fe-contact { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.fe-ch { scroll-margin-top: calc(var(--nav) + 20px); }
.fe-ch + .fe-ch { margin-top: clamp(48px, 5vw, 80px); padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--line); }
.fe-ch-top { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.fe-ch-top .ico { width: 56px; height: 56px; }
.fe-tag { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; border: 1px solid #9AA6AE; color: #3C4A53; margin: 0; }
.fe-ch > p:not(.src) { color: var(--ink-2); max-width: 42em; }
.fe-t { margin: 22px 0 10px; }
.fe-t .tscroll { background-color: var(--white); background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; }
.fe-t thead th { background: rgba(241, 243, 241, .92); }
.fe-t td:has(.fe-amt), .fe-t thead th:has(.r) { text-align: right; }
.fe-amt { font-weight: 780; font-stretch: 125%; letter-spacing: -.03em; color: var(--blue-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fe-t td .fe-amt { font-size: 26px; line-height: 1; }
.fe-t td small, .fe-tiles small, .fe-cards small { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.fe-t .rq-sch .ico { width: 40px; height: 40px; }
.fe-life tbody th { width: 46%; }
.fe-life tbody th .ico { display: inline-block; width: 30px; height: 30px; vertical-align: -8px; margin-right: 8px; }
.fe-life tr.hl th, .fe-life tr.hl td { background: rgba(225, 242, 251, .85); }
.fe-life .ru-num { font-size: 26px; }
.fe-life td .cl { display: block; }

.fe-tiles, .fe-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 10px; }
.fe-tile, .fe-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; }
.fe-tile.ext { background: var(--paper); }
.fe-tile-k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; }
.fe-tile h3, .fe-card h3 { font-size: 20px; font-stretch: 88%; line-height: 1.15; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.fe-card h3 .ico { width: 44px; height: 44px; }
.fe-tile > p:not(.fe-tile-k):not(.fe-tile-v), .fe-card > p:not(.fe-tile-k) { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0 0 8px; }
.fe-tile-v { margin: 6px 0 0; text-align: right; }
.fe-tile-v .fe-amt, .fe-tiles dd .fe-amt, .fe-cards dd .fe-amt { font-size: 30px; line-height: 1; }
.fe-tiles dl, .fe-cards dl { margin: 0; }
.fe-tiles dl div, .fe-cards dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.fe-tiles dt, .fe-cards dt { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.fe-tiles dd, .fe-cards dd { margin: 0; text-align: right; }

.fe-rules { margin: 20px 0 10px; border-top: 1.5px solid var(--ink); }
.fe-rules div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fe-rules dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding-top: 4px; }
.fe-rules dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.fe-rules .cl, .fe-wrong .cl { display: block; font-family: var(--mono); font-size: 12px; color: var(--blue-ink); margin-top: 4px; }
.fe-wrong { list-style: none; counter-reset: w; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fe-wrong li { counter-increment: w; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 16px 64px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.fe-wrong li::before { content: counter(w); position: absolute; left: 20px; top: 14px; font-stretch: 125%; font-weight: 780; font-size: 34px; line-height: 1; color: var(--blue-ink); }
.fe-wrong b { color: var(--ink); }

.fe-night-k { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7FD0F5; }
.fe-night-k .ico { width: 52px; height: 52px; }
.fe-night .fe-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 30px; align-items: start; margin-bottom: 30px; }
.fe-o-fig + .fe-o-fig { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: clamp(18px, 2.4vw, 40px); }
.fe-o-txt { max-width: 52em; }
.fe-o-v.sm { color: var(--on-night) !important; font-size: clamp(36px, 3.4vw, 56px); margin-top: 22px; }
.fe-o-k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); margin: 0; max-width: 16em; }
.fe-o-v { font-size: clamp(44px, 4.3vw, 70px); font-stretch: 110%; font-weight: 760; letter-spacing: -.035em; line-height: .9; color: #fff; margin: 14px 0 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fe-o-fig:nth-child(2) .fe-o-v { color: #7FD0F5; }
.fe-o-u { font-family: var(--mono); font-size: 12px; color: var(--on-night-2); margin: 0; }
.fe-o-txt p:not(.src) { color: var(--on-night); font-size: 16.5px; }
.fe-go { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fe-go a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff !important; text-decoration: none; font-size: 14.5px; }
.fe-go a::after { content: '→'; color: #7FD0F5; }
.fe-go a:hover { border-color: #7FD0F5; }

.fe-abroad { padding: clamp(56px, 6vw, 96px) 0 0; }
.fe-abroad-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 72px); align-items: start; }
.fe-abroad-k { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.fe-abroad-k .ico { width: 56px; height: 56px; }
.fe-abroad p:not(.src):not(.fe-abroad-k):not(.note-t):not(.fe-contact) { color: var(--ink-2); max-width: 44em; }
.fe-ask { align-self: end; }

/* ================================================================ responsive */
@media (max-width: 1180px) {
  .rq-walk-grid { grid-template-columns: 1fr; }
  .rq-idx { display: none; }
  .rq-st-head { grid-template-columns: auto minmax(0, 1fr) minmax(0, 240px); }
  .pr-road { display: none; }
  .pr-track { grid-template-columns: 1fr; padding: 0 !important; row-gap: 0; max-width: 40rem; }
  .pr-stop { text-align: left; padding: 0 0 22px 84px; min-height: 92px; }
  .pr-stop::before { left: 29px; right: auto; top: 62px; bottom: 0; width: 4px; height: auto; }
  .pr-stop-n { position: absolute; left: 0; top: 0; margin: 0; }
  .pr-stop .who { margin: 0; }
  .pr-stop-t { margin-top: 10px; }
  .fe-o-v { font-size: clamp(40px, 5vw, 64px); }
  .fe-side-idx { display: none; }
  .sz-ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-ch.s1, .sz-ch.s2, .sz-ch.s3 { margin-top: 0; }
  .sz-ch.s1, .sz-ch.s3 { margin-top: 40px; }
  .rq-yrs { gap: 8px; }
  .rq-yrs li { padding: 16px 14px; }
}
@media (max-width: 980px) {
  .rq-top, .rq-intro-in, .rq-plan-head, .rq-schemes-head, .rq-check-grid, .rq-rules-head, .rq-rules-grid,
  .sz-top, .sz-sec-head, .sz-sec-head.one, .sz-chs-head, .sz-verdict-in, .sz-sys-grid, .sz-over-in,
  .pr-top, .pr-after-head, .pr-after-grid, .fe-board, .fe-abroad-in { grid-template-columns: 1fr; }
  .rq-terms-note { position: static; max-width: 34rem; }
  .rq-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rq-pin span { display: none; }
  .rq-pin { transform: translate(-50%, -50%); }
  .pr-grid, .fe-grid { grid-template-columns: 1fr; }
  .pr-aside { display: none; }
  .fe-aside { position: static; }
  .sz-abbr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-note { max-width: 34rem; }
  .sz-spec { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .sz-spec div:nth-last-child(2) { border-bottom: 0; }
  .sz-cols { grid-template-columns: 1fr; }
  .sz-key { padding: 0 0 16px; }
  .rq-schemes tbody th, .pr-valid tbody th, .pr-clocks tbody th, .fe-life tbody th, .sz-schemes tbody th { white-space: normal; }
  .pr-clocks td:last-child, .pr-valid td:last-child, .pr-costs td:last-child { width: auto; }
  .rq-yrs { grid-template-columns: 1fr; }
  .rq-yrs li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
  .rq-yrs li > * { grid-column: 2; }
  .rq-yrs .ru-num { grid-column: 1; grid-row: 1 / span 3; font-size: 60px; }
  .rq-yrs span { margin: 0 0 6px; }
}
/* the size matrix is column-led: a real 5-column table down to tablet width, a scroller with a fixed rule column on phones */
@media (min-width: 641px) and (max-width: 980px) {
  .sz-matrix table { display: table; table-layout: fixed; font-size: 15px; }
  .sz-matrix thead { display: table-header-group; }
  .sz-matrix tbody { display: table-row-group; }
  .sz-matrix tr, .sz-matrix tbody tr { display: table-row; padding: 0; }
  .sz-matrix th, .sz-matrix td, .sz-matrix tbody th { display: table-cell; width: auto; padding: 14px 10px; border-bottom: 1px solid var(--line); position: static; min-height: 0; }
  .sz-matrix .sz-grp td, .sz-matrix .sz-grp th { border-bottom: 0; }
  .sz-matrix tbody th { font-size: 15px; }
  .sz-matrix thead tr:last-child th:first-child { width: 22%; }
  .sz-matrix td::before { content: none; }
  .sz-matrix tbody tr:last-child > * { border-bottom: 0; }
  .sz-th .ico { width: 44px; height: 44px; }
  .sz-n { font-size: 26px; }
}
@media (max-width: 860px) {
  .rq-st-head { grid-template-columns: auto minmax(0, 1fr); }
  .rq-crop { grid-column: 1 / -1; max-height: 170px; width: auto; max-width: 100%; justify-self: center; }
  .rq-st .prep, .sz-ch .prep { font-size: 16.5px; }
}
@media (max-width: 640px) {
  .rq-schemes tbody th, .rq-schemes td:last-child, .sz-schemes tbody th, .sz-schemes td:last-child, .pr-valid tbody th, .pr-clocks tbody th, .pr-valid td:last-child, .pr-clocks td:last-child, .pr-costs td:last-child, .fe-life tbody th { width: auto; }
  .ru-t tr.hl { background: var(--blue-soft); }
  .ru-t tr.hl > * { background: transparent !important; }
  .rq-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rq-legend a { padding: 9px 11px; font-size: 14px; }
  .rq-pin b { width: 22px; height: 22px; font-size: 12px; box-shadow: 0 0 0 2px var(--white); }
  .rq-fig { padding: 10px; }
  .rq-asks li { grid-template-columns: 1fr; gap: 2px; }
  .rq-asks .cl { text-align: left; padding-top: 0; }
  .rq-st-head .st-n { font-size: 42px; padding-bottom: 14px; }
  .st-room .ico { width: 44px; height: 44px; }
  .rq-plan-grid { grid-template-columns: 1fr; }
  .rq-plan-grid > li { padding: 16px 16px 18px; }
  .rq-plan-grid > li.r1::after, .rq-plan-grid > li.r2::after, .rq-plan-grid > li.r4::after, .rq-plan-grid > li.r5::after { display: none; }
  .rq-plan-grid > li::before { content: ''; position: absolute; bottom: -6px; height: 6px; width: 56px; background: var(--white); left: 36%; }
  .rq-plan-grid > li:last-child::before { display: none; }
  .rq-plan-n { font-size: 34px; }
  .rq-conds li { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .rq-nots li { grid-template-columns: 34px minmax(0, 1fr); }
  .rq-yrs li { grid-template-columns: 56px minmax(0, 1fr); }
  .rq-yrs .ru-num { font-size: 52px; }
  .rq-yrs li.hl .ico { width: 32px; height: 32px; }
  .ru-line { grid-template-columns: 1fr; row-gap: 14px; }
  .ru-line::before { left: 7px; right: auto; top: 7px; bottom: 7px; width: 2px; height: auto; }
  .ru-line li { padding: 0 0 0 30px; }
  .sz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .sz-col:nth-child(3) { border-left: 1px solid var(--line); }
  .sz-matrix .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sz-matrix table { display: table; min-width: 700px; table-layout: fixed; font-size: 14.5px; }
  .sz-matrix .cl { white-space: normal; }
  .sz-matrix thead { display: table-header-group; }
  .sz-matrix tbody { display: table-row-group; }
  .sz-matrix tr, .sz-matrix tbody tr { display: table-row; padding: 0; }
  .sz-matrix th, .sz-matrix td, .sz-matrix tbody th { display: table-cell; width: auto; padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .sz-matrix .sz-grp td, .sz-matrix .sz-grp th { border-bottom: 0; }
  .sz-matrix thead tr:last-child th:first-child { width: 128px; }
  .sz-matrix tbody th, .sz-matrix thead tr:last-child th:first-child, .sz-matrix .sz-grp td { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
  .sz-matrix thead tr:last-child th:first-child { background: var(--paper); }
  .sz-matrix tbody th { font-size: 14px; }
  .sz-matrix td::before { content: none; }
  .sz-matrix tbody tr:last-child > * { border-bottom: 0; }
  .sz-th .ico { width: 40px; height: 40px; }
  .sz-n { font-size: 24px; }
  .sz-abbr { grid-template-columns: 1fr; }
  .sz-ch-grid { grid-template-columns: 1fr; }
  .sz-ch.s1, .sz-ch.s3 { margin-top: 0; }
  .sz-nums b { font-size: 112px; }
  .sz-spec { grid-template-columns: 1fr; }
  .sz-spec div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pr-scope li { grid-template-columns: 1fr; gap: 2px; }
  .pr-stop { padding-left: 74px; }
  .pr-stop-n { width: 56px; height: 56px; font-size: 16px; }
  .pr-stop::before { left: 26px; top: 56px; }
  .pr-main::before { display: none; }
  .pr-step::before { content: ''; position: absolute; left: 22px; top: 46px; bottom: 0; width: 3px; border-radius: 2px; background: var(--c); opacity: .55; }
  .pr-step:last-child::before { display: none; }
  .pr-phase { padding-left: 0; }
  .pr-steps { margin-left: 0; }
  .pr-step { padding-left: 66px; }
  .pr-dot { width: 46px; height: 46px; font-size: 17px; }
  .pr-step-h { min-height: 46px; }
  .pr-clock b { font-size: 36px; }
  .pr-fork { grid-template-columns: 1fr; padding-top: 0; margin-top: 18px; }
  .pr-fork::before, .pr-fork::after, .pr-fork-b::before { display: none; }
  .pr-pre li { grid-template-columns: 40px minmax(0, 1fr); }
  .pr-pre .cl { grid-column: 2; }
  .pr-line { grid-template-columns: 1fr; gap: 4px; }
  .pr-line span { text-align: left; border-radius: 10px !important; border: 1px solid var(--line); }
  .pr-line small { display: block; }
  .pr-l-win { border: 0 !important; }
  .pr-l-new { border: 1.5px dashed #9AA6AE !important; }
  .pr-line-k { display: none; }
  .fe-legend { grid-template-columns: 1fr; }
  .fe-legend ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-legend ul.fe-legend-o { border-left: 0; border-top: 1.5px dashed #9AA6AE; margin: 14px 0 0; padding-left: 0; }
  .fe-pin { display: none; }
  .fe-night .fe-o { grid-template-columns: 1fr; }
  .fe-o-fig + .fe-o-fig { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; }
  .fe-o-v { font-size: 56px; }
  .fe-tiles, .fe-cards, .fe-wrong { grid-template-columns: 1fr; }
  .fe-rules div { grid-template-columns: 1fr; gap: 4px; }
  .fe-t td .fe-amt { font-size: 24px; }
  .fe-t td:has(.fe-amt) { text-align: left; }
  .fe-sl tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .fe-sl tbody th, .fe-sl td:last-child { grid-column: 1 / -1; }
  .fe-sl td { font-size: 15px; }
  .fe-sl td::before { font-size: 12px; }
}

/* /jakim-halal-fees/ "Made outside Malaysia?": the Halal International Program's fees as one card (20 Oct 2026) */
.fe-int { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin: 18px 0 6px; }
.fe-int .fe-card > p.src { margin: 10px 0 0; font-size: 12px; line-height: 1.55; color: var(--mute); }
