/* src/presentation/styles/tokens.css */
:root {
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #151515;
  background: #eef0ef;
  --foreground: #151515;
  --surface: #f9f9f9;
  --border: rgba(21, 21, 21, 0.09);
  --muted: rgba(21, 21, 21, 0.55);
  --green: #1a9e1d;
  --deep-green: #083733;
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  min-height: 100%;
  margin: 0;
}
body {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef0ef;
}
button,
a {
  font: inherit;
  -webkit-user-select: none;
  user-select: none;
}
button {
  border: 0;
  cursor: pointer;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* src/presentation/styles/chat.css */
.shell {
  width: min(100%, 760px);
  height: 100dvh;
  display: grid;
  grid-template-rows: max-content minmax(0, 1fr) max-content;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(9, 37, 29, 0.08);
}
.chat-header {
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  min-height: calc(76px + env(safe-area-inset-top));
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.chat-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  line-height: 30px;
  text-align: center;
}
.round-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: var(--foreground);
  background: #fafafa;
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}
.round-button:last-child {
  justify-self: end;
}
.round-button:active,
.composer-action:active {
  opacity: 0.72;
  transform: scale(0.96);
}
.round-button svg,
.composer-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.round-button--quiet svg {
  fill: currentColor;
  stroke: none;
}
.messages {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 16px 28px;
  background: #fff;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.day-label {
  align-self: center;
  margin: 0 0 20px;
  color: rgba(21, 21, 21, 0.38);
  font-size: 11px;
  font-weight: 550;
  line-height: 14px;
}
.message-row {
  width: fit-content;
  max-width: min(calc(100% - 32px), 520px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
  animation: message-in 280ms var(--ease-out-strong) both;
}
.message-row--user {
  align-self: flex-end;
  align-items: flex-end;
}
.message-row--agent {
  align-self: flex-start;
  align-items: flex-start;
}
.message {
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 24px;
  font-size: 15.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.message--user {
  padding-right: 4px;
  border-bottom-right-radius: 6px;
  color: #222;
  background: transparent;
}
.message--agent {
  border-bottom-left-radius: 6px;
  background: var(--surface);
}
.message-row--place {
  width: min(100%, 410px);
  max-width: 100%;
  margin-top: 4px;
}
.agent-mark {
  width: 36px;
  height: 32px;
  margin-left: 4px;
  overflow: visible;
}
.agent-mark svg {
  width: 23px;
  height: 31px;
  overflow: visible;
}
.mascot-body {
  transform-origin: 23.5px 61px;
  animation: mascot-float 3s ease-in-out infinite;
}
.composer {
  z-index: 2;
  padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(21, 21, 21, 0.05);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.input-row {
  min-height: 52px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 32px;
  background: var(--surface);
}
.composer-input {
  min-width: 0;
  flex: 1;
  padding: 0 2px;
  border: 0;
  outline: 0;
  color: var(--foreground);
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  line-height: 24px;
}
.composer-input::placeholder {
  color: rgba(21, 21, 21, 0.35);
}
.composer-input:disabled {
  opacity: 0.62;
}
.composer-action {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: rgba(21, 21, 21, 0.5);
  background: transparent;
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}
.composer-action--primary {
  color: #fff;
  background: var(--foreground);
}
.composer-action--primary svg {
  transform: rotate(-90deg);
}
.composer-action:disabled {
  cursor: default;
  opacity: 0.45;
}
@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes mascot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}
@media (min-width: 700px) {
  .shell {
    border-right: 1px solid rgba(21, 21, 21, 0.08);
    border-left: 1px solid rgba(21, 21, 21, 0.08);
  }
}
@media (max-width: 390px) {
  .messages {
    padding-right: 12px;
    padding-left: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .message-row,
  .mascot-body {
    animation: none;
  }
}

/* src/presentation/styles/place-card.css */
place-card {
  width: 100%;
  display: block;
}
.place-card-list {
  width: 100%;
  display: grid;
  gap: 10px;
}
.place-card-skeleton {
  width: 100%;
  height: 258px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      100deg,
      #f4f4f4 20%,
      #fafafa 38%,
      #f4f4f4 56%);
  background-size: 200% 100%;
  animation: place-card-shimmer 1.2s ease-in-out infinite;
}
.place-card-error {
  width: 100%;
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  color: #7f1d1d;
  background: #fff1f1;
  font-size: 14px;
}
.place-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fbfbfb;
  box-shadow: 0 8px 28px rgba(8, 55, 51, 0.07);
}
.place-card__source-bar {
  min-height: 34px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.06);
  color: var(--deep-green);
  background: #f2f7ee;
}
.place-card__source-bar > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 13px;
}
.place-card__source-bar strong {
  font-size: 11.5px;
  line-height: 15px;
}
.place-card__content {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.place-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.place-card__category {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 550;
  line-height: 15px;
}
.place-card h2 {
  margin: 0;
  color: #222;
  font-size: 18px;
  font-weight: 720;
  line-height: 22px;
  letter-spacing: -0.02em;
}
.rating {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px 7px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  line-height: 17px;
}
.rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.place-card__reviews,
.place-card__address,
.place-card__notice,
.place-card__observed {
  margin: 0;
}
.place-card__reviews {
  margin-top: -5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.place-card__address {
  color: rgba(21, 21, 21, 0.82);
  font-size: 13px;
  font-weight: 560;
  line-height: 19px;
}
.place-card__award {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #f2f7ee;
}
.place-card__award span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 14px;
}
.place-card__award strong {
  color: var(--deep-green);
  font-size: 13px;
  line-height: 17px;
}
.place-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.place-card__fact {
  min-height: 25px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  color: rgba(21, 21, 21, 0.72);
  background: #efefef;
  font-size: 10.5px;
  font-weight: 610;
  line-height: 15px;
}
.place-card__fact svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.place-card__price {
  min-height: 38px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f0f5ed;
}
.place-card__price span {
  color: rgba(21, 21, 21, 0.52);
  font-size: 10px;
  line-height: 14px;
}
.place-card__price strong {
  color: #222;
  font-size: 16px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.place-card__notice {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: 11px;
  color: #795a16;
  background: #fff8e7;
  font-size: 11px;
  line-height: 15px;
}
.place-card__notice svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.place-card__more {
  overflow: hidden;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: 13px;
  background: #fff;
}
.place-card__more summary {
  min-height: 42px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.place-card__more summary::-webkit-details-marker {
  display: none;
}
.place-card__more summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
  border-radius: 14px;
}
.place-card__more summary > span {
  display: grid;
  gap: 1px;
}
.place-card__more summary strong {
  color: rgba(21, 21, 21, 0.84);
  font-size: 12px;
  line-height: 17px;
}
.place-card__more summary small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 14px;
}
.place-card__more summary > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: rgba(21, 21, 21, 0.55);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease-out;
}
.place-card__more[open] summary > svg {
  transform: rotate(180deg);
}
.place-card__more-content {
  display: grid;
  gap: 12px;
  padding: 11px;
  border-top: 1px solid rgba(21, 21, 21, 0.07);
}
.place-card__rating-detail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #f2f7ee;
}
.place-card__rating-detail span,
.place-card__rating-detail strong {
  color: var(--deep-green);
  font-size: 11px;
  line-height: 15px;
}
.place-card__rating-detail strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.place-card__more-group {
  display: grid;
  gap: 6px;
}
.place-card__more-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 14px;
}
.place-card__more-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.place-card__more-item {
  min-height: 25px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 9px;
  color: rgba(21, 21, 21, 0.72);
  background: #f1f1f1;
  font-size: 10.5px;
  font-weight: 560;
  line-height: 14px;
  text-decoration: none;
}
.place-card__more-item--link {
  color: var(--deep-green);
  background: #edf5ec;
}
.place-card__more-item--link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.place-card__more-item--link:hover {
  text-decoration: underline;
}
.place-card__technical {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.place-card__technical div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border: 1px solid rgba(21, 21, 21, 0.07);
  border-radius: 13px;
  background: #fff;
}
.place-card__technical dt {
  color: var(--muted);
  font-size: 10px;
  line-height: 13px;
}
.place-card__technical dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(21, 21, 21, 0.75);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-card__action {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  color: #fff;
  background: #313131;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  transition: background 150ms ease-out, transform 150ms ease-out;
}
.place-card__action:hover {
  background: #000;
}
.place-card__action:active {
  transform: scale(0.985);
}
.place-card__action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.place-card__observed {
  color: rgba(21, 21, 21, 0.42);
  font-size: 10.5px;
  line-height: 14px;
  text-align: center;
}
@keyframes place-card-shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 390px) {
  .place-card__content {
    padding-right: 12px;
    padding-left: 12px;
  }
}
