:root {
  --mint: #35bb9a;
  --mint-dark: #168b70;
  --mint-pale: #edf9f5;
  --ink: #20242b;
  --muted: #68717d;
  --line: #e6ece9;
  --orange: #ff8246;
  --navy: #232645;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(4vw, 32px);
  background: #fff;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  font-size: 26px;
  color: var(--mint);
}
.brand span {
  font-size: 33px;
  letter-spacing: -2px;
}
.brand small {
  font-size: 13px;
  color: #617069;
  font-weight: 600;
}
.topbar nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: #4d5752;
}
.topbar nav a:hover {
  color: var(--mint);
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #69706d;
}
.phone-link svg {
  width: 16px;
}
.phone-link strong {
  font-size: 19px;
  color: var(--mint);
}
.hero {
  background: #e9f8f3;
  border-bottom: 1px solid #d8eee6;
}
.hero-inner {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 470px;
  gap: 46px;
  align-items: center;
  padding: 42px 34px;
}
.hero-content {
  display: grid;
  gap: 26px;
  min-width: 0;
}
.hero-copy {
  max-width: 650px;
  color: #173f36;
}
.eyebrow {
  width: max-content;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 20px;
  background: #e7f8f2;
  color: #17614f;
  font-size: 14px;
  font-weight: 700;
}
.eyebrow svg {
  width: 17px;
}
.hero h1 {
  margin: 16px 0 10px;
  font-size: 43px;
  line-height: 1.16;
  letter-spacing: 0;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  color: #53635e;
}
.hero-visual {
  width: min(100%, 520px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 122, 101, 0.12);
  border-radius: 8px;
  background: #79dfcc;
  box-shadow: 0 16px 32px rgba(20, 114, 94, 0.12);
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
}
.button svg {
  width: 18px;
}
.button-primary {
  background: var(--mint);
  color: #fff;
}
.button-primary:hover,
.submit-button:hover {
  background: var(--mint-dark);
}
.button-ghost {
  background: #fff;
  border-color: rgba(13, 105, 85, 0.3);
  color: #17614f;
}
.appointment-card {
  align-self: center;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 20px 60px rgba(12, 98, 79, 0.2);
  overflow: hidden;
}
.trust-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  background: #fff3e9;
  color: var(--orange);
  font-size: 14px;
  font-weight: 750;
}
.trust-strip svg {
  width: 19px;
}
.trust-strip em {
  font-style: normal;
  font-weight: 500;
  margin-left: auto;
}
.appointment-card h2 {
  margin: 20px 24px 16px;
  font-size: 21px;
}
.appointment-card h2 small {
  font-size: 13px;
  color: #748078;
  font-weight: 500;
  margin-left: 8px;
}
.appointment-card form {
  padding: 0 24px 24px;
}
.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 14px;
  color: #4e5653;
  margin-bottom: 8px;
}
.service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}
.service-option {
  min-height: 37px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: #3e4743;
  cursor: pointer;
}
.service-option.is-selected {
  border-color: var(--mint);
  background: #f2fbf8;
  color: var(--mint-dark);
  font-weight: 700;
}
select,
input,
textarea {
  width: 100%;
  border: 1px solid #dce5e1;
  border-radius: 4px;
  background: #fff;
  outline: 0;
  color: #272d2a;
}
select,
input {
  height: 40px;
  padding: 0 11px;
}
textarea {
  min-height: 70px;
  padding: 10px 11px;
  resize: vertical;
}
select:focus,
input:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(53, 187, 154, 0.12);
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.privacy {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 10px 0;
  font-size: 12px;
  color: #717a75;
}
.privacy input {
  width: 14px;
  height: 14px;
  margin: 1px 0;
}
.privacy a {
  color: var(--mint-dark);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.submit-button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--mint);
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
}
.form-message {
  min-height: 18px;
  margin: 9px 0 0;
  color: #d54a42;
  font-size: 13px;
}
.form-message.success {
  color: var(--mint-dark);
}
.section {
  padding: 82px max(4vw, 32px);
}
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.section-heading p {
  color: var(--mint);
  font-weight: 750;
  margin: 0 0 8px;
  font-size: 14px;
}
.section-heading h2 {
  font-size: 30px;
  margin: 0;
  letter-spacing: 0;
}
.guarantees {
  background: #fff;
}
.benefit-grid,
.service-grid {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(27, 83, 69, 0.04);
}
.benefit-grid svg {
  width: 34px;
  height: 34px;
  color: var(--mint);
  background: #e6faf4;
  border-radius: 50%;
  padding: 8px;
}
.benefit-grid h3 {
  margin: 15px 0 8px;
  font-size: 18px;
}
.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.services {
  background: #f5fbf9;
}
.service-grid {
  grid-template-columns: repeat(3, 1fr);
}
.service-item {
  border-radius: 7px;
  padding: 23px 22px;
  background: #fff;
  border: 1px solid #e5efeb;
  display: flex;
  gap: 15px;
}
.service-item svg {
  width: 26px;
  min-width: 26px;
  color: var(--mint);
}
.service-item h3 {
  margin: 0 0 7px;
  font-size: 18px;
}
.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.process {
  background: #fff;
}
.process-list {
  list-style: none;
  padding: 0;
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-list li {
  text-align: center;
  position: relative;
}
.process-list li:not(:last-child):after {
  content: "";
  height: 1px;
  background: #bee8dc;
  width: calc(100% - 40px);
  position: absolute;
  left: calc(50% + 28px);
  top: 24px;
}
.process-list span {
  width: 50px;
  height: 50px;
  border: 2px solid #a9e2d4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: #fff;
  position: relative;
  z-index: 1;
  margin: auto;
  font-weight: 800;
}
.process-list h3 {
  margin: 14px 0 6px;
  font-size: 16px;
}
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.geo-guide {
  background: #fff;
}
.geo-intro {
  max-width: 900px;
  margin: -16px auto 30px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}
.geo-link-grid {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.geo-link-grid a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 112px;
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfefd;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.geo-link-grid a:hover {
  border-color: #9edfcf;
  box-shadow: 0 10px 24px rgba(27, 83, 69, 0.08);
  transform: translateY(-2px);
}
.geo-link-grid strong {
  color: var(--ink);
  font-size: 18px;
}
.geo-link-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.geo-page {
  min-height: 100vh;
  background: #f5fbf9;
}
.geo-page main {
  padding-bottom: 40px;
}
.geo-hero {
  padding: 82px max(6vw, 28px) 76px;
  background: #e4f8f1;
  border-bottom: 1px solid #cfeee3;
  text-align: center;
}
.geo-hero .eyebrow {
  margin: 0 auto 20px;
}
.geo-hero h1 {
  margin: 0 auto 16px;
  color: #173f36;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.2;
}
.geo-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #53635e;
  font-size: 18px;
  line-height: 1.8;
}
.geo-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 20px;
}
.geo-content h2 {
  margin: 0 0 18px;
  color: #173f36;
  font-size: 28px;
}
.geo-content h2:not(:first-child) {
  margin-top: 56px;
}
.geo-content > p {
  color: var(--muted);
  line-height: 1.9;
}
.geo-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.geo-facts div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.geo-facts strong {
  color: var(--mint-dark);
}
.geo-facts span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.geo-content details {
  padding: 18px 0;
  border-bottom: 1px solid #d6e9e2;
}
.geo-content summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.geo-content details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 700px) {
  .geo-hero {
    padding: 58px 20px 54px;
  }
  .geo-hero > p:not(.eyebrow) {
    font-size: 16px;
  }
  .geo-content {
    padding: 50px 20px 10px;
  }
  .geo-content h2 {
    font-size: 25px;
  }
  .geo-facts {
    grid-template-columns: 1fr;
  }
}
.faq {
  background: #eef9f5;
}
.faq details {
  max-width: 1000px;
  margin: 0 auto;
  border-bottom: 1px solid #d6e9e2;
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq summary:before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-size: 13px;
}
.faq p {
  margin: 13px 0 0 36px;
  color: #66706a;
  line-height: 1.8;
}
footer {
  background: var(--navy);
  padding: 34px max(4vw, 32px);
  color: #b4bec9;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-size: 14px;
}
footer strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}
footer span {
  margin-right: 18px;
  font-size: 13px;
}
footer > a {
  color: #70ddc3;
  font-size: 20px;
  font-weight: 800;
}
footer p {
  grid-column: 1/-1;
  margin: 0;
  font-size: 12px;
  color: #858ca1;
}
dialog {
  border: 0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
dialog::backdrop {
  background: rgba(24, 43, 38, 0.45);
}
dialog h2 {
  margin-top: 0;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: none;
  cursor: pointer;
}
.wechat-qr {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  margin: 18px auto;
  border-radius: 4px;
}
.admin-body {
  background: #f4f7f6;
  min-height: 100vh;
}
.admin-shell {
  max-width: 1200px;
  margin: auto;
  padding: 48px 24px;
}
.login-panel {
  max-width: 410px;
  margin: 9vh auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(19, 72, 60, 0.08);
}
.login-panel .brand {
  font-size: 22px;
}
.login-panel .brand span {
  font-size: 29px;
}
.login-panel h1 {
  margin: 28px 0 5px;
}
.login-panel > p {
  color: var(--muted);
  margin: 0 0 24px;
}
.login-panel label {
  display: block;
  font-size: 14px;
  margin: 14px 0;
}
.login-panel button,
#logout-button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--mint);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.admin-header p {
  color: var(--mint-dark);
  margin: 0 0 5px;
  font-weight: 700;
}
.admin-header h1 {
  font-size: 31px;
  margin: 0;
}
.admin-header > div:last-child {
  display: flex;
  gap: 10px;
}
.export-link,
#logout-button {
  width: auto;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
}
.export-link {
  border: 1px solid var(--mint);
  border-radius: 4px;
  color: var(--mint-dark);
  font-weight: 700;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.admin-toolbar input {
  max-width: 360px;
}
.retention-note {
  margin: 0 0 14px;
  color: #7a6450;
  font-size: 13px;
}
.lead-table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
}
th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}
th {
  background: #f8fbfa;
  color: #56605a;
  font-size: 13px;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.lead-editor {
  display: grid;
  gap: 7px;
  min-width: 190px;
}
.lead-editor select,
.lead-editor textarea {
  font-size: 13px;
}
.lead-editor textarea {
  min-height: 55px;
}
.lead-editor button {
  border: 0;
  background: var(--mint);
  border-radius: 4px;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.status {
  font-weight: 700;
  color: var(--mint-dark);
}
.notification-error {
  color: #c45446;
}
.resend-button {
  margin-top: 7px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  font-size: 12px;
  padding: 4px 7px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .topbar {
    height: auto;
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow: auto;
    gap: 15px;
  }
  .phone-link span {
    display: none;
  }
  .phone-link strong {
    font-size: 16px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px 20px 42px;
  }
  .hero-content {
    width: 100%;
    gap: 22px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 34px;
  }
  .appointment-card {
    width: 100%;
  }
  .trust-strip em {
    display: none;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .geo-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list li:after {
    display: none;
  }
  .section {
    padding: 58px 20px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .geo-intro {
    text-align: left;
    margin-top: -14px;
  }
  .two-fields {
    grid-template-columns: 1fr;
  }
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer > a {
    grid-row: 2;
  }
  .admin-shell {
    padding: 28px 15px;
  }
  .admin-header {
    align-items: start;
    gap: 18px;
    flex-direction: column;
  }
  .admin-toolbar {
    gap: 8px;
    align-items: center;
  }
  .admin-toolbar input {
    max-width: none;
  }
  .login-panel {
    margin: 4vh auto;
    padding: 26px;
  }
}
@media (max-width: 520px) {
  .geo-link-grid {
    grid-template-columns: 1fr;
  }
}

.douyin-body {
  min-height: 100vh;
  background: #f3f7f5;
}
.douyin-shell {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 54px;
}
.douyin-login {
  width: min(430px, 100%);
  margin: 11vh auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(24, 61, 49, .08);
}
.douyin-login h1 { margin: 30px 0 8px; font-size: 30px; }
.douyin-login > p { color: var(--muted); margin: 0 0 24px; }
.douyin-login label, .douyin-user-form label, .douyin-search-form label, .douyin-connection-form > label { display: grid; gap: 8px; font-size: 13px; color: #53615c; font-weight: 700; }
.douyin-login label { margin: 14px 0; }
.douyin-login input, .douyin-search-form input, .douyin-search-form select, .douyin-user-form input, .douyin-user-form select, .douyin-connection-form input, .douyin-connection-form select { min-height: 42px; padding: 0 11px; }
.douyin-login button, .douyin-search-form button, .douyin-user-form button, .douyin-connection-form button, .connection-row button, .claim-button, .review-actions button, .rule-row button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 5px; background: var(--mint); color: #fff; font-weight: 750; cursor: pointer; }
.douyin-login button { width: 100%; margin-top: 8px; }
.douyin-login button svg, .search-button svg, .claim-button svg { width: 16px; }
.douyin-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 0 25px; }
.douyin-title, .douyin-user { display: flex; align-items: center; gap: 12px; }
.douyin-title p, .panel-heading p { margin: 0 0 4px; color: var(--mint-dark); font-size: 13px; font-weight: 800; }
.douyin-title h1, .panel-heading h2 { margin: 0; letter-spacing: 0; }
.douyin-title h1 { font-size: 28px; }
.douyin-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 8px; color: #fff; background: var(--navy); }
.douyin-mark svg { width: 23px; }
.role-pill, .scope-pill, .task-status, .review-label, .suggestion-pause, .suggestion-observe, .rule-status { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 800; }
.role-pill { background: #e7f8f2; color: var(--mint-dark); }
.scope-pill { background: #fff2e8; color: #a65425; }
.scope-pill svg { width: 14px; }
.icon-button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #53615c; cursor: pointer; }
.icon-button svg { width: 17px; }
.douyin-message { min-height: 20px; margin: 0 0 12px; color: var(--mint-dark); font-size: 13px; font-weight: 700; }
.douyin-message.is-error { color: #bb4a3c; }
.douyin-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.douyin-summary div { min-height: 88px; padding: 17px; background: #fff; }
.douyin-summary span { display: block; color: var(--muted); font-size: 13px; }
.douyin-summary strong { display: block; margin-top: 9px; font-size: 23px; }
.douyin-panel { margin-top: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-heading h2 { font-size: 20px; }
.douyin-search-form { display: grid; grid-template-columns: minmax(220px, 2fr) 145px 170px 150px auto; align-items: end; gap: 12px; }
.douyin-search-form .search-button { padding: 0 16px; white-space: nowrap; }
.douyin-search-form button:disabled { opacity: .65; cursor: wait; }
.keyword-library { display: grid; gap: 10px; margin: 18px 0 22px; }
.keyword-category { display: grid; grid-template-columns: 78px 1fr; gap: 9px; align-items: start; }
.keyword-category > strong { padding-top: 7px; color: #6d736f; font-size: 12px; }
.keyword-category > div { display: flex; flex-wrap: wrap; gap: 7px; }
.keyword-library button { min-height: 29px; padding: 0 9px; border: 1px solid #d9e6e1; border-radius: 4px; background: #fff; color: #366256; font-size: 12px; cursor: pointer; }
.keyword-library button:hover { border-color: var(--mint); color: var(--mint-dark); }
.task-list-heading { display: flex; justify-content: space-between; color: #68717d; font-size: 13px; font-weight: 700; }
.task-list { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.task-row, .rule-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task-row strong, .rule-row strong { display: block; font-size: 14px; }
.task-row small, .rule-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.status-completed { background: #e7f8f2; color: #19755d; }
.status-running { background: #eef4ff; color: #3569a8; }
.status-failed { background: #fff0ed; color: #b84d3f; }
.task-status { background: #f1f3f2; color: #5e6762; }
.douyin-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 6px; }
.douyin-table { min-width: 960px; width: 100%; border-collapse: collapse; }
.douyin-table th, .douyin-table td { padding: 13px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
.douyin-table th { color: #64716c; background: #f8fbfa; font-size: 12px; text-align: left; }
.douyin-table td strong { display: block; margin-top: 7px; }
.douyin-table td small { display: block; max-width: 330px; margin-top: 5px; color: var(--muted); line-height: 1.4; }
.video-link { display: inline-flex; align-items: center; gap: 5px; color: var(--mint-dark); font-weight: 800; }
.video-link svg { width: 14px; }
.region-verified { color: #19755d !important; }
.region-review { color: #a26024 !important; }
.claim-button { min-height: 32px; padding: 0 10px; }
.claim-owner { color: #8a6b35; font-size: 12px; font-weight: 700; }
.review-actions { display: grid; grid-template-columns: repeat(3, auto); gap: 6px; min-width: 280px; }
.review-actions input { grid-column: 1 / -1; min-height: 31px; padding: 0 8px; border: 1px solid #dce5e1; border-radius: 4px; font-size: 12px; }
.review-actions button { min-height: 29px; padding: 0 8px; background: #3c7c6c; font-size: 12px; }
.review-actions .ad-action { background: #c5634c; }
.label-广告 { color: #b64f40; background: #fff0ed; }
.label-真实需求 { color: #19755d; background: #e7f8f2; }
.label-不确定 { color: #79693d; background: #fff8db; }
.suggestion-pause { color: #b84d3f; background: #fff0ed; }
.suggestion-observe { color: #5f6964; background: #f1f3f2; }
.douyin-bottom-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; margin-top: 18px; }
.douyin-bottom-grid .douyin-panel { margin-top: 0; }
.rule-row:first-child { padding-top: 0; }
.rule-row button { min-height: 31px; padding: 0 9px; font-size: 12px; }
.rule-status { color: #19755d; background: #e7f8f2; }
.douyin-user-form { display: grid; gap: 12px; }
.douyin-user-form button { align-self: end; padding: 0 13px; }
.douyin-connection-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.douyin-connection-form button { padding: 0 14px; }
.company-budget-form { display: flex; align-items: end; gap: 12px; margin-bottom: 16px; }
.company-budget-form label { display: grid; gap: 8px; color: #53615c; font-size: 13px; font-weight: 700; }
.company-budget-form input { min-height: 40px; width: 160px; padding: 0 11px; }
.company-budget-form button { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; border: 0; border-radius: 5px; background: #53615c; color: #fff; font-weight: 750; cursor: pointer; padding: 0 12px; }
.connection-cities { grid-column: 1 / -1; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.connection-cities legend { padding: 0 4px; color: #53615c; font-size: 13px; font-weight: 700; }
.connection-cities div { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.connection-cities label { display: inline-flex; align-items: center; gap: 5px; color: #53615c; font-size: 13px; }
.connection-cities input { min-height: auto; padding: 0; }
.connection-list { display: grid; gap: 8px; margin-top: 16px; }
.connection-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfb; }
.connection-row strong, .connection-row small { display: block; }
.connection-row small { margin-top: 4px; color: var(--muted); }
.connection-row > div:last-child { display: flex; align-items: center; gap: 8px; }
.connection-row button { min-height: 32px; padding: 0 10px; background: #53615c; font-size: 12px; }
.connection-status { color: #8b5a28; font-size: 12px; font-weight: 750; }
.connection-status.is-active { color: #26734d; }
.connection-key-dialog { width: min(460px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 8px; padding: 0; box-shadow: 0 18px 60px rgba(10, 27, 20, .28); }
.connection-key-dialog::backdrop { background: rgba(10, 27, 20, .48); }
.connection-key-dialog form { display: grid; gap: 16px; padding: 22px; }
.connection-key-dialog label { display: grid; gap: 8px; color: #53615c; font-size: 13px; font-weight: 700; }
.connection-key-dialog input { min-height: 42px; padding: 0 11px; }
.connection-key-dialog form > div:last-child { display: flex; justify-content: end; gap: 8px; }
.connection-key-dialog form > div:last-child button { min-height: 38px; border: 0; border-radius: 5px; padding: 0 12px; cursor: pointer; }
.connection-key-dialog form > div:last-child button:last-child { background: var(--mint); color: #fff; }
.empty-state { color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 900px) {
  .douyin-shell { width: min(100% - 30px, 1420px); padding-top: 22px; }
  .douyin-summary { grid-template-columns: repeat(2, 1fr); }
  .douyin-search-form { grid-template-columns: repeat(2, 1fr); }
  .douyin-search-form .wide-field { grid-column: 1 / -1; }
  .douyin-search-form button { width: 100%; }
  .douyin-bottom-grid { grid-template-columns: 1fr; }
  .douyin-connection-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-budget-form { align-items: stretch; flex-direction: column; }
}
@media (max-width: 520px) {
  .douyin-header { align-items: flex-start; }
  .douyin-title h1 { font-size: 22px; }
  .douyin-user { gap: 7px; }
  .douyin-summary strong { font-size: 19px; }
  .douyin-panel { padding: 17px; }
  .douyin-connection-form { grid-template-columns: 1fr; }
  .connection-row { align-items: flex-start; flex-direction: column; }
  .douyin-search-form { grid-template-columns: 1fr; }
  .douyin-search-form .wide-field { grid-column: auto; }
  .keyword-category { grid-template-columns: 1fr; gap: 4px; }
  .keyword-category > strong { padding-top: 0; }
  .douyin-login { padding: 25px; }
}
