/* Visual refinements: hosted imagery, compact appearance control, and overflow safeguards. */
html,body{max-width:100%;overflow-x:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.theme-switch{width:54px;height:30px;padding:0;border:0;background:transparent;position:relative}.theme-switch-track{height:30px;display:block;position:relative;border:1px solid var(--border);background:var(--panel);border-radius:999px;overflow:hidden}.theme-switch-sun,.theme-switch-moon{position:absolute;top:5px;font-size:15px;line-height:1;color:var(--muted)}.theme-switch-sun{left:7px}.theme-switch-moon{right:7px}.theme-switch-thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#f4f6f8;box-shadow:0 2px 7px rgba(0,0,0,.35);transition:transform .18s ease,background .18s ease}[data-theme=dark] .theme-switch-thumb{transform:translateX(24px);background:#e30613}.theme-switch:focus-visible{outline:3px solid var(--red);outline-offset:3px}.hero-visual{min-height:370px;margin:0;background:#111;border:1px solid var(--border);overflow:hidden;clip-path:polygon(10% 0,100% 0,100% 85%,90% 100%,0 100%,0 12%)}.hero-visual:before,.hero-visual:after{display:none}.hero-visual>img{display:block;width:100%;height:370px;object-fit:cover}.page-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.65fr);gap:3rem;align-items:center}.page-hero-grid>img{width:100%;height:260px;object-fit:cover;border:1px solid var(--border);clip-path:polygon(8% 0,100% 0,100% 88%,91% 100%,0 100%,0 12%)}.vehicle-gallery{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:1rem}.vehicle-gallery figure{position:relative;margin:0;min-height:330px;overflow:hidden;background:var(--panel)}.vehicle-gallery img{display:block;width:100%;height:100%;min-height:330px;object-fit:cover;transition:transform .4s ease}.vehicle-gallery figure:hover img{transform:scale(1.04)}.vehicle-gallery figcaption{position:absolute;inset:auto 0 0;padding:2rem 1rem 1rem;color:#fff;font-weight:750;background:linear-gradient(transparent,rgba(0,0,0,.82))}@media(max-width:1100px){.desktop-nav,.header-actions>.button{display:none}.menu-toggle{display:block}.header-inner{min-height:72px}.brand img{width:205px}.hero-grid,.service-layout,.page-hero-grid{grid-template-columns:1fr}.hero-visual{min-height:260px}.hero-visual>img{height:260px}.page-hero-grid>img{height:220px}.service-aside{position:static}.vehicle-gallery{grid-template-columns:1fr 1fr}.vehicle-gallery figure:first-child{grid-column:1/-1}}@media(max-width:600px){.hero-visual{display:block;min-height:220px}.hero-visual>img{height:220px}.vehicle-gallery{grid-template-columns:1fr}.vehicle-gallery figure:first-child{grid-column:auto}.vehicle-gallery figure,.vehicle-gallery img{min-height:250px}}
.admin-form{display:grid;gap:1rem;max-width:480px}.submission-list{display:grid;gap:1rem}.submission{background:var(--surface);border:1px solid var(--border);padding:1.35rem}.submission header{border-bottom:1px solid var(--border);margin-bottom:1rem}.submission h2{margin:0}.submission header p{margin:.3rem 0 1rem;color:var(--muted)}.submission dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}.submission dl>div:nth-last-child(-n+2){grid-column:1/-1}.submission dt{color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.submission dd{margin:.2rem 0 0;overflow-wrap:anywhere}@media(max-width:600px){.submission dl{grid-template-columns:1fr}.submission dl>div:nth-last-child(-n+2){grid-column:auto}}
.delete-submission{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}.delete-submission button{border:1px solid var(--border);background:transparent;color:var(--text);padding:.5rem .7rem}.delete-submission button:hover{border-color:var(--red);color:var(--red)}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tool-grid form{margin-top:1rem}.tool-result{margin-top:2rem;padding:1.25rem;background:var(--surface);border:1px solid var(--border)}.tool-result pre{max-height:320px;overflow:auto;padding:1rem;background:var(--bg2);white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.tool-grid{grid-template-columns:1fr}}
@media(max-width:600px){.header-inner{width:calc(100% - 1rem);gap:.5rem}.header-actions{margin-left:auto;gap:.45rem}.brand img{width:155px}.menu-toggle{min-width:52px;padding-inline:.45rem}.mobile-menu{padding:1rem .75rem}.mobile-menu nav{gap:.25rem}.mobile-menu a,.mobile-services button{min-height:44px;padding:.65rem .25rem}.mobile-services>div{padding:.1rem 0 .5rem .75rem}.mobile-services>div a{font-size:.93rem}.theme-switch{width:50px}}
@media(min-width:601px) and (max-width:1100px){.header-actions{margin-left:auto}.header-inner{width:min(1180px,calc(100% - 2rem))}}
