:root {
  --bg: #f6f8f9;
  --surface: #ffffff;
  --surface-2: #eaf6f4;
  --text: #0f1f2b;
  --muted: #5c6b7a;
  --line: #e6edf0;
  --brand: #0c7c74;
  --brand-strong: #0a6a63;
  --brand-soft: #dff2ef;
  --good: #2bbf6a;
  --warn: #b06a00;
  --favorite: #0c7c74;
  --info: #2f80ed;
  --radius: 16px;
  --shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-shell { max-width: 960px; margin: 0 auto; padding: 14px 14px 40px; }
.hero-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 20px; box-shadow: var(--shadow); margin-bottom: 12px; }
.hero-card .hero-skyline { position: absolute; right: 0; left: 38%; bottom: 0; height: 76%; background: url('./assets/brand/skyline.png') right bottom / contain no-repeat; opacity: 0.38; pointer-events: none; -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to left, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%); }
.hero-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 0; }
.hero-card:not(.detail-hero-card) .hero-topline { transform: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 1 1 auto; min-width: 0; }
.brand-lockup:hover { text-decoration: none; }
.brand-logo { display: block; height: 78px; width: auto; max-width: min(100%, 420px); object-fit: contain; }
.loc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: 14px; flex: 0 0 auto; margin-top: 0; }
.hero-card:not(.detail-hero-card) .hero-text { position: relative; z-index: 1; max-width: 62%; margin-top: 6px; padding-bottom: 18px; }
.hero-title { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.hero-title .accent { color: var(--brand); }
.hero-sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.hero-sub-standalone { margin-top: 0; font-size: 16px; max-width: 42ch; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.meta-pill { background: var(--brand-soft); border: 1px solid transparent; border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--brand-strong); font-weight: 600; }
.hero-back { color: var(--brand-strong); font-weight: 600; text-decoration: none; font-size: 14px; }
.hero-back:hover { text-decoration: underline; }
.detail-hero-card .hero-text { max-width: 70%; }
.detail-hero-card .hero-text h1 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; color: var(--text); }
.detail-hero-card .hero-text .subtitle { margin: 0; color: var(--muted); font-size: 14px; }
.hero { background: var(--surface); color: var(--text); padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.compact-hero { margin-bottom: 10px; }
.hero h1 { margin: 0; font-size: 24px; line-height: 1.15; color: var(--text); }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero-card { padding: 14px 16px 16px; }
  .hero-card:not(.detail-hero-card) .hero-topline { gap: 10px; align-items: center; }
  .brand-logo { height: 62px; max-width: calc(100% - 8px); }
  .loc-pill { font-size: 13px; padding: 6px 10px; margin-top: 0; }
  .hero-card .hero-skyline { left: 15%; height: 58%; opacity: 0.28; }
  .hero-card:not(.detail-hero-card) .hero-text { max-width: 100%; margin-top: 6px; padding-bottom: 20px; }
  .hero-title { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .hero-sub-standalone { margin-top: 0; max-width: 100%; }
  .hero-meta { margin-top: 24px; }
  .detail-hero-card .hero-text h1 { font-size: 22px; }
  .discovery-actions { display: grid; grid-template-columns: 1fr; }
  .view-toggle { width: 100%; justify-content: stretch; }
  .view-toggle-btn { flex: 1 1 0; }
  .map-canvas { height: 320px; }
}
.day-tabs-panel, .favorites-panel, .detail-links-panel, .discovery-panel, .map-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); margin-top: 12px; }
.weekday-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.weekday-tab { border: 0; border-radius: 12px; padding: 12px 8px; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--text); cursor: pointer; min-width: 0; }
.weekday-tab.past { background: #eceff5; color: #8a93a5; }
.weekday-tab.today { box-shadow: inset 0 0 0 2px rgba(12,124,116,.22); }
.weekday-tab.active { background: var(--brand); color: white; box-shadow: none; }
.weekday-tab small { display: block; font-size: 11px; font-weight: 400; opacity: 0.7; margin-top: 2px; }
.weekday-tab.active small { opacity: 0.85; }
.compact-panel { margin-top: 12px; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0 0 4px; font-size: 19px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 14px; }
.discovery-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.view-toggle { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; margin-top: 12px; }
.view-toggle-btn { border: 0; background: transparent; color: var(--muted); font-weight: 700; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.view-toggle-btn.active { background: var(--brand); color: white; }
.location-status { margin: 12px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.map-panel { padding: 10px; }
.detail-map-panel { margin-top: 12px; }
.detail-map-head { margin-bottom: 10px; }
.map-canvas { width: 100%; height: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map-empty, .map-note { margin: 10px 6px 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.map-popup-state { margin-top: 6px; color: var(--brand-strong); font-size: 12px; font-weight: 700; }
.map-popup-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.favorite-list { display: flex; flex-wrap: wrap; gap: 10px; }
.favorite-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--text); cursor: pointer; }
.favorite-pill.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }
.favorite-pill input { margin: 0; }
.primary-btn, .secondary-btn { border-radius: 12px; padding: 10px 12px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.primary-btn { background: var(--brand); color: white; border-color: var(--brand); box-shadow: 0 2px 8px rgba(12, 124, 116, 0.18); }
.primary-btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); text-decoration: none; }
.secondary-btn { background: white; color: var(--text); border-color: var(--line); }
.secondary-btn:hover { border-color: #cfe0de; text-decoration: none; }
.status-banner { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.status-pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow); color: var(--muted); font-size: 14px; }
.cards { display: grid; gap: 12px; margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.favorite-card { border-color: #bfe5e0; box-shadow: 0 2px 8px rgba(12, 124, 116, 0.10); }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.simple-card-head { justify-content: space-between; }
.card h2 { margin: 0 0 4px; font-size: 22px; }
.card .sub { color: var(--muted); font-size: 14px; }
.card-meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.area-chip { display: inline-block; font-size: 12px; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 6px; margin-top: 0; }
.distance-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--brand-strong); background: #eef7f5; padding: 2px 8px; border-radius: 999px; border: 1px solid #cfe8e3; }
.title-link { color: inherit; text-decoration: none; }
.title-link:hover { text-decoration: underline; }
.trust-corner { display: flex; align-items: center; justify-content: center; min-width: 34px; }
.trust-check { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; font-size: 16px; font-weight: 800; }
.trust-exact { background: #e4f7ef; color: var(--good); }
.trust-snapshot { background: #fff3db; color: var(--warn); }
.trust-manual { background: #e6f0fc; color: var(--info); }
.card-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.compact-links { margin-top: 8px; }
.menu-block { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.menu-title-wrap { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.menu-title { margin: 0; font-size: 14px; color: var(--muted); font-weight: 700; }
.menu-source { color: var(--muted); font-size: 12px; text-align: right; }
.menu-list { display: grid; gap: 9px; }
.detail-menu-list { margin-top: 12px; }
.menu-item { background: var(--bg); border-radius: 14px; padding: 12px; }
.menu-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.menu-item strong { display: inline-block; margin-bottom: 0; }
.menu-price { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: #eef7f5; color: var(--brand-strong); font-size: 12px; font-weight: 800; border: 1px solid #cfe8e3; }
.menu-item .text { color: var(--text); line-height: 1.45; }
.menu-price-note { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.menu-more-link { margin-top: 8px; font-size: 12px; line-height: 1.4; }
.menu-more-link a { color: var(--brand-strong); font-weight: 600; }
.notes { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.bottom-legend { margin-top: 16px; display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.compact-legend { display: block; }
.legend-item-inline { display: flex; align-items: center; gap: 10px; }
.legend-inline-short { color: var(--muted); font-size: 13px; }
.detail-compact-legend { margin-top: 12px; }
.site-footer { margin-top: 18px; padding: 8px 2px 0; color: var(--muted); font-size: 13px; text-align: center; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.feedback-cta-card { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feedback-cta-card h2 { margin: 0 0 4px; font-size: 18px; }
.feedback-cta-card p { margin: 0; color: var(--muted); font-size: 14px; }
.inline-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; padding: 16px; color: var(--muted); }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.2fr auto; align-items: end; }
  .weekday-tabs { grid-template-columns: repeat(7, 1fr); }
  .map-canvas { height: 420px; }
}




.report-card { border-radius: var(--radius); }
.report-context { display: grid; gap: 6px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); }
.report-form { display: grid; gap: 14px; }
.report-form label { display: grid; gap: 8px; }
.report-form label > span { font-weight: 700; color: var(--text); }
.report-form select, .report-form textarea, .report-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--text); padding: 12px 14px; outline: none; }
.report-form select:focus, .report-form textarea:focus, .report-form input:focus { border-color: #9ed6cf; box-shadow: 0 0 0 4px rgba(12, 124, 116, 0.10); }
.report-actions { display: flex; justify-content: flex-start; }
