/* Selection is always explicit: reading a card never adds it to the trip. */
.stay-card { cursor: auto; }
.card-details { align-self: flex-start; min-height: 44px; padding: 8px 0; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; color: #354e40; }
.card-choice { position: relative; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 12px; border: 1px solid #bac8bc; border-radius: 8px; font-size: 11px; font-weight: 600; color: #284e3a; background: #f1f5ee; cursor: pointer; transition: background .2s, color .2s; }
.card-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card-choice:has(input:checked) { border-color: #173e30; background: #173e30; color: white; }
.card-choice:has(input:focus-visible) { outline: 3px solid #ed432e; outline-offset: 3px; }
.card-choice:has(input:disabled) { opacity: .65; cursor: not-allowed; }
.choice-mark { display: grid; flex: 0 0 22px; place-items: center; height: 22px; border: 1px solid currentColor; border-radius: 5px; font-size: 17px; line-height: 1; }
.experience-card:has(input:checked) { border: 1px solid #173e30; box-shadow: 0 3px 0 #173e30; }
.experience-price { font-size: 12px; }
.selection-strip { margin-top: 20px; padding: 18px 0 0; border-top: 1px solid #d9e1d5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.selection-strip p { font-size: 11px; margin-top: 6px; color: #425a47; }
.selection-strip .button { min-height: 44px; padding: 12px 16px; font-size: 11px; }
.shared-trip { margin-bottom: 26px; padding: 20px 24px; display: flex; gap: 16px; align-items: center; background: #e5efdf; border: 1px solid #bdceb6; border-radius: 12px; }
.shared-trip[hidden] { display: none; }
.shared-trip-icon { font-size: 32px; color: #244a36; }
.shared-trip strong { font-size: 14px; }
.shared-trip p { margin-top: 3px; font-size: 11px; color: #435b42; }
.shared-trip button { margin-left: auto; flex-shrink: 0; min-height: 44px; font-size: 11px; text-decoration: underline; }
.item-dialog { width: min(680px, calc(100% - 32px)); max-height: min(90vh, 900px); overflow: auto; overscroll-behavior: contain; padding: 26px; border: 0; border-radius: 16px; color: #17251d; background: #f7faf6; }
.item-dialog.item-dialog--category { width: min(1020px, calc(100% - 32px)); }
.item-dialog::backdrop { background: #1111119c; backdrop-filter: blur(5px); }
.item-dialog .dialog-heading #closeItem { margin-inline-start: auto; }
.item-dialog__detail[hidden], .ridecalc-category-stage[hidden] { display: none; }
.item-dialog__detail > img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin: 16px 0; }
.item-dialog__detail > img[hidden] { display: none; }
.item-dialog__detail > h2 { font: 600 22px/1.3 var(--display); letter-spacing: -.045em; margin: 16px 0 12px; }
.item-dialog__detail > p { font-size: 13px; color: #506451; }
.item-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.item-facts span { font-size: 11px; padding: 7px 10px; border-radius: 6px; background: #e5eddf; }
.item-cost { margin: 18px 0 12px; }
.item-cost strong { font: 500 30px var(--display); letter-spacing: -.045em; }
.item-cost small { display: block; font-size: 11px; color: #506451; }
.item-dialog .button:disabled { background: #dbe7d7; color: #2a4c38; cursor: default; }
.share-dialog { max-height: 90vh; overflow: auto; }
.share-selection { margin: 18px 0 12px; padding: 16px; border: 1px dashed #9bb09a; border-radius: 8px; background: #f4f8ef; font-size: 12px; }
.share-selection strong { display: block; margin-bottom: 8px; }
.share-selection p { font-size: 11px; margin-top: 4px; color: #425a47; }
.share-rule { display: flex; gap: 12px; padding: 14px 0; }
.share-rule > span { font-size: 25px; color: #274d39; }
.share-rule p { font-size: 11px; color: #52624d; }
.share-rule strong { color: #17251d; }
.mobile-share { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 8px; background: #e1edd9; color: #173e30; }
.origin-options input:checked + span::after, .segmented input:checked + span::after,
.level-options input:checked + span::after { content: ' ✓'; font-weight: 700; }
@media (max-width: 600px) {
  .card-choice { padding: 8px; gap: 6px; font-size: 10px; }
  .shared-trip { flex-wrap: wrap; padding: 16px; gap: 10px; }
  .shared-trip > div { flex: 1; }
  .shared-trip button { width: 100%; margin: 3px 0 0; text-align: left; }
  .selection-strip .button { width: 100%; }
  .item-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .mobile-total { gap: 8px; }
  .mobile-total > div { margin-right: auto; }
}
