* {
  box-sizing: border-box;
}
:root {
  --green: #16483c;
  --pine: #1b4e40;
  --ink: #202e28;
  --muted: #647169;
  --line: #dde4dc;
  --paper: #f7f8f3;
  --white: #fff;
  --sage: #e4eee6;
  --accent: #f8ac80;
  --side: 222px;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  font-synthesis: none;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #40977a;
  outline-offset: 3px;
}
button {
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  z-index: 15;
  background: white;
  padding: 9px;
  left: -400px;
}
.skip:focus {
  left: 0;
}
.shell {
  margin-left: var(--side);
  min-height: 100vh;
}
.shell > header {
  height: 69px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(22px, 3.3vw, 60px);
  background: #fbfcf8;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  background: #fcfcf8;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 6;
  padding: 24px 17px 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 27px;
  white-space: nowrap;
}
.brand strong {
  display: block;
  letter-spacing: -1.75px;
  line-height: 1.1;
  font-size: 26px;
  font-weight: 770;
}
.brand strong span,
footer b span {
  color: #37775e;
}
.brand small {
  display: block;
  color: #64736a;
  font-size: 10px;
  margin-top: 4px;
  letter-spacing: 2px;
}
aside nav {
  overflow: auto;
  scrollbar-width: thin;
  flex: 1;
}
.navlabel {
  font-size: 11px;
  color: #849084;
  font-weight: 650;
  padding: 18px 12px 7px;
  letter-spacing: 1.4px;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  margin: 2px 0;
  font-size: 13.5px;
  min-height: 38px;
  color: #4d5a51;
}
.navitem svg {
  width: 18px;
  height: 18px;
  color: #68796c;
}
.navitem:hover,
.topsearch:hover {
  background: #eef2eb;
}
.navitem.active {
  background: #e1ece1;
  color: #174c39;
  font-weight: 680;
}
.navitem.active svg {
  color: #287252;
}
.navitem .count {
  margin-left: auto;
  font-size: 11px;
  color: #758476;
}
.sidefoot {
  margin: 18px 6px 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #596a5b;
}
.sidefoot .mini {
  background: #e6eee2;
  color: #356446;
  border-radius: 9px;
  padding: 7px;
}
.sidefoot small {
  display: block;
  font-size: 10px;
  color: #788578;
}
.crumb,
.bar-actions,
.btn,
.toolhead,
.sectionhead,
.row,
.safety,
.filters,
.actions,
.chip,
.cloudnotice,
.small-link,
.step {
  display: flex;
  align-items: center;
}
.crumb,
.bar-actions {
  gap: 12px;
}
.crumb {
  color: #798379;
  font-size: 12px;
  min-width: 0;
}
.crumb b {
  color: #35443b;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.topsearch {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f2f4ee;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 8px;
  color: #657267;
  font-size: 12px;
  min-width: 185px;
  height: 34px;
}
.topsearch kbd {
  margin-left: auto;
  font:
    10px ui-monospace,
    monospace;
  color: #788578;
  border: 1px solid #d9dfd5;
  border-radius: 4px;
  background: #fff;
  padding: 1px 4px;
}
.circle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #42604e;
  background: white;
}
.menu {
  display: none;
}
main,
footer {
  width: min(100%, 1510px);
  margin: auto;
  padding: 26px clamp(22px, 3.3vw, 60px) 0;
}
main {
  outline: none;
  min-height: 78vh;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at 70% 34%,
    #2e6753 0%,
    #1a4e40 46%,
    #123e34 83%
  );
  color: white;
  min-height: 270px;
  display: flex;
  align-items: center;
  padding: 35px clamp(24px, 3.2vw, 58px);
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background-image:
    linear-gradient(#bfebcf15 1px, transparent 1px),
    linear-gradient(90deg, #bfebcf15 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  transform: skewX(-10deg);
  pointer-events: none;
}
.hcopy {
  max-width: 54%;
  z-index: 2;
}
.eyebrow {
  font:
    650 10px/1.3 Inter,
    Arial,
    sans-serif;
  letter-spacing: 2.4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c0ddca;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: #f0ae85;
}
.hero h1 {
  font-size: clamp(34px, 3.45vw, 57px);
  line-height: 1.16;
  letter-spacing: -1.8px;
  margin: 12px 0 12px;
  color: #f4f7ec;
  font-weight: 750;
}
.hero p {
  font-size: 14px;
  color: #d0dfd4;
  line-height: 1.75;
}
.actionpair {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.btn {
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  min-height: 41px;
}
.btn.accent {
  background: #f6ae85;
  color: #312c23;
}
.btn.accent:hover {
  background: #ffc098;
  transform: translateY(-1px);
}
.btn.primary {
  background: #1c5947;
  color: #fff;
}
.btn.primary:hover {
  background: #134434;
}
.btn.light {
  background: #fff;
  border-color: var(--line);
  color: #405549;
}
.btn.light:hover {
  background: #f1f5ef;
}
.hero .small-link {
  color: #e4eee4;
  gap: 6px;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
}
.hero-art {
  position: absolute;
  right: 4.4%;
  top: 2%;
  width: 38%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(8px 16px 15px #0d342b66);
  z-index: 1;
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  right: 4%;
  width: 35%;
  height: 72%;
  border: 1px solid #b6d8bc3b;
  border-radius: 50%;
  transform: rotate(-19deg);
  z-index: 0;
}
.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  background: #f5b185;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  top: 18%;
  left: 7%;
}
.hero-orbit:after {
  top: 70%;
  left: auto;
  right: 1%;
  width: 5px;
  height: 5px;
  background: #bde5bc;
}
.section {
  margin-top: 27px;
}
.sectionhead {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sectionhead h2,
.page-title {
  font-weight: 730;
  letter-spacing: -0.6px;
}
.sectionhead h2 {
  font-size: 22px;
}
.sectionhead small {
  font-size: 12px;
  color: #7b887c;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 9px;
}
.small-link {
  font-size: 12px;
  gap: 5px;
  color: #477259;
}
.featuregrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.feature {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
  min-height: 130px;
  box-shadow: 0 2px 2px #17392204;
  display: block;
}
.feature:hover,
.toolcard:hover {
  border-color: #99b59d;
  box-shadow: 0 4px 15px #1438230b;
  transform: translateY(-2px);
}
.feature .corner {
  position: absolute;
  right: 13px;
  top: 13px;
  color: #94a198;
}
.feature strong {
  display: block;
  margin: 10px 0 3px;
  font-size: 16px;
}
.feature p,
.toolcard p,
.desc {
  font-size: 12px;
  color: #6c786e;
  line-height: 1.65;
}
.toolicon {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--ic);
  background: var(--tint);
}
.toolicon.large {
  width: 45px;
  height: 45px;
  border-radius: 11px;
}
.blue {
  --ic: #386daf;
  --tint: #e8effb;
}
.green {
  --ic: #2b8257;
  --tint: #e1f2e7;
}
.teal {
  --ic: #267c68;
  --tint: #e0f0e8;
}
.orange {
  --ic: #ba673b;
  --tint: #f9e9dd;
}
.purple {
  --ic: #805aa6;
  --tint: #f1e9f6;
}
.slate {
  --ic: #5c6b80;
  --tint: #eaf0f4;
}
.sheet-icon {
  position: relative;
  border: 1.7px solid currentColor;
  border-radius: 3px;
  width: 15px;
  height: 20px;
  transform: translateX(1px);
  background: linear-gradient(225deg, var(--tint) 0 4px, transparent 4px);
}
.sheet-icon:after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  background: var(--tint);
}
.sheet-icon b {
  position: absolute;
  font:
    700 9px/12px Inter,
    Arial,
    sans-serif;
  color: white;
  background: var(--ic);
  border-radius: 2px;
  padding: 0 2px;
  left: -5px;
  bottom: 2px;
}
.large .sheet-icon {
  transform: scale(1.2);
}
.filters {
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 15px;
}
.filter {
  border: 1px solid var(--line);
  background: #fcfdf9;
  border-radius: 24px;
  font-size: 12px;
  padding: 6px 13px;
  color: #556256;
}
.filter.active {
  background: #254e3d;
  border-color: #254e3d;
  color: #fff;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.toolcard {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  min-height: 77px;
  padding: 13px;
  text-align: left;
  transition: 0.16s;
}
.toolcard strong {
  font-size: 14px;
}
.toolcard p {
  font-size: 11.5px;
  margin-top: 2px;
}
.grouptitle {
  margin: 19px 0 9px;
  font-size: 14px;
  color: #526758;
}
.page-title {
  font-size: 31px;
}
.page-intro {
  margin: 7px 0 18px;
  color: var(--muted);
}
footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin: 36px auto 0;
  padding-top: 16px;
  padding-bottom: 22px;
  color: #859086;
  font-size: 11px;
}
footer b {
  font-size: 16px;
  color: #4f6656;
  letter-spacing: -1px;
}
footer button {
  margin-left: auto;
  font-size: 11px;
}
.toolhead {
  gap: 15px;
  margin: 4px 0 22px;
}
.toolhead h1 {
  font-size: 28px;
}
.toolhead p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.favbtn {
  margin-left: auto;
}
.favbtn.on {
  color: #a96427;
  background: #fff1de;
}
.workgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(222px, 0.37fr);
  gap: 17px;
  align-items: start;
}
.panel,
.settings {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 21px;
}
.panel h2,
.settings h2 {
  font-size: 16px;
}
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  border: 1.5px dashed #a4b9a7;
  background: #f5f8f2;
  border-radius: 12px;
  min-height: 230px;
  padding: 19px;
  margin: 15px 0;
}
.drop.hot {
  background: #e2efdf;
  border-color: #1b6c43;
}
.uploadicon {
  background: #dceadd;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #347356;
  margin-bottom: 5px;
}
.drop strong {
  font-size: 17px;
}
.muted,
.hint {
  color: var(--muted);
  font-size: 12px;
}
.drop .actions {
  gap: 8px;
  margin: 5px 0;
}
.linkbtn {
  color: #366c50;
  padding: 3px 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.safety {
  gap: 7px;
  color: #567461;
  font-size: 12px;
}
.cloudnotice {
  font-size: 12px;
  gap: 8px;
  padding: 11px;
  background: #fff4e6;
  color: #825b2e;
  border-radius: 8px;
  margin: 10px 0;
}
.field {
  display: block;
  margin: 15px 0;
  font-size: 12px;
  color: #506053;
}
.field input,
.field select,
.field textarea,
.dlg-search {
  width: 100%;
  border: 1px solid #cdd9ce;
  border-radius: 7px;
  background: #fcfdf9;
  padding: 8px 10px;
  color: #263d2f;
  outline-color: #538368;
  margin-top: 5px;
}
.field small {
  display: block;
  margin-top: 5px;
  color: #748175;
}
.settings .btn.primary {
  width: 100%;
  margin-top: 17px;
}
.settings .hint {
  margin-top: 10px;
}
.filelist {
  padding: 0;
  margin: 12px 0;
  list-style: none;
}
.filelist li,
.output {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #e7ece5;
  font-size: 12px;
}
.filename {
  min-width: 0;
  overflow-wrap: anywhere;
  flex: 1;
}
.filename small {
  display: block;
  color: #7d897f;
}
.mini-btn {
  padding: 4px;
  border-radius: 5px;
  color: #617667;
}
.mini-btn:hover {
  background: #eef4ec;
}
.output a {
  color: #245d42;
  font-weight: 600;
}
.runstatus {
  margin-top: 14px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.runstatus progress {
  width: 100%;
  height: 7px;
  accent-color: #367452;
  display: block;
  margin-top: 8px;
}
.err {
  color: #a54231;
}
.ok {
  color: #287146;
}
.empty {
  border: 1px dashed #ccd9cc;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: #728076;
  background: #fcfdf9;
}
.reader-wrap {
  overflow: auto;
  margin: 12px 0;
  background: #e5ebe4;
  max-height: 74vh;
}
.reader-wrap canvas {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.readerbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 8px;
}
.actions {
  gap: 8px;
  flex-wrap: wrap;
}
dialog {
  width: min(510px, 94vw);
  max-height: 84vh;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 21px;
  color: var(--ink);
  box-shadow: 0 20px 60px #12271c39;
}
dialog::backdrop {
  background: #132b236b;
}
dialog h2 {
  font-size: 19px;
}
.dialogtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.dialoglist {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.dialoglist a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px;
  font-size: 13px;
}
.dialoglist a:hover {
  background: var(--sage);
}
.dialoglist a small {
  margin-left: auto;
  color: var(--muted);
}
dialog p {
  margin: 10px 0;
  color: #586961;
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #183c2f;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  padding: 8px 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
#shade {
  position: fixed;
  inset: 0;
  background: #112c2455;
  z-index: 5;
}
.filelist li .mini-btn {
  background: #f2f5ef;
}
.tag {
  font-size: 10px;
  color: #976536;
  margin-left: 5px;
}
.summary-list {
  margin: 11px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}
.checkfield {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
}
.checkfield input {
  margin-top: 3px;
}
.linehelp {
  border-left: 3px solid #d6e4d7;
  padding-left: 9px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.row {
  justify-content: space-between;
  gap: 8px;
}
.noshrink {
  white-space: nowrap;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 319px;
  }
  .hero-art {
    right: 7%;
  }
  .feature {
    min-height: 148px;
    padding: 21px;
  }
  .toolcard {
    min-height: 88px;
  }
}
@media (max-width: 1190px) {
  :root {
    --side: 191px;
  }
  aside {
    padding-left: 11px;
    padding-right: 11px;
  }
  .feature {
    padding: 13px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: 250px;
  }
  .workgrid {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
}
@media (max-width: 850px) {
  :root {
    --side: 0px;
  }
  aside {
    width: 225px;
    transform: translateX(-105%);
    transition: transform 0.2s;
  }
  body.menuopen aside {
    transform: translateX(0);
  }
  .menu {
    display: grid;
  }
  .shell > header {
    height: 57px;
  }
  .hero {
    min-height: 231px;
  }
  .hero-art {
    right: 2%;
    width: 40%;
  }
  main {
    padding-top: 18px;
  }
  .featuregrid {
    gap: 8px;
  }
  .workgrid {
    grid-template-columns: minmax(0, 1fr) 205px;
  }
  .panel,
  .settings {
    padding: 15px;
  }
}
@media (max-width: 650px) {
  main,
  footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .shell > header {
    padding: 0 14px;
  }
  .bar-actions,
  .crumb {
    gap: 7px;
  }
  .topsearch {
    min-width: 0;
    background: none;
    border: 0;
    padding: 5px;
  }
  .topsearch span,
  .topsearch kbd {
    display: none;
  }
  .hero {
    padding: 22px;
    min-height: 226px;
    border-radius: 15px;
  }
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 9px 0;
  }
  .hcopy {
    max-width: 66%;
  }
  .hero p {
    font-size: 12px;
    line-height: 1.65;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero-art {
    width: 36%;
    height: 69%;
    top: 18%;
    right: 1%;
  }
  .hero-orbit {
    right: -3%;
    width: 42%;
    height: 50%;
  }
  .actionpair {
    gap: 10px;
    margin-top: 15px;
  }
  .btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 37px;
  }
  .hero .small-link {
    font-size: 11px;
  }
  .featuregrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature {
    min-height: 107px;
  }
  .feature p {
    font-size: 11px;
  }
  .feature strong {
    margin: 6px 0 2px;
    font-size: 14px;
  }
  .toolicon.large {
    width: 35px;
    height: 35px;
  }
  .feature .large svg {
    width: 23px;
    height: 23px;
  }
  .section {
    margin-top: 22px;
  }
  .sectionhead h2 {
    font-size: 20px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .filter {
    flex: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .toolcard {
    display: block;
    padding: 11px;
    min-height: 83px;
  }
  .toolcard .toolicon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
  }
  .toolcard strong {
    display: block;
    font-size: 13px;
  }
  .toolcard p {
    font-size: 10.5px;
  }
  .workgrid {
    display: flex;
    flex-direction: column;
  }
  .workgrid > * {
    width: 100%;
  }
  .drop {
    min-height: 190px;
  }
  .toolhead {
    gap: 8px;
  }
  .toolhead h1 {
    font-size: 22px;
  }
  .toolhead p {
    font-size: 11px;
  }
  .favbtn span {
    display: none;
  }
  .toolhead .favbtn {
    min-height: 31px;
    padding: 6px;
  }
  .sectionhead small {
    font-size: 10px;
  }
  .hero .actionpair .small-link {
    white-space: nowrap;
  }
  .filelist li {
    gap: 5px;
  }
  .page-title {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
