/* Wyłącznie dla konwertera, bez wpływu na inne moduły. */
:root { color-scheme:light; }
.back-link{font-size:13px;font-weight:750}
.intro{max-width:770px}
.converter{padding:30px}
.section-heading{display:flex;gap:12px;align-items:flex-start;margin-bottom:17px}
.section-heading h2{font-size:19px;letter-spacing:-.4px;margin:0 0 4px}
.section-heading p{font-size:13px;margin:0;line-height:1.5}
.section-gap{margin-top:31px;border-top:1px solid #e6eaf4;padding-top:27px}
.step-badge{flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#e8f0ff;color:#205bde;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px}
.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.system-choice{min-width:0;min-height:66px;border:1px solid #cbd8ed;background:#fff;border-radius:13px;color:#27405d;padding:10px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;cursor:pointer;font:inherit}
.system-choice:hover,.category-choice:hover,.unit-option:hover,.slot-btn:hover{border-color:#81a8f7}
.system-choice.is-selected{background:#edf4ff;border:2px solid #2c68e8;padding:9px 4px}
.system-name{font-weight:750;font-size:13px;line-height:1.15;text-align:center}
.system-markers{display:flex;gap:4px;min-height:18px;align-items:center}
.system-marker{font-size:11px;font-weight:850;border-radius:40px;min-width:21px;padding:2px 5px;background:#2767e8;color:#fff;text-align:center}
.system-choice:not(.is-selected) .system-markers:after{content:'Wybierz';color:#8a99ae;font-size:11px}
.selection-hint{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px;color:#526785}
.slot-switch{display:flex;gap:5px}
.slot-btn{background:#fff;border:1px solid #d8e1f1;color:#314a70;border-radius:8px;padding:8px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;min-height:34px}
.slot-btn.is-active{background:#2662e6;color:#fff;border-color:#2662e6}
.system-summary{background:#f2f6ff;color:#355f9e;border-radius:11px;text-align:center;padding:12px;margin-top:12px;font-size:13px;font-weight:750}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.category-choice{background:#fff;border:1px solid #cfdaef;border-radius:11px;min-height:47px;font:inherit;font-size:13px;color:#334866;font-weight:750;padding:8px 5px;cursor:pointer}
.category-choice.is-selected{background:#2964eb;color:#fff;border-color:#2964eb}
.value-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.value-card{background:#f6f9ff;border:1px solid #e0e9f7;border-radius:17px;padding:18px;min-width:0}
.value-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}
.value-heading strong{display:block;color:#233a62;font-size:15px}
.value-eyebrow{display:block;font-size:11px;color:#6d819e;margin-bottom:4px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.copy-button{border:1px solid #d6e1f2;background:white;color:#4a6081;border-radius:9px;padding:7px 9px;cursor:pointer;font:inherit;font-size:12px;font-weight:700;white-space:nowrap}
.copy-button:hover{border-color:#6993e8;color:#215bd4}
.value-input-wrap{display:flex;align-items:stretch;background:#fff;border:1px solid #b8cbe9;border-radius:12px;overflow:hidden;min-width:0}
.value-input-wrap:focus-within{outline:2px solid #a9c9fb;border-color:#3173ed}
.value-input-wrap input{border:0;outline:none!important;box-shadow:none!important;flex:1;min-width:0;width:100%;padding:13px 12px;font-size:clamp(18px,2.5vw,23px);font-weight:750;font-variant-numeric:tabular-nums;color:#182f55;background:white;border-radius:0}
.value-unit{border-left:1px solid #dce6f3;display:flex;align-items:center;justify-content:center;min-width:62px;max-width:112px;padding:0 10px;font-size:14px;font-weight:850;color:#2254ac;text-align:center;white-space:nowrap}
.current-unit-name{font-size:11px;color:#647891;min-height:18px;margin:6px 0 11px}
.unit-buttons{display:flex;flex-wrap:wrap;gap:7px}
.unit-option{flex:0 0 auto;min-width:45px;min-height:44px;padding:9px 11px;border:1px solid #ccd9ed;border-radius:10px;background:#fff;color:#38526f;font-size:13px;font-weight:750;cursor:pointer}
.unit-option.is-selected{background:#2864e7;color:#fff;border-color:#2864e7}
.more-units{margin-top:12px;border-top:1px solid #e2e9f3;padding-top:10px}
.more-units summary{color:#315bb1;font-size:12px;font-weight:750;cursor:pointer;list-style:revert;display:list-item;list-style-position:inside}
.more-units[open] summary{margin-bottom:12px}
.more-units.is-empty{display:none}
.validation-message{color:#aa3030;font-size:13px;min-height:0;margin-top:6px}
.validation-message:not(:empty){background:#fff2f0;padding:10px;border-radius:9px}
.conversion-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;flex-wrap:wrap}
.equivalence{font-size:13px;color:#596e8e;overflow-wrap:anywhere;line-height:1.5}
.swap-button{background:#eaf1ff;border:1px solid #b8d0ff;border-radius:11px;color:#2459c9;font:inherit;font-weight:750;font-size:13px;padding:12px 15px;min-height:44px;cursor:pointer}
.swap-button:hover{background:#dceaff}
.storage-note{font-size:12px;color:#7283a1;margin:16px 0 0}
.help-card{padding:0 24px}
.help-card details{border:0;padding:0}
.help-card summary{padding:21px 0;display:flex;justify-content:space-between;align-items:center;list-style:none;font-size:15px;color:#2b4b86;gap:12px}
.help-card summary::-webkit-details-marker{display:none}
.help-card details[open] summary{margin-bottom:0}
.help-chevron{color:#4874cd;font-size:23px;transform-origin:center}
.help-card details[open] .help-chevron{transform:rotate(180deg)}
.help-body{border-top:1px solid #e6ecf5;padding:13px 0 24px;font-size:13px;color:#526785;line-height:1.7}
.help-body p{font-size:13px}
.help-body ol{padding-left:22px}
.help-body li{padding:4px 0}
.help-body a{text-decoration:underline}
.test-notice{font-size:12px;color:#7384a1;margin:5px 0 30px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
  .converter{padding:18px}.value-grid{grid-template-columns:1fr;gap:13px}
  .value-card{padding:15px}.system-grid{gap:7px}
  .system-name{font-size:11px}.system-choice{min-height:64px}
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .category-choice{font-size:12px;min-height:44px}
  .section-heading h2{font-size:17px}
  .section-gap{margin-top:23px;padding-top:22px}
  .conversion-footer{align-items:stretch}.swap-button{width:100%}
  .help-card{padding:0 18px}
}
@media(max-width:380px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-name{font-size:10px}.copy-button{padding:6px}}
@media(prefers-reduced-motion:no-preference){.system-choice,.category-choice,.unit-option,.swap-button{transition:background .12s,border-color .12s}}
