/* Production bridge: neutralise V1 globals while preserving the approved S1D CSS. */
body.ev-v2-scope > header.v2-site-header { margin: 0; padding: env(safe-area-inset-top, 0) 0 0; }
body.ev-v2-scope > main#main { width: auto; max-width: none; margin: 0; padding: 0; }
body.ev-v2-scope > footer.v2-site-footer { text-align: left; font-size: 13px; }
.ev-v2-scope .v2-desktop-nav { flex-wrap: nowrap; }
.ev-v2-scope .v2-mobile-nav { align-items: stretch; gap: 0; }
.ev-v2-scope .v2-nav-link { opacity: 1; }
.ev-v2-scope .v2-header-search {
  position: relative; display: flex; min-width: 0; flex: 0 1 230px; margin: 0 0 0 auto;
}
.ev-v2-scope .v2-header-search input {
  width: 100%; min-width: 0; min-height: 38px; padding: 7px 10px;
  border: 1px solid var(--ev-color-border); border-right: 0; border-radius: 8px 0 0 8px;
  background: var(--ev-color-surface); color: var(--ev-color-ink-950); font-size: 13px;
}
.ev-v2-scope .v2-header-search > button[type="submit"] {
  flex: 0 0 auto; min-height: 38px; padding: 7px 11px; border: 1px solid var(--ev-color-brand-700);
  border-radius: 0 8px 8px 0; background: var(--ev-color-brand-700); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.ev-v2-scope .v2-header-search [role="listbox"],
.ev-v2-scope .v2-site-search [role="listbox"] {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
  max-height: 280px; margin: 0; padding: 6px; overflow-y: auto; list-style: none;
  border: 1px solid var(--ev-color-border); border-radius: 10px; background: var(--ev-color-surface);
  box-shadow: var(--ev-shadow-md); color: var(--ev-color-ink-950); text-align: left;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) [role="listbox"] li { margin: 0; padding: 0; }
.ev-v2-scope :is(.v2-header-search, .v2-site-search) [role="option"] {
  display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent;
  color: var(--ev-color-ink-950); text-align: left;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) [role="option"]:hover,
.ev-v2-scope :is(.v2-header-search, .v2-site-search) [role="option"][aria-selected="true"] {
  background: var(--ev-color-brand-100); color: var(--ev-color-ink-950);
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) [role="option"] small {
  color: var(--ev-color-ink-500); white-space: nowrap;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) .site-search-empty {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
  padding: 12px; border: 1px solid var(--ev-color-border); border-radius: 10px;
  background: var(--ev-color-surface); box-shadow: var(--ev-shadow-md); text-align: left;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) .site-search-empty[hidden] {
  display: none;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) .site-search-empty p {
  margin: 0 0 8px; color: var(--ev-color-ink-500); font-size: 13px; line-height: 1.5;
}
.ev-v2-scope :is(.v2-header-search, .v2-site-search) .site-search-empty p:only-child {
  margin-bottom: 0;
}
.ev-v2-scope .site-search-maplink {
  display: flex; min-height: 42px; align-items: center; color: var(--ev-color-brand-700);
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.ev-v2-scope .v2-search-toggle {
  display: none; width: 44px; height: 44px; flex: 0 0 44px; align-items: center;
  justify-content: center; border: 0; background: var(--ev-color-surface);
  color: var(--ev-color-brand-900);
}
.ev-v2-scope .v2-search-toggle-icon { width: 22px; height: 22px; }
.ev-v2-scope .v2-site-search--hero {
  position: relative; max-width: 520px; margin: 12px auto 0;
}
.ev-v2-scope .v2-site-search-control {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--ev-color-border); border-radius: 12px; background: var(--ev-color-surface);
}
.ev-v2-scope .v2-site-search-control input {
  min-width: 0; min-height: 42px; flex: 1; padding: 8px 0; border: 0; outline: 0;
  background: transparent; color: var(--ev-color-ink-950); font-size: 15px;
}
.ev-v2-scope .v2-site-search-control:focus-within {
  border-color: var(--ev-color-brand-700); box-shadow: 0 0 0 3px var(--ev-color-brand-100);
}
.ev-v2-scope .v2-site-search-control button {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--ev-color-brand-700);
  border-radius: 8px; background: var(--ev-color-surface); color: var(--ev-color-brand-900);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.ev-v2-scope h2 { margin-top: 0; border-left: 0; padding-left: 0; }
.ev-v2-scope :where(p, li) { font-size: inherit; line-height: inherit; }
.ev-v2-scope .v2-footer-nav a { margin: 0; }
.ev-v2-scope .v2-list-layout { grid-template-columns: minmax(0, 1fr); }
.ev-v2-scope .v2-hotel-grid.hotel-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 0;
}
.ev-v2-scope .v2-hotel-card.hotel-card { display: block; padding: 0; }
.ev-v2-scope .v2-card-image-link.hotel-card-image-link {
  display: block; width: auto; min-height: 0; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: 0; background: var(--ev-color-brand-100);
}
.ev-v2-scope .v2-card-image-link.hotel-card-image-link img { width: 100%; height: 100%; object-fit: cover; }
.ev-v2-scope p.v2-card-facts { display: block; margin: 0; color: var(--ev-color-ink-500); font-size: 12px; line-height: 1.55; }
.ev-v2-scope .collection-pagination { grid-column: 1 / -1; }
.ev-v2-scope .v2-page-hero { color: var(--ev-color-ink-950); }
.ev-v2-scope .v2-related-links ul { margin: 0; padding: 0; list-style: none; }
.ev-v2-scope .v2-pre-line { white-space: pre-line; }
.ev-v2-scope .v2-byline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* 公式サイト確認ラベル (P2 stage 1): provenance line under the charging spec table. */
.ev-v2-scope .v2-official-check { margin: 10px 0 0; color: var(--ev-color-ink-500); font-size: 12.5px; line-height: 1.7; }
.ev-v2-scope .v2-official-check a { color: var(--ev-color-brand-700); }
/* 実訪問レポート (V2-only): reuses detail-section rhythm and table tokens. */
.ev-v2-scope .v2-chip[data-kind="visited"] { background: var(--ev-color-brand-100); color: var(--ev-color-brand-900); box-shadow: inset 0 0 0 1px var(--ev-color-brand-700); }
.ev-v2-scope .v2-visit-report { margin-top: 18px; padding: 18px 18px 20px; border: 1px solid var(--ev-color-border); border-left: 4px solid var(--ev-color-brand-700); border-radius: 12px; background: var(--ev-color-surface); }
.ev-v2-scope .v2-visit-report h2 { margin: 0 0 12px; font-size: 19px; }
.ev-v2-scope .v2-visit-meta { margin: 0 0 10px; color: var(--ev-color-ink-500); font-size: 12.5px; }
.ev-v2-scope .v2-visit-measured { margin: 0; }
.ev-v2-scope .v2-visit-measured-note { margin: 6px 0 0; color: var(--ev-color-ink-500); font-size: 12px; }
.ev-v2-scope .v2-visit-flow { margin: 14px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.8; }
.ev-v2-scope .v2-visit-flow li { margin-bottom: 4px; }
.ev-v2-scope .v2-visit-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.ev-v2-scope .v2-visit-photo { margin: 0; }
.ev-v2-scope .v2-visit-photo img { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--ev-color-brand-100); }
.ev-v2-scope .v2-visit-photo figcaption { margin-top: 6px; color: var(--ev-color-ink-500); font-size: 12px; line-height: 1.55; }
.ev-v2-scope figure.article-photo { margin: 20px 0; }
.ev-v2-scope figure.article-photo img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.ev-v2-scope figure.article-photo figcaption { margin-top: 6px; color: var(--ev-color-ink-500); font-size: 12px; line-height: 1.55; }
/* {{TOC}} token: collapsible in-article table of contents (default closed), styled to match the V2 card conventions (cf. .v2-visit-report). */
.ev-v2-scope .article-toc { margin: 0 0 24px; padding: 4px 16px; border: 1px solid var(--ev-color-border); border-radius: 12px; background: var(--ev-color-surface); }
.ev-v2-scope .article-toc summary { cursor: pointer; padding: 10px 0; font-weight: 700; font-size: 15px; color: var(--ev-color-brand-900); }
.ev-v2-scope .article-toc nav ol { margin: 0 0 10px; padding: 0 0 0 22px; }
.ev-v2-scope .article-toc li { margin: 4px 0; line-height: 1.6; }
.ev-v2-scope .article-toc a { color: var(--ev-color-brand-700); text-decoration: none; font-size: 14px; }
.ev-v2-scope .article-toc a:hover { text-decoration: underline; }
/* HOTEL_SPECS token table (2-col): must fit the viewport with wrapping, not scroll — overrides the V1 .article-table min-width. */
.ev-v2-scope .article-table.hotel-specs { width: 100%; max-width: 100%; min-width: 0; table-layout: fixed; }
.ev-v2-scope .article-table.hotel-specs th { width: 38%; }
.ev-v2-scope .article-table.hotel-specs th, .ev-v2-scope .article-table.hotel-specs td { word-break: break-word; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .ev-v2-scope .article-table.hotel-specs th, .ev-v2-scope .article-table.hotel-specs td { padding: 6px 8px; font-size: 12.5px; }
}
@media (max-width: 720px) {
  .ev-v2-scope .v2-hotel-grid.hotel-card-list { grid-template-columns: minmax(0, 1fr); }
  .ev-v2-scope .v2-header-inner { gap: 8px; }
  .ev-v2-scope .v2-header-inner > .v2-header-search { flex: 1 1 auto; margin-left: auto; }
  .ev-v2-scope .v2-menu-toggle { flex: 0 0 44px; margin-left: 0; }
  .ev-v2-scope .v2-site-search-control { display: grid; grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .ev-v2-scope .v2-site-search-control input { padding-inline: 8px; }
  .ev-v2-scope .v2-site-search-control button { width: 100%; }
}
@media (max-width: 520px) {
  .ev-v2-scope .v2-header-search input { padding-inline: 8px; }
  .ev-v2-scope [data-v2-search-collapsible] .v2-search-toggle { display: inline-flex; margin-left: auto; }
  .ev-v2-scope [data-v2-search-collapsible] .v2-header-inner > .v2-header-search { display: none; }
  .ev-v2-scope [data-v2-search-collapsible] .v2-header-inner > .v2-header-search[data-v2-search-open="true"] {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--ev-color-border);
    background: var(--ev-color-surface); box-shadow: var(--ev-shadow-md);
  }
}
