@charset "UTF-8";
:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #203a31; background: #edf0e9; font-synthesis: none; -webkit-font-smoothing: antialiased;
  --ink: #203a31; --forest: #174638; --green: #256a51; --paper: #f7f7f1;
  --line: #e2e8df; --muted: #74877b; --coral: #d1785f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7cbaa0; outline-offset: 2px; }
.hidden { display: none !important; }
.workspace, .login-screen { width: min(100%, 680px); margin: 0 auto; }
.workspace { min-height: 100dvh; background: var(--paper); }
.topbar { height: 78px; padding: 8px 18px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand strong { display: block; color: #1b3348; font-size: 19px; letter-spacing: -.55px; line-height: 1.1; }
.profile-button { min-height: 38px; padding: 0 13px; border: 1px solid #e6c2ad; border-radius: 10px; background: #fff1e9; color: #a94e25; font-size: 12px; font-weight: 800; white-space: nowrap; }
.page { padding: 27px 18px calc(104px + env(safe-area-inset-bottom)); }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 2px 25px; }
.page-head h1 { margin: 6px 0 0; color: #183a2d; font-size: clamp(25px, 7vw, 34px); line-height: 1.18; letter-spacing: -1.1px; }
.eyebrow { margin: 0; color: #558069; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.total-pill { padding: 8px 11px; border: 1px solid #d5e4d7; border-radius: 30px; background: #eaf3e9; color: #39664a; font-size: 11px; font-weight: 750; white-space: nowrap; }
.search-box { display: flex; align-items: center; height: 57px; overflow: hidden; border: 1px solid #dbe5da; border-radius: 17px; background: #fff; box-shadow: 0 4px 16px #284c3610; }
.search-box:focus-within { border-color: #75af8d; box-shadow: 0 0 0 3px #dceee1; }
.search-icon { flex: none; margin: 0 12px 3px 17px; color: #4e8067; font-size: 29px; line-height: 1; }
.search-box input { width: 100%; height: 100%; padding: 0 12px 0 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search-box input::placeholder { color: #9eaaa0; }
.toolbar { display: flex; gap: 8px; margin: 12px 0 28px; }
.filter-button { min-width: 0; height: 41px; padding: 0 12px; border: 1px solid #dce6dc; border-radius: 11px; background: #fff; color: #3c6550; font-size: 12px; font-weight: 750; white-space: nowrap; }
.filter-button.selected { border-color: #8dbb9e; background: #e4f1e5; color: #205a3e; }
.toolbar select { flex: 1; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%233c6550' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 25px; }
.section-line { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 13px; }
.section-line h2 { margin: 0; font-size: 17px; letter-spacing: -.25px; }
.section-line span { color: #8b9b90; font-size: 11px; }
.shop-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; min-width: 0; }
.shop-card { position: relative; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; border: 1px solid #e2e8de; border-radius: 17px; background: #fff; box-shadow: 0 4px 16px #29482c0a; color: inherit; }
.card-main { position: relative; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; gap: 4px; width: 100%; min-width: 0; min-height: 169px; padding: 15px 14px 36px; border: 0; background: transparent; color: inherit; text-align: left; }
.card-main:active { background: #fafbf8; }
.card-copy { display: block; min-width: 0; padding-right: 5px; }
.card-title { display: -webkit-box; max-height: 2.75em; overflow: hidden; color: #1c3b2d; font-size: 16px; font-weight: 800; line-height: 1.35; letter-spacing: -.25px; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-address { display: -webkit-box; margin-top: 8px; overflow: hidden; color: #829286; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-category { position: absolute; z-index: 2; top: 12px; right: 13px; max-width: 95px; padding: 5px 8px; border: 1px solid #dfe8dc; border-radius: 6px; background: #f3f6f0; color: #5e7764; font-size: 10px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-review-count { position: absolute; bottom: 16px; left: 14px; color: #84958a; font-size: 11px; }
.card-location { position: absolute; z-index: 3; right: 12px; bottom: 9px; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; max-width: 58%; padding: 6px 9px; border: 1px solid #d9e8da; border-radius: 9px; background: #eef6ed; color: #397454; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.card-location:active { background: #dfefdf; }
.card-location.disabled { border-color: #e5ebe2; background: #f2f4ef; color: #95a297; }
.vote-circles { position: relative; justify-self: end; width: min(100%, 230px); min-width: 0; height: 120px; margin-top: 24px; --circle-cap: clamp(60px, 18vw, 90px); }
.vote-circles:not(:has(.vote-circle:nth-child(3))) { --circle-cap: clamp(74px, 22vw, 98px); }
.vote-circles:not(:has(.vote-circle:nth-child(2))) { --circle-cap: clamp(86px, 27vw, 108px); }
.vote-circle { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(var(--size, 68px), var(--circle-cap)); aspect-ratio: 1; padding: 2px; border: 2px solid currentColor; border-radius: 50%; background: #fff; text-align: center; line-height: 1.05; container-type: inline-size; }
.vote-circle span { display: block; max-width: 90%; font-size: 14px; font-weight: 900; letter-spacing: -.3px; text-align: center; overflow-wrap: normal; }
.vote-circle.publish_asap span { max-width: 44px; font-size: 11px; }
.vote-circle strong { display: block; margin-top: 2px; font-size: 8px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; opacity: .82; }
.vote-circle:first-child { left: 0; top: 4px; }
.vote-circle:nth-child(2) { right: 0; top: 34px; }
.vote-circles:has(.vote-circle:nth-child(3)) .vote-circle:first-child { left: 0; top: 39px; }
.vote-circles:has(.vote-circle:nth-child(3)) .vote-circle:nth-child(2) { left: 50%; right: auto; top: 0; transform: translateX(-50%); }
.vote-circles:has(.vote-circle:nth-child(3)) .vote-circle:nth-child(3) { right: 0; top: 39px; }
.vote-circles:not(:has(.vote-circle:nth-child(2))) .vote-circle:first-child { left: 50%; top: -5px; transform: translateX(-50%); }
.vote-circles:not(:has(.vote-circle:nth-child(2))) .vote-circle:not(.publish_asap) span { font-size: clamp(18px, 5vw, 22px); }
.vote-circles:not(:has(.vote-circle:nth-child(2))) .vote-circle.publish_asap span { max-width: 70px; font-size: clamp(12px, 3.2vw, 15px); }
.vote-circle.publish_asap { color: #398755; }
.vote-circle.accept { color: #253039; }
.vote-circle.reject { color: #c74f42; }
@container (max-width: 54px) {
  .vote-circle span { font-size: 10px; }
  .vote-circle.publish_asap span { font-size: 9px; }
}
.stat, .review-tier { font-weight: 750; }
.stat { padding: 6px 8px; border-radius: 7px; font-size: 10px; white-space: nowrap; }
.stat.publish_asap, .review-tier.publish_asap { background: #e1f1e5; color: #26714d; }
.stat.accept, .review-tier.accept { background: #fff0d8; color: #99671f; }
.stat.reject, .review-tier.reject { background: #fce8e2; color: #b35a46; }
.empty-state { padding: 39px 20px; border: 1px dashed #b8d1be; border-radius: 17px; background: #fff; color: #718678; font-size: 13px; line-height: 1.7; text-align: center; }
.empty-state strong { display: block; margin-bottom: 6px; color: #234c38; font-size: 17px; }
.bottom-nav { position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 680px); height: calc(72px + env(safe-area-inset-bottom)); padding: 5px 15px env(safe-area-inset-bottom); border-top: 1px solid #e1e9df; background: #fffefa; box-shadow: 0 -9px 26px #2640290d; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: transparent; color: #8ca094; font-size: 11px; font-weight: 800; }
.nav-item span { font-size: 24px; line-height: 1; font-weight: 400; }
.nav-item.active { color: #d9652c; }
.nav-item.active::after { content: ""; position: absolute; top: 2px; width: 18px; height: 3px; border-radius: 3px; background: #e98245; }
.review-form { display: grid; gap: 19px; padding: 22px 18px 24px; border: 1px solid #e3e9df; border-radius: 19px; background: #fff; box-shadow: 0 5px 18px #29482c0b; }
.review-form label { display: block; color: #2a4936; font-size: 13px; font-weight: 800; }
.review-form label > span, .tier-field legend span { color: var(--coral); }
.review-form input:not([type=radio]), .review-form select, .review-form textarea, .login-card input { display: block; width: 100%; min-height: 48px; margin-top: 9px; padding: 12px 13px; border: 1px solid #dce5dc; border-radius: 10px; outline: 0; background: #fcfdfa; color: var(--ink); font-size: 15px; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus, .login-card input:focus { border-color: #79b08f; box-shadow: 0 0 0 3px #e1f1e5; }
.review-form input:disabled, .review-form select:disabled { background: #f1f4ee; color: #68786b; }
.review-form textarea { min-height: 98px; resize: vertical; line-height: 1.55; }
.review-form input::placeholder, .review-form textarea::placeholder { color: #a8b2a7; }
.field-label { margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.field-label small { display: block; margin-top: 4px; color: #899b8e; font-size: 11px; font-weight: 500; line-height: 1.5; }
.secondary-button { display: inline-block; padding: 11px 14px; border: 1px solid #cde2d2; border-radius: 10px; background: #eaf3eb; color: #23613f; font-size: 12px; font-weight: 800; text-decoration: none; }
.location-picked { display: inline-block; margin-left: 10px; color: #528269; font-size: 11px; line-height: 1.5; }
.map-field .secondary-button { margin-bottom: 10px; }
.map-field .subtle-message { margin: 8px 0 0; }
.map-field .location-picked { display: block; margin: 4px 0 0; }
.map-field .location-picked:empty { display: none; }
.date-note { margin: -3px 0 0; padding: 11px 12px; border-radius: 9px; background: #f4f6f2; color: #687d70; font-size: 12px; line-height: 1.5; }
.tier-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.tier-field legend { margin-bottom: 10px; color: #2a4936; font-size: 13px; font-weight: 800; }
.tier-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.tier-option { position: relative; min-width: 0; cursor: pointer; }
.tier-option input { position: absolute; opacity: 0; pointer-events: none; }
.tier-option span { display: block; min-height: 65px; padding: 12px 3px 9px; border: 1px solid #dee7dc; border-radius: 10px; background: #fafbf8; color: #647a69; font-size: 12px; font-weight: 800; line-height: 1.25; text-align: center; transition: background .15s ease, border-color .15s ease; }
.tier-option small { display: block; margin-top: 5px; font-size: 9px; font-weight: 750; letter-spacing: .1px; opacity: .75; }
.tier-option input:focus-visible + span { outline: 3px solid #7cbaa0; outline-offset: 2px; }
.tier-option.good input:checked + span { border-color: #77b68b; background: #e4f3e6; color: #236e48; }
.tier-option.okay input:checked + span { border-color: #dbbb79; background: #fff1d7; color: #95641d; }
.tier-option.avoid input:checked + span { border-color: #e1a594; background: #fde9e3; color: #af5744; }
.identity-note { margin: 1px 0 0; padding: 12px 13px; border-left: 3px solid #91bd9a; border-radius: 0 9px 9px 0; background: #f3f8f1; color: #728574; font-size: 11px; line-height: 1.7; }
.identity-note strong { color: #286b49; }
.primary-button { width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 11px; background: #1b3c53; box-shadow: 0 7px 15px #1b3c5328; color: #fff; font-size: 14px; font-weight: 800; }
.primary-button:active { background: #122c40; }
.form-error { min-height: 0; margin: 0; color: #b85444; font-size: 12px; line-height: 1.5; }
.form-error:empty { display: none; }
.existing-shop { padding: 12px 13px; border: 1px solid #d6e9d6; border-radius: 10px; background: #ecf5e9; color: #34664b; font-size: 12px; }
.existing-shop button { float: right; border: 0; background: transparent; color: #247349; font-size: 11px; font-weight: 800; }
.sheet-backdrop { position: fixed; z-index: 40; inset: 0; display: flex; align-items: end; justify-content: center; background: #132c2599; backdrop-filter: blur(2px); }
.sheet { position: relative; width: min(100%, 680px); max-height: 91dvh; overflow: auto; padding: 10px 20px calc(27px + env(safe-area-inset-bottom)); border-radius: 23px 23px 0 0; background: #fffefa; box-shadow: 0 -12px 35px #10291b26; }
.sheet-handle { width: 39px; height: 4px; margin: 0 auto 22px; border-radius: 4px; background: #d7e0d6; }
.close-button { position: absolute; top: 13px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf2eb; color: #617969; font-size: 23px; line-height: 1; }
.detail-title { margin: 4px 44px 7px 0; color: #1b3d2d; font-size: 24px; letter-spacing: -.5px; line-height: 1.3; }
.detail-address { margin: 0 0 17px; color: #748a79; font-size: 12px; line-height: 1.6; }
.detail-actions { display: flex; gap: 9px; margin-bottom: 24px; }
.detail-actions button, .detail-actions a { flex: 1; text-align: center; }
.detail-subtitle { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid #e7ede4; color: #264633; font-size: 15px; }
.review-item { padding: 16px 0; border-bottom: 1px solid #edf0e9; }
.review-item:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.review-person { color: #244837; font-size: 13px; font-weight: 800; }
.review-date { color: #8b9a8d; font-size: 10px; white-space: nowrap; }
.review-tier { display: inline-block; margin: 9px 0 3px; padding: 5px 8px; border-radius: 6px; font-size: 10px; }
.review-comment { margin: 4px 0 0; color: #3e5a46; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.map-panel { margin: -9px 0 23px; overflow: hidden; border: 1px solid #dce7dc; border-radius: 14px; background: #e9eee6; }
.map-canvas { height: 250px; }
.map-fallback { padding: 19px; color: #667f6d; font-size: 12px; }
.map-sheet h2, .account-sheet h2 { margin: 0 0 8px; color: #20402e; font-size: 21px; }
.map-sheet > p { color: #748a79; font-size: 12px; line-height: 1.55; }
.map-sheet .secondary-button { margin: 3px 0 12px; }
.pick-map { height: clamp(210px, 34dvh, 280px); overflow: hidden; border: 1px solid #dce6dc; border-radius: 12px; background: #e7eee5; }
.subtle-message { margin: 10px 2px; color: #6f8975; font-size: 11px; line-height: 1.5; }
.account-sheet #account-name { font-size: 17px; font-weight: 800; }
.muted { color: #87978a; font-size: 12px; line-height: 1.5; }
.account-sheet .secondary-button { margin-top: 12px; }
.toast { position: fixed; z-index: 80; bottom: calc(84px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); max-width: 90vw; padding: 12px 16px; border-radius: 10px; background: #204836; box-shadow: 0 9px 28px #10271b35; color: #fff; font-size: 12px; white-space: nowrap; }
.login-screen { display: flex; flex-direction: column; min-height: 100dvh; background: #fff; }
.login-top { display: flex; flex-direction: column; align-items: center; flex: none; padding: max(9px, env(safe-area-inset-top)) 22px 14px; background: #fff; color: #1b3348; text-align: center; }
.login-top::after, .login-top::before { display: none; }
.login-logo { display: block; width: min(62vw, 250px); height: auto; margin: 0 auto; object-fit: contain; }
.login-top .eyebrow { color: #58756a; font-size: 9px; }
.login-top h1 { margin: 5px 0 2px; color: #1b3348; font-size: 26px; line-height: 1.1; letter-spacing: -.6px; }
.login-top > p:last-child { margin: 0; color: #687d83; font-size: 11px; line-height: 1.5; }
.login-card { display: grid; flex: 1; align-content: start; gap: 11px; padding: 22px 27px calc(23px + env(safe-area-inset-bottom)); border-top: 1px solid #e7eae6; border-radius: 22px 22px 0 0; background: #f8faf7; }
.login-card h1 { margin: 0 0 2px; color: #1b3348; font-size: 19px; line-height: 1.2; letter-spacing: -.25px; }
.login-card label { color: #345443; font-size: 12px; font-weight: 800; }
.login-card input { margin-top: 7px; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; align-items: end; gap: 10px; }
.captcha-image { height: 48px; padding: 3px; border: 1px solid #dce5dc; border-radius: 10px; background: #fff; }
.captcha-image img { width: 100%; height: 100%; object-fit: contain; }
.login-note { margin: -2px 0 0; color: #839487; font-size: 11px; line-height: 1.6; text-align: center; }
.leaflet-container { font-family: inherit; }
@media (max-width: 360px) {
  .page { padding-right: 14px; padding-left: 14px; }
  .filter-button { padding-right: 9px; padding-left: 9px; font-size: 11px; }
  .stat { font-size: 9px; padding: 6px 7px; }
  .review-form { padding-right: 15px; padding-left: 15px; }
  .tier-option span { font-size: 11px; }
  .tier-option small { font-size: 8px; }
}
@media (min-width: 700px) {
  .workspace, .login-screen { box-shadow: 0 0 44px #1e392019; }
  .bottom-nav { border-radius: 16px 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
