/* Reset obsolete grid positions in both map states, not just map-open. */
#app .results-page .app-shell{width:calc(100% - 32px);max-width:1480px;min-width:0;margin-inline:auto}
#app .results-page .results-layout,#app .results-page .results-list,#app .results-page .result-machine{min-width:0;max-width:100%}
#app .results-page .result-machine{display:grid;grid-template-columns:minmax(180px,.4fr) minmax(0,1fr);min-height:0;transform:none}
#app .results-page .result-machine>.machine-photo{grid-area:1/1;min-width:0;min-height:220px;max-height:320px;height:100%;overflow:hidden}
#app .results-page .result-machine>.machine-photo img{width:100%;height:100%;object-fit:cover}
#app .results-page .result-machine>.machine-body{grid-area:1/2;min-width:0;padding:22px}
#app .results-page .result-machine h2{font-size:26px;line-height:1.15;overflow-wrap:anywhere}
#app .results-page .result-machine .machine-specs{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
#app .results-page .result-machine>.machine-price{grid-area:2/1/3/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr);grid-template-areas:'label split' 'value split' 'meta split' 'minimum minimum' 'assurance assurance' 'actions actions';gap:8px 24px;min-width:0;padding:22px;border-left:0;border-top:1px solid #dfe5e1;align-items:start}
#app .results-page .machine-price>small{grid-area:label;font-size:13px}
#app .results-page .machine-price>.price-number{grid-area:value;font-size:36px;line-height:1.15;margin:0;white-space:normal;overflow-wrap:anywhere}
#app .results-page .machine-price>.price-meta{grid-area:meta;font-size:13px}
#app .results-page .machine-price>.price-split{grid-area:split;margin:0;padding:0;border:0;min-width:0}
#app .results-page .price-split>div{font-size:14px;gap:12px;line-height:1.5}
#app .results-page .price-split strong{flex-shrink:0}
#app .results-page .machine-price>.price-minimum{grid-area:minimum;margin:8px 0;font-size:14px;line-height:1.5}
#app .results-page .machine-price>.price-assurance{grid-area:assurance;font-size:13px}
#app .results-page .machine-price>.machine-actions{grid-area:actions;display:block;align-self:start;min-height:0;height:auto;width:100%;margin:12px 0 0}
#app .results-page .machine-actions>.btn{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:48px;margin:0;padding:12px 16px;font-size:15px;line-height:1.4;white-space:normal;align-self:start}
#app .results-page .results-toolbar{display:flex;flex-wrap:wrap;gap:10px;min-width:0;max-width:100%;height:auto}
#app .results-page .results-toolbar>select{max-width:100%;min-width:0}
#app .results-page .machine-links{flex-wrap:wrap;gap:12px}
#overlay-root .modal{box-sizing:border-box;width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:24px}
#overlay-root .modal h2{font-size:28px;line-height:1.2}
#overlay-root .modal .field>span,#overlay-root .check-line{font-size:14px;line-height:1.5}
#overlay-root .modal input:not([type=checkbox]):not([type=hidden]),#overlay-root .modal select,#overlay-root .modal textarea{min-width:0;max-width:100%;font-size:16px}
#overlay-root .modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
#overlay-root .request-review{font-size:15px;line-height:1.5}
#overlay-root .request-review>div{flex-wrap:wrap}
#overlay-root .modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap}
#overlay-root .modal-actions .btn{min-height:48px;max-width:100%;white-space:normal}
@media(min-width:1200px){#app .results-page .results-layout-v4:not(.map-open) .result-machine{grid-template-columns:250px minmax(0,1fr) 270px}#app .results-page .results-layout-v4:not(.map-open) .result-machine>.machine-price{grid-area:1/3;display:flex;flex-direction:column;border-top:0;border-left:1px solid #dfe5e1;gap:10px}#app .results-page .results-layout-v4:not(.map-open) .machine-price>.machine-actions{margin-top:16px}#app .results-page .results-layout-v4:not(.map-open) .price-split{width:100%}}
@media(max-width:650px){#app .results-page .app-shell{width:calc(100% - 24px)}#app .results-page .result-machine{display:block}#app .results-page .result-machine>.machine-photo{height:200px;min-height:0;max-height:200px}#app .results-page .result-machine>.machine-body,#app .results-page .result-machine>.machine-price{padding:18px}#app .results-page .result-machine>.machine-price{display:flex;flex-direction:column;gap:10px}#app .results-page .result-machine h2{font-size:24px}#app .results-page .machine-price>.price-number{font-size:34px}#app .results-page .machine-price>.price-split{width:100%}#app .results-page .results-toolbar>select{width:100%}#app .results-page .results-toolbar>.btn{flex:1}#overlay-root .modal{padding:18px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}#overlay-root .modal-grid{grid-template-columns:minmax(0,1fr)}#overlay-root .modal h2{font-size:25px}}
