:root {
  --ink: #233f31;
  --muted: #718076;
  --forest: #346d4b;
  --line: #dce6d9;
  --paper: #fffefa;
  --soft: #f3f6ee;
  --side: clamp(216px, 18.5vw, 292px);
  --lychee: #b85752;
  --gold: #896414;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.65 "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: var(--forest);
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #6e9c74;
  outline-offset: 3px;
}
button {
  transition:
    transform 0.17s,
    background 0.17s,
    box-shadow 0.17s;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
.ic {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.small {
  font-size: 13px;
  color: var(--muted);
}
.row,
.btn,
.brand,
.top,
.composer-foot,
.tools,
.compose-tools,
.navbtn,
.histrow,
.account,
.modalhead,
.sectionhead,
.docrow,
.service,
.pill,
.meta,
.reply-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.spaced,
.sectionhead,
.modalhead,
.composer-foot,
.top {
  justify-content: space-between;
}
.btn,
.pill {
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.btn:hover,
.pill:hover {
  background: #f1f6ed;
}
.btn.primary,
.send {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.btn.primary:hover,
.send:hover {
  background: #275a3d;
}
.btn.soft,
.pill {
  background: #eaf1e5;
  color: #386c45;
  border-color: transparent;
}
.btn.gold {
  background: #f8f0db;
  color: #8b671c;
  border-color: transparent;
}
.btn.plain {
  background: transparent;
  border-color: transparent;
  padding: 5px;
}
.iconbtn {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
}
.iconbtn:hover {
  background: #e9efe4;
}
.danger {
  color: #a2443f;
}
.layout {
  height: 100dvh;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
}
.sidebar {
  background: linear-gradient(152deg, #f4f6ef, #f1f5eb 68%, #e3eddc);
  border-right: 1px solid var(--line);
  padding: 25px 15px 15px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sidebar:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 170px;
  background: url(/static/assets/chat-land.webp) center bottom/100% 100%
    no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.57;
  pointer-events: none;
}
.sidebar > * {
  z-index: 1;
}
.brand {
  gap: 12px;
  padding: 0 13px;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand strong {
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 13px;
  color: #58765a;
  letter-spacing: 0.06em;
}
.menu {
  margin-top: 32px;
  display: grid;
  gap: 5px;
}
.navbtn {
  text-align: left;
  padding: 11px 17px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.navbtn:hover,
.histrow:hover {
  background: #e5eddf;
}
.navbtn.primary {
  background: var(--forest);
  color: #fff;
  font-weight: 650;
  margin-bottom: 9px;
}
.navbtn.active {
  background: #dfeada;
}
.side-history {
  border-top: 1px solid #d8e1d1;
  margin: 16px 6px 0;
  padding: 16px 5px;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
}
.side-history > small {
  font-size: 12px;
  color: #73806e;
}
.histrow {
  gap: 0;
  min-height: 35px;
  border-radius: 7px;
  margin: 4px -4px;
  padding: 0 3px;
}
.histrow.chosen {
  background: #e1ebdc;
}
.histrow > button:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  flex: 1;
  padding: 6px;
  font-size: 13px;
}
.histrow .iconbtn {
  width: 26px;
  height: 27px;
  opacity: 0;
}
.histrow:hover .iconbtn,
.histrow:focus-within .iconbtn,
.histrow.chosen .iconbtn {
  opacity: 1;
}
.histrow .ic {
  width: 14px;
}
.account {
  margin-top: auto;
  border: 1px solid #d6e0d0;
  background: #f9fbf5e8;
  border-radius: 12px;
  width: 100%;
  padding: 10px;
  text-align: left;
}
.account .avatar,
.msgmark,
.medallion {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcebd4;
  color: #406646;
  flex: none;
  width: 35px;
  height: 35px;
}
.account small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.account b {
  font-size: 14px;
}
.account > .ic {
  margin-left: auto;
  width: 16px;
}
.main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.top {
  height: 70px;
  flex: none;
  padding: 0 clamp(20px, 3.5vw, 64px);
  border-bottom: 1px solid #edf0e8;
  background: #fffefa;
}
.top h1 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.service {
  color: #618265;
  font-size: 13px;
  gap: 7px;
}
.dot {
  width: 8px;
  height: 8px;
  background: #75a880;
  border-radius: 50%;
}
.dot.amber {
  background: #bd944e;
}
.mobile {
  display: none;
}
.page {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.home {
  padding: clamp(24px, 4.2vh, 55px) clamp(22px, 3.5vw, 64px) 16px;
  max-width: 1320px;
  margin: auto;
}
.hero {
  background: linear-gradient(112deg, #eaf0e0, #f6f3df);
  border-radius: 23px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(190px, 25vh, 270px);
  padding: clamp(24px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0 0 0 43%;
  z-index: -1;
  background: url(/static/assets/chat-hills.webp) right bottom/auto 100%
    no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
  transition: opacity 0.35s;
}
.hero small {
  color: #62825a;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.hero h2 {
  font-size: clamp(31px, 3.15vw, 49px);
  line-height: 1.28;
  margin: 10px 0 9px;
  letter-spacing: -0.045em;
}
.hero p {
  color: #5c745c;
  max-width: 61%;
}
.hero .btn {
  margin-top: 15px;
  min-height: 31px;
  padding: 4px 13px;
  border: 0;
  background: #ffffffd9;
  font-size: 13px;
}
.composer {
  border: 1.5px solid #c4d7c3;
  background: white;
  border-radius: 19px;
  padding: 16px 17px 12px;
  box-shadow: 0 5px 20px #34583306;
  margin-top: 20px;
}
.composer:focus-within {
  border-color: #719a75;
  box-shadow: 0 0 0 3px #eff5eb;
}
.composer textarea {
  width: 100%;
  outline: none !important;
  border: 0;
  background: transparent;
  resize: vertical;
  min-height: clamp(72px, 10vh, 120px);
  max-height: 220px;
  line-height: 1.65;
  font-size: 17px;
  padding: 3px 4px;
}
.composer textarea::placeholder {
  color: #869789;
}
.compose-tools {
  flex-wrap: wrap;
  gap: 7px;
}
.compose-tools .btn,
.compose-tools .pill {
  min-height: 36px;
  padding: 5px 10px;
  font-size: 13px;
}
.compose-tools .ic {
  width: 16px;
}
.attach {
  background: #f2f5ed;
}
.send {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.send .ic {
  width: 23px;
  height: 23px;
}
.prompt-list {
  margin-top: 23px;
}
.sectionhead {
  margin-bottom: 12px;
}
.sectionhead h2 {
  font-size: 18px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.quick {
  min-width: 0;
  border-radius: 14px;
  text-align: left;
  padding: 17px 16px;
  background: var(--tone);
  color: var(--key);
  border: 1px solid #ffffff50;
}
.quick:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #263e2a10;
}
.quick:active {
  transform: scale(0.97);
}
.quick > .ic {
  width: 24px;
  height: 24px;
}
.quick strong {
  display: block;
  font-size: 18px;
  margin-top: 11px;
}
.quick span {
  font-size: 12px;
  color: #536456;
  display: block;
  margin-top: 3px;
}
.foot {
  text-align: center;
  color: #879182;
  font-size: 12px;
  margin: 22px auto 4px;
}
.chatpage {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.scrollmsgs {
  overflow: auto;
  min-height: 120px;
  flex: 1;
  scrollbar-width: thin;
}
.msgs,
.dock {
  max-width: 960px;
  width: 100%;
  margin: auto;
  padding: 20px clamp(18px, 3.5vw, 45px);
}
.dock {
  padding-top: 0;
  padding-bottom: 10px;
}
.dock .composer {
  margin-top: 6px;
}
.dock textarea {
  min-height: 48px;
  font-size: 15px;
}
.dock .foot {
  margin: 6px auto;
}
.msg {
  margin: 15px 0 28px;
  min-width: 0;
}
.msg.user {
  display: flex;
  justify-content: flex-end;
}
.usertext {
  border-radius: 17px 17px 4px 17px;
  background: #e8f1e3;
  color: #244a32;
  padding: 12px 17px;
  max-width: min(82%, 760px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msghead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.msgmark {
  width: 27px;
  height: 27px;
}
.msgmark .ic {
  width: 16px;
}
.markdown {
  line-height: 1.85;
  overflow-wrap: anywhere;
  color: #283b31;
  font-size: 15px;
}
.markdown p,
.markdown ul,
.markdown ol,
.markdown pre,
.markdown blockquote {
  margin: 7px 0 12px;
}
.markdown h2,
.markdown h3,
.markdown h4 {
  margin: 20px 0 7px;
  line-height: 1.4;
}
.markdown h2 {
  font-size: 22px;
}
.markdown h3 {
  font-size: 19px;
}
.markdown h4 {
  font-size: 17px;
}
.markdown .tablewrap {
  overflow-x: auto;
  margin: 14px 0;
}
.markdown table {
  border-collapse: collapse;
  min-width: 65%;
  font-size: 14px;
}
.markdown th,
.markdown td {
  border: 1px solid var(--line);
  text-align: left;
  padding: 7px 11px;
  vertical-align: top;
}
.markdown th {
  background: #edf3e8;
}
.markdown code {
  background: #edf2e9;
  padding: 2px 4px;
  border-radius: 4px;
}
.markdown pre,
.excerpt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.markdown blockquote,
.excerpt {
  border-left: 3px solid #83a67c;
  padding: 9px 15px;
  background: #f4f7ef;
  color: #405c46;
}
.cite {
  font-size: 12px;
  color: var(--forest);
  font-weight: 700;
  background: #e7efdf;
  border-radius: 4px;
  padding: 1px 5px;
}
.sources {
  margin: 10px 0;
}
.sources summary {
  cursor: pointer;
  font-size: 13px;
  color: #507351;
}
.sourceitem {
  display: block;
  text-align: left;
  width: 100%;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.sourceitem b,
.sourceitem small,
.docinfo b,
.docinfo small {
  display: block;
}
.sourceitem small,
.docinfo small {
  color: var(--muted);
  font-size: 12px;
}
.reply-actions {
  gap: 2px;
}
.reply-actions .ic {
  width: 15px;
}
.running:after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 16px;
  background: #6b9268;
  animation: pulse 1s ease-in-out infinite;
}
.error,
.warn {
  color: #955843;
  background: #faf0e6;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
}
.statusline {
  color: #637d60;
  font-size: 13px;
  margin: 5px 0;
}
.spinner {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
@keyframes in {
  from {
    opacity: 0.25;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.appear,
.hero,
.quick,
.sources[open],
.msg.assistant,
.kbbox {
  animation: in 0.25s ease-out;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(380px, 1fr);
  background: #f9fbf5;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, #102b1de8, transparent 65%),
    url(/static/assets/orchard-login.webp) center/cover;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 5vw, 78px);
  color: #fff;
}
.auth-art .brand {
  background: #fffdf2ea;
  color: #284831;
  border-radius: 14px;
  width: max-content;
  padding: 10px 17px;
}
.auth-art h1 {
  font-size: clamp(33px, 4vw, 64px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.auth-art p {
  color: #e6eedb;
}
.auth-form {
  width: min(420px, 85%);
  margin: auto;
  padding: 40px 0;
}
.auth-form h2 {
  font-size: 32px;
  margin: 19px 0 5px;
}
.auth-form .tabs {
  margin: 20px 0;
}
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #eaf0e5;
}
.tabs button {
  border-radius: 7px;
  padding: 5px 13px;
  font-size: 14px;
}
.tabs .on {
  background: white;
  font-weight: 650;
  box-shadow: 0 1px 5px #1d3e2510;
}
label.field {
  display: block;
  font-weight: 550;
  font-size: 14px;
  margin: 13px 0;
}
label.field input,
label.field textarea,
label.field select,
.searchinp {
  display: block;
  width: 100%;
  border: 1px solid #cbd9c8;
  border-radius: 9px;
  padding: 9px 12px;
  background: white;
  margin-top: 5px;
}
label.field textarea {
  min-height: 110px;
  resize: vertical;
}
.full {
  width: 100%;
}
.lib {
  max-width: 1280px;
  padding: 25px clamp(18px, 3.5vw, 60px);
  margin: auto;
}
.libhead h2 {
  font-size: 30px;
}
.libhead p {
  color: var(--muted);
  margin: 3px 0 12px;
}
.libtools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 17px 0;
}
.libtools .searchinp {
  width: min(270px, 100%);
  margin: 0;
}
.libgrid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
}
.kbnav,
.kbbox,
.docrow {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.kbnav {
  padding: 10px;
  height: fit-content;
}
.kbnav button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  padding: 8px 9px;
}
.kbnav button.sel {
  background: #eaf1e4;
}
.kbnav small {
  font-size: 11px;
  color: var(--muted);
}
.kbbox {
  padding: 18px;
}
.docrow {
  gap: 11px;
  padding: 10px 12px;
  margin: 8px 0;
}
.docrow .thumb {
  height: 43px;
  width: 51px;
  border-radius: 7px;
  object-fit: cover;
}
.docinfo {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
.docinfo b {
  font-size: 14px;
}
.docrow .iconbtn {
  width: 28px;
  height: 29px;
}
.docrow .ic {
  width: 16px;
}
.empty {
  color: var(--muted);
  padding: 26px 10px;
  text-align: center;
}
.hit {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.hit button {
  font-weight: 650;
  text-align: left;
}
.hit p {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.excerpt {
  margin: 8px 0 16px;
  font-size: 15px;
}
.modalhead {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.modalhead h2 {
  font-size: 18px;
}
.modbody {
  padding: 17px 20px;
}
.modbody p {
  margin: 5px 0 13px;
}
.modbody small {
  color: var(--muted);
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(570px, calc(100vw - 28px));
  max-height: 86dvh;
  color: var(--ink);
  box-shadow: 0 24px 80px #16301e3b;
}
dialog::backdrop {
  background: #182d204f;
}
dialog[open] {
  animation: in 0.18s ease-out;
}
.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: #f4f7f0;
  margin: 6px 0;
  border-radius: 8px;
}
.choice input {
  accent-color: var(--forest);
}
.modfoot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
#toast {
  position: fixed;
  bottom: 17px;
  left: 50%;
  transform: translate(-50%, 8px);
  max-width: 85vw;
  background: #254633;
  color: white;
  padding: 8px 15px;
  border-radius: 9px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: 0.15s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.attachline {
  font-size: 12px;
  color: #5b775d;
}
.sheetform {
  padding: 4px 0;
}
.sidebar .histempty {
  font-size: 12px;
  color: #7a887a;
  margin: 8px 0;
}
.hero.changing:after {
  animation: pulse 0.4s;
}
.proframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.navback {
  display: none;
}
.mdlerror {
  color: #9b4c39;
  margin-bottom: 8px;
}
@media (max-width: 1000px) {
  :root {
    --side: 191px;
  }
  .brand {
    padding: 0 6px;
  }
  .brand strong {
    font-size: 21px;
  }
  .home {
    padding-inline: 22px;
  }
  .quick {
    padding: 13px;
  }
  .quick strong {
    font-size: 16px;
  }
  .libgrid {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .layout {
    display: flex;
  }
  .main {
    width: 100%;
  }
  .mobile {
    display: grid;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 245px;
    z-index: 12;
    transform: translateX(-101%);
    visibility: hidden;
    transition: transform 0.22s;
  }
  .navopen .sidebar {
    visibility: visible;
    transform: none;
  }
  .navopen .navback {
    display: block;
    position: fixed;
    inset: 0;
    background: #213c254d;
    z-index: 11;
  }
  .top {
    height: 55px;
    padding: 0 12px;
  }
  .top h1 {
    font-size: 16px;
  }
  .service {
    font-size: 11px;
  }
  .home {
    padding: 15px 12px;
  }
  .hero {
    min-height: 164px;
    padding: 18px;
    border-radius: 16px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero p {
    font-size: 12px;
    max-width: 73%;
  }
  .hero small {
    font-size: 10px;
  }
  .hero:after {
    left: 47%;
    opacity: 0.7;
  }
  .hero .btn {
    margin-top: 10px;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .quick {
    padding: 12px;
  }
  .quick strong {
    margin-top: 6px;
  }
  .quick .ic {
    width: 19px;
    height: 19px;
  }
  .prompt-list {
    margin-top: 15px;
  }
  .composer {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
  }
  .composer textarea {
    font-size: 15px;
    min-height: 76px;
  }
  .compose-tools {
    gap: 4px;
  }
  .composer-foot {
    gap: 3px;
  }
  .compose-tools .btn,
  .compose-tools .pill {
    padding: 5px 7px;
    font-size: 11px;
    min-height: 32px;
  }
  .send {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
  .send .ic {
    width: 18px;
  }
  .foot {
    margin: 13px 0;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-art {
    min-height: 175px;
    padding: 18px;
    background-position: center 43%;
  }
  .auth-art h1 {
    font-size: 26px;
  }
  .auth-art .brand {
    padding: 4px 8px;
  }
  .auth-art .brand img {
    width: 27px;
    height: 27px;
  }
  .auth-art .brand strong {
    font-size: 17px;
  }
  .auth-art .brand small {
    font-size: 10px;
  }
  .auth-art p {
    font-size: 12px;
  }
  .auth-form {
    padding: 16px 0 25px;
  }
  .auth-form h2 {
    font-size: 26px;
  }
  .libgrid {
    display: block;
  }
  .kbnav {
    margin-bottom: 10px;
  }
  .kbnav button {
    display: inline-block;
    width: auto;
  }
  .kbbox {
    padding: 12px;
  }
  .lib {
    padding: 15px 12px;
  }
  .docinfo b {
    font-size: 12px;
  }
  .msgs {
    padding: 10px 14px;
  }
  .dock {
    padding: 0 10px 7px;
  }
  .dock textarea {
    min-height: 42px;
  }
  .usertext {
    max-width: 93%;
  }
  .row {
    flex-wrap: wrap;
  }
  .auth .field {
    margin: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.live-link {
  font-size: 12px;
  min-height: 29px;
  padding: 3px 9px;
}
.hero,
.quick {
  transition:
    transform 0.2s,
    background-color 0.3s;
}
.composer:has(.attachline:not(:empty)) .attach {
  background: #e5efdc;
}
.hero:focus-within:after {
  opacity: 0.86;
}
.sidebar .histrow .iconbtn {
  padding: 2px;
}
@media (max-width: 760px) {
  .top .live-link {
    font-size: 10px;
    padding: 3px 5px;
  }
  .top .service {
    font-size: 10px;
  }
  .top > .row {
    gap: 5px;
  }
}
.attachline button {
  color: #54704e;
  font-size: 12px;
  padding: 2px 5px;
}
.attachline .ic {
  width: 13px;
  height: 13px;
}
.msgfiles {
  display: block;
  font-size: 12px;
  color: #698261;
  margin-top: 4px;
}
.markdown table {
  width: 100%;
}
.markdown td:first-child,
.markdown th:first-child {
  min-width: 5em;
}
.markdown td:nth-child(2),
.markdown th:nth-child(2) {
  min-width: 6em;
}
.markdown tr:has(> :nth-child(4)) > :nth-child(3) {
  min-width: 15em;
}
.markdown tr:has(> :nth-child(4)) > :last-child {
  min-width: 8em;
}
@media (max-width: 760px) {
  .hero:after {
    mask-image: linear-gradient(90deg, transparent, #000 65%);
    opacity: 0.66;
  }
}
.hero {
  transition: background-color 0.35s;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-wash, transparent);
  opacity: 0.35;
  transition: background-color 0.35s;
}
.hero[data-theme="live"] {
  --hero-wash: #e4efcd;
}
.hero[data-theme="video"] {
  --hero-wash: #ffe0a8;
}
.hero[data-theme="promo"] {
  --hero-wash: #ffcfbe;
}
.hero[data-theme="qa"] {
  --hero-wash: #cae1ea;
}
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 55%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  mask-image: linear-gradient(90deg, transparent, #000 50%);
  transition: opacity 0.35s ease;
}
.hero[data-theme] .hero-photo {
  opacity: 0.78;
}
.hero[data-theme]::after {
  opacity: 0;
}
.hero[data-theme="live"] .hero-photo {
  background-image: url(/static/assets/lychee.webp);
}
.hero[data-theme="video"] .hero-photo {
  background-image: url(/static/assets/tea.webp);
}
.hero[data-theme="promo"] .hero-photo {
  background-image: url(/static/assets/orchard.webp);
}
.hero[data-theme="qa"] .hero-photo {
  background-image: url(/static/assets/landscape.webp);
}
.composer {
  view-transition-name: agri-composer;
}
.hero {
  view-transition-name: agri-hero;
}
::view-transition-group(agri-composer) {
  animation-duration: 0.28s;
}
::view-transition-old(agri-hero) {
  animation: hero-close 0.22s ease-out both;
}
::view-transition-new(agri-hero) {
  animation: in 0.24s ease-out both;
}
@keyframes hero-close {
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.001s !important;
  }
}
