.home-view:not(.map-view) .app-shell { padding-top: calc(var(--safe-top) + 1rem); }
.home-view:not(.map-view) .page-header { gap: .55rem; margin-bottom: 1.75rem; }
.home-view:not(.map-view) h1 { font-size: clamp(1.25rem, 5.7vw, 1.6rem); }
.home-actions { display: grid; gap: 1.55rem; }
.home-actions .location-query { margin: 0; }
.home-actions .location-status:empty { display: none; }
.home-actions .location-button { min-height: 3rem; box-shadow: none; }
.query-entry { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 3.1rem; padding: .6rem 1rem; border: 2px solid var(--ink-strong); border-radius: .8rem; color: #626b70; background: #fff; font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer; }
.query-entry svg { flex: none; width: 1.6rem; height: 1.6rem; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.query-entry:focus-visible, .home-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.query-entry:active { background: var(--brand-soft); }
.home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 4.5rem; }
.home-link { display: grid; align-content: start; gap: .65rem; min-width: 0; color: var(--ink); font-size: .9rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; }
.home-link-image { display: block; width: 100%; aspect-ratio: 1; background-image: url('./home-reference.jpeg'); background-repeat: no-repeat; }
/* Exact reference rectangles include the original single frame; do not add another border. */
/* Reference: 944×2048; logo (31,1375,282,283), cage (336,1379,274,274), hospital (637,1378,277,277). */
.shop-link-image { background-size: 334.751773% 723.674912%; background-position: 4.682779% 77.903683%; }
.cage-link-image { background-size: 344.525547% 747.445255%; background-position: 50.149254% 77.733935%; }
.hospital-link-image { background-size: 340.794224% 739.350181%; background-position: 95.502249% 77.809147%; }
.home-view:not(.map-view) .store-search, .home-view:not(.map-view) .address-query, .home-view:not(.map-view) footer { display: none !important; }
.query-view .home-actions, .query-view .home-links, .query-view footer { display: none !important; }
.query-view .store-search, .query-view .address-query { margin-top: 1.5rem; }
.query-view .address-query { padding-top: 0; }
.query-view .address-query h2 { display: none; }
.map-view .home-actions, .map-view .home-links { display: none !important; }
