.guide-page{--paper:#fff;--ink:#111c30;--pine:#4c46b4;--accent:#5c57ce;--muted:#4d586b;--line:#d6dce5;--tint:#f1f3f8;--figures:var(--text);--gutter:clamp(18px, 3.8vw, 56px);font-family:var(--text)}.guide-page :is(main.wrap,.wrap.head,.wrap.foot){max-width:1480px}.guide-page .crumb{font-size:14px}.guide-cover{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.25fr) minmax(0,.82fr);align-items:center;gap:clamp(28px,5vw,88px);padding-block:clamp(20px,2.8vw,46px) clamp(26px,3.2vw,52px);display:grid}.guide-intro h1{color:#151922;font:var(--title-weight) clamp(43px,4.5vw,70px)/1.04 var(--text);letter-spacing:-.018em;overflow-wrap:break-word;margin:0}.guide-intro h1 span{color:inherit;display:inline}.guide-intro .lead{max-width:58ch;color:var(--muted);font:500 clamp(17px,1.4vw,20px)/1.55 var(--text);margin:clamp(14px,1.7vw,25px) 0 0}.guide-example,.guide-shortcuts{color:#f5f7ff;background:#111c30;border-radius:22px;padding:clamp(22px,2.4vw,37px)}.guide-kicker{color:#c1d2f5;font:600 14px/1.4 var(--text);margin:0}.guide-result{flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:10px 0 18px;display:flex}.guide-result strong{color:#98b8ff;white-space:nowrap;font:540 clamp(40px,4vw,61px)/1.04 var(--figures);letter-spacing:-.05em}.guide-result span{flex:12ch;font-size:15px;line-height:1.45}.guide-example dl{margin:0 0 15px}.guide-example dl div{border-top:1px solid #3e4b63;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;display:flex}.guide-example dt{color:#d3dcec}.guide-example dd{white-space:nowrap;margin:0;font-weight:700}.guide-example a,.guide-shortcuts a{color:#f4f7ff;text-underline-offset:.22em;font-weight:650}.guide-example a{align-items:center;gap:.25em;min-height:44px;display:inline-flex}.guide-shortcuts p{font:var(--title-weight) clamp(24px,2.4vw,34px)/1.12 var(--text);letter-spacing:-.03em;margin:0 0 14px}.guide-shortcuts a{border-top:1px solid #3e4b63;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;text-decoration:none;display:flex}.guide-shortcuts a:hover{text-decoration:underline}.guide-shortcuts a span{color:#98b8ff}.guide-reading{grid-template-columns:minmax(210px,.68fr) minmax(0,1.75fr);align-items:start;gap:clamp(32px,6vw,88px);padding-top:clamp(24px,3.1vw,48px);display:grid}.guide-contents{min-width:0;position:sticky;top:20px}.guide-contents details{border-block:1px solid var(--line);padding:0 0 8px}.guide-contents summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:8px 0;font-size:18px;font-weight:520;list-style:none;display:flex}.guide-contents summary::-webkit-details-marker{display:none}.guide-contents summary:after{content:"";border:solid var(--pine);border-width:0 2px 2px 0;flex:none;width:8px;height:8px;transform:rotate(45deg)}.guide-contents details[open] summary:after{transform:rotate(225deg)}.guide-contents nav a{color:var(--muted);padding:9px 0;font-weight:550;line-height:1.4;text-decoration:none;display:block}.guide-contents nav a:hover{color:var(--pine);text-decoration:underline}.guide-copy{min-width:0;max-width:850px}.guide-copy :is(.section,.about){border-top:1px solid var(--line);max-width:none;margin:0;padding:clamp(22px,2.5vw,38px) 0}.guide-copy>:first-child{border-top:0;padding-top:0}.guide-copy :is(.section,.about) h2{color:var(--ink);font:var(--title-weight) clamp(24px,2.3vw,35px)/1.16 var(--text);letter-spacing:-.035em;text-wrap:balance}.guide-copy :is(h2,section)[id]{scroll-margin-top:18px}.guide-copy p,.guide-copy li{max-width:70ch;font-size:clamp(16px,1.15vw,18px);line-height:1.65}.guide-copy a{color:var(--pine);text-underline-offset:.18em}.guide-copy p a.textlink{margin:0;display:inline}.guide-copy :is(.formula,.tariff-equation){border:0;border-left:3px solid var(--accent);background:var(--tint);max-width:none;color:var(--ink);border-radius:0 10px 10px 0;margin:20px 0;padding:16px 20px;font-weight:600}.guide-copy .matrix{margin-block:16px}.guide-copy .matrix caption{font:550 15px/1.45 var(--text);color:var(--muted)}.guide-copy .matrix thead th{color:var(--ink);background:#edf0f7}.guide-copy .matrix :is(th,td){overflow-wrap:break-word;padding:12px}.guide-copy .matrix tbody td{color:var(--ink);font:650 16px/1.4 var(--figures);white-space:normal}.guide-copy .matrix thead th:not(:first-child),.guide-copy .matrix tbody td{text-align:right}.guide-copy .matrix tbody th{width:auto;font-weight:550}.guide-copy .correction-form{background:var(--tint);border-radius:16px;padding:clamp(16px,2.4vw,28px)}.guide-copy .correction-form :is(select,textarea){border:1px solid #828da0;border-radius:7px;min-height:44px}.guide-copy .correction-form button{background:var(--pine);border-radius:7px;min-height:44px}.guide-page :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.guide-page :is(.guide-example,.guide-shortcuts,footer) :focus-visible{outline-color:#a9c3ff}.guide-page>footer{color:#d1dbee;background:#101a2e;border:0;margin-top:28px;padding-block:24px}.guide-page .foot>span{font-weight:var(--brand-weight);color:#fff;align-items:center;gap:9px;display:inline-flex}.guide-page .foot :is(a,button){color:#d1dbee}.guide-page .foot :is(a,button):hover{color:#fff}@media (width<=820px){.guide-cover{grid-template-columns:1fr;gap:22px}.guide-intro h1{font-size:clamp(40px,7.5vw,60px)}.guide-reading{padding-top:18px;display:block}.guide-contents{margin-bottom:26px;position:static}.guide-contents details{background:var(--tint);border:0;border-radius:10px;padding:0 16px}.guide-contents nav{padding-bottom:10px}.guide-contents nav a{min-height:44px}}@media (width<=570px){.guide-example,.guide-shortcuts{border-radius:16px;padding:18px}.guide-result{gap:4px 12px;margin-bottom:13px}.guide-example dl{margin-bottom:9px}.guide-copy .matrix :is(th,td){overflow-wrap:anywhere;white-space:normal;padding:9px 5px;font-size:14px}.guide-copy .matrix tbody td{font-size:14px}.guide-page .foot{flex-direction:column;align-items:start}}
