
:root{--yellow:#ffda00;--dark:#17191f;--panel:#252830;--line:#3a3d47;--light:#f5f6fa;--muted:#a8acb8;--black:#111318}*{box-sizing:border-box}html{background:#111318}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#111318;color:white;font-size:15px}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}.app{max-width:520px;margin:auto;min-height:100vh;padding:20px 17px 34px}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:4px 0 17px}.brand{font-weight:900;letter-spacing:-.06em;font-size:30px}.brand em{font-style:normal;color:var(--yellow)}.smalltop{font-size:11px;color:var(--muted);text-align:right}.hero{border-radius:21px;background:var(--yellow);color:var(--black);text-align:center;padding:24px 18px 22px}.eyebrow{font-size:12px;font-weight:750;opacity:.75}.hero .amount{font-size:clamp(32px,9vw,49px);font-weight:900;letter-spacing:-.05em;line-height:1.2;margin:6px 0}.hero .hint{font-size:12px;opacity:.75}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.stat{background:var(--panel);padding:14px;border-radius:16px;min-width:0}.stat span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.stat strong{font-size:17px;overflow-wrap:anywhere}.section-title{font-weight:800;margin:24px 0 11px;font-size:17px}.field{background:var(--panel);border:1px solid #353841;border-radius:16px;padding:13px 14px;margin:10px 0}.field label{display:block;font-size:12px;color:var(--muted);font-weight:650;margin-bottom:8px}.field input,.field select{width:100%;background:#17191f;color:white;border:1px solid #50535d;border-radius:10px;padding:12px;font-size:16px;min-width:0}.field input:focus,.field select:focus{outline:2px solid var(--yellow);outline-offset:1px}.double{display:grid;grid-template-columns:1.1fr .9fr;gap:9px}.double .field{margin:0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.choices button{border:1px solid #50535d;background:#181a20;color:white;border-radius:11px;padding:12px 7px;font-size:12px;font-weight:750}.choices button.active{background:var(--yellow);border-color:var(--yellow);color:#111}.range{margin-top:10px;accent-color:var(--yellow);height:20px!important;padding:0!important;border:0!important;background:transparent!important}.modebox{margin-bottom:16px}.compare{border:1px solid #555967;border-radius:16px;padding:12px;margin-top:14px}.compare h3{margin:1px 0 12px;font-size:15px}.op2{border-color:#c7a600}.op2 h3{color:#ffe873}.btn{display:block;width:100%;border:0;border-radius:15px;padding:16px;font-weight:850;font-size:16px;background:var(--yellow);color:#121212;margin:15px 0 0}.btn.secondary{background:#30333d;color:white;border:1px solid #535762}.details{margin-top:18px}.details summary{cursor:pointer;font-weight:800;padding:15px;background:var(--panel);border-radius:13px}.scroll{overflow:auto;max-height:560px;margin-top:8px;border-radius:12px}table{border-collapse:collapse;width:100%;font-size:12px;min-width:395px}th{position:sticky;top:0;background:#353943;color:white}th,td{padding:9px 8px;text-align:right;border-bottom:1px solid #40434b}th:first-child,td:first-child{text-align:left}td{color:#ececf0}.contact{margin-top:29px;padding:16px;background:#24272f;border:1px solid #434750;border-radius:20px}.contact-head{display:flex;gap:14px;align-items:center}.avatar{height:68px;width:68px;flex:0 0 68px;border-radius:50%;object-fit:cover;background:var(--yellow);color:#141414;font-size:22px;font-weight:900;display:grid;place-items:center;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.contact h2{font-size:19px;margin:0 0 4px}.contact p{font-size:12px;color:#c1c4cc;margin:0}.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.contact-actions a{border-radius:12px;padding:12px 6px;text-align:center;background:var(--yellow);color:#111;font-weight:800;text-decoration:none;font-size:13px}.contact-actions a:last-child{background:#3c404a;color:white}.disclaimer{font-size:11px;color:#9296a2;line-height:1.5;margin-top:16px}.error{background:#563038;color:#fff;border-radius:10px;padding:12px;margin-top:12px}.hidden{display:none!important}.print-only{display:none}@media(min-width:700px){body{background:#f0d000}.app{box-shadow:0 0 55px #0004}}@media print{ @page{size:A4;margin:12mm}body,html{background:white!important;color:#151515!important}.app{display:none!important}.print-only{display:block!important;color:#111;font-family:Arial,sans-serif;font-size:10pt}.print-only h1{font-size:20pt;margin:0}.print-only h2{font-size:13pt;border-bottom:2px solid #222;padding-bottom:6px;margin-top:18px}.print-meta{margin:9px 0 20px;color:#555}.print-contact{border:1px solid #aaa;padding:11px;margin-top:12px;display:flex;align-items:center;gap:12px}.print-contact img{height:58px;width:58px;border-radius:50%;object-fit:cover}.print-contact strong{font-size:12pt}.print-only table{min-width:0;width:100%;font-size:8pt}.print-only th{background:#e8e8e8!important;color:#111!important;position:static;text-align:right}.print-only td{color:#111!important;border-color:#ddd}.print-only table tr{break-inside:avoid}.print-only .report-summary{background:#f2f2f2;padding:12px}.print-only .report-note{font-size:8pt;color:#555}}
.contact-phone{border-radius:12px;padding:12px 6px;text-align:center;background:var(--yellow);color:#111;font-weight:800;font-size:13px;user-select:text}.contact-actions .email-action{background:#3c404a;color:white}.contact-backup{color:#c1c4cc;font-size:12px;line-height:1.8;margin-top:10px}.contact-backup a,.contact-backup button{color:#ffe15c;background:transparent;border:0;text-decoration:underline;font-size:12px;cursor:pointer;padding:0}.copy-feedback{font-size:12px;margin-top:7px;color:#fff}.details .scroll th{background:var(--yellow)!important;color:#111!important}.details .scroll th *, .details .scroll .c1,.details .scroll .c2{color:#111!important}.details .scroll h3{color:#fff}.schedule-note{font-size:12px;color:#c1c4cc;padding:7px 12px 0;margin:0}.print-contact .print-portrait{width:75px;height:75px;border-radius:50%;object-fit:cover;flex:0 0 75px}.print-only .print-contact{display:flex;gap:15px;align-items:center;break-inside:avoid}.print-only th{color:#111!important}.print-only h2{break-after:avoid}
.hero-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:12px 0 8px}.hero-choice{min-width:0;background:rgba(17,19,24,.1);border:1px solid rgba(17,19,24,.14);border-radius:14px;padding:14px 6px}.hero-choice span{display:block;font-size:11px;font-weight:800;margin-bottom:8px}.hero-choice strong{display:block;font-size:clamp(17px,5.2vw,29px);font-weight:900;white-space:nowrap;letter-spacing:-.05em}@media(max-width:355px){.hero-choice strong{font-size:16px}.hero-comparison{gap:5px}} .hero-choice{min-width:0}.hero-choice strong{white-space:normal!important;overflow-wrap:anywhere}.compare-meta{margin-top:12px;text-align:left;border-top:1px solid #b5a100;padding-top:10px}.compare-metric{margin-bottom:11px}.compare-metric:last-child{margin-bottom:0}.compare-label{display:block;font-size:11px;font-weight:650;line-height:1.3;color:#333}.compare-metric b{display:block;font-size:clamp(13px,3.8vw,18px);font-weight:850;color:#111;margin-top:3px;overflow-wrap:anywhere}@media(max-width:370px){.hero{padding-left:10px;padding-right:10px}.hero-choice{padding:9px 6px!important}.compare-label{font-size:10px}}
.install-banner{display:flex;align-items:center;gap:12px;background:#282b33;border:1px solid #6c6040;border-radius:16px;padding:12px;margin:0 0 18px}
.install-banner .install-symbol{width:38px;height:38px;flex:none;border-radius:11px;background:#ffda00;color:#17191f;display:grid;place-items:center;font-size:23px;font-weight:800}
.install-banner .install-copy{flex:1;min-width:0}.install-banner .install-copy strong{display:block;font-size:13px}.install-banner .install-copy small{display:block;color:#c1c4ce;font-size:11px;margin-top:2px;line-height:1.3}
.install-banner button{flex:none;border:0;background:#ffda00;color:#17191f;font-size:12px;font-weight:900;padding:11px 12px;border-radius:10px}
.install-help{position:fixed;inset:0;background:#000b;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.install-help[hidden],.install-banner[hidden]{display:none!important}
.install-help-panel{background:#252830;color:white;border:1px solid #555963;border-radius:20px;padding:22px;max-width:370px;width:100%;box-shadow:0 15px 50px #0008}
.install-help-panel h2{font-size:21px;margin:0 0 10px}.install-help-panel p{line-height:1.55;font-size:14px;color:#e5e5e9}.install-help-panel button{width:100%;background:#ffda00;color:#181818;border:0;border-radius:12px;font-weight:800;padding:13px;margin-top:8px}

/* Czytelny harmonogram na ekranie, niezależnie od żółtych akcentów */
#scheduleView table{background:#fff;color:#15171c;border-radius:12px;overflow:hidden}
#scheduleView th{background:#ffda00!important;color:#15171c!important;border-bottom:1px solid #b6a000;text-align:right}
#scheduleView td{background:#fff;color:#15171c!important;border-bottom:1px solid #dce0e6}
#scheduleView tr:nth-child(even) td{background:#f2f4f7}
#scheduleView td *,#scheduleView th *{color:#15171c!important}
#scheduleView td:first-child,#scheduleView th:first-child{text-align:left}

/* v13 - formularz nad wynikami, porównanie w dwóch kolumnach */
#calculationResults{margin-top:20px;scroll-margin-top:15px}
#calculationResults .hero{margin-top:6px}
#options.compare-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
#options.compare-two>.compare{min-width:0;margin-top:0;padding:10px 8px}
#options.compare-two .field{padding:11px 8px;margin:8px 0}
#options.compare-two .double{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px}
#options.compare-two input,#options.compare-two select{font-size:14px;padding:10px 6px;min-width:0;width:100%}
#options.compare-two label{font-size:11px;line-height:1.35;overflow-wrap:break-word}
#options.compare-two .compare h3{font-size:13px}
#options:not(.compare-two) #option1>h3{display:none}
#options .option-hidden-results{display:none!important}
#calculationResults .stat{color:white}
@media(max-width:380px){#options.compare-two{gap:6px}#options.compare-two>.compare{padding:8px 5px}#options.compare-two .field{padding:8px 5px}#options.compare-two label{font-size:10px}#options.compare-two input,#options.compare-two select{font-size:13px;padding:9px 3px}}

/* Harmonogram porównania: wspólna tabela z dwiema opcjami */
#scheduleView .comparison-schedule{width:100%;min-width:0;table-layout:fixed;background:#fff;color:#15171c;border-collapse:collapse}
#scheduleView .comparison-schedule th{background:#35455e!important;color:#fff!important;text-align:left;padding:11px 9px;font-size:12px}
#scheduleView .comparison-schedule th:first-child{width:12%}
#scheduleView .comparison-schedule th:nth-child(2),#scheduleView .comparison-schedule th:nth-child(3){width:44%}
#scheduleView .comparison-schedule td{text-align:left;vertical-align:middle;padding:10px 9px;color:#171b22!important;overflow-wrap:anywhere}
#scheduleView .comparison-schedule td:first-child{font-weight:800}
#scheduleView .comparison-schedule .comp-installment{display:block;font-size:clamp(13px,3.7vw,19px);font-weight:900;color:#171b22!important}
#scheduleView .comparison-schedule .comp-parts{display:block;font-size:clamp(10px,2.5vw,12px);margin-top:3px;color:#171b22!important;line-height:1.3}
#scheduleView .comparison-schedule .comp-balance{display:block;font-size:clamp(10px,2.5vw,12px);margin-top:3px;color:#40464f!important;line-height:1.3}
#scheduleView .comparison-schedule tr:nth-child(odd) td{background:#f1f3f6!important}
#scheduleView .comparison-schedule tr:nth-child(even) td{background:#fff!important}
@media(max-width:390px){#scheduleView .comparison-schedule td{padding:8px 4px}#scheduleView .comparison-schedule th{padding:9px 4px;font-size:11px}}
.top{display:block;padding:0 0 17px}.top .brand{margin:4px 0 12px;font-size:28px;line-height:1}.top-contact{background:#24272f;border:1px solid #434750;border-radius:18px;padding:14px;min-width:0;width:100%;max-width:none}.top-contact-person{display:flex;align-items:center;gap:12px}.top-contact-photo{width:64px;height:64px;object-fit:cover;border-radius:50%;border:2px solid #e4e5e9;flex-shrink:0}.top-contact-info{min-width:0}.top-contact-info strong{display:block;font-size:18px;font-weight:850;line-height:1.2;color:white}.top-contact-info span{display:block;font-size:12px;color:#c9cbd2;margin-top:4px;line-height:1.35}.top-contact-details{display:grid;grid-template-columns:1fr;gap:10px;margin-top:13px}.top-contact-phone,.top-contact-email{width:100%;padding:12px 10px;border:0;border-radius:12px;text-align:center;font-size:14px;font-weight:800;line-height:1.25;min-width:0}.top-contact-phone{background:#ffda00;color:#111;cursor:default}.top-contact-email{background:#3d414b;color:white;cursor:pointer;display:flex;gap:6px;align-items:center;justify-content:center;overflow-wrap:anywhere}.top-contact-email span:first-child{overflow-wrap:anywhere;min-width:0}.copy-icon{font-size:18px;color:#ffda00;flex-shrink:0}.top-contact-email:focus-visible{outline:2px solid #ffda00;outline-offset:3px}.top-copy-feedback{font-size:12px;color:#ffda00;margin-top:9px;text-align:center}@media(min-width:430px){.top-contact-details{grid-template-columns:.8fr 1.2fr}}@media(max-width:420px){.top .brand{font-size:24px}.top-contact{padding:12px}.top-contact-photo{width:56px;height:56px}.top-contact-info strong{font-size:16px}.top-contact-info span{font-size:11px}.top-contact-phone,.top-contact-email{font-size:12.5px;padding:10px 8px}}
/* Nadpłaty v22 */
.overpay{margin:20px 0 12px;border:1px solid #454951;border-radius:18px;background:#22252d;padding:16px}
.overpay summary{font-size:18px;font-weight:850;cursor:pointer;color:#fff;list-style-position:inside}
.overpay-intro{font-size:12px;color:#bfc4ce;line-height:1.5;margin:12px 0}
.overpay-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.overpay .field{margin:7px 0;padding:11px;min-width:0}.overpay .field label{line-height:1.4}
.overpay .field input,.overpay .field select{font-size:16px;padding:10px 7px}
.overpay .full{grid-column:1/-1}
.overpay-results{margin-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.overpay-metric{padding:13px;background:#343842;border-radius:13px;min-width:0}
.overpay-metric span{display:block;color:#c2c7d1;font-size:11px;margin-bottom:6px;line-height:1.3}
.overpay-metric strong{color:#ffda00;font-size:18px;overflow-wrap:anywhere}
.overpay-compare{margin-top:13px;width:100%;border-collapse:collapse;font-size:12px;min-width:0}
.overpay-compare th{position:static;background:#35445b;color:white;font-size:11px;text-align:left}
.overpay-compare td{color:#fff;text-align:left;padding:10px 7px}
.overpay-compare td:first-child{color:#c7cad2}
.overpay-note{font-size:11px;color:#acb1bd;line-height:1.5;margin-top:12px}
@media(max-width:380px){.overpay{padding:11px}.overpay .field{padding:8px}.overpay-metric strong{font-size:15px}}

/* v24 */
.tool-view.hidden,.tool-home.hidden{display:none!important}.tool-home h2{font-size:22px;margin:12px 0 6px}.tool-home p{color:#bfc3cd;line-height:1.5;margin:0 0 17px}.tool-card{width:100%;display:flex;align-items:center;gap:13px;text-align:left;background:#252830;color:white;border:1px solid #444853;border-radius:17px;padding:16px;margin:11px 0}.tool-card:active{border-color:#ffda00}.tool-ico{width:46px;height:46px;flex:none;display:grid;place-items:center;background:#40444d;color:#ffda00;border-radius:13px;font-size:23px}.tool-card strong{display:block;font-size:15px}.tool-card small{display:block;color:#bbc0cb;font-size:12px;margin-top:5px;line-height:1.35}.tool-arr{margin-left:auto;color:#ffda00;font-size:22px}.tool-back{border:1px solid #545967;background:#252830;color:#ffda00;border-radius:11px;padding:11px 15px;margin:0 0 15px;font-size:13px;font-weight:800}.purchase-panel{background:#252830;border:1px solid #383c46;border-radius:17px;padding:15px;margin:12px 0}.purchase-panel h3{font-size:16px;margin:0 0 14px}.purchase-field{margin:12px 0}.purchase-field label{display:block;color:#c3c7d1;font-size:12px;font-weight:750;margin-bottom:7px}.purchase-field input,.purchase-field select{display:block;background:#17191f;border:1px solid #545967;border-radius:10px;color:#fff;font-size:16px;padding:11px;width:100%}.purchase-mini{color:#afb4bf;font-size:11px;line-height:1.5}.purchase-select{display:grid;grid-template-columns:1fr 1fr;gap:8px}.purchase-select button{padding:10px 6px;border:1px solid #60646d;border-radius:10px;background:#17191f;color:#fff;font-size:12px;font-weight:700}.purchase-select button.active{background:#ffda00;color:#17191f;border-color:#ffda00}.purchase-hero{background:#ffda00;color:#17191f;padding:21px 15px;text-align:center;border-radius:17px;margin:13px 0}.purchase-hero span{display:block;font-size:12px;font-weight:850}.purchase-hero strong{display:block;font-size:clamp(29px,8vw,43px);margin:6px 0;font-weight:900;letter-spacing:-.045em}.purchase-rows{width:100%;min-width:0;max-width:100%;border-collapse:collapse;table-layout:fixed}.purchase-rows td{padding:10px 5px;border-bottom:1px solid #424650;font-size:13px;vertical-align:top;min-width:0}.purchase-rows td:first-child{width:53%;overflow-wrap:anywhere}.purchase-rows td:last-child{width:47%;font-variant-numeric:tabular-nums}.purchase-rows td:last-child{text-align:right;font-weight:800;white-space:nowrap}.purchase-sub{color:#bdc3ce}.purchase-highlight td{font-size:14px;color:#ffda00;font-weight:800;border-top:1px solid #71747c}.purchase-warn{background:#343129;border:1px solid #746338;border-radius:12px;padding:12px;color:#f2e0aa;font-size:12px;line-height:1.5;margin:12px 0}.purchase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.purchase-actions button{padding:14px 7px;border-radius:12px;font-size:13px;font-weight:800;border:0;background:#ffda00;color:#17191f}.purchase-actions button:last-child{background:#464a55;color:white}.purchase-note{font-size:11px;color:#b9bec9;line-height:1.5}.purchase-panel .hidden{display:none!important}
@media(max-width:370px){.purchase-rows td{font-size:11px}.purchase-actions button{font-size:11px}}
@media print{body.purchase-printing .app,body.purchase-printing #installHelp{display:none!important}body.purchase-printing #purchasePrint{display:block!important;color:#16191d;background:white;font:12pt Arial;max-width:185mm;margin:auto}#purchasePrint h1{font-size:26pt}#purchasePrint table{width:100%;border-collapse:collapse}#purchasePrint td{border-bottom:1px solid #ddd;padding:8px}#purchasePrint td:last-child{text-align:right}#purchasePrint .print-heading{background:#17191f;color:#ffda00;padding:20px}#purchasePrint .print-subhead{font-weight:bold;margin-top:25px}#purchasePrint .print-foot{font-size:9pt;color:#666;margin-top:30px}}

/* Raport kosztów zakupu: spójny z sekcjami w aplikacji i w pełni drukowalny na A4. */
@media print {
  body.purchase-printing #printReport{display:none!important}
  body.purchase-printing #purchasePrint{display:block!important;max-width:185mm!important;width:100%!important;margin:0 auto!important;font:10pt Arial,sans-serif!important;color:#20242b!important}
  body.purchase-printing #purchasePrint *{box-sizing:border-box}
  body.purchase-printing .purchase-pdf-header{background:#242830!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:10px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}
  body.purchase-printing .purchase-pdf-header h1{font-size:18pt!important;margin:6px 0!important;color:#fff}
  body.purchase-printing .purchase-pdf-header p{margin:0;color:#d1d3da;font-size:9pt}
  body.purchase-printing .purchase-pdf-logo{font-size:18pt;font-weight:900;color:#fff}
  body.purchase-printing .purchase-pdf-logo span{color:#ffda00}
  body.purchase-printing .purchase-pdf-header img{width:63px;height:63px;border-radius:50%;object-fit:cover;border:2px solid white}
  body.purchase-printing .purchase-pdf-hero{background:#ffda00!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:9px;margin:12px 0 14px;padding:14px;text-align:center;display:flex;flex-direction:column;gap:5px}
  body.purchase-printing .purchase-pdf-hero span{font-size:9pt;font-weight:800}
  body.purchase-printing .purchase-pdf-hero strong{font-size:24pt}
  body.purchase-printing .purchase-pdf-hero small{font-size:9pt;font-weight:bold}
  body.purchase-printing .purchase-pdf-section{margin:13px 0;break-inside:avoid;page-break-inside:avoid}
  body.purchase-printing .purchase-pdf-section h2{background:#343e52!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:12pt;margin:0;padding:9px 12px;border:0}
  body.purchase-printing .purchase-pdf-table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:9.5pt;min-width:0!important}
  body.purchase-printing .purchase-pdf-table td{padding:7px 11px!important;vertical-align:middle;border-bottom:1px solid #e1e3e8;overflow-wrap:anywhere}
  body.purchase-printing .purchase-pdf-table td:first-child{width:62%}
  body.purchase-printing .purchase-pdf-table td:last-child{width:38%;text-align:right;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
  body.purchase-printing .purchase-pdf-table tr:nth-child(even){background:#f3f4f6!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.purchase-printing .purchase-pdf-table .purchase-pdf-total{background:#fff3a6!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-weight:800}
  body.purchase-printing .purchase-pdf-small{font-size:8.5pt;color:#555c66;line-height:1.4;margin:7px 9px 0}
  body.purchase-printing .purchase-pdf-disclaimer{font-size:8pt;color:#616872;line-height:1.4;margin:12px 0;break-inside:avoid}
  body.purchase-printing .purchase-pdf-contact{display:flex;gap:10px;align-items:center;border-top:2px solid #ffda00;padding:10px 4px;margin-top:12px;break-inside:avoid}
  body.purchase-printing .purchase-pdf-contact img{width:46px;height:46px;border-radius:50%;object-fit:cover}
  body.purchase-printing .purchase-pdf-contact div{display:flex;flex-direction:column;gap:3px;font-size:9pt}
  body.purchase-printing .purchase-pdf-contact span{color:#4b5260}
}

/* v28: niezależny kalkulator zdolności */
.cap-panel{background:#252830;border:1px solid #3a3e48;border-radius:17px;padding:15px;margin:12px 0;min-width:0}
.cap-panel h3{font-size:16px;margin:0 0 14px;color:#fff}
.cap-field{margin:14px 0}.cap-field label{display:block;font-size:12px;color:#ced1da;font-weight:750;line-height:1.5;margin-bottom:6px}
.cap-field input,.cap-field select{display:block;width:100%;min-width:0;background:#17191f;color:white;border:1px solid #565b66;border-radius:11px;padding:12px;font-size:16px}
.cap-note{color:#b5bac6;font-size:11px;line-height:1.55;margin:5px 0 0}
.cap-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.cap-grid .cap-field{margin:8px 0}.cap-subrow{display:flex;justify-content:space-between;gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid #3d414a;font-size:12px}
.cap-subrow span{color:#c5cbd5;max-width:65%}.cap-subrow strong{text-align:right;white-space:nowrap}
.cap-hero{background:#ffda00;color:#151515;text-align:center;border-radius:19px;padding:24px 12px;margin:14px 0}
.cap-hero span{font-size:11px;font-weight:850;display:block}.cap-hero strong{display:block;font-size:clamp(25px,7vw,39px);letter-spacing:-.04em;margin:8px 0}
.cap-alert{color:#ffe1a3;background:#3b3024;border:1px solid #8c6c2c;border-radius:11px;padding:12px;font-size:12px;line-height:1.5;margin:10px 0}
@media(max-width:370px){.cap-grid{grid-template-columns:1fr}}

/* Policz v36.2: comparison selection without overwriting existing mortgage */
.comparison-purpose{background:#252830;border:1px solid #555b68;border-radius:14px;padding:13px;margin:10px 0 14px}
.comparison-purpose .choices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.comparison-purpose .choices button{font-size:clamp(11px,2.7vw,14px);padding:11px 5px;min-width:0;overflow-wrap:anywhere}
.manual-rate-note{font-size:12px;color:#ced1d9;background:#2d3037;border-left:3px solid #ffda00;padding:10px 12px;border-radius:8px;margin:10px 0}
/* Policz v36: compact language switch + verified market rate choices */
.policz-header-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 12px}
.top .policz-header-line .brand{margin:0;line-height:1.1;flex-shrink:0}
.policz-header-line .language-switch{display:flex;flex-wrap:nowrap;gap:4px;margin:0;padding:0;border:0;background:none;flex:0 0 auto}
.policz-header-line .language-switch button{flex:none;min-width:38px;min-height:34px;font-size:10px;font-weight:900;border-radius:8px;padding:7px 6px;border:1px solid #60646d;background:#292d35;color:#f1f1f4}
.policz-header-line .language-switch button.selected{border-color:#ffda00;background:#ffda00;color:#111}
@media(max-width:360px){.policz-header-line .language-switch button{min-width:34px;padding:6px 4px}.top .policz-header-line .brand{font-size:23px}}
.market-box{margin:12px 0;padding:13px;border-radius:16px;border:1px solid #555b68;background:#252830;color:#fff}
.market-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.market-heading strong{font-size:14px;font-weight:850}.market-update{color:#bbc0ca;font-size:11px;line-height:1.45}
/* Policz v36.7 — instrukcja bezpośrednio nad edytowalnym oprocentowaniem, tylko NOWY KREDYT i NADPŁATA */
.market-input-guide{display:flex;align-items:flex-start;gap:8px;margin:6px 4px 10px;color:#e2e4e9;font-size:12px;line-height:1.55}
.market-input-info{flex:0 0 auto;color:#ffda00;font-size:16px;font-weight:850;line-height:1.2}
#options.compare-two .market-input-guide{display:none!important}

.market-deposit{display:flex;gap:7px;margin:12px 0 7px}.market-deposit button{border-radius:9px;flex:1;padding:9px 5px;font-size:12px;font-weight:800;background:#353943;color:#fff;border:1px solid #767c87}
.market-deposit button.active{background:#ffda00;color:#15171c;border-color:#ffda00}
.market-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:10px 0}
.market-choice{min-width:0;display:flex;flex-direction:column;gap:8px;text-align:left;padding:11px 9px;border-radius:12px;border:2px solid #535865;background:#30343c;color:white;cursor:pointer}
.market-choice strong{font-size:clamp(10px,2.5vw,13px);line-height:1.3;overflow-wrap:anywhere}.market-choice .market-value{font-weight:900;color:#ffda00;font-size:clamp(19px,5vw,27px)}
.market-choice.selected{border-color:#ffda00;background:#3b3a2c}.market-choice:focus-visible{outline:2px solid white;outline-offset:2px}
.market-note{font-size:11px;line-height:1.55;color:#c9cbd3;margin:6px 0 0}
.market-contact{background:#302d26;border:1px solid #81713c;border-radius:12px;padding:12px;margin:12px 0;font-size:12px;line-height:1.5}
.market-contact strong{display:block;color:#ffda00;font-size:14px;margin-bottom:5px}.market-contact a{display:inline-block;background:#ffda00;color:#1a1a1a;text-decoration:none;font-weight:850;border-radius:9px;padding:9px 12px;margin-top:9px}
#options.compare-two .market-box{padding:9px 6px}
#options.compare-two .market-heading strong{font-size:11px}
#options.compare-two .market-cards{gap:5px}
#options.compare-two .market-choice{padding:8px 4px;gap:5px;border-width:1.5px}
#options.compare-two .market-choice strong{font-size:10px}
#options.compare-two .market-choice .market-value{font-size:clamp(15px,4vw,22px)}
#options.compare-two .market-note{font-size:10px}

/* Policz v36.2: two comparison cards; select rate type next to down payment in option 2 */
#options.compare-two .compare-option-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:6px;margin:10px 0}
#options.compare-two .compare-option-settings.ref-mode{grid-template-columns:minmax(0,1fr)}
#options.compare-two .compare-option-settings>.field{min-width:0;border:0;background:transparent!important;padding:2px 0!important;margin:0!important}
#options.compare-two .compare-option-settings .field>label{display:block;color:#d6d8de;font-weight:800;font-size:10px;line-height:1.3;min-height:28px;margin:0 0 8px}
.compare-radio-group{display:flex;flex-direction:column;gap:9px}
.compare-radio-choice{display:flex!important;gap:5px;align-items:center;min-width:0;color:#f2f2f5;font-weight:500!important;cursor:pointer;margin:0!important;font-size:11px!important}
.compare-radio-choice span{min-width:0;line-height:1.4;overflow-wrap:anywhere}
#options.compare-two .compare-radio-choice input[type="radio"]{appearance:auto!important;accent-color:#ffda00;width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px;padding:0!important;margin:0!important;border:0!important;cursor:pointer}
#options.compare-two #marketCmp2{margin:12px 0}
#options.compare-two #marketCmp2Cards.hidden{display:none!important}
@media(max-width:380px){#options.compare-two .compare-option-settings{gap:4px}#options.compare-two .compare-radio-choice{font-size:10px!important;gap:3px}#options.compare-two .compare-radio-choice input[type="radio"]{width:14px!important;height:14px!important;min-width:14px!important;flex-basis:14px}#options.compare-two .compare-option-settings .field>label{font-size:9px}}

#options.compare-two>#marketCmp2{grid-column:1/-1;padding:13px 12px;margin:5px 0 0;min-width:0}
#options.compare-two>#marketCmp2 .market-heading strong{font-size:13px}
#options.compare-two>#marketCmp2 .market-choice{padding:10px;gap:6px}
#options.compare-two>#marketCmp2 .market-choice strong{font-size:12px}
#options.compare-two>#marketCmp2 .market-choice .market-value{font-size:23px}
#options.compare-two .compare h3{font-size:12px;color:#ffda00;margin-bottom:4px}
.compare-card-subtitle{font-weight:850;font-size:15px;line-height:1.3;color:#fff;margin:0 0 5px}
.compare-card-caption{font-size:11px;color:#bec4d0;line-height:1.45;margin:0 0 11px}
#options:not(.compare-two) .compare-card-subtitle,#options:not(.compare-two) .compare-card-caption{display:none!important}

/* Policz v36.3: compact six tools, header shortcuts and separated comparison/refinancing */
.top-contact-phone,.top-contact-email{display:flex;justify-content:center;align-items:center;text-decoration:none;cursor:pointer}
.top-contact-phone:hover,.top-contact-email:hover{filter:brightness(1.09)}
.top-contact-phone:focus-visible,.top-contact-email:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.policz-header-line{gap:5px;flex-wrap:nowrap}
.policz-header-line .brand{margin:0!important;font-size:clamp(20px,6vw,28px)}
.global-back{border:1px solid #51555d;border-radius:8px;background:#292d35;color:#ffdc00;padding:9px 7px;font-size:10px;font-weight:900;white-space:nowrap;flex:0 1 auto;min-height:34px}
.global-back:focus-visible{outline:2px solid #ffdc00;outline-offset:2px}
.policz-header-line .language-switch{gap:3px}
.policz-header-line .language-switch button{min-width:31px;min-height:34px;padding:6px 4px;font-size:9px}
@media(max-width:375px){.global-back{font-size:9px;padding:8px 4px}.policz-header-line .brand{font-size:20px}.policz-header-line .language-switch button{min-width:29px;padding:6px 3px}}
#toolHome .tool-card{min-height:51px;padding:8px 12px;margin:7px 0;border-radius:14px;gap:11px}
#toolHome .tool-ico{width:34px;height:34px;border-radius:9px;font-size:19px}
#toolHome .tool-card strong{font-size:14px;line-height:1.3}
#toolHome .tool-card small{display:none}
#toolHome h2{font-size:18px;margin:8px 0 4px}
#toolHome p{font-size:12px;margin-bottom:12px}
.tool-view>.tool-back{display:none!important}
#loanTool>.section-title{display:none!important}
#loanTool .modebox{margin-top:4px;margin-bottom:10px}
#loanTool .modebox .choices{display:none!important}
.mode-current{display:block;color:#ffdc00;font-size:18px;letter-spacing:.02em;margin-top:5px}
#comparisonPurposeWrap{display:none!important}
#options.compare-two #marketCmpDeposit{display:none!important}
#options.compare-two .compare-card-caption{display:none!important}
#options.compare-two .compare#option1{background:#363b46;border-color:#676d79}
#options.compare-two .compare#option2{background:#24272f;border-color:#555968}
#options.compare-two .manual-rate-note{display:none!important}
#options.compare-two .compare-option-settings{display:block;margin:8px 0}
#options.compare-two .compare-option-settings>.field{padding:1px 0!important}
#options.compare-two .compare-option-settings .field>label{min-height:0}

/* v36.4 — równe kolumny oraz kompaktowy tryb */
#loanTool .modebox{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:nowrap}
#loanTool .modebox>label{font-size:11px;flex:none;margin:0;line-height:1.3}
#loanTool .modebox .mode-current{display:inline;margin:0;font-size:14px;line-height:1.3}
#options.compare-two{align-items:stretch}
#options.compare-two>.compare{display:flex;flex-direction:column;min-width:0}
#options.compare-two .compare-card-subtitle{display:none!important}
#options.compare-two .compare-option-settings{display:grid;grid-template-columns:minmax(0,1fr);min-height:116px;gap:0}
#options.compare-two .rate-fields-slot{min-height:137px;display:block}
#options.compare-two .compare#option1{background:#333b46;border-color:#667080}
#options.compare-two .compare#option2{background:#424752;border-color:#7b808b}
#options.compare-two .compare h3{color:#ffdc00;font-size:14px;line-height:1.4;margin-bottom:12px}
#options.compare-two .compare .field{background:#252a32}
#options.compare-two #option2 .field{background:#343943}
#options.compare-two .compare .field>label{overflow-wrap:break-word}
@media(max-width:380px){#options.compare-two .compare-option-settings{min-height:125px}#options.compare-two .rate-fields-slot{min-height:145px}}



.cap-contact{background:#282b33;border:1px solid #555965;border-radius:19px;padding:17px 14px;margin:17px 0;color:#fff;min-width:0}
.cap-contact h3{font-size:19px;line-height:1.2;margin:0 0 9px;color:#fff}
.cap-contact p{font-size:13px;line-height:1.55;color:#d5d7df;margin:0 0 15px}
.cap-contact-person{display:flex;align-items:center;gap:12px;margin:14px 0 17px}
.cap-contact-person img{width:64px;height:64px;border-radius:50%;border:2px solid #e2e4e7;object-fit:cover;flex-shrink:0}
.cap-contact-person strong{display:block;font-size:16px;line-height:1.3}
.cap-contact-person span{display:block;font-size:12px;color:#bfc2ca;margin-top:4px}
.cap-contact-send{display:block;width:100%;background:#ffda00!important;color:#151515!important;border:0;border-radius:12px;padding:14px 8px;font-size:13px;font-weight:850;line-height:1.3;white-space:normal}
.cap-contact .cap-contact-note{font-size:11px;color:#bfc3cd;margin:10px 0 14px}
.cap-contact-phone{background:#3b3f49;color:#fff;padding:11px;text-align:center;font-weight:800;border-radius:11px;margin:10px 0}
.cap-contact-copy{width:100%;background:#3b3f49;border:1px solid #606571;border-radius:11px;color:#fff;padding:12px 6px;font-size:12px;font-weight:750;overflow-wrap:anywhere}

.language-switch{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 20px;padding:11px;background:#252830;border:1px solid #4a4f5a;border-radius:14px}
.language-switch .language-title{color:#d7d8df;font-size:12px;font-weight:700;flex:1 1 100%}
.language-switch button{flex:1;min-width:0;border:1px solid #777b82;border-radius:10px;background:#17191f;color:white;padding:11px 7px;font-weight:800;font-size:13px}
.language-switch button.selected{background:#ffda00;color:#111318;border-color:#ffda00}
.language-switch button:focus-visible{outline:2px solid #fff;outline-offset:2px}



/* Policz. v36.8 — desktop only. Keep all interactive logic and phone layout intact.
   Consistent with the dark graphite mobile theme. */
@media screen and (min-width:700px) {
  html,body{background:#111318!important;color:#f7f7f8}
  body{font-size:16px}
  .app{width:100%;max-width:840px;margin:0 auto;padding:28px 28px 54px;
       background:#111318;box-shadow:none!important}
  .install-banner{border-radius:18px;padding:15px 18px;margin-bottom:22px}
  .install-banner .install-copy strong{font-size:15px}
  .install-banner .install-copy small{font-size:12px}
  .install-banner button{font-size:13px;padding:13px 17px}
  .top{padding-bottom:24px}
  .policz-header-line .brand{font-size:35px!important}
  .policz-header-line .language-switch button{min-width:48px;min-height:40px;padding:9px 10px;font-size:12px}
  .global-back{font-size:12px;padding:11px 16px}
  .top-contact{padding:21px 23px;border-radius:22px;border-color:#444a55}
  .top-contact-photo{width:72px;height:72px}
  .top-contact-info strong{font-size:21px}
  .top-contact-info span{font-size:13px}
  .top-contact-details{gap:14px;margin-top:16px}
  .top-contact-phone,.top-contact-email{font-size:15px;padding:14px 12px;border-radius:13px}
  .section-title{font-size:19px}
  #loanTool .modebox{background:#252830;border:1px solid #3e434e;border-radius:20px;
                      padding:19px 21px;margin:9px 0 18px;gap:17px}
  #loanTool .modebox>label{font-size:14px}
  #loanTool .modebox .mode-current{font-size:19px}
  .field{background:#252830;border:1px solid #414650;border-radius:20px;
         padding:18px 21px;margin:14px 0}
  .field label{font-size:14px;margin-bottom:11px;line-height:1.35}
  .field input,.field select{background:#17191f;border-color:#585e6b;border-radius:13px;
                            font-size:18px;padding:15px 17px}
  .range{margin-top:16px;height:23px!important}
  .double{grid-template-columns:1fr 1fr;gap:14px}
  .choices{gap:14px}
  .choices button{font-size:15px;border-radius:14px;padding:16px 11px}
  .market-box{background:#252830;border-color:#535965;border-radius:23px;
              padding:22px 24px;margin:18px 0}
  .market-heading strong{font-size:22px;line-height:1.3}
  .market-update{font-size:13px}
  .market-deposit{gap:14px;margin:17px 0 15px}
  .market-deposit button{padding:15px 12px;border-radius:13px;font-size:16px}
  .market-cards{gap:15px;margin:15px 0 16px}
  .market-choice{background:#30343c;border-color:#535b68;border-radius:18px;
                 padding:19px 20px;gap:10px;min-height:116px}
  .market-choice strong{font-size:16px;line-height:1.4}
  .market-choice .market-value{font-size:34px;line-height:1.2}
  .market-note{font-size:14px;line-height:1.6;margin-top:13px}
  .market-input-guide{font-size:15px;line-height:1.55;margin:15px 6px 14px;gap:11px}
  .market-input-info{font-size:21px}
  .btn{font-size:18px;border-radius:16px;padding:17px}
  .details summary{font-size:17px;padding:17px 19px}
  .tool-home h2{font-size:23px}
  #toolHome .tool-card{min-height:66px;padding:13px 18px;margin:11px 0;border-radius:17px}
  #toolHome .tool-ico{width:40px;height:40px;font-size:21px}
  #toolHome .tool-card strong{font-size:17px}
  .overpay{padding:20px 22px;border-radius:21px}
  .overpay .field{padding:14px 16px}
  .overpay .field input,.overpay .field select{font-size:16px;padding:14px}
  .overpay summary{font-size:18px}
  .purchase-panel{border-radius:20px;padding:20px 23px}
  .purchase-field label{font-size:14px}
  .purchase-field input,.purchase-field select{font-size:18px;padding:14px}
  .hero{border-radius:23px;padding:25px 23px}
  .stat-grid{gap:14px}
  .stat{padding:18px;border-radius:18px}
  .contact{border-radius:22px;padding:22px}
  .disclaimer{font-size:12px}
  /* In the two-loan layout, give both cards proper desktop breathing room. */
  #options.compare-two{gap:15px}
  #options.compare-two>.compare{padding:17px 15px;border-radius:19px}
  #options.compare-two .compare h3{font-size:17px}
  #options.compare-two .compare .field{padding:12px 13px}
  #options.compare-two .compare .field label{font-size:12px}
  #options.compare-two .compare .field input,
  #options.compare-two .compare .field select{font-size:16px;padding:13px 10px}
  #options.compare-two .compare-option-settings .field>label{font-size:12px;min-height:0}
  #options.compare-two .compare-radio-choice{font-size:13px!important}
  #options.compare-two #marketCmp2 .market-choice strong{font-size:12px}
  #options.compare-two #marketCmp2 .market-choice .market-value{font-size:25px}
  #options.compare-two .market-note{font-size:12px}
}

/* v37 identity lifecycle: do not display another advisor's fallback card. */
html.policz-profile-loading body{visibility:hidden}
html.policz-profile-blocked .app,html.policz-profile-blocked .install-help{display:none!important}
#advisorUnavailable{max-width:520px;margin:12vh auto;padding:30px;border-radius:18px;background:#252830;color:white;font-family:system-ui,sans-serif}
#advisorUnavailable strong{font-size:23px}
#advisorUnavailable p{line-height:1.5;color:#ddd}
#advisorUnavailable a{color:#ffda00}

/* Policz v37.2: white profile photos, ANG co-branding and reliable email composer */
.top-contact-person{display:flex;align-items:center;gap:12px;min-width:0}
.top-contact-photo,.cap-contact-person img{background:#fff;object-fit:cover;object-position:center center}
.top-contact-info{flex:1 1 auto;min-width:0}
.top-contact-partner{margin-left:auto;flex:0 0 auto;width:132px;max-width:30%;background:#fff;border-radius:10px;padding:6px;display:flex;align-items:center;justify-content:center;min-height:74px}
.top-contact-partner img{display:block;width:100%;height:auto;max-height:72px;object-fit:contain}
.top-contact-partner.hidden{display:none!important}
@media(max-width:540px){.top-contact-partner{width:90px;max-width:27%;padding:4px;min-height:55px}.top-contact-person{gap:9px}.top-contact-info strong{font-size:clamp(14px,3.8vw,18px)}.top-contact-info span{font-size:11px}}
@media(max-width:355px){.top-contact-person{flex-wrap:wrap}.top-contact-partner{margin-left:auto}}
.policz-mail-overlay{position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.78);display:flex;justify-content:center;align-items:center;padding:15px;overflow:auto}
.policz-mail-overlay.hidden{display:none!important}
.policz-mail-dialog{position:relative;background:#252830;border:1px solid #5c6270;border-radius:19px;padding:20px;color:#fff;width:min(100%,580px);max-height:calc(100vh - 30px);overflow:auto;box-shadow:0 20px 60px #0009}
.policz-mail-dialog h2{font-size:20px;padding-right:33px;margin:0 0 7px}
.policz-mail-dialog p{font-size:13px;color:#d2d6de;line-height:1.45;margin:6px 0 16px}
.policz-mail-close{position:absolute;right:12px;top:9px;background:#3c414a;color:#fff;border:1px solid #636773;border-radius:8px;width:34px;height:34px;font-size:24px}
.policz-mail-field{display:flex;gap:8px;align-items:baseline;padding:8px 0;border-bottom:1px solid #464a56;min-width:0;font-size:13px;overflow-wrap:anywhere}
.policz-mail-field strong{color:#b7becb;min-width:56px;flex-shrink:0}
.policz-mail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.policz-mail-action{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;background:#454954;color:#fff;border-radius:10px;padding:12px 8px;font-weight:750;font-size:13px;min-height:46px}
.policz-mail-action.main{background:#ffda00;color:#171717}
.policz-mail-copy{display:block;width:100%;margin:9px 0 0;background:#3e434d;color:#fff;border:1px solid #747987;border-radius:10px;padding:11px;font-size:13px;font-weight:750}
.policz-mail-dialog .policz-mail-status{margin:8px 0!important;color:#ffda00;font-size:12px;min-height:14px}
#policzMailBody{background:#181b21;color:#fff;border:1px solid #525762;border-radius:9px;padding:10px;width:100%;height:135px;resize:vertical;min-height:70px;font:12px/1.5 system-ui,sans-serif}
@media(max-width:360px){.policz-mail-actions{grid-template-columns:1fr}}

/* v37.3: accepted ANG co-branding + centered photo in consistent white circle */
.top-contact-photo{width:82px;height:82px;object-fit:cover;object-position:50% 42%;border-radius:50%;border:2px solid #f3f3f3;background:#fff;flex:0 0 auto}
.top-contact-partner{width:260px;max-width:34%;padding:8px 10px;min-height:72px;background:white;border-radius:12px}
.top-contact-partner img{width:100%;height:auto;max-height:70px;object-fit:contain}
@media(max-width:680px){.top-contact-photo{width:68px;height:68px}.top-contact-partner{width:130px;max-width:31%;min-height:54px;padding:4px}.top-contact-partner img{max-height:46px}}
@media(max-width:380px){.top-contact-photo{width:58px;height:58px}.top-contact-partner{width:100px;max-width:30%}}

/* Policz v40.0 — compact mobile comparison and overpayment controls */
@media screen and (max-width:699px){
  #options.compare-two .compare-option-settings{min-height:0!important;margin:2px 0 5px!important;padding:0!important}
  #options.compare-two .compare-option-settings>.field{padding:0!important;margin:0!important}
  #options.compare-two .compare-option-settings .field>label{margin-bottom:4px!important}
  #options.compare-two .compare-radio-group{gap:5px}
  #options.compare-two .rate-fields-slot{min-height:0!important;margin:0 0 4px!important}
  #options.compare-two .rate-fields-slot .field{margin:3px 0!important;padding:7px 6px!important}
  #options.compare-two .fixblock .double{gap:5px}
  #options.compare-two .fixblock .field label{margin-bottom:5px}
  #options.compare-two .compare .double[style*="margin-top"]{margin-top:5px!important}
  #options.compare-two .compare .field{margin-top:5px;margin-bottom:5px}
}
#options .unit-field{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}
#options .unit-heading{font-size:10px;color:#c1c5cf;font-weight:700;line-height:1.1}
#options .unit-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important}
#options .unit-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;width:100%;align-items:stretch}
#options .unit-choice{display:flex!important;align-items:center;justify-content:center;gap:3px;min-height:39px;margin:0!important;padding:4px 2px;border:1px solid #5d6470;border-radius:8px;color:white;font-size:11px!important;line-height:1.1;cursor:pointer;white-space:nowrap}
#options .unit-choice:has(input:checked){border-color:#ffda00;background:rgba(255,218,0,.13);color:#ffda00}
#options .unit-choice input[type=radio]{appearance:auto!important;accent-color:#ffda00;width:13px!important;min-width:13px!important;height:13px!important;flex:0 0 13px;margin:0!important;padding:0!important;border:0!important;cursor:pointer}
#options .unit-choice span{overflow-wrap:normal}
#options .unit-choice:focus-within{outline:2px solid #ffda00;outline-offset:1px}
#amountRange{touch-action:pan-y;overscroll-behavior:contain}
#overpayChoiceWrap:not(.hidden),#overpayKindWrap:not(.full){min-width:0}
#overpayChoiceWrap select,#overpayKindWrap select{padding:10px 5px;font-size:13px}
#overpayChoiceWrap label,#overpayKindWrap label{font-size:11px}
.purchase-tax-exception{margin:6px 0 12px;padding:9px;border:1px solid #5e5d4d;border-radius:10px;color:#e4e0c7;font-size:11px}
.purchase-tax-exception[open] summary{margin-bottom:8px}
.purchase-tax-exception summary{cursor:pointer;font-weight:650}
.purchase-tax-exception label{display:flex;align-items:flex-start;gap:7px;line-height:1.4}
.purchase-tax-exception input{width:auto!important;flex:none;margin-top:2px;accent-color:#ffda00}
/* On two narrow comparison cards, radio choices must stack inside their own cell. */
@media screen and (max-width:699px){
 #options.compare-two .unit-picker{grid-template-columns:minmax(0,1fr);gap:3px}
 #options.compare-two .unit-field{padding:7px 4px!important;gap:3px}
 #options.compare-two .unit-heading{font-size:9px;line-height:1.1}
 #options.compare-two .unit-choice{min-height:26px;padding:3px 2px;gap:4px;font-size:10px!important;justify-content:flex-start}
 #options.compare-two .unit-choice input[type=radio]{width:12px!important;height:12px!important;min-width:12px!important;flex-basis:12px}
}
