/* Amenities (owner, 22 Nov 2026; views/inc/amenity-picker.inc.php, views/classes/amenities.php): the picker on the listing forms and
   "What this place offers" on the listing page. Design rule: Inter, #1A1F24 text, #4A5560 secondary, sentence case, teal brand, amber
   only for primary actions, 8px grid, 44px+ taps, 16px inputs, works at 390px. */
.am-pick { background: #fff; border: 1px solid #e3eaed; border-radius: 12px; padding: 16px; margin: 0 0 16px; }
.am-h { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #1A1F24; margin: 0 0 8px; }
.am-h3 { font-size: 16px; font-weight: 600; color: #1A1F24; margin: 0 0 4px; }
.am-hint { font-size: 14px; line-height: 1.5; color: #4A5560; margin: 4px 0 8px; }
.am-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.am-search { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 8px 12px; font-size: 16px; color: #1A1F24; border: 1.5px solid #cbd8de; border-radius: 10px; box-sizing: border-box; }
.am-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid #177b85; border-radius: 22px; background: #fff; color: #177b85; font-size: 15px; font-weight: 600; cursor: pointer; }
.am-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.am-legend { font-size: 15px; font-weight: 600; color: #1A1F24; margin: 0 0 8px; padding: 0; }
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.am-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid #cbd8de; border-radius: 22px; background: #fff; color: #1A1F24; font-size: 15px; font-weight: 500; cursor: pointer; margin: 0; max-width: 100%; box-sizing: border-box; }
.am-chip > input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.am-chip i { color: #177b85; width: 16px; text-align: center; }
.am-chip.is-on { background: #177b85; border-color: #177b85; color: #fff; }
.am-chip.is-on i { color: #fff; }
.am-chip:focus-within { box-shadow: 0 0 0 3px rgba(23,123,133,.35); }
.am-chip[hidden] { display: none; }
.am-count, .am-time { min-height: 32px; font-size: 16px; border: 1px solid #cbd8de; border-radius: 8px; padding: 0 4px; background: #fff; color: #1A1F24; }
.am-count[disabled], .am-time[disabled] { display: none; }
.am-sug { background: #f3f8f9; border-radius: 10px; padding: 12px; margin: 0 0 16px; }
.am-sug-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.am-sug-i { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3eaed; border-radius: 10px; padding: 4px 4px 4px 12px; }
.am-sug-i i { color: #177b85; width: 16px; text-align: center; }
.am-sug-t { flex: 1 1 auto; min-width: 0; font-size: 15px; color: #1A1F24; }
.am-sug-t small { display: block; font-size: 13px; color: #4A5560; }
.am-yes, .am-no { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid #cbd8de; font-size: 18px; cursor: pointer; flex: 0 0 44px; }
.am-yes input, .am-no input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.am-yes.is-on { background: #177b85; border-color: #177b85; color: #fff; }
.am-no.is-on { background: #4A5560; border-color: #4A5560; color: #fff; }
.am-sug-i.is-removed .am-sug-t { text-decoration: line-through; color: #4A5560; }
/* the listing page */
.am-offers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; }
.am-offers li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: #1A1F24; min-height: 24px; }
.am-offers i { color: #177b85; width: 18px; text-align: center; margin-top: 2px; flex: 0 0 18px; }
.am-tag { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 20px; background: #eef2f4; color: #1A1F24; white-space: nowrap; }
.am-tag.is-photo { background: #fdf3e1; }
.am-off li { color: #4A5560; text-decoration: line-through; }
.am-off i { color: #4A5560; }
.am-all { margin-top: 16px; }
.am-all summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #177b85; border-radius: 22px; color: #177b85; font-weight: 600; cursor: pointer; list-style: none; }
.am-all summary::-webkit-details-marker { display: none; }
.am-all h3 { font-size: 15px; font-weight: 600; color: #1A1F24; margin: 16px 0 4px; }
.am-offers li { flex-wrap: wrap; }
.am-offers li > span { flex: 1 1 calc(100% - 26px); min-width: 0; }
.am-offers li > .am-photo-btn { margin: -10px 0 -10px 18px; font-size: 14px; }
.am-ask-btn { margin-top: 8px; }
.am-photo-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #177b85; font: inherit; text-decoration: underline; cursor: pointer; }
.am-ask { font-size: 14px; color: #4A5560; margin: 8px 0 0; }
.am-desc-list { margin: 0 0 8px; padding-left: 24px; list-style: disc; }
.am-desc-list li { margin: 4px 0; list-style: disc; }
.lp-desc-t p { margin: 0 0 8px; }
.lp .lp-card .lp-desc-t p, .lp .lp-card .lp-desc-t li { font-size: 16px; line-height: 1.6; color: #1A1F24; }
.am-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.am-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #cbd8de; border-radius: 22px; color: #1A1F24; text-decoration: none; font-size: 15px; }
@media (max-width: 420px) { .am-offers { grid-template-columns: minmax(0, 1fr); } }
/* inside the staff forms (.epa-form styles labels and inputs as blocks): keep the chips and the ✓ / ✕ as designed */
.am-pick label.am-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.2; }
.am-pick label.am-yes, .am-pick label.am-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; line-height: 1; }
.am-pick label.am-yes > span[aria-hidden], .am-pick label.am-no > span[aria-hidden] { display: block; line-height: 1; }
.am-pick input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.epa-form .am-pick, .epa-field .am-pick { padding: 16px; border: 1px solid #e3eaed; border-radius: 12px; box-sizing: border-box; }
/* "Show all" open: the full list by section replaces the short list above, so no amenity shows twice (owner, 22 Nov 2026) */
#amenities:has(.am-all[open]) .am-top { display: none; }
/* "More shortlets with a PS5 or Xbox in Wuye": each amenity to its area page (owner, 22 Nov 2026, "SEO from amenities") */
.am-more { list-style: none; margin: 16px 0 0; padding: 8px 0 0; border-top: 1px solid #E3E7EA; }
.am-more li { margin: 0; }
.am-more a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: #0f555c; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
