/* Litbuy Spreadsheet Polska — spreadsheet / editorial interface */
@layer reset, base, components, responsive, polska, typography, brand, sources, mobile, controls, layout, calm;
@layer reset {
  *,*::before,*::after{box-sizing:border-box}
  body,h1,h2,h3,p{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
  img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button{cursor:pointer}ul,ol{padding-left:1.3rem}[hidden]{display:none!important}
}
@layer base {
  :root{--yellow:#ffc800;--yellow-light:#fff6ce;--ink:#20221f;--muted:#626262;--line:#dedfd7;--paper:#f5f5ef;--white:#fff;--red:#dc143c;--green:#246548;--radius:8px}
  html{scroll-behavior:smooth;scroll-padding-top:106px}body{background:var(--paper);color:var(--ink);font-family:'Lato','Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
  ::selection{background:var(--yellow)}:focus-visible{outline:3px solid #967200;outline-offset:4px}button:disabled{opacity:.4;cursor:default}
  h1,h2,h3{line-height:1.15;letter-spacing:-.04em}h1{font-weight:900;font-size:clamp(2.1rem,3.8vw,3.5rem)}h2{font-size:clamp(1.65rem,2.4vw,2.15rem);font-weight:700}h3{font-size:1.1rem;letter-spacing:-.025em}
  p{max-width:72ch}button{color:var(--ink)}.container{width:min(1320px,calc(100% - 80px));margin-inline:auto}.section{padding-block:36px}.muted{color:var(--muted)}
  .eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.mono{font-family:Consolas,monospace;font-size:.78rem}
  .skip{position:fixed;top:-100px;left:16px;z-index:1000;background:var(--yellow);padding:12px}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.flag{display:inline-block;width:21px;height:14px;border:1px solid #d7d8cf;background:linear-gradient(#fff 50%,var(--red) 50%);border-radius:1px;flex-shrink:0}
}
@layer components {
  .header{position:sticky;top:0;background:#fff;z-index:40;border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;gap:30px;min-height:86px}.brand{display:flex;flex-shrink:0}
  .navlinks{display:flex;gap:27px;align-items:center;margin-inline:auto}.navlinks a{font-size:.84rem;font-weight:700;white-space:nowrap;padding:29px 0;position:relative}.navlinks a:hover{color:#735900}.navlinks a[aria-current=page]::after{content:'';position:absolute;bottom:19px;left:0;right:0;height:3px;background:var(--yellow)}
  .nav-actions{display:flex;align-items:center;gap:10px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:white;border:1px solid var(--line);border-radius:5px}.nav-actions>a.icon-button{width:48px;gap:3px}.saved-count{font-size:.75rem}.menu-toggle{display:none}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 20px;border:1px solid transparent;border-radius:5px;font-size:.83rem;line-height:1.4;font-weight:700;transition:background .15s}.btn-yellow{background:var(--yellow);color:var(--ink)}.btn-yellow:hover{background:#edbb00}.btn-dark{background:var(--ink);color:white}.btn-dark:hover{background:#414439}.btn-outline{background:transparent;border-color:#cccccc}.btn-outline:hover{background:var(--yellow-light)}
  .text-link{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:.82rem}.text-link:hover{text-decoration:underline;text-underline-offset:4px}

  .catalog-workspace{display:grid;grid-template-columns:208px minmax(0,1fr);gap:32px;align-items:start}.catalog-sidebar{padding:4px 0;position:sticky;top:112px}.sidebar-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--muted);margin-bottom:14px}.catalog-sidebar nav{display:flex;flex-direction:column;gap:3px}.category-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-radius:5px;font-size:.78rem;min-height:43px}.category-link small{font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}.category-link:hover{background:#e9eadf}.category-link.active{background:var(--yellow);font-weight:700}.category-link.active small{color:#49431b}.sidebar-tool{display:flex;flex-direction:column;background:#fff8df;border:1px solid var(--line);border-radius:6px;padding:20px 16px;margin-top:27px;gap:8px}.sidebar-tool>.icon{width:24px;height:24px;margin-bottom:7px}.sidebar-tool strong{font-size:.93rem;line-height:1.4;letter-spacing:-.02em}.sidebar-tool span{font-size:.75rem;line-height:1.7;color:#666c58}.sidebar-tool b{font-size:.75rem;margin-top:8px}.catalog-main{min-width:0}.catalog-section{padding:0}
  .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.section-head .eyebrow{margin-bottom:8px;color:var(--muted)}.section-head h2{font-size:1.8rem}.section-head p{font-size:.85rem;margin-top:9px;color:var(--muted)}
  .catalog-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#f5f5f5;padding:10px;border:1px solid #dedede;border-radius:6px;margin-bottom:15px}.searchbox{display:flex;align-items:center;gap:9px;padding:0 12px;background:#fff;border:1px solid #d4d4d4;border-radius:4px;flex:1;min-width:180px}.searchbox input{border:0;background:transparent;width:100%;min-width:0;min-height:44px;outline:none;font-size:.81rem}.searchbox:focus-within{outline:2px solid #977400;outline-offset:2px}.searchbox>.icon{width:17px;height:17px;color:var(--muted)}.select-control{border:1px solid #d4d4d4;border-radius:4px;background:white;min-height:46px;padding:9px 26px 9px 10px;font-size:.75rem;max-width:100%}.view-toggle{display:flex;gap:4px}.view-toggle .icon-button{height:44px;width:36px;border-color:#d4d4d4}.view-toggle button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}
  .results-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:.75rem;color:var(--muted);margin:0 0 17px}.results-meta a{text-decoration:underline;text-decoration-color:#c8cabc;text-underline-offset:3px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 17px}.catalog-workspace .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-card{position:relative;border:1px solid var(--line);border-radius:6px;background:white;overflow:hidden;transition:border-color .18s}.product-card:hover{border-color:#9a9f8c}.product-image{display:block;background:#f5f5f5;aspect-ratio:1.16;overflow:hidden;border-bottom:1px solid #e6e8dc}.product-image img{width:100%;height:100%;object-fit:contain;padding:18px;mix-blend-mode:multiply;transition:transform .2s}.product-card:hover .product-image img{transform:scale(1.035)}.product-save{position:absolute;z-index:2;top:10px;right:10px;width:34px;height:34px;display:grid;place-items:center;border-radius:4px;background:#fffffff2;border:1px solid #daddd0}.product-save .icon{width:16px;height:16px}.product-save[aria-pressed=true]{background:var(--yellow);border-color:#d9af13}.product-save[aria-pressed=true] .icon{fill:currentColor}.product-content{padding:15px}.product-cat{font-size:.75rem;text-transform:uppercase;letter-spacing:.075em;font-weight:700;color:var(--muted);margin-bottom:7px}.product-title{font-size:.87rem;font-weight:700;line-height:1.45;letter-spacing:-.018em;min-height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-title a:hover{text-decoration:underline;text-underline-offset:3px}.price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #efefe9;margin-top:15px;padding-top:13px}.price-row strong{font-size:1.05rem;font-weight:700;letter-spacing:-.025em}.price-row small{display:block;font-size:.75rem;color:var(--muted);margin-top:2px}.product-go{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;background:var(--yellow);border-radius:3px}.product-go .icon{width:17px;height:17px}
  .product-grid.is-table{display:flex;flex-direction:column;gap:8px}.is-table .product-card{display:grid;grid-template-columns:80px 1fr}.is-table .product-image{aspect-ratio:1;height:100%;border:0}.is-table .product-image img{padding:5px}.is-table .product-content{display:grid;grid-template-columns:95px 1fr 150px;align-items:center;gap:18px;padding:10px 58px 10px 14px}.is-table .product-title{min-height:0}.is-table .product-cat,.is-table .price-row{margin:0;padding:0;border:0}.is-table .product-save{top:22px}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:25px}.pagination span{min-width:100px;text-align:center;font-size:.8rem}.pagination .btn{background:white;min-height:40px;padding:8px 16px}.catalog-disclaimer{color:var(--muted);font-size:.75rem;line-height:1.8;max-width:none;margin-top:20px}.catalog-disclaimer a{text-decoration:underline}.empty{grid-column:1/-1;text-align:center;padding:45px 20px;border:1px dashed #bfc3b1;border-radius:6px;background:white}.empty h3{margin-bottom:10px}.empty .btn{margin-top:18px}
  .guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-card{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;display:flex;flex-direction:column}.guide-card:hover{border-color:#9da18f}.guide-visual{display:flex;align-items:center;gap:16px;padding:19px 22px;border-bottom:1px solid var(--line);background:#eeefe7}.guide-number{font-family:Consolas,monospace;font-size:1.6rem;line-height:1.1;font-weight:700;color:#666d58}.guide-visual .icon{width:24px;height:24px;margin-left:auto}.guide-label{font-size:.75rem;letter-spacing:.03em}.guide-card:nth-child(2) .guide-visual{background:var(--yellow-light)}.guide-body{padding:23px;display:flex;flex:1;flex-direction:column}.guide-body .eyebrow{font-size:.75rem;color:var(--muted);margin-bottom:11px}.guide-body h3{font-size:1.21rem;line-height:1.3}.guide-body p{font-size:.83rem;color:var(--muted);margin:12px 0 18px;line-height:1.7}.guide-body .text-link{margin-top:auto}
  .faq-layout{display:grid;grid-template-columns:.72fr 1fr;gap:80px}.faq-intro h2{margin-top:12px}.faq-intro p{font-size:.9rem;color:var(--muted);margin:16px 0 21px;max-width:350px}details{border-bottom:1px solid #d7dacb;padding:18px 0}summary{list-style:none;display:flex;justify-content:space-between;gap:16px;font-size:.91rem;font-weight:700;cursor:pointer}summary::-webkit-details-marker{display:none}summary::after{content:'+';font-size:1.2rem;line-height:1.3;font-weight:400}details[open] summary::after{content:'−'}details p{font-size:.87rem;line-height:1.8;color:var(--muted);margin-top:12px}details a{text-decoration:underline;text-underline-offset:3px}
  .bottom-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;border:1px solid #dedcc0;border-left:5px solid var(--yellow);padding:27px 31px;background:#eeefe4;border-radius:4px}.bottom-cta .eyebrow{font-size:.75rem;color:#666951;margin-bottom:9px}.bottom-cta h2{font-size:1.65rem}.bottom-cta p{font-size:.85rem;color:var(--muted);margin-top:8px}
  .footer{background:#20231e;color:#eef0e7;margin-top:36px;padding:40px 0 24px;border-top:4px solid var(--yellow)}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:70px;padding-bottom:32px}.footer-brand p{font-size:.78rem;line-height:1.8;color:#dddddd;max-width:370px;margin-top:20px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #414636;padding-top:19px;color:#dddddd;font-size:.75rem}.footer-legal{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.footer-maintenance{font-size:.75rem;line-height:1.8;color:#dddddd;margin-top:10px;max-width:none}
}
@layer components {
  .breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding-top:21px;color:var(--muted);font-size:.75rem}.breadcrumbs a:hover{text-decoration:underline}.page-head{padding:29px 0 28px;margin-bottom:30px;border-bottom:1px solid #cdd1c0}.page-head .eyebrow{color:#676d58;margin-top:0;margin-bottom:13px}.page-head h1{max-width:920px}.page-head p{font-size:.94rem;line-height:1.75;color:var(--muted);max-width:760px;margin-top:17px}.page-head .page-date{font-size:.75rem;margin-top:16px}.page-date a{text-decoration:underline}
  .article-layout{display:grid;grid-template-columns:minmax(0,820px) 280px;gap:60px;align-items:start}.prose h2{font-size:1.6rem;margin:32px 0 15px}.prose h2:first-child{margin-top:0}.prose h3{margin:25px 0 11px}.prose p{font-size:.97rem;line-height:1.85;color:#555555;margin:0 0 17px}.prose li{line-height:1.8;color:#555555;margin-bottom:11px}.prose strong{color:var(--ink)}.prose a{color:#625009;text-decoration:underline;text-underline-offset:3px}.prose .btn{color:var(--ink);text-decoration:none}.callout{padding:20px 22px;border-left:3px solid var(--yellow);background:var(--yellow-light);border-radius:0 5px 5px 0;margin:25px 0}.callout b{display:block;margin-bottom:7px}.callout p:last-child{margin:0}.article-aside{position:sticky;top:111px;border:1px solid #d5d9c8;border-top:3px solid var(--yellow);border-radius:4px;background:white;padding:22px}.article-aside h3{font-size:.95rem;margin-bottom:14px}.article-aside a{display:block;padding:12px 0;border-bottom:1px solid var(--line);font-size:.8rem}.article-aside a:last-child{border:0}.article-aside a:hover{color:#816400}.source-list{border-top:1px solid var(--line);padding-top:25px;margin-top:36px;font-size:.78rem}.source-list h2{font-size:1.1rem;margin:0 0 13px}.source-list p{font-size:.77rem}.source-list li{margin-bottom:7px}.source-list ol{margin-bottom:0}
  .table-wrap{overflow:auto;margin:22px 0}table{width:100%;border-collapse:collapse;background:#fff;font-size:.85rem}th,td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f1f1f1;font-weight:700}.step-list{counter-reset:steps;list-style:none;padding:0}.step-list li{padding:0 0 24px 56px;margin-bottom:20px;position:relative;border-bottom:1px solid var(--line)}.step-list li::before{counter-increment:steps;content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;display:grid;place-items:center;background:var(--yellow);width:37px;height:37px;font-family:Consolas,monospace;font-size:1.1rem;font-weight:700;border-radius:3px}.step-list h2{font-size:1.3rem;margin:0 0 12px}
  .detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin:29px 0 40px}.detail-image{background:#eeefe6;border:1px solid #d5d9c8;border-radius:6px;aspect-ratio:1;overflow:hidden}.detail-image img{width:100%;height:100%;object-fit:contain;padding:26px;mix-blend-mode:multiply}.detail-info{padding:7px 0}.detail-info .eyebrow{color:#727961}.detail-info h1{font-size:clamp(1.85rem,2.8vw,2.65rem);line-height:1.12;margin-top:14px}.detail-price{font-size:2.1rem;letter-spacing:-.04em;font-weight:900;margin-top:24px}.detail-price small{font-weight:400;font-size:.87rem;color:var(--muted);letter-spacing:0;margin-left:8px}.detail-note{color:var(--muted);font-size:.77rem;margin-top:4px}.detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:23px 0}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:17px 22px;background:#eceee3;border:1px solid #dce0cf;border-radius:5px;padding:20px;font-size:.82rem}.detail-facts dt{font-size:.75rem;color:var(--muted)}.detail-facts dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}.detail-info .callout{font-size:.84rem;margin-block:20px}
  .calculator{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start}.calc-form{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:white;border:1px solid #d6dacb;border-radius:6px;padding:28px}.field label{display:block;font-size:.83rem;font-weight:700;margin-bottom:7px}.field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #c1c8b3;border-radius:4px}.field small{display:block;font-size:.75rem;line-height:1.7;color:var(--muted);margin-top:6px}.field a{text-decoration:underline;text-underline-offset:3px;font-size:.84rem}.calc-result{background:var(--ink);color:white;padding:30px;border-radius:6px;border-top:4px solid var(--yellow)}.calc-result .eyebrow{color:var(--yellow)}.calc-total{display:block;font-size:2.9rem;letter-spacing:-.04em;font-weight:700;margin:15px 0 20px}.calc-breakdown{display:grid;gap:10px;padding-top:19px;border-top:1px solid #515747;font-size:.81rem}.calc-breakdown div{display:flex;justify-content:space-between;gap:14px}.calc-result p{color:#dddddd;font-size:.75rem;line-height:1.8;margin-top:20px}
  .checklist{display:grid;gap:11px;margin:21px 0}.checklist label{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #d7dcc8;border-radius:5px;background:white;cursor:pointer}.checklist input{width:19px;height:19px;flex-shrink:0;accent-color:#766200;margin-top:4px}.checklist label:has(input:checked){background:#e8efdd;color:#455a36}.timeline{border-left:2px solid var(--yellow);margin:22px 0 30px 9px;padding-left:27px}.timeline-entry{position:relative;margin-bottom:30px}.timeline-entry::before{content:'';width:12px;height:12px;position:absolute;top:7px;left:-34px;border:3px solid var(--yellow);background:var(--paper);border-radius:50%}.timeline-entry time{font-size:.78rem;color:var(--muted)}.timeline-entry h3{margin:6px 0 11px}
  .route-band{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:40px;padding:30px 34px;background:var(--ink);color:white;border-radius:6px;border-top:3px solid var(--yellow)}.route-band .eyebrow{color:var(--yellow);margin-bottom:12px}.route-band p{color:#dddddd;font-size:.85rem;margin-top:14px}.route-band .text-link{color:var(--yellow)}
  .toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:100;background:var(--ink);color:white;border:1px solid #667057;border-radius:5px;padding:12px 20px;font-size:.8rem;text-align:center;box-shadow:0 4px 22px #0002}.toast:empty{display:none}.image-failed{object-fit:contain!important;opacity:.65;padding:35px!important}.no-js-note{background:var(--yellow-light);padding:12px;font-size:.82rem}
}
@layer responsive {
  @media(max-width:1150px){
    .container{width:calc(100% - 48px)}.nav{gap:20px}.navlinks{gap:19px}.navlinks a{font-size:.77rem}.nav-actions .btn{font-size:.75rem;padding:11px 13px}.catalog-workspace{grid-template-columns:180px minmax(0,1fr);gap:24px}.catalog-controls .searchbox{flex-basis:100%}.catalog-controls .select-control{flex:1}.product-grid{gap:17px 13px}.product-content{padding:13px}.product-title{font-size:.8rem}.price-row small{font-size:.75rem}.is-table .product-content{grid-template-columns:1fr 140px}.is-table .product-cat{display:none}.guide-body{padding:20px}.guide-body h3{font-size:1.1rem}.faq-layout{gap:45px}.article-layout{grid-template-columns:minmax(0,1fr) 250px;gap:35px}.footer-main{gap:45px}
  }
  @media(max-width:900px){
    .nav{min-height:80px}.navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:12px 24px 20px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 10px 20px #20221f0b}.navlinks.open{display:flex}.navlinks a{padding:13px 4px;font-size:.95rem}.navlinks a[aria-current=page]::after{bottom:6px;right:auto;width:30px}.menu-toggle{display:inline-flex}.nav-actions{margin-left:auto}.catalog-workspace{grid-template-columns:160px minmax(0,1fr);gap:20px}.category-link{font-size:.75rem;padding-inline:9px}.catalog-workspace .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-tool{padding:17px 12px}.sidebar-tool strong{font-size:.84rem}.section-head h2{font-size:1.5rem}.section-head .text-link{font-size:.75rem}.guide-grid{gap:14px}.guide-visual{padding:16px;gap:9px}.guide-label{font-size:.75rem}.guide-body{padding:17px}.guide-body h3{font-size:1rem}.guide-body p{font-size:.77rem}.faq-layout{gap:30px;grid-template-columns:.8fr 1fr}.article-layout{grid-template-columns:1fr;gap:30px}.article-aside{position:static;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.article-aside h3{grid-column:1/-1}.detail-layout{gap:27px}.detail-info h1{font-size:1.9rem}.detail-price{font-size:1.9rem}.detail-facts{padding:15px;gap:14px}.calculator{gap:20px}.calc-form{padding:20px;gap:18px}.calc-result{padding:23px}.calc-total{font-size:2.3rem}.footer-main{gap:30px}.is-table .product-card{grid-template-columns:64px 1fr}.is-table .product-content{grid-template-columns:1fr;padding-right:55px;gap:5px}.is-table .product-title{font-size:.77rem}.is-table .price-row{justify-content:flex-start}.is-table .price-row small{display:inline;margin-left:8px}.is-table .product-go{display:none}
  }
  @media(max-width:650px){
    .container{width:calc(100% - 32px)}.nav{min-height:75px;gap:10px}.nav-actions{gap:7px}.nav-actions .btn{display:none}.icon-button{width:42px;height:42px}.nav-actions>a.icon-button{width:44px}.navlinks{padding-inline:16px}.catalog-workspace{grid-template-columns:1fr;gap:22px}.catalog-sidebar{position:static;padding:0;min-width:0}.sidebar-label{font-size:.75rem;margin-bottom:10px}.catalog-sidebar nav{flex-direction:row;overflow-x:auto;gap:7px;padding:2px 2px 8px;scrollbar-width:thin}.category-link{flex-shrink:0;white-space:nowrap;border:1px solid #d7dacd;background:white;padding:9px 12px;min-height:40px;font-size:.75rem}.category-link.active{border-color:#ddbd38;background:var(--yellow)}.category-link small{font-size:.75rem}.sidebar-tool{display:none}.section{padding-block:26px}.catalog-section{padding:0}.section-head{gap:14px;margin-bottom:19px}.section-head h2{font-size:1.52rem}.section-head .eyebrow{font-size:.75rem;margin-bottom:7px}.section-head .text-link{font-size:.75rem;white-space:nowrap;gap:5px}.section-head .text-link>.icon{width:16px;height:16px}.catalog-controls{gap:8px;padding:8px;margin-bottom:13px}.catalog-controls .searchbox{flex-basis:100%;min-width:0}.select-control{font-size:.75rem;min-width:0;min-height:42px;padding:8px 22px 8px 9px}.searchbox input{font-size:.76rem;min-height:42px}.view-toggle{display:none}.results-meta{align-items:flex-start;font-size:.75rem;gap:16px;margin-bottom:13px}.results-meta>span{max-width:38%}.results-meta>a{text-align:right;max-width:60%}.product-grid,.catalog-workspace .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.product-image{aspect-ratio:1.02}.product-image img{padding:11px}.product-content{padding:11px}.product-cat{font-size:.75rem;letter-spacing:.04em;margin-bottom:6px}.product-title{font-size:.76rem;line-height:1.45}.product-save{height:31px;width:31px;top:7px;right:7px}.price-row{padding-top:10px;margin-top:11px;gap:4px}.price-row strong{font-size:.91rem}.price-row small{font-size:.75rem;line-height:1.5}.product-go{width:26px;height:28px}.product-go .icon{width:15px;height:15px}.pagination{margin-top:22px}.catalog-disclaimer{font-size:.75rem;margin-top:17px}.guide-grid{grid-template-columns:1fr;gap:13px}.guide-card{display:grid;grid-template-columns:68px 1fr}.guide-visual{flex-direction:column;justify-content:flex-start;gap:16px;padding:20px 9px;border:0;border-right:1px solid var(--line)}.guide-number{font-size:1.5rem}.guide-visual .icon{margin:0;width:21px;height:21px}.guide-label{font-size:.75rem;white-space:nowrap}.guide-body{padding:19px}.guide-body .eyebrow{font-size:.75rem;margin-bottom:8px}.guide-body h3{font-size:1.08rem}.guide-body p{font-size:.78rem;margin-block:10px 14px}.guide-body .text-link{font-size:.75rem}.faq-layout{grid-template-columns:1fr;gap:14px}.faq-intro p{font-size:.85rem;margin:12px 0 15px;max-width:100%}.faq-intro .text-link{font-size:.77rem}summary{font-size:.83rem}details{padding-block:16px}details p{font-size:.82rem}.bottom-cta{padding:23px;flex-direction:column;align-items:flex-start;gap:19px}.bottom-cta h2{font-size:1.42rem}.bottom-cta p{font-size:.8rem}.bottom-cta .eyebrow{font-size:.75rem}.footer{margin-top:27px;padding-block:29px 21px}.footer-main{grid-template-columns:1fr 1fr;gap:28px 22px;padding-bottom:28px}.footer-brand{grid-column:1/-1}.footer-brand p{max-width:100%;font-size:.75rem;margin-top:16px}.footer-bottom{flex-direction:column;gap:12px;font-size:.75rem}.footer-maintenance{font-size:.75rem;margin-top:12px}.breadcrumbs{font-size:.75rem;padding-top:18px;gap:7px}.page-head{padding-block:25px;margin-bottom:24px}.page-head h1{font-size:2rem;line-height:1.12}.page-head .eyebrow{font-size:.75rem}.page-head p{font-size:.85rem;margin-top:14px}.page-head .page-date{font-size:.75rem}.article-layout{gap:26px}.prose p,.prose li{font-size:.89rem}.prose h2{font-size:1.4rem;margin-top:28px}.prose h3{font-size:1.05rem}.article-aside{padding:20px;column-gap:18px}.article-aside a{font-size:.75rem}.callout{padding:17px 18px}.source-list li,.source-list p{font-size:.75rem}.table-wrap{margin-block:19px}th,td{padding:11px;font-size:.76rem}.step-list li{padding-left:46px}.step-list h2{font-size:1.19rem}.detail-layout{grid-template-columns:1fr;gap:23px;margin-block:23px 30px}.detail-image{max-height:430px}.detail-info{padding:0}.detail-info h1{font-size:2rem}.detail-info .eyebrow{font-size:.75rem}.detail-price{font-size:2rem;margin-top:18px}.detail-price small{font-size:.8rem}.detail-note{font-size:.75rem}.detail-actions .btn{font-size:.77rem;flex:1;padding-inline:13px}.detail-facts{font-size:.76rem;padding:17px}.detail-facts dt{font-size:.75rem}.calculator{grid-template-columns:1fr;gap:22px}.calc-form{padding:20px 16px;gap:19px 14px}.field label{font-size:.75rem}.field small{font-size:.75rem}.field input{font-size:.87rem;padding:10px}.calc-result{padding:25px}.calc-total{font-size:2.5rem}.route-band{grid-template-columns:1fr;padding:25px;gap:22px}.route-band h2{font-size:1.65rem}.route-band p{font-size:.81rem}.route-band .text-link{font-size:.77rem}.is-table .product-content{padding:9px 45px 9px 9px}.is-table .price-row small{font-size:.75rem;margin-left:4px}.is-table .price-row strong{font-size:.83rem}.is-table .product-save{top:18px;right:8px}.toast{bottom:16px;padding:11px 16px;font-size:.75rem}
  }
  @media(max-width:370px){.nav-actions{gap:6px}.price-row strong{font-size:.82rem}.price-row small{font-size:.75rem}.product-content{padding:9px}.product-go{width:23px}.product-title{font-size:.75rem}.product-cat{font-size:.75rem}.section-head h2{font-size:1.35rem}.section-head .text-link{font-size:.75rem}}
  @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
}

/* Shared control spacing stays consistent across page and phone-specific styles. */
@layer controls {
  :where(button,input,select,textarea,summary,.btn,.icon-button):focus-visible{outline:2px solid var(--brand-yellow);outline-offset:2px}
  .searchbox:focus-within{outline:2px solid var(--brand-yellow);outline-offset:2px}
  .searchbox input:focus-visible{outline:none}
  .footer :focus-visible{outline-color:#ffe08a}
  select:not([multiple]){appearance:none;-webkit-appearance:none;background-image:url('/assets/chevron-down.svg');background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;padding-inline:14px 44px;cursor:pointer}
  .catalog-controls{gap:12px;padding:12px;margin-bottom:18px}
  .catalog-controls>.searchbox{gap:10px;padding-inline:14px}
  .searchbox input{min-height:46px;padding-block:10px}
  .catalog-controls>.select-control{min-height:48px;padding-block:11px}
  .view-toggle{gap:10px;flex-shrink:0}
  .view-toggle .icon-button{width:44px;height:48px}
  .nav-actions{gap:12px}
  .nav-actions>a.icon-button{gap:4px}
  
  .detail-actions,.empty-actions{gap:12px}
  
  .pagination{gap:12px}.pagination .btn{min-width:44px;min-height:44px}
  .field input{min-height:48px;padding:11px 14px}
  .field label{margin-bottom:10px}.field small{margin-top:8px}
  .calc-form{gap:24px 20px}
  .checklist label{gap:14px}
  summary::after{flex:0 0 16px;text-align:center}
  .results-meta{gap:8px 16px;margin-bottom:18px}
  @media(max-width:650px){
    .catalog-controls{gap:12px;padding:12px}
    .catalog-controls>.select-control{padding-inline:12px 40px;background-position:right 12px center}
    .mobile-category-picker select{padding-inline:14px 44px}
    .nav-actions{gap:10px}
    
    .calc-form{gap:20px 16px}
    .product-content{padding:14px 12px}
  }
  @media(max-width:389px){
    .catalog-controls{grid-template-columns:minmax(0,1fr)}
  }
  @media(forced-colors:active){
    select:not([multiple]){appearance:auto;-webkit-appearance:auto;background-image:none;padding-inline-end:14px}
    :where(button,input,select,textarea,summary,.btn,.icon-button):focus-visible,.searchbox:focus-within{outline-color:Highlight}
  }
}

/* Search scope and full-spreadsheet continuation use the existing spacing scale. */
@layer controls {
 
 
 .catalog-search-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin:0 0 12px;padding-block:4px}
 .catalog-search-context p{margin:0;font-size:14px;line-height:1.65;color:var(--muted);max-width:none}
 .catalog-search-context p strong{color:var(--ink);font-weight:700}
 .catalog-search-context .catalog-sheet-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:7px 4px;line-height:1.5;white-space:normal;color:var(--brand-link);font-weight:700}
 .catalog-search-context .catalog-sheet-link[hidden]{display:none}
 .catalog-sheet-link:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:3px;border-radius:4px}
 @media(max-width:650px){
  
  .catalog-search-context{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin-bottom:12px;padding-block:0}
  .catalog-search-context p{font-size:14px;line-height:1.6}
  .catalog-search-context .catalog-sheet-link{justify-self:start;padding-inline:0}
 }
}

@layer controls {

 @media(min-width:651px) and (max-width:1100px){
  .home-category-tabs{flex-wrap:wrap;overflow:visible;gap:8px;padding-bottom:0}
  .home-category-tabs a{min-height:44px;white-space:normal;max-width:100%}
 }
}

/* Stable shared page frame */
@layer layout {
  html{scrollbar-gutter:stable}
  @supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
  .breadcrumbs{flex-wrap:nowrap;min-width:0}
  .breadcrumbs>a,.breadcrumbs>span:not([aria-current]){white-space:nowrap;flex-shrink:0}
  .breadcrumbs>a:not(:first-child){min-width:0;max-width:45%;flex-shrink:1;overflow:hidden;text-overflow:ellipsis}
  .breadcrumbs>[aria-current="page"]{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .page-head h1{max-width:100%}
  .page-head .eyebrow{font-size:var(--type-caption);line-height:1.5;margin:0 0 12px}
  .article-meta{padding-bottom:20px}
  .article-meta .page-date,.article-meta .page-byline{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
  .article-meta .page-byline{margin-top:8px}
  .article-meta a{text-decoration:underline;text-underline-offset:3px}
  @media(min-width:1101px){
    .header .nav{display:grid;grid-template-columns:180px minmax(0,1fr) auto;column-gap:25px}
    .header .navlinks{justify-self:center;margin-inline:0}
    .header .nav-actions{justify-self:end}
  }
}

/* Balanced homepage: three aligned areas, one primary action, one product workspace. */
@layer calm {
  :root{--yellow:#ffc800;--yellow-light:#fff4bf;--ink:#333333;--muted:#626262;--line:#dedede;--paper:#fafafa;--brand-yellow:#ffc800;--brand-hover:#e8b500;--brand-soft:#fff8df;--brand-link:#6b5200;--focus:#775900}
  .header{background:var(--brand-yellow);border-bottom:1px solid #dfb000}
  .brand{color:var(--ink)}.brand-descriptor{color:#4f4f4f}
  .brand--inverse{color:#fff}.brand--inverse .brand-descriptor{color:#ddd}
  .header .navlinks a{color:var(--ink)}
  .header .navlinks a:hover{color:#000;text-decoration:underline;text-underline-offset:6px}
  .header .navlinks a[aria-current=page]::after{background:var(--ink)}
  .btn-yellow{background:var(--brand-yellow);border-color:var(--brand-yellow);color:var(--ink)}
  .btn-yellow:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--ink)}
  .btn-dark:hover{background:#4a4a4a}
  .footer{background:#333;color:#fff}
  .footer-brand p,.footer-bottom,.footer-maintenance{color:#ddd}
  .footer-bottom{border-color:#555}
  .product-go{background:var(--brand-yellow);color:var(--ink)}
  .product-go:hover{background:var(--brand-hover);color:var(--ink)}
  .product-save[aria-pressed=true]{background:var(--yellow-light);border-color:#a88400;color:var(--ink)}
  .catalog-controls{background:#f5f5f5;border-color:var(--line)}
  .searchbox,.select-control,.field input,.view-toggle .icon-button{border-color:#d4d4d4}
  .page-head::after{border:0;background:var(--brand-yellow)}
  .page-head .eyebrow,.detail-info .eyebrow{color:var(--muted)}
  .welcome-start{background:var(--yellow-light);border-color:#e6d8a4}
  .welcome-poland{background:#f5f5f5;border-color:var(--line)}
  .welcome-poland small,.welcome-poland p{color:var(--muted)}
  .welcome-qc{background:var(--ink);border-color:var(--ink)}
  .welcome-card p{color:var(--muted)}.welcome-qc p{color:#ddd}
  .bottom-cta{background:var(--brand-soft);border-color:#e6d8a4;border-left-color:var(--brand-yellow)}
  .insight-stats dd,.budget-total dd{color:var(--ink)}
  .insight-budgets a:hover,.detail-budget-link:hover{border-color:var(--focus)}
  .checklist input{accent-color:var(--focus)}
  :where(button,input,select,textarea,summary,.btn,.icon-button):focus-visible,.searchbox:focus-within{outline:2px solid var(--focus);outline-offset:3px}
  .searchbox input:focus-visible{outline:none}
  .footer :focus-visible{outline-color:#ffe08a}

  .btn{border-radius:10px}
  a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
  @media(forced-colors:active){a:focus-visible,.footer :focus-visible,:where(button,input,select,textarea,summary,.btn,.icon-button):focus-visible,.searchbox:focus-within{outline-color:Highlight}}
  .nav-actions .header-sheet-link{border-radius:10px;background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:none}
  .nav-actions .header-sheet-link:hover{background:#4a4a4a;border-color:#4a4a4a;color:#fff}
  .nav-actions .icon-button{border-radius:10px;background:transparent;border-color:#b58f00;color:var(--ink)}
  .nav-actions .icon-button:hover{background:#ffda52;border-color:#8b6b00}

  .hero-shortcuts a:not(.hero-sheet-link){border-color:transparent;background:transparent;color:var(--ink);font-size:14px;padding:8px 4px}
  .hero-shortcuts a:not(.hero-sheet-link):hover{background:#fff4bf;text-decoration:underline;text-underline-offset:3px}

  .home-catalog-head p{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--muted)}
  .home-catalog-head p strong{color:var(--ink);font-weight:700}
  .home-catalog-head .catalog-sheet-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 4px;line-height:1.5;color:var(--brand-link);font-size:14px;flex-shrink:0}
  .home-catalog-head .catalog-sheet-link[hidden]{display:none}
  .home-category-tabs{gap:6px;flex-wrap:wrap;overflow:visible;margin:0 0 16px;padding:0}
  .home-category-tabs a{position:relative;background:transparent;border-color:transparent;border-radius:8px;min-height:44px;padding:9px 12px;color:var(--ink);font-size:14px}
  .home-category-tabs a:hover{background:#f1f1f1;border-color:transparent}
  .home-category-tabs a.active{background:#fff4bf;color:var(--brand-link);border-color:transparent}
  .home-category-tabs a.active::after{content:'';position:absolute;bottom:3px;left:12px;right:12px;height:2px;background:var(--focus);border-radius:2px}
  .home-category-tabs a.active:hover{background:#ffeaa3}
  .home-category-tabs small{opacity:1}
  .category-link{border-radius:8px}
  .category-link:hover{background:#f1f1f1}
  .category-link.active{background:#fff4bf;color:var(--brand-link);border-color:#e6d8a4;box-shadow:inset 3px 0 #9b7600}
  .category-link.active small{color:var(--brand-link);opacity:1}
  
  
  @media(max-width:1100px){.header .navlinks{background:#fff;border-color:var(--line)}.header .navlinks .mobile-sheet-link{color:var(--brand-link)}}
  @media(max-width:650px){

    .home-catalog-head p{margin-top:7px}
    .home-catalog-head .catalog-sheet-link{margin-top:4px;padding-inline:0}
    
  }
  
}


/* Shared footer: one reading column per topic, with mobile disclosure groups. */
@layer calm {
 .footer{border-top:2px solid var(--yellow);padding-block:22px 16px}
 .footer-main{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(0,2.6fr);align-items:start;gap:40px;padding-bottom:16px}
 .footer-brand{min-width:0;display:block}
 .footer-brand p{font-size:14px;line-height:1.6;max-width:40ch;margin:10px 0 0;color:#ddd}
 .footer-sheet-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;padding-block:5px;max-width:100%;font-size:14px;font-weight:700;line-height:1.5;color:#ffe08a}
 .footer-sheet-link .icon{width:17px;height:17px;flex-shrink:0}
 .footer-sheet-link:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
 .footer-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;min-width:0}
 .footer-group{min-width:0;border:0;border-radius:0;padding:0;background:none}
 .footer-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;margin:0 0 8px;padding:0;font-size:14px;font-weight:700;line-height:1.5;letter-spacing:0;text-transform:none;color:#fff;cursor:default}
 .footer-group summary::-webkit-details-marker{display:none}
 .footer-group summary::after{content:none}
 .footer-group summary>.icon{display:none}
 .footer-group-links{display:flex;flex-direction:column;gap:4px}
 .footer-group-links>a{display:flex;align-items:center;align-self:flex-start;gap:8px;min-width:0;max-width:100%;min-height:32px;padding-block:4px;font-size:14px;line-height:1.5;color:#ddd;text-decoration:none}
 .footer-group-links>a .icon{width:17px;height:17px;flex-shrink:0}
 .footer-group-links>a:hover{color:#ffe08a;text-decoration:underline;text-underline-offset:4px}
 .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;padding-top:10px;border-color:#555;font-size:12px;line-height:1.6}
 .footer-meta{display:flex;flex-wrap:wrap;gap:4px 24px;min-width:0;color:#ddd}
 .footer-maintenance{margin:0;font-size:12px;line-height:1.6}
 .footer-legal{display:flex;align-items:center;flex-shrink:0;flex-wrap:wrap;gap:8px 16px}
 .footer-legal>a{display:inline-flex;align-items:center;min-height:32px;line-height:1.6}
 .footer-legal>a:hover{color:#ffe08a;text-decoration:underline;text-underline-offset:4px}
 .footer a:focus-visible,.footer summary:focus-visible{outline:2px solid #ffe08a;outline-offset:3px}
 @media(min-width:651px) and (max-width:1000px){
  .footer-main{grid-template-columns:minmax(0,1fr);gap:22px}
  .footer-brand{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:0 24px}
  .footer-brand>.brand{grid-column:1;grid-row:1/3;align-self:start}
  .footer-brand p{grid-column:2;max-width:55ch;margin:0}
  .footer-sheet-link{grid-column:2;justify-self:start;margin-top:4px}
  .footer-navigation{gap:24px}
  .footer-bottom{align-items:flex-start}
  .footer-meta{flex-direction:column;gap:3px}
 }
 @media(max-width:650px){
  .footer{padding-block:22px max(20px,env(safe-area-inset-bottom))}
  .footer-main{grid-template-columns:minmax(0,1fr);gap:18px;padding-bottom:16px}
  .footer-brand{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 16px}
  .footer-brand>.brand{grid-column:1;grid-row:1}
  .footer-brand p{grid-column:1/-1;grid-row:2;margin:0;max-width:44ch;font-size:14px;line-height:1.6}
  .footer-sheet-link{grid-column:2;grid-row:1;justify-self:end;min-width:0;margin:0;min-height:48px}
  .footer-sheet-link [data-sheet-label]{min-width:0}
  .footer-navigation{grid-template-columns:minmax(0,1fr);gap:0}
  .footer-group{border-top:1px solid #555}
  .footer-group summary{min-height:48px;padding:10px 2px;margin:0;cursor:pointer}
  .footer-group summary>.icon{display:block;width:17px;height:17px;flex-shrink:0;transition:transform .15s ease}
  .footer-group[open] summary>.icon{transform:rotate(180deg)}
  .footer-group-links{gap:8px;padding:0 6px 12px}
  .footer-group-links>a{min-height:44px;padding-block:8px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;padding-top:12px}
  .footer-meta{display:flex;flex-direction:column;gap:4px}
  .footer-legal{gap:8px 16px}
  .footer-legal>a{min-height:44px}
 }
 @media(prefers-reduced-motion:reduce){.footer-group summary>.icon{transition:none}}
 @media(forced-colors:active){.footer a:focus-visible,.footer summary:focus-visible{outline-color:Highlight}}
}


/* Price context follows search, with details available without hiding the catalog. */
@layer calm {
 .catalog-insights{display:flex;flex-direction:column;gap:8px;padding:10px 14px;margin:12px 0 16px;border:1px solid var(--line);border-radius:8px;background:#fff}
 .insight-budgets{display:flex;flex-wrap:wrap;gap:8px;margin:0;grid-column:auto}
 .insight-budgets a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:7px 12px;font-size:14px;line-height:1.5;color:var(--ink);border:1px solid var(--line);border-radius:6px;background:#fff;text-decoration:none}
 .insight-budgets a span{font-size:12px;line-height:1.5;color:var(--muted)}
 .insight-budgets a:hover{border-color:var(--focus);background:var(--brand-soft)}
 .insight-budgets a[aria-current]{background:var(--brand-soft);border-color:var(--focus)}
 .price-details{margin:0;padding:0;border:0;border-radius:0;background:none}
 .price-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;min-height:36px;margin:0;padding:4px 2px;font-size:14px;font-weight:700;line-height:1.5;color:var(--ink)}
 .price-details summary::-webkit-details-marker{display:none}
 .price-details summary::after{content:'+';position:static;margin:0;flex-shrink:0;display:block;font-size:18px;line-height:1;width:18px;text-align:center}
 .price-details[open] summary::after{content:'−'}
 .price-detail-content{padding:10px 2px 2px;font-size:14px;line-height:1.65;color:var(--muted)}
 .price-detail-content .insight-stats{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;text-align:left;margin:0 0 12px;padding:0}
 .price-detail-content .insight-stats dt{font-size:12px;line-height:1.5;color:var(--muted)}
 .price-detail-content .insight-stats dd{font-size:16px;font-weight:700;line-height:1.5;color:var(--ink);margin:4px 0 0;overflow-wrap:anywhere}
 .price-detail-content ul{margin:10px 0 0;padding-left:20px;display:grid;gap:8px}
 .price-detail-content p{font-size:14px;line-height:1.65;margin:8px 0 0;max-width:72ch}
 .price-detail-content .insight-rate{font-size:12px;line-height:1.6;margin-top:10px}
 .price-details summary:focus-visible,.insight-budgets a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
 @media(max-width:650px){
  .catalog-controls.has-quick-budgets>[data-sort]{grid-column:1/-1}
  .catalog-insights{padding:10px;margin-block:12px 14px}
  .insight-budgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .insight-budgets a{flex-direction:column;gap:1px;min-height:52px;padding:5px 3px;font-size:13px}
  .insight-budgets a span{font-size:12px}
  .price-details summary{min-height:44px;padding:8px 2px}
  .price-detail-content .insight-stats{gap:10px}
  .price-detail-content .insight-stats dd{font-size:14px}
 }
 @media(forced-colors:active){.price-details summary:focus-visible,.insight-budgets a:focus-visible{outline-color:Highlight}}
}

/* List rows reserve separate space for the thumbnail, text and save control. */
@layer calm {
 .product-grid.is-table .product-card{display:grid;grid-template-columns:96px minmax(0,1fr) 44px;grid-template-rows:auto;align-items:center;gap:16px;padding:12px}
 .product-grid.is-table .product-image{grid-column:1;grid-row:1;align-self:center;min-width:0;width:96px;height:96px;aspect-ratio:auto;padding:0;border:0;border-radius:6px}
 .product-grid.is-table .product-image img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;padding:6px}
 .product-grid.is-table .product-content{grid-column:2;grid-row:1;min-width:0;min-height:96px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8px;padding:0}
 .product-grid.is-table .product-title{grid-column:auto;grid-row:auto;min-height:0;margin:0;font-size:15px;line-height:1.45}
 .product-grid.is-table .price-row{grid-column:auto;grid-row:auto;display:flex;align-items:center;margin:0;padding:0;border:0;gap:0}
 .product-grid.is-table .price-row>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}
 .product-grid.is-table .price-row strong{font-size:18px;line-height:1.4}
 .product-grid.is-table .price-row small{display:block;margin:0;font-size:12px;line-height:1.5}
 .product-grid.is-table .product-save{position:static;grid-column:3;grid-row:1;align-self:start;justify-self:end;width:44px;height:44px;margin:0}
 .product-grid.is-table .product-go{display:none}
 @media(max-width:650px){
  .product-grid.is-table .product-card{grid-template-columns:64px minmax(0,1fr) 44px;gap:10px;padding:10px}
  .product-grid.is-table .product-image{width:64px;height:80px}
  .product-grid.is-table .product-image img{padding:4px}
  .product-grid.is-table .product-content{min-height:80px;gap:6px}
  .product-grid.is-table .product-title{font-size:14px;line-height:1.5}
  .product-grid.is-table .price-row strong{font-size:16px}
 }
}


/* Compact product cards: image space follows the viewport; text stays readable. */
@layer calm {
 [data-catalog] .product-grid:not(.is-table) .product-card{display:flex;flex-direction:column}
 [data-catalog] .product-grid:not(.is-table) .product-image{flex-shrink:0;aspect-ratio:4 / 3;max-height:224px;width:100%}
 [data-catalog] .product-grid:not(.is-table) .product-image img{object-fit:contain;padding:12px}
 [data-catalog] .product-grid:not(.is-table) .product-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:14px}
 [data-catalog] .product-grid:not(.is-table) .product-cat{min-height:0;margin-bottom:6px}
 [data-catalog] .product-grid:not(.is-table) .product-title{margin:0 0 10px;min-height:2.9em}
 [data-catalog] .product-grid:not(.is-table) .product-title a{display:block;min-height:44px}
 [data-catalog] .product-grid:not(.is-table) .product-title:has(a:focus-visible){outline:2px solid var(--focus);outline-offset:3px}
 [data-catalog] .product-grid:not(.is-table) .product-title a:focus-visible{outline:none}
 [data-catalog] .product-grid:not(.is-table) .product-save{width:44px;height:44px}
 [data-catalog] .product-grid:not(.is-table) .price-row{margin-top:auto;padding-top:10px;gap:12px}
 [data-catalog] .product-grid:not(.is-table) .product-go{width:44px;height:44px;flex-shrink:0}
 @media(min-width:651px) and (max-width:1100px){
  [data-catalog] .product-grid:not(.is-table){grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 @media(min-width:1250px){
  [data-catalog] .product-grid:not(.is-table){grid-template-columns:repeat(5,minmax(0,1fr))}
  .catalog-workspace [data-catalog] .product-grid:not(.is-table){grid-template-columns:repeat(4,minmax(0,1fr))}
 }
 @media(max-width:650px){
  [data-catalog] .product-grid:not(.is-table) .product-image{aspect-ratio:1.16 / 1;max-height:none}
  [data-catalog] .product-grid:not(.is-table) .product-image img{padding:10px}
  [data-catalog] .product-grid:not(.is-table) .product-content{padding:10px}
  [data-catalog] .product-grid:not(.is-table) .product-title{min-height:44px;margin-bottom:10px}
  [data-catalog] .product-grid:not(.is-table) .price-row{gap:0}
 }
}
