* {
  box-sizing: border-box;
}
.generation-panel {
  border-top: 1px solid #e5e9ec;
  margin-top: 28px;
  padding-top: 25px;
  scroll-margin-top: 24px;
}
.generation-panel > p {
  font-size: 12px;
}
.generation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 15px;
}
.generation-options select {
  width: 100%;
}
#quoteStatus {
  margin-top: 14px;
  color: #536746;
  font-size: 13px;
}
.quote-card,
.job-card {
  margin-top: 20px;
  border: 1px solid #dce5d2;
  padding: 20px;
  border-radius: 12px;
  background: #fafcf7;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
  margin: 15px 0;
  font-size: 12px;
  color: #75836b;
}
.price-row strong {
  display: block;
  font-size: 23px;
  color: #293d23;
}
.quote-card p,
.job-card p {
  font-size: 12px;
  margin: 10px 0;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #34472f;
}
.consent input {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}
.job-card small {
  display: block;
  overflow-wrap: anywhere;
  color: #85917d;
}
.result-video {
  display: block;
  width: 100%;
  max-height: 550px;
  background: #181e22;
  margin: 18px 0;
  border-radius: 10px;
}
.result-link {
  display: inline-block;
  padding: 10px 18px;
  background: #d8fa76;
  border-radius: 8px;
}
select {
  font: inherit;
  padding: 10px;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  background: white;
  max-width: 100%;
  display: block;
  margin-top: 6px;
}
.models-dialog {
  width: 680px;
}
.model-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.model-list {
  max-height: 55vh;
  overflow: auto;
}
.model-card {
  padding: 14px 3px;
  border-bottom: 1px solid #e9ecee;
}
.model-card b,
.model-card code,
.model-card small {
  display: block;
}
.model-card code {
  font-size: 11px;
  color: #78848c;
  margin: 4px 0;
}
.model-card small {
  color: #8a949b;
  line-height: 1.8;
}
#providerAddress {
  font-size: 11px;
  overflow-wrap: anywhere;
}
body {
  margin: 0;
  background: #f6f7f9;
  color: #202932;
  font:
    14px/1.6 Inter,
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
button {
  background: #d8fa76;
  color: #1b2a1a;
  border: 0;
  border-radius: 9px;
  padding: 11px 19px;
  cursor: pointer;
  font-weight: 650;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 7px 0;
}
h2 {
  font-size: 21px;
}
p {
  color: #7b838d;
  margin: 7px 0 20px;
}
aside {
  width: 228px;
  background: #fff;
  border-right: 1px solid #e9eced;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 30px 20px;
}
.brand {
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 10px 42px;
}
.brand > span {
  font-weight: 750;
}
.brand i {
  font-size: 10px;
  font-style: normal;
  display: block;
  letter-spacing: 3px;
  color: #8d959c;
  font-weight: 400;
}
.nav {
  display: block;
  width: 100%;
  text-align: left;
  color: #757f88;
  background: none;
  padding: 12px 14px;
  margin: 9px 0;
  font-weight: 500;
}
.nav.active {
  background: #eff5e4;
  color: #31492e;
  border-radius: 9px;
}
.sidefoot {
  position: absolute;
  bottom: 30px;
  font-size: 12px;
  color: #77816f;
}
.sidefoot small {
  display: block;
  color: #a6adb3;
  margin: 7px 0;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #79a44a;
  border-radius: 50%;
  margin-right: 7px;
}
.text {
  background: none;
  padding: 0;
  color: #8b929b;
  font-size: 12px;
}
main {
  margin-left: 228px;
  padding: 42px 45px;
  max-width: 1550px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #9aa2a8;
}
.connection {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e7e9ec;
  border-radius: 12px;
  padding: 18px 22px;
  gap: 12px;
  margin-bottom: 26px;
}
.connection p {
  font-size: 12px;
  margin: 2px 0 0;
}
.connection button {
  margin-left: auto;
}
.secondary {
  background: white;
  border: 1px solid #dfe4e7;
  color: #515e65;
}
.workspace {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  min-height: 460px;
}
.projectlist h3 {
  font-size: 13px;
  margin: 0 0 16px;
}
.projectlist h3 span {
  color: #a2aab0;
  margin-left: 8px;
}
.project {
  background: white;
  border: 1px solid #e6e9ec;
  border-radius: 12px;
  padding: 17px;
  margin-bottom: 12px;
  cursor: pointer;
}
.project.selected {
  border-color: #90b84d;
  box-shadow: 0 0 0 1px #90b84d;
}
.project b {
  display: block;
  overflow-wrap: anywhere;
}
.project small {
  color: #939ca3;
  font-size: 11px;
}
.project .tag {
  font-size: 10px;
  color: #6b8750;
  margin-top: 11px;
}
.detail {
  background: #fff;
  border: 1px solid #e5e9ec;
  border-radius: 14px;
  padding: 26px;
  min-width: 0;
}
.empty {
  text-align: center;
  padding: 62px 15px;
}
.empty-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  background: #f2f5ea;
  border-radius: 20px;
  font-size: 36px;
  color: #97af66;
}
.empty p {
  font-size: 13px;
}
.detail h2 {
  margin: 0 0 15px;
  overflow-wrap: anywhere;
}
.drop {
  position: relative;
  border: 1px dashed #bdc8ae;
  border-radius: 12px;
  background: #fafcf6;
  padding: 22px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
}
.drop strong {
  display: block;
}
.drop small {
  color: #8a9582;
}
.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 13px;
}
.media {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.media video,
.media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #181e22;
  display: block;
}
.media .caption {
  padding: 9px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.media small {
  display: block;
  color: #919aa0;
}
.note {
  font-size: 12px;
  background: #f6f7f8;
  border-radius: 8px;
  padding: 12px;
  color: #7c858d;
}
label {
  display: block;
  color: #67727b;
  font-size: 12px;
  margin: 15px 0;
}
input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfe4e8;
  background: #fff;
  padding: 11px;
  border-radius: 8px;
  margin-top: 6px;
  resize: vertical;
  color: #29343c;
}
input:focus,
textarea:focus {
  outline: 2px solid #c1e58a;
  border-color: transparent;
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}
.actions a {
  font-size: 12px;
  margin-right: auto;
}
.actions button {
  font-size: 12px;
}
footer {
  color: #9aa2a8;
  font-size: 11px;
  margin-top: 25px;
}
dialog {
  border: 1px solid #e0e5e7;
  border-radius: 16px;
  padding: 28px;
  width: 480px;
  max-width: 95vw;
  box-shadow: 0 25px 100px #0002;
}
dialog::backdrop {
  background: #17212666;
  backdrop-filter: blur(3px);
}
dialog p {
  font-size: 13px;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f1f5ec;
}
.login-card {
  padding: 46px;
  background: #fff;
  border-radius: 22px;
  max-width: 470px;
  width: 90vw;
  box-shadow: 0 25px 80px #4e654811;
}
.login-card .brand {
  margin-left: 0;
}
.login-card h1 {
  font-size: 25px;
}
.login-card button {
  width: 100%;
  margin-top: 10px;
}
.login-card small {
  color: #b34848;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #26322b;
  color: white;
  padding: 12px 23px;
  border-radius: 10px;
  display: none;
  max-width: 90vw;
  z-index: 10;
}
[hidden] {
  display: none !important;
}
@media (max-width: 950px) {
  aside {
    width: 180px;
    padding: 22px 12px;
  }
  main {
    margin-left: 180px;
    padding: 28px 20px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .projectlist #projects {
    display: flex;
    gap: 10px;
    overflow: auto;
  }
  .project {
    min-width: 200px;
  }
  .connection {
    flex-wrap: wrap;
  }
}
@media (max-width: 620px) {
  aside {
    position: static;
    width: auto;
    border-right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
  }
  .brand {
    font-size: 25px;
    margin: 0 10px;
  }
  .brand i,
  .sidefoot,
  aside .active {
    display: none;
  }
  .nav {
    font-size: 11px;
    padding: 8px;
    width: auto;
    margin: 0;
  }
  main {
    margin: 0;
    padding: 24px 16px;
  }
  header h1 {
    font-size: 24px;
  }
  header p {
    font-size: 12px;
  }
  header button {
    white-space: nowrap;
    padding: 9px 12px;
  }
  .detail {
    padding: 18px;
  }
  .connection {
    padding: 14px;
  }
}

/* 铭洋智汇品牌 */
.brand {font-family:system-ui,"PingFang SC",sans-serif;font-size:28px;letter-spacing:1px;}
