:root {
  --ink: #233d39;
  --muted: #596d68;
  --green: #216653;
  --green-dark: #184c40;
  --mint: #e7f3ec;
  --yellow: #f6d775;
  --paper: #f5f7f8;
  --line: #dfe7e3;
  --white: #fff;
  --blue: #e7eefb;
  --radius: 20px;
  --shadow: 0 8px 28px #233d3909;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
svg {
  flex-shrink: 0;
}
.icon {
  display: inline-block;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid #b67917;
  outline-offset: 4px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--green-dark);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 8px;
}
.skip:focus {
  top: 16px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 11px;
  font-weight: 650;
  border: 1px solid transparent;
  line-height: 1.4;
}
.primary-button {
  background: var(--green);
  color: white;
}
.primary-button:hover {
  background: var(--green-dark);
}
.secondary-button {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.secondary-button:hover {
  background: var(--mint);
}
button:active,
.primary-button:active {
  transform: translateY(1px);
}
dialog {
  color: var(--ink);
  background: white;
  width: min(520px, calc(100% - 32px));
  max-height: 90dvh;
  border: 0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 24px 120px #102d3933;
  overflow: auto;
}
dialog::backdrop {
  background: #153a3566;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 8px 0 12px;
}
dialog p {
  color: var(--muted);
}
.dialog-close {
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: #f0f5f2;
  border-radius: 50%;
  font-size: 25px;
  color: var(--ink);
}
.dialog-intro {
  margin-bottom: 24px;
}
.local-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.app-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 14px 22px;
  background: #203f38;
  color: white;
  border-radius: 12px;
  box-shadow: 0 6px 30px #153a3522;
  z-index: 11000;
  font-size: 14px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
}
.brand-mark span {
  color: var(--yellow);
  font-size: 19px;
  padding-left: 2px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  color: var(--green);
  margin: 0 0 8px;
}
.content-note {
  color: var(--muted);
  padding: 20px;
}
.text-link {
  color: var(--green);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
input,
select,
textarea {
  max-width: 100%;
}
@media (max-width: 600px) {
  dialog {
    padding: 24px;
  }
  dialog h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
  flex-wrap: wrap;
}
.confirm-dialog h2 {
  font-size: 23px;
}
.confirm-dialog p {
  font-size: 14px;
  line-height: 1.9;
}
.confirm-dialog .primary-button {
  background: #915b35;
}
.confirm-dialog .primary-button:hover {
  background: #794a2b;
}
