:root {
  --ink: #192321;
  --muted: #5d6864;
  --yellow: #ffe747;
  --blue: #1649eb;
  --mint: #d4f4e4;
  --paper: #fcfdfb;
  --line: #d9dfdb;
  --red: #b33232;
  --radius: 6px;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.65 "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
select,
a,
input,
textarea {
  touch-action: manipulation;
}
button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
}
a,
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  flex-shrink: 0;
  vertical-align: middle;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: calc(100% - 96px);
  max-width: 1280px;
  margin: auto;
}
.page {
  min-height: 70vh;
  padding-bottom: 56px;
}
.edition {
  display: flex;
  justify-content: space-between;
  background: var(--yellow);
  padding: 5px 48px;
  font-size: 12px;
  font-weight: 700;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 86px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand > svg {
  width: 40px;
  height: 40px;
  padding: 7px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.brand b {
  font-size: 26px;
  font-weight: 900;
}
.brand small {
  font-size: 13px;
  margin-left: 5px;
}
.site-header nav {
  display: flex;
  align-items: stretch;
  gap: 25px;
  margin: auto;
  font-size: 14px;
  align-self: stretch;
  white-space: nowrap;
}
.site-header nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
}
.site-header nav a.active {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 700;
}
.icon-text,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 0;
}
.text-link {
  color: var(--blue);
}
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
}
.icon-button:hover {
  background: #ebefec;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: white;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px var(--ink);
}
.button.blue {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.button.yellow {
  background: var(--yellow);
}
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.hero-copy {
  position: relative;
  padding-top: 26px;
}
.hero-copy > p:first-child {
  font-size: 12px;
  font-weight: 600;
}
.hero h1 {
  font-size: 68px;
  line-height: 1.03;
  margin: 14px 0;
  font-weight: 950;
  max-width: 410px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-copy > p {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
}
.hero .button {
  margin-top: 21px;
  box-shadow: 3px 3px var(--ink);
}
.daily-strip {
  border-bottom: 1px solid var(--line);
  background: white;
}
.daily-strip > .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 0;
}
.daily-strip > .wrap > svg {
  width: 39px;
  height: 39px;
  color: var(--blue);
}
.daily-strip h2 {
  font-size: 20px;
}
.daily-strip p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.daily-strip .button {
  margin-left: auto;
}
.section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}
.section-head h2 {
  font-size: 24px;
}
.section-head > span {
  font-size: 12px;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 25px;
  min-height: 263px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px var(--ink);
}
.feature small {
  font-size: 12px;
}
.feature > svg {
  position: absolute;
  right: 27px;
  top: 30px;
  width: 44px;
  height: 44px;
  transform: rotate(9deg);
}
.feature h3 {
  font-size: 28px;
  margin-top: 27px;
}
.feature p {
  font-size: 14px;
  margin: 12px 0 24px;
}
.feature b {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  font-size: 14px;
}
.yellow-tint {
  background: #fff5a8;
}
.blue-tint {
  background: #dcecff;
}
.mint-tint {
  background: var(--mint);
}
.home-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  gap: 40px;
}
.radio {
  border-right: 1px solid var(--line);
  padding-right: 35px;
}
.kicker {
  font:
    11px/1.5 ui-monospace,
    monospace;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.radio h2,
.community-entry h2 {
  font-size: 22px;
}
.radio p,
.community-entry p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 16px;
}
.radio-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.radio-controls select {
  width: 175px;
}
.round-control {
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  height: 44px;
  width: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.volume {
  display: flex;
  align-items: center;
  gap: 9px;
}
.volume input {
  width: 100px;
  padding: 0;
  accent-color: var(--blue);
}
#radio-status {
  font-size: 12px;
  color: var(--muted);
}
.community-entry > svg {
  float: right;
  width: 40px;
  height: 40px;
  color: var(--blue);
}
.strip {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.strip h3 {
  font-size: 18px;
}
.strip p {
  font-size: 13px;
  color: var(--muted);
}
.strip .actions {
  margin: 0;
}
.seasonal {
  background: #fff7b9;
  padding-inline: 22px;
}
.page-title {
  padding: 42px 0 28px;
}
.page-title h1 {
  font-size: 38px;
  font-weight: 850;
}
.page-title h1 > span {
  color: var(--blue);
}
.page-title p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.scenario-tabs,
.energy-tabs,
.tone-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.scenario-tabs button,
.energy-tabs button,
.tone-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 12px 21px;
  font-size: 14px;
  min-height: 46px;
}
.scenario-tabs button.selected,
.energy-tabs button.selected,
.tone-tabs button.selected {
  background: var(--yellow);
  border-color: var(--ink);
  font-weight: 700;
  box-shadow: 2px 2px var(--ink);
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 46px;
  margin: 30px 0;
}
.workbench form {
  min-width: 0;
}
.form-section-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.form-section-head h2 {
  font-size: 23px;
  margin-right: auto;
}
.notice {
  background: #edf3ff;
  padding: 13px 17px;
  border-left: 3px solid var(--blue);
  font-size: 12px;
  color: #30455f;
  margin-bottom: 21px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
input:not([type="checkbox"]):not([type="range"]),
select,
textarea {
  width: 100%;
  background: white;
  border: 1px solid #aebbb3;
  border-radius: 4px;
  min-height: 44px;
  padding: 10px 12px;
  outline-offset: 2px;
  font-size: 15px;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.8;
}
input::placeholder,
textarea::placeholder {
  color: #838d87;
  font-size: 13px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 24px;
}
.unit {
  display: flex;
  align-items: center;
  border: 1px solid #aebbb3;
  border-radius: 4px;
  background: white;
}
.unit > input:not([type="checkbox"]) {
  border: 0;
  flex: 1;
  width: 0;
  background: none;
}
.unit > span {
  padding: 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.field-note {
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0 18px;
  line-height: 1.8;
}
.field-note:empty {
  display: none;
}
fieldset {
  border: 0;
  padding: 25px 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
legend {
  font-size: 16px;
  font-weight: 700;
  padding-right: 16px;
}
fieldset > label {
  margin-top: 20px;
}
details {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
}
details .form-grid {
  margin-top: 22px;
}
.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 18px;
}
.check input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.budget-aside {
  align-self: start;
  background: #fff6ae;
  padding: 25px;
  position: sticky;
  top: 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  transform: rotate(1deg);
}
.budget-aside > svg {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}
.budget-aside h2 {
  font-size: 23px;
  line-height: 1.6;
}
.budget-aside dl {
  margin: 22px 0;
}
.budget-aside dl > div {
  border-top: 1px solid #d9ce7c;
  padding: 12px 0;
}
.budget-aside dt {
  font-size: 11px;
  color: var(--muted);
}
.budget-aside dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.budget-aside p {
  font-size: 12px;
  line-height: 1.85;
  color: #62603f;
}
.error {
  font-size: 13px;
  color: var(--red);
  background: #fff0ef;
  padding: 12px;
  margin: 16px 0;
  border-left: 3px solid var(--red);
}
.report {
  border-top: 3px solid var(--blue);
  scroll-margin-top: 24px;
}
.report-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-bottom: 24px;
}
.grade {
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 12px 19px;
  font-size: 24px;
  transform: rotate(-4deg);
  font-weight: 900;
  white-space: nowrap;
}
.report-banner h2 {
  font-size: 27px;
}
.report-banner p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 24px;
}
.metrics small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.metrics strong {
  font:
    700 28px/1.4 ui-monospace,
    "PingFang SC",
    monospace;
  overflow-wrap: anywhere;
}
.metrics > div:first-child strong {
  color: var(--blue);
}
.report-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.report-columns h3 {
  font-size: 19px;
  margin-bottom: 16px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
td,
th {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
td:last-child,
th:last-child {
  text-align: right;
}
.report-notes p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0;
}
.runway-chart {
  display: flex;
  gap: 5px;
  margin: 18px 0 9px;
  height: 24px;
}
.runway-chart span {
  height: 100%;
  background: #e9eee9;
  flex: 1;
  border: 1px solid var(--line);
}
.runway-chart span.filled {
  background: var(--blue);
  border-color: var(--blue);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.goal {
  margin-top: 30px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.goal h3 {
  font-size: 22px;
}
.goal > p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0;
}
.goal-update {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-top: 20px;
}
.goal-update label {
  width: 220px;
}
.goal-update .button {
  flex-shrink: 0;
}
.filter-row {
  display: flex;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 23px;
}
.filter-row label {
  width: 210px;
}
.filter-row > span {
  color: var(--muted);
  font-size: 12px;
  margin-right: auto;
  padding-bottom: 10px;
}
.box-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 850px;
  margin: 45px auto;
}
.box-art {
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px var(--ink);
  border-radius: 6px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: rotate(-4deg);
}
.box-art svg {
  height: 78px;
  width: 78px;
}
.box-art > span {
  font-size: 24px;
  line-height: 1.6;
}
.box-art strong {
  font-size: 44px;
}
.box-stage h2 {
  font-size: 30px;
}
.box-stage p {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 22px;
}
.activity-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 45px;
  align-items: start;
}
.activity-cover {
  background: #dcecff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  min-height: 265px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  text-align: center;
  gap: 20px;
}
.activity-cover > svg {
  width: 60px;
  height: 60px;
}
.activity-cover h2 {
  font-size: 27px;
}
.activity-detail h3 {
  font-size: 26px;
  margin: 8px 0 23px;
}
.activity-detail ol {
  padding-left: 23px;
  line-height: 2.1;
  font-size: 14px;
}
.empty {
  padding: 35px 0;
  color: var(--muted);
  font-size: 14px;
}
.draft-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.draft-row > div {
  flex: 1;
  min-width: 180px;
}
.draft-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.reply-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 45px;
}
.reply-layout > aside {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.scene-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scene-list button {
  text-align: left;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
}
.scene-list button.selected {
  background: var(--yellow);
  font-weight: 700;
}
.scene-list button:hover {
  background: #fff5ba;
}
.reply-label {
  margin-top: 24px;
  font-size: 13px;
}
.reply-label textarea {
  background: #fff8c7;
  font-size: 20px;
  line-height: 1.95;
  padding: 24px;
  min-height: 220px;
  border: 1px solid var(--ink);
}
.ai-area {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 28px;
}
.ai-area h2 {
  font-size: 21px;
  margin-bottom: 18px;
}
.ai-area .actions > span {
  font-size: 12px;
  color: var(--muted);
}
.checkin-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 55px;
  padding: 8px 0 35px;
}
.checkin-layout h2 {
  font-size: 23px;
  margin-bottom: 20px;
}
.checkin-layout form > label {
  margin-bottom: 18px;
}
.checkin-layout .form-grid {
  margin-bottom: 18px;
}
.checkin-layout input[type="datetime-local"] {
  font-size: 13px;
  padding: 10px 7px;
}
.ticket-view {
  align-self: center;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: #fff7aa;
  box-shadow: 7px 7px var(--ink);
  padding: 30px;
  min-height: 270px;
  text-align: center;
}
.ticket-view > svg {
  width: 48px;
  height: 48px;
  margin: 20px 0;
}
.ticket-view h2 {
  font-size: 29px;
  margin: 15px 0;
}
.ticket-view .time {
  font:
    700 70px/1.15 ui-monospace,
    monospace;
  color: var(--blue);
  margin: 14px 0;
}
.ticket-view .ticket-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font: 12px monospace;
}
.ticket-view .note {
  font-size: 14px;
  line-height: 1.9;
  border-top: 1px dashed #a69941;
  padding-top: 18px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.badge {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f0f3ef;
  padding: 22px 10px;
  text-align: center;
  opacity: 0.65;
}
.badge.unlocked {
  background: var(--yellow);
  border-color: var(--ink);
  opacity: 1;
}
.badge svg {
  width: 35px;
  height: 35px;
  margin-bottom: 12px;
}
.badge b {
  display: block;
  font-size: 14px;
}
.badge small {
  font-size: 11px;
  display: block;
  margin-top: 5px;
}
.month-picker {
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.month-picker input {
  width: 170px !important;
}
.schedule {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.schedule > div {
  display: flex;
  gap: 7px;
}
.schedule button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.schedule button.selected {
  border-color: var(--blue);
  background: #e3edff;
  color: var(--blue);
}
.distribution {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.distribution > span {
  font-size: 13px;
  border-left: 4px solid var(--blue);
  padding-left: 12px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 100px 72px minmax(0, 1fr) 35px;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-row > time {
  font:
    12px/2 ui-monospace,
    monospace;
  color: var(--muted);
}
.timeline-row > strong {
  font:
    700 20px/1.5 ui-monospace,
    monospace;
}
.timeline-row h3 {
  font-size: 15px;
}
.timeline-row p {
  font-size: 13px;
  margin-top: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.timeline-row small {
  font-size: 11px;
  color: var(--blue);
}
.tree-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}
.tree-layout .button {
  margin-top: 20px;
}
.mint-note {
  background: var(--mint);
  padding: 28px;
  border-left: 3px solid #7dad96;
}
.mint-note svg {
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
}
.mint-note h2 {
  font-size: 25px;
}
.mint-note p {
  font-size: 13px;
  line-height: 1.9;
  margin: 16px 0;
}
.private-note {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.private-note small {
  font-size: 12px;
  color: var(--muted);
}
.private-note p {
  margin: 12px 0;
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.private-note .actions {
  margin: 0;
}
.private-note button {
  font-size: 12px;
}
.reward-balance {
  font:
    800 42px/1.2 ui-monospace,
    monospace;
  color: var(--blue);
  padding: 12px 0;
}
.reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  margin-top: 20px;
}
.reward-item p {
  font-size: 12px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: white;
}
footer > .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
footer b {
  font-size: 21px;
}
footer .wrap > span {
  color: var(--muted);
}
footer .wrap > div {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
footer button {
  font-size: 12px;
  padding: 8px 0;
}
dialog {
  width: min(650px, calc(100% - 36px));
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 28px;
  max-height: 90vh;
  box-shadow: 7px 7px var(--ink);
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #17211f66;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.dialog-heading h2 {
  font-size: 25px;
}
#dialog-body > p {
  margin: 12px 0;
  font-size: 13px;
  color: var(--muted);
}
#dialog-body form > label {
  margin: 16px 0;
}
#dialog-body canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  margin-top: 18px;
}
#dialog-body .dialog-warning {
  color: var(--red);
}
.qr-note {
  font-size: 11px;
}
.backup-area {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.danger {
  color: var(--red);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 20px #0002;
  padding: 13px 21px;
  border-radius: 4px;
  z-index: 100;
  max-width: calc(100% - 32px);
  width: max-content;
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.page:not([hidden]) {
  animation: appear 0.2s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1700px) {
  .hero {
    height: 440px;
  }
  .hero-copy {
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero > img {
    object-position: center 40%;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .site-header {
    padding: 0 28px;
    gap: 18px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .site-header .brand b {
    font-size: 23px;
  }
  .site-header .brand small {
    display: none;
  }
  .site-header > .icon-text {
    font-size: 12px;
  }
  .edition {
    padding-inline: 28px;
  }
  .feature h3 {
    font-size: 23px;
  }
  .feature > svg {
    width: 34px;
    height: 34px;
    right: 19px;
  }
  .workbench {
    grid-template-columns: 1fr 245px;
    gap: 28px;
  }
  .budget-aside {
    padding: 21px;
  }
  .budget-aside h2 {
    font-size: 20px;
  }
  .checkin-layout {
    grid-template-columns: 360px 1fr;
    gap: 30px;
  }
  .metrics strong {
    font-size: 24px;
  }
  .reply-layout {
    gap: 26px;
    grid-template-columns: 210px 1fr;
  }
  .hero h1 {
    font-size: 63px;
  }
  .hero > img {
    object-position: 55% 40%;
  }
  .badge-grid {
    gap: 10px;
  }
  .badge b {
    font-size: 12px;
  }
}
@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 15px;
    gap: 8px;
  }
  .site-header > .icon-text {
    margin-left: auto;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    height: 47px;
    margin: 0;
    justify-content: space-between;
    gap: 12px;
  }
  .hero {
    height: 380px;
  }
  .hero h1 {
    font-size: 59px;
  }
  .hero > img {
    object-position: 53% 40%;
  }
  .feature {
    padding: 20px;
    min-height: 275px;
  }
  .feature h3 {
    font-size: 21px;
    margin-top: 47px;
  }
  .feature p {
    font-size: 12px;
  }
  .feature b {
    font-size: 12px;
  }
  .feature > svg {
    top: 48px;
    height: 27px;
    width: 27px;
  }
  .daily-strip h2 {
    font-size: 17px;
  }
  .daily-strip .button {
    font-size: 12px;
    padding: 10px 14px;
  }
  .home-bottom {
    gap: 25px;
    grid-template-columns: 1.3fr 1fr;
  }
  .workbench {
    grid-template-columns: 1fr;
  }
  .budget-aside {
    position: static;
    transform: none;
    display: none;
  }
  .checkin-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .checkin-layout .form-grid {
    grid-template-columns: 1fr;
  }
  .ticket-view {
    padding: 20px;
  }
  .ticket-view .time {
    font-size: 55px;
  }
  .page-title h1 {
    font-size: 32px;
  }
  .activity-detail {
    grid-template-columns: 250px 1fr;
    gap: 25px;
  }
  .badge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .reply-layout {
    grid-template-columns: 180px 1fr;
  }
  .tone-tabs {
    gap: 7px;
  }
  .tone-tabs button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .radio {
    padding-right: 22px;
  }
  .tree-layout {
    gap: 25px;
  }
  .feature-grid {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .edition {
    padding: 5px 18px;
    font-size: 10px;
    gap: 10px;
  }
  .edition > span:first-child {
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header {
    padding-inline: 18px;
  }
  .site-header .brand b {
    font-size: 24px;
  }
  .site-header nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 23px;
  }
  .site-header nav a {
    font-size: 12px;
    flex-shrink: 0;
  }
  .hero {
    height: 398px;
  }
  .hero > img {
    object-position: 48% center;
    opacity: 0.7;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ecf1f0;
  }
  .hero-copy {
    padding-top: 25px;
  }
  .hero-copy > p:first-child {
    font-size: 11px;
  }
  .hero h1 {
    font-size: 59px;
    max-width: 260px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero .button {
    min-height: 43px;
    font-size: 13px;
  }
  .daily-strip > .wrap {
    gap: 13px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .daily-strip > .wrap > svg {
    width: 28px;
    height: 28px;
  }
  .daily-strip h2 {
    font-size: 17px;
  }
  .daily-strip p {
    font-size: 11px;
  }
  .daily-strip .button {
    margin-left: 41px;
    min-height: 41px;
  }
  .section {
    padding: 27px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head > span {
    font-size: 11px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature {
    min-height: 211px;
    padding: 22px;
  }
  .feature h3 {
    margin-top: 17px;
    font-size: 27px;
  }
  .feature > svg {
    top: 40px;
    right: 25px;
    width: 46px;
    height: 46px;
  }
  .feature p {
    font-size: 14px;
    margin: 10px 0 20px;
  }
  .feature b {
    font-size: 13px;
  }
  .feature p br {
    display: none;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    padding: 25px 0;
  }
  .radio {
    border-right: 0;
    padding: 0 0 25px;
    border-bottom: 1px solid var(--line);
  }
  .radio-controls {
    gap: 12px;
  }
  .community-entry h2 {
    font-size: 22px;
  }
  .page-title {
    padding: 28px 0 23px;
  }
  .page-title h1 {
    font-size: 29px;
    line-height: 1.5;
  }
  .page-title p {
    font-size: 13px;
  }
  .page-title h1 > span {
    display: inline;
  }
  .scenario-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .scenario-tabs button {
    font-size: 13px;
    padding: 10px 12px;
  }
  .workbench {
    margin-top: 25px;
  }
  .form-section-head {
    gap: 8px;
  }
  .form-section-head h2 {
    font-size: 21px;
  }
  .form-section-head .text-link {
    font-size: 11px;
  }
  .form-grid {
    gap: 18px 14px;
  }
  .form-grid label {
    font-size: 12px;
  }
  .form-grid input,
  select,
  textarea {
    font-size: 16px !important;
  }
  .unit > span {
    padding: 0 9px;
    font-size: 10px;
  }
  .unit input {
    padding-inline: 9px !important;
  }
  input::placeholder {
    font-size: 11px !important;
  }
  .notice,
  .field-note {
    font-size: 11px;
  }
  .budget-aside {
    display: none;
  }
  fieldset {
    margin-top: 17px;
    padding-top: 20px;
  }
  .report-banner {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .grade {
    font-size: 20px;
  }
  .report-banner h2 {
    font-size: 23px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }
  .metrics strong {
    font-size: 25px;
  }
  .metrics small {
    font-size: 11px;
  }
  .report-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .goal-update {
    flex-wrap: wrap;
  }
  .goal-update label {
    width: 100%;
  }
  .energy-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .energy-tabs button {
    padding: 12px;
    font-size: 13px;
  }
  .filter-row {
    gap: 17px 12px;
  }
  .filter-row label {
    width: calc(50% - 6px);
    font-size: 12px;
  }
  .filter-row select {
    font-size: 13px !important;
  }
  .filter-row .text-link {
    font-size: 12px;
  }
  .filter-row > span {
    font-size: 11px;
  }
  .box-stage {
    grid-template-columns: 1fr;
    gap: 37px;
    margin: 32px 0;
  }
  .box-art {
    min-height: 175px;
    max-width: 320px;
    width: 90%;
    margin: auto;
    box-shadow: 5px 5px var(--ink);
  }
  .box-art > svg {
    height: 55px;
    width: 55px;
  }
  .box-art > span {
    font-size: 21px;
  }
  .box-art strong {
    font-size: 34px;
  }
  .box-stage > div:last-child {
    text-align: center;
  }
  .box-stage h2 {
    font-size: 26px;
  }
  .box-stage h2 br {
    display: none;
  }
  .activity-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .activity-cover {
    min-height: 190px;
  }
  .activity-cover > svg {
    width: 42px;
    height: 42px;
  }
  .activity-detail h3 {
    font-size: 24px;
  }
  .strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .reply-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .reply-layout > aside {
    border: 0;
    padding: 0;
  }
  .scene-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 9px;
    margin-top: 14px;
  }
  .scene-list button {
    flex-shrink: 0;
    font-size: 12px;
    padding: 9px 12px;
  }
  .tone-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .tone-tabs button {
    font-size: 11px;
    padding: 10px 5px;
    min-height: 42px;
    white-space: nowrap;
  }
  .reply-label textarea {
    font-size: 18px !important;
    padding: 20px;
  }
  .checkin-layout {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 24px;
  }
  .checkin-layout .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkin-layout input[type="datetime-local"] {
    font-size: 12px !important;
    min-width: 0;
    padding: 10px 5px;
  }
  .ticket-view {
    margin: 4px 4px 16px 0;
  }
  .ticket-view .time {
    font-size: 62px;
  }
  .badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .badge b {
    font-size: 13px;
  }
  .monthly .section-head {
    align-items: center;
  }
  .month-picker {
    font-size: 11px;
    gap: 8px;
  }
  .month-picker input {
    font-size: 12px !important;
    width: 145px !important;
  }
  .schedule {
    gap: 12px;
  }
  .timeline-row {
    grid-template-columns: 70px 55px minmax(0, 1fr) 30px;
    gap: 11px;
  }
  .timeline-row > time {
    font-size: 10px;
  }
  .timeline-row > strong {
    font-size: 17px;
  }
  .timeline-row h3 {
    font-size: 13px;
  }
  .timeline-row p {
    font-size: 12px;
  }
  .timeline-row .icon-button {
    width: 30px;
    height: 32px;
  }
  .tree-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .mint-note {
    padding: 22px;
  }
  .mint-note h2 {
    font-size: 22px;
  }
  footer > .wrap {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  footer b {
    font-size: 20px;
  }
  footer .wrap > span {
    font-size: 11px;
  }
  footer .wrap > div {
    margin: 6px 0 0;
    width: 100%;
    gap: 24px;
  }
  dialog {
    padding: 20px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .button {
    font-size: 13px;
    padding: 10px 15px;
  }
  .report .actions {
    gap: 12px;
  }
  .goal h3 {
    font-size: 21px;
  }
  .reward-item {
    align-items: flex-start;
  }
  .reward-item .button {
    font-size: 12px;
  }
  #toast {
    font-size: 12px;
  }
  .page {
    padding-bottom: 35px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .checkin-layout .form-grid {
    grid-template-columns: 1fr;
  }
  .page-title h1 {
    font-size: 25px;
  }
  .feature h3 {
    font-size: 24px;
  }
  .feature > svg {
    width: 35px;
    height: 35px;
  }
  .timeline-row {
    grid-template-columns: 64px 47px minmax(0, 1fr) 25px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
