/* Touch terminal: 1920 × 1080 at 100% browser zoom; narrower screens retain page scrolling. */
@media screen {
 button{min-height:60px;touch-action:manipulation}
 button:active{filter:brightness(1.16)}
 .quantity button{min-width:60px;min-height:60px;font-size:26px}
 .add{min-width:64px;min-height:60px;font-size:30px}
 .catalog-pages{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
 .catalog-pages button{min-width:144px;font-size:18px}
 .catalog-pages span{color:#c3cbcb;font-size:16px;text-align:center}
 .detail-content{min-width:0}
 .detail-buy{padding-top:12px;border-top:1px solid var(--line)}
 .detail-buy strong{margin:0 0 12px}
 .close{min-width:64px;min-height:64px;font-size:24px}
 dialog{padding-top:72px}
 .spec-sources summary{min-height:60px}
 .spec-sources a{min-height:60px;padding:16px 0}
 :is(.detail-content,#cart-items,.receipt-preview){scrollbar-width:auto;scrollbar-color:#778384 #202728;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 ::-webkit-scrollbar{width:14px;height:14px}
 ::-webkit-scrollbar-thumb{background:#778384;border:3px solid #202728;border-radius:10px}
 ::-webkit-scrollbar-track{background:#202728}
}
@media screen and (min-width:1500px) and (min-height:850px) {
 html{height:100%;overflow:hidden}
 body{height:100dvh;overflow:hidden;display:grid;grid-template-rows:80px minmax(0,1fr) 60px;font-size:18px}
 header{height:auto;padding:0 24px;gap:24px}
 .brand{font-size:20px;gap:12px}.brand img{width:48px;height:56px}.brand b{font-size:13px}
 .division{font-size:14px}.quiet{font-size:18px;min-width:160px}
 main{min-height:0;padding:14px 24px 16px;display:flex;flex-direction:column;gap:14px}
 .heading{flex:none;height:56px;margin:0;align-items:center}
 .heading h1{font-size:28px}.heading .eyebrow{font-size:14px;margin:0 0 4px}
 .heading p:last-child:not(.eyebrow){display:none}
 .terminal{font-size:22px;line-height:1.2}.terminal span{font-size:13px}
 .workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 460px 350px;gap:18px}
 .side-column{display:contents}
 .catalog{min-width:0;min-height:0;display:grid;grid-template-rows:64px 34px minmax(0,1fr) 72px}
 .filters{flex-wrap:nowrap;gap:6px;padding:0;border:0;align-items:stretch}
 .filters button{flex:1;min-width:0;padding:8px 6px;font-size:16px;line-height:1.2;border:1px solid var(--line)}
 .filters span{font-size:14px;margin-left:4px}
 .catalog-label{margin:6px 0;align-items:center;font-size:13px;letter-spacing:1px}
 .products{min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}
 .product{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}
 .product-image{height:100%;min-height:0;aspect-ratio:auto;min-width:0}
 .size{font-size:14px;top:10px;left:10px}
 .product-info{padding:10px 16px 12px}.product-info .type{display:none}
 .product h2{font-size:26px;margin:0;line-height:1.2}
 .subtitle{font-size:16px;line-height:1.3;margin:3px 0 8px;min-height:21px}
 .specs{font-size:18px;padding-top:6px;gap:10px;line-height:1.25;flex-direction:row}
 .specs small{font-size:14px;line-height:1.4}
 .purchase{margin-top:8px;gap:12px}.price{font-size:22px}.price small{font-size:14px}
 .product.selected{border:2px solid var(--orange)}
 .catalog-pages{margin:10px 0 0;gap:12px}.catalog-pages button{flex:1;max-width:240px}.catalog-pages span{flex:1}
 .detail-panel{min-height:0;padding:18px 16px 16px;display:flex;flex-direction:column;overflow:hidden}
 .detail-content{flex:1;min-height:0;overflow-y:auto;padding:0 10px 16px 0;scroll-padding:16px}
 .detail-panel .eyebrow{font-size:14px;margin:0}.detail-panel h2{font-size:34px;margin:10px 0 6px}
 .detail-label{font-size:18px}.detail-art{height:220px;aspect-ratio:auto;margin:10px 0}
 .detail-description{font-size:18px;line-height:1.5;margin:12px 0}
 .detail-panel dl,.datasheet dl{font-size:16px;gap:12px;line-height:1.45}
 .datasheet h3{font-size:18px}.tradeoff{font-size:16px}.concept-label{font-size:13px}
 .spec-note,.spec-sources{font-size:16px}.spec-sources p{font-size:15px}
 .detail-buy{flex:none;background:#191e1f;padding-top:12px}
 .detail-buy strong{font-size:25px;margin:0 0 8px}.detail-buy small{font-size:15px}
 .detail-buy button{font-size:18px;min-height:64px}
 .side-column>.cart{height:100%;min-height:0;align-self:stretch;padding:18px 16px;overflow:hidden}
 .cart h2{font-size:24px}.cart-title>span{font-size:18px}.cart-caption{font-size:16px;margin:6px 0 12px}
 #cart-items{flex:1;min-height:0;overflow-y:auto;padding-right:8px}
 .cart-row{padding:14px 0}.cart-row-head{font-size:16px;gap:8px;flex-wrap:wrap}
 .quantity{gap:12px;flex-wrap:wrap;font-size:20px}.quantity small{font-size:14px}
 .cart-bottom{flex:none;margin:0;padding-top:10px}.total{padding:12px 0;font-size:18px}.total strong{font-size:24px}.total small{font-size:14px}
 #checkout{font-size:18px;min-height:68px;line-height:1.2;padding:12px 10px}
 .simulation{font-size:13px;line-height:1.45;margin:8px 0}
 .reset{font-size:16px;min-height:60px}
 .empty{font-size:18px;padding:48px 6px}.empty b{font-size:20px}.empty-icon{font-size:44px}
 footer{padding:0 24px;font-size:14px;gap:16px}footer button{font-size:16px;min-height:52px}
 dialog{width:720px;max-height:calc(100dvh - 48px);font-size:20px;line-height:1.5;padding:72px 32px 28px}
 dialog h2{font-size:32px}dialog .primary{min-height:68px;font-size:20px}dialog .reset{font-size:18px}
 .receipt-preview{max-height:44dvh}.print-help{font-size:16px!important}
 #toast{font-size:20px;bottom:78px;max-width:600px;padding:18px 28px}
}
@media screen and (max-width:600px){.catalog-pages{gap:8px}.catalog-pages button{min-width:0;font-size:16px;padding:10px}.catalog-pages span{font-size:14px}}
@media screen and (min-width:1800px) and (min-height:850px){
 .product{grid-template-columns:44% minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .product-info{display:flex;flex-direction:column;justify-content:center;padding:16px 14px}
 .product h2{font-size:26px}.subtitle{min-height:42px;margin-bottom:12px}
 .specs{gap:8px;justify-content:space-between}.specs span{min-width:0;max-width:55%}
 .specs small{font-size:14px}.specs{font-size:17px}
 .purchase{margin-top:18px}.price{font-size:21px}
 .detail-art{height:240px}
}
