:root {
  color-scheme: light;
  --ink: #172331; --navy: #121b28; --soft-ink: #53606d; --warm: #f7f6f1;
  --white: #fff; --line: #dedfd9; --gold: #f7b963; --deep-gold: #875211;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--warm); color: var(--ink); font: 1rem/1.6 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a1580a; outline-offset: 4px; }
.masthead :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.037em; }
.wrap { width: min(1120px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 3; padding: .5rem 1rem; background: var(--gold); color: var(--navy); transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { color: #fffaf1; background: radial-gradient(ellipse at 83% 75%, #243445 0, var(--navy) 54%, #111925 100%); overflow: hidden; }
.topbar { min-height: 72px; border-bottom: 1px solid #ffffff25; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.04rem; letter-spacing: .01em; text-decoration: none; }
.brand-mark { display: inline-block; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 6px; position: relative; color: var(--gold); }
.brand-mark::before { content: ""; position: absolute; width: 12px; height: 7px; top: 8px; left: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.topbar nav { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; }
.topbar nav a { text-decoration: none; color: #d3dae2; font-size: .9rem; font-weight: 600; }
.topbar nav a:hover { color: var(--gold); }
.hero { position: relative; min-height: 413px; display: grid; align-items: center; padding-block: 51px 70px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: .81rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--deep-gold); }
.hero-label { color: var(--gold); display: flex; gap: 11px; align-items: center; margin-bottom: 16px; }
.hero-label::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.2rem, 6.2vw, 5.2rem); line-height: .98; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-description { margin-top: 21px; max-width: 485px; font-size: 1.06rem; color: #e0e5e9; }
.hero-actions { margin-top: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 19px; color: #cbd3dd; font-size: .88rem; font-weight: 600; }
.hero-art { position: absolute; inset: 5px -25px 35px auto; width: min(49%, 504px); overflow: hidden; pointer-events: none; }
.art-grid { position: absolute; inset: 0; background: linear-gradient(90deg, #ffdcaa17 1px, transparent 1px), linear-gradient(#ffdcaa17 1px, transparent 1px); background-size: 29px 29px; mask-image: radial-gradient(ellipse at 54% 49%, #000 12%, transparent 73%); }
.ring { width: var(--diameter); height: var(--diameter); position: absolute; left: 54%; top: 50%; border: 1px solid #f7be7460; border-radius: 50%; transform: translate(-50%,-50%); }
.ring-in { --diameter: 174px; border-color: #efb2688f; }
.ring-mid { --diameter: 258px; border-color: #e9b5794d; }
.ring-out { --diameter: 339px; border-style: dashed; border-color: #edb16e39; }
.art-core { position: absolute; inset: 50% auto auto 54%; width: 105px; height: 105px; transform: translate(-50%, -50%) rotate(45deg); border: 1px solid #facc89; border-radius: 17px; background: linear-gradient(145deg, #60513eaa, #edb47434 53%, #101723c9); box-shadow: 0 0 55px #ffb96941, inset 0 0 19px #ffc87e37; }
.art-core i { display: block; position: absolute; width: 76%; height: 76%; inset: 12%; border: 1px solid #f8c07e74; border-radius: 12px; }
.art-core i:nth-child(2) { width: 52%; height: 52%; inset: 24%; border-color: #f8c07e9c; }
.art-core i:nth-child(3) { width: 28%; height: 28%; inset: 36%; border-color: #ffcd8e; background: #e7a65b80; box-shadow: 0 0 16px #f8c07e60; }
.art-core i:nth-child(4) { width: 8%; height: 8%; inset: 46%; border-radius: 1px; background: #ffe2b7; }
.art-cross { position: absolute; width: 13px; height: 13px; background: linear-gradient(#f9c18386,#f9c18386) center / 100% 1px no-repeat, linear-gradient(#f9c18386,#f9c18386) center / 1px 100% no-repeat; }
.cross-a { top: 16%; left: 24%; }.cross-b { top: 76%; left: 80%; }.cross-c { top: 19%; left: 85%; }
.art-dot { position: absolute; display: block; width: 7px; height: 7px; background: #ffc98a; border-radius: 50%; box-shadow: 0 0 13px #ffc98aba; }
.dot-a { top: calc(50% - 65px); left: calc(54% + 55px); }.dot-b { top: calc(50% + 82px); left: calc(54% - 102px); }.dot-c { top: calc(50% - 114px); left: calc(54% - 65px); opacity: .63; }
.button { border: 1px solid transparent; border-radius: 7px; min-height: 46px; padding: 9px 18px; font-size: .96rem; font-weight: 700; display: inline-flex; justify-content: center; align-items: center; text-align: center; text-decoration: none; }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: #ffd28e; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #2b3c50; }
.button-light { background: #fff; color: var(--ink); border-color: #c9cdd0; }
.button-light:hover { background: #f5f6f7; border-color: #82909c; }
.text-button { min-height: 44px; padding: 6px 0; color: #435261; text-decoration: underline; text-underline-offset: .24em; font-weight: 650; background: transparent; border: 0; }
.assessment { margin-top: -34px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); gap: 22px; align-items: start; }
.wizard { min-width: 0; border-radius: 13px; background: var(--white); border: 1px solid #dedfdc; box-shadow: 0 11px 32px #1a253211; padding: clamp(20px, 3.2vw, 36px); scroll-margin-top: 18px; }
.step-status { display: flex; justify-content: space-between; gap: 8px 14px; align-items: center; flex-wrap: wrap; font-size: .91rem; font-weight: 700; color: var(--soft-ink); }
.step-status strong { color: #8a5010; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 11px 0 26px; }
.progress span { height: 4px; border-radius: 9px; background: #e7e8e4; }
.progress span.done { background: #bb7428; }
.question h2, .result h2 { font-size: clamp(1.95rem, 4vw, 2.65rem); margin-bottom: 8px; }
.wizard-intro { color: var(--soft-ink); margin-bottom: 17px; }
.choice-list { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.choice-list.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: flex; padding: 11px 13px; gap: 10px; align-items: start; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-height: 47px; font-size: .96rem; }
.choice:hover { border-color: #ab8b62; background: #fffcf6; }
.choice:has(input:checked) { background: #fff6e8; border-color: #b97933; }
.choice:has(input:focus-visible) { outline: 2px solid #a1580a; outline-offset: 2px; }
.choice input { margin: 4px 0 0; accent-color: #a66017; width: 17px; height: 17px; flex: 0 0 17px; }
.choice strong { display: block; line-height: 1.35; }
.choice small { display: block; font-size: .83rem; color: var(--soft-ink); line-height: 1.4; margin-top: 3px; }
.inline-choice { min-height: 38px; padding-block: 7px; border-color: transparent; }
.inline-choice:has(input:checked) { border-color: #b97933; }
.inline-choice small { display: inline; }
.help-box { border: 1px solid #e6e1d7; border-radius: 8px; margin: 12px 0 16px; background: #faf8f3; font-size: .92rem; }
.help-box details + details { border-top: 1px solid #e6e1d7; }
summary { cursor: pointer; font-weight: 700; }
.help-box summary { padding: 9px 13px; }
.help-content { color: #485460; padding: 0 14px 12px; }
.help-content p + p { margin-top: 8px; }
.help-content a { font-weight: 700; }
.alternate { border-top: 1px solid #e6e6e0; padding-top: 9px; margin-top: 10px; }
.wizard-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 15px; align-items: center; margin-top: 21px; }
.left-controls { display: flex; flex-wrap: wrap; gap: 10px 15px; align-items: center; }
.error { color: #a52d25; font-weight: 650; font-size: .91rem; margin-top: 12px; }
.guide-card { border-radius: 13px; background: #f1ede4; border: 1px solid #e4ded2; padding: 25px 23px; }
.guide h2 { font-size: 1.64rem; margin-bottom: 19px; }
.guide-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 16px; }
.guide-list li { display: grid; grid-template-columns: 35px 1fr; gap: 11px; align-items: start; }
.mini-icon { width: 35px; height: 35px; border-radius: 7px; border: 1px solid #e4caa2; background: #fff8ec; color: #895014; display: grid; place-items: center; font-size: 1.25rem; line-height: 1; }
.guide-list strong { font-size: .95rem; }
.guide-list p, .privacy { color: #505b63; font-size: .875rem; line-height: 1.48; margin-top: 3px; }
.privacy { display: flex; gap: 10px; padding: 12px 9px 0; }
.lock { position: relative; width: 13px; height: 10px; border: 1.5px solid #5b6270; border-radius: 2px; margin-top: 8px; flex: 0 0 13px; }
.lock::before { content: ""; position: absolute; top: -6px; left: 2px; width: 6px; height: 6px; border: 1.5px solid #5b6270; border-bottom: 0; border-radius: 5px 5px 0 0; }
.subquestion { margin-top: 16px; }
.subquestion h3 { font-size: 1rem; margin-bottom: 7px; }
fieldset.subquestion legend { padding: 0; }
.field-note { font-size: .9rem; color: var(--soft-ink); margin-bottom: 8px; }
.activity-panel { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 15px; }
.activity-panel h3 { font-size: 1.12rem; margin-bottom: 4px; }
.activity-entry { padding: clamp(11px, 2vw, 16px); margin-block: 12px; border: 1px solid var(--line); border-radius: 8px; }
.activity-entry-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .94rem; font-weight: 700; }
.activity-entry select, .wizard-field select {
  display: block; width: 100%; min-width: 0; min-height: 46px; appearance: none;
  padding: 8px 38px 8px 11px; border: 1px solid #aeb8bf; border-radius: 6px;
  color: var(--ink); text-overflow: ellipsis;
  background: linear-gradient(45deg, transparent 50%, #435261 50%) right 18px center / 5px 5px no-repeat,
    linear-gradient(135deg, #435261 50%, transparent 50%) right 13px center / 5px 5px no-repeat, #fff;
}
.activity-detail-note { margin: 10px 0 0; }
.activity-entry .subquestion { margin-top: 12px; }
.activity-hint { padding: 12px 14px; margin-top: 11px; border-left: 3px solid #b97933; border-radius: 0 6px 6px 0; background: #faf4e9; font-size: .92rem; }
.activity-hint p { margin-top: 3px; }
.activity-hint ul { margin: 4px 0; padding-left: 20px; }
.activity-links:not(:empty) { display: flex; flex-wrap: wrap; gap: 4px 15px; margin-top: 6px; font-weight: 700; }
.wizard-field { display: grid; min-width: 0; gap: 5px; font-size: .94rem; font-weight: 700; }
.wizard-field input { width: 100%; min-width: 0; min-height: 46px; padding: 8px 11px; border: 1px solid #aeb8bf; border-radius: 6px; background: #fff; color: var(--ink); font-weight: 400; }
.wizard-field select { font-weight: 400; }
.activity-suggestions:not(:empty) { margin-top: 9px; }
.suggestion-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.suggestion-buttons .button { min-height: 42px; padding-inline: 9px; font-size: .88rem; text-align: left; }
.pkd-fields { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1fr) auto; gap: 9px; align-items: end; }
#pkd-status:empty { display: none; }
.pkd-results { margin-top: 18px; }
.pkd-results h4 { margin: 0 0 5px; font-size: 1.06rem; }
.pkd-results .subquestion { margin-bottom: 5px; }
.pkd-interpretations { padding-left: 19px; margin-block: 7px 12px; font-size: .9rem; }
.pkd-reference { display: block; color: var(--deep-gold); font-weight: 700; font-size: .85rem; }
.pkd-note { margin: 12px 0 4px; font-size: .9rem; color: var(--soft-ink); }
@media (max-width: 600px) {
  .pkd-fields { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pkd-fields .wizard-field { width: 100%; }
}
.size-helper { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-block: 12px; }
.size-helper label { display: grid; gap: 4px; font-size: .86rem; font-weight: 700; }
.size-helper input { min-width: 0; width: 100%; padding: 8px; border: 1px solid #9faab4; border-radius: 5px; background: #fff; }
.helper-result { margin-top: 8px; font-weight: 700; }
.result-head { border-top: 4px solid var(--outcome); border-radius: 8px; background: var(--outcome-bg); padding: 16px; }
.result { --outcome: #345b82; --outcome-bg: #edf4fa; }
.result.key { --outcome: #266d56; --outcome-bg: #eaf5ee; }
.result.important { --outcome: #315d87; --outcome-bg: #eaf2fa; }
.result.outside, .result.outsidePoland { --outcome: #526170; --outcome-bg: #eef0f1; }
.result.review { --outcome: #a06116; --outcome-bg: #fff4e3; }
.result h3 { margin-top: 17px; font-size: 1.04rem; }
.result ul { margin: 5px 0 0; padding-left: 21px; }
.result li { margin-bottom: 4px; }
.legal-note { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .89rem; color: var(--soft-ink); }
.editorial { margin-block: 69px; scroll-margin-top: 22px; }
.editorial-intro { max-width: 770px; }
.editorial h2, .sources h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 8px 0 12px; }
.editorial-intro > p:last-child { color: var(--soft-ink); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 23px 0 35px; }
.method-grid article { border: 1px solid var(--line); border-radius: 9px; padding: 17px 19px; background: #fff; }
.method-grid article span { display: block; color: var(--deep-gold); font-size: 1.32rem; margin-bottom: 5px; }
.method-grid h3 { font-size: 1.08rem; margin-bottom: 6px; }
.method-grid p, .faq p { color: var(--soft-ink); font-size: .95rem; }
.faq { max-width: 825px; }
.faq h3 { font: 1.8rem var(--serif); margin-bottom: 12px; }
.faq details { border-bottom: 1px solid #d5d9d8; }
.faq summary { padding: 10px 0; }
.faq p { padding: 0 0 13px 15px; }
.sources { background: #ebeee9; padding: 35px 0; scroll-margin-top: 14px; }
.sources-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; }
.sources ul { margin: 3px 0; padding-left: 20px; }
.sources li + li { margin-top: 5px; }
.sources a { font-weight: 600; }
.footer { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.footer .brand-mark { color: var(--deep-gold); }
.footer p { color: var(--soft-ink); font-size: .85rem; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .assessment { grid-template-columns: minmax(0, 1fr) minmax(230px, 30%); gap: 14px; }
  .guide-card { padding: 21px 17px; }
  .hero-art { right: -25px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 360px; padding: 39px 0 60px; }
  .hero-art { opacity: .42; right: -65px; width: 55%; }
  .assessment { grid-template-columns: minmax(0, 1fr); }
  .guide { margin-top: 2px; }
  .guide-list { grid-template-columns: repeat(3, 1fr); gap: 11px; }
  .guide-list li { grid-template-columns: 1fr; gap: 5px; }
  .privacy { padding: 7px 3px 0; }
  .editorial { margin-block: 44px; }
  .method-grid { gap: 10px; }
  .method-grid article { padding: 12px; }
}
@media (max-width: 465px) {
  .topbar { flex-wrap: wrap; justify-content: flex-start; gap: 7px; padding: 12px 0; }
  .topbar nav { width: 100%; }
  .topbar nav a { min-height: 30px; display: flex; align-items: center; }
  .hero { min-height: 0; }
  .hero-art { opacity: .25; right: -82px; width: 75%; }
  .hero-description { font-size: 1rem; }
  .question h2 { font-size: 1.9rem; }
  .choice-list.tiles, .method-grid, .sources-inner, .size-helper { grid-template-columns: minmax(0, 1fr); }
  .guide-list { grid-template-columns: 1fr; }
  .guide-list li { grid-template-columns: 35px 1fr; }
  .footer { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 16px; }
}

/* S46 */
[hidden] { display: none !important; }
.hero h1 { font-size: clamp(2.65rem, 5.55vw, 4.9rem); }
.hero > div:first-child { position: relative; z-index: 1; }
.hero .button { margin-top: 21px; }
.field-stack { display: grid; gap: 14px; }
.field-stack + .field-stack { margin-top: 16px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > label { font-weight: 720; line-height: 1.4; }
.field > small { color: var(--soft-ink); font-size: .88rem; line-height: 1.4; }
.field input, .field select {
  display: block; min-height: 45px; width: 100%; max-width: 100%; color: var(--ink);
  border: 1px solid #b9c1cb; border-radius: 7px; padding: 8px 11px; background: #fff;
  font: inherit; color-scheme: light;
}
.field select {
  appearance: none; padding-right: 36px;
  background: linear-gradient(45deg, transparent 50%, #435261 50%) calc(100% - 17px) 50% / 5px 5px no-repeat,
              linear-gradient(135deg, #435261 50%, transparent 50%) calc(100% - 12px) 50% / 5px 5px no-repeat #fff;
}
.field input[aria-invalid="true"] { border-color: #a52d25; }
.measure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.measure-grid .field:has(select) { grid-column: 1 / -1; }
.subheading { font-size: 1.22rem; margin: 20px 0 9px; }
.rules-block { border: 1px solid #e1ddd5; border-radius: 9px; padding: 13px 15px; margin-block: 13px; }
.rules-block summary { min-height: 28px; }
.rules-block[open] summary { margin-bottom: 12px; }
.rules-block p + * { margin-top: 10px; }
.feedback { min-height: 0; margin-top: 12px; font-size: .93rem; }
.feedback:empty { display: none; }
.result-hero { padding: 17px 18px; border-radius: 9px; border: 1px solid #dbc291; background: #fcf4e3; margin-top: 15px; }
.result-hero.positive { color: #4a2119; background: #fff3ef; border-color: #e6b1a3; }
.result-hero.negative { color: #143b30; background: #edfaf3; border-color: #b6d5c7; }
.result-hero h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 4.3vw, 2.45rem); }
.result-hero p { margin: 0; }
.reason-list, .deadlines { list-style: none; margin: 8px 0 0; padding: 0; }
.reason-list li, .deadlines li { border-top: 1px solid #e2e4e6; padding: 9px 0; }
.reason-list small { display: block; color: var(--soft-ink); font-size: .88rem; }
.result-section { margin-top: 20px; }
.result-section h3 { font-size: 1.24rem; margin-bottom: 7px; }
.result-section p + p { margin-top: 7px; }
.legal-note { margin: 19px 0 0; padding: 11px 13px; border-left: 3px solid #9a6d35; background: #f7f5f0; font-size: .94rem; }
.sources ul li { overflow-wrap: anywhere; }
#result-clock { margin: 12px 0 0; }
@media (max-width: 560px) {
  .measure-grid { grid-template-columns: 1fr; }
  .hero h1 br { display: none; }
  .result-hero { padding: 13px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.choice small, .field > small { font-size: .92rem; line-height: 1.5; }
.choice small { margin-top: 5px; }
.inline-help { background: #f5f4ef; border-left: 3px solid #9a6d35; padding: 9px 12px; font-size: .94rem; }
.next-list { margin: 8px 0 0; padding-inline-start: 1.35rem; }
.next-list li + li { margin-top: 5px; }
