/* Local to each calculator, including blocks inserted on other pages. */
.v3-margin{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;color:#0b1736}
.v3-margin .v3-heading{font-size:clamp(38px,5vw,72px);font-weight:800;line-height:.98;letter-spacing:-.045em;margin:16px 0 20px}
.v3-controls{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:32px}
.v3-control{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:6px 8px}
.v3-control label,.v3-control output{font-size:15px;font-weight:700;line-height:1.25}
.v3-control output{color:#0255a3;font-variant-numeric:tabular-nums}
.v3-control input[type=range]{width:100%;height:28px;appearance:none;background:transparent;margin:0;padding:0;border:0;cursor:pointer;outline-offset:3px}
.v3-control input[type=range]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:linear-gradient(90deg,#34a0eb var(--fill),#cfdfed var(--fill))}
.v3-control input[type=range]::-moz-range-track{height:8px;border-radius:8px;background:linear-gradient(90deg,#34a0eb var(--fill),#cfdfed var(--fill))}
.v3-control input[type=range]::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border-radius:50%;background:#ffd729;border:3px solid #0b1736;margin-top:-8px}
.v3-control input[type=range]::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:#ffd729;border:3px solid #0b1736}
.v3-control input[type=range]:disabled{cursor:default}
.v3-control input:focus-visible{outline:3px solid #0255a3}
.v3-receipt{position:relative;justify-self:center;width:min(100%,520px);background:white;border-radius:26px 26px 6px 6px;padding:30px 32px 36px;box-shadow:0 40px 80px -40px rgba(2,85,163,.55);transform:rotate(1.4deg)}
.v3-receipt:after{content:"";position:absolute;left:0;right:0;bottom:-13px;height:15px;background:radial-gradient(circle at 10px -2px,transparent 10px,white 11px) repeat-x;background-size:20px 16px}
.v3-receipt h3{display:flex;justify-content:space-between;gap:12px;font-size:15px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:#52617c;margin:0;font-weight:800}
.v3-calc-rows{margin:18px 0 0;font-variant-numeric:tabular-nums}
.v3-calc-rows>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #cbdde9;font-size:16px}
.v3-calc-rows dd{margin:0;font-weight:700}
.v3-margin-total{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-top:20px}
.v3-margin-total small{display:block;font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#52617c}
.v3-margin-total strong{display:block;font-weight:800;font-size:clamp(38px,4.3vw,64px);line-height:1;letter-spacing:-.045em}
.v3-margin-total>span{padding:6px 12px;border-radius:999px;font-weight:800;white-space:nowrap;background:#ffd729}
.v3-margin-total.v3-loss strong{color:#e5484d}
.v3-margin-total.v3-loss>span{color:#a61f26;background:#fde7e8}
.v3-split{display:flex;height:14px;border-radius:14px;overflow:hidden;margin-top:20px;background:#ddeff8}
.v3-split i:nth-child(1){background:#283d7c}.v3-split i:nth-child(2){background:#34a0eb}.v3-split i:nth-child(3){background:#6acfe3}.v3-split i:nth-child(4){background:#b0deed}.v3-split i:nth-child(5){background:#ffd729}
.v3-receipt .v3-calc-note{font-size:13px;line-height:1.45;color:#52617c;margin:16px 0 0}
@media(max-width:900px){.v3-margin{grid-template-columns:1fr;gap:44px}}
/* 5.0.7 (mobile review a-17): on phones every control in both columns looks the same - the label (up to two lines, bottom-aligned),
   below it the value and the slider; a long label („Dostawa opłacona przez sklep”) no longer pushes its value under itself. */
@media(max-width:700px){.v3-margin .v3-control{display:grid;grid-template-columns:minmax(0,1fr);align-items:end;gap:2px}.v3-margin .v3-control label{display:flex;align-items:flex-end;min-height:2.5em}.v3-margin .v3-control output{font-size:17px;line-height:1.25}.v3-margin .v3-control input[type=range]{margin-top:2px}}
@media(max-width:700px){.v3-controls{gap:16px}.v3-control label,.v3-control output{font-size:13px}.v3-receipt{padding:24px 20px 28px;max-width:calc(100% - 12px)}.v3-margin-total>span{font-size:13px}}
