:root {
  --bg: #eff3f8;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #172033;
  --muted: #7c879d;
  --line: rgba(133, 152, 184, 0.16);
  --line-strong: rgba(104, 123, 158, 0.22);
  --shadow: 0 22px 60px rgba(20, 34, 68, 0.08);
  --shadow-soft: 0 10px 24px rgba(37, 58, 106, 0.08);
  --primary: #415cff;
  --primary-soft: rgba(65, 92, 255, 0.12);
  --purple: #7c4dff;
  --purple-soft: rgba(124, 77, 255, 0.12);
  --green: #2bb673;
  --green-soft: rgba(43, 182, 115, 0.12);
  --amber: #ffbb37;
  --amber-soft: rgba(255, 187, 55, 0.14);
  --red: #ff6a7b;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(101, 126, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(124, 77, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eff3f8 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.shell {
  display: grid;
  grid-template-columns: 152px 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 18px 10px;
  border-right: 1px solid rgba(140, 152, 175, 0.16);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #121826 0%, #243148 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.nav-caption {
  font-size: 11px;
  color: #99a4bb;
  margin: 18px 8px 10px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  text-align: left;
  background: transparent;
  color: #4d5a74;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  transition: 0.18s ease;
}

.nav-item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.72);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, #0f1b3a 0%, #1f2c54 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-bullet {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
}

.mini-bot {
  margin-top: 18px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #d6eeff 0%, #f5f8ff 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
  color: #4f5d79;
}

.main {
  padding: 16px 18px 20px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}

.crumb {
  color: var(--muted);
  font-size: 13px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.circle-btn,
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  color: #5a6784;
}

.avatar {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: #fff;
  font-weight: 700;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  color: #556178;
  font-size: 12px;
  white-space: nowrap;
}

.pill.gold {
  color: #7e5a12;
  background: linear-gradient(180deg, #fff7d8 0%, #f7ebbe 100%);
}

.page-grid {
  display: grid;
  gap: 14px;
}

.dashboard-page {
  display: grid;
  gap: 10px;
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 0;
}

.dashboard-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #161d2f;
}

.dashboard-wave {
  font-size: 20px;
}

.dashboard-subtitle {
  margin-top: 6px;
  font-size: 11px;
  color: #97a1b7;
}

.dashboard-filterbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(134, 148, 178, 0.14);
}

.dashboard-icon-btn,
.dashboard-range {
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  background: transparent;
  color: #69748d;
  font-size: 11px;
}

.dashboard-icon-btn {
  width: 28px;
  padding: 0;
  background: rgba(244, 247, 251, 0.92);
}

.dashboard-range.active {
  color: #1d2942;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 12px rgba(33, 49, 90, 0.08);
}

.dashboard-top-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr 0.98fr;
  gap: 10px;
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 10px;
}

.dashboard-panel {
  min-height: 228px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(138, 151, 180, 0.12);
  box-shadow: 0 6px 18px rgba(36, 52, 88, 0.05);
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.dashboard-panel-title {
  font-size: 12px;
  font-weight: 700;
  color: #232d45;
}

.dashboard-panel-sub {
  margin-top: 2px;
  font-size: 10px;
  color: #a0a9bc;
}

.dashboard-status-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: #23b86d;
  background: rgba(55, 210, 126, 0.12);
}

.dashboard-total {
  margin-top: 8px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: #1a243a;
}

.dashboard-total-sub {
  margin-top: 4px;
  font-size: 11px;
  color: #98a2b8;
}

.dashboard-rows,
.dashboard-feedback-list,
.dashboard-platform-list {
  margin-top: 8px;
}

.dashboard-row,
.dashboard-platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  border-top: 1px solid rgba(140, 153, 181, 0.12);
  font-size: 12px;
  color: #4f5a73;
}

.dashboard-row-left,
.dashboard-platform-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-row-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.dashboard-total-side {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 10px;
  color: #9ca6ba;
}

.dashboard-total-side strong {
  font-size: 13px;
  color: #1d2942;
}

.dashboard-platform-left .muted {
  font-size: 10px;
}

.dashboard-platform-line {
  width: 3px;
  height: 12px;
  border-radius: 999px;
}

.dashboard-feedback-icon {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  opacity: 0.9;
}

.dashboard-device-panel {
  min-height: 215px;
}

.dashboard-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.dashboard-qr-card {
  padding: 10px 8px 8px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(252, 253, 255, 0.92);
}

.dashboard-qr-code {
  width: 70px;
  height: 70px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #111 10%, transparent 10%, transparent 20%, #111 20%, #111 30%, transparent 30%, transparent 40%, #111 40%, #111 50%, transparent 50%, transparent 60%, #111 60%, #111 70%, transparent 70%, transparent 80%, #111 80%),
    linear-gradient(#111 10%, transparent 10%, transparent 20%, #111 20%, #111 30%, transparent 30%, transparent 40%, #111 40%, #111 50%, transparent 50%, transparent 60%, #111 60%, #111 70%, transparent 70%, transparent 80%, #111 80%),
    #fff;
  background-size: 18px 18px;
  border: 5px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
}

.dashboard-qr-title {
  font-size: 11px;
  font-weight: 700;
  color: #28324a;
}

.dashboard-qr-sub {
  margin-top: 4px;
  font-size: 10px;
  color: #9aa4b8;
}

.dashboard-stepbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.dashboard-step {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #93a0b8;
  background: rgba(235, 239, 247, 0.95);
}

.dashboard-step.active {
  color: #fff;
  background: #4880ff;
}

.dashboard-step-line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(198, 207, 224, 0.62);
}

.dashboard-step-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 10px;
  color: #97a1b5;
}

.dashboard-opt-panel {
  min-height: 215px;
}

.dashboard-ai-link {
  padding: 0;
  background: transparent;
  color: #7a67ff;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-opt-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.dashboard-report-card,
.dashboard-alert-card {
  min-height: 144px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(137, 151, 180, 0.12);
  background: rgba(252, 253, 255, 0.94);
}

.dashboard-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-report-title {
  font-size: 12px;
  font-weight: 700;
  color: #202a42;
}

.dashboard-report-meta {
  font-size: 10px;
  color: #97a1b7;
  white-space: nowrap;
}

.dashboard-report-empty {
  min-height: 94px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px dashed rgba(188, 198, 216, 0.55);
  color: #b1b9c9;
  font-size: 11px;
}

.dashboard-alert-box {
  margin-top: 8px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 247, 247, 0.98), rgba(255, 242, 242, 0.96));
  border: 1px solid rgba(255, 196, 196, 0.72);
}

.dashboard-alert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
}

.dashboard-alert-head span {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  color: #d45a5f;
  background: rgba(255, 117, 117, 0.12);
}

.dashboard-alert-box p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: #8c6f74;
}

.content-page {
  display: grid;
  gap: 10px;
}

.content-stage-wrap {
  padding-top: 2px;
}

.content-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.content-stage-card {
  padding: 16px 16px 14px;
  border-radius: 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(138, 151, 180, 0.12);
  box-shadow: 0 4px 14px rgba(34, 52, 89, 0.04);
  color: #1f2942;
}

.content-stage-card.active {
  border-color: rgba(95, 107, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(95, 107, 255, 0.3);
}

.content-stage-icon {
  font-size: 12px;
  color: #9b8af8;
  margin-bottom: 14px;
}

.content-stage-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}

.content-stage-sub {
  font-size: 11px;
  color: #9ca6ba;
}

.content-page-block {
  display: grid;
  gap: 8px;
}

.content-page-title {
  font-size: 16px;
  font-weight: 800;
  color: #1b2439;
}

.content-page-sub {
  font-size: 11px;
  color: #98a3b7;
}

.content-workspace {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(140, 153, 181, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 4px 14px rgba(33, 51, 88, 0.04);
}

.content-side {
  padding: 10px 8px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(244, 247, 252, 0.96));
  border-right: 1px solid rgba(140, 153, 181, 0.12);
  display: grid;
  align-content: start;
  gap: 10px;
}

.content-side-section {
  display: grid;
  gap: 6px;
}

.content-side-separator {
  height: 1px;
  background: rgba(148, 160, 186, 0.16);
  margin: 2px 2px 4px;
}

.content-side-label {
  font-size: 10px;
  color: #9aa4b8;
  padding: 0 4px;
}

.content-chip,
.content-side-link,
.content-upload-trigger,
.content-lite-btn,
.content-mini-btn {
  border-radius: 10px;
}

.content-chip {
  height: 30px;
  padding: 0 12px;
  text-align: left;
  background: rgba(240, 244, 250, 0.95);
  color: #75809a;
  font-size: 11px;
}

.content-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #4f67ff 0%, #7e56ff 100%);
}

.content-side-link {
  min-height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  background: transparent;
  color: #68748d;
  font-size: 11px;
}

.content-side-link.strong {
  min-height: 34px;
  padding: 0 12px;
}

.content-side-link.active {
  background: linear-gradient(135deg, #7c4dff 0%, #5b68ff 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(111, 99, 255, 0.2);
}

.content-tool-card {
  padding: 10px 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(140, 153, 181, 0.12);
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  color: #74809a;
  display: grid;
  gap: 6px;
  font-size: 10px;
  line-height: 1.45;
}

.content-tool-card.active {
  background: linear-gradient(180deg, rgba(247, 244, 255, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(116, 93, 255, 0.22);
  box-shadow: 0 8px 20px rgba(132, 111, 255, 0.08);
}

.content-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.content-tool-head strong {
  font-size: 12px;
  color: #1e2840;
}

.content-tool-tag {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  color: #8d68ff;
  background: rgba(140, 110, 255, 0.12);
}

.content-search {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(140, 153, 181, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #2a334a;
  font-size: 11px;
}

.content-main-panel {
  min-height: 498px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(248, 250, 255, 0.98));
}

.content-toolbar {
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.content-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.content-upload-trigger {
  height: 24px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #6e7b96;
  font-size: 11px;
}

.content-toolbar-tip {
  font-size: 10px;
  color: #9ca6ba;
  white-space: nowrap;
}

.content-lite-btn {
  height: 24px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #77829a;
  font-size: 10px;
}

.content-lite-btn.danger {
  color: #e49494;
  background: rgba(255, 241, 241, 0.9);
}

.content-empty-stage {
  position: relative;
  min-height: 360px;
  margin-top: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.content-watermark {
  position: absolute;
  left: 26px;
  top: 46px;
  font-size: 32px;
  color: rgba(120, 120, 120, 0.45);
  font-weight: 500;
}

.content-assets-head {
  margin: 10px 0 8px;
  font-size: 11px;
  color: #77829a;
}

.content-assets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.content-asset-card {
  display: grid;
  gap: 6px;
}

.content-asset-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 108, 108, 0.2), rgba(255, 215, 82, 0.22)),
    linear-gradient(180deg, #f7d08e 0%, #cf5a50 100%);
}

.content-asset-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.45), transparent 14%),
    radial-gradient(circle at 60% 45%, rgba(255, 255, 255, 0.38), transparent 12%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.32), transparent 10%);
}

.content-asset-badge,
.content-asset-duration {
  position: absolute;
  z-index: 1;
  font-size: 9px;
  border-radius: 999px;
}

.content-asset-badge {
  left: 6px;
  top: 6px;
  padding: 2px 6px;
  color: #536e9b;
  background: rgba(255, 255, 255, 0.92);
}

.content-asset-badge.used {
  color: #21aa68;
}

.content-asset-duration {
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
}

.content-asset-title {
  font-size: 10px;
  color: #4b5670;
  line-height: 1.45;
}

.content-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.content-sheet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1e2740;
}

.content-sheet-title.top-gap {
  margin-top: 4px;
}

.content-title-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #7a59ff;
}

.content-title-dot.dark {
  background: #20253c;
}

.content-title-dot.pink {
  background: #f0cce0;
}

.content-title-dot.magenta {
  background: #d96dff;
}

.content-title-dot.publish {
  background: #3b82f6;
}

.content-title-dot.project {
  background: #6478ff;
}

.content-create-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #8a62ff 0%, #6c73ff 100%);
  font-size: 11px;
}

.content-table {
  border-radius: 12px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  overflow: hidden;
  background: #fff;
}

.content-table-head,
.content-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.7fr 0.7fr 0.9fr 0.5fr;
  gap: 10px;
  align-items: center;
}

.content-table-head.touch,
.content-table-row.touch {
  grid-template-columns: 1fr 240px 160px;
}

.content-table-head.text-video,
.content-table-row.text-video {
  grid-template-columns: 1.1fr 1.9fr 1fr 0.9fr 0.7fr 0.95fr 0.45fr;
}

.content-table-head.publish,
.content-table-row.publish {
  grid-template-columns: 1.2fr 0.5fr 1fr 0.8fr 0.6fr 0.55fr 0.75fr;
}

.content-table-head.project,
.content-table-row.project {
  grid-template-columns: 1.2fr 0.7fr 1.1fr 0.72fr 0.9fr 0.52fr 0.72fr;
}

.content-table-head {
  min-height: 42px;
  padding: 0 12px;
  background: rgba(245, 248, 252, 0.92);
  color: #99a3b8;
  font-size: 10px;
}

.content-table-row {
  min-height: 54px;
  padding: 0 12px;
  border-top: 1px solid rgba(140, 153, 181, 0.1);
  color: #4b5772;
  font-size: 10px;
}

.content-table-button {
  width: 100%;
  text-align: left;
  background: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.content-table-button:hover {
  background: rgba(248, 250, 255, 0.98);
}

.content-table-row.publish.active {
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(250, 252, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(101, 132, 255, 0.14);
}

.content-table-row.project.active {
  background: linear-gradient(180deg, rgba(243, 246, 255, 0.98), rgba(250, 252, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(99, 118, 255, 0.16);
}

.content-task-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-task-name strong {
  font-size: 11px;
  color: #1c2740;
}

.content-row-actions {
  color: #8b96ad;
  font-size: 12px;
}

.publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 340px;
  gap: 14px;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 350px;
  gap: 14px;
}

.publish-list-panel,
.publish-runtime-panel {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
}

.project-list-panel,
.project-detail-panel {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
}

.publish-runtime-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.project-detail-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.project-overview-card,
.project-detail-card {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.project-overview-card {
  padding: 14px;
}

.project-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.project-overview-title {
  font-size: 15px;
  font-weight: 800;
  color: #1f2942;
}

.project-overview-sub {
  margin-top: 4px;
  font-size: 11px;
  color: #99a3b7;
}

.project-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.project-kpi-card {
  min-height: 82px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.project-kpi-card strong {
  font-size: 16px;
  color: #1f2942;
}

.project-kpi-card span {
  font-size: 11px;
  color: #8e98ad;
}

.project-detail-card {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.project-detail-title {
  font-size: 12px;
  font-weight: 800;
  color: #253049;
}

.project-desc-box {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(250, 251, 255, 0.96);
  border: 1px solid rgba(180, 191, 211, 0.28);
  font-size: 11px;
  line-height: 1.7;
  color: #68758f;
}

.project-goal-list,
.project-flow-list {
  display: grid;
  gap: 8px;
}

.project-goal-item,
.project-flow-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(245, 248, 253, 0.96);
  color: #4e5c77;
}

.project-goal-item span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a78ff 0%, #8260ff 100%);
}

.project-goal-item strong,
.project-flow-item strong {
  font-size: 11px;
}

.project-flow-item span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #6377ff 0%, #8a59ff 100%);
  font-size: 10px;
  font-weight: 700;
}

.project-archive-tip {
  font-size: 11px;
  line-height: 1.5;
  color: #8d98ad;
}

.content-create-modal-head.project {
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
  background: linear-gradient(90deg, #4a6bff 0%, #6d63ff 48%, #8e67ff 100%);
}

.project-modal {
  max-width: 760px;
}

.project-modal-body {
  gap: 12px;
  background: rgba(248, 250, 255, 0.96);
}

.project-modal-textarea {
  min-height: 92px;
  resize: none;
  line-height: 1.65;
}

.project-section-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
  display: grid;
  gap: 10px;
}

.project-choice-row,
.project-account-grid,
.project-flow-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.project-choice-row.compact {
  gap: 6px;
}

.project-choice-chip,
.project-account-chip,
.project-flow-tag {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.project-choice-chip {
  color: #667692;
  background: rgba(244, 247, 252, 0.98);
}

.project-choice-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #586eff 0%, #855bff 100%);
}

.project-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-link-btn {
  padding: 0;
  color: #6f93ff;
  background: transparent;
  font-size: 11px;
}

.project-account-chip {
  color: #5f718f;
  background: rgba(243, 246, 252, 0.98);
}

.project-account-chip.active {
  color: #4a70de;
  background: rgba(235, 241, 255, 0.98);
}

.project-flow-tag {
  display: inline-flex;
  align-items: center;
  color: #6f7b95;
  background: rgba(243, 246, 252, 0.98);
}

.project-flow-tag.active {
  color: #5a6dff;
  background: rgba(235, 239, 255, 0.98);
}

.publish-runtime-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.publish-runtime-title {
  font-size: 14px;
  font-weight: 800;
  color: #1f2942;
}

.publish-runtime-sub {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.45;
  color: #97a2b8;
}

.publish-status {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  white-space: nowrap;
}

.publish-status.green {
  color: #22a567;
  background: rgba(230, 247, 237, 0.98);
}

.publish-status.amber {
  color: #c6841d;
  background: rgba(255, 245, 223, 0.98);
}

.publish-status.purple {
  color: #7454ff;
  background: rgba(239, 235, 255, 0.98);
}

.publish-phone-shell {
  min-height: 560px;
  border-radius: 34px;
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, #17191f 0%, #2e3443 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.publish-phone-notch {
  width: 122px;
  height: 22px;
  margin: 0 auto 8px;
  border-radius: 0 0 16px 16px;
  background: #0b0d12;
}

.publish-phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  margin-bottom: 10px;
}

.publish-phone-action {
  height: 30px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff4b74 0%, #ff315b 100%);
  font-size: 12px;
  box-shadow: 0 8px 16px rgba(255, 72, 108, 0.25);
}

.publish-phone-status,
.publish-phone-editor,
.publish-phone-hashtags,
.publish-phone-keyboard {
  border-radius: 14px;
  background: #fff;
}

.publish-phone-status {
  padding: 12px;
  background: linear-gradient(180deg, rgba(67, 73, 84, 0.94), rgba(88, 95, 108, 0.94));
  color: #fff;
}

.publish-phone-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.publish-phone-online {
  color: #69e1b0;
}

.publish-phone-task {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.publish-phone-desc {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.publish-phone-editor {
  min-height: 170px;
  margin-top: 12px;
  padding: 14px 12px;
  position: relative;
}

.publish-phone-counter {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 11px;
  color: #a6afbd;
}

.publish-phone-text {
  margin-top: 34px;
  color: #8a95a9;
  font-size: 13px;
}

.publish-phone-hashtags {
  display: flex;
  gap: 10px;
  padding: 12px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #303a52;
}

.publish-phone-keyboard {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: #f1f3f7;
}

.publish-phone-keyboard span {
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #2f3749;
  font-size: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.content-flow-card,
.content-form-sheet,
.content-placeholder-sheet {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.content-flow-card {
  padding: 12px 14px;
  margin-bottom: 10px;
}

.content-flow-title,
.content-form-title {
  font-size: 13px;
  font-weight: 800;
  color: #202a42;
}

.content-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.content-flow-item {
  display: grid;
  gap: 5px;
  font-size: 10px;
  color: #7e88a0;
  line-height: 1.45;
}

.content-flow-item span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #7a59ff;
  font-size: 9px;
}

.content-flow-item strong {
  font-size: 11px;
  color: #1f2942;
}

.content-flow-item p,
.content-placeholder-sheet p {
  margin: 0;
  line-height: 1.5;
}

.content-form-sheet {
  padding: 14px 16px 16px;
}

.content-form-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.content-form-head.synthesis {
  margin-bottom: 2px;
}

.content-form-sub {
  margin-top: 4px;
  font-size: 10px;
  color: #95a0b5;
  line-height: 1.5;
}

.content-large-upload {
  min-height: 148px;
  border-radius: 14px;
  border: 1px dashed rgba(177, 188, 210, 0.9);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.98)),
    linear-gradient(180deg, rgba(251, 252, 255, 0.96), rgba(245, 248, 253, 0.96));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #8c98af;
  font-size: 11px;
  text-align: center;
}

.content-upload-file {
  color: #8668ff;
}

.content-title-dot.lavender {
  background: #e7d6f4;
}

.content-count-input {
  position: relative;
}

.content-count-input span,
.content-text-count {
  position: absolute;
  right: 12px;
  font-size: 10px;
  color: #b0b8c8;
}

.content-count-input span {
  top: 50%;
  transform: translateY(-50%);
}

.content-dropdown-wide {
  width: calc(100% - 2px);
  top: calc(100% + 4px);
  padding: 6px;
  border-radius: 12px;
}

.content-textarea-wrap {
  position: relative;
}

.content-ai-btn {
  position: absolute;
  right: 12px;
  top: -28px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  color: #d79ab8;
  background: rgba(252, 238, 244, 0.98);
  font-size: 10px;
}

.synthesis-sheet {
  min-height: 418px;
}

.synthesis-form {
  gap: 12px;
}

.synthesis-form .field-label {
  color: #6f7c96;
}

.synthesis-dropdown-field {
  z-index: 2;
}

.content-select {
  position: relative;
  padding-right: 34px;
}

.content-select::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a7b0c1;
  font-size: 12px;
}

.dropdown-item {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.synthesis-textarea {
  min-height: 170px;
  padding-top: 12px;
  padding-right: 56px;
  resize: none;
}

.content-text-count {
  bottom: 12px;
}

.content-placeholder-sheet {
  min-height: 240px;
  padding: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #8d97ac;
  text-align: center;
}

.content-placeholder-sheet.large {
  min-height: 320px;
}

.content-mini-btn {
  height: 24px;
  padding: 0 10px;
  font-size: 10px;
  background: rgba(244, 247, 252, 0.98);
  color: #7c889f;
}

.content-mini-btn.blue {
  color: #78a8ff;
  background: rgba(238, 247, 255, 0.98);
}

.content-mini-btn.red {
  color: #f09da2;
  background: rgba(255, 243, 243, 0.98);
}

.content-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px 24px;
  background: rgba(232, 236, 244, 0.56);
  backdrop-filter: blur(4px);
}

.content-create-modal {
  width: min(100%, 640px);
  max-width: 640px;
  max-height: calc(100vh - 56px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(40, 44, 98, 0.28);
  border: 1px solid rgba(127, 110, 255, 0.2);
  background: #fff;
}

.content-create-modal-head {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  background: linear-gradient(90deg, #6f49ff 0%, #7f57ff 45%, #9380ff 100%);
}

.content-create-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.content-modal-icon,
.content-modal-close {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.content-modal-close {
  padding: 0;
}

.content-create-modal-head.text-video {
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
  background: linear-gradient(90deg, #3c78e8 0%, #5b57f3 45%, #ea4b91 100%);
}

.content-create-modal-head.publish {
  min-height: 48px;
  color: #1f2942;
  background: #fff;
  border-bottom: 1px solid rgba(139, 152, 180, 0.12);
}

.content-create-modal-title.publish {
  color: #1f2942;
}

.content-modal-close.publish {
  color: #8d98ad;
  background: rgba(242, 245, 250, 0.96);
}

.content-create-modal-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.content-inline-tip {
  color: #b7bfce;
  font-size: 11px;
  font-weight: 400;
}

.content-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -1px;
}

.content-ai-mini-btn {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #9e80d2;
  background: rgba(249, 241, 255, 0.98);
  font-size: 11px;
}

.content-modal-textarea {
  min-height: 128px;
  padding-top: 12px;
  line-height: 1.6;
  resize: none;
}

.content-textarea-wrap.modal .content-text-count {
  right: 12px;
  bottom: 10px;
}

.content-media-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #67748e;
}

.content-media-switch label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.content-media-switch input {
  margin: 0;
}

.content-upload-hint {
  font-size: 11px;
  color: #adb6c6;
}

.content-modal-upload {
  min-height: 132px;
  border-radius: 14px;
  border: 1px dashed rgba(194, 174, 220, 0.9);
  background: linear-gradient(180deg, rgba(252, 247, 255, 0.92), rgba(255, 252, 255, 0.98));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  color: #9682b7;
  font-size: 12px;
}

.content-modal-upload-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #b393dc;
  background: rgba(237, 225, 255, 0.88);
  font-size: 16px;
}

.content-generate-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.content-step-btn,
.content-step-value {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(245, 248, 252, 0.96);
  color: #6d7890;
  font-size: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
}

.content-step-value {
  width: 38px;
  color: #2c364d;
  background: #fff;
}

.content-modal-subtitle {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.publish-modal {
  max-width: 760px;
}

.publish-modal-body {
  gap: 12px;
  background: rgba(249, 251, 255, 0.96);
}

.publish-section-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
  display: grid;
  gap: 10px;
}

.publish-type-row,
.publish-inline-actions,
.publish-account-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.publish-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.publish-type-chip,
.publish-light-btn,
.publish-copy-tag,
.publish-account-chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.publish-type-chip {
  color: #6c7c98;
  background: rgba(244, 247, 252, 0.98);
}

.publish-type-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #3682ff 0%, #3b6dff 100%);
}

.publish-light-btn,
.publish-copy-tag {
  color: #6f85bb;
  background: rgba(241, 246, 255, 0.98);
}

.publish-link-btn {
  color: #74a1ff;
  background: transparent;
  font-size: 11px;
  padding: 0;
}

.publish-upload-caption {
  font-size: 11px;
  color: #9ca6ba;
}

.publish-upload-box {
  position: relative;
  min-height: 122px;
  border-radius: 12px;
  border: 1px dashed rgba(208, 219, 234, 0.96);
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(246, 249, 252, 0.98));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  color: #b1bac9;
  font-size: 11px;
}

.publish-refresh-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #6ea5ff;
  background: rgba(238, 246, 255, 0.98);
  font-size: 10px;
}

.publish-upload-play {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #9ab2d6;
  background: rgba(240, 244, 250, 0.98);
}

.publish-copy-card {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(251, 252, 255, 0.98);
  display: grid;
  gap: 10px;
}

.publish-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.publish-copy-head strong {
  font-size: 12px;
  color: #273148;
}

.publish-copy-textarea {
  min-height: 84px;
  resize: none;
}

.publish-tag-input {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(180, 191, 211, 0.35);
  background: rgba(250, 251, 255, 0.98);
  color: #67748e;
  font-size: 11px;
  line-height: 1.5;
}

.publish-poi-grid {
  display: grid;
  gap: 8px;
}

.publish-poi-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6c7893;
}

.publish-poi-input {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(180, 191, 211, 0.35);
  background: rgba(250, 251, 255, 0.98);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0aabc;
}

.publish-account-chip {
  color: #617291;
  background: rgba(243, 246, 252, 0.98);
}

.publish-account-chip.active {
  color: #3b6bdb;
  background: rgba(233, 241, 255, 0.98);
}

.publish-schedule-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.publish-schedule-chip,
.publish-schedule-select {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.publish-schedule-chip {
  color: #6f7d97;
  background: rgba(244, 247, 252, 0.98);
}

.publish-schedule-chip.active {
  color: #3f78ea;
  background: rgba(235, 243, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(77, 135, 255, 0.16);
}

.publish-schedule-select {
  position: relative;
  padding-right: 28px;
  color: #63718c;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(180, 191, 211, 0.36);
}

.publish-schedule-select::after {
  content: "⌄";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #a3adbf;
  font-size: 12px;
}

.publish-platform-summary {
  font-size: 11px;
  color: #a0aabc;
}

.publish-device-list {
  display: grid;
  gap: 8px;
}

.publish-device-row {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(250, 251, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.publish-device-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.publish-device-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(188, 198, 216, 0.9);
  background: #fff;
  flex: none;
}

.publish-device-info {
  display: grid;
  gap: 3px;
}

.publish-device-info strong {
  font-size: 11px;
  color: #273148;
}

.publish-device-info span {
  font-size: 10px;
  color: #a2acbe;
}

.publish-device-status {
  font-size: 11px;
  color: #adb6c6;
  white-space: nowrap;
}

.publish-device-status.online {
  color: #2eaf6e;
}

.publish-footer {
  background: #fff;
}

.text-video-modal {
  max-width: 700px;
}

.text-video-result-modal {
  max-width: 420px;
}

.text-video-modal-body {
  gap: 12px;
}

.text-video-result-body {
  gap: 14px;
}

.text-video-prompt {
  min-height: 84px;
  resize: none;
}

.text-video-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.text-video-tag {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #70809d;
  background: rgba(240, 244, 250, 0.96);
  font-size: 10px;
}

.text-video-tag.primary {
  color: #5582ea;
  background: rgba(231, 239, 255, 0.98);
}

.text-video-tag.green {
  color: #2cb36f;
  background: rgba(228, 247, 236, 0.98);
}

.text-video-ratio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.text-video-ratio-btn {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(171, 182, 203, 0.3);
  background: #fff;
  color: #5d6c88;
  font-size: 12px;
}

.text-video-ratio-btn.active {
  border-color: rgba(88, 129, 236, 0.46);
  box-shadow: inset 0 0 0 1px rgba(88, 129, 236, 0.14);
  color: #3454a8;
  background: rgba(246, 250, 255, 0.98);
}

.text-video-reference {
  min-height: 78px;
  resize: none;
  line-height: 1.6;
}

.text-video-upload-btn {
  height: 30px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px dashed rgba(112, 132, 194, 0.5);
  color: #5d72ba;
  background: rgba(245, 248, 255, 0.98);
  font-size: 12px;
}

.content-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(250, 251, 255, 0.96);
  flex: 0 0 auto;
  box-shadow: 0 -8px 24px rgba(33, 40, 64, 0.04);
}

.text-video-footer-btn {
  min-width: 84px;
  height: 34px;
  padding: 0 16px;
  border-radius: 10px;
  color: #6e7b96;
  background: rgba(243, 246, 252, 0.96);
  font-size: 12px;
}

.text-video-footer-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #6d63ff 0%, #8e57ff 100%);
}

.text-video-detail-box {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(180, 191, 211, 0.35);
  background: rgba(249, 251, 255, 0.98);
  color: #5f6d87;
  font-size: 12px;
  line-height: 1.55;
}

.text-video-result-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(164, 176, 198, 0.32);
  background: linear-gradient(180deg, #f6d18d 0%, #cb6a3d 100%);
}

.text-video-result-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(80, 48, 20, 0.18), transparent 28%, rgba(39, 28, 16, 0.22) 100%),
    repeating-linear-gradient(0deg, rgba(90, 63, 30, 0.14) 0 3px, transparent 3px 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 58px);
}

.text-video-result-poster.bakery {
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 237, 189, 0.9), transparent 14%),
    radial-gradient(circle at 34% 78%, rgba(255, 237, 189, 0.92), transparent 14%),
    radial-gradient(circle at 52% 78%, rgba(255, 237, 189, 0.9), transparent 13%),
    radial-gradient(circle at 70% 78%, rgba(255, 237, 189, 0.9), transparent 14%),
    linear-gradient(180deg, #f4d489 0%, #dd8b3d 48%, #7f5329 100%);
}

.text-video-result-poster.flower {
  background:
    radial-gradient(circle at 20% 68%, rgba(255, 189, 216, 0.95), transparent 15%),
    radial-gradient(circle at 40% 70%, rgba(255, 229, 141, 0.9), transparent 13%),
    radial-gradient(circle at 62% 66%, rgba(226, 169, 255, 0.92), transparent 14%),
    radial-gradient(circle at 78% 72%, rgba(255, 171, 196, 0.9), transparent 13%),
    linear-gradient(180deg, #e5f0d7 0%, #95bb7b 46%, #577a4a 100%);
}

.text-video-result-poster.service {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 30%, transparent 30% 100%),
    linear-gradient(180deg, #dce7f1 0%, #8fb0c8 45%, #4e6c83 100%);
}

.text-video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-video-poster-sign {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 1px;
}

.text-video-play {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  font-size: 18px;
}

.text-video-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #8d98ad;
}

.text-video-link-btn {
  color: #6e7fff;
  background: transparent;
  font-size: 11px;
  padding: 0;
}

.mobile-page {
  display: grid;
  gap: 10px;
}

.mobile-hero,
.mobile-toolbar,
.mobile-board {
  border-radius: 16px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.mobile-hero {
  min-height: 84px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-page-title {
  font-size: 18px;
  font-weight: 800;
  color: #1b2439;
}

.mobile-page-subtitle {
  margin-top: 4px;
  font-size: 11px;
  color: #99a4b9;
}

.mobile-hero-summary {
  height: 32px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  color: #5b6d8b;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.34);
  font-size: 12px;
}

.mobile-toolbar {
  min-height: 50px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-run-btn,
.mobile-select-chip,
.mobile-chip-btn,
.mobile-platform-tab,
.mobile-mini-action,
.mobile-cycle-shortcut,
.mobile-cycle-save {
  height: 28px;
  border-radius: 10px;
  font-size: 11px;
}

.mobile-run-btn {
  padding: 0 12px;
  color: #31415f;
  background: rgba(245, 247, 251, 0.98);
  border: 1px solid rgba(187, 198, 216, 0.4);
}

.mobile-select-chip {
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #5c6984;
  background: #fff;
  border: 1px solid rgba(187, 198, 216, 0.44);
}

.mobile-select-chip.small {
  padding-inline: 10px;
}

.mobile-toolbar-tip {
  margin-left: auto;
  font-size: 10px;
  color: #afb7c6;
}

.mobile-board {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.mobile-device-card,
.mobile-platform-panel,
.mobile-cycle-card,
.mobile-ai-card,
.mobile-footer-note {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(252, 253, 255, 0.98);
}

.mobile-device-card {
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-device-main,
.mobile-device-actions,
.mobile-status-dots,
.mobile-platform-tabs,
.mobile-legend-row,
.mobile-cycle-actions,
.mobile-cycle-row,
.mobile-save-wrap {
  display: flex;
  align-items: center;
}

.mobile-device-main {
  gap: 10px;
}

.mobile-device-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #6c7893;
  background: rgba(240, 244, 250, 0.98);
  font-size: 12px;
  font-weight: 700;
}

.mobile-device-title {
  font-size: 14px;
  font-weight: 800;
  color: #1e2740;
}

.mobile-device-sub {
  margin-top: 2px;
  font-size: 10px;
  color: #9ca6ba;
}

.mobile-device-tag {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #b98642;
  background: rgba(252, 244, 223, 0.98);
  font-size: 10px;
}

.mobile-device-actions {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-inline-select {
  height: 28px;
  padding: 0 28px 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #5f6d87;
  background: #fff;
  border: 1px solid rgba(187, 198, 216, 0.44);
  font-size: 11px;
}

.mobile-inline-select::after {
  content: "⌄";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #afb7c6;
}

.mobile-chip-btn {
  padding: 0 10px;
  color: #60708b;
  background: rgba(244, 247, 252, 0.98);
}

.mobile-chip-btn.success {
  color: #2a9f66;
  background: rgba(231, 247, 238, 0.98);
}

.mobile-status-dots {
  gap: 6px;
}

.mobile-status-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.mobile-status-dot.dark {
  background: #2a3249;
}

.mobile-status-dot.amber {
  background: #f4a54d;
}

.mobile-status-dot.pink {
  background: #eb6b9a;
}

.mobile-status-dot.green {
  background: #54c28d;
}

.mobile-platform-panel {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.mobile-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #1f2942;
}

.mobile-section-title span {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 400;
  color: #98a3b8;
}

.mobile-platform-tabs {
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-platform-tab {
  padding: 0 12px;
  color: #687895;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(184, 195, 214, 0.42);
}

.mobile-platform-tab.active {
  color: #2d3b57;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(101, 123, 255, 0.1);
}

.mobile-platform-alert {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: #b08b39;
  background: rgba(255, 247, 214, 0.72);
  border: 1px dashed rgba(230, 198, 101, 0.76);
  font-size: 10px;
}

.mobile-progress-list {
  display: grid;
  gap: 8px;
}

.mobile-progress-row {
  display: grid;
  grid-template-columns: 22px 1fr 42px 34px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #74809a;
}

.mobile-progress-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
}

.mobile-progress-icon.dark {
  background: #263047;
}

.mobile-progress-icon.amber {
  background: #f0a24b;
}

.mobile-progress-icon.pink {
  background: #ec7098;
}

.mobile-progress-icon.green {
  background: #56c38f;
}

.mobile-progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(225, 231, 241, 0.96);
}

.mobile-progress-fill {
  height: 100%;
  border-radius: inherit;
}

.mobile-progress-reset {
  height: 20px;
  border-radius: 999px;
  color: #9aa5bb;
  background: rgba(244, 247, 252, 0.98);
  font-size: 9px;
}

.mobile-timeline-caption {
  font-size: 10px;
  color: #7f8aa2;
}

.mobile-timeline-scale {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  color: #b0b8c8;
  font-size: 9px;
}

.mobile-timeline-scale span:last-child {
  text-align: right;
}

.mobile-legend-row {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  color: #8d98ad;
  font-size: 9px;
}

.mobile-strategy-list {
  display: grid;
  gap: 8px;
}

.mobile-strategy-card {
  min-height: 56px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(253, 253, 255, 0.98);
  display: grid;
  grid-template-columns: 1fr auto 42px;
  align-items: center;
  gap: 12px;
}

.mobile-strategy-card.active {
  box-shadow: inset 0 0 0 1px rgba(218, 197, 118, 0.4);
}

.mobile-strategy-button {
  width: 100%;
  text-align: left;
}

.mobile-strategy-left,
.mobile-strategy-mid {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-strategy-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.mobile-strategy-icon.gray {
  color: #8f9aac;
  background: rgba(240, 244, 250, 0.98);
}

.mobile-strategy-icon.blue {
  color: #5f87d6;
  background: rgba(233, 241, 255, 0.98);
}

.mobile-strategy-icon.purple {
  color: #8f75d5;
  background: rgba(241, 236, 255, 0.98);
}

.mobile-strategy-icon.amber {
  color: #c28d38;
  background: rgba(255, 244, 220, 0.98);
}

.mobile-strategy-icon.green {
  color: #4da781;
  background: rgba(231, 247, 239, 0.98);
}

.mobile-strategy-title {
  font-size: 12px;
  font-weight: 800;
  color: #263048;
}

.mobile-strategy-desc {
  margin-top: 2px;
  font-size: 10px;
  color: #a0aabc;
}

.mobile-mini-action {
  padding: 0 10px;
  color: #7f8da7;
  background: rgba(244, 247, 252, 0.98);
}

.mobile-time-pill {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #8b97ad;
  background: rgba(245, 248, 252, 0.98);
  font-size: 10px;
}

.mobile-time-pill.empty {
  color: #c0c7d4;
}

.mobile-switch {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(229, 234, 242, 0.98);
  position: relative;
}

.mobile-switch::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 38, 62, 0.18);
}

.mobile-switch.on {
  background: rgba(90, 118, 255, 0.92);
}

.mobile-switch.on::after {
  left: 18px;
}

.mobile-cycle-card {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.mobile-cycle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-cycle-title {
  font-size: 14px;
  font-weight: 800;
  color: #202a42;
}

.mobile-cycle-sub,
.mobile-cycle-plan {
  font-size: 10px;
  color: #99a4b9;
}

.mobile-cycle-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-cycle-shortcut {
  padding: 0 10px;
  color: #7e8ba4;
  background: rgba(244, 247, 252, 0.98);
}

.mobile-cycle-shortcut.active {
  color: #516fda;
  background: rgba(236, 242, 255, 0.98);
}

.mobile-cycle-save {
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #4b83ee 0%, #2f6ecf 100%);
  box-shadow: 0 10px 22px rgba(60, 113, 207, 0.2);
}

.mobile-cycle-form {
  padding: 10px 0 2px;
  border-top: 1px solid rgba(139, 152, 180, 0.12);
  display: grid;
  gap: 8px;
}

.mobile-cycle-row {
  gap: 10px;
  flex-wrap: wrap;
  color: #67748e;
  font-size: 11px;
}

.mobile-cycle-input,
.mobile-cycle-stepper {
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(187, 198, 216, 0.44);
  background: #fff;
}

.mobile-cycle-input {
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}

.mobile-cycle-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.mobile-cycle-stepper button,
.mobile-cycle-stepper span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #6a7893;
  background: transparent;
  font-size: 12px;
}

.mobile-cycle-stepper span {
  width: 34px;
  border-left: 1px solid rgba(187, 198, 216, 0.44);
  border-right: 1px solid rgba(187, 198, 216, 0.44);
}

.mobile-ai-card {
  min-height: 56px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, rgba(245, 246, 255, 0.98), rgba(250, 251, 255, 0.98));
}

.mobile-ai-title {
  font-size: 14px;
  font-weight: 800;
  color: #535f8e;
}

.mobile-ai-title span {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 400;
  color: #9ea8bb;
}

.mobile-footer-note {
  min-height: 40px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  color: #a1aabc;
  font-size: 10px;
}

.mobile-save-wrap {
  justify-content: center;
}

.mobile-save-btn {
  width: 92px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #4f87e7 0%, #2c67c8 100%);
  box-shadow: 0 10px 24px rgba(54, 105, 197, 0.2);
  font-size: 12px;
}

.mobile-modal-backdrop {
  align-items: center;
  justify-items: center;
  background: rgba(37, 44, 63, 0.34);
}

.mobile-keyword-modal {
  width: min(100%, 540px);
  max-height: calc(100vh - 72px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.26);
}

.mobile-keyword-head {
  min-height: 68px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139, 152, 180, 0.12);
}

.mobile-keyword-head-icon,
.mobile-keyword-close {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.mobile-keyword-head-icon {
  color: #6287d7;
  background: rgba(234, 242, 255, 0.98);
  font-weight: 700;
}

.mobile-keyword-head-icon.industry {
  color: #9b78d7;
  background: rgba(244, 236, 255, 0.98);
}

.mobile-keyword-head-icon.interaction {
  color: #d2a542;
  background: rgba(255, 246, 222, 0.98);
}

.mobile-keyword-head-icon.nurture {
  color: #43b091;
  background: rgba(231, 247, 239, 0.98);
}

.mobile-keyword-head-icon.whitelist {
  color: #df7ba8;
  background: rgba(255, 239, 247, 0.98);
}

.mobile-keyword-close {
  color: #a8b2c3;
  background: transparent;
}

.mobile-keyword-title {
  font-size: 18px;
  font-weight: 800;
  color: #212c45;
}

.mobile-keyword-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #8e99ae;
}

.mobile-keyword-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
  overflow: auto;
}

.mobile-keyword-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #253049;
}

.mobile-keyword-section-title.large {
  font-size: 13px;
}

.mobile-keyword-section-title span {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #9aa4b8;
}

.mobile-keyword-field,
.mobile-keyword-strategy-card {
  display: grid;
  gap: 8px;
}

.mobile-keyword-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2a334a;
}

.mobile-keyword-label span {
  font-size: 11px;
  color: #a1aabc;
  font-weight: 400;
}

.mobile-keyword-label.plain {
  justify-content: flex-start;
}

.mobile-inline-note {
  margin-left: 8px;
  color: #9ea8bb;
  font-size: 11px;
  font-weight: 400;
}

.mobile-keyword-empty {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: #a7b0c1;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 11px;
}

.mobile-keyword-input-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.mobile-keyword-input-row.compact {
  grid-template-columns: 1fr auto;
}

.mobile-keyword-input {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(186, 197, 216, 0.38);
  background: #fff;
  color: #5d6c87;
  font-size: 12px;
}

.mobile-keyword-ai-btn,
.mobile-keyword-add-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12px;
}

.mobile-keyword-ai-btn {
  color: #9777d7;
  background: rgba(247, 239, 255, 0.98);
}

.mobile-keyword-add-btn {
  color: #fff;
  background: linear-gradient(180deg, #326ebf 0%, #245ca5 100%);
}

.mobile-keyword-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-keyword-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #7a879f;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 11px;
}

.mobile-keyword-chip.active {
  color: #fff;
  background: #1e2d4b;
  border-color: #1e2d4b;
}

.mobile-city-chip.active {
  color: #fff;
  background: #f0a44e;
  border-color: #f0a44e;
}

.mobile-keyword-tip {
  font-size: 11px;
  color: #9da7ba;
}

.mobile-city-alert {
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(232, 202, 141, 0.58);
  background: rgba(255, 246, 228, 0.96);
  display: grid;
  gap: 4px;
}

.mobile-city-alert strong {
  font-size: 12px;
  color: #d08d2f;
}

.mobile-city-alert span {
  font-size: 11px;
  color: #c3a169;
}

.mobile-keyword-strategy-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(251, 252, 255, 0.98);
}

.mobile-keyword-strategy-head,
.mobile-keyword-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-keyword-protect {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #c48d34;
  background: rgba(255, 244, 218, 0.98);
  font-size: 11px;
}

.mobile-keyword-slider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mobile-keyword-slider-card {
  display: grid;
  gap: 6px;
}

.mobile-keyword-slider-label {
  font-size: 11px;
  color: #7c879d;
}

.mobile-keyword-slider-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.mobile-keyword-slider-value.danger {
  color: #f36d6d;
}

.mobile-keyword-slider-value.warn {
  color: #e5b143;
}

.mobile-keyword-slider-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(223, 230, 240, 0.96);
}

.mobile-keyword-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: inherit;
  background: #57a3f0;
}

.mobile-keyword-slider-fill.wide {
  width: 60%;
}

.mobile-keyword-slider-fill.narrow {
  width: 15%;
}

.mobile-keyword-slider-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #57a3f0;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(66, 98, 156, 0.16);
}

.mobile-keyword-slider-thumb.wide {
  left: 60%;
}

.mobile-keyword-slider-thumb.narrow {
  left: 15%;
}

.mobile-keyword-protect-tip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: #71a285;
  background: rgba(231, 247, 238, 0.98);
  font-size: 11px;
}

.mobile-keyword-enable {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7d8aa4;
  font-size: 11px;
}

.mobile-city-ai-link {
  width: fit-content;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #9777d7;
  background: rgba(247, 239, 255, 0.98);
  font-size: 11px;
}

.mobile-keyword-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(139, 152, 180, 0.12);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: rgba(250, 251, 255, 0.98);
}

.mobile-keyword-cancel,
.mobile-keyword-save {
  min-width: 88px;
  height: 34px;
  border-radius: 10px;
  font-size: 12px;
}

.mobile-keyword-cancel {
  color: #8b97ad;
  background: rgba(243, 246, 252, 0.96);
}

.mobile-keyword-save {
  color: #fff;
  background: linear-gradient(180deg, #4d84e5 0%, #2d67c8 100%);
}

.mobile-city-modal {
  width: min(100%, 500px);
}

.mobile-city-footer {
  justify-content: space-between;
  align-items: center;
}

.mobile-city-save {
  flex: 1;
  max-width: 260px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #4d84e5 0%, #2d67c8 100%);
  font-size: 12px;
}

.mobile-interaction-modal {
  width: min(100%, 760px);
  max-height: calc(100vh - 80px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.26);
}

.mobile-interaction-head-actions,
.mobile-interaction-reply-modes,
.mobile-interaction-rule-head,
.mobile-interaction-rule-card-head,
.mobile-interaction-radio-row {
  display: flex;
  align-items: center;
}

.mobile-interaction-head-actions {
  gap: 10px;
}

.mobile-interaction-badge {
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #c7982f;
  background: rgba(255, 246, 222, 0.98);
  border: 1px solid rgba(239, 213, 152, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.mobile-interaction-body {
  gap: 16px;
}

.mobile-interaction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-interaction-card,
.mobile-interaction-rule-panel,
.mobile-interaction-rule-card {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(251, 252, 255, 0.98);
}

.mobile-interaction-card {
  min-height: 92px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  box-shadow: inset 0 0 0 1px rgba(229, 214, 171, 0.3);
}

.mobile-interaction-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #273048;
}

.mobile-interaction-card-desc {
  margin-top: 4px;
  font-size: 11px;
  color: #9ba5b8;
  line-height: 1.45;
}

.mobile-interaction-reply-modes {
  gap: 8px;
  color: #8c98ad;
  font-size: 11px;
}

.mobile-interaction-rule-panel {
  padding: 12px;
  display: grid;
  gap: 12px;
}

.mobile-interaction-rule-head {
  justify-content: space-between;
  gap: 12px;
}

.mobile-interaction-rule-beta {
  color: #e16f6f;
  font-size: 11px;
}

.mobile-interaction-add-rule {
  color: #5e7fe3;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.mobile-interaction-rule-desc {
  font-size: 11px;
  color: #98a4b8;
  line-height: 1.5;
}

.mobile-interaction-rule-card {
  padding: 12px;
  display: grid;
  gap: 12px;
}

.mobile-interaction-rule-card-head {
  justify-content: space-between;
}

.mobile-interaction-rule-card-head strong {
  font-size: 14px;
  color: #263048;
}

.mobile-interaction-form {
  display: grid;
  gap: 12px;
}

.mobile-interaction-form-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.mobile-interaction-step {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #5086e6 0%, #2f69ca 100%);
  font-size: 11px;
  font-weight: 700;
  margin-top: 20px;
}

.mobile-interaction-form-main {
  display: grid;
  gap: 6px;
}

.mobile-interaction-form-label {
  font-size: 12px;
  font-weight: 700;
  color: #49556f;
}

.mobile-interaction-select {
  height: 36px;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #5d6c87;
  background: #fff;
  border: 1px solid rgba(186, 197, 216, 0.38);
  font-size: 12px;
}

.mobile-interaction-select::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #afbacb;
}

.mobile-interaction-select.empty {
  color: #afbacb;
}

.mobile-interaction-radio-row {
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-interaction-radio {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: #7f8da7;
  background: rgba(246, 248, 252, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 11px;
}

.mobile-interaction-radio.active {
  color: #4f82dd;
  background: rgba(235, 242, 255, 0.98);
  border-color: rgba(120, 152, 222, 0.45);
}

.mobile-interaction-footer {
  justify-content: center;
}

.mobile-nurture-modal {
  width: min(100%, 690px);
  max-height: calc(100vh - 80px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.26);
}

.mobile-nurture-body {
  gap: 16px;
}

.mobile-nurture-mode-row,
.mobile-nurture-slider-head {
  display: flex;
  align-items: center;
}

.mobile-nurture-mode-row {
  gap: 10px;
}

.mobile-nurture-mode {
  flex: 1;
  height: 40px;
  border-radius: 12px;
  color: #97a4b8;
  background: rgba(246, 248, 252, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 13px;
  font-weight: 700;
}

.mobile-nurture-mode.active {
  color: #3e9e85;
  background: rgba(234, 247, 241, 0.98);
  border-color: rgba(112, 191, 164, 0.45);
}

.mobile-nurture-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nurture-card {
  min-height: 78px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(172, 222, 208, 0.52);
  background: rgba(238, 249, 245, 0.98);
}

.mobile-nurture-card:last-child {
  grid-column: 1 / 2;
}

.mobile-nurture-slider-block {
  display: grid;
  gap: 8px;
}

.mobile-nurture-slider-head {
  justify-content: space-between;
  color: #6c7790;
  font-size: 12px;
}

.mobile-nurture-slider-head strong {
  font-size: 18px;
  color: #1f2942;
}

.mobile-keyword-slider-track.nurture {
  height: 5px;
}

.mobile-keyword-slider-fill.pink {
  background: #f05d84;
}

.mobile-keyword-slider-fill.blue {
  background: #57a3f0;
}

.mobile-keyword-slider-fill.purple {
  background: #9874e2;
}

.mobile-keyword-slider-fill.medium {
  width: 20%;
}

.mobile-keyword-slider-fill.low {
  width: 10%;
}

.mobile-keyword-slider-thumb.pink {
  border-color: #f05d84;
}

.mobile-keyword-slider-thumb.blue {
  border-color: #57a3f0;
}

.mobile-keyword-slider-thumb.purple {
  border-color: #9874e2;
}

.mobile-keyword-slider-thumb.medium {
  left: 20%;
}

.mobile-keyword-slider-thumb.low {
  left: 10%;
}

.mobile-nurture-footer {
  justify-content: center;
}

.mobile-whitelist-modal {
  width: min(100%, 540px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.26);
}

.mobile-whitelist-body {
  gap: 10px;
}

.mobile-whitelist-toolbar,
.mobile-whitelist-tabs,
.mobile-whitelist-subfooter {
  display: flex;
  align-items: center;
}

.mobile-whitelist-toolbar {
  justify-content: space-between;
  gap: 12px;
}

.mobile-whitelist-tabs {
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-whitelist-tab {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #8a97ad;
  background: rgba(246, 248, 252, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 11px;
}

.mobile-whitelist-tab.active {
  color: #fff;
  background: #0f1d3f;
  border-color: #0f1d3f;
}

.mobile-whitelist-add-btn {
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: #0f1d3f;
  font-size: 11px;
  font-weight: 700;
}

.mobile-whitelist-empty {
  min-height: 98px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #c2c9d5;
  font-size: 11px;
}

.mobile-whitelist-footer {
  justify-content: flex-end;
}

.mobile-whitelist-submodal {
  width: min(100%, 500px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.2);
}

.mobile-whitelist-subhead {
  min-height: 64px;
}

.mobile-whitelist-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: #212c45;
}

.mobile-whitelist-form {
  padding: 8px 18px 14px;
  display: grid;
  gap: 10px;
}

.mobile-whitelist-form-label {
  font-size: 12px;
  color: #6d7890;
}

.mobile-whitelist-tabs.form {
  margin-bottom: 2px;
}

.mobile-whitelist-subfooter {
  padding: 6px 18px 18px;
  justify-content: space-between;
  gap: 8px;
}

.mobile-whitelist-confirm {
  flex: 1;
  max-width: 160px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #9ebfdd 0%, #7fa5c9 100%);
  font-size: 12px;
}

.pc-matrix-page {
  display: grid;
  gap: 10px;
}

.pc-matrix-hero,
.pc-matrix-toolbar,
.pc-matrix-board {
  border-radius: 16px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.pc-matrix-hero {
  min-height: 84px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-matrix-title-row,
.pc-matrix-toolbar,
.pc-matrix-device-head,
.pc-matrix-device-main,
.pc-matrix-device-side,
.pc-matrix-platform-row,
.pc-matrix-strategy-actions,
.pc-matrix-feature-actions,
.pc-matrix-cycle-meta,
.pc-matrix-cycle-actions {
  display: flex;
  align-items: center;
}

.pc-matrix-title-row {
  gap: 10px;
}

.pc-matrix-title {
  font-size: 18px;
  font-weight: 800;
  color: #1b2439;
}

.pc-matrix-download-btn,
.pc-matrix-run-btn,
.pc-matrix-select-chip,
.pc-matrix-light-pill,
.pc-matrix-platform-tab,
.pc-matrix-config-btn,
.pc-matrix-feature-btn,
.pc-matrix-day-pill,
.pc-matrix-save-btn {
  height: 28px;
  border-radius: 10px;
  font-size: 11px;
}

.pc-matrix-download-btn {
  padding: 0 12px;
  color: #4d8ed3;
  background: rgba(236, 246, 255, 0.98);
}

.pc-matrix-subtitle {
  margin-top: 4px;
  font-size: 11px;
  color: #99a4b9;
}

.pc-matrix-summary {
  height: 32px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  color: #7a5aa6;
  background: rgba(250, 245, 255, 0.98);
  border: 1px solid rgba(208, 194, 232, 0.42);
  font-size: 11px;
}

.pc-matrix-toolbar {
  min-height: 50px;
  padding: 8px 12px;
  gap: 10px;
}

.pc-matrix-run-btn {
  padding: 0 12px;
  color: #31415f;
  background: rgba(245, 247, 251, 0.98);
  border: 1px solid rgba(187, 198, 216, 0.4);
}

.pc-matrix-select-chip {
  min-width: 112px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #5c6984;
  background: #fff;
  border: 1px solid rgba(128, 191, 210, 0.46);
  box-shadow: inset 0 0 0 1px rgba(114, 175, 197, 0.14);
}

.pc-matrix-board {
  padding: 10px;
}

.pc-matrix-device-card {
  border-radius: 16px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: rgba(252, 253, 255, 0.98);
  padding: 12px;
  display: grid;
  gap: 12px;
}

.pc-matrix-device-head {
  justify-content: space-between;
  gap: 12px;
}

.pc-matrix-device-main {
  gap: 10px;
}

.pc-matrix-device-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(216, 241, 242, 0.98);
  box-shadow: inset 0 0 0 1px rgba(129, 205, 208, 0.5);
}

.pc-matrix-device-name {
  font-size: 14px;
  font-weight: 800;
  color: #1e2740;
}

.pc-matrix-device-tag {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #8f98aa;
  background: rgba(243, 246, 252, 0.98);
  font-size: 10px;
}

.pc-matrix-device-side {
  gap: 8px;
}

.pc-matrix-light-pill {
  padding: 0 10px;
  color: #69b8c6;
  background: rgba(236, 251, 252, 0.98);
}

.pc-matrix-light-pill.purple {
  color: #9b7dd0;
  background: rgba(248, 241, 255, 0.98);
}

.pc-matrix-project-card,
.pc-matrix-platform-card,
.pc-matrix-cycle-bar {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.pc-matrix-project-title,
.pc-matrix-card-title {
  font-size: 13px;
  font-weight: 800;
  color: #263048;
}

.pc-matrix-project-sub {
  font-size: 10px;
  color: #a1aabc;
}

.pc-matrix-project-select {
  width: 160px;
  height: 34px;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #5d6c87;
  background: #fff;
  border: 1px solid rgba(186, 197, 216, 0.38);
  font-size: 12px;
}

.pc-matrix-project-select::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #afbacb;
}

.pc-matrix-platform-row {
  gap: 8px;
}

.pc-matrix-platform-tab {
  flex: 1;
  justify-content: center;
  color: #7f8da7;
  background: rgba(251, 252, 255, 0.98);
  border: 1px solid rgba(220, 226, 236, 0.9);
}

.pc-matrix-platform-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #243656 0%, #172947 100%);
}

.pc-matrix-strategy-list,
.pc-matrix-card-grid {
  display: grid;
  gap: 10px;
}

.pc-matrix-strategy-row,
.pc-matrix-feature-card {
  border-radius: 14px;
  background: #fff;
}

.pc-matrix-strategy-row {
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-matrix-strategy-row.blue {
  box-shadow: inset 0 0 0 1px rgba(107, 168, 235, 0.55);
}

.pc-matrix-strategy-row.pink {
  box-shadow: inset 0 0 0 1px rgba(222, 129, 170, 0.52);
}

.pc-matrix-strategy-row.purple {
  box-shadow: inset 0 0 0 1px rgba(151, 123, 208, 0.52);
}

.pc-matrix-strategy-row.cyan {
  box-shadow: inset 0 0 0 1px rgba(92, 205, 222, 0.55);
}

.pc-matrix-strategy-row.violet {
  box-shadow: inset 0 0 0 1px rgba(147, 116, 202, 0.52);
}

.pc-matrix-strategy-row.gray {
  box-shadow: inset 0 0 0 1px rgba(194, 200, 211, 0.55);
}

.pc-matrix-strategy-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-matrix-strategy-icon,
.pc-matrix-feature-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.pc-matrix-strategy-icon.blue { background: #83caf2; }
.pc-matrix-strategy-icon.pink { background: #e595bc; }
.pc-matrix-strategy-icon.purple { background: #9b83d7; }
.pc-matrix-strategy-icon.cyan { background: #79dde2; }
.pc-matrix-strategy-icon.violet { background: #a689e0; }
.pc-matrix-strategy-icon.gray { background: #c6ccd6; }

.pc-matrix-strategy-name,
.pc-matrix-feature-name {
  font-size: 13px;
  font-weight: 800;
  color: #263048;
}

.pc-matrix-strategy-desc,
.pc-matrix-feature-desc {
  margin-top: 2px;
  font-size: 10px;
  color: #a0aabc;
}

.pc-matrix-strategy-actions {
  gap: 10px;
}

.pc-matrix-config-btn,
.pc-matrix-feature-btn {
  padding: 0 12px;
  color: #5d6c87;
  background: rgba(246, 248, 252, 0.98);
}

.pc-matrix-feature-btn.tag {
  color: #8f74d6;
  background: rgba(244, 239, 255, 0.98);
}

.pc-matrix-toggle {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: rgba(229, 234, 242, 0.98);
  position: relative;
}

.pc-matrix-toggle::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
}

.pc-matrix-card-title {
  text-align: center;
  color: #b29adc;
  font-size: 11px;
  font-weight: 600;
}

.pc-matrix-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-matrix-feature-card {
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  display: grid;
  gap: 4px;
}

.pc-matrix-feature-card.violet {
  box-shadow: inset 0 0 0 1px rgba(179, 141, 231, 0.26);
}

.pc-matrix-feature-card.slate {
  box-shadow: inset 0 0 0 1px rgba(201, 208, 220, 0.28);
}

.pc-matrix-feature-card.green {
  box-shadow: inset 0 0 0 1px rgba(149, 214, 182, 0.26);
}

.pc-matrix-feature-icon.violet { background: #c9b3f0; }
.pc-matrix-feature-icon.slate { background: #cfd7e5; }
.pc-matrix-feature-icon.green { background: #9cdeb7; }

.pc-matrix-feature-actions {
  gap: 8px;
  margin-top: 6px;
}

.pc-matrix-cycle-bar {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.pc-matrix-cycle-title {
  font-size: 12px;
  font-weight: 800;
  color: #263048;
}

.pc-matrix-cycle-title span {
  margin-left: 6px;
  font-weight: 400;
  color: #a1aabc;
  font-size: 10px;
}

.pc-matrix-cycle-meta {
  gap: 8px;
  margin-top: 10px;
  color: #97a3b8;
  font-size: 10px;
}

.pc-matrix-time-chip {
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #6f7f9b;
  background: rgba(246, 248, 252, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
}

.pc-matrix-cycle-actions {
  gap: 8px;
}

.pc-matrix-day-pill {
  padding: 0 12px;
  color: #8b97ad;
  background: rgba(246, 248, 252, 0.98);
}

.pc-matrix-day-pill.active {
  color: #57c1ca;
  background: rgba(236, 251, 252, 0.98);
}

.pc-matrix-save-btn {
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(180deg, #4f87e7 0%, #2c67c8 100%);
  box-shadow: 0 10px 24px rgba(54, 105, 197, 0.2);
}

.pc-strategy-modal-backdrop {
  align-items: center;
  justify-items: center;
  background: rgba(37, 44, 63, 0.34);
}

.pc-strategy-modal {
  width: min(100%, 780px);
  max-height: calc(100vh - 70px);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.26);
}

.pc-strategy-modal.wide {
  width: min(100%, 980px);
}

.pc-strategy-modal-head {
  min-height: 72px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 28px 1fr auto 24px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139, 152, 180, 0.12);
}

.pc-strategy-modal-icon,
.pc-strategy-modal-close {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.pc-strategy-modal-icon {
  color: #fff;
  font-weight: 700;
}

.pc-strategy-modal-icon.blue { background: #368cff; }
.pc-strategy-modal-icon.violet { background: #8558ef; }
.pc-strategy-modal-icon.purple { background: #706cf2; }
.pc-strategy-modal-icon.cyan { background: #269cff; }
.pc-strategy-modal-icon.green { background: #22b172; }
.pc-strategy-modal-icon.slate { background: #8ba8cb; }
.pc-strategy-modal-icon.mint { background: #7dd8b7; }

.pc-strategy-modal-breadcrumb {
  font-size: 11px;
  color: #9ca7bb;
}

.pc-strategy-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #212c45;
}

.pc-strategy-modal-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #8e99ae;
}

.pc-strategy-modal-close {
  color: #a8b2c3;
  background: transparent;
}

.pc-strategy-modal-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
  overflow: auto;
  background: rgba(252, 253, 255, 0.98);
}

.pc-strategy-modal-body.plain {
  padding-top: 14px;
  background: #fff;
}

.pc-strategy-hero {
  min-height: 108px;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  color: #fff;
}

.pc-strategy-hero.blue {
  background: linear-gradient(135deg, #1f56ff 0%, #1ec2de 100%);
}

.pc-strategy-hero.violet {
  background: linear-gradient(135deg, #35246d 0%, #f05cbc 100%);
}

.pc-strategy-hero.purple {
  background: linear-gradient(135deg, #3537cf 0%, #8c8ef7 100%);
}

.pc-strategy-hero.cyan {
  background: linear-gradient(135deg, #1e58ec 0%, #24cbe4 100%);
}

.pc-strategy-hero.green {
  background: linear-gradient(135deg, #0d4e68 0%, #30cb64 100%);
}

.pc-strategy-hero-tag {
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.pc-strategy-hero-text {
  margin-top: 14px;
  max-width: 380px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.pc-strategy-hero-stats,
.pc-strategy-chip-row,
.pc-strategy-inline-switch,
.pc-strategy-switch-right {
  display: flex;
  align-items: center;
}

.pc-strategy-hero-stats {
  gap: 10px;
}

.pc-strategy-hero-stat {
  min-width: 84px;
  min-height: 78px;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
}

.pc-strategy-hero-stat strong {
  font-size: 20px;
}

.pc-strategy-hero-stat span {
  font-size: 11px;
  opacity: 0.92;
}

.pc-strategy-section {
  display: grid;
  gap: 10px;
}

.pc-strategy-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #263048;
}

.pc-strategy-section-sub,
.pc-strategy-field small,
.pc-strategy-card small,
.pc-strategy-switch-desc {
  font-size: 11px;
  color: #9ca7bb;
}

.pc-strategy-large-card,
.pc-strategy-card,
.pc-strategy-switch-row {
  border-radius: 16px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
}

.pc-strategy-large-card {
  padding: 14px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(251, 253, 255, 0.98));
}

.pc-strategy-large-card.compact {
  padding-bottom: 10px;
}

.pc-strategy-field {
  display: grid;
  gap: 6px;
}

.pc-strategy-field span,
.pc-strategy-card-title,
.pc-strategy-switch-title {
  font-size: 12px;
  font-weight: 700;
  color: #364157;
}

.pc-strategy-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.pc-strategy-input,
.pc-strategy-textarea,
.pc-strategy-select {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(186, 197, 216, 0.38);
  background: #fff;
  color: #5d6c87;
  font-size: 12px;
}

.pc-strategy-textarea {
  min-height: 100px;
  padding-top: 12px;
  resize: none;
}

.pc-strategy-primary-btn,
.pc-strategy-save-btn,
.pc-strategy-close-btn {
  height: 38px;
  border-radius: 12px;
  font-size: 12px;
}

.pc-strategy-primary-btn.small {
  height: 38px;
  padding: 0 14px;
  color: #fff;
  background: #0d1c3f;
}

.pc-strategy-grid {
  display: grid;
  gap: 12px;
}

.pc-strategy-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-strategy-card {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.pc-strategy-chip-row {
  gap: 8px;
  flex-wrap: wrap;
}

.pc-strategy-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #7a879f;
  background: rgba(247, 249, 253, 0.98);
  border: 1px solid rgba(186, 197, 216, 0.32);
  font-size: 11px;
}

.pc-strategy-chip.active {
  color: #fff;
  background: #1f58ec;
  border-color: #1f58ec;
}

.pc-strategy-inline-switch {
  gap: 10px;
  color: #8e9ab0;
  font-size: 11px;
}

.pc-strategy-switch-list {
  display: grid;
  gap: 10px;
}

.pc-strategy-switch-row {
  min-height: 74px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-strategy-switch-right {
  gap: 10px;
  color: #8e9ab0;
  font-size: 11px;
}

.pc-strategy-modal-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(139, 152, 180, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: rgba(250, 251, 255, 0.98);
}

.pc-strategy-modal-footer.light {
  justify-content: flex-start;
  background: #fff;
}

.pc-strategy-save-btn {
  flex: 1;
  color: #fff;
  background: linear-gradient(180deg, #0d1334 0%, #06102c 100%);
}

.pc-strategy-close-btn {
  min-width: 72px;
  color: #8b97ad;
  background: rgba(243, 246, 252, 0.96);
}

.pc-map-head-actions,
.pc-map-query-row,
.pc-enterprise-selector-grid,
.pc-enterprise-table-head,
.pc-enterprise-table-headbar {
  display: flex;
  align-items: center;
}

.pc-map-head-actions {
  gap: 8px;
}

.pc-map-head-btn,
.pc-map-search-btn,
.pc-map-reset-btn,
.pc-enterprise-export-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.pc-map-head-btn {
  color: #5d6c87;
  background: rgba(245, 247, 251, 0.98);
}

.pc-enterprise-layout,
.pc-map-layout,
.pc-enterprise-filter-list {
  display: grid;
  gap: 12px;
}

.pc-enterprise-topbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pc-enterprise-tagline {
  color: #6792cb;
  font-size: 11px;
  font-weight: 700;
}

.pc-enterprise-tagline.right {
  text-align: left;
}

.pc-enterprise-selector-grid {
  align-items: stretch;
  gap: 16px;
}

.pc-enterprise-region-panel,
.pc-enterprise-industry-panel,
.pc-enterprise-table {
  border-radius: 14px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
}

.pc-enterprise-region-panel,
.pc-enterprise-industry-panel {
  min-height: 166px;
  padding: 10px 0;
  overflow: auto;
}

.pc-enterprise-region-panel {
  width: 46%;
}

.pc-enterprise-industry-panel {
  width: 54%;
}

.pc-enterprise-region-item,
.pc-enterprise-industry-item {
  min-height: 28px;
  padding: 0 14px;
  display: grid;
  align-items: center;
  gap: 8px;
  color: #5e6c86;
  font-size: 11px;
}

.pc-enterprise-region-item {
  grid-template-columns: 10px 1fr;
}

.pc-enterprise-industry-item {
  grid-template-columns: 18px 1fr 16px;
  border: 1px solid rgba(230, 235, 244, 0.9);
  border-radius: 10px;
  margin: 0 10px 8px;
}

.pc-enterprise-region-item.active,
.pc-enterprise-industry-item.active {
  color: #5d85c4;
}

.pc-enterprise-industry-item.active {
  background: rgba(243, 248, 255, 0.98);
  border-color: rgba(164, 190, 230, 0.55);
}

.pc-enterprise-caret,
.pc-enterprise-letter {
  color: #afbacb;
}

.pc-enterprise-radio {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(190, 199, 213, 0.8);
}

.pc-enterprise-industry-item.active .pc-enterprise-radio {
  border-color: #71a5e6;
  box-shadow: inset 0 0 0 3px #71a5e6;
}

.pc-enterprise-filter-list {
  gap: 8px;
}

.pc-enterprise-filter-row,
.pc-map-inline-field {
  display: grid;
  align-items: center;
  gap: 8px;
}

.pc-enterprise-filter-row {
  grid-template-columns: 72px 1fr;
}

.pc-enterprise-filter-row span,
.pc-map-inline-field span,
.pc-map-query-title,
.pc-enterprise-total {
  font-size: 12px;
  color: #364157;
}

.pc-enterprise-table-headbar {
  justify-content: space-between;
  gap: 12px;
}

.pc-enterprise-total strong {
  color: #1f2a42;
}

.pc-enterprise-export-btn {
  color: #6a778f;
  background: rgba(245, 247, 251, 0.98);
}

.pc-enterprise-table {
  min-height: 184px;
  overflow: hidden;
}

.pc-enterprise-table-head {
  min-height: 42px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.75fr 0.7fr 0.7fr 0.75fr 1.1fr;
  gap: 12px;
  color: #98a3b7;
  font-size: 11px;
  border-bottom: 1px solid rgba(235, 239, 246, 0.9);
}

.pc-enterprise-table-empty {
  min-height: 140px;
  display: grid;
  place-items: center;
  color: #c0c8d7;
  font-size: 11px;
}

.pc-map-layout {
  min-height: 470px;
}

.pc-map-query-title {
  font-weight: 800;
}

.pc-map-query-row {
  gap: 10px;
  flex-wrap: wrap;
}

.pc-map-inline-field {
  grid-template-columns: auto 180px;
}

.pc-map-input-chip {
  min-width: 180px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  color: #97a2b7;
  background: #fff;
  border: 1px solid rgba(186, 197, 216, 0.38);
  font-size: 12px;
}

.pc-map-search-btn {
  color: #fff;
  background: linear-gradient(180deg, #93e5cb 0%, #6ad3b1 100%);
}

.pc-map-reset-btn {
  color: #7f8da7;
  background: rgba(245, 247, 251, 0.98);
}

.pc-map-empty {
  flex: 1 1 auto;
  min-height: 330px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #c4cbd8;
}

.pc-map-empty-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(140, 229, 199, 0.95) 0%, rgba(140, 229, 199, 0.22) 65%, transparent 66%);
}

.pc-map-empty-title {
  color: #7e8b9f;
  font-size: 12px;
  font-weight: 700;
}

.pc-map-empty-sub {
  color: #bac3d2;
  font-size: 11px;
}

.pc-strategy-modal.publish {
  width: min(100%, 760px);
}

.pc-strategy-modal-icon.D {
  background: #6e56ea;
}

.pc-publish-layout,
.pc-publish-section,
.pc-publish-account-wrap,
.pc-publish-poi-list,
.pc-publish-topic-tags {
  display: grid;
  gap: 12px;
}

.pc-publish-layout {
  gap: 14px;
}

.pc-publish-head-chip,
.pc-publish-device-pill,
.pc-publish-video-tab,
.pc-publish-topic-tag,
.pc-publish-schedule-tab {
  border-radius: 999px;
  font-size: 11px;
}

.pc-publish-head-chip {
  justify-self: end;
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #8e6ee8;
  background: rgba(244, 238, 255, 0.98);
}

.pc-publish-section {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(139, 152, 180, 0.12);
  background: #fff;
}

.pc-publish-section.compact {
  gap: 10px;
}

.pc-publish-section-title,
.pc-publish-inline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  color: #263048;
}

.pc-publish-section-title small,
.pc-publish-inline-title small,
.pc-publish-inline-meta,
.pc-publish-upload-state,
.pc-publish-upload-sub,
.pc-publish-poi-tip {
  font-size: 11px;
  color: #9ca7bb;
}

.pc-publish-step {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #8f63f1 0%, #6b4be0 100%);
  font-size: 11px;
}

.pc-publish-device-row,
.pc-publish-account-grid,
.pc-publish-video-tabs,
.pc-publish-title-row,
.pc-publish-datetime-row {
  display: grid;
  gap: 10px;
}

.pc-publish-device-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-publish-device-pill,
.pc-publish-video-tab,
.pc-publish-schedule-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(216, 221, 233, 0.9);
  color: #7e8ba5;
  background: rgba(249, 250, 254, 0.98);
}

.pc-publish-device-pill.active,
.pc-publish-video-tab.active,
.pc-publish-schedule-tab.active {
  color: #8b64e8;
  border-color: rgba(171, 142, 233, 0.6);
  background: rgba(247, 242, 255, 0.98);
}

.pc-publish-select,
.pc-publish-datetime-field,
.pc-publish-poi-input {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  color: #7d8aa3;
  border: 1px solid rgba(186, 197, 216, 0.38);
  background: #fff;
  font-size: 12px;
}

.pc-publish-account-wrap {
  padding: 12px;
  border-radius: 14px;
  background: rgba(247, 244, 255, 0.6);
}

.pc-publish-account-header {
  color: #8f98aa;
  font-size: 11px;
}

.pc-publish-account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-publish-account-card {
  min-height: 104px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(221, 226, 236, 0.9);
  background: #fff;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  position: relative;
}

.pc-publish-account-card.active {
  border-color: rgba(157, 127, 231, 0.58);
  box-shadow: inset 0 0 0 1px rgba(157, 127, 231, 0.18);
  background: rgba(250, 246, 255, 0.98);
}

.pc-publish-account-platform {
  width: fit-content;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: #11192f;
  font-size: 10px;
}

.pc-publish-account-check {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(201, 209, 222, 0.9);
  background: #fff;
}

.pc-publish-account-check.active {
  border-color: #8d6fe8;
  box-shadow: inset 0 0 0 4px #8d6fe8;
}

.pc-publish-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6dbe7 0%, #aab5cb 100%);
}

.pc-publish-avatar.photo {
  background: radial-gradient(circle at 42% 34%, #f9d6cf 0 22%, #49372f 23% 34%, #f4e1de 35% 44%, #d7a99d 45% 60%, #efe8f2 61%);
}

.pc-publish-avatar.logo {
  border-radius: 10px;
  background: linear-gradient(135deg, #0f182f 0%, #edf1f7 100%);
}

.pc-publish-account-name {
  color: #5f6c87;
  font-size: 11px;
}

.pc-publish-video-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-publish-upload-card {
  min-height: 82px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(216, 206, 237, 0.9);
  background: rgba(251, 249, 255, 0.92);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
}

.pc-publish-selected-list,
.pc-publish-title-list,
.pc-publish-cycle-box,
.pc-publish-cycle-pills {
  display: grid;
  gap: 10px;
}

.pc-publish-selected-item,
.pc-publish-title-item {
  min-height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(223, 228, 238, 0.92);
  background: rgba(249, 250, 254, 0.98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-publish-selected-name,
.pc-publish-title-item {
  color: #5f6c87;
  font-size: 12px;
  font-weight: 700;
}

.pc-publish-selected-meta {
  margin-top: 4px;
  color: #9ca7bb;
  font-size: 11px;
}

.pc-publish-selected-remove,
.pc-publish-file-btn.secondary {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.pc-publish-selected-remove {
  color: #8b97ad;
  background: rgba(243, 246, 252, 0.98);
}

.pc-publish-file-btn.secondary {
  justify-self: start;
}

.pc-publish-upload-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #a98fe8;
  background: rgba(242, 236, 255, 0.98);
  font-size: 12px;
}

.pc-publish-upload-title {
  color: #646f87;
  font-size: 12px;
  font-weight: 700;
}

.pc-publish-file-btn,
.pc-publish-add-btn,
.pc-publish-topic-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12px;
}

.pc-publish-file-btn,
.pc-publish-add-btn {
  color: #8d6fe8;
  background: rgba(244, 238, 255, 0.98);
}

.pc-publish-title-row {
  grid-template-columns: 1fr auto;
}

.pc-publish-inline-meta {
  justify-self: end;
  margin-top: -6px;
}

.pc-publish-topic-btn {
  color: #fff;
  background: linear-gradient(180deg, #b875ff 0%, #9254f5 100%);
}

.pc-publish-topic-tags {
  grid-template-columns: repeat(5, max-content);
  gap: 10px;
}

.pc-publish-topic-tag {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #9b88d7;
  background: rgba(248, 244, 255, 0.98);
}

.pc-publish-topic-tag.active {
  color: #fff;
  background: linear-gradient(180deg, #b875ff 0%, #9254f5 100%);
}

.pc-publish-poi-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr 22px;
  gap: 8px;
  align-items: center;
}

.pc-publish-poi-row.active {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(163, 192, 233, 0.22);
}

.pc-publish-poi-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}

.pc-publish-poi-icon.抖 { background: #161823; }
.pc-publish-poi-icon.红 { background: #ff6d4d; }
.pc-publish-poi-icon.视 { background: #4aa9ff; }
.pc-publish-poi-icon.快 { background: #ffad38; }

.pc-publish-poi-search {
  color: #b8c1d1;
  font-size: 14px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.pc-publish-poi-input.active {
  border-color: rgba(150, 180, 228, 0.6);
  box-shadow: inset 0 0 0 1px rgba(150, 180, 228, 0.18);
}

.pc-publish-schedule-tabs {
  padding: 6px;
  border-radius: 14px;
  background: rgba(244, 247, 252, 0.96);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pc-publish-datetime-row {
  grid-template-columns: 180px 1fr;
}

.pc-publish-datetime-row.cycle {
  grid-template-columns: 140px 1fr;
}

.pc-publish-datetime-field.wide {
  color: #a0aabc;
}

.pc-publish-datetime-field.input {
  width: 100%;
}

.pc-publish-cycle-pills {
  grid-template-columns: repeat(4, max-content);
  gap: 8px;
}

.pc-publish-cycle-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #8b97ad;
  background: rgba(243, 246, 252, 0.98);
  font-size: 11px;
}

.pc-publish-cycle-pill.active {
  color: #fff;
  background: linear-gradient(180deg, #8f63f1 0%, #6b4be0 100%);
}

.mobile-submodal-layer {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(37, 44, 63, 0.18);
}

.mobile-city-ai-modal {
  width: min(100%, 460px);
  border-radius: 18px;
  border: 1px solid rgba(188, 197, 214, 0.38);
  background: #fff;
  box-shadow: 0 28px 72px rgba(31, 42, 78, 0.2);
  overflow: hidden;
}

.mobile-city-ai-head {
  min-height: 72px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139, 152, 180, 0.12);
}

.mobile-city-ai-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #58a6d7;
  background: rgba(232, 246, 255, 0.98);
  font-size: 12px;
  font-weight: 800;
}

.mobile-city-ai-title {
  font-size: 18px;
  font-weight: 800;
  color: #212c45;
}

.mobile-city-ai-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #8e99ae;
}

.mobile-city-ai-body {
  padding: 14px 18px 10px;
  display: grid;
  gap: 12px;
}

.mobile-city-ai-field {
  display: grid;
  gap: 6px;
}

.mobile-city-ai-field span {
  font-size: 12px;
  color: #6d7890;
}

.mobile-city-ai-footer {
  padding: 4px 18px 18px;
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
}

.mobile-city-ai-confirm,
.mobile-city-ai-cancel {
  height: 34px;
  border-radius: 10px;
  font-size: 12px;
}

.mobile-city-ai-confirm {
  color: #fff;
  background: linear-gradient(180deg, #4d84e5 0%, #2d67c8 100%);
}

.mobile-city-ai-cancel {
  color: #8b97ad;
  background: rgba(243, 246, 252, 0.96);
}

.hero {
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(252, 253, 255, 0.86) 100%),
    radial-gradient(circle at top left, rgba(98, 117, 255, 0.14), transparent 22%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(129, 146, 182, 0.14);
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-title h1,
.page-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-subtitle,
.page-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.chip-row,
.stat-row,
.card-grid,
.split-grid,
.timeline,
.reference-grid,
.toolbar,
.metric-grid {
  display: grid;
  gap: 12px;
}

.chip-row {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  margin-top: 18px;
}

.chip {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.9);
  border: 1px solid var(--line);
  color: #53617d;
  font-size: 12px;
}

.chip strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.card,
.glass-card {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(139, 152, 180, 0.14);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 16px;
}

.glass-card {
  padding: 18px;
  backdrop-filter: blur(18px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  padding: 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(136, 152, 185, 0.14);
  box-shadow: var(--shadow-soft);
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}

.metric-value {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-foot {
  color: #5d6880;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-soft);
}

.toolbar {
  grid-template-columns: 1.4fr 1fr auto auto;
  align-items: center;
}

.search {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 255, 0.92);
  color: var(--text);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.18s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #4966ff 0%, #734dff 100%);
  box-shadow: 0 12px 30px rgba(86, 95, 255, 0.24);
}

.secondary-btn {
  color: var(--primary);
  background: var(--primary-soft);
}

.ghost-btn {
  color: #5b6680;
  background: rgba(243, 246, 251, 0.88);
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-grid.two {
  grid-template-columns: 1.2fr 0.8fr;
}

.split-grid.three {
  grid-template-columns: 0.95fr 1.4fr 0.9fr;
}

.stack {
  display: grid;
  gap: 12px;
}

.progress-list,
.simple-list,
.timeline-list,
.tab-row,
.conversation-list,
.device-grid {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(249, 251, 255, 0.88);
  border: 1px solid var(--line);
}

.list-main {
  display: grid;
  gap: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  color: #59647d;
  background: rgba(245, 248, 252, 0.9);
  border: 1px solid rgba(134, 149, 178, 0.14);
}

.tag.primary {
  color: var(--primary);
  background: var(--primary-soft);
}

.tag.purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.tag.green {
  color: var(--green);
  background: var(--green-soft);
}

.tag.amber {
  color: #b27b10;
  background: var(--amber-soft);
}

.tag.red {
  color: #ce4c5c;
  background: rgba(255, 106, 123, 0.12);
}

.tab-row {
  grid-template-columns: repeat(auto-fit, minmax(80px, max-content));
}

.tab {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  background: rgba(243, 247, 252, 0.9);
  color: #57637c;
}

.tab.active {
  background: linear-gradient(135deg, #172846 0%, #21345a 100%);
  color: #fff;
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(201, 212, 230, 0.42);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b8cff 0%, #7c4dff 100%);
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  padding: 14px;
  border-radius: 18px;
  background: rgba(249, 250, 255, 0.9);
  border: 1px solid var(--line);
}

.timeline-step .step-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6f65ff 0%, #9261ff 100%);
  color: #fff;
  font-size: 12px;
  margin-bottom: 10px;
}

.upload-box,
.chat-window,
.device-card,
.reference-card,
.phone-card,
.message-panel {
  border-radius: 22px;
  border: 1px dashed rgba(122, 137, 166, 0.28);
  background: rgba(249, 251, 255, 0.88);
}

.upload-box {
  padding: 28px 18px;
  text-align: center;
  color: #7b86a0;
  font-size: 13px;
}

.flow-form {
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
}

.field-control {
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 13px;
}

.dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.message-layout {
  display: grid;
  grid-template-columns: 270px 1fr 260px;
  gap: 14px;
}

.conversation-list {
  max-height: 560px;
  overflow: auto;
}

.conversation {
  padding: 12px;
  border-radius: 16px;
  background: rgba(246, 249, 255, 0.92);
  border: 1px solid var(--line);
}

.conversation.active {
  border-color: rgba(88, 105, 255, 0.24);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.96), rgba(247, 249, 255, 0.92));
}

.chat-window {
  padding: 16px;
  min-height: 560px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.bubble {
  max-width: 76%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.55;
  font-size: 13px;
  color: #44526e;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.bubble.self {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #2241e6 0%, #6b4dff 100%);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.action-tile {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.92);
  border: 1px solid var(--line);
  text-align: center;
  color: #59657f;
}

.device-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.device-card {
  min-height: 290px;
  padding: 12px;
}

.phone-card {
  height: 196px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #111827 0%, #0b1220 100%);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #52d483;
  box-shadow: 0 0 16px #52d483;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-card {
  overflow: hidden;
}

.reference-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(134, 148, 178, 0.14);
}

.reference-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.reference-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.summary-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(250, 251, 255, 0.92);
  border: 1px solid var(--line);
}

.summary-box ul {
  margin: 0;
  padding-left: 18px;
  color: #52607b;
  line-height: 1.8;
}

.modal-stage {
  position: relative;
  min-height: 520px;
  padding: 20px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(230, 236, 248, 0.55), rgba(239, 243, 248, 0.92));
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(168, 180, 210, 0.18);
  backdrop-filter: blur(2px);
}

.modal-shell {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(129, 146, 182, 0.18);
  box-shadow: 0 24px 64px rgba(44, 58, 103, 0.16);
  overflow: hidden;
}

.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(90deg, #5b7cff 0%, #7a59ff 50%, #ef5ba1 100%);
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}

.modal-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px 16px;
}

.result-video-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.result-video-frame img {
  width: 100%;
  display: block;
}

.result-video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.digital-human-layout,
.touch-list-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}

.digital-human-side,
.touch-list-side {
  padding: 12px;
  border-radius: 20px;
  background: rgba(245, 248, 253, 0.9);
  border: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 10px;
}

.digital-human-nav {
  padding: 10px 12px;
  border-radius: 12px;
  color: #5d6881;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(136, 152, 185, 0.12);
  font-size: 13px;
}

.digital-human-nav.active {
  color: #fff;
  background: linear-gradient(135deg, #6a57ff 0%, #8c54ff 100%);
}

.digital-human-main,
.touch-list-main {
  padding: 16px;
  border-radius: 20px;
  background: rgba(252, 253, 255, 0.96);
  border: 1px solid var(--line);
}

.dropdown-open {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(136, 152, 185, 0.18);
  box-shadow: var(--shadow-soft);
  z-index: 2;
  display: grid;
  gap: 6px;
}

.dropdown-item {
  padding: 8px 10px;
  border-radius: 10px;
  color: #5d6881;
  font-size: 13px;
}

.dropdown-item.active {
  background: rgba(73, 102, 255, 0.08);
  color: var(--primary);
}

.workspace-board {
  border-radius: 20px;
  background: rgba(251, 252, 255, 0.96);
  border: 1px solid var(--line);
  overflow: hidden;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.workspace-layout {
  display: grid;
  grid-template-columns: 264px 272px 1fr;
  min-height: 500px;
}

.workspace-side,
.workspace-middle,
.workspace-main,
.workspace-chat-main,
.workspace-actions-panel {
  padding: 12px;
}

.workspace-side,
.workspace-middle {
  border-right: 1px solid rgba(136, 152, 185, 0.12);
}

.workspace-company,
.workspace-customer,
.workspace-thread {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(248, 250, 255, 0.86);
  margin-bottom: 8px;
}

.workspace-button-reset {
  width: 100%;
  text-align: left;
}

.workspace-company strong,
.workspace-customer strong,
.workspace-thread strong {
  font-size: 13px;
}

.workspace-company .muted,
.workspace-customer .muted,
.workspace-thread .muted {
  font-size: 11px;
  line-height: 1.35;
}

.workspace-company.active,
.workspace-customer.active,
.workspace-thread.active {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.96), rgba(247, 249, 255, 0.92));
  border-color: rgba(88, 105, 255, 0.2);
}

.workspace-company-badge,
.workspace-avatar,
.workspace-thread-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: #4c5a73;
  background: linear-gradient(135deg, #f485c4 0%, #ff9e47 100%);
}

.workspace-avatar {
  background: rgba(234, 238, 248, 0.95);
}

.workspace-thread-dot {
  background: #eef1ff;
}

.workspace-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5c74;
}

.workspace-blank {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  color: #8a95ab;
  justify-items: start;
  padding: 24px;
}

.workspace-blank.workspace-blank-left {
  align-content: center;
}

.workspace-blank h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #1e273a;
}

.workspace-chat-header,
.workspace-chat-top {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.workspace-chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workspace-chat-body,
.ai-chat-scroll {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.workspace-message-time {
  font-size: 11px;
  color: #98a3ba;
  margin-bottom: 6px;
}

.workspace-message-bubble {
  width: fit-content;
  max-width: 460px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 250, 255, 0.98);
  border: 1px solid rgba(136, 152, 185, 0.12);
  color: #4b5872;
  line-height: 1.5;
  font-size: 12px;
}

.ai-detail-layout {
  grid-template-columns: 280px 1fr 260px;
}

.workspace-stat-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.96);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.workspace-stat-value {
  font-size: 30px;
  font-weight: 800;
}

.workspace-side-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-chat-row {
  display: flex;
}

.ai-chat-row.self {
  justify-content: flex-end;
}

.ai-chat-bubble {
  max-width: 62%;
  padding: 9px 11px;
  border-radius: 10px;
  color: #47536d;
  background: #fff;
  border: 1px solid rgba(136, 152, 185, 0.12);
  font-size: 12px;
  line-height: 1.45;
}

.ai-chat-bubble.self {
  color: #20402b;
  background: #8df16e;
  border-color: rgba(84, 165, 68, 0.28);
}

.workspace-bottom-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
}

.workspace-actions-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  border-left: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(249, 251, 255, 0.78);
}

.summary-box.summary-box-tight {
  padding: 12px 14px;
}

.workspace-back-inline {
  padding-inline: 12px;
}

.ai-page {
  display: grid;
  gap: 8px;
}

.ai-board {
  border-radius: 18px;
  border: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.ai-layout {
  display: grid;
  grid-template-columns: 104px 286px 1fr 168px;
  min-height: 560px;
}

.ai-device-panel,
.ai-thread-panel,
.ai-chat-panel,
.ai-action-panel {
  min-width: 0;
}

.ai-device-panel,
.ai-thread-panel,
.ai-chat-panel {
  border-right: 1px solid rgba(136, 152, 185, 0.12);
}

.ai-device-panel {
  padding: 10px 8px;
  background: rgba(247, 249, 253, 0.98);
}

.ai-device-stat {
  padding: 10px 8px 14px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.1);
  margin-bottom: 8px;
}

.ai-device-stat-label,
.ai-device-stat-sub,
.ai-thread-sub,
.ai-thread-account,
.ai-thread-preview,
.ai-chat-empty-sub,
.ai-chat-header-sub,
.ai-action-section-title,
.ai-running-text {
  font-size: 10px;
  color: #97a3b9;
}

.ai-device-stat-value {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 800;
  color: #1a2440;
  line-height: 1;
}

.ai-device-list,
.ai-thread-list,
.ai-bind-list {
  display: grid;
  gap: 8px;
}

.ai-device-card {
  position: relative;
  width: 100%;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.ai-device-card.active {
  background: linear-gradient(180deg, rgba(239, 242, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(129, 112, 237, 0.16);
}

.ai-device-avatar,
.ai-thread-avatar,
.ai-chat-avatar {
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.ai-device-avatar {
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 12px;
}

.ai-device-avatar.violet {
  background: linear-gradient(135deg, #7566ff 0%, #5950de 100%);
}

.ai-device-avatar.ash {
  color: #6f7b92;
  background: rgba(233, 238, 247, 0.98);
}

.ai-device-avatar.gray {
  color: #6f7b92;
  background: rgba(237, 240, 246, 0.98);
}

.ai-device-avatar.blue {
  background: linear-gradient(135deg, #76a4ff 0%, #4c73e8 100%);
}

.ai-device-meta {
  display: grid;
  gap: 2px;
}

.ai-device-meta strong {
  font-size: 10px;
  color: #1f2942;
}

.ai-device-meta span {
  font-size: 9px;
  color: #a0abc0;
}

.ai-online-dot,
.ai-running-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #46c66f;
}

.ai-online-dot {
  position: absolute;
  right: 10px;
  top: 10px;
}

.ai-thread-panel {
  padding: 10px 10px 10px;
  background: rgba(250, 252, 255, 0.98);
}

.ai-thread-head {
  padding: 2px 2px 10px;
}

.ai-thread-title {
  font-size: 16px;
  font-weight: 800;
  color: #1b2440;
}

.ai-thread-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.ai-thread-tab {
  height: 28px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
  color: #7c89a3;
  background: rgba(244, 246, 251, 0.98);
}

.ai-thread-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #5d69ff 0%, #5d48ea 100%);
}

.ai-thread-search {
  margin-bottom: 10px;
}

.ai-thread-search-input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(191, 201, 217, 0.4);
  background: rgba(247, 249, 253, 0.98);
  font-size: 11px;
  color: #2c3750;
}

.ai-thread-card {
  position: relative;
  width: 100%;
  min-height: 74px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(228, 232, 241, 0.9);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  text-align: left;
}

.ai-thread-card.active {
  border-color: rgba(113, 123, 255, 0.28);
  background: linear-gradient(180deg, rgba(242, 245, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.ai-thread-avatar {
  width: 28px;
  height: 28px;
  color: #6a7690;
  font-size: 11px;
  background: rgba(233, 238, 247, 0.98);
}

.ai-thread-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ai-thread-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-thread-line strong {
  font-size: 11px;
  color: #1f2942;
}

.ai-thread-line span {
  font-size: 9px;
  color: #a2adc0;
}

.ai-thread-preview,
.ai-thread-account {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-thread-tag {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #6f5ef4;
  background: rgba(241, 236, 255, 0.98);
  font-size: 9px;
}

.ai-chat-panel {
  background: rgba(255, 255, 255, 0.98);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ai-chat-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
}

.ai-chat-empty-title,
.ai-chat-header strong {
  font-size: 14px;
  color: #1d2640;
  font-weight: 800;
}

.ai-chat-header,
.ai-chat-footer,
.ai-chat-header-actions,
.ai-chat-footer-left,
.ai-chat-footer-right,
.ai-action-section-title {
  display: flex;
  align-items: center;
}

.ai-chat-header {
  min-height: 56px;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.ai-chat-header-actions,
.ai-chat-footer-left,
.ai-chat-footer-right {
  gap: 8px;
}

.ai-chat-icon-btn,
.ai-chat-mini-btn {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #9ba6ba;
  background: rgba(245, 247, 251, 0.98);
  font-size: 12px;
}

.ai-chat-scroll.modern {
  padding: 14px 18px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
}

.ai-chat-row.modern {
  gap: 10px;
  align-items: flex-start;
}

.ai-chat-row.modern.self {
  justify-content: flex-end;
}

.ai-chat-avatar {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #7ad0ff 0%, #5e80ff 100%);
}

.ai-chat-avatar.self {
  background: linear-gradient(135deg, #d9d9d9 0%, #bcbcbc 100%);
  order: 2;
}

.ai-chat-bubble-wrap {
  max-width: 68%;
}

.ai-chat-bubble.modern {
  padding: 10px 12px;
  border-radius: 4px;
  color: #515c73;
  background: #fff;
  border: 1px solid rgba(209, 217, 230, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.ai-chat-bubble.self.modern {
  color: #234726;
  background: #8de95f;
  border-color: rgba(92, 167, 74, 0.28);
}

.ai-chat-footer {
  min-height: 42px;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-top: 1px solid rgba(136, 152, 185, 0.12);
}

.ai-chat-toggle-label {
  font-size: 10px;
  color: #8e9ab0;
}

.ai-chat-switch {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  position: relative;
  background: rgba(216, 224, 237, 0.98);
}

.ai-chat-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
}

.ai-chat-switch.active {
  background: linear-gradient(135deg, #7a67ff 0%, #5d5cff 100%);
}

.ai-chat-switch.active::after {
  left: 16px;
}

.ai-action-panel {
  padding: 12px 10px;
  background: rgba(249, 251, 255, 0.98);
  display: grid;
  align-content: start;
  gap: 14px;
}

.ai-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.ai-action-grid.mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-action-tile {
  min-height: 46px;
  padding: 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(223, 228, 238, 0.9);
  background: rgba(255, 255, 255, 0.98);
  color: #48556f;
  font-size: 10px;
  line-height: 1.3;
}

.ai-action-tile.mini {
  min-height: 38px;
}

.ai-action-section-title {
  gap: 6px;
  justify-content: space-between;
  color: #7e8ba3;
}

.ai-bind-list {
  margin-top: 8px;
}

.ai-bind-item {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: #596880;
  font-size: 10px;
}

.ai-bind-index {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #6e7a92;
  background: rgba(233, 238, 247, 0.98);
  font-size: 9px;
}

.ai-bind-index.light {
  background: rgba(240, 242, 247, 0.98);
}

.ai-bind-index.violet {
  color: #fff;
  background: linear-gradient(135deg, #7f6fff 0%, #6052eb 100%);
}

.assistant-page {
  display: grid;
  gap: 8px;
}

.assistant-shell {
  border-radius: 18px;
  border: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
}

.assistant-layout {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 246px;
  min-height: 620px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(223, 229, 240, 0.92);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.assistant-session-panel,
.assistant-chat-panel {
  border-right: 1px solid rgba(136, 152, 185, 0.12);
}

.assistant-session-panel {
  padding: 12px 10px;
  background: rgba(244, 247, 252, 0.98);
  display: grid;
  align-content: start;
  gap: 12px;
}

.assistant-session-head,
.assistant-chat-header,
.assistant-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.assistant-session-title,
.assistant-side-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a2440;
}

.assistant-session-create {
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #243a76 0%, #182956 100%);
}

.assistant-session-list,
.assistant-side-list {
  display: grid;
  gap: 10px;
}

.assistant-session-card {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  text-align: left;
  border: 1px solid rgba(223, 228, 238, 0.92);
  background: rgba(255, 255, 255, 0.98);
  display: grid;
  gap: 8px;
}

.assistant-session-card.active {
  color: #fff;
  border-color: rgba(26, 48, 108, 0.18);
  background: linear-gradient(180deg, #1f2f63 0%, #13234f 100%);
  box-shadow: 0 20px 36px rgba(21, 35, 78, 0.22);
}

.assistant-session-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.assistant-session-line strong {
  font-size: 12px;
}

.assistant-session-line span,
.assistant-session-preview,
.assistant-session-meta {
  font-size: 10px;
}

.assistant-session-preview {
  line-height: 1.5;
  color: #8b97ac;
}

.assistant-session-card.active .assistant-session-preview,
.assistant-session-card.active .assistant-session-line span,
.assistant-session-card.active .assistant-session-meta {
  color: rgba(229, 235, 247, 0.86);
}

.assistant-session-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #9aa5ba;
}

.assistant-session-badge {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(239, 243, 249, 0.98);
  color: #7d88a1;
}

.assistant-session-badge.active {
  color: #1b8d5f;
  background: rgba(220, 247, 232, 0.98);
}

.assistant-chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: rgba(255, 255, 255, 0.98);
}

.assistant-chat-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.assistant-chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assistant-chat-logo {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #7cc2ff 0%, #5977ff 100%);
}

.assistant-chat-sub,
.assistant-side-code,
.assistant-side-card span,
.assistant-side-card small,
.assistant-confirm-text,
.assistant-chat-status {
  font-size: 10px;
  color: #98a4b8;
}

.assistant-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assistant-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #37c77a;
  box-shadow: 0 0 0 6px rgba(55, 199, 122, 0.12);
}

.assistant-chat-scroll {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  background:
    radial-gradient(circle at top left, rgba(135, 156, 255, 0.08), transparent 24%),
    rgba(252, 253, 255, 0.98);
}

.assistant-bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.assistant-bubble-row.self {
  justify-content: flex-end;
}

.assistant-bubble-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #73c7ff 0%, #5b7eff 100%);
}

.assistant-bubble-avatar.self {
  order: 2;
  background: linear-gradient(135deg, #273865 0%, #182957 100%);
}

.assistant-bubble-wrap {
  max-width: 78%;
}

.assistant-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(217, 223, 234, 0.88);
  background: rgba(255, 255, 255, 0.98);
  color: #4c5870;
  font-size: 12px;
  line-height: 1.68;
  box-shadow: 0 10px 24px rgba(22, 31, 61, 0.06);
}

.assistant-bubble.self {
  color: #fff;
  border-color: rgba(26, 48, 108, 0.2);
  background: linear-gradient(135deg, #223867 0%, #162a56 100%);
}

.assistant-quick-row {
  padding: 12px 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-quick-pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #57647d;
  font-size: 11px;
  background: rgba(245, 247, 252, 0.98);
  border: 1px solid rgba(218, 224, 236, 0.92);
}

.assistant-input-panel {
  padding: 12px 18px 18px;
  display: grid;
  gap: 10px;
}

.assistant-input {
  width: 100%;
  min-height: 96px;
  resize: none;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(211, 219, 233, 0.92);
  background: rgba(248, 250, 255, 0.98);
  color: #24314c;
  font-size: 12px;
  line-height: 1.6;
}

.assistant-side-panel {
  padding: 16px 14px;
  background: rgba(247, 249, 253, 0.92);
  display: grid;
  align-content: start;
  gap: 14px;
}

.assistant-side-card,
.assistant-confirm-box {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(220, 226, 237, 0.92);
  background: rgba(255, 255, 255, 0.98);
  display: grid;
  gap: 6px;
}

.assistant-side-card strong,
.assistant-confirm-title {
  font-size: 13px;
  color: #1e2741;
  font-weight: 800;
}

.assistant-confirm-box {
  background:
    linear-gradient(180deg, rgba(36, 56, 103, 0.96) 0%, rgba(24, 42, 86, 0.96) 100%),
    rgba(255, 255, 255, 0.98);
}

.assistant-confirm-title,
.assistant-confirm-text {
  color: #fff;
}

.assistant-confirm-text {
  line-height: 1.6;
  color: rgba(233, 238, 247, 0.82);
}

.assistant-confirm-btn {
  height: 34px;
  border-radius: 10px;
  color: #24314b;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #d9ecff 0%, #ffffff 100%);
}

.device-ops-page {
  display: grid;
  gap: 8px;
}

.device-ops-shell {
  border-radius: 18px;
  border: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.device-ops-code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #95a2b7;
}

.device-ops-title {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  color: #151f39;
}

.device-ops-sub,
.device-ops-stat-label,
.device-ops-stat-foot,
.device-ops-card-sub {
  font-size: 11px;
  color: #97a3b7;
}

.device-ops-toolbar,
.device-ops-filters,
.device-ops-tools,
.device-ops-card-line {
  display: flex;
  align-items: center;
}

.device-ops-toolbar,
.device-ops-filters {
  justify-content: space-between;
  gap: 12px;
}

.device-ops-toolbar {
  align-items: flex-start;
}

.device-ops-stats {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.device-ops-stat-card {
  min-height: 88px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(222, 228, 239, 0.8);
  display: grid;
  align-content: start;
  gap: 6px;
}

.device-ops-stat-card.blue {
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.device-ops-stat-card.green {
  background: linear-gradient(180deg, rgba(241, 251, 244, 0.98), rgba(255, 255, 255, 0.98));
}

.device-ops-stat-card.gray {
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.device-ops-stat-card.purple {
  background: linear-gradient(180deg, rgba(248, 243, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.device-ops-stat-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #172039;
}

.device-ops-tools {
  gap: 10px;
}

.device-ops-tool-btn,
.device-filter-pill,
.device-select-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.device-ops-tool-btn {
  color: #7a869f;
  background: rgba(250, 251, 254, 0.98);
  border: 1px solid rgba(214, 221, 233, 0.9);
}

.device-ops-search {
  min-width: 210px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(214, 221, 233, 0.9);
  background: rgba(250, 251, 254, 0.98);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #afb8c8;
}

.device-ops-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #32405a;
}

.device-select-chip {
  color: #9aa5bb;
  background: rgba(250, 251, 254, 0.98);
  border: 1px solid rgba(219, 225, 236, 0.9);
}

.device-select-chip.active {
  color: #5f67ff;
  background: rgba(238, 241, 255, 0.98);
}

.device-filter-pills {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.device-filter-pill {
  color: #76829b;
  background: rgba(246, 248, 252, 0.98);
}

.device-filter-pill.active {
  color: #fff;
  background: linear-gradient(135deg, #4f75ff 0%, #5f68ff 100%);
}

.device-ops-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.device-ops-card {
  width: 100%;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(225, 230, 239, 0.95);
  background: rgba(255, 255, 255, 0.98);
  position: relative;
  text-align: left;
}

.device-ops-check {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 15px;
  height: 15px;
  border-radius: 6px;
  border: 1px solid rgba(236, 240, 247, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.device-ops-check.active {
  border-color: #6b63ff;
  background: linear-gradient(135deg, #6b63ff 0%, #5d6dff 100%);
}

.device-ops-phone {
  position: relative;
  aspect-ratio: 0.68;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #111827 0%, #060b14 100%);
}

.device-ops-phone::after {
  content: "";
  position: absolute;
  inset: 10px 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.device-ops-live-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: #ff5a5f;
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
}

.device-ops-scene {
  position: absolute;
  inset: 0;
}

.device-ops-scene.park {
  background:
    linear-gradient(180deg, rgba(98, 138, 207, 0.12), rgba(18, 28, 54, 0.1)),
    linear-gradient(180deg, #98c5f7 0%, #c8e0ff 34%, #4a7c4a 35%, #274d27 100%);
}

.device-ops-scene.park::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 15%;
  height: 27%;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(180deg, #f5f6f7 0%, #cfd4db 100%);
  box-shadow: 0 10px 20px rgba(14, 20, 32, 0.22);
}

.device-ops-scene.park::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, #b0bccf 0%, #8fa1ba 100%);
}

.device-ops-scene.shop {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.08), rgba(9, 11, 16, 0.04)),
    linear-gradient(180deg, #bac7dd 0%, #f1f6ff 36%, #d7dbe2 37%, #737a84 100%);
}

.device-ops-scene.shop::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 21%;
  height: 34%;
  background: linear-gradient(180deg, #9b6b43 0%, #5a3521 100%);
  border-radius: 10px 10px 4px 4px;
  box-shadow: 0 12px 22px rgba(11, 13, 18, 0.28);
}

.device-ops-scene.shop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.14) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(315deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(180deg, #2b313c 0%, #161a22 100%);
}

.device-ops-offline-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  color: rgba(233, 238, 247, 0.46);
  font-size: 11px;
  text-align: center;
}

.device-ops-offline-icon {
  width: 20px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(230, 235, 244, 0.28);
  justify-self: center;
  position: relative;
}

.device-ops-offline-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 999px;
  background: rgba(230, 235, 244, 0.22);
}

.device-ops-card-meta {
  padding: 10px 10px 12px;
  display: grid;
  gap: 4px;
}

.device-ops-card-line {
  justify-content: space-between;
  gap: 8px;
}

.device-ops-card-line strong {
  font-size: 11px;
  color: #1b2640;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-status-text {
  font-size: 10px;
  color: #a0a9ba;
}

.device-status-text.online {
  color: #56b976;
}

.private-page {
  display: grid;
  gap: 8px;
}

.private-board {
  border-radius: 18px;
  border: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.private-toolbar,
.private-toolbar-left,
.private-toolbar-right,
.private-chat-empty-head,
.private-chat-title-wrap,
.private-message-row,
.private-customer-line {
  display: flex;
  align-items: center;
}

.private-toolbar {
  min-height: 42px;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.private-toolbar-left,
.private-toolbar-right,
.private-chat-title-wrap,
.private-message-row {
  gap: 8px;
}

.private-toolbar-label,
.private-toolbar-chip,
.private-toolbar-link,
.private-toolbar-toggle {
  font-size: 11px;
}

.private-toolbar-label,
.private-toolbar-link {
  color: #8d97ab;
}

.private-toolbar-chip,
.private-toolbar-toggle,
.private-customer-tab,
.private-chat-back,
.private-auto-btn,
.private-auto-switch {
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
}

.private-toolbar-chip {
  color: #fff;
  background: linear-gradient(135deg, #4d7eff 0%, #5c68ff 100%);
}

.private-toolbar-link {
  background: transparent;
  padding: 0;
}

.private-toolbar-toggle,
.private-customer-tab,
.private-chat-back {
  color: #71809c;
  background: rgba(245, 247, 251, 0.98);
}

.private-toolbar-toggle.active {
  color: #1e2740;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(140, 153, 181, 0.16);
}

.private-layout {
  display: grid;
  grid-template-columns: 204px 246px 1fr;
  min-height: 548px;
}

.private-company-panel,
.private-customer-panel,
.private-chat-panel {
  min-width: 0;
}

.private-company-panel,
.private-customer-panel {
  border-right: 1px solid rgba(136, 152, 185, 0.12);
}

.private-company-panel {
  padding: 8px 8px;
  background: rgba(251, 252, 255, 0.98);
}

.private-company-card {
  position: relative;
  width: 100%;
  min-height: 88px;
  padding: 9px 10px 9px 8px;
  margin-bottom: 6px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: #fff;
  display: grid;
  grid-template-columns: 14px 44px 1fr;
  gap: 9px;
  text-align: left;
}

.private-company-card.active {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(165, 185, 230, 0.34);
}

.private-company-delete {
  align-self: start;
  color: #d0d6e2;
  font-size: 10px;
  line-height: 1;
  margin-top: 4px;
}

.private-company-badge,
.private-customer-avatar,
.private-chat-avatar-placeholder,
.private-message-side {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.private-company-badge.pink {
  background: linear-gradient(135deg, #e455c1 0%, #ff6f7d 100%);
}

.private-company-badge.blue {
  background: linear-gradient(135deg, #3f7dff 0%, #2957d8 100%);
}

.private-company-badge.orange {
  background: linear-gradient(135deg, #ff9b3d 0%, #ff6b24 100%);
}

.private-company-main {
  display: grid;
  gap: 4px;
  padding-right: 10px;
}

.private-company-main strong {
  font-size: 10.5px;
  line-height: 1.4;
  color: #1d2640;
}

.private-company-main span,
.private-chat-company,
.private-chat-empty-sub {
  font-size: 9.5px;
  line-height: 1.4;
  color: #97a2b8;
}

.private-unread-dot,
.private-customer-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ff4d6d;
}

.private-unread-dot {
  right: 10px;
  top: 16px;
}

.private-customer-panel {
  padding: 8px 8px 0;
  background: rgba(249, 251, 255, 0.96);
}

.private-customer-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.private-customer-tab.active {
  color: #5878c7;
  background: rgba(232, 240, 255, 0.98);
}

.private-search-wrap {
  margin-bottom: 6px;
}

.private-search-input {
  width: 100%;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(191, 201, 217, 0.4);
  background: #fff;
  color: #2d3850;
  font-size: 11px;
}

.private-customer-list {
  display: grid;
}

.private-customer-card {
  position: relative;
  width: 100%;
  padding: 8px 9px;
  border-radius: 12px;
  background: transparent;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  text-align: left;
}

.private-customer-card.active {
  background: rgba(241, 246, 255, 0.98);
}

.private-customer-avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.private-customer-avatar.ash {
  color: #707c93;
  background: rgba(233, 238, 247, 0.98);
}

.private-customer-avatar.violet {
  background: linear-gradient(135deg, #9792ff 0%, #706af5 100%);
}

.private-customer-avatar.gray {
  color: #707c93;
  background: rgba(232, 234, 241, 0.98);
}

.private-customer-avatar.sand {
  background: linear-gradient(135deg, #d5c09a 0%, #b79f78 100%);
}

.private-customer-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.private-customer-line {
  justify-content: space-between;
  gap: 8px;
}

.private-customer-line strong {
  font-size: 10.5px;
  color: #202941;
}

.private-customer-line span,
.private-customer-sub,
.private-customer-preview {
  font-size: 9.5px;
  color: #96a2b7;
}

.private-customer-sub,
.private-customer-preview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.private-customer-preview {
  color: #7d8aa4;
}

.private-customer-dot {
  right: 8px;
  top: 12px;
}

.private-chat-panel {
  background: rgba(253, 253, 255, 0.98);
  display: grid;
  grid-template-rows: auto 1fr;
}

.private-chat-empty {
  min-height: 100%;
  padding: 20px 20px;
  display: grid;
  align-content: start;
}

.private-chat-empty-head {
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.private-chat-avatar-placeholder {
  width: 28px;
  height: 28px;
  color: #6f7a91;
  background: rgba(236, 239, 246, 0.98);
  font-size: 12px;
}

.private-chat-empty-title,
.private-chat-header strong {
  font-size: 14px;
  color: #1c2540;
  font-weight: 800;
}

.private-chat-empty-tip {
  min-height: 350px;
  display: grid;
  place-items: center;
  color: #b1b9c8;
  font-size: 12px;
}

.private-chat-header {
  min-height: 62px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(136, 152, 185, 0.12);
}

.private-chat-body {
  padding: 12px 24px 12px 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.private-message-row {
  align-items: flex-start;
}

.private-message-side {
  width: 24px;
  height: 24px;
  color: #6f7a91;
  background: rgba(236, 239, 246, 0.98);
  font-size: 10px;
}

.private-message-content {
  display: grid;
  gap: 5px;
}

.private-message-time {
  width: fit-content;
  padding: 0 8px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #9aa4b8;
  background: rgba(245, 247, 251, 0.98);
  font-size: 10px;
}

.private-message-bubble {
  max-width: 500px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(246, 248, 252, 0.98);
  color: #415069;
  font-size: 11.5px;
  line-height: 1.55;
}

.private-auto-panel {
  padding: 18px 18px 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.private-auto-header,
.private-auto-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.private-auto-title {
  font-size: 16px;
  font-weight: 800;
  color: #1b2440;
}

.private-auto-sub,
.private-auto-card span,
.private-auto-card small,
.private-auto-rule-text {
  font-size: 11px;
  color: #95a1b8;
}

.private-auto-status {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.private-auto-status.active {
  color: #4f6dff;
  background: rgba(233, 240, 255, 0.98);
}

.private-auto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.private-auto-card,
.private-auto-rule {
  border-radius: 14px;
  border: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.private-auto-card {
  min-height: 96px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.private-auto-card strong,
.private-auto-rule-title {
  font-size: 14px;
  color: #1f2942;
  font-weight: 800;
}

.private-auto-rule-list {
  display: grid;
  gap: 10px;
}

.private-auto-rule {
  min-height: 72px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.private-auto-switch {
  min-width: 44px;
  color: #8794ab;
  background: rgba(245, 247, 251, 0.98);
  font-size: 11px;
}

.private-auto-switch.active {
  color: #fff;
  background: linear-gradient(135deg, #4a73ff 0%, #626bff 100%);
}

.private-auto-btn {
  min-width: 124px;
  font-size: 11px;
}

.private-auto-btn.ghost {
  color: #7e8ca3;
  background: rgba(245, 247, 251, 0.98);
}

.private-auto-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #4d7eff 0%, #6b68ff 100%);
}

.touch-list-header,
.touch-table-head,
.touch-table-row {
  display: grid;
  grid-template-columns: 1fr 260px 160px;
  gap: 14px;
  align-items: center;
}

.touch-list-header {
  margin-bottom: 18px;
}

.touch-table {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.touch-table-head {
  padding: 12px 14px;
  color: #8a95ab;
  background: rgba(245, 248, 253, 0.9);
  font-size: 12px;
}

.touch-table-row {
  padding: 14px;
  border-top: 1px solid rgba(136, 152, 185, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.modal-section-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a2338;
  margin-top: 2px;
}

.modal-tip-strip {
  background: linear-gradient(180deg, #edf4ff 0%, #eff6ff 100%);
  color: #95a1b8;
}

.touch-input-highlight {
  box-shadow: inset 0 0 0 1px rgba(92, 110, 255, 0.06);
}

.touch-upload-box {
  min-height: 96px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(246, 249, 255, 0.96)),
    repeating-linear-gradient(
      45deg,
      rgba(210, 219, 238, 0.08) 0,
      rgba(210, 219, 238, 0.08) 8px,
      transparent 8px,
      transparent 16px
    );
}

.upload-box.compact {
  padding: 18px 14px;
}

.touch-modal-form {
  gap: 8px;
}

.touch-modal-form .field {
  gap: 5px;
}

.touch-modal-form .field-label {
  font-size: 11px;
  color: #4d5a74;
}

.touch-modal-form .field-control {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
}

.touch-modal-form .dual {
  gap: 10px;
}

.subview-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subview-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(244, 247, 252, 0.95);
  color: #5b6781;
  border: 1px solid rgba(136, 152, 185, 0.14);
  font-size: 12px;
  font-weight: 600;
}

.subview-pill.active {
  color: #fff;
  background: linear-gradient(135deg, #5267ff 0%, #7a59ff 100%);
  box-shadow: 0 10px 22px rgba(86, 95, 255, 0.18);
}

.page-title-tight {
  font-size: 18px;
}

.section-top-gap {
  margin-top: 12px;
}

.chat-window-compact {
  min-height: 340px;
}

.floating-helper {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
}

.helper-chip {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4785ff 0%, #6454ff 100%);
  box-shadow: 0 18px 30px rgba(84, 97, 255, 0.3);
}

.footer-note {
  color: #8b95aa;
  font-size: 12px;
  text-align: center;
  padding: 8px 0 14px;
}

@media (max-width: 1280px) {
  .metric-grid,
  .card-grid.cols-4,
  .timeline,
  .reference-grid,
  .summary-grid,
  .split-grid.three,
  .message-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-layout,
  .ai-detail-layout,
  .private-layout,
  .digital-human-layout,
  .touch-list-shell,
  .project-layout,
  .publish-layout,
  .touch-list-header,
  .touch-table-head,
  .touch-table-row {
    grid-template-columns: 1fr;
  }

  .message-layout > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .toolbar,
  .metric-grid,
  .split-grid.two,
  .split-grid.three,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .timeline,
  .reference-grid,
  .summary-grid,
  .message-layout,
  .device-grid,
  .dual {
    grid-template-columns: 1fr;
  }

  .workspace-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .private-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }

  .main {
    padding: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
