:root {
  --navy: #152a35;
  --navy-soft: #1e3742;
  --teal: #087e6c;
  --teal-dark: #096757;
  --teal-light: #e7f5ee;
  --mint: #74ddbd;
  --paper: #f6f7f4;
  --white: #fff;
  --ink: #182f37;
  --text: #445961;
  --muted: #839096;
  --line: #e4e9e5;
  --amber: #b57824;
  --red: #ba514a;
  --blue: #4a6f94;
  --shadow: 0 12px 35px #152a3508;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
}
body {
  background: var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #42ae9970;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.muted {
  color: var(--muted);
}
.mono,
code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #67c9aa;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #67c9aa13;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 39px;
  padding: 9px 15px;
  background: white;
  color: var(--text);
  font-weight: 550;
  transition: 0.18s;
}
.button:hover {
  background: #f6f8f6;
  border-color: #cbd8d1;
}
.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.button.primary:hover {
  background: var(--teal-dark);
}
.button.danger {
  color: var(--red);
  border-color: #ecd4d1;
}
.button.small {
  min-height: 31px;
  padding: 6px 10px;
  font-size: 12px;
}
.button svg {
  width: 16px;
  height: 16px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  color: var(--text);
}
.icon-button:hover {
  background: #edf1ed;
  border-color: var(--line);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 550;
  padding: 5px 0;
  font-size: 13px;
}
.text-button:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}
.text-button.danger {
  color: var(--red);
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #d7e6df;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.page-loading {
  min-height: 300px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  letter-spacing: -0.8px;
  font-weight: 650;
  color: white;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 400;
  color: #a3bbb9;
  margin-top: 3px;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
  border-radius: 12px;
  width: 39px;
  height: 43px;
  border: 1px solid #6ad8b846;
  color: var(--mint);
  font-family: Georgia, serif;
  font-style: italic;
}
.brand-mark span {
  position: absolute;
  right: -3px;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.login-screen {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}
.login-story {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
  padding: 48px 11%;
  display: flex;
  flex-direction: column;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  border: 1px solid #87c1aa16;
  left: 9%;
  bottom: -250px;
  box-shadow:
    0 0 0 65px #87c1aa06,
    0 0 0 130px #87c1aa04;
  pointer-events: none;
}
.login-brand {
  position: relative;
  z-index: 1;
}
.story-content {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 75px 0 90px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.1px;
  color: #8dc8b4;
}
.story-content h1 {
  font-size: clamp(35px, 3.1vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 22px 0;
}
.story-content p {
  color: #a0b6b7;
  font-size: 14px;
  line-height: 1.9;
}
.story-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  color: #a9bcbd;
  font-size: 12px;
}
.story-route strong {
  font-size: 19px;
  color: var(--mint);
  font-weight: 550;
}
.story-route i {
  width: 23px;
  height: 1px;
  background: #7eaca6;
  position: relative;
}
.story-route i:after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1px solid #7eaca6;
  border-right: 1px solid #7eaca6;
  transform: rotate(45deg);
  right: 0;
  top: -2px;
}
.story-footer {
  font-size: 11px;
  color: #8da9aa;
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  z-index: 1;
}
.login-panel {
  display: grid;
  place-items: center;
  background: #fcfcfa;
  padding: 50px;
}
.login-form {
  width: 360px;
  max-width: 100%;
}
.section-kicker {
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 600;
}
.login-form h2 {
  font-size: 30px;
  font-weight: 580;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.login-form > p.muted {
  margin-bottom: 39px;
  line-height: 1.7;
}
.login-form label {
  font-size: 12px;
  margin-bottom: 10px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 65px !important;
  min-height: 48px;
}
.password-wrap button {
  position: absolute;
  right: 16px;
  top: 11px;
}
.login-submit {
  width: 100%;
  margin-top: 24px;
  min-height: 47px;
  justify-content: space-between;
  padding: 12px 18px;
}
.login-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.docs-link {
  display: inline-flex;
  gap: 12px;
  color: var(--text);
  font-size: 12px;
  margin-top: 34px;
}
.form-error {
  font-size: 12px;
  line-height: 1.7;
  background: #fbefed;
  border: 1px solid #efd8d3;
  border-radius: 7px;
  color: var(--red);
  padding: 9px 12px;
  margin-top: 13px;
}
.app-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #9cb1b8;
  padding: 31px 19px 21px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin: 0 12px 39px;
  font-size: 24px;
}
.sidebar .brand-mark {
  width: 34px;
  height: 38px;
  font-size: 24px;
  border-radius: 10px;
}
.sidebar .brand small {
  font-size: 9px;
}
.sidebar-section-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #66818a;
  padding: 0 17px;
  margin-bottom: 13px;
}
#main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 5px;
  border-radius: 7px;
  font-size: 13px;
  transition: 0.17s;
}
#main-nav a svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}
#main-nav a:hover {
  background: #ffffff06;
  color: #e4efed;
}
#main-nav a.active {
  color: #d9f7eb;
  background: #294941;
}
#main-nav a.active:before {
  content: "";
  position: absolute;
  height: 17px;
  width: 3px;
  background: var(--mint);
  border-radius: 3px;
  left: -19px;
  top: 13px;
}
#main-nav a.active svg {
  color: #7ed6b4;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  line-height: 19px;
  min-width: 20px;
  text-align: center;
  border-radius: 5px;
  background: #355b4f;
  color: #bcebd6;
}
.nav-divider {
  margin-top: 30px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 28px 14px 0;
}
.sidebar-health {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  color: #8fb9a9;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff0b;
  margin-bottom: 14px;
}
.sidebar-bottom > a,
.logout {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  padding: 10px 0;
  color: #a1b4b9;
}
.sidebar-bottom > a > span:last-child {
  margin-left: auto;
}
.sidebar-bottom svg {
  width: 15px;
  height: 15px;
}
.logout {
  background: none;
  border: 0;
  width: 100%;
}
.logout:hover,
.sidebar-bottom > a:hover {
  color: #d4e6df;
}
.sidebar-version {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #58717a;
  margin-top: 24px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb i {
  font-style: normal;
  color: #b8c4c4;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--text);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.live-indicator .status-dot {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  box-shadow: none;
}
.admin-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 11px;
  background: #e5ece5;
  color: #526c60;
  border: 3px solid #f6f8f3;
}
.mobile-menu {
  display: none;
}
.mode-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 37px;
  background: #fff8e9;
  color: #92702f;
  border-bottom: 1px solid #ede4ce;
  font-size: 11px;
  line-height: 1.7;
}
.mode-banner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.mode-banner strong {
  font-weight: 600;
}
#main-content {
  padding: 34px 37px 48px;
  flex: 1;
  outline: none;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 27px;
}
.page-header h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin: 0 0 9px;
}
.page-header p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.page-header .header-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.date-tag {
  font-size: 10px;
  color: #8b9899;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.date-tag svg {
  width: 13px;
  height: 13px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 37px;
  color: #a2abaa;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.2px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 26px;
}
.stat-card {
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f8084;
  font-size: 11px;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f0f5f0;
  color: #6f9284;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.stat-card.attention .stat-icon {
  background: #fbf2e6;
  color: #b78b4d;
}
.stat-value {
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 12px 0 9px;
  line-height: 1;
}
.stat-bottom {
  font-size: 10px;
  color: #98a3a2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-bottom .tiny-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8ac9af;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel + .panel {
  margin-top: 20px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 23px;
  border-bottom: 1px solid #edf0eb;
}
.panel-header h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.panel-header .text-button {
  font-size: 10px;
}
.count-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #8a9796;
  min-width: 20px;
  height: 18px;
  background: #f1f4ef;
  border: 1px solid #e8ece7;
  border-radius: 4px;
  font-weight: 450;
}
.panel-body {
  padding: 20px 23px;
}
.platform-list {
  padding: 7px 22px 13px;
}
.platform-row {
  padding: 17px 0;
  display: flex;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid #edf1eb;
}
.platform-row:last-child {
  border: 0;
}
.platform-symbol {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  background: #f3f5f2;
  color: #33464b;
}
.platform-symbol.douyin {
  background: #edf1f3;
  color: #263642;
}
.platform-symbol.kuaishou {
  background: #fff1e9;
  color: #de823d;
}
.platform-symbol.xiaohongshu {
  background: #fff0f0;
  color: #dc6671;
  font-size: 11px;
  letter-spacing: -0.5px;
}
.platform-info {
  flex: 1;
}
.platform-info strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.platform-info small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.platform-total {
  font-size: 18px;
  color: #82918f;
  font-weight: 450;
}
.note-box {
  padding: 19px 21px;
  background: #edf4ed;
  border: 1px solid #e1e9dd;
  border-radius: var(--radius);
  margin-top: 20px;
}
.note-box .note-label {
  font-size: 10px;
  color: var(--teal);
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 600;
}
.note-box .note-label svg {
  width: 14px;
  height: 14px;
}
.note-box h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 13px 0 9px;
}
.note-box p {
  font-size: 11px;
  color: #7c8c80;
  line-height: 1.85;
  margin: 0;
}
.note-box a {
  font-size: 10px;
  color: var(--teal);
  display: inline-flex;
  margin-top: 15px;
  gap: 12px;
}
.attention-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff9ef;
  border: 1px solid #eee4d0;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  color: #997b40;
}
.attention-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.attention-banner .text-button {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
  color: #947137;
}
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.empty-state .empty-icon {
  display: grid;
  place-items: center;
  background: #f3f6f1;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #97ada0;
  margin: 0 auto 16px;
}
.empty-state .empty-icon svg {
  width: 21px;
  height: 21px;
}
.empty-state h3 {
  font-size: 13px;
  color: #667c77;
  font-weight: 500;
  margin: 0 0 8px;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0 auto 17px;
  max-width: 310px;
}
.empty-state.compact {
  padding: 33px 20px;
}
.empty-state .button {
  font-size: 11px;
  min-height: 33px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  color: #95a09f;
  font-size: 10px;
  font-weight: 450;
  background: #fcfdfb;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf0eb;
  color: var(--text);
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr {
  transition: 0.15s;
}
tbody tr:hover {
  background: #fbfcf9;
}
.table-title {
  font-size: 12px;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #2f454b;
  display: block;
}
.table-subtitle {
  display: block;
  color: #a0aaa8;
  font-size: 9px;
  margin-top: 5px;
}
.table-platform {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.table-platform .platform-symbol {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 13px;
  border-radius: 7px;
}
.table-platform .platform-symbol.xiaohongshu {
  font-size: 9px;
}
.table-actions {
  display: flex;
  gap: 13px;
  align-items: center;
  white-space: nowrap;
}
.table-actions .text-button {
  font-size: 10px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
  color: #68837a;
  background: #eef5ef;
}
.status-badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.green {
  color: #4d9278;
  background: #eaf6ee;
}
.status-badge.blue {
  color: #668bab;
  background: #edf4fa;
}
.status-badge.amber {
  color: #b58c4d;
  background: #fcf4e7;
}
.status-badge.red {
  color: #be6a63;
  background: #fcf0ed;
}
.status-badge.gray {
  color: #91a09c;
  background: #f1f4f0;
}
.status-badge.teal {
  color: #428f81;
  background: #e8f5ef;
}
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.toolbar .search-wrap {
  margin-right: auto;
  min-width: 200px;
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 15px;
  height: 15px;
  color: #a1aeaa;
}
.search-wrap input {
  padding-left: 33px;
  min-height: 35px;
  background: #fbfcf9;
  font-size: 11px;
}
.toolbar select {
  width: auto;
  min-width: 115px;
  min-height: 35px;
  font-size: 11px;
  background: #fbfcf9;
}
.filter-count {
  font-size: 10px;
  color: #97a29e;
}
.table-footer {
  padding: 13px 20px;
  color: #9ca7a2;
  font-size: 10px;
  border-top: 1px solid var(--line);
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.account-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.account-card-top {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 21px;
}
.account-card-top .platform-symbol {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 10px;
  font-size: 20px;
}
.account-card-top .platform-symbol.xiaohongshu {
  font-size: 13px;
}
.account-title {
  flex: 1;
  min-width: 0;
}
.account-title h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-title small {
  font-size: 10px;
  color: var(--muted);
}
.account-meta {
  border-top: 1px solid #edf0e9;
  padding-top: 16px;
  margin-bottom: 18px;
  display: grid;
  gap: 11px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #8b9a94;
}
.meta-row span:last-child {
  color: #62766c;
  text-align: right;
}
.account-footer {
  display: flex;
  gap: 8px;
  align-items: center;
}
.account-footer .button {
  flex: 1;
  font-size: 11px;
  min-height: 33px;
  padding: 7px 9px;
}
.account-footer .icon-button {
  width: 30px;
  height: 30px;
}
.account-footer .icon-button svg {
  width: 15px;
  height: 15px;
}
.intro-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: #82928a;
  background: #eef3ed;
  border: 1px solid #e3eae0;
  border-radius: 9px;
  padding: 13px 17px;
  margin-bottom: 22px;
}
.intro-strip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cards-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}
.cards-toolbar .search-wrap {
  max-width: 310px;
  flex: 1;
}
.cards-toolbar select {
  width: 150px;
  min-height: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-group {
  min-width: 0;
}
.form-group.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #5e746a;
  margin-bottom: 8px;
}
.required {
  color: var(--red);
  margin-left: 3px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 39px;
  border: 1px solid #dce4dc;
  border-radius: 7px;
  padding: 10px 11px;
  background: white;
  color: #3a5146;
  transition: 0.15s;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #a7b2aa;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #8cb7a1;
  outline: 0;
  box-shadow: 0 0 0 3px #8cb7a118;
}
textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.8;
}
.form-help {
  font-size: 10px;
  color: #99a69d;
  line-height: 1.8;
  margin: 7px 0 0;
}
.checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
}
.check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 450;
  border: 1px solid var(--line);
  padding: 11px 12px;
  border-radius: 7px;
  margin: 0;
  color: #63786c;
  background: #fcfdfb;
  cursor: pointer;
}
.check-option input {
  width: 14px;
  min-height: 14px;
  height: 14px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.check-option .platform-symbol {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  font-size: 12px;
  border-radius: 6px;
}
.check-option .platform-symbol.xiaohongshu {
  font-size: 8px;
}
.check-option small {
  font-size: 9px;
  color: #9baa9f;
  display: block;
  margin-top: 3px;
}
.check-option:has(input:checked) {
  background: #edf6ee;
  border-color: #9bcab0;
}
.check-option:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}
.inline-note {
  font-size: 11px;
  line-height: 1.85;
  background: #f4f7f0;
  padding: 12px 14px;
  border: 1px solid #e6ecdf;
  border-radius: 8px;
  color: #829078;
}
.inline-note.warning {
  background: #fff8eb;
  color: #a0854e;
  border-color: #f0e4c9;
}
.inline-note.danger {
  background: #fff3ef;
  color: #b16e5f;
  border-color: #f0dacf;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.detail-item label {
  font-size: 10px;
  color: #9aa79d;
  font-weight: 400;
  margin-bottom: 7px;
}
.detail-item > div {
  font-size: 12px;
  color: #57705e;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.detail-item.full {
  grid-column: 1/-1;
}
.detail-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.detail-section h3 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 14px;
  color: #657c69;
}
.event-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.event-list li {
  display: flex;
  gap: 12px;
  position: relative;
}
.event-list li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: -17px;
  border-left: 1px solid #e0e8dc;
}
.event-list li:last-child:before {
  display: none;
}
.event-dot {
  width: 9px;
  height: 9px;
  background: #b2d3b9;
  border: 2px solid #eff5eb;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  z-index: 1;
}
.event-message {
  font-size: 11px;
  color: #677d6b;
  line-height: 1.8;
}
.event-message time {
  display: block;
  font-size: 9px;
  color: #a3afa2;
  margin-top: 3px;
}
.code-block {
  background: #f5f7f2;
  border: 1px solid #e5ebe0;
  border-radius: 8px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.8;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #61745d;
  max-height: 250px;
}
.secret-box {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #f0f6ed;
  border: 1px solid #dae6d4;
  padding: 11px 12px;
  border-radius: 7px;
  margin: 8px 0 18px;
}
.secret-box code {
  flex: 1;
  overflow-wrap: anywhere;
  color: #55764d;
  line-height: 1.8;
  font-size: 11px;
}
.secret-box button {
  flex-shrink: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #102c3655;
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fadein 0.15s;
}
.modal {
  background: #fff;
  border: 1px solid #e2e9dc;
  border-radius: 16px;
  box-shadow: 0 30px 100px #102c3625;
  width: 580px;
  max-width: 100%;
  max-height: calc(100vh - 50px);
  display: flex;
  flex-direction: column;
}
.modal.wide {
  width: 740px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.modal-header h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.2px;
}
.modal-header p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin: 6px 0 0;
}
.modal-body {
  padding: 24px 25px;
  overflow: auto;
}
.modal-footer {
  padding: 16px 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  background: #fcfdf9;
  border-radius: 0 0 16px 16px;
}
.modal-footer .button {
  font-size: 12px;
}
.modal-body form > .form-grid {
  margin-bottom: 3px;
}
.modal-close {
  margin-right: -7px;
}
.toast-root {
  position: fixed;
  right: 25px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 17px;
  background: var(--navy);
  color: #e0f2e5;
  border: 1px solid #37574a;
  border-radius: 10px;
  box-shadow: 0 10px 25px #152a3520;
  font-size: 12px;
  line-height: 1.8;
  animation: slidein 0.2s;
}
.toast svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--mint);
}
.toast.error {
  background: #fcf1ee;
  border-color: #ecd2cc;
  color: #af655c;
}
.toast.error svg {
  color: #bc7d71;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.settings-grid .panel + .panel {
  margin: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e9;
  font-size: 11px;
  line-height: 1.7;
}
.settings-row:last-child {
  border: 0;
}
.settings-row span:first-child {
  color: #8c9c8c;
}
.settings-row span:last-child {
  color: #60775c;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 65%;
}
.small-heading {
  font-size: 11px;
  color: #97a58e;
  letter-spacing: 0.5px;
  font-weight: 450;
  margin: 24px 0 15px;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #eef4e9;
  color: #8ba174;
  font-weight: 600;
  font-size: 12px;
}
.project-grants {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  max-width: 190px;
}
.mini-tag {
  font-size: 9px;
  padding: 3px 6px;
  background: #f0f4ec;
  border: 1px solid #e6ecdf;
  border-radius: 4px;
  color: #80916d;
}
.challenge-box {
  padding: 16px;
  background: #fff9ed;
  border: 1px solid #eee1c5;
  border-radius: 9px;
  margin-bottom: 12px;
}
.challenge-box h4 {
  font-size: 12px;
  color: #9f7f3e;
  margin: 0 0 8px;
  font-weight: 550;
}
.challenge-box p {
  color: #a38d5c;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.qr-image {
  display: block;
  max-width: 230px;
  max-height: 230px;
  margin: 15px auto;
  border: 8px solid white;
  box-shadow: 0 0 0 1px #e5e9df;
  border-radius: 8px;
}
.verification-input {
  display: flex;
  gap: 9px;
}
.verification-input input {
  flex: 1;
}
.verification-input button {
  flex-shrink: 0;
}
.tabs {
  display: flex;
  gap: 22px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  padding: 16px 1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8f9e8c;
  font-size: 11px;
}
.tabs button.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-input {
  padding: 20px;
  border: 1px dashed #cddbc6;
  border-radius: 9px;
  background: #f8faf4;
  font-size: 11px;
}
.error-page {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
}
.error-page h2 {
  font-size: 18px;
}
.error-page p {
  line-height: 1.9;
  color: var(--muted);
  font-size: 12px;
}
.error-page .button {
  margin-top: 10px;
}
.banner-count {
  font-weight: 600;
  color: #94702a;
}
.list-count {
  font-size: 10px;
  color: #9ba695;
  margin-left: 6px;
}
.asset-file {
  display: flex;
  align-items: center;
  gap: 11px;
}
.file-symbol {
  display: grid;
  place-items: center;
  width: 31px;
  height: 35px;
  border: 1px solid #e1e8d9;
  border-radius: 7px;
  background: #f7f9f3;
  color: #91a27e;
  flex-shrink: 0;
}
.file-symbol svg {
  width: 16px;
  height: 16px;
}
.success-mark {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  background: #eaf5e7;
  border: 1px solid #d5e8cd;
  border-radius: 50%;
  color: #71a261;
  margin: 0 auto 15px;
}
.success-mark svg {
  width: 24px;
  height: 24px;
}
.secret-heading {
  text-align: center;
  margin-bottom: 22px;
}
.secret-heading h3 {
  font-size: 16px;
  font-weight: 550;
  margin: 0 0 7px;
}
.secret-heading p {
  font-size: 11px;
  color: #8c9c84;
  line-height: 1.8;
  margin: 0;
}
.secret-label {
  font-size: 11px;
  font-weight: 550;
  color: #71886a;
}
.modal-wide-note {
  margin-top: 17px;
}
.upload-summary {
  font-size: 11px;
  line-height: 1.8;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  background: #f9fbf4;
}
.upload-summary strong {
  color: var(--teal);
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slidein {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .stat-card {
    padding: 24px 27px;
  }
  .topbar {
    padding: 0 46px;
  }
  #main-content {
    padding: 39px 46px 50px;
  }
  .workspace-footer {
    padding: 18px 46px;
  }
  .mode-banner {
    padding: 11px 46px;
  }
  .account-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    width: 200px;
    padding-left: 14px;
    padding-right: 14px;
  }
  #main-nav a.active:before {
    left: -14px;
  }
  .sidebar .brand {
    margin-left: 10px;
    gap: 9px;
  }
  .topbar {
    padding: 0 25px;
  }
  #main-content {
    padding: 29px 25px 40px;
  }
  .workspace-footer {
    padding: 18px 25px;
  }
  .mode-banner {
    padding: 10px 25px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 18px 17px;
  }
  .stat-value {
    font-size: 30px;
  }
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  th,
  td {
    padding-left: 16px;
    padding-right: 16px;
  }
  .table-title {
    max-width: 200px;
  }
  .login-story {
    padding: 38px 10%;
  }
}
@media (max-width: 960px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .overview-side .note-box {
    margin-top: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .login-screen {
    grid-template-columns: 42% 58%;
  }
  .story-content h1 {
    font-size: 33px;
  }
  .story-route {
    gap: 9px;
  }
  .login-panel {
    padding: 35px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .table-platform {
    gap: 6px;
  }
  .table-title {
    max-width: 240px;
  }
}
@media (max-width: 720px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 224px;
    box-shadow: 20px 0 60px #152a3520;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    display: flex;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fafbf8f5;
    backdrop-filter: blur(8px);
  }
  .mobile-menu {
    display: grid;
    margin-left: -5px;
    margin-right: 1px;
  }
  .breadcrumb {
    gap: 9px;
    font-size: 10px;
  }
  .live-indicator {
    display: none;
  }
  .topbar-actions {
    gap: 8px;
  }
  #main-content {
    padding: 24px 18px 35px;
  }
  .mode-banner {
    padding: 10px 18px;
    font-size: 10px;
  }
  .page-header {
    gap: 12px;
    margin-bottom: 23px;
  }
  .page-header h1 {
    font-size: 22px;
  }
  .page-header p {
    font-size: 10px;
    max-width: 220px;
  }
  .header-actions .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 34px;
    gap: 5px;
  }
  .header-actions .button svg {
    width: 13px;
    height: 13px;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
  }
  .stat-value {
    font-size: 28px;
    margin: 10px 0;
  }
  .stat-bottom {
    font-size: 9px;
  }
  .overview-side {
    grid-template-columns: 1fr;
  }
  .overview-grid {
    gap: 18px;
  }
  .panel-header {
    padding: 17px 18px;
  }
  .panel-header h2 {
    font-size: 12px;
  }
  .panel-header .text-button {
    font-size: 10px;
  }
  th,
  td {
    padding: 13px 15px;
  }
  .table-title {
    max-width: 210px;
  }
  .table-wrap table {
    min-width: 620px;
  }
  .table-wrap.compact-table table {
    min-width: 540px;
  }
  .workspace-footer {
    padding: 17px 18px;
    font-size: 8px;
  }
  .workspace-footer span:last-child {
    display: none;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .account-card {
    padding: 20px;
  }
  .account-card-top {
    margin-bottom: 15px;
  }
  .toolbar {
    padding: 13px 15px;
    gap: 8px;
  }
  .toolbar .search-wrap {
    width: 100%;
    margin: 0;
  }
  .toolbar select {
    min-width: 100px;
    flex: 1;
  }
  .cards-toolbar {
    gap: 8px;
  }
  .cards-toolbar select {
    width: 110px;
    font-size: 11px;
  }
  .intro-strip {
    font-size: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
  }
  .attention-banner {
    font-size: 10px;
    padding: 12px;
    gap: 8px;
    align-items: flex-start;
  }
  .attention-banner .text-button {
    font-size: 10px;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal {
    max-height: calc(100dvh - 24px);
    border-radius: 13px;
  }
  .modal-header {
    padding: 18px;
  }
  .modal-body {
    padding: 19px 18px;
  }
  .modal-footer {
    padding: 14px 18px;
  }
  .modal-header h2 {
    font-size: 15px;
  }
  .form-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: auto;
  }
  .checkbox-list {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    gap: 17px;
  }
  .detail-item > div {
    font-size: 11px;
  }
  .toast-root {
    right: 14px;
    bottom: 15px;
    left: 14px;
    max-width: none;
  }
  .toast {
    font-size: 11px;
  }
  .login-screen {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .login-story {
    padding: 27px 28px 32px;
    min-height: 240px;
  }
  .login-brand {
    font-size: 23px;
  }
  .story-content {
    padding: 29px 0 0;
  }
  .story-content h1 {
    font-size: 27px;
    line-height: 1.5;
    margin: 14px 0 0;
  }
  .story-content h1 br {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
  }
  .story-content p,
  .story-route,
  .story-footer {
    display: none;
  }
  .login-story:after {
    width: 300px;
    height: 300px;
    left: auto;
    right: -60px;
    bottom: -200px;
  }
  .login-panel {
    padding: 36px 28px 45px;
    align-items: start;
  }
  .login-form {
    width: 100%;
    max-width: 420px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-form > p.muted {
    font-size: 12px;
    margin-bottom: 25px;
  }
  .section-kicker {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .login-form label {
    font-size: 11px;
  }
  .login-note {
    font-size: 10px;
  }
  .docs-link {
    margin-top: 22px;
  }
  .settings-row {
    font-size: 10px;
  }
  .qr-image {
    max-width: 210px;
    max-height: 210px;
  }
  .verification-input {
    flex-wrap: wrap;
  }
  .verification-input input {
    min-width: 160px;
  }
  .note-box {
    padding: 18px;
  }
  .table-footer {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.artifact-list {
  display: grid;
  gap: 13px;
}
.artifact-preview {
  display: block;
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 10px;
  background: #f6f8f2;
}
/* Several task actions must remain reachable on narrow screens. */
.modal-footer {
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .modal-footer .button {
    flex: 1 1 auto;
  }
}
.account-operation {
  margin: -2px 0 17px;
  padding: 12px 13px;
  background: #f5f8f2;
  border: 1px solid #e6ece0;
  border-radius: 8px;
}
.account-operation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #859579;
}
.account-operation p {
  margin: 9px 0 0;
  color: #7b9072;
  font-size: 10px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.account-operation .text-button {
  font-size: 10px;
  margin-top: 8px;
}
.account-operation.operation-failed {
  background: #fff5f1;
  border-color: #f0ddd2;
}
.account-operation .operation-error {
  color: #b1715e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.account-footer .button {
  white-space: normal;
}
.login-steps {
  margin-bottom: 22px;
  padding: 17px 18px;
  border: 1px solid #dce9d5;
  background: #f5f9f1;
  border-radius: 10px;
}
.login-steps-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #597b50;
  font-size: 12px;
  font-weight: 550;
}
.login-steps-title svg {
  width: 16px;
  height: 16px;
}
.login-steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 17px 0 13px;
}
.login-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.login-steps li > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #e3efd9;
  color: #6a9259;
  font-size: 10px;
  flex-shrink: 0;
}
.login-steps li strong {
  font-size: 11px;
  font-weight: 550;
  color: #6c8462;
  line-height: 1.7;
}
.login-steps li p,
.login-steps-note {
  font-size: 10px;
  line-height: 1.8;
  color: #8b9d80;
  margin: 4px 0 0;
}
.login-steps-note {
  border-top: 1px solid #e3ecd9;
  padding-top: 11px;
}
.identity-image {
  display: block;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin: 15px auto;
  border: 1px solid #e5e9df;
  border-radius: 8px;
  background: white;
}
.sms-request-note {
  margin: 14px 0 !important;
}
.sms-send-button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.8;
}
@media (max-width: 720px) {
  .login-steps ol {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .identity-image {
    max-height: 320px;
  }
  .sms-send-button {
    width: 100%;
  }
}
