:root {
  color: #082452;
  background: #f4f8fb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 1080px; background: #f4f8fb; }
body.media-preview-open { overflow: hidden; }
body.feedback-reply-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: #eef7fb; }
.login-card { width: 420px; padding: 42px; border: 1px solid #dcebf3; border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(29, 82, 120, .12); }
.brand-badge, .sidebar-brand span { display: grid; place-items: center; color: #082452; background: #f4dc84; font-weight: 800; }
.brand-badge { width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; font-size: 28px; }
.login-card h1 { margin: 0; font-size: 28px; }
.login-card > p { margin: 10px 0 30px; color: #718096; }
label { display: grid; gap: 8px; margin-bottom: 18px; color: #304b70; font-size: 14px; font-weight: 600; }
input, select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #cfe1ec; border-radius: 10px; outline: none; color: #082452; background: #fff; }
input:focus, select:focus { border-color: #42a5df; box-shadow: 0 0 0 3px rgba(66, 165, 223, .12); }
.primary-button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 12px; color: #082452; background: #f4dc84; font-weight: 700; }
.primary-button:hover { background: #efd36d; }
.login-card .primary-button { width: 100%; margin-top: 6px; }
.primary-button.compact { min-width: 128px; }
.form-error { min-height: 22px; padding-top: 8px; color: #d64c4c; font-size: 13px; }

.admin-layout { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; display: flex; flex-direction: column; padding: 28px 18px; color: #fff; background: #082452; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 28px; font-size: 21px; }
.sidebar-brand span { width: 38px; height: 38px; border-radius: 11px; }
.admin-identity { margin: -10px 5px 16px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.07); }
.admin-identity strong, .admin-identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-identity strong { color: #fff; font-size: 13px; }
.admin-identity span { margin-top: 4px; color: #9eb8d1; font-size: 11px; }
.nav-item, .logout-button { width: 100%; padding: 13px 16px; border: 0; border-radius: 10px; color: #bcd0e5; background: transparent; text-align: left; }
.nav-item.active { color: #082452; background: #f4dc84; font-weight: 700; }
.sidebar nav { display: grid; gap: 6px; overflow-y: auto; scrollbar-width: thin; }
.logout-button { margin-top: auto; }
.logout-button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.content { margin-left: 220px; padding: 38px 46px 64px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.page-header h1 { margin: 2px 0 8px; font-size: 30px; }
.page-header p { margin: 0; color: #718096; }
.eyebrow { color: #2999d9 !important; font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.summary-row { display: grid; grid-template-columns: repeat(2, 180px); gap: 16px; margin: 28px 0; }
.summary-row div { display: flex; align-items: baseline; gap: 10px; padding: 18px 20px; border: 1px solid #dcebf3; border-radius: 14px; background: #fff; }
.summary-row strong { color: #2999d9; font-size: 28px; }
.summary-row span { color: #718096; font-size: 14px; }
.dashboard-loading { margin-top: 24px; padding: 70px 20px; border: 1px solid #dcebf3; border-radius: 18px; color: #718096; background: #fff; text-align: center; }
.phone-summary-grid { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 14px; margin: 28px 0 18px; }
.phone-summary-grid article { position: relative; min-width: 0; overflow: hidden; padding: 20px; border: 1px solid #dcebf3; border-radius: 16px; background: linear-gradient(145deg,#fff 15%,#f4fbff); box-shadow: 0 10px 28px rgba(41,92,143,.07); }
.phone-summary-grid article::after { content: ''; position: absolute; right: -20px; bottom: -24px; width: 72px; height: 72px; border-radius: 50%; background: rgba(41,153,217,.08); }
.phone-summary-grid article:nth-child(4),.phone-summary-grid article:nth-child(5),.phone-summary-grid article:nth-child(6) { background: linear-gradient(145deg,#fffdf1,#fff); }
.phone-summary-grid span,.phone-summary-grid strong,.phone-summary-grid small { position: relative; z-index: 1; display: block; }
.phone-summary-grid span { color: #667b91; font-size: 13px; }
.phone-summary-grid strong { margin: 8px 0 7px; color: #168bea; font-size: 30px; font-variant-numeric: tabular-nums; }
.phone-summary-grid small { overflow: hidden; color: #94a2b0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.phone-history-notice { margin-bottom: 18px; padding: 13px 16px; border: 1px solid #f1df9a; border-radius: 12px; color: #80651a; background: #fffbed; font-size: 13px; line-height: 1.6; }
.phone-dashboard-grid { display: grid; grid-template-columns: minmax(340px,.8fr) minmax(560px,1.2fr); gap: 18px; }
.phone-dashboard-card { padding: 24px; border: 1px solid #dcebf3; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(41,92,143,.06); }
.phone-dashboard-card .section-heading { margin-bottom: 20px; }
.phone-source-list,.phone-ranking-list { display: grid; gap: 9px; }
.phone-ranking-list { max-height: 520px; overflow-y: auto; padding-right: 4px; }
.phone-source-row { display: grid; grid-template-columns: minmax(120px,1fr) minmax(100px,1.2fr) 58px; gap: 12px; align-items: center; min-height: 46px; padding: 9px 11px; border-radius: 11px; background: #f7fbfd; }
.phone-source-row > div:first-child { min-width: 0; }
.phone-source-row strong,.phone-source-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-source-row strong { color: #173a6c; font-size: 14px; }
.phone-source-row span { margin-top: 3px; color: #8a99a9; font-size: 11px; }
.phone-source-row b { color: #168bea; font-size: 13px; text-align: right; }
.phone-source-meter { height: 8px; overflow: hidden; border-radius: 999px; background: #e5f1f7; }
.phone-source-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#4cc1df,#168bea); }
.phone-ranking-head,.phone-ranking-row { display: grid; grid-template-columns: minmax(220px,1fr) 82px 82px 146px; gap: 12px; align-items: center; }
.phone-ranking-head { padding: 0 12px 8px; color: #8a99a9; font-size: 12px; }
.phone-ranking-row { min-height: 52px; padding: 10px 12px; border-radius: 11px; background: #f7fbfd; }
.phone-ranking-row > div { min-width: 0; display: flex; align-items: center; gap: 10px; }
.phone-ranking-row i { width: 24px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 8px; color: #8c6b0b; background: #fff1b8; font-size: 11px; font-style: normal; font-weight: 800; }
.phone-ranking-row strong { overflow: hidden; color: #173a6c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.phone-ranking-row b { color: #168bea; font-size: 14px; }
.phone-ranking-row span,.phone-ranking-row time { color: #6f8295; font-size: 12px; }
.phone-trend-card { margin-top: 18px; }
.phone-trend-tabs { display: flex; gap: 7px; }
.phone-trend-tabs button { min-width: 64px; height: 34px; padding: 0 13px; border: 1px solid #cfe1ec; border-radius: 9px; color: #657a90; background: #f8fbfd; }
.phone-trend-tabs button.active { color: #082452; border-color: #efd36d; background: #f4dc84; font-weight: 700; }
.phone-trend-chart { min-height: 190px; overflow-x: auto; display: flex; align-items: flex-end; gap: 12px; padding: 18px 6px 8px; border-bottom: 1px solid #dfeaf0; }
.phone-trend-item { min-width: 42px; flex: 1 0 42px; display: grid; justify-items: center; gap: 5px; }
.phone-trend-bars { height: 136px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.phone-trend-bars i { width: 10px; min-height: 0; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,#38b8e6,#168bea); }
.phone-trend-bars i:nth-child(2) { background: linear-gradient(180deg,#f4dc84,#efbd36); }
.phone-trend-item strong { color: #6f8295; font-size: 10px; font-weight: 600; white-space: nowrap; }
.phone-trend-item span { color: #173a6c; font-size: 11px; font-variant-numeric: tabular-nums; }
.phone-trend-legend { display: flex; justify-content: flex-end; gap: 18px; margin-top: 13px; color: #718096; font-size: 12px; }
.phone-trend-legend span { display: flex; align-items: center; gap: 6px; }
.phone-trend-legend i { width: 10px; height: 10px; border-radius: 3px; background: #168bea; }
.phone-trend-legend span:nth-child(2) i { background: #efbd36; }
.dashboard-empty { padding: 40px 12px; color: #8a99a9; text-align: center; font-size: 13px; }
/* 微信复制数据复用电话看板的卡片样式，明细只展示脱敏信息。 */
.wechat-copy-dashboard { margin-top: 34px; padding-top: 32px; border-top: 1px solid #dcebf3; }
.wechat-copy-loading { padding: 28px 20px; }
.wechat-copy-feedback { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0; padding: 12px 16px; border: 1px solid #f0caca; border-radius: 12px; color: #bb4141; background: #fff7f7; font-size: 13px; }
.wechat-copy-feedback .text-button { flex: none; }
.wechat-copy-ranking-card,.wechat-copy-events-card { margin-top: 18px; }
.wechat-copy-inline-loading { padding: 10px 0 16px; color: #718096; font-size: 13px; }
.wechat-copy-table-wrap { overflow-x: auto; }
.wechat-copy-event-head,.wechat-copy-event-row { display: grid; grid-template-columns: minmax(170px,.95fr) minmax(190px,1fr) minmax(190px,1.2fr) 165px; gap: 16px; align-items: center; min-width: 800px; }
.wechat-copy-event-head { padding: 0 12px 10px; color: #8a99a9; font-size: 12px; }
.wechat-copy-event-list { display: grid; gap: 9px; }
.wechat-copy-event-row { min-height: 82px; padding: 13px 12px; border-radius: 11px; background: #f7fbfd; }
.wechat-copy-event-row > div { min-width: 0; }
.wechat-copy-event-row strong,.wechat-copy-event-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wechat-copy-event-row strong { color: #173a6c; font-size: 14px; }
.wechat-copy-event-row small,.wechat-copy-event-row time { margin-top: 5px; color: #6f8295; font-size: 12px; }
.wechat-copy-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; color: #6f8295; font-size: 13px; }
.wechat-copy-pagination > div { display: flex; align-items: center; gap: 10px; }
.wechat-copy-dashboard button:disabled { cursor: default; opacity: .45; }
.banner-slot-tabs { display: flex; gap: 10px; margin-top: 28px; }
.banner-slot-tabs button { min-width: 118px; padding: 11px 18px; border: 1px solid #cfe1ec; border-radius: 10px; color: #46617d; background: #fff; }
.banner-slot-tabs button.active { color: #082452; border-color: #f0d26a; background: #f4dc84; font-weight: 700; }
.size-notice { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 14px 18px; border: 1px solid #dcebf3; border-radius: 12px; color: #718096; background: #f8fcff; font-size: 13px; }
.size-notice strong { color: #082452; }
.size-notice span:first-of-type { color: #1683c2; font-weight: 700; }
.editor-card, .list-card { margin-top: 22px; padding: 26px; border: 1px solid #dcebf3; border-radius: 18px; background: #fff; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0 0 6px; font-size: 20px; }
.section-heading p { margin: 0; color: #8290a3; font-size: 13px; }
.text-button { padding: 7px 10px; border: 0; color: #2999d9; background: transparent; }
.banner-form { display: grid; grid-template-columns: 380px 1fr; gap: 30px; margin-top: 24px; }
.image-field { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px; }
.image-preview { width: 100%; aspect-ratio: 2.07 / 1; overflow: hidden; display: grid; place-items: center; border: 1px dashed #b9d8e9; border-radius: 14px; color: #8290a3; background: #f7fbfd; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-button { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 40px; margin: 0; padding: 0 16px; border: 1px solid #79bedf; border-radius: 10px; color: #167fb9; background: #f4fbff; cursor: pointer; }
.upload-hint { align-self: center; color: #718096; font-size: 13px; }
.field-row { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: end; }
.switch-field { display: flex; align-items: center; gap: 10px; height: 44px; margin-bottom: 18px; }
.switch-field input { width: 18px; height: 18px; }
.banner-list { display: grid; gap: 14px; margin-top: 22px; }
.banner-row { display: grid; grid-template-columns: 240px minmax(260px, 1fr) 88px 84px 150px; gap: 18px; align-items: center; padding: 14px; border: 1px solid #e2edf3; border-radius: 14px; }
.banner-row img { width: 240px; aspect-ratio: 2.07 / 1; object-fit: cover; border-radius: 10px; background: #eef5f8; }
.banner-meta strong, .banner-meta span { display: block; }
.banner-meta strong { margin-bottom: 8px; }
.banner-meta span { max-width: 520px; overflow: hidden; color: #718096; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.status { padding: 6px 10px; border-radius: 999px; color: #177d52; background: #e8f7ef; text-align: center; font-size: 13px; }
.status.pending { color: #996500; background: #fff6d8; }
.status.off { color: #718096; background: #edf1f4; }
.row-actions { display: flex; justify-content: flex-end; gap: 8px; }
.row-actions button { padding: 8px 13px; border: 1px solid #cfe1ec; border-radius: 9px; color: #31506f; background: #fff; }
.row-actions .danger { color: #c74444; border-color: #f0cccc; }
.empty-state { padding: 56px 20px; color: #8290a3; text-align: center; }
.platform-editor-card { margin-top: 28px; padding: 28px; border: 1px solid #dcebf3; border-radius: 18px; background: #fff; }
.platform-page-tabs { display: flex; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid #e4edf3; }
.platform-page-tabs button { min-width: 132px; padding: 11px 18px; border: 1px solid #cfe1ec; border-radius: 10px; color: #46617d; background: #f8fbfd; }
.platform-page-tabs button.active { color: #082452; border-color: #f0d26a; background: #f4dc84; font-weight: 700; }
.platform-page-form { max-width: 920px; margin-top: 24px; }
.platform-page-form textarea { width: 100%; min-height: 360px; padding: 16px; resize: vertical; border: 1px solid #cfe1ec; border-radius: 12px; outline: none; color: #233b5e; background: #fff; line-height: 1.8; }
.platform-page-form.notice-form textarea { min-height: 150px; }
.platform-page-form textarea:focus { border-color: #42a5df; box-shadow: 0 0 0 3px rgba(66, 165, 223, .12); }
.editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.editor-footer span { color: #8290a3; font-size: 13px; }
.editor-footer .primary-button { min-width: 132px; }
.customer-service-card { max-width: 920px; margin: 0 0 24px; padding: 26px; border: 1px solid #dcebf3; border-radius: 18px; background: linear-gradient(125deg,#fffdf2,#fff 48%,#f0f9ff); box-shadow: 0 14px 34px rgba(41,92,143,.08); }
.customer-service-card .section-heading { margin: 0 0 20px; }
.customer-service-card .section-heading p { margin: 7px 0 0; color: #718096; font-size: 14px; }
.customer-service-card .feature-toggle { position: relative; }
.customer-service-card .feature-toggle input { width: 1px; height: 1px; padding: 0; }
.customer-service-card .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.customer-service-mode { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; margin: 0 0 24px; padding: 16px; border: 1px solid #dcebf3; border-radius: 12px; background: #f4faff; }
.customer-service-mode p { margin: 0; color: #718096; font-size: 13px; line-height: 1.6; }
.customer-service-mode .feature-toggle em { grid-column: 2; text-align: left; }
.customer-service-body { display: flex; align-items: center; gap: 26px; }
.customer-service-preview { width: 176px; height: 176px; display: grid; place-items: center; flex: none; overflow: hidden; border: 1px dashed #9ec9e3; border-radius: 16px; color: #8290a3; background: #fff; font-size: 13px; }
.customer-service-preview img { width: 100%; height: 100%; object-fit: contain; }
.customer-service-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.customer-service-actions p { margin: 0; color: #718096; font-size: 13px; }
.customer-service-actions .primary-button { min-width: 150px; }
.feature-settings-card { max-width: 920px; margin-top: 28px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; border: 1px solid #dcebf3; border-radius: 18px; background: linear-gradient(120deg, #fffdf1, #fff 48%, #f1faff); box-shadow: 0 14px 34px rgba(41, 92, 143, .08); }
.feature-settings-card strong { color: #082452; font-size: 20px; }
.feature-settings-card p { max-width: 650px; margin: 9px 0 12px; color: #718096; font-size: 14px; line-height: 1.7; }
.feature-status { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: #177d52; background: #e8f7ef; font-size: 13px; }
.feature-status.off { color: #9b6310; background: #fff4d3; }
.feature-toggle { margin: 0; display: grid; grid-template-columns: 48px auto; align-items: center; gap: 10px; cursor: pointer; }
.feature-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.feature-toggle span { position: relative; width: 48px; height: 27px; border-radius: 999px; background: #c8d3dc; transition: .2s ease; }
.feature-toggle span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(8, 36, 82, .22); transition: .2s ease; }
.feature-toggle input:checked + span { background: #2999d9; }
.feature-toggle input:checked + span::after { transform: translateX(21px); }
.feature-toggle em { grid-column: 1 / -1; color: #46617d; font-size: 13px; font-style: normal; text-align: center; }
.feature-settings-card > .form-error { grid-column: 1 / -1; }
.merchant-contact-heading { max-width: 920px; margin-top: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.merchant-contact-heading h2 { margin: 0; color: #082452; font-size: 22px; }
.merchant-contact-heading p { max-width: 680px; margin: 10px 0 0; color: #718096; font-size: 14px; line-height: 1.7; }
.merchant-contact-heading > button { flex: none; }
.merchant-contact-notice { max-width: 920px; margin: 14px 0 0; color: #627a91; font-size: 13px; line-height: 1.7; }
.merchant-contact-card { margin-top: 16px; background: linear-gradient(120deg, #f4faff, #fff 65%); }
.merchant-contact-card .merchant-contact-copy { min-width: 0; }
.merchant-contact-card .merchant-contact-field { max-width: 470px; margin-top: 18px; display: grid; gap: 9px; color: #173a6c; font-size: 14px; font-weight: 600; }
.merchant-contact-card .merchant-contact-field input { width: 100%; min-width: 0; box-sizing: border-box; font-size: 15px; }
.merchant-contact-card .merchant-contact-hint { display: block; max-width: 470px; margin-top: 8px; color: #718096; font-size: 12px; line-height: 1.7; }
.merchant-contact-card .feature-toggle { position: relative; }
.merchant-contact-card .feature-toggle input { width: 1px; height: 1px; padding: 0; }
.merchant-contact-card .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.merchant-contact-card .feature-toggle input:disabled + span { opacity: .5; }
@media (max-width: 900px) { .merchant-contact-heading { margin-top: 28px; align-items: flex-start; flex-direction: column; gap: 12px; } .merchant-contact-card .merchant-contact-field, .merchant-contact-card .merchant-contact-hint { max-width: none; } }
.integration-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.integration-card { padding: 26px; display: grid; gap: 16px; border: 1px solid #dcebf3; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(41, 92, 143, .08); }
.integration-card label:not(.feature-toggle) { display: grid; gap: 8px; color: #173a6c; font-size: 14px; font-weight: 700; }
.integration-card input,.integration-card select { height: 44px; padding: 0 13px; color: #082452; border: 1px solid #d9e6ee; border-radius: 10px; background: #fbfdff; }
.integration-card .section-heading { margin: 0 0 4px; align-items: flex-start; }
.integration-card .feature-toggle { flex: none; }
.config-hint { margin: 0; color: #718096; font-size: 13px; }
.official-account-grid { align-items: start; }
.official-check { display: flex !important; align-items: center; font-weight: 400 !important; line-height: 1.6; }
.official-check input { flex: none; width: 18px; height: 18px; }
.official-switch-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid #edf4f8; }
.official-switch-row strong { font-size: 15px; }
.official-switch-row p { margin: 5px 0 0; color: #718096; font-size: 13px; line-height: 1.5; }
.official-account-grid textarea { min-height: 138px; padding: 12px; border: 1px solid #d9e6ee; border-radius: 10px; resize: vertical; }
.official-account-grid input:disabled + span { opacity: .5; }
.official-account-grid .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.official-account-actions { flex-wrap: wrap; }
.official-account-actions .form-error { flex: 1 1 260px; }
.official-account-actions .danger-button { padding: 12px 18px; border: 1px solid #f0b5b5; border-radius: 10px; color: #b32b2b; background: #fff5f5; }
.config-notice { padding: 16px; color: #6d5a16; background: #fff8da; border-radius: 12px; font-size: 14px; line-height: 1.7; }
.integration-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.video-review-toolbar { margin: 24px 0; display: grid; grid-template-columns: minmax(220px, 1fr) 180px 180px auto; gap: 14px; align-items: end; }
.video-review-toolbar label { display: grid; gap: 7px; color: #173a6c; font-size: 13px; font-weight: 700; }
.video-review-toolbar input,.video-review-toolbar select { height: 44px; padding: 0 12px; border: 1px solid #dce7ee; border-radius: 10px; background: #fff; }
.video-review-list { display: grid; gap: 16px; }
.video-review-row { padding: 18px; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 20px; align-items: center; border: 1px solid #e2edf4; border-radius: 16px; background: #fff; }
.video-review-thumb { position: relative; width: 220px; height: 132px; overflow: hidden; padding: 0; border: 0; border-radius: 12px; color: #fff; background: #07182d; cursor: pointer; }
.video-review-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; background: #07182d; transition: transform .2s ease; }
.video-review-thumb:hover img { transform: scale(1.025); }
.video-review-thumb-placeholder { height: 100%; display: grid; place-items: center; color: #a9c2db; font-size: 34px; }
.video-review-thumb-action { position: absolute; left: 50%; bottom: 10px; min-width: 112px; padding: 7px 13px; border-radius: 999px; color: #fff; background: rgba(5, 25, 51, .82); font-size: 13px; font-weight: 700; text-align: center; transform: translateX(-50%); box-shadow: 0 4px 16px rgba(0,0,0,.22); }
.video-review-thumb:focus-visible { outline: 3px solid rgba(22,139,234,.4); outline-offset: 3px; }
.video-review-main { min-width: 0; }
.video-review-title { display: flex; align-items: center; gap: 12px; }
.video-review-title strong { color: #082452; font-size: 18px; }
.video-review-main p { margin: 7px 0 0; color: #6b7e91; font-size: 13px; line-height: 1.5; }
.video-review-main .reject-copy { color: #c24c3b; }
.review-actions { display: grid; gap: 10px; }
.review-actions button { min-width: 76px; height: 38px; border: 0; border-radius: 9px; color: #fff; background: #168bea; font-weight: 700; cursor: pointer; }
.review-actions button.danger { background: #fff0ed; color: #c54231; }
.review-actions button.delete { color: #fff; background: #c74444; border-color: #c74444; }
.review-list, .catalog-list { display: grid; gap: 12px; margin-top: 18px; }
.content-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-top: 24px; padding: 18px; border: 1px solid #dcebf3; border-radius: 14px; background: #fff; }
.content-filters label { width: 190px; margin: 0; }
.content-filters .content-search-field { flex: 1 1 230px; min-width: 0; max-width: 420px; }
.content-search-actions { display: flex; gap: 10px; }
.content-search-actions .primary-button { padding: 0 20px; }
.content-search-actions .text-button { min-height: 44px; padding: 0 16px; border: 1px solid #cfe1ec; border-radius: 10px; }
.feedback-toolbar { display: flex; align-items: end; gap: 12px; margin-top: 24px; padding: 18px; border: 1px solid #dcebf3; border-radius: 14px; background: #fff; }
.feedback-toolbar label { width: min(520px, 55vw); margin: 0; }
.feedback-toolbar label:first-child { flex: 1; min-width: 0; }
.feedback-toolbar #industrySuggestionFilters { width: 140px; flex-shrink: 0; }
.feedback-toolbar .primary-button { min-width: 96px; }
.feedback-toolbar > span { margin-left: auto; padding-bottom: 12px; color: #718096; font-size: 14px; }
.application-toolbar { display: flex; align-items: end; gap: 12px; margin-top: 24px; padding: 18px; border: 1px solid #dcebf3; border-radius: 14px; background: #fff; }
.application-toolbar label { width: min(560px, 58vw); margin: 0; }
.application-toolbar input { width: 100%; }
.application-toolbar button { min-height: 42px; }
.application-toolbar > span { margin-left: auto; padding-bottom: 12px; color: #718096; font-size: 14px; }
.feedback-list { display: grid; gap: 14px; margin-top: 2px; }
.feedback-row { display: grid; grid-template-columns: 210px minmax(360px, 1fr) 180px; gap: 24px; align-items: start; padding: 20px; border: 1px solid #e1ebf1; border-radius: 14px; background: linear-gradient(120deg, #fffdf2 0%, #fff 42%, #f5fbff 100%); }
.feedback-member strong, .feedback-member span { display: block; }
.feedback-member strong { margin-bottom: 8px; color: #1683c2; }
.feedback-member span { margin-top: 5px; overflow: hidden; color: #718096; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-content { color: #263d5c; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; white-space: normal; }
.feedback-row time { color: #8290a3; font-size: 13px; text-align: right; }
.feedback-actions { display: grid; justify-items: end; gap: 10px; }
.feedback-actions > span { color: #6a8195; font-size: 13px; }
.feedback-reply-modal { position: fixed; z-index: 1035; inset: 0; display: grid; place-items: center; padding: 24px; }
.feedback-reply-backdrop { position: absolute; inset: 0; background: rgba(18, 39, 60, .52); }
.feedback-reply-card { position: relative; width: min(680px, 100%); max-height: calc(100vh - 48px); margin: 0; overflow: auto; }
.feedback-reply-member { margin: 16px 0; color: #526a83; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.feedback-reply-original { margin: 18px 0; padding: 16px; border: 1px solid #e1ebf1; border-radius: 12px; background: #f6fafc; }
.feedback-reply-original h3, .feedback-reply-records h3 { margin: 0; font-size: 15px; }
.feedback-reply-original p { margin: 10px 0 0; color: #263d5c; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-reply-records { margin-bottom: 20px; }
.feedback-reply-history { display: grid; gap: 10px; }
.feedback-reply-item { padding: 14px 16px; border: 1px solid #dcebf3; border-radius: 12px; background: #f5fbff; }
.feedback-reply-item time, .feedback-reply-note { color: #718096; font-size: 12px; line-height: 1.7; }
.feedback-reply-item p { margin: 8px 0 0; color: #263d5c; line-height: 1.8; overflow-wrap: anywhere; }
.feedback-reply-card textarea { width: 100%; min-height: 110px; padding: 14px; border: 1px solid #cfe1ec; border-radius: 10px; color: #233b5e; background: #fff; line-height: 1.8; resize: vertical; }
.feedback-reply-card textarea:focus-visible { outline: 3px solid rgba(66, 165, 223, .25); outline-offset: 2px; border-color: #42a5df; }
.feedback-reply-card textarea:disabled { color: #617790; background: #f4f8fb; }
.feedback-reply-card button:disabled { opacity: .6; cursor: not-allowed; }
.feedback-reply-compose-note { display: flex; justify-content: space-between; gap: 12px; color: #718096; font-size: 12px; line-height: 1.7; }
.feedback-reply-compose-note p { margin: 0; }
.feedback-reply-compose-note span { flex-shrink: 0; }
.feedback-reply-success { color: #20844d; font-size: 13px; line-height: 1.7; }
.value-service-module .section-heading > div { min-width: 0; }
.value-service-module .section-heading > button { flex-shrink: 0; }
.value-service-status { color: #60788b; font-size: 13px; line-height: 1.7; }
.value-service-categories { display: grid; gap: 18px; margin-top: 20px; }
.value-service-category { min-width: 0; padding: 18px; border: 1px solid #dcebf3; border-radius: 12px; background: #f7fbfd; }
.value-service-category h3 { margin: 0; color: #20394c; font-size: 17px; }
.value-service-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.value-service-category-heading small { display: block; margin-top: 5px; color: #718096; }
.value-service-empty { margin: 0; color: #718096; font-size: 13px; line-height: 1.7; }
.value-service-card-list { display: grid; gap: 12px; }
.value-service-card { min-width: 0; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; padding: 18px; border: 1px solid #e1ebf1; border-radius: 12px; background: #fff; }
.value-service-qr { display: grid; align-content: start; justify-items: center; gap: 10px; }
.value-service-qr-preview { width: 150px; min-height: 150px; display: grid; place-items: center; padding: 8px; border: 1px solid #e1ebf1; border-radius: 10px; background: #fff; }
.value-service-qr-preview img { display: block; max-width: 100%; max-height: 230px; object-fit: contain; }
.value-service-qr-preview span { color: #8290a3; font-size: 13px; }
.value-service-card-fields { min-width: 0; }
.value-service-card-fields label { margin-bottom: 12px; }
.value-service-card textarea { width: 100%; min-height: 76px; padding: 12px; border: 1px solid #cfe1ec; border-radius: 10px; color: #233b5e; background: #fff; line-height: 1.7; resize: vertical; }
.value-service-card textarea:focus-visible { outline: 3px solid rgba(66, 165, 223, .25); outline-offset: 2px; border-color: #42a5df; }
.value-service-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.value-service-card-actions .danger-button { min-height: 36px; padding: 8px 14px; border: 1px solid #f0caca; border-radius: 8px; color: #b42318; background: #fff7f7; font-weight: 600; }
.value-service-upload-status { margin: 10px 0 0; color: #20844d; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.value-service-upload-status[data-error="true"] { color: #b42318; }
.value-service-card button:disabled, .value-service-category button:disabled, .value-service-footer button:disabled { opacity: .55; cursor: not-allowed; }
.value-service-card input:disabled, .value-service-card textarea:disabled { color: #617790; background: #f4f8fb; }
.feedback-tabs { display: flex; gap: 8px; margin-top: 22px; }
.feedback-tabs button { padding: 10px 18px; border: 1px solid #dbe7ef; border-radius: 10px; background: #fff; color: #596f83; cursor: pointer; }
.feedback-tabs button.active { border-color: #217bd2; background: #eaf4ff; color: #1769b3; }
.industry-guide { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: #eef6fc; }
.industry-guide p { flex: 1; margin: 0; color: #596f83; font-size: 13px; line-height: 1.8; }
.industry-guide button { flex-shrink: 0; }
.industry-suggestion-content { min-width: 0; overflow-wrap: anywhere; }
.industry-suggestion-content > strong { display: block; color: #20394c; }
.industry-suggestion-content p { margin: 9px 0; color: #596f83; font-size: 13px; line-height: 1.7; }
.industry-suggestion-content > span + span { margin-left: 10px; color: #596f83; font-size: 13px; }
.industry-suggestion-actions { display: grid; justify-items: end; gap: 12px; }
.industry-editor-modal { position: fixed; z-index: 1030; inset: 0; display: grid; place-items: center; padding: 24px; }
.industry-editor-backdrop { position: absolute; inset: 0; background: rgba(18, 39, 60, .52); }
.industry-editor-card { position: relative; width: min(580px, 100%); max-height: calc(100vh - 48px); margin: 0; overflow: auto; }
.industry-editor-description { margin: 16px 0; color: #405c73; overflow-wrap: anywhere; line-height: 1.7; }
.industry-editor-hint { color: #6a8195; font-size: 13px; line-height: 1.8; }
.industry-editor-catalog { margin: 8px 0 22px; padding: 14px; border-radius: 10px; background: #f2f7fb; }
.industry-editor-catalog p { margin: 0 0 10px; color: #6a8195; font-size: 13px; line-height: 1.8; }
.industry-editor-catalog button + button { margin-left: 8px; }
.catalog-actions button:disabled { opacity: .5; cursor: not-allowed; }
.review-row { display: grid; grid-template-columns: minmax(220px,1.4fr) 112px minmax(170px,1fr) 110px minmax(320px,1.25fr); gap: 18px; align-items: center; padding: 18px; border: 1px solid #e1ebf1; border-radius: 14px; }
.review-main strong, .review-main span { display: block; }
.review-main span, .review-meta { margin-top: 6px; color: #718096; font-size: 13px; line-height: 1.6; }
.review-main strong { display: flex; align-items: center; gap: 8px; }
.review-kind { padding: 3px 8px; border-radius: 999px; color: #087fcf; background: #e8f6ff; font-size: 11px; font-style: normal; font-weight: 600; }
.review-main .review-current { color: #9a6a00; }
.review-role { display: grid; justify-items: start; gap: 7px; }
.review-role > span { color: #8290a3; font-size: 12px; }
.review-role > strong { min-width: 68px; padding: 6px 12px; border-radius: 999px; color: #167fb9; background: #e9f7ff; text-align: center; font-size: 13px; }
.review-role > strong.buyer { color: #946600; background: #fff4c9; }
.review-role > strong.logistics { color: #087fcf; background: #e5f5ff; }
.content-review-row { grid-template-columns: minmax(500px, 1.6fr) minmax(250px, .8fr) minmax(100px, .36fr) minmax(230px, .7fr); gap: 22px; }
.content-review-summary { min-width: 0; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(190px, .9fr); gap: 18px; align-items: center; }
.content-category { display: grid; gap: 6px; }
.content-category span { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 7px; }
.content-category b { color: #8290a3; font-size: 12px; font-weight: 500; }
.content-category em { overflow: hidden; padding: 4px 8px; border-radius: 7px; color: #167fb9; background: #edf8fe; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.content-review-meta { min-width: 0; display: grid; gap: 7px; }
.content-review-meta span { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: start; }
.content-review-meta b { color: #8290a3; font-size: 12px; font-weight: 500; }
.content-review-meta em { min-width: 0; color: #526a83; font-size: 12px; font-style: normal; overflow-wrap: anywhere; }
.content-review-meta p { margin: 2px 0 0; color: #526a83; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.review-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.review-actions button, .catalog-row button { padding: 8px 12px; border: 1px solid #cfe1ec; border-radius: 9px; color: #31506f; background: #fff; }
.review-actions button:disabled { color: #8290a3; border-color: #dce6ec; background: #f4f7f9; cursor: not-allowed; }
.review-actions .approve { color: #177d52; border-color: #bde5d1; background: #effaf4; }
.review-actions .approve:disabled { color: #6f9a85; border-color: #d5e9df; background: #f2f8f5; }
.review-actions .recommend { color: #167fb9; border-color: #b8ddf0; background: #f2fbff; }
.review-actions .recommend.active { color: #946600; border-color: #efd57a; background: #fff8dc; }
.review-actions .video-slots { color: #75520b; border-color: #e8cc72; background: linear-gradient(135deg,#fffaf0,#fff0bd); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.review-actions .reject, .catalog-row .danger { color: #c74444; border-color: #f0cccc; background: #fff7f7; }
.catalog-layout { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.catalog-form { position: sticky; top: 24px; }
.catalog-form h2 { margin: 0 0 22px; font-size: 20px; }
.catalog-form .switch-field { margin: 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.catalog-list-card { margin-top: 22px; }
.catalog-row { display: grid; grid-template-columns: 78px 1fr 80px 78px 145px; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #e1ebf1; border-radius: 12px; }
.catalog-kind { color: #2188c6; font-size: 13px; font-weight: 700; }
.catalog-name { font-weight: 700; }
.catalog-actions { display: flex; justify-content: flex-end; gap: 7px; }
.user-summary { grid-template-columns: repeat(3, 180px); }
.user-editor { margin-bottom: 22px; }
.user-form { display: grid; grid-template-columns: minmax(300px, 1.5fr) 180px minmax(220px, 1fr); gap: 18px; align-items: end; margin-top: 22px; }
.user-form label { margin: 0; }
.user-form input[readonly] { color: #718096; background: #edf3f6; cursor: not-allowed; }
.user-form-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 20px; }
.user-form-actions .form-error { flex: 1; }
.user-toolbar { display: flex; align-items: end; gap: 12px; margin-top: 22px; padding: 18px; border: 1px solid #dcebf3; border-radius: 14px; background: #fff; }
.user-toolbar label { width: min(440px, 45vw); margin: 0; }
.user-toolbar label:nth-child(2) { width: 160px; }
.user-list-card { margin-top: 14px; overflow: hidden; }
.user-table-head, .user-row { display: grid; grid-template-columns: minmax(160px, 1.05fr) 140px minmax(210px, 1.45fr) 92px 138px; gap: 12px; align-items: center; }
.user-table-head { padding: 0 16px 12px; color: #8290a3; font-size: 13px; }
.user-list { display: grid; gap: 10px; }
.user-row { padding: 16px; border: 1px solid #e1ebf1; border-radius: 13px; background: #fff; }
.user-identity strong, .user-identity span, .user-identity time, .user-phone span { display: block; }
.user-identity strong { color: #1683c2; }
.user-identity span { margin-top: 5px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.user-identity time, .user-phone span { margin-top: 5px; color: #8290a3; font-size: 12px; }
.user-phone { color: #304b70; font-size: 14px; }
.user-phone strong { color: #8290a3; font-size: 12px; }
.user-openid { min-width: 0; display: flex; align-items: center; gap: 8px; }
.user-openid code { min-width: 0; flex: 1; overflow: hidden; color: #31506f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-openid button, .user-actions button { padding: 7px 10px; border: 1px solid #cfe1ec; border-radius: 8px; color: #31506f; background: #fff; }
.user-actions { display: flex; justify-content: flex-end; gap: 7px; }
.user-actions .danger { color: #c74444; border-color: #f0cccc; background: #fff7f7; }
.user-actions .restore { color: #177d52; border-color: #bde5d1; background: #effaf4; }
.user-pagination, .list-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 20px; color: #718096; font-size: 13px; }
.user-pagination button:disabled, .list-pagination button:disabled { color: #b7c1cb; cursor: not-allowed; }
.toast { position: fixed; left: 50%; bottom: 42px; z-index: 20; padding: 12px 22px; border-radius: 10px; color: #fff; background: rgba(8, 36, 82, .92); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.video-slot-modal { position: fixed; z-index: 1020; inset: 0; display: grid; place-items: center; padding: 28px; }
.video-slot-backdrop { position: absolute; inset: 0; background: rgba(4,16,37,.72); backdrop-filter: blur(5px); }
.video-slot-card { position: relative; z-index: 1; width: min(520px,100%); overflow: hidden; border: 1px solid rgba(255,226,145,.76); border-radius: 22px; background: #fff; box-shadow: 0 28px 90px rgba(3,17,39,.46); }
.video-slot-card header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px 17px 26px; color: #fff4c4; background: linear-gradient(135deg,#121c34,#35486f 52%,#172039); }
.video-slot-card header span { color: #e7c96d; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.video-slot-card header h2 { margin: 5px 0 0; color: #fff8df; font-size: 23px; }
.video-slot-card header button { width: 40px; height: 40px; border: 1px solid rgba(255,238,181,.32); border-radius: 50%; color: #fff4c4; background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; }
.video-slot-body { padding: 26px 30px 18px; }
.video-slot-body > p:first-child { margin: 0 0 20px; color: #38516f; font-size: 15px; font-weight: 700; text-align: center; }
.video-slot-premium-label { width: fit-content; margin: 0 auto 20px; display: grid; justify-items: center; gap: 4px; }
.video-slot-premium-label span { color: #b68b29; font-size: 10px; font-weight: 800; letter-spacing: 4px; }
.video-slot-premium-label strong { color: #172441; font-size: 18px; }
.video-slot-stepper { display: grid; grid-template-columns: 58px minmax(150px,210px) 58px; justify-content: center; gap: 12px; }
.video-slot-stepper > button { height: 58px; border: 1px solid #dfc66e; border-radius: 16px; color: #72500c; background: linear-gradient(145deg,#fffdf6,#ffedaf); font-size: 28px; font-weight: 700; }
.video-slot-stepper label { position: relative; margin: 0; }
.video-slot-stepper input { height: 58px; padding: 0 48px 0 20px; border-color: #d8bc60; border-radius: 16px; color: #172441; background: #fffaf0; font-size: 26px; font-weight: 800; text-align: center; }
.video-slot-stepper label span { position: absolute; top: 50%; right: 18px; color: #94702b; font-size: 14px; transform: translateY(-50%); }
.video-slot-help { margin: 22px 0 0; padding: 14px 16px; color: #748399; background: #f5f8fb; border-radius: 12px; font-size: 12px; line-height: 1.7; }
.video-slot-card footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 30px 24px; }
.video-slot-card footer button { min-width: 126px; height: 44px; border-radius: 12px; }
.video-slot-card .secondary-action { color: #526a83; border: 1px solid #cfdee8; background: #fff; }
.media-preview-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; }
.media-preview-backdrop { position: absolute; inset: 0; background: rgba(5, 19, 41, .68); backdrop-filter: blur(3px); }
.media-preview-card { position: relative; z-index: 1; width: min(960px, 100%); max-height: min(860px, calc(100vh - 56px)); overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(3, 17, 39, .42); }
.media-preview-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px 12px 22px; border-bottom: 1px solid #e4edf3; }
.media-preview-header h2 { margin: 0; color: #082452; font-size: 18px; }
.media-preview-header p { min-height: 18px; margin: 5px 0 0; color: #7b8998; font-size: 13px; }
.media-preview-actions { display: flex; align-items: center; gap: 14px; }
.media-preview-tools { display: flex; align-items: center; gap: 8px; }
.media-preview-tools button { min-width: 76px; height: 38px; padding: 0 13px; border: 1px solid #cfe1ed; border-radius: 9px; color: #245778; background: #f3f9fc; font-size: 14px; font-weight: 600; }
.media-preview-tools button:hover { color: #0879c0; border-color: #73bce8; background: #e9f6fd; }
.media-preview-close { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; color: #46617d; background: #edf5fa; font-size: 28px; line-height: 1; }
.media-preview-close:hover { color: #082452; background: #dfeef7; }
.media-preview-body { position: relative; height: calc(min(860px, 100vh - 56px) - 90px); min-height: 280px; max-height: calc(min(860px, 100vh - 56px) - 66px); padding: 20px 72px; box-sizing: border-box; background: #f5f8fb; }
.media-preview-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.media-preview-body img { display: block; max-width: none; max-height: none; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: 0 8px 30px rgba(19, 63, 98,.15); transition: transform .18s ease; }
.media-preview-switch { position: absolute; top: 50%; width: 44px; height: 58px; border: 0; border-radius: 12px; color: #fff; background: rgba(8, 36, 82, .72); font-size: 38px; line-height: 1; transform: translateY(-50%); }
.media-preview-switch:hover { background: #082452; }
.media-preview-switch.previous { left: 16px; }
.media-preview-switch.next { right: 16px; }
.video-preview-modal { position: fixed; z-index: 1010; inset: 0; display: grid; place-items: center; padding: 28px; }
.video-preview-backdrop { position: absolute; inset: 0; background: rgba(3, 12, 26, .82); backdrop-filter: blur(4px); }
.video-preview-card { position: relative; z-index: 1; width: min(1180px, 100%); height: min(860px, calc(100vh - 56px)); min-height: 420px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: #050d18; box-shadow: 0 24px 90px rgba(0,0,0,.52); }
.video-preview-header { min-height: 66px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px 12px 22px; border-bottom: 1px solid #dfe8ef; background: #fff; }
.video-preview-header h2 { margin: 0; color: #082452; font-size: 18px; }
.video-preview-header p { min-height: 18px; margin: 5px 0 0; color: #718096; font-size: 13px; }
.video-preview-close { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; color: #46617d; background: #edf5fa; font-size: 28px; line-height: 1; cursor: pointer; }
.video-preview-close:hover { color: #082452; background: #dfeef7; }
.video-preview-stage { min-height: 0; flex: 1; display: grid; place-items: center; padding: 18px; background: #050d18; }
.video-preview-stage video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; background: #000; box-shadow: 0 10px 38px rgba(0,0,0,.42); }
.read-only-label { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 11px; border-radius: 999px; color: #718096; background: #edf3f6; font-size: 12px; }
.admin-editor { margin-bottom: 22px; }
.admin-form { margin-top: 22px; }
.admin-basic-fields { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 16px; }
.admin-basic-fields label { margin-bottom: 0; }
.permission-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0 14px; }
.permission-heading strong, .permission-heading span { display: block; }
.permission-heading span { margin-top: 5px; color: #8290a3; font-size: 12px; }
.permission-heading > div:last-child { display: flex; gap: 8px; }
.permission-heading button { padding: 7px 11px; border: 1px solid #cfe1ec; border-radius: 8px; color: #31506f; background: #f8fbfd; }
.permission-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 12px; padding: 18px; border: 1px solid #dcebf3; border-radius: 14px; background: #f8fbfd; }
.permission-grid label { display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; }
.permission-grid select { height: 38px; padding: 0 9px; }
.admin-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.admin-form-footer .form-error { flex: 1; }
.admin-list { display: grid; gap: 10px; margin-top: 12px; }
.admin-table-head, .admin-row { display: grid; grid-template-columns: minmax(160px,.85fr) minmax(360px,2fr) 160px 84px 220px; gap: 14px; align-items: center; }
.admin-table-head { padding: 0 15px 10px; color: #8290a3; font-size: 13px; }
.admin-row { padding: 16px; border: 1px solid #e1ebf1; border-radius: 13px; }
.admin-account strong, .admin-account span, .admin-account time { display: block; }
.admin-account span { margin-top: 5px; color: #1683c2; font-size: 13px; }
.admin-account time, .admin-last-login { margin-top: 5px; color: #8290a3; font-size: 12px; }
.permission-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.permission-chip { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #46617d; background: #edf3f6; font-size: 11px; }
.permission-chip.manage { color: #167fb9; background: #e8f6ff; }
.permission-chip.off { color: #9a6a00; background: #fff6d8; }
.admin-actions { display: flex; justify-content: flex-end; gap: 7px; }
.admin-actions button { padding: 8px 10px; border: 1px solid #cfe1ec; border-radius: 8px; color: #31506f; background: #fff; }
.audit-list-card { overflow: hidden; }
.audit-table-head, .audit-row { display: grid; grid-template-columns: 150px minmax(180px,1fr) minmax(220px,1.25fr) 150px 180px; gap: 14px; align-items: center; }
.audit-table-head { padding: 0 15px 10px; color: #8290a3; font-size: 13px; }
.audit-log-list { display: grid; gap: 8px; }
.audit-row { padding: 14px 15px; border: 1px solid #e1ebf1; border-radius: 12px; font-size: 13px; }
.audit-row strong { color: #1683c2; }
.audit-row span { min-width: 0; overflow-wrap: anywhere; }
.audit-row small { display: block; margin-top: 4px; color: #8290a3; }
.audit-row code, .audit-row time { color: #718096; font-size: 12px; }

@media (max-width: 1240px) {
  .content { padding-right: 28px; padding-left: 28px; }
  .banner-row { grid-template-columns: 200px minmax(230px, 1fr) 70px 74px 140px; gap: 12px; }
  .banner-row img { width: 200px; }
  .content-review-row { grid-template-columns: minmax(330px, 1.45fr) minmax(210px, .85fr) minmax(90px, .35fr) minmax(180px, .7fr); gap: 14px; }
  .content-review-summary { grid-template-columns: 1fr; gap: 10px; }
  .content-category { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-category span { display: block; }
  .content-category b { display: block; margin-bottom: 4px; }
  .content-category em { display: block; }
  .user-form { grid-template-columns: minmax(260px, 1.4fr) 150px minmax(200px, 1fr); }
  .user-table-head, .user-row { grid-template-columns: minmax(150px, 1fr) 130px minmax(190px, 1.25fr) 82px 130px; gap: 9px; }
  .admin-basic-fields, .permission-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .admin-table-head, .admin-row { grid-template-columns: minmax(150px,.8fr) minmax(300px,1.6fr) 130px 78px 190px; gap: 10px; }
}

.invitation-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.invitation-filters { margin-top: 18px; padding: 16px; display: grid; grid-template-columns: minmax(200px,1.3fr) repeat(3,minmax(145px,.8fr)) auto auto; gap: 12px; align-items: end; border: 1px solid #dfeaf1; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(15,59,101,.05); }
.invitation-filters label { display: grid; gap: 7px; color: #52677e; font-size: 13px; font-weight: 700; }
.invitation-filters input, .invitation-filters select { width: 100%; height: 42px; padding: 0 12px; box-sizing: border-box; color: #17385e; border: 1px solid #d8e5ed; border-radius: 9px; background: #fbfdff; }
.invitation-filters button { height: 42px; }
.invitation-card { overflow-x: auto; }
.inviter-table-head, .inviter-row { min-width: 830px; display: grid; grid-template-columns: minmax(220px,1.5fr) repeat(4,minmax(110px,.7fr)); gap: 14px; align-items: center; }
.invitation-table-head, .invitation-row { min-width: 920px; display: grid; grid-template-columns: minmax(190px,1.2fr) minmax(145px,.85fr) minmax(190px,1.2fr) 100px minmax(220px,1.3fr); gap: 14px; align-items: center; }
.inviter-table-head, .invitation-table-head { padding: 0 16px 12px; color: #8290a3; font-size: 13px; }
.inviter-list, .invitation-list { display: grid; gap: 10px; }
.inviter-row, .invitation-row { padding: 16px; box-sizing: border-box; border: 1px solid #e1ebf1; border-radius: 13px; background: #fff; }
.inviter-row > div, .invitation-row > div { min-width: 0; display: grid; gap: 5px; color: #54687f; font-size: 13px; }
.inviter-row strong, .invitation-row strong { overflow: hidden; color: #12355d; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.inviter-row span, .invitation-row span, .inviter-row small, .invitation-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inviter-row small, .invitation-row small { color: #8a98a8; font-size: 12px; }
.invitation-row .status { display: inline-flex; width: fit-content; min-width: 76px; justify-content: center; }

@media (max-width: 900px) {
  html { overflow-x: hidden; }
  body { min-width: 0; overflow-x: hidden; }
  button, input, select, textarea { font-size: 16px; }

  .login-page { padding: 18px; }
  .login-card { width: min(100%, 420px); padding: 28px 22px; border-radius: 20px; }
  .brand-badge { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; font-size: 24px; }
  .login-card h1 { font-size: 24px; }
  .login-card > p { margin-bottom: 24px; }

  .admin-layout { min-width: 0; }
  .sidebar {
    position: sticky;
    inset: auto;
    top: 0;
    z-index: 30;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: max(10px, env(safe-area-inset-top)) 12px 9px;
    box-shadow: 0 6px 22px rgba(8, 36, 82, .18);
  }
  .sidebar-brand { min-width: 0; gap: 9px; padding: 0; font-size: 17px; }
  .sidebar-brand span { width: 32px; height: 32px; border-radius: 9px; }
  .admin-identity { grid-row: 2; grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 7px 10px; }
  .admin-identity span { margin-top: 0; }
  .sidebar nav {
    grid-row: 3;
    grid-column: 1 / -1;
    display: flex;
    gap: 7px;
    margin: 0 -2px;
    padding: 9px 2px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; width: auto; min-height: 40px; padding: 9px 13px; color: #d9e7f4; text-align: center; white-space: nowrap; }
  .logout-button { width: auto; min-height: 32px; margin: 0; padding: 5px 9px; color: #d9e7f4; text-align: center; }
  .logout-button { grid-row: 1; grid-column: 2; }

  .content { min-width: 0; margin-left: 0; padding: 20px 12px calc(36px + env(safe-area-inset-bottom)); }
  .content > section { min-width: 0; }
  .page-header { align-items: stretch; flex-direction: column; gap: 14px; }
  .page-header h1 { margin-top: 0; font-size: 24px; line-height: 1.25; }
  .page-header p:not(.eyebrow) { line-height: 1.6; }
  .page-header .primary-button { width: 100%; }
  .page-header .text-button { align-self: flex-end; min-height: 40px; }
  .eyebrow { letter-spacing: 1px; }

  .banner-slot-tabs, .platform-page-tabs {
    gap: 8px;
    margin-right: -12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .banner-slot-tabs::-webkit-scrollbar, .platform-page-tabs::-webkit-scrollbar { display: none; }
  .banner-slot-tabs button, .platform-page-tabs button { flex: 0 0 auto; min-width: auto; min-height: 42px; padding: 9px 14px; white-space: nowrap; }
  .size-notice { align-items: flex-start; flex-direction: column; gap: 6px; padding: 13px 14px; line-height: 1.5; }

  .summary-row, .user-summary, .invitation-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
  .summary-row div { min-width: 0; gap: 6px; padding: 14px 12px; }
  .summary-row strong { font-size: 23px; }
  .summary-row span { font-size: 12px; }
  .user-summary div:last-child { grid-column: 1 / -1; }
  .phone-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
  .phone-summary-grid article { padding: 16px 14px; }
  .phone-summary-grid strong { font-size: 26px; }
  .phone-dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .phone-dashboard-card { padding: 16px 13px; }
  .phone-ranking-card { overflow-x: auto; }
  .phone-ranking-head,.phone-ranking-row { min-width: 620px; }
  .phone-source-row { grid-template-columns: minmax(105px,1fr) minmax(80px,1fr) 52px; gap: 8px; }
  .phone-trend-card .section-heading { align-items: stretch; flex-direction: column; }
  .phone-trend-tabs button { flex: 1; }
  .phone-trend-chart { margin-right: -6px; }
  .wechat-copy-dashboard { margin-top: 24px; padding-top: 24px; }
  .wechat-copy-pagination { align-items: flex-start; flex-direction: column; gap: 8px; }
  .wechat-copy-pagination > div { justify-content: space-between; width: 100%; }

  .editor-card, .list-card, .platform-editor-card { margin-top: 16px; padding: 16px; border-radius: 15px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading .text-button { flex: 0 0 auto; min-height: 40px; }
  .banner-form { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 18px; }
  .image-field, .fields { min-width: 0; }
  .upload-button { min-height: 44px; }
  .upload-hint { width: 100%; line-height: 1.5; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .switch-field { min-height: 44px; height: auto; }
  .fields > .primary-button { width: 100%; }

  .banner-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .banner-row img { grid-column: 1 / -1; width: 100%; }
  .banner-meta { min-width: 0; grid-column: 1 / -1; }
  .banner-meta span { max-width: 100%; }
  .banner-row .status { min-width: 72px; }
  .row-actions { grid-column: 1 / -1; }
  .row-actions button { flex: 1; min-height: 42px; }

  .platform-editor-card { padding: 16px; }
  .platform-page-tabs { margin-top: 0; padding-bottom: 16px; }
  .platform-page-form { max-width: none; margin-top: 18px; }
  .platform-page-form textarea { min-height: 320px; }
  .editor-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .editor-footer .primary-button { width: 100%; }
  .feature-settings-card { margin-top: 16px; padding: 18px 16px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .customer-service-card { padding: 20px 16px; }
  .customer-service-body { align-items: flex-start; flex-direction: column; }
  .integration-settings-grid { grid-template-columns: minmax(0, 1fr); }
  .integration-actions { grid-column: 1; align-items: stretch; flex-direction: column; }
  .video-review-toolbar { grid-template-columns: minmax(0, 1fr); }
  .video-review-row { grid-template-columns: minmax(0, 1fr); }
  .video-review-thumb { width: 100%; height: 220px; }
  .review-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-settings-card .primary-button { width: 100%; }
  .feature-toggle { justify-self: start; grid-template-columns: 48px auto; }
  .feature-toggle em { grid-column: 2; text-align: left; }

  .content-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; padding: 14px; }
  .content-filters label { width: 100%; }
  .content-filters .content-search-field { max-width: none; }
  .content-search-actions button { flex: 1; }
  .feedback-toolbar, .user-toolbar, .application-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding: 14px; }
  .feedback-toolbar label, .user-toolbar label, .user-toolbar label:nth-child(2), .application-toolbar label { width: 100%; }
  .feedback-toolbar #industrySuggestionFilters { width: 100%; }
  .feedback-toolbar label:first-child, .user-toolbar label:first-child, .application-toolbar label:first-child { grid-column: 1 / -1; }
  .feedback-toolbar .primary-button, .user-toolbar .primary-button, .application-toolbar .primary-button { width: 100%; }
  .feedback-toolbar > span, .application-toolbar > span { align-self: center; margin-left: 0; padding: 0; text-align: right; }

  .feedback-row, .review-row, .content-review-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px; }
  .feedback-row time { text-align: left; }
  .feedback-actions { justify-items: start; }
  .feedback-reply-modal { padding: 14px; }
  .feedback-reply-card { max-height: calc(100vh - 28px); padding: 20px; }
  .value-service-category { padding: 14px; }
  .value-service-card { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .value-service-qr { justify-items: start; }
  .value-service-category-heading { align-items: flex-start; }
  .industry-guide { flex-direction: column; align-items: flex-start; }
  .industry-suggestion-actions { justify-items: start; }
  .industry-editor-modal { padding: 14px; }
  .industry-editor-card { max-height: calc(100vh - 28px); }
  .review-meta { margin-top: 0; }
  .review-role { justify-items: start; }
  .content-review-summary { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .content-category { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .content-category span { display: block; }
  .content-category b { display: block; margin-bottom: 4px; }
  .content-category em { display: block; padding: 5px 6px; text-align: center; }
  .review-row > .status { justify-self: start; min-width: 82px; }
  .review-actions { justify-content: flex-start; flex-wrap: wrap; }
  .review-actions button { flex: 1 1 74px; min-height: 42px; }

  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .catalog-form { position: static; }
  .catalog-list-card { margin-top: 16px; }
  .catalog-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px; }
  .catalog-kind, .catalog-name { min-width: 0; }
  .catalog-row > .status { min-width: 72px; }
  .catalog-actions { grid-column: 1 / -1; }
  .catalog-actions button { flex: 1; min-height: 42px; }
  .form-actions button { min-height: 42px; }

  .user-form { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
  .user-form-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .user-form-actions .primary-button { width: 100%; }
  .user-list-card { overflow: visible; }
  .user-table-head { display: none; }
  .user-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 15px; }
  .user-row > :nth-child(2)::before, .user-row > :nth-child(3)::before, .user-row > :nth-child(4)::before {
    display: block;
    margin-bottom: 6px;
    color: #8290a3;
    font-size: 12px;
    font-weight: 600;
  }
  .user-row > :nth-child(2)::before { content: "手机号"; }
  .user-row > :nth-child(3)::before { content: "微信 OpenID"; }
  .user-row > :nth-child(4)::before { content: "账号状态"; }
  .user-openid code { padding: 9px 10px; border-radius: 8px; background: #f4f8fb; }
  .user-openid button { min-height: 40px; }
  .user-actions { justify-content: stretch; }
  .user-actions button { flex: 1; min-height: 42px; }
  .user-pagination, .list-pagination { gap: 8px; }
  .user-pagination button, .list-pagination button { min-height: 40px; }
  .invitation-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 14px; }
  .invitation-filters label:first-child { grid-column: 1 / -1; }
  .invitation-filters button { width: 100%; }
  .invitation-card { margin-right: -2px; padding: 16px 12px; }

  .admin-basic-fields, .permission-grid { grid-template-columns: minmax(0, 1fr); }
  .permission-heading { align-items: stretch; flex-direction: column; }
  .permission-heading > div:last-child button { flex: 1; }
  .permission-grid { padding: 12px; }
  .permission-grid label { grid-template-columns: minmax(0, 1fr) 118px; }
  .admin-form-footer { align-items: stretch; flex-direction: column; }
  .admin-form-footer .primary-button { width: 100%; }
  .admin-table-head, .audit-table-head { display: none; }
  .admin-row, .audit-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px; }
  .admin-actions { justify-content: stretch; }
  .admin-actions button { flex: 1; min-height: 42px; }
  .audit-row > * { min-width: 0; }

  .empty-state { padding: 40px 12px; }
  .toast { bottom: calc(18px + env(safe-area-inset-bottom)); width: calc(100% - 32px); max-width: 420px; text-align: center; }
  .media-preview-modal { padding: 14px; }
  .media-preview-card { max-height: calc(100vh - 28px); border-radius: 15px; }
  .media-preview-header { min-height: 60px; padding: 10px 12px 10px 16px; }
  .media-preview-header h2 { font-size: 16px; }
  .media-preview-actions { gap: 8px; }
  .media-preview-tools { gap: 5px; }
  .media-preview-tools button { min-width: 58px; height: 34px; padding: 0 8px; font-size: 12px; }
  .media-preview-body { height: calc(100vh - 110px); min-height: 220px; max-height: calc(100vh - 88px); padding: 16px 48px; }
  .media-preview-switch { width: 34px; height: 48px; border-radius: 9px; font-size: 30px; }
  .media-preview-switch.previous { left: 7px; }
  .media-preview-switch.next { right: 7px; }
  .video-preview-modal { padding: 14px; }
  .video-preview-card { height: calc(100vh - 28px); min-height: 320px; border-radius: 15px; }
  .video-preview-header { min-height: 60px; padding: 10px 12px 10px 16px; }
  .video-preview-header h2 { font-size: 16px; }
  .video-preview-stage { padding: 10px; }
}

@media (max-width: 390px) {
  .media-preview-header { align-items: flex-start; }
  .media-preview-actions { align-items: flex-start; }
  .media-preview-tools { max-width: 126px; flex-wrap: wrap; justify-content: flex-end; }
  .media-preview-tools button { min-width: 58px; }
  .content { padding-right: 10px; padding-left: 10px; }
  .content-category { grid-template-columns: minmax(0, 1fr); }
  .feedback-toolbar, .user-toolbar, .application-toolbar { grid-template-columns: minmax(0, 1fr); }
  .feedback-toolbar label:first-child, .user-toolbar label:first-child, .application-toolbar label:first-child { grid-column: auto; }
  .feedback-toolbar > span, .application-toolbar > span { text-align: left; }
}

/* 跨端配置页沿用后台卡片，长字段允许收缩，避免窄屏挤压。 */
.cross-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 18px; }
.cross-platform-grid > *, .cross-fields > *, .cross-platform-grid .section-heading > div { min-width: 0; }
.cross-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cross-platform-grid input, .cross-platform-grid select, .cross-platform-grid textarea { width: 100%; box-sizing: border-box; }
.cross-platform-grid h3 { margin: 0; color: #173a6c; font-size: 15px; }
.cross-platform-grid textarea { padding: 12px; border: 1px solid #d9e6ee; border-radius: 10px; resize: vertical; font: inherit; }
.cross-platform-grid .integration-card label.cross-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 0; line-height: 1.6; font-weight: 500; }
.cross-platform-grid .cross-check input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; accent-color: #168fdf; }
.cross-platform-grid .feature-toggle { position: relative; }
.cross-platform-grid .feature-toggle input { width: 1px; height: 1px; padding: 0; }
.cross-platform-grid .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.cross-checks { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.cross-acceptance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cross-test-fields { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid #e7f0f6; }
.cross-test-fields button { justify-self: start; }
.cross-diagnostic { padding: 16px; background: #f1f8fe; border-radius: 12px; line-height: 1.8; color: #365778; }
.cross-diagnostic[data-ready="true"] { background: #ebf8f1; color: #23795d; }
.cross-actions { grid-column: 1 / -1; padding-bottom: 6px; }
.cross-overview { margin-top: 20px; }
.cross-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cross-metrics > div { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: #f1f8fe; }
.cross-metrics span { color: #6f879f; font-size: 12px; }
.cross-metrics strong { color: #168fdf; font-size: 24px; }
.cross-table-wrap { max-width: 100%; overflow-x: auto; }
.cross-log-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.cross-log-table th, .cross-log-table td { padding: 12px; border-bottom: 1px solid #e8f0f6; overflow-wrap: anywhere; }
.cross-log-table th { color: #6f879f; background: #f8fbfe; font-weight: 500; }
/* 交流群设置沿用平台卡片，二维码完整显示，窄屏按单列排列。 */
.community-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 18px; }
.community-group-grid > *, .community-group-grid .section-heading > div { min-width: 0; }
.community-group-grid textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #d9e6ee; border-radius: 10px; resize: vertical; font: inherit; }
.community-group-grid .feature-toggle input { width: 1px; height: 1px; padding: 0; }
.community-group-grid .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.community-group-qr-layout { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.community-group-preview { flex: 0 0 196px; max-width: 100%; box-sizing: border-box; }
.community-group-preview img { width: 100%; height: 100%; object-fit: contain; }
.community-group-qr-actions { min-width: 180px; flex: 1; }
.community-group-qr-actions [data-error="true"] { color: #b42318; overflow-wrap: anywhere; }
.community-group-grid .upload-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.community-group-grid .upload-button:focus-visible { outline: 3px solid #082452; outline-offset: 3px; }
.community-group-members, .community-group-footer, .community-group-error { grid-column: 1 / -1; }
.community-group-grid .community-group-confirm { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; line-height: 1.6; }
.community-group-confirm input { width: 16px; height: 16px; flex: none; margin-top: 4px; accent-color: #168fdf; }
.community-group-grid input:disabled, .community-group-grid textarea:disabled { color: #617790; background: #f4f8fb; }
.community-group-footer { flex-wrap: wrap; gap: 12px; }
.community-group-error { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .community-group-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .community-group-qr-actions { min-width: 0; flex-basis: 100%; } .community-group-footer .primary-button { width: 100%; } }
/* 微信开放平台配置独立展示，密码仅在当前表单临时存在。 */
.wechat-login-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 18px; }
.wechat-login-grid > *, .wechat-login-grid .section-heading > div { min-width: 0; }
.wechat-login-grid input { width: 100%; box-sizing: border-box; }
.wechat-login-grid .feature-toggle input { width: 1px; height: 1px; padding: 0; }
.wechat-login-grid .feature-toggle input:focus-visible + span { outline: 3px solid #082452; outline-offset: 3px; }
.wechat-login-grid input[readonly] { background: #f4f8fb; color: #617790; }
.wechat-login-actions { grid-column: 1 / -1; flex-wrap: wrap; }
.wechat-login-checks { display: grid; gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.wechat-login-checks li { padding: 12px; border-radius: 10px; border: 1px solid #dce7f0; background: #f5f9fc; line-height: 1.7; overflow-wrap: anywhere; }
.wechat-login-checks li[data-status="pass"] { border-color: #cdebdc; background: #eef9f3; color: #287352; }
.wechat-login-checks li[data-status="warning"] { border-color: #f1dfa8; background: #fff9e9; color: #856a24; }
.wechat-login-checks li[data-status="error"] { border-color: #f0cdcd; background: #fff2f2; color: #a64444; }
@media (max-width: 1100px) {
  .cross-platform-grid, .wechat-login-grid { grid-template-columns: minmax(0, 1fr); }
  .cross-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cross-fields, .cross-acceptance { grid-template-columns: minmax(0, 1fr); }
  .cross-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
