/* Market-only phone layout: three square previews, with useful price context below. */
.market-page{min-width:0;color:var(--ink,#243f37)}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 18px}
.market-heading h1{font-size:1.55rem;line-height:1.5;margin:2px 0 5px}
.market-heading p{margin:0;font-size:.85rem;line-height:1.8;color:var(--muted,#587063)}
.market-heading .market-eyebrow{font-size:.72rem;color:#985122;letter-spacing:0}
.market-saved{flex:none;display:grid;justify-items:center;align-content:center;gap:3px;min-width:64px;min-height:64px;padding:8px;border:1px solid #d3dfd6;border-radius:18px;background:#fffdf7;color:#315b48;font:inherit;font-size:.71rem;cursor:pointer}
.market-saved.is-active{background:#15594e;color:white;border-color:#15594e}
.market-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.market-category{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:76px;padding:10px 4px;border:1px solid #cddbcf;border-radius:17px;background:#fffdf8;color:#345b48;font:inherit;font-size:.8rem;font-weight:650;cursor:pointer;touch-action:manipulation}
.market-category .icon{width:24px;height:24px}
.market-category.is-active{background:#15594e;color:white;border-color:#15594e;box-shadow:0 4px 12px #15594e18}
.market-filter{margin:0 0 12px;border:1px solid #d1ddcf;border-radius:16px;background:#fffef9;min-width:0;overflow:clip}
.market-page .market-tag-filter{padding:0}
.market-filter summary{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 13px;cursor:pointer;list-style:none;touch-action:manipulation}
.market-filter summary::-webkit-details-marker{display:none}
.market-filter summary>.icon{flex:none;width:21px;height:21px;color:#45694c}
.market-filter summary>span:not(.market-filter-arrow){display:grid;gap:2px;min-width:0}
.market-filter summary strong{font-size:.82rem;font-weight:650}
.market-filter summary small{font-size:.7rem;color:#627160;line-height:1.7;overflow-wrap:anywhere}
.market-filter-arrow{margin-inline-start:auto;font-size:1.2rem;flex:none;transition:transform .15s}
.market-filter[open] .market-filter-arrow{transform:rotate(180deg)}
.market-filter-body{padding:12px;border-top:1px solid #e0e6d9}
.market-tag-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.market-page .market-tag-search .field{min-width:0;font-size:.8rem}
.market-page .market-tag-search input{min-width:0;width:100%;min-height:48px}
.market-page .market-tag-search .btn{min-height:48px;padding-inline:12px}
.market-page .market-tag-options{max-height:208px;margin-top:8px;padding-block:3px}
.market-page .market-tag-options .chip,.market-selected .chip,.market-selected .link{min-height:44px;min-width:44px}
.market-selected{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 12px;min-width:0}
.market-selected .chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;gap:8px}
.market-selected .link{padding:8px;font-size:.78rem}
.market-results-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px;margin:18px 0 10px}
.market-results-heading h2{font-size:1rem;margin:0}
.market-results-heading>span{font-size:.7rem;color:#63725f}
.market-grid{gap:14px 7px}
.market-tile-card{min-width:0;border:1px solid #dce4d4;border-radius:12px;background:#fffdf8;overflow:hidden}
.market-tile-card>.content-tile{width:100%;aspect-ratio:1;margin:0;border:0;border-radius:0}
.market-tile-meta{display:grid;gap:4px;padding:8px 6px;min-width:0;line-height:1.7;overflow-wrap:anywhere}
.market-tile-city{display:flex;align-items:center;gap:2px;font-size:.7rem;color:#65735e;min-width:0}
.market-tile-city .icon{width:13px;height:13px;flex:none}
.market-tile-meta strong{font-size:.74rem;line-height:1.8;font-weight:700;color:#264e3d}
.market-tile-basis{font-size:.65rem;color:#65735e}
.market-request-note{display:flex;align-items:flex-start;gap:7px;padding:14px 0;margin:12px 0 0;border-top:1px solid #d9e1d2;font-size:.75rem;line-height:1.9;color:#60705d}
.market-request-note .icon{width:18px;height:18px;flex:none;margin-top:2px}
.market-page button:focus-visible,.market-page summary:focus-visible{outline:3px solid #b05b24;outline-offset:2px}
@media(min-width:700px){.market-heading h1{font-size:1.85rem}.market-category{flex-direction:row;min-height:62px;gap:10px;font-size:.95rem}.market-tile-meta{padding:10px 12px}.market-tile-meta strong{font-size:.9rem}.market-tile-city,.market-tile-basis{font-size:.8rem}.market-grid{gap:14px}.market-saved{display:flex;min-height:48px;gap:8px;padding:10px 16px;font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.market-filter-arrow{transition:none}}
