:root {
  --ink:#252c28;
  --muted:#778078;
  --orange:#ed6547;
  --orange-dark:#b9432d;
  --pale:#fff0e9;
  --line:#edf0eb;
  --green:#316d55;
  --shadow:0 6px 26px #22372d13;
  font-family:"Pretendard","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;
  color:var(--ink);
  font-size:14px;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:#f6f7f2
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer;
  color:inherit
}
button,a {
  touch-action:manipulation
}
button {
  border:0;
  background:none
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #337e65;
  outline-offset:3px
}
button:disabled {
  opacity:.4;
  cursor:default
}
button:active:not(:disabled) {
  transform:translateY(1px)
}
[hidden] {
  display:none!important
}
.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
.icon {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
.small {
  width:18px;
  height:18px
}
.tiny {
  width:14px;
  height:14px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.skip-link {
  position:fixed;
  top:-100px;
  left:10px;
  background:white;
  padding:15px;
  z-index:100
}
.skip-link:focus {
  top:10px
}
.app-shell {
  display:grid;
  grid-template-columns:82px 386px minmax(0,1fr);
  height:100vh;
  height:100dvh;
  overflow:hidden
}
.rail {
  background:#fbfcf9;
  border-right:1px solid #e7ebe4;
  display:flex;
  align-items:center;
  flex-direction:column;
  z-index:30
}
.brand-mark {
  height:46px;
  width:46px;
  margin:26px 0 37px;
  border-radius:16px;
  background:var(--orange);
  color:white;
  font-size:36px;
  font-weight:800;
  line-height:40px;
  text-align:center;
  letter-spacing:-3px
}
.brand-mark span {
  font-size:20px;
  vertical-align:top;
  position:relative;
  top:-6px
}
.rail-links {
  display:flex;
  flex-direction:column;
  gap:22px;
  width:100%;
  padding:0 8px
}
.nav-item {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#788078;
  font-size:11px;
  font-weight:600;
  padding:13px 3px;
  border-radius:14px;
  white-space:nowrap
}
.nav-item.active {
  color:var(--orange-dark);
  background:#fff0e8
}
.nav-item:hover {
  background:#f1f3ed
}
.nav-item i {
  position:absolute;
  right:8px;
  top:5px;
  background:var(--orange);
  color:white;
  border-radius:10px;
  min-width:16px;
  height:16px;
  line-height:16px;
  font-size:10px;
  font-style:normal
}
.rail-caption {
  margin-top:auto;
  margin-bottom:24px;
  font-size:10px;
  color:#929a91;
  line-height:1.8;
  text-align:center
}
.explore-panel {
  background:white;
  position:relative;
  z-index:20;
  display:flex;
  flex-direction:column;
  box-shadow:4px 0 20px #34452e08;
  min-height:0
}
.panel-head {
  padding:27px 27px 0
}
.wordmark {
  font-size:26px;
  font-weight:850;
  letter-spacing:-1.4px
}
.wordmark span {
  color:var(--orange)
}
.eyebrow {
  font-size:9px;
  letter-spacing:1.6px;
  font-weight:700;
  color:#939c92;
  margin-top:26px
}
.panel-head h1 {
  font-size:27px;
  letter-spacing:-1.4px;
  line-height:1.3;
  margin:9px 0
}
.subtitle {
  color:var(--muted);
  font-size:12px;
  margin:0 0 23px;
  letter-spacing:-.3px
}
.search-box {
  display:flex;
  align-items:center;
  gap:10px;
  background:#f6f7f3;
  border:1px solid #e9ede5;
  border-radius:11px;
  padding:3px 10px 3px 14px;
  height:47px
}
.search-box>.icon {
  color:#7a867a;
  width:18px
}
.search-box input {
  border:0;
  background:transparent;
  outline:0;
  min-width:0;
  flex:1;
  font-size:12px;
  height:100%;
  color:var(--ink)
}
.search-box:focus-within {
  border-color:var(--green)
}
.search-box button {
  display:flex;
  align-items:center;
  padding:7px
}
.location-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0 16px;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.location-line button {
  display:flex;
  align-items:center;
  gap:6px;
  padding:0
}
.location-line button>span {
  color:var(--muted)
}
.location-line .icon {
  color:var(--orange)
}
.preview-tag {
  background:#f3f5ef;
  color:#697363;
  border-radius:5px;
  padding:4px 7px;
  font-size:10px
}
.panel-scroll {
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#e1e5dd transparent
}
.recommendations {
  padding:20px 27px 18px
}
.context-card {
  padding:16px;
  background:#f1f7f1;
  border:1px solid #dce8dc;
  border-radius:16px;
  color:#203d2e
}
.weather-heading { min-width:0; }
#weather-location { display:block; font-size:17px; line-height:1.4; overflow-wrap:anywhere; }
.weather-date { display:flex; flex-wrap:wrap; gap:3px 10px; margin-top:5px; font-size:12px; line-height:1.5; color:#526556; }
.weather-date>span { white-space:nowrap; }
.weather-main { display:flex; align-items:center; gap:10px; min-height:78px; padding:12px 0; }
.context-card .weather-art {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 40px;
  width:40px;
  height:40px;
  color:#376448
}
.weather-art .icon { width:40px; height:40px; stroke-width:1.6; }
.weather-temperature { display:flex; align-items:baseline; gap:2px; font-size:46px; font-weight:800; letter-spacing:-1.5px; line-height:1.1; white-space:nowrap; }
#weather-unit { font-size:20px; font-weight:650; letter-spacing:0; }
#weather-summary { min-width:0; font-size:18px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; word-break:keep-all; }
.weather-unavailable #weather-summary { font-size:16px; }
.weather-details { display:flex; flex-wrap:wrap; gap:4px 12px; min-height:26px; padding-top:9px; border-top:1px solid #d7e4d7; font-size:12px; line-height:1.5; color:#526556; }
.weather-details>span:empty { display:none; }
.weather-unavailable { background:#f5f6f3; }
@media(max-width:400px) {
  .context-card { padding:14px; }
  .weather-temperature { font-size:40px; }
  .weather-main { gap:8px; }
}
.meal-times {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:14px 0 20px;
  background:#edf2eb;
  border-radius:12px;
  padding:4px;
  gap:4px
}
.meal-times button {
  min-height:44px;
  padding:8px 0;
  font-size:14px;
  color:#4f6052;
  border-radius:9px
}
.meal-times button[aria-pressed=true] {
  background:#265a40;
  color:#fff;
  font-weight:800;
  box-shadow:0 2px 5px #24301c1a
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:13px
}
.section-heading h2 {
  font-size:15px;
  margin:0;
  letter-spacing:-.5px
}
.section-heading h2>span {
  color:var(--orange);
  margin-left:5px;
  font-size:13px
}
.section-heading>button {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:10px;
  color:#81897e;
  padding:4px 0
}
.menu-options {
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:6px;
  min-width:0;
  max-width:100%;
  padding:6px
}
.menu-option {
  min-width:0;
  border:1px solid #edf0e9;
  border-radius:10px;
  padding:8px 12px;
  display:grid;
  grid-template-columns:28px minmax(0, 1fr) 20px;
  align-items:center;
  gap:10px;
  background:#fdfefa;
  text-align:left;
  font-size:15px;
  font-weight:750;
  line-height:1.45;
  overflow-wrap:anywhere;
  word-break:keep-all;
  min-height:60px
}
.menu-name { min-width:0; }
.menu-option[aria-pressed=true] {
  border-color:var(--orange);
  background:var(--pale);
  color:var(--orange-dark)
}
.menu-option[aria-pressed=true]:after {
  content:'✓';
  grid-column:3;
  background:var(--orange);
  color:white;
  border-radius:50%;
  font-size:12px;
  width:20px;
  height:20px;
  line-height:20px;
  text-align:center
}
.food-emoji {
  font-size:26px;
  line-height:30px;
  filter:saturate(.83)
}
.menu-reason {
  display:flex;
  gap:9px;
  align-items:flex-start;
  color:#304c39;
  background:#eff5ec;
  border:1px solid #d6e5ce;
  border-left:4px solid #54803b;
  padding:13px;
  border-radius:10px;
  font-size:15px;
  line-height:1.65;
  margin:12px 0 16px
}
.menu-reason .icon {
  color:#54803b;
  margin-top:3px
}
.menu-reason>div { min-width:0; }
.menu-reason-label { font-size:12px; color:#51664b; }
#menu-reason-text { margin:3px 0 0; overflow-wrap:anywhere; word-break:keep-all; }
#menu-reason-text>span { display:block; }
#menu-reason-text strong { color:#20432b; font-weight:800; }
#results-title { scroll-margin-top:12px; }
.filter-row {
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap
}
.filter-row>button,.radius-select {
  border:1px solid #e8ebe4;
  border-radius:18px;
  padding:7px 10px;
  font-size:11px;
  white-space:nowrap
}
.filter-row>button[aria-pressed=true] {
  background:var(--pale);
  color:var(--orange-dark);
  border-color:#f3b8a6
}
.radius-select {
  display:flex;
  align-items:center;
  padding:6px 8px;
  gap:2px
}
.radius-select select,.section-heading select {
  border:0;
  background:transparent;
  font-size:11px;
  color:#757e72;
  max-width:95px
}
.results {
  border-top:7px solid #f7f8f4;
  padding:20px 27px 2px
}
.results-note {
  font-size:10px;
  color:#8a9287;
  margin:-3px 0 16px
}
.restaurant-card {
  display:flex;
  gap:12px;
  position:relative;
  padding:16px 0;
  border-top:1px solid #f0f2ec
}
.restaurant-card.selected .place-name {
  color:var(--orange-dark)
}
.restaurant-card:first-child {
  border-top:0;
  padding-top:0
}
.restaurant-open {
  flex:1;
  min-width:0;
  text-align:left;
  padding:0
}
.restaurant-open:hover .place-name {
  text-decoration:underline;
  text-underline-offset:3px
}
.place-title {
  display:flex;
  gap:7px;
  align-items:center;
  margin:0 0 6px
}
.rank {
  border-radius:5px;
  background:#f2f4ed;
  color:#717d6b;
  font-size:10px;
  min-width:18px;
  height:18px;
  line-height:18px;
  text-align:center
}
.selected .rank {
  background:var(--orange);
  color:white
}
.place-name {
  font-size:14px;
  font-weight:750;
  letter-spacing:-.4px;
  overflow-wrap:anywhere
}
.place-meta {
  font-size:10px;
  color:#778172;
  margin:0 0 7px
}
.place-meta strong {
  color:#4b5849;
  font-weight:500
}
.place-address {
  font-size:10px;
  color:#91998c;
  margin:0 0 8px
}
.place-tags {
  display:flex;
  gap:5px;
  flex-wrap:wrap
}
.place-tags span {
  font-size:9px;
  color:#6d7a61;
  padding:4px 6px;
  background:#f3f6ee;
  border-radius:4px
}
.place-visual {
  width:69px;
  height:69px;
  border-radius:11px;
  background:#f4eddd;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:33px;
  align-self:center;
  flex-shrink:0
}
.place-visual.tone-1 {
  background:#e9efe5
}
.place-visual.tone-2 {
  background:#f4e8dc
}
.place-visual.photo-unavailable {
  flex-direction:column;
  gap:3px;
  color:#615e53;
  font-size:10px;
  line-height:14px
}
.photo-unavailable .icon {
  width:20px;
  height:20px
}
.place-media {
  position:relative;
  width:88px;
  height:88px;
  flex-shrink:0;
  align-self:flex-start
}
.place-media .place-visual {
  width:100%;
  height:100%;
  padding:50px 4px 4px;
  gap:0
}
.save-button {
  position:absolute;
  right:6px;
  top:6px;
  width:44px;
  height:44px;
  padding:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:var(--ink);
  isolation:isolate
}
.save-button::before {
  content:"";
  position:absolute;
  inset:2px;
  z-index:-1;
  border:1.5px solid #60675e;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 5px #252c282b
}
.save-button .icon {
  width:22px;
  height:22px;
  stroke-width:2.2
}
.save-button[aria-pressed=true] {
  color:#fff
}
.save-button[aria-pressed=true]::before {
  background:var(--orange-dark);
  border-color:var(--orange-dark)
}
.save-button[aria-pressed=true] .icon {
  fill:currentColor
}
.save-button:focus-visible {
  outline:3px solid var(--green);
  outline-offset:1px
}
.save-button:disabled {
  opacity:1;
  cursor:wait
}
.save-button.is-loading {
  gap:0
}
.save-button .loading-label {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.empty-state {
  text-align:center;
  color:#7d8878;
  padding:20px 0
}
.empty-state>.icon {
  margin:10px auto
}
.empty-state h3 {
  color:var(--ink);
  font-size:14px
}
.empty-state p {
  font-size:12px;
  line-height:1.8
}
.data-notice {
  font-size:9px;
  color:#969e91;
  line-height:1.8;
  padding:10px 27px 20px;
  margin:0
}
.map-area {
  position:relative;
  min-width:0;
  overflow:hidden;
  background:#eff1e9
}
.map-top {
  position:absolute;
  z-index:5;
  top:27px;
  left:28px;
  right:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  pointer-events:none
}
.map-location {
  display:flex;
  align-items:center;
  gap:9px;
  padding:14px 17px;
  background:#ffffffed;
  box-shadow:var(--shadow);
  border:1px solid #fffffff0;
  border-radius:11px;
  font-size:12px
}
.map-location>span:last-child {
  font-size:11px;
  color:#8d9687;
  border-left:1px solid #e3e8dc;
  padding-left:10px
}
.live-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#5f8b54
}
.preferences-button {
  display:flex;
  align-items:center;
  gap:8px;
  pointer-events:auto;
  background:white;
  border:1px solid #e7ebe2;
  border-radius:10px;
  padding:13px 15px;
  font-size:11px;
  box-shadow:var(--shadow)
}
.map-viewport {
  position:absolute;
  inset:0;
  overflow:hidden;
  cursor:grab;
  touch-action:none
}
.map-viewport.dragging {
  cursor:grabbing
}
.map-world {
  position:absolute;
  width:1200px;
  height:1000px;
  transform-origin:0 0;
  will-change:transform
}
.map-world>img {
  width:100%;
  height:100%;
  pointer-events:none;
  user-select:none
}
.map-marker {
  position:absolute;
  transform:translate(-50%,-100%);
  background:white;
  border:1px solid #e0e5da;
  border-radius:10px;
  padding:9px 12px;
  box-shadow:0 3px 10px #22372119;
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  font-size:11px;
  font-weight:650;
  z-index:2
}
.map-marker:after {
  content:'';
  position:absolute;
  bottom:-5px;
  left:50%;
  width:8px;
  height:8px;
  background:inherit;
  border-right:inherit;
  border-bottom:inherit;
  transform:translateX(-50%) rotate(45deg)
}
.map-marker .marker-rank {
  font-size:10px;
  color:#7c8872
}
.map-marker.selected {
  background:var(--orange);
  border-color:var(--orange);
  color:white;
  z-index:3;
  padding:12px 15px
}
.map-marker.selected .marker-rank {
  color:#ffe4d9
}
.map-marker:active:not(:disabled) {
  transform:translate(-50%,-100%)
}
.search-center {
  position:absolute;
  left:600px;
  top:500px;
  transform:translate(-50%,-50%);
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center
}
.search-center>span {
  width:15px;
  height:15px;
  background:#5591cf;
  border:3px solid white;
  border-radius:50%;
  box-shadow:0 0 0 10px #6299d124,0 2px 5px #365f8855
}
.search-center small {
  margin-top:10px;
  padding:3px 5px;
  background:#ffffffd9;
  color:#5f7a94;
  border-radius:4px;
  font-size:9px;
  white-space:nowrap
}
.map-hint {
  position:absolute;
  top:105px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
  font-size:11px;
  color:#728267;
  background:#ffffffbd;
  border:1px solid #ffffffbb;
  padding:10px 15px;
  border-radius:20px;
  pointer-events:none
}
.map-hint .icon {
  color:#b1975d
}
.search-area {
  position:absolute;
  left:50%;
  top:151px;
  transform:translateX(-50%);
  padding:12px 18px;
  background:white;
  border:1px solid #edece2;
  box-shadow:var(--shadow);
  border-radius:30px;
  display:flex;
  align-items:center;
  gap:7px;
  z-index:6;
  font-size:12px;
  font-weight:650;
  color:var(--orange-dark)
}
.search-area:active:not(:disabled) {
  transform:translateX(-50%)
}
.map-controls {
  position:absolute;
  right:25px;
  bottom:63px;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:4px;
  background:white;
  box-shadow:var(--shadow);
  border:1px solid #e2e7da;
  border-radius:11px;
  z-index:6
}
.map-controls button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:37px;
  font-size:24px;
  font-weight:300
}
.map-controls hr {
  width:22px;
  height:1px;
  border:0;
  background:var(--line);
  margin:2px
}
.map-footer {
  position:absolute;
  bottom:15px;
  left:24px;
  right:24px;
  display:flex;
  justify-content:space-between;
  color:#8f9986;
  font-size:9px;
  pointer-events:none
}
.place-detail {
  position:absolute;
  bottom:48px;
  left:26px;
  width:320px;
  max-width:calc(100% - 104px);
  background:white;
  border:1px solid #e7eade;
  box-shadow:0 8px 32px #2d402020;
  border-radius:17px;
  padding:21px;
  z-index:8
}
.detail-top {
  display:flex;
  align-items:center;
  gap:12px
}
.detail-top .place-visual {
  width:53px;
  height:53px;
  font-size:28px
}
.detail-top .photo-unavailable {
  font-size:9px
}
.detail-top h2 {
  font-size:17px;
  margin:6px 0
}
.detail-top p {
  font-size:10px;
  color:var(--muted);
  margin:0
}
.detail-close {
  position:absolute;
  top:8px;
  right:8px
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  min-height:36px;
  border-radius:50%
}
.icon-button:hover {
  background:#f3f5ed
}
.detail-description {
  font-size:11px;
  color:#7c8574;
  line-height:1.7;
  margin:15px 0
}
.detail-actions {
  display:flex;
  gap:8px
}
.primary-button,.secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 16px;
  border-radius:9px;
  font-size:12px;
  font-weight:650
}
.primary-button {
  background:var(--orange);
  color:white
}
.primary-button:hover {
  background:#d95336
}
.primary-button>span {
  margin-left:auto
}
.secondary-button {
  background:#f2f5ec;
  color:#66765a
}
.detail-actions>.primary-button {
  flex:1
}
.detail-links {
  display:flex;
  gap:8px;
  margin-top:10px
}
.detail-links a {
  flex:1;
  text-align:center;
  border:1px solid #e9ede2;
  padding:9px 5px;
  border-radius:7px;
  font-size:10px
}
.detail-links a:hover {
  background:#f7f8f3
}
.detail-disclaimer {
  font-size:9px;
  color:#939b8b;
  line-height:1.6;
  margin:11px 0 0
}
dialog {
  border:1px solid #e9ecdf;
  border-radius:21px;
  padding:28px;
  max-width:460px;
  width:calc(100% - 32px);
  color:var(--ink);
  box-shadow:0 20px 90px #182c2040
}
dialog::backdrop {
  background:#1c2c2166;
  backdrop-filter:blur(3px)
}
.dialog-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px
}
.dialog-heading .eyebrow {
  margin:0 0 9px;
  color:var(--orange)
}
.dialog-heading h2 {
  font-size:22px;
  letter-spacing:-.8px;
  margin:0
}
.dialog-description {
  font-size:12px;
  color:#7b8674;
  line-height:1.7;
  margin:17px 0 23px
}
fieldset {
  padding:0;
  border:0;
  margin:0 0 22px
}
legend {
  font-size:13px;
  font-weight:700;
  margin:0 0 12px
}
.choice-grid {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}
.choice-grid label {
  border:1px solid #e2e8db;
  display:flex;
  align-items:center;
  padding:10px;
  border-radius:8px;
  gap:6px;
  font-size:12px;
  cursor:pointer
}
.choice-grid label:has(:checked) {
  background:var(--pale);
  border-color:var(--orange);
  color:var(--orange-dark)
}
input[type=checkbox] {
  accent-color:var(--orange);
  margin:0
}
.help-text {
  font-size:11px;
  color:#828d7a;
  line-height:1.7
}
.storage-note {
  padding:11px;
  background:#f3f5ee;
  font-size:11px;
  color:#75816c;
  border-radius:8px;
  margin:20px 0 15px
}
#preferences-form>.primary-button {
  width:100%
}
.location-options {
  display:flex;
  flex-direction:column;
  gap:10px
}
.location-options button {
  display:flex;
  justify-content:space-between;
  gap:8px;
  background:#f7f8f3;
  border:1px solid #ebeee3;
  border-radius:10px;
  padding:16px;
  font-size:14px;
  font-weight:700
}
.location-options button:hover {
  border-color:var(--orange)
}
.location-options span {
  font-size:11px;
  font-weight:400;
  color:#8b947f
}
#toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  padding:14px 22px;
  border-radius:10px;
  background:#293e30;
  color:white;
  box-shadow:var(--shadow);
  font-size:12px;
  z-index:100;
  max-width:calc(100vw - 30px);
  text-align:center;
  line-height:1.6
}
.noscript {
  position:fixed;
  left:10px;
  bottom:10px;
  background:white;
  padding:20px;
  z-index:100
}
.mobile-top,#sheet-toggle {
  display:none
}
.history-date {
  font-size:9px;
  color:#8f9789;
  margin-top:6px
}
.list-remove {
  font-size:10px;
  color:#8b716b;
  margin-top:8px;
  padding:3px 0
}
.list-toolbar {
  padding:10px 0;
  text-align:right
}
.list-toolbar button {
  color:#7c8875;
  font-size:11px
}
@media(min-width:1500px) {
  .app-shell {
    grid-template-columns:88px 410px minmax(0,1fr)
  }
  .panel-head {
    padding:30px 30px 0
  }
  .recommendations {
    padding:23px 30px
  }
  .results {
    padding-left:30px;
    padding-right:30px
  }
  .panel-head h1 {
    font-size:30px
  }
}
@media(max-width:1100px) and (min-width:761px) {
  .app-shell {
    grid-template-columns:68px 350px minmax(0,1fr)
  }
  .panel-head {
    padding:22px 22px 0
  }
  .recommendations {
    padding:18px 22px
  }
  .results {
    padding-left:22px;
    padding-right:22px
  }
  .map-top {
    left:20px;
    right:20px
  }
  .map-location>span:last-child {
    display:none
  }
  .map-hint {
    max-width:90%;
    font-size:10px
  }
  .place-detail {
    left:15px;
    bottom:46px;
    max-width:calc(100% - 80px);
    padding:16px
  }
  .preferences-button {
    font-size:10px;
    padding:13px 10px
  }
  .map-footer>span:last-child {
    display:none
  }
}
@media(max-width:760px) {
  .app-shell {
    display:block;
    height:100dvh
  }
  .mobile-top {
    display:flex;
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:62px;
    background:#ffffffef;
    z-index:25;
    padding:0 20px;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #e8ecdf
  }
  .mobile-top .wordmark {
    font-size:24px
  }
  .rail {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:calc(62px + env(safe-area-inset-bottom));
    padding-bottom:env(safe-area-inset-bottom);
    border:0;
    border-top:1px solid #e9ecdf;
    background:#fff;
    z-index:40
  }
  .brand-mark,.rail-caption {
    display:none
  }
  .rail-links {
    height:100%;
    flex-direction:row;
    gap:0;
    padding:0 10px
  }
  .nav-item {
    flex:1;
    gap:4px;
    padding:8px 0 4px;
    border-radius:0;
    font-size:10px;
    justify-content:center
  }
  .nav-item.active {
    background:none;
    color:var(--orange-dark)
  }
  .nav-item .icon {
    height:21px;
    width:21px
  }
  .nav-item i {
    right:calc(50% - 21px);
    top:5px
  }
  .map-area {
    position:fixed;
    top:62px;
    left:0;
    right:0;
    bottom:62px
  }
  .map-top {
    top:15px;
    left:15px;
    right:15px
  }
  .map-location {
    padding:10px 12px;
    font-size:11px
  }
  .map-location>span:last-child,.preferences-button {
    display:none
  }
  .map-hint {
    top:65px;
    font-size:9px;
    padding:8px 11px;
    max-width:95%
  }
  .map-hint .icon {
    width:13px;
    height:13px
  }
  .map-controls {
    right:15px;
    top:116px;
    bottom:auto
  }
  .map-controls button {
    width:28px;
    height:32px
  }
  .map-footer {
    bottom:calc(40dvh + 14px);
    left:15px;
    font-size:8px
  }
  .map-footer>span:last-child {
    display:none
  }
  .search-area {
    top:105px;
    font-size:11px;
    padding:10px 12px
  }
  .explore-panel {
    position:fixed;
    bottom:calc(62px + env(safe-area-inset-bottom));
    left:0;
    right:0;
    height:40dvh;
    min-height:230px;
    border-radius:24px 24px 0 0;
    box-shadow:0 -4px 30px #2539231a;
    z-index:20;
    transition:height .25s ease
  }
  .explore-panel.expanded {
    height:calc(100dvh - 125px - env(safe-area-inset-bottom))
  }
  #sheet-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    width:100%;
    border-radius:24px 24px 0 0
  }
  #sheet-toggle span {
    width:35px;
    height:4px;
    border-radius:5px;
    background:#d8ded2
  }
  .panel-head {
    padding:0 20px
  }
  .desktop-brand,.panel-head>.eyebrow,.subtitle {
    display:none
  }
  .panel-head h1 {
    font-size:22px;
    margin:4px 0 13px
  }
  .search-box {
    height:42px
  }
  .location-line {
    padding:12px 0
  }
  .panel-scroll {
    min-height:0;
    flex:1
  }
  .recommendations {
    padding:15px 20px
  }
  .meal-times {
    margin:14px 0 17px
  }
  .results {
    padding:18px 20px 5px
  }
  .data-notice {
    padding:10px 20px 20px
  }
  .place-detail {
    position:fixed;
    left:12px;
    right:12px;
    bottom:calc(74px + env(safe-area-inset-bottom));
    width:auto;
    max-width:none;
    z-index:35;
    border-radius:18px;
    padding:21px
  }
  .place-detail {
    pointer-events:auto
  }
  .detail-top h2 {
    font-size:18px
  }
  #toast {
    bottom:calc(78px + env(safe-area-inset-bottom));
    width:max-content
  }
  dialog {
    padding:23px
  }
  .dialog-heading h2 {
    font-size:20px
  }
  .map-marker {
    font-size:10px;
    padding:8px
  }
  .map-marker.selected {
    padding:10px
  }
  .map-marker .marker-rank {
    font-size:9px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important
  }
}
/* 일반 노트북 높이에서도 첫 식당 후보가 보이도록 상단 밀도를 조정한다. */
@media(min-width:761px) and (max-height:850px) {
  .panel-head {
    padding-top:20px
  }
  .desktop-brand {
    font-size:24px
  }
  .panel-head>.eyebrow {
    margin-top:14px
  }
  .panel-head h1 {
    font-size:25px;
    margin:7px 0
  }
  .subtitle {
    margin-bottom:13px
  }
  .search-box {
    height:42px
  }
  .location-line {
    padding-top:12px;
    padding-bottom:12px
  }
  .recommendations {
    padding-top:15px;
    padding-bottom:13px
  }
  .meal-times {
    margin:13px 0 16px
  }
  .results {
    padding-top:16px
  }
  .section-heading {
    margin-bottom:11px
  }
}
.map-marker.primary {
  background:#fff5ed;
  border-color:#ed987d;
  color:#b84c30
}
.map-marker.primary .marker-rank {
  color:#c25e40
}
.map-location {
  pointer-events:auto
}
@media(max-width:760px) {
  .panel-head .search-box {
    position:relative;
    height:44px;
  }
  .panel-head .location-line {
    display:flex;
  }
  .panel-head h1 {
    margin-bottom:8px;
    font-size:21px
  }
  .map-top {
    top:72px
  }
  .map-hint {
    display:none
  }
  .explore-panel.expanded {
    height:calc(100dvh - 185px - env(safe-area-inset-bottom))
  }
  .recommendations {
    padding-top:9px
  }
  .meal-times {
    margin:10px 0 12px
  }
  .section-heading {
    margin-bottom:10px
  }
}
.app-shell {
  --rail-width:82px;
  --panel-width:386px
}
.place-detail {
  position:fixed;
  left:calc(var(--rail-width) + var(--panel-width) + 26px);
  max-width:calc(100vw - var(--rail-width) - var(--panel-width) - 104px);
  z-index:35
}
@media(min-width:1500px) {
  .app-shell {
    --rail-width:88px;
    --panel-width:410px
  }
}
@media(max-width:1100px) and (min-width:761px) {
  .app-shell {
    --rail-width:68px;
    --panel-width:350px
  }
  .place-detail {
    left:calc(var(--rail-width) + var(--panel-width) + 15px);
    max-width:calc(100vw - var(--rail-width) - var(--panel-width) - 80px)
  }
}
@media(max-width:760px) {
  .place-detail {
    left:12px;
    right:12px;
    max-width:none
  }
  .mobile-top .preview-tag {
    margin-left:auto;
    margin-right:10px
  }
  #sheet-toggle {
    touch-action:none
  }
}

/* 실제 지도 SDK의 좌표 배치와 출처 표기를 유지한다. */
#map-viewport { touch-action: auto; }
.map-area[data-map-state="error"] #map-viewport { visibility: hidden; }
.map-marker { position: relative; left: 0; top: 0; }
.current-location-dot { width: 18px; height: 18px; border: 3px solid white; border-radius: 50%; background: #397edb; box-shadow: 0 0 0 8px #397edb30; }
.map-status { position: absolute; z-index: 4; top: 135px; left: 18px; right: 70px; padding: 13px 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 12px; }
.search-status { font-size: 12px; line-height: 1.6; color: #5a6556; }
.search-box select { flex: 0 0 73px; width: 73px; border: 0; background: transparent; font-size: 11px; }
.search-box input { min-width: 0; }
#location-form { margin-top: 16px; }
#location-results { max-height: 40dvh; overflow: auto; }
@media(max-width: 760px) {
  /* 패널 뒤에 네이버 로고/저작권이 가려지지 않도록 지도 높이를 줄인다. */
  #map-viewport { bottom: 38dvh; }
  /* 검색창·지역 버튼 아래에 실패 안내와 재시도 공간을 확보한다. */
  .map-status { top: 115px; font-size: 11px; }
  .app-shell:has(.map-area:not([data-map-state="ready"])) .explore-panel.expanded {
    height: calc(100dvh - 350px - env(safe-area-inset-bottom));
  }
}

/* 날짜·날씨와 메뉴별 추천 근거 */
.context-card > div { min-width: 0; }
#weather-time { line-height: 1.5; overflow-wrap: anywhere; }
#recommendation-status { font-size: 12px; line-height: 1.6; margin: 12px 0 8px; color: #56624f; overflow-wrap: anywhere; }
#retry-recommendation { margin-bottom: 10px; font-size: 12px; }

/* Account entry points share a native modal with keyboard focus containment. */
#login-dialog { width: min(430px, calc(100vw - 32px)); }
#login-dialog h2 { font-size: 22px; line-height: 1.45; overflow-wrap: anywhere; }
.login-providers { display: grid; gap: 12px; margin: 20px 0; }
.login-provider { min-height: 48px; padding: 12px; border-radius: 12px; font-weight: 600; }
.login-provider small { margin-left: 8px; font-weight: 400; }
.login-provider.kakao { background: #fee500; color: #191919; }
.login-provider.google { background: #fff; color: #202124; border: 1px solid #dadce0; }
.login-provider.naver { background: #03c75a; color: #10291b; }
.login-provider:disabled { cursor: not-allowed; opacity: .65; }
#login-status { font-size: 13px; line-height: 1.6; }
.account-button { margin-top: auto; }
#account-dialog { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.account-info { display: grid; gap: 16px; margin: 20px 0; }
.account-info > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
.account-info dt { font-size: 13px; color: var(--muted, #6d7867); }
.account-info dd { margin: 0; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.account-info > div { align-items: center; }
.account-info[hidden], .account-photo[hidden] { display: none; }
.account-provider-logo { display: block; width: 32px; height: 32px; }
.account-photo { margin: 16px 0; }
.account-photo img { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }
.account-photo span { font-size: 13px; color: var(--muted, #6d7867); }
.mobile-account { min-height: 36px; padding: 4px 8px; font-size: 12px; white-space: nowrap; }
@media(max-width:760px) { .rail .account-button { display: none; } #login-dialog h2 { font-size: 20px; } }

.condition-control{display:flex;align-items:center;gap:12px;margin:12px 0;font-size:14px;font-weight:600}.condition-control select{min-width:140px;max-width:65%;padding:8px;border:1px solid #d9dfd9;border-radius:8px;background:white}.catalog-disclosure{margin:12px 0;font-size:12px;line-height:1.6;color:#536058}.catalog-disclosure summary{cursor:pointer}.catalog-disclosure p{margin:8px 0}.catalog-disclosure a{color:#246249;overflow-wrap:anywhere}

.loading-status { font-size: 12px; line-height: 1.6; color: #56624f; overflow-wrap: anywhere; }
.loading-status:empty { display: none; }
.is-loading { display: flex; align-items: center; gap: 8px; }
.loading-spinner { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; box-sizing: border-box; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: loading-spin .8s linear infinite; }
.loading-label { min-width: 0; overflow-wrap: anywhere; }
.personal-status { margin: 8px 24px; }
button[aria-busy="true"] { cursor: progress; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-spinner { animation: none; } }

/* Keep each pending indicator in the space occupied by its own list. */
.list-region { min-width: 0; }
.list-region.list-pending { display: grid; grid-template-columns: minmax(0, 1fr); }
.list-region.list-pending > * { grid-area: 1 / 1; }
.menu-list-region.list-pending { min-height: 336px; }
.restaurant-list-region.list-pending { min-height: 200px; }
#recommendation-status.list-loading, #search-status.list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px;
  padding: 24px 16px;
  border: 1px solid #d6e5ce;
  border-radius: 12px;
  background: #f5f8f1;
  color: #304c39;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
  text-align: center;
}
.list-loading .loading-spinner { flex: 0 0 28px; width: 28px; height: 28px; border-width: 3px; }

/* A single drawer control stays reachable while its contents retain their state. */
.drawer-content { display:flex; flex-direction:column; flex:1; min-height:0; min-width:0; }
.drawer-content .panel-scroll { flex:1; min-height:0; }
#sheet-toggle { position:absolute; z-index:2; top:calc(50% - 22px); right:-22px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; padding:0; border:1px solid #cbdccf; border-radius:50%; background:#fff; color:var(--green); box-shadow:0 3px 12px #22372d24; }
/* Hide labels from cached templates before the module removes them. */
#sheet-toggle > strong, #sheet-toggle > .drawer-action { display:none; }
#sheet-toggle:hover { background:#edf5ed; border-color:var(--green); }
#sheet-toggle:focus-visible { outline:3px solid var(--green); outline-offset:3px; }
#sheet-toggle:active { transform:none; background:#dfeddf; }
#sheet-toggle .icon { width:24px; height:24px; stroke-width:2.2; transform:rotate(180deg); pointer-events:none; }
.panel-head { padding:12px 20px 0; }
.panel-head h1.sr-only { margin:0; }
.location-line { padding:8px 0; }
.location-line button { min-height:32px; }
.recommendations { padding:14px 20px; }
.context-card { padding:14px; border-radius:12px; }
.weather-main { padding:8px 0; }
.meal-times { margin:12px 0; }
.meal-times button { min-height:44px; }
.condition-control { margin:12px 0 4px; justify-content:space-between; }
.condition-control select { min-height:44px; }
.condition-control + .help-text { margin:4px 0 10px; font-size:12px; }
.menu-reason { padding:12px; margin:10px 0; border-left-width:3px; border-radius:10px; }
.menu-reason-label { font-size:12px; }
.results { padding:16px 20px; border-top:1px solid var(--line); }
.data-notice { padding:10px 20px 20px; }
#reroll { min-height:44px; padding:6px 10px; border:1px solid var(--line); border-radius:8px; color:var(--green); }
@media(min-width:761px) {
  .app-shell { --drawer-width:var(--panel-width); grid-template-columns:var(--rail-width) var(--drawer-width) minmax(0,1fr); }
  .app-shell.drawer-collapsed { --drawer-width:30px; }
  .drawer-collapsed #sheet-toggle .icon { transform:none; }
  .place-detail { left:calc(var(--rail-width) + var(--drawer-width) + 32px); max-width:calc(100vw - var(--rail-width) - var(--drawer-width) - 104px); }
}
@media(max-width:760px) {
  .explore-panel { height:30px; min-height:30px; border-radius:16px 16px 0 0; transition:none; }
  .explore-panel.expanded,
  .app-shell:has(.map-area:not([data-map-state="ready"])) .explore-panel.expanded {
    height:calc(100dvh - 154px - env(safe-area-inset-bottom));
  }
  #sheet-toggle { top:-22px; left:calc(50% - 22px); right:auto; }
  #sheet-toggle .icon { transform:rotate(90deg); }
  .drawer-collapsed #sheet-toggle .icon { transform:rotate(-90deg); }
  .panel-head { padding:28px 16px 0; }
  .recommendations { padding:12px 16px; }
  .results { padding:16px; }
  #map-viewport { bottom:calc(100dvh - 154px - env(safe-area-inset-bottom)); }
  .drawer-collapsed #map-viewport { bottom:30px; }
}
