:root {
  --green:#215c45;
  --dark:#203c30;
  --muted:#718074;
  --line:#e4e8df;
  --paper:#fafbf6;
  --scale:1
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:#e9eee7;
  color:var(--dark);
  font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;
  font-size:calc(16px * var(--scale));
  line-height:1.6
}
button,input {
  font:inherit
}
button {
  cursor:pointer;
  color:inherit
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible {
  outline:3px solid #b99232;
  outline-offset:4px
}
button {
  border:0
}
a {
  color:var(--green)
}
.app {
  max-width:480px;
  margin:32px auto;
  background:var(--paper);
  min-height:calc(100dvh - 64px);
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 20px 80px #29422b16;
  position:relative;
  padding-bottom:16px
}
.hero {
  position:relative;
  overflow:hidden;
  padding:25px 25px 29px;
  background:var(--green);
  color:#fff
}
.hero:after {
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border:1px solid #ffffff13;
  border-radius:50%;
  right:-115px;
  top:48px;
  box-shadow:0 0 0 28px #ffffff05,0 0 0 58px #ffffff04;
  pointer-events:none
}
.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:relative;
  z-index:1
}
.brand {
  font-weight:700;
  letter-spacing:1px;
  font-size:1.125em;
  display:flex;
  align-items:center;
  gap:9px
}
.brand-mark {
  font-size:24px;
  line-height:1;
  color:#d7e6a7
}
.font-button {
  display:flex;
  align-items:center;
  gap:5px;
  border:1px solid #ffffff35;
  background:#ffffff0b;
  color:#fff;
  border-radius:20px;
  padding:5px 10px;
  font-size:.75em;
  min-height:36px
}
.font-button strong {
  font-size:16px
}
.location {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.8125em;
  color:#f0f5ec;
  margin:24px 0 18px;
  max-width:100%;
}
.hero h1 {
  font-size:2em;
  line-height:1.4;
  letter-spacing:1px;
  margin:0;
  font-weight:650
}
.hero .intro {
  color:#d5e3d8;
  font-size:.875em;
  margin:8px 0 23px
}
.search {
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 7px 6px 15px;
  background:#fff;
  border-radius:14px;
  position:relative;
  z-index:1;
  box-shadow:0 6px 18px #143c281c
}
.search-icon {
  width:15px;
  height:15px;
  border:1.7px solid #8a978e;
  border-radius:50%;
  position:relative;
  flex:none;
  margin-right:3px
}
.search-icon:after {
  content:"";
  width:6px;
  height:2px;
  background:#8a978e;
  position:absolute;
  right:-5px;
  bottom:-3px;
  transform:rotate(45deg)
}
.search input {
  width:100%;
  min-width:0;
  background:none;
  border:0;
  outline:0;
  color:var(--dark);
  font-size:.875em;
  padding:9px 0
}
.search input::placeholder {
  color:#929c94
}
.search button {
  flex:none;
  background:#ecf2e8;
  color:var(--green);
  padding:9px 12px;
  border-radius:9px;
  font-size:.8125em;
  font-weight:650;
  min-height:42px
}
main {
  padding:26px 23px
}
.section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:13px
}
.section-title h2 {
  margin:0;
  font-size:1.125em;
  font-weight:700;
  letter-spacing:.3px
}
.section-title .hint {
  font-size:.75em;
  color:var(--muted)
}
.quick-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.quick {
  padding:18px 15px 16px;
  text-align:left;
  border-radius:16px;
  border:1px solid #dde6d6;
  background:#edf2e5;
  position:relative;
  min-width:0;
  transition:transform .15s,box-shadow .15s
}
.quick:nth-child(2) {
  background:#f4eee1;
  border-color:#eae2d2
}
.quick:hover {
  transform:translateY(-2px);
  box-shadow:0 5px 14px #24442b0c
}
.quick-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  background:#fff9;
  border-radius:10px;
  color:#426143;
  font-size:20px;
  margin-bottom:11px
}
.quick:nth-child(2) .quick-icon {
  color:#9a783b
}
.quick strong {
  display:block;
  font-size:1.0625em;
  font-weight:700
}
.quick small {
  display:block;
  color:#73806e;
  font-size:.75em;
  margin-top:3px
}
.quick .arrow {
  position:absolute;
  right:15px;
  top:21px;
  color:#83917b;
  font-size:20px
}
.questions {
  margin-top:28px
}
.all-button {
  padding:4px 0;
  background:none;
  font-size:.75em;
  color:var(--green);
  min-height:32px
}
.faq-list {
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:0 17px;
  overflow:hidden
}
details+details {
  border-top:1px solid var(--line)
}
summary {
  display:flex;
  align-items:center;
  gap:10px;
  list-style:none;
  cursor:pointer;
  padding:18px 0;
  font-size:.9375em;
  font-weight:550;
  line-height:1.65
}
summary::-webkit-details-marker {
  display:none
}
.q-dot {
  width:6px;
  height:6px;
  background:#9eb580;
  border-radius:50%;
  flex:none
}
.chevron {
  margin-left:auto;
  width:7px;
  height:7px;
  border-right:1.5px solid #8c998e;
  border-bottom:1.5px solid #8c998e;
  transform:rotate(45deg);
  flex:none;
  transition:transform .15s
}
details[open] .chevron {
  transform:rotate(225deg)
}
details[open] summary {
  color:var(--green);
  padding-bottom:10px
}
.answer {
  padding:0 0 17px 16px;
  font-size:.875em;
  color:#5b6d60;
  line-height:1.85
}
.answer p {
  margin:0 0 9px
}
.answer strong {
  color:var(--green);
  font-size:1.15em
}
.source {
  font-size:.8em;
  color:#7c887e;
  border-left:2px solid #d5e1c9;
  padding-left:9px;
  line-height:1.8
}
.pending {
  display:block;
  color:#926f39;
  margin-top:4px
}
.empty {
  padding:24px 4px;
  color:var(--muted);
  font-size:.875em
}
.trust {
  display:flex;
  justify-content:center;
  gap:7px;
  align-items:center;
  margin:23px 0 0;
  font-size:.6875em;
  color:#879282
}
.trust-mark {
  width:14px;
  height:16px;
  border:1.3px solid #8d9f83;
  border-radius:5px 5px 7px 7px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:9px
}
.voice-dock {
  position:relative;
  z-index:1;
  margin-top:14px;
  text-align:center
}
.voice {
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  min-height:58px;
  border-radius:14px;
  background:#e5edce;
  color:#234f39;
  font-size:1em;
  font-weight:600;
  box-shadow:0 6px 16px #143c281c;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none
}
.voice:active,.voice.holding {
  background:#ceddb3;
  transform:translateY(1px)
}
.mic {
  width:11px;
  height:18px;
  border:1.8px solid currentColor;
  border-radius:7px;
  position:relative;
  margin-right:3px
}
.mic:before {
  content:"";
  position:absolute;
  inset:5px -6px -6px;
  border:1.6px solid currentColor;
  border-top:0;
  border-radius:0 0 10px 10px
}
.mic:after {
  content:"";
  position:absolute;
  bottom:-10px;
  left:3px;
  width:2px;
  height:5px;
  background:currentColor
}
.voice-caption {
  font-size:.6875em;
  color:#d5e3d8;
  margin:9px 0 0
}
.modal {
  border:0;
  padding:0;
  border-radius:23px;
  max-width:390px;
  width:calc(100% - 36px);
  color:var(--dark);
  box-shadow:0 22px 100px #162f3030
}
.modal::backdrop {
  background:#142c2266;
  backdrop-filter:blur(4px)
}
.modal-body {
  padding:25px
}
.modal h2 {
  font-size:1.3em;
  margin:0 0 10px
}
.modal p {
  color:#6d7c70;
  font-size:.9em
}
.modal-actions {
  display:grid;
  gap:9px;
  margin-top:20px
}
.modal-actions button {
  padding:12px 15px;
  background:#eef3e8;
  border-radius:10px;
  text-align:left;
  color:var(--green)
}
.modal-actions .close {
  background:var(--green);
  color:#fff;
  text-align:center
}
.modal-actions .secondary {
  background:none;
  color:#758072;
  text-align:center
}
.demo-label {
  display:inline-block;
  font-size:.7em;
  color:#8a7546;
  background:#f6f0df;
  padding:3px 8px;
  border-radius:5px;
  margin-bottom:12px
}
body.large {
  --scale:1.4
}
[hidden] {
  display:none!important
}
@media(max-width:520px) {
  body {
    background:var(--paper)
  }
  .app {
    margin:0;
    border-radius:0;
    min-height:100dvh;
    box-shadow:none
  }
}
@media(min-width:700px) {
  .app {
    border:1px solid #dce3d8
  }
  .hero {
    padding-top:29px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important
  }
}
.location-button {
  background:#ffffff0d;
  border:1px solid #ffffff24;
  border-radius:24px;
  padding:8px 13px;
  text-align:left;
  position:relative;
  z-index:1;
  min-height:42px;
  transition:background .18s,border-color .18s;
}
.location-button:hover {
  background:#ffffff18;
  border-color:#ffffff45;
}
.location-button:active {
  background:#ffffff24;
}
.location-icon {
  position:relative;
  width:13px;
  height:16px;
  flex:none;
  border:1.5px solid #dce9c5;
  border-radius:9px 9px 9px 1px;
  transform:rotate(-45deg) scale(.85);
}
.location-icon::after {
  content:"";
  position:absolute;
  width:4px;
  height:4px;
  border:1.2px solid #dce9c5;
  border-radius:50%;
  left:3px;
  top:4px;
}
#locationLabel {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width:0;
  font-weight:500;
  letter-spacing:.2px;
}
.location-action {
  border-left:1px solid #ffffff26;
  padding-left:10px;
  font-size:.9em;
  color:#c2d2bd;
  flex:none;
}
.location-arrow {
  width:6px;
  height:6px;
  flex:none;
  border-right:1.4px solid #cbdac5;
  border-bottom:1.4px solid #cbdac5;
  transform:translateY(-2px) rotate(45deg);
}
.location-button[data-state="idle"] .location-action,
.location-button[data-state="locating"] .location-action {
  display:none;
}
.location-button[data-state="locating"] .location-icon {
  width:14px;
  height:14px;
  border-radius:50%;
  border-color:#ffffff30;
  border-top-color:#dce9c5;
  animation:location-spin 1s linear infinite;
}
.location-button[data-state="locating"] .location-icon::after {
  display:none;
}
@keyframes location-spin {
  to { transform:rotate(315deg); }
}
.location-input {
  width:100%;
  padding:12px;
  border:1px solid #cbd7c2;
  border-radius:10px;
  font:inherit;
  color:var(--dark)
}
.coverage {
  font-size:.75em;
  color:#879282;
  margin:15px 0 0
}
.geo-attribution {
  font-size:.7em;
  color:#879282
}
.connection {
  margin:13px 0 0;
  color:#d5e3d8;
  font-size:.75em;
  position:relative;
  z-index:1
}
.connection.ready {
  color:#e5edce
}
.chat {
  padding:24px 23px 0
}
.chat-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px
}
.chat-heading h2 {
  font-size:1.125em;
  margin:0
}
.text-button {
  background:none;
  color:var(--green);
  padding:6px;
  font-size:.8em;
  min-height:36px
}
.messages {
  display:grid;
  gap:14px
}
.message {
  min-width:0
}
.message.user {
  background:#e9efdf;
  margin-left:35px;
  border-radius:15px 15px 3px 15px;
  padding:12px 15px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.message.assistant {
  background:white;
  border:1px solid var(--line);
  padding:17px;
  border-radius:4px 16px 16px 16px
}
.message p {
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:.9375em;
  line-height:1.9
}
.message .message-label {
  font-size:.7em;
  color:#80917e;
  margin-bottom:8px
}
.message.notice {
  border-color:#e7dfcd;
  background:#fbf8ef
}
.source-button {
  display:block;
  width:100%;
  text-align:left;
  border:1px solid #e2e8db;
  border-radius:10px;
  background:#f7f9f2;
  margin-top:10px;
  padding:10px 12px;
  font-size:.8em;
  line-height:1.7
}
.source-button small {
  display:block;
  color:var(--muted);
  margin-top:3px
}
.message-toolbar {
  display:flex;
  gap:8px;
  margin-top:10px
}
.policy-details {
  font-size:.875em
}
.policy-details p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:10px 0;
  color:#526759
}
.policy-details h3 {
  font-size:1em;
  margin:20px 0 7px
}
.policy-details ul {
  padding-left:20px;
  color:#526759;
  line-height:1.85
}
.policy-details a {
  display:block;
  margin:8px 0;
  overflow-wrap:anywhere
}
.policy-details .status {
  color:#92743a
}
.detail-dialog {
  max-width:450px;
  max-height:85dvh
}
.detail-dialog .modal-body {
  max-height:85dvh;
  overflow-y:auto
}
.answer button {
  display:block;
  margin-top:10px;
  font-size:.9em;
  color:var(--green);
  background:#edf3e6;
  border-radius:8px;
  padding:8px 12px
}
.voice.recording {
  background:#edd5b3;
  color:#654b2f
}
.review-input {
  width:100%;
  min-height:110px;
  padding:12px;
  border:1px solid #cbd7c2;
  border-radius:10px;
  font:inherit;
  color:var(--dark);
  resize:vertical
}
.policy-filter {
  display:flex;
  gap:8px;
  margin-bottom:15px;
  flex-wrap:wrap
}
.policy-filter button {
  border-radius:20px;
  background:#edf2e6;
  padding:7px 11px;
  font-size:.8em
}
.policy-list {
  display:grid;
  gap:9px
}
.policy-list .source-button {
  margin:0
}
.footer-space {
  padding-bottom:env(safe-area-inset-bottom)
}
button:disabled {
  cursor:wait;
  opacity:.65
}
.voice:disabled {
  cursor:pointer;
  opacity:1
}
body.large .hero h1 {
  font-size:1.8em
}
body.large .topbar,
body.large .section-title {
  flex-wrap:wrap;
}
body.large .brand {
  white-space:nowrap;
}
body.large .font-button {
  margin-left:auto;
  font-size:.75em;
}
body.large .voice-caption,
body.large .connection,
body.large .coverage,
body.large .trust {
  font-size:.75em;
}
body.large .source-button small {
  font-size:.875em;
}
@media(max-width:380px) {
  body.large .quick-grid {
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce) {
  .location-icon {
    animation:none!important;
  }
  html {
    scroll-behavior:auto
  }
}
