

:root{--wait-bg:#fff1cc;--wait-ink:#6b4500;--wait-line:#e8c97a}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--wait-bg:#3a2e12;--wait-ink:#f0d796;--wait-line:#6b5522}}
:root[data-theme="dark"]{--wait-bg:#3a2e12;--wait-ink:#f0d796;--wait-line:#6b5522}

.hw-head{padding-bottom:12px}
.hw-head .lead{margin-bottom:0}
.hw{min-width:0}
.hw h2{margin-top:0}
.hw h3{font-size:21px;line-height:1.5;margin:30px 0 10px}
.hw h4{font-size:18px;line-height:1.6;margin:22px 0 6px}
.hw .lead{font-size:20px;max-width:none}
.hw .sec{scroll-margin-top:calc(var(--stack-h,66px) + var(--strip-h,0px) + 16px)}
.dpanel,.dd,.fx{scroll-margin-top:calc(var(--stack-h,66px) + var(--strip-h,0px) + 16px)}


.dtabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.dtabs button{font:inherit;font-size:16px;line-height:1.3;min-height:44px;padding:0 16px;border-radius:999px;cursor:pointer;
  border:1px solid var(--line);background:transparent;color:var(--ink)}
.dtabs button:hover{border-color:var(--ink)}
.dtabs button[aria-selected=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.dtabs button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.dpanel[hidden]{display:none!important}
.dpanel>h3:first-child{margin-top:8px}
.is-tabs+*{margin-top:0}
.dgroup + .dgroup{margin-top:30px}

.dgroup:not(.is-tabs) .dpanel{padding:6px 0 18px;border-top:1px solid var(--line)}


.stps{list-style:none;margin:8px 0 14px;padding:0;counter-reset:stp}
.stps>li{counter-increment:stp;position:relative;padding:0 0 0 46px;margin:0 0 20px;font-size:18px;line-height:1.8}
.stps>li::before{content:counter(stp);position:absolute;left:0;top:3px;width:32px;height:32px;border-radius:50%;
  background:var(--ink);color:var(--bg);display:grid;place-items:center;font-size:15px;font-weight:600;line-height:1}
.stp{display:flex;gap:24px;align-items:flex-start}
.stp__t{flex:1;min-width:0}
.stp__fig{flex:0 0 auto;display:flex;flex-direction:column;gap:12px}
.stp__fig:empty{display:none}
.stp__fig--p{width:min(220px,34%)}
.stp__fig--l{width:min(380px,44%)}
.stp__fig--ph{width:min(300px,38%)}
.stp__fig .slot{margin:0}
.stp__fig--solo{width:min(420px,100%);margin:14px 0 16px}
.stp__fig--solo.stp__fig--p{width:min(240px,100%)}
@media (max-width:640px){
  .stp{flex-direction:column;gap:12px}
  .stp__fig,.stp__fig--l,.stp__fig--ph{width:100%}
  .stp__fig--p{width:min(240px,100%)}
  .stps>li{padding-left:42px}
}
.plainol{margin:6px 0 14px;padding-left:24px}
.plainol li{margin-bottom:6px}
.hw .spec{margin:6px 0 18px;padding:10px 14px;background:var(--bg-alt);border-radius:12px;font-size:16px;line-height:1.6;color:var(--ink-soft);display:inline-block;max-width:100%}
.hw .spec b{color:var(--ink);font-weight:600}
.hw p{font-size:18px;line-height:1.85;margin:0 0 16px}
.hw .faq p{margin:0 0 14px}


.hw .faq{max-width:none;margin-top:6px}
.hw .faq details:last-child,.ddlist details:last-child{border-bottom:1px solid var(--line)}
.fx__b{padding:0 0 8px}
.ddlist{margin-top:18px}
.dd>summary{font-size:19px}
.dd__b{padding:0 0 14px}


.paytbl{width:100%;max-width:640px;border-collapse:collapse;margin:8px 0 22px;font-size:17px}
.paytbl th,.paytbl td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.55}
.paytbl thead th{font-size:14.5px;font-weight:600;color:var(--ink-soft)}
.paytbl tbody th{font-weight:400}
.paytbl td{white-space:nowrap;font-weight:600;width:1%}
@media (max-width:560px){.paytbl td{white-space:normal;width:34%}}


.wait{display:inline-block;padding:1px 9px;border-radius:999px;background:var(--wait-bg);color:var(--wait-ink);border:1px solid var(--wait-line);
  font-size:12.5px;font-weight:500;line-height:1.6;vertical-align:.1em;cursor:help;white-space:nowrap}
.wait:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wl--blk{margin:0}


.cardbar{display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 22px}
.hcard{max-width:640px;border:1.5px solid var(--ink);border-radius:20px;padding:30px 32px 22px;background:var(--bg)}
.hcard__t{font-size:30px!important;font-weight:600;line-height:1.35!important;margin:0 0 6px!important}
.hcard h4{font-size:20px;margin:20px 0 4px}
.hcard p{font-size:21px;line-height:1.7;margin:0 0 6px}
.hcard__ft{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 0!important;padding-top:14px;border-top:1px solid var(--line)}
.hcard__ft img{height:22px;width:auto;border-radius:2px;display:block}
.printonly{display:none;font-size:16px}
@media (max-width:520px){.hcard{padding:22px 20px 16px}.hcard__t{font-size:26px!important}.hcard p{font-size:19px}}


@media print{
  :root,:root:not([data-theme="light"]),:root[data-theme="dark"]{--ink:#000;--ink-soft:#333;--line:#999;--bg:#fff;--bg-alt:#fff}
  .skip,.stack,.nav,.langbar,.toc-wrap,.nsfoot,.hw-head,.noprint,.hw .sec:not(#card){display:none!important}
  body{background:#fff;color:#000;font-size:14pt}
  .reading{display:block;padding:0;max-width:none}
  .hw .sec#card{margin:0;padding:0;border:0}
  .hcard{max-width:none;border:2px solid #000;border-radius:0;padding:14mm 14mm 10mm}
  .hcard__t{font-size:34pt!important}
  .hcard h4{font-size:20pt;margin:7mm 0 1mm}
  .hcard p{font-size:20pt;line-height:1.6}
  .printonly{display:inline;font-size:14pt}
  .wait,.wl{display:none}
}
