:root {
  --primary: #1677ff;
  --primary-soft: #eaf3ff;
  --success: #18a058;
  --warning: #f59e0b;
  --danger: #e5484d;
  --purple: #7c3aed;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e8edf3;
  --bg: #f5f7fb;
  --card: #fff;
  --sidebar: #0f1f3d;
  --shadow: 0 6px 20px rgba(31, 41, 55, .06);
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.shell { min-height: 100vh; display: flex; }
.sidebar {
  width: 238px; flex: 0 0 238px; background: var(--sidebar); color: #c9d5ea;
  padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 10px 22px; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2f8cff, #6fb8ff); font-size: 20px; box-shadow: 0 6px 18px rgba(22,119,255,.35);
}
.brand strong { font-size: 17px; letter-spacing: .5px; }
.brand small { display: block; color: #8293b0; font-weight: 400; margin-top: 3px; }
.nav-label { padding: 12px 12px 7px; font-size: 11px; color: #6f819f; text-transform: uppercase; letter-spacing: 1px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; margin: 3px 0;
  border-radius: 8px; color: #aebbd1; transition: .18s;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; box-shadow: 0 5px 14px rgba(22,119,255,.3); }
.nav-icon { width: 21px; text-align: center; font-size: 16px; }

.main { flex: 1; min-width: 0; }
.topbar {
  height: 68px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.crumb { color: var(--muted); font-size: 13px; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.bell { position: relative; font-size: 19px; }
.bell::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--danger); border: 2px solid #fff; border-radius: 50%; right: -2px; top: 0; }
.user { display: flex; align-items: center; gap: 9px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#1677ff,#7c3aed); color: #fff; font-weight: 700; }
.content { padding: 24px 26px 42px; max-width: 1540px; margin: auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.page-head h1 { font-size: 22px; margin: 0 0 7px; }
.page-head p { color: var(--muted); margin: 0; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.span-2 { grid-column: span 2; }
.card {
  background: var(--card); border: 1px solid #edf0f5; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title { font-size: 16px; font-weight: 650; }
.card-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.text-muted { color: var(--muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.link { color: var(--primary); cursor: pointer; }

.stat-card { position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; width: 88px; height: 88px; border-radius: 50%; right: -20px; top: -25px; background: var(--primary-soft); }
.stat-label { color: var(--muted); margin-bottom: 11px; }
.stat-value { font-size: 28px; line-height: 1; font-weight: 700; }
.stat-foot { color: var(--muted); font-size: 12px; margin-top: 11px; }
.stat-icon { float: right; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 18px; position: relative; z-index: 1; }

.hero {
  min-height: 218px; padding: 28px; border-radius: 14px; color: #fff; overflow: hidden;
  background: linear-gradient(90deg, rgba(7,38,78,.94), rgba(12,75,108,.65)), url("assets/green-booth.png") center/cover;
  display: flex; align-items: center; position: relative;
}
.hero h2 { font-size: 26px; margin: 0 0 10px; }
.hero p { color: rgba(255,255,255,.8); max-width: 560px; line-height: 1.8; margin: 0 0 20px; }
.hero-kicker { display: inline-block; background: rgba(255,255,255,.14); padding: 6px 10px; border-radius: 20px; margin-bottom: 15px; font-size: 12px; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 9px; font-size: 12px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.success { color: #12884c; background: #e8f7ef; }
.badge.warning { color: #b86e00; background: #fff4dd; }
.badge.danger { color: #d33a40; background: #ffebec; }
.badge.info { color: #1769d2; background: #eaf3ff; }
.badge.default { color: #667085; background: #f1f3f6; }

.btn { border: 1px solid var(--line); background: #fff; color: #344054; padding: 8px 15px; border-radius: 7px; transition: .16s; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn:hover { border-color: #a8c9fa; color: var(--primary); }
.btn.primary { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 4px 10px rgba(22,119,255,.18); }
.btn.success { color: #fff; background: var(--success); border-color: var(--success); }
.btn.danger { color: var(--danger); background: #fff; border-color: #ffc4c7; }
.btn.soft { color: var(--primary); background: var(--primary-soft); border-color: transparent; }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn.block { width: 100%; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 20px; }
.field label { display: block; font-weight: 550; margin-bottom: 8px; }
.field label .required { color: var(--danger); margin-right: 3px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid #d9e0e9; background: #fff; color: var(--text);
  border-radius: 7px; padding: 10px 12px; outline: none; transition: .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,119,255,.09); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.help { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.check-row { display: flex; gap: 18px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 7px; }

.progress { height: 8px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg,#1677ff,#58a6ff); border-radius: inherit; }
.progress.success > span { background: linear-gradient(90deg,#18a058,#55c98b); }
.progress-row { margin-bottom: 18px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; }

.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.list-main { display: flex; gap: 11px; min-width: 0; }
.dot-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); }
.list-title { font-weight: 550; margin-bottom: 5px; }
.list-desc { color: var(--muted); font-size: 12px; line-height: 1.55; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: #f8fafc; color: #667085; text-align: left; font-weight: 550; padding: 12px 14px; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdff; }
.table-actions { display: flex; gap: 10px; white-space: nowrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; }
.toolbar-left, .toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { width: 230px; }

.upload-zone {
  border: 1px dashed #b9c6d8; border-radius: 10px; min-height: 130px; padding: 22px;
  display: grid; place-items: center; text-align: center; color: var(--muted); background: #fbfcfe; transition: .15s;
}
.upload-zone:hover { border-color: var(--primary); background: #f5f9ff; }
.upload-icon { font-size: 28px; color: var(--primary); margin-bottom: 7px; }
.upload-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.upload-card .upload-zone { min-height: 104px; }
.upload-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #f8fafc; border-radius: 8px; margin-top: 9px; }
.file-meta { display: flex; align-items: center; gap: 9px; min-width: 0; }
.file-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reject-tip { color: #b42318; background: #fff1f0; border: 1px solid #ffccc7; border-radius: 7px; padding: 9px 11px; font-size: 12px; line-height: 1.55; margin-top: 10px; }

.image-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.effect-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.effect-card img { width: 100%; height: 165px; object-fit: cover; display: block; }
.effect-card:nth-child(2) img { object-position: 60%; filter: saturate(.9) brightness(1.04); }
.effect-card:nth-child(3) img { object-position: 85%; filter: contrast(1.04); }
.effect-info { padding: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-thumb { width: 74px; height: 50px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab-btn { background: none; border: 0; padding: 0 2px 12px; color: var(--muted); position: relative; }
.tab-btn.active { color: var(--primary); font-weight: 600; }
.tab-btn.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.steps { display: flex; margin: 12px 0 6px; }
.step { flex: 1; position: relative; text-align: center; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; height: 2px; top: 16px; left: 58%; right: -42%; background: #dfe5ed; }
.step.done:not(:last-child)::after { background: var(--success); }
.step-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 9px; background: #edf1f6; border: 2px solid #fff; box-shadow: 0 0 0 1px #dfe5ed; position: relative; z-index: 1; }
.step.done .step-icon { background: var(--success); color: #fff; box-shadow: none; }
.step.current .step-icon { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px #dcecff; }
.step.done, .step.current { color: var(--text); }
.step-name { font-size: 13px; }

.timeline { position: relative; margin-left: 5px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 10px; width: 2px; background: #e1e6ed; }
.timeline-item { position: relative; padding: 0 0 22px 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.timeline-item.done .timeline-dot { border-color: var(--success); }
.timeline-item.fail .timeline-dot { border-color: var(--danger); }
.timeline-title { font-weight: 600; margin-bottom: 6px; }
.timeline-time { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.timeline-text { color: var(--muted); line-height: 1.65; }

.notice-paper { max-width: 900px; margin: auto; background: #fff; border: 1px solid var(--line); padding: 42px 52px; box-shadow: var(--shadow); }
.notice-paper h2 { text-align: center; font-size: 24px; margin: 0 0 7px; }

/* 0624 功能梳理图补充：运营商端与业务化组件 */
.operator-side .brand-mark { background: linear-gradient(135deg, #13c2c2, #1677ff); }
.supplier-side .brand-mark { background: linear-gradient(135deg, #722ed1, #1677ff); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.kv strong { color: var(--text); font-weight: 600; text-align: right; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: #f7f9fc; color: #64748b; font-weight: 600; text-align: left; padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:hover td { background: #fbfdff; }
.btn.small { padding: 5px 10px; font-size: 12px; margin-right: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.upload-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.upload-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.upload-name { font-weight: 700; margin-bottom: 10px; }
.effect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.effect-card, .template-preview { min-height: 96px; border: 1px dashed #b8c4d6; border-radius: 12px; background: linear-gradient(135deg, #eef7ff, #f8fbff); display: grid; place-items: center; color: #64748b; }
.notice-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.mobile-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mobile-action { display: block; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; color: var(--primary); text-decoration: none; font-weight: 600; }
.edit-fields { margin-top: 12px; }
.assign-list { border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; padding: 8px; display: grid; gap: 6px; max-height: 210px; overflow: auto; }
.assign-list.compact { margin-top: 10px; max-height: none; }
.check-row-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; background: #fff; cursor: pointer; color: var(--text); }
.check-row-item:hover { background: #eef6ff; }
.recipient-box { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.admin-filterbar { display: grid; grid-template-columns: minmax(240px, 1.4fr) minmax(140px, .7fr) minmax(170px, .8fr) minmax(150px, .75fr) auto; gap: 12px; align-items: center; margin-bottom: 18px; }
.admin-filterbar .input { width: 100%; min-width: 0; }
.enterprise-list-card { padding: 22px; }
.detail-layout { display: grid; gap: 16px; }
.detail-summary-card { position: relative; overflow: hidden; }
.detail-summary-card::after { content: ""; position: absolute; right: -70px; top: -80px; width: 230px; height: 230px; border-radius: 50%; background: linear-gradient(135deg, rgba(22,119,255,.12), rgba(82,196,26,.10)); }
.detail-company { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.detail-company h2 { margin: 0 0 6px; font-size: 22px; }
.detail-company p { margin: 0; color: var(--muted); }
.company-logo { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 24px; background: linear-gradient(135deg, #1677ff, #52c41a); box-shadow: var(--shadow); }
.summary-status { margin-top: 18px; display: flex; gap: 8px; position: relative; z-index: 1; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.info-tile { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.info-tile span, .readonly-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.info-tile strong, .readonly-grid strong { color: var(--text); font-size: 14px; }
.detail-panel { padding: 22px; }
.detail-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.detail-section-head h3 { margin: 0 0 5px; font-size: 17px; }
.detail-section-head p { margin: 0; color: var(--muted); }
.readonly-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.readonly-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.file-list-clean { display: grid; gap: 10px; }
.promo-layout { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.promo-preview { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #f8fbff, #fff); padding: 18px; display: flex; gap: 14px; align-items: center; min-height: 128px; }
.promo-logo { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: #eaf3ff; color: var(--primary); font-weight: 800; border: 1px dashed #9cc7ff; }
.promo-preview p { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.promo-files { display: grid; gap: 10px; }
@media (max-width: 1100px) {
  .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipient-box { grid-template-columns: 1fr; }
  .admin-filterbar { grid-template-columns: 1fr 1fr; }
  .info-grid, .readonly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-layout { grid-template-columns: 1fr; }
}
.notice-no { text-align: center; color: var(--muted); margin-bottom: 32px; }
.notice-row { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid var(--line); padding: 13px 0; }
.notice-row strong { color: #475467; }
.notice-body { line-height: 2; margin-top: 24px; }

.alert { padding: 12px 14px; border-radius: 8px; line-height: 1.6; margin-bottom: 16px; }
.alert.info { background: #edf6ff; color: #175ca8; border: 1px solid #cce4ff; }
.alert.warning { background: #fff8e8; color: #8a5b00; border: 1px solid #ffe2a6; }
.alert.danger { background: #fff1f0; color: #b42318; border: 1px solid #ffccc7; }
.word-flag { color: var(--danger); background: #ffebec; border-bottom: 1px dashed var(--danger); padding: 1px 3px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(15,23,42,.48); backdrop-filter: blur(2px); }
.modal-box { width: min(520px,100%); position: relative; background: #fff; border-radius: 13px; box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden; animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-head, .modal-foot { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-head { border-bottom: 1px solid var(--line); }
.modal-head strong { font-size: 16px; }
.modal-body { padding: 20px; line-height: 1.7; }
.modal-foot { border-top: 1px solid var(--line); justify-content: flex-end; }
.icon-btn { border: 0; background: none; color: var(--muted); font-size: 20px; padding: 0; }
.toast { position: fixed; left: 50%; top: 78px; z-index: 200; transform: translate(-50%,-10px); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 16px; box-shadow: 0 10px 30px rgba(15,23,42,.16); opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.mobile-page { min-height: 100vh; background: #eef2f7; padding: 18px 0 88px; }
.phone { width: min(430px,100%); min-height: calc(100vh - 36px); margin: auto; background: #f5f7fb; border-radius: 28px; overflow: hidden; box-shadow: 0 14px 50px rgba(15,23,42,.15); position: relative; border: 7px solid #1d2939; }
.phone-top { padding: 13px 18px 9px; color: #fff; background: linear-gradient(135deg,#1267d9,#2994ff); }
.phone-status { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 18px; opacity: .9; }
.phone-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; }
.phone-head h1 { margin: 0; font-size: 19px; }
.phone-content { padding: 14px 13px 76px; }
.phone .card { padding: 16px; border-radius: 12px; box-shadow: 0 4px 14px rgba(31,41,55,.05); }
.phone .card + .card { margin-top: 12px; }
.mini-hero { border-radius: 12px; padding: 18px; color: #fff; background: linear-gradient(120deg,rgba(7,42,79,.93),rgba(22,119,255,.58)), url("assets/green-booth.png") center/cover; }
.mini-hero h2 { font-size: 18px; margin: 0 0 7px; }
.mini-hero p { margin: 0 0 18px; opacity: .82; font-size: 12px; }
.mini-data { display: flex; gap: 20px; }
.mini-data strong { display: block; font-size: 20px; margin-top: 4px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; text-align: center; }
.quick-icon { width: 44px; height: 44px; margin: 0 auto 7px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 20px; }
.quick-grid a { font-size: 12px; }
.bottom-nav { position: absolute; bottom: 0; left: 0; right: 0; height: 65px; background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 5; }
.bottom-nav a { flex: 1; display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 11px; }
.bottom-nav a span:first-child { font-size: 19px; }
.bottom-nav a.active { color: var(--primary); }
.mini-scan-card { margin-bottom: 12px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg,#1677ff,#13c2c2); box-shadow: 0 12px 28px rgba(22,119,255,.20); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scan-copy span { display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 11px; margin-bottom: 8px; }
.scan-copy strong { display: block; font-size: 17px; line-height: 1.3; }
.scan-copy p { margin: 6px 0 0; font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.5; }
.scan-btn { border: 0; border-radius: 14px; background: #fff; color: var(--primary); font-weight: 700; padding: 10px 14px; white-space: nowrap; box-shadow: 0 8px 20px rgba(15,23,42,.16); }
.mini-progress-card .progress-row { margin-top: 12px; }
.mini-task { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mini-task:last-child { border-bottom: 0; }
.mini-link-card { display: block; color: inherit; text-decoration: none; position: relative; }
.mini-link-card p { margin: 6px 0 10px; color: var(--muted); line-height: 1.5; }
.mini-card-arrow { color: var(--primary); font-weight: 700; font-size: 13px; }
.mini-expo-card .kv { padding: 8px 0; }
.mini-stage-item, .mini-booth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.mini-stage-item:last-child, .mini-booth-row:last-child { border-bottom: 0; }
.mini-booth-row strong { display: block; margin-bottom: 4px; }
.mini-booth-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mini-timeline { display: grid; gap: 0; }
.mini-time { position: relative; padding: 0 0 18px 22px; border-left: 2px solid #dbe7f5; }
.mini-time::before { content: ""; position: absolute; left: -6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mini-time.done::before { background: var(--success); }
.mini-time.active::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(22,119,255,.12); }
.mini-time strong { display: block; margin-bottom: 5px; }
.mini-time p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mini-render-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 10px 0 12px; }
.mini-render-grid .effect-card { min-height: 78px; border: 1px dashed #b8c4d6; cursor: pointer; font-size: 12px; }
.preview-large { min-height: 260px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg,#eef7ff,#dceeff); color: var(--primary); font-weight: 800; }
.phone-content { background: #f4f7fb; }
.mini-card { background: #fff; border-radius: 16px; padding: 15px; box-shadow: 0 8px 24px rgba(15,23,42,.06); border: 1px solid rgba(226,232,240,.9); margin-bottom: 12px; }
.mini-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mini-title { font-weight: 800; color: var(--text); font-size: 16px; }
.mini-info-list .kv { padding: 9px 0; }
.mini-info-list .kv:first-child { padding-top: 0; }
.mini-info-list .kv span { color: #64748b; }
.mini-info-list .kv strong { max-width: 210px; line-height: 1.35; }
.mini-notice-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-notice-card p { margin-bottom: 0; }
.mini-scan-card { margin-bottom: 14px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 20% 20%, rgba(22,119,255,.16), transparent 30%), linear-gradient(135deg,#eef4ff,#f8fbff); }
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(15,23,42,.16); padding: 30px; }
.login-brand { margin-bottom: 22px; }
.login-card h1 { margin: 0 0 8px; font-size: 24px; }
.login-card p { margin: 0 0 22px; color: var(--muted); }
.login-card .field { margin-bottom: 16px; }
.exhibitor-login-card { width: min(460px, 100%); }
.qr-login-box { display: grid; place-items: center; gap: 12px; padding: 18px; border: 1px dashed #b8c4d6; border-radius: 16px; background: #f8fbff; margin: 16px 0; }
.fake-qr { width: 168px; height: 168px; background: #fff; border: 10px solid #fff; box-shadow: inset 0 0 0 1px #d6e2f0; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; padding: 12px; position: relative; }
.fake-qr span { background: linear-gradient(135deg,#0f172a,#1677ff); border-radius: 6px; }
.fake-qr strong { position: absolute; inset: 58px; display: grid; place-items: center; background: #fff; color: var(--primary); font-weight: 800; border-radius: 8px; }
.qr-tips { color: var(--muted); font-size: 13px; text-align: center; }
.login-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 18px 0; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.mini-form .field { margin-bottom: 15px; }
.mini-message { display: flex; gap: 11px; }
.mini-message-icon { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 38px; display: grid; place-items: center; background: #ffebec; color: var(--danger); }
.mini-message-time { color: #98a2b3; font-size: 11px; margin-top: 7px; }

.empty { padding: 38px 15px; text-align: center; color: var(--muted); }
.empty-icon { font-size: 36px; margin-bottom: 8px; opacity: .55; }

.choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.choice-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px; cursor: pointer;
  background: #fff; transition: .16s; position: relative;
}
.choice-card:hover { border-color: #8cbcff; box-shadow: 0 5px 16px rgba(22,119,255,.08); }
.choice-card.selected { border: 2px solid var(--primary); background: #f6faff; }
.choice-card.selected::after {
  content: "✓"; position: absolute; right: 10px; top: 9px; width: 21px; height: 21px;
  display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-size: 12px;
}
.choice-card h3 { margin: 0 0 7px; font-size: 16px; }
.choice-price { font-size: 22px; font-weight: 700; color: var(--primary); margin: 13px 0 5px; }
.template-preview {
  height: 145px; border-radius: 9px; overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(120deg,rgba(12,44,74,.84),rgba(22,119,255,.4)), url("assets/green-booth.png") center/cover;
}
.info-section { padding: 17px 0; border-bottom: 1px solid var(--line); }
.info-section:last-child { border-bottom: 0; padding-bottom: 0; }
.info-section:first-child { padding-top: 0; }
.info-title { font-weight: 650; margin-bottom: 12px; }
.info-pairs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 22px; }
.info-pair { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.info-pair span:first-child { color: var(--muted); }
.modal-box.wide { width: min(760px,100%); }
.permission-grid { display: grid; grid-template-columns: 190px 1fr; min-height: 390px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.role-list { background: #f8fafc; border-right: 1px solid var(--line); padding: 10px; }
.role-item { padding: 11px 12px; border-radius: 7px; margin-bottom: 4px; cursor: pointer; }
.role-item.active { color: var(--primary); background: #eaf3ff; font-weight: 600; }
.permission-main { padding: 20px; }
.permission-group { padding: 13px 0; border-bottom: 1px solid var(--line); }
.permission-group strong { display: block; margin-bottom: 10px; }
.flow-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-node { padding: 10px 14px; background: #f5f9ff; color: #175ca8; border: 1px solid #cce4ff; border-radius: 8px; }
.flow-arrow { color: #98a2b3; }
.business-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: linear-gradient(135deg,#fff,#f4f9ff); }
.business-card-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,#1677ff,#18a058); font-weight: 700; margin-bottom: 16px; }
.booth-menu-card { display: block; position: relative; overflow: hidden; }
.booth-menu-card::after { content: "›"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%); font-size: 28px; color: #b7c0cd; }
.booth-menu-card h3 { margin: 0 0 6px; font-size: 16px; }
.booth-menu-card p { margin: 0; color: var(--muted); font-size: 12px; padding-right: 28px; line-height: 1.6; }
.section-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.section-block:first-child { padding-top: 0; }
.section-block:last-child { padding-bottom: 0; border-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.section-heading h3 { margin: 0 0 5px; font-size: 16px; }
.view-value { min-height: 40px; padding: 10px 12px; border-radius: 7px; background: #f7f9fc; color: #344054; }
.enterprise-edit-bar {
  position: sticky; bottom: 15px; z-index: 8; display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,.94); box-shadow: 0 8px 26px rgba(15,23,42,.12); backdrop-filter: blur(6px);
}
.enterprise-edit-bar .editing-actions { display: none; gap: 10px; }
.enterprise-view-mode input, .enterprise-view-mode select, .enterprise-view-mode textarea {
  background: #f7f9fc; color: #475467; pointer-events: none;
}
.enterprise-view-mode .js-upload, .enterprise-view-mode .choice-card { pointer-events: none; opacity: .82; }
.enterprise-view-mode .card button:not(.tab-btn):not(.js-download) { pointer-events: none; opacity: .65; }
.enterprise-view-mode .form-actions, .enterprise-editing .form-actions { display: none; }
.enterprise-editing .enterprise-edit-bar .editing-actions { display: flex; }
.enterprise-editing .enterprise-edit-bar .js-enter-edit,
.enterprise-editing .enterprise-edit-bar .js-confirm-info { display: none; }
.enterprise-editing input, .enterprise-editing select, .enterprise-editing textarea { background: #fff; pointer-events: auto; }
.enterprise-editing .js-upload, .enterprise-editing .choice-card { pointer-events: auto; opacity: 1; }
.report-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 12px; }
.report-step { padding: 15px; border: 1px solid #cce4ff; border-radius: 9px; background: #f4f9ff; text-align: center; }
.notice-list { margin: 8px 0 0; padding-left: 20px; line-height: 1.9; color: #475467; }
.template-face-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.face-tag { padding: 5px 9px; border-radius: 6px; background: #edf6ff; color: #175ca8; font-size: 12px; }
.template-config-row { display: grid; grid-template-columns: 1.1fr .7fr .7fr 1.5fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.template-config-row:last-child { border-bottom: 0; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .sidebar { width: 76px; flex-basis: 76px; padding-left: 9px; padding-right: 9px; }
  .brand strong, .brand small, .nav-item span:last-child, .nav-label { display: none; }
  .brand { justify-content: center; padding-left: 0; padding-right: 0; }
  .nav-item { justify-content: center; }
  .content { padding: 20px 16px 36px; }
  .topbar { padding: 0 16px; }
  .grid-2, .grid-3, .form-grid, .image-grid, .choice-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .steps { overflow-x: auto; padding-bottom: 8px; }
  .step { min-width: 110px; }
  .template-config-row { grid-template-columns: 1fr; }
  .report-flow { grid-template-columns: 1fr; }
  .report-flow .flow-arrow { transform: rotate(90deg); text-align: center; }
}
@media (max-width: 500px) {
  .mobile-page { padding: 0; }
  .phone { width: 100%; min-height: 100vh; border: 0; border-radius: 0; }
}

.mini-notice-hero {
  background: linear-gradient(135deg, #1677ff, #12c2b8);
  color: #fff;
  border: none;
}
.mini-notice-hero p,
.mini-notice-hero .mini-title { color: #fff; }
.mini-notice-hero .badge {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.mini-notice-booth {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .5px;
}
.mini-info-card .kv-row {
  align-items: flex-start;
  gap: 14px;
}
.mini-info-card .kv-row strong {
  text-align: right;
  line-height: 1.45;
}
.mini-flow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.mini-flow-line span {
  flex: 1;
  padding: 12px 10px;
  border-radius: 14px;
  background: #eef6ff;
  color: #1458d4;
  font-weight: 700;
  text-align: center;
}
.mini-flow-line em {
  font-style: normal;
  color: #98a2b3;
}
.mini-notice-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #475467;
  line-height: 1.8;
}
.mini-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.mini-contact-row p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 12px;
}
.mini-contact-row a {
  color: #1677ff;
  font-weight: 800;
  white-space: nowrap;
}

.settings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.settings-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #101828;
}
.settings-head p {
  margin: 0;
  color: #667085;
}
.settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.config-center-card {
  padding: 0;
  overflow: hidden;
}
.config-toolbar {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
}
.config-table-wrap {
  padding: 0 20px 20px;
}
.config-table {
  min-width: 1040px;
}
.config-table th {
  background: #f7f9fc;
  color: #667085;
  font-weight: 700;
}
.config-table td {
  vertical-align: top;
}
.config-main-row.editing td {
  background: #f7fbff;
}
.config-name strong {
  display: block;
  color: #101828;
  font-size: 15px;
  margin-bottom: 6px;
}
.config-name span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.5;
  max-width: 230px;
}
.config-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.config-tag.blue {
  background: #eaf3ff;
  color: #1677ff;
}
.config-tag.purple {
  background: #f3e8ff;
  color: #7c3aed;
}
.config-tag.gray {
  background: #f2f4f7;
  color: #667085;
}
.config-fields {
  display: grid;
  gap: 9px;
  min-width: 360px;
}
.config-fields label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 12px;
}
.config-input {
  width: 86px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #101828;
  background: #fff;
}
.config-input.mini {
  width: 58px;
}
.config-label {
  color: #667085;
  font-size: 12px;
  margin-right: 4px;
}
.config-chip-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.config-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1458d4;
  font-size: 12px;
  font-weight: 700;
}
.config-chip i {
  font-style: normal;
  color: #7aa7e8;
  cursor: pointer;
}
.config-chip:hover {
  background: #dbeafe;
}
.icon-actions {
  display: flex;
  gap: 8px;
}
.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16,24,40,.04);
}
.icon-btn:hover {
  border-color: #1677ff;
  background: #f4f9ff;
}
.config-edit-row {
  display: none;
}
.config-edit-row.open {
  display: table-row;
}
.inline-edit-panel {
  margin: 2px 0 10px;
  padding: 18px;
  border: 1px solid #b7d7ff;
  border-radius: 14px;
  background: #f7fbff;
}
.inline-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.config-chip-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
}
.chip-new-input {
  min-width: 90px;
  border: 0;
  outline: 0;
  color: #667085;
}
.config-detail-preview {
  padding: 6px 0;
  line-height: 1.8;
}
.template-preview.big {
  height: 180px;
}

.policy-head {
  margin-bottom: 18px;
}

.policy-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #101828;
}

.policy-head p {
  margin: 0;
  color: #667085;
}

.message-policy-card {
  padding: 0;
  overflow: hidden;
}

.policy-tabs {
  padding: 18px 20px 0;
  margin: 0;
}

.policy-tabs .tab-btn,
.sub-tabs .tab-btn {
  border-radius: 12px 12px 0 0;
}

.policy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .9fr);
  gap: 18px;
  padding: 0 20px 20px;
}

.business-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .85fr);
}

.quick-publish-card,
.business-drawer {
  height: fit-content;
  position: sticky;
  top: 18px;
}

.switch-field,
.switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 26px;
}

.switch input {
  display: none;
}

.switch span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d0d5dd;
  position: relative;
  transition: .2s ease;
}

.switch span::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 2px 8px rgba(16,24,40,.18);
  transition: .2s ease;
}

.switch input:checked + span {
  background: #2f6bff;
}

.switch input:checked + span::after {
  left: 23px;
}

.rich-editor {
  min-height: 160px;
}

.drawer-preview h3 {
  margin: 0 0 12px;
}

.drawer-meta {
  margin-top: 14px;
  color: #667085;
}

.msg-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.msg-state.unread {
  color: #2f6bff;
}

.msg-state.unread b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f6bff;
  display: inline-block;
}

.msg-state.read {
  color: #98a2b3;
}

.msg-state.handled {
  color: #12b76a;
}

.drawer-block {
  padding: 12px 0;
  border-bottom: 1px solid #edf1f7;
}

.drawer-block span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  margin-bottom: 6px;
}

.drawer-block strong {
  color: #101828;
  line-height: 1.6;
}

.drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.policy-risk-grid {
  margin: 0;
}

.policy-word-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.policy-word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: default;
  transition: transform .15s ease, box-shadow .15s ease;
}

.policy-word:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16,24,40,.08);
}

.policy-word i {
  font-style: normal;
  opacity: .72;
}

.policy-word.red {
  background: #feecee;
  color: #d92d20;
}

.policy-word.orange {
  background: #fff1e6;
  color: #f79009;
}

.policy-word.purple {
  background: #f4ebff;
  color: #7a2ff0;
}

.policy-word.gray {
  background: #f2f4f7;
  color: #475467;
}

.rule-options {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.policy-link-card {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.policy-link-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1744b3;
}

.policy-link-card p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.btn.is-loading {
  opacity: .8;
  pointer-events: none;
}

.icon-btn:hover,
.btn:hover,
.tab-btn:hover,
.policy-word:hover,
.link:hover {
  transition: all .16s ease;
}

@media (max-width: 1100px) {
  .policy-layout,
  .business-layout {
    grid-template-columns: 1fr;
  }

  .quick-publish-card,
  .business-drawer {
    position: static;
  }
}

@media (max-width: 820px) {
  .policy-toolbar,
  .settings-head {
    flex-direction: column;
    align-items: stretch;
  }
}

.settings-head-inline {
  margin: 18px 20px 0;
}

.settings-head-inline h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #101828;
}

.settings-head-inline p {
  margin: 0;
  color: #667085;
}

.material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editable-flow {
  margin-top: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.flow-designer {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.flow-designer-node {
  min-width: 120px;
  padding: 14px 12px;
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  text-align: center;
}

.flow-designer-node strong {
  display: block;
  color: #1744b3;
  margin-bottom: 6px;
}

.flow-designer-node span {
  display: block;
  color: #475467;
  font-size: 12px;
  margin-bottom: 4px;
}

.flow-designer-node small {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.readonly-message-card .table-wrap {
  margin-top: 10px;
}

.supplier-sticky-head {
  position: sticky;
  top: 16px;
  z-index: 5;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #dbe7ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 10px 28px rgba(47,107,255,.08);
}

.supplier-sticky-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #1744b3;
}

.supplier-sticky-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.supplier-sticky-grid span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  margin-bottom: 6px;
}

.supplier-sticky-grid strong {
  display: block;
  color: #101828;
  line-height: 1.45;
}

.supplier-detail-stack {
  display: grid;
  gap: 16px;
}

.agreement-card {
  display: grid;
  gap: 14px;
}

.agreement-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agreement-brief div {
  padding: 12px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f9fbff;
}

.agreement-brief span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  margin-bottom: 6px;
}

.agreement-brief strong {
  color: #101828;
}

.agreement-modal {
  position: relative;
}

.agreement-paper {
  max-height: 420px;
  overflow: auto;
  padding: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  line-height: 1.9;
  color: #475467;
}

.agreement-paper h3 {
  margin: 0 0 14px;
  color: #101828;
}

.agreement-fixed-bar {
  position: sticky;
  bottom: 0;
  margin-top: 12px;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 38%);
  text-align: right;
}

.detail-layout-wide {
  grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
  .supplier-sticky-grid,
  .agreement-brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .supplier-sticky-grid,
  .agreement-brief {
    grid-template-columns: 1fr;
  }
}

.biz-tabs-final {
  margin-bottom: 14px;
}

.biz-subpanels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.biz-subpanel {
  display: none;
}

.biz-subpanel.active {
  display: block;
}

.readonly-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #101828;
}

.readonly-detail h4 {
  margin: 0;
  font-size: 18px;
}

.readonly-detail p {
  margin: 0;
  line-height: 1.7;
  color: #667085;
}

.dashboard-top-grid {
  align-items: stretch;
  margin-bottom: 18px;
}

.full-recent-card {
  margin-top: 18px;
}

.recent-msg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-msg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #f8fbff;
}

.recent-msg-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.recent-msg-item p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.recent-msg-item span {
  flex-shrink: 0;
  color: #98a2b3;
  font-size: 13px;
}

.mobile-feedback-sheet,
.agreement-modal-mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-feedback-sheet h3,
.agreement-modal-mobile h3 {
  margin: 0;
  font-size: 18px;
}

.mobile-feedback-sheet p,
.agreement-modal-mobile p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.mobile-feedback-sheet .field,
.agreement-modal-mobile .field {
  margin: 0;
}

.mobile-agreement-bar {
  position: sticky;
  bottom: -12px;
  margin: 6px -4px -8px;
  padding: 14px 4px 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 34%);
}

.mobile-agreement-bar .btn,
.mobile-feedback-sheet .btn.block {
  width: 100%;
}

.agreement-modal-mobile .agreement-paper {
  max-height: 54vh;
  overflow: auto;
  padding: 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e4e7ec;
}

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

.agreement-modal-mobile .agreement-brief span {
  display: block;
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: 12px;
}

.agreement-modal-mobile .agreement-brief strong {
  font-size: 14px;
  color: #101828;
}

@media (max-width: 768px) {
  .recent-msg-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .agreement-modal-mobile .agreement-brief {
    grid-template-columns: 1fr;
  }

  .agreement-modal-mobile .agreement-paper {
    max-height: 48vh;
  }
}

.page-back-row {
  margin-bottom: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6bff;
  font-size: 13px;
  font-weight: 700;
}

.back-link:hover {
  color: #1d4ed8;
}

.phone-head {
  position: relative;
}

.mobile-back-link {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.biz-tabs-fixed {
  margin-bottom: 14px;
}

.biz-subpanel-fixed {
  display: none;
}

.biz-subpanel-fixed.active {
  display: block;
}

.refined-expo-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: #dbe7ff;
  box-shadow: 0 14px 30px rgba(47,107,255,.10);
}

.refined-expo-card .mini-card-head {
  margin-bottom: 14px;
}

.mini-todo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}

.mini-todo-row:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

/* ==========================================================================
   Mini Program UI Refresh - UI layer only
   Scope: outputs mini pages. No JavaScript, data, events or navigation changed.
   ========================================================================== */

:root {
  --mini-primary: #1677ff;
  --mini-primary-dark: #0958d9;
  --mini-primary-soft: #eaf3ff;
  --mini-bg: #eef4fb;
  --mini-card: #ffffff;
  --mini-text: #111827;
  --mini-muted: #64748b;
  --mini-line: #e6edf5;
  --mini-success: #16a34a;
  --mini-warning: #d97706;
  --mini-danger: #dc2626;
  --mini-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  --mini-shadow-soft: 0 8px 22px rgba(22, 119, 255, .08);
}

.mobile-page {
  background:
    radial-gradient(circle at 50% 0, rgba(22,119,255,.12), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, var(--mini-bg) 100%);
}

.phone {
  background: #f4f7fb;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .18);
}

.phone-top {
  background: linear-gradient(135deg, #1677ff 0%, #2f6bff 52%, #13c2c2 120%);
  padding: 14px 18px 16px;
}

.phone-status {
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.phone-head {
  min-height: 38px;
}

.phone-head h1 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}

.phone-head > span:last-child {
  opacity: .9;
  font-weight: 800;
}

.phone-content {
  padding: 14px 14px 84px;
  background:
    linear-gradient(180deg, rgba(22,119,255,.04), rgba(22,119,255,0) 120px),
    #f4f7fb;
}

.mini-card,
.phone .card {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, .9);
  background: var(--mini-card);
  box-shadow: var(--mini-shadow);
  padding: 16px;
  overflow: hidden;
}

.mini-card + .mini-card,
.phone .card + .card {
  margin-top: 14px;
}

.mini-card-head {
  align-items: flex-start;
  margin-bottom: 12px;
}

.mini-title,
.phone .card h3,
.phone .card h2 {
  color: var(--mini-text);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.01em;
}

.mini-card p,
.phone .card p,
.text-muted {
  color: var(--mini-muted);
  line-height: 1.65;
}

.mini-scan-card {
  position: relative;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(135deg, #1677ff 0%, #13c2c2 100%);
  box-shadow: 0 16px 34px rgba(22, 119, 255, .26);
}

.mini-scan-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.22);
  pointer-events: none;
}

.mini-scan-card strong {
  display: block;
  margin: 5px 0 4px;
  font-size: 18px;
  line-height: 1.25;
}

.mini-scan-card p {
  margin: 0;
  color: rgba(255,255,255,.86);
}

.mini-scan-card .btn,
.mini-scan-card button,
.mini-scan-card a {
  border-radius: 999px;
  font-weight: 900;
}

.mini-expo-card {
  background:
    radial-gradient(circle at 96% 4%, rgba(22,119,255,.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mini-expo-card .mini-card-head .badge,
.mini-card-head .badge {
  margin-left: auto;
}

.mini-info-list .kv,
.mini-expo-card .kv,
.mini-info-card .kv-row {
  display: grid;
  grid-template-columns: minmax(76px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--mini-line);
}

.mini-info-list .kv:last-child,
.mini-expo-card .kv:last-child,
.mini-info-card .kv-row:last-child {
  border-bottom: 0;
}

.mini-info-list .kv span,
.mini-expo-card .kv span,
.mini-info-card .kv-row span {
  color: var(--mini-muted);
  font-size: 13px;
}

.mini-info-list .kv strong,
.mini-expo-card .kv strong,
.mini-info-card .kv-row strong {
  justify-self: end;
  max-width: 220px;
  color: var(--mini-text);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
  font-weight: 850;
}

.mini-progress-card {
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.progress,
.phone .progress {
  height: 8px;
  background: #e8eef7;
  border-radius: 999px;
  overflow: hidden;
}

.progress > span,
.phone .progress > span {
  background: linear-gradient(90deg, #1677ff 0%, #49a6ff 56%, #13c2c2 100%);
  box-shadow: 0 4px 12px rgba(22, 119, 255, .24);
}

.progress-meta,
.phone .progress-meta {
  color: var(--mini-text);
  font-size: 13px;
  font-weight: 800;
}

.progress-meta strong,
.phone .progress-meta strong {
  font-size: 17px;
  color: var(--mini-text);
}

.badge,
.phone .badge {
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.badge.success,
.phone .badge.success {
  color: #087443;
  background: #e8f7ef;
  border-color: #c8f0da;
}

.badge.warning,
.phone .badge.warning {
  color: #b45309;
  background: #fff7e6;
  border-color: #ffe2ad;
}

.badge.danger,
.phone .badge.danger {
  color: #c81e1e;
  background: #fff1f1;
  border-color: #ffd4d4;
}

.badge.info,
.phone .badge.info {
  color: #0958d9;
  background: #edf5ff;
  border-color: #cfe3ff;
}

.badge.default,
.phone .badge.default {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.btn,
.phone .btn,
.mobile-action {
  border-radius: 10px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover,
.phone .btn:hover,
.mobile-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 119, 255, .16);
}

.btn.primary,
.phone .btn.primary {
  background: linear-gradient(135deg, #1677ff, #2f6bff);
  box-shadow: 0 8px 18px rgba(22, 119, 255, .22);
}

.mobile-action {
  background: #f8fbff;
  border-color: #d8e7ff;
}

.mini-link-card {
  border-color: #dbe8ff;
}

.mini-link-card:hover {
  box-shadow: 0 14px 30px rgba(22, 119, 255, .12);
}

.mini-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--mini-primary);
  font-weight: 900;
}

.mini-task,
.mini-stage-item,
.mini-booth-row,
.mini-todo-row {
  min-height: 52px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mini-line);
}

.mini-task:last-child,
.mini-stage-item:last-child,
.mini-booth-row:last-child,
.mini-todo-row:last-child {
  border-bottom: 0;
}

.mini-booth-row {
  align-items: stretch;
}

.mini-booth-row strong {
  color: var(--mini-text);
  font-size: 15px;
  font-weight: 900;
}

.mini-booth-row p {
  color: var(--mini-muted);
  font-size: 12px;
  line-height: 1.55;
}

.mini-booth-row .badge,
.mini-task .badge,
.mini-stage-item .badge,
.mini-todo-row .badge {
  align-self: center;
  flex: 0 0 auto;
}

.mini-message {
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--mini-line);
}

.mini-message:last-child {
  border-bottom: 0;
}

.mini-message-icon {
  border-radius: 12px;
  background: #eef5ff;
  color: var(--mini-primary);
}

.mini-message-time {
  color: #94a3b8;
}

.mini-timeline {
  padding-top: 2px;
}

.mini-time {
  border-left-color: #d9e7f8;
}

.mini-time strong {
  color: var(--mini-text);
  font-size: 14px;
  font-weight: 900;
}

.mini-time p {
  color: var(--mini-muted);
}

.mini-render-grid {
  gap: 10px;
}

.mini-render-grid .effect-card {
  border-radius: 14px;
  border-color: #bcd6ff;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.mini-notice-hero {
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.24), transparent 24%),
    linear-gradient(135deg, #1677ff, #13c2c2);
  box-shadow: 0 16px 34px rgba(22, 119, 255, .24);
}

.mini-notice-booth,
.mini-info-card,
.mini-contact-row,
.notice-paper,
.agreement-paper {
  border-radius: 16px;
}

.mini-flow-line {
  background: #f8fbff;
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  padding: 12px;
}

.mini-flow-line span {
  background: #fff;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .06);
}

.bottom-nav {
  height: 66px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 -10px 26px rgba(15, 23, 42, .06);
  backdrop-filter: blur(10px);
}

.bottom-nav a {
  color: #64748b;
  font-weight: 800;
  text-decoration: none;
}

.bottom-nav a span:first-child {
  width: 28px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
}

.bottom-nav a.active {
  color: var(--mini-primary);
}

.bottom-nav a.active span:first-child {
  background: var(--mini-primary-soft);
}

.mini-form input,
.mini-form textarea,
.phone .input,
.phone select,
.phone textarea {
  border-radius: 12px;
  border-color: #dbe4f0;
  background: #fff;
}

.mini-form input:focus,
.mini-form textarea:focus,
.phone .input:focus,
.phone select:focus,
.phone textarea:focus {
  border-color: var(--mini-primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .10);
  outline: none;
}

.mobile-feedback-sheet,
.agreement-modal-mobile {
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 44px rgba(15, 23, 42, .18);
}

.mobile-feedback-sheet h3,
.agreement-modal-mobile h3 {
  color: var(--mini-text);
  font-size: 18px;
  font-weight: 900;
}

.agreement-modal-mobile .agreement-paper {
  background: #f8fbff;
  border-color: #dbe8ff;
}

.mobile-agreement-bar {
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 34%);
}

.phone .empty,
.phone .card.empty {
  border-radius: 16px;
  background: #f8fbff;
  color: #94a3b8;
  border: 1px dashed #d8e7ff;
}

@media (max-width: 768px) {
  .mobile-page {
    background: #f4f7fb;
  }

  .phone {
    box-shadow: none;
  }

  .phone-content {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* System Hub - unified system entry */
.system-hub-page {
  min-height: 100vh;
  padding: 56px clamp(24px, 6vw, 88px);
  background:
    radial-gradient(circle at 12% 6%, rgba(22,119,255,.18), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(19,194,194,.16), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  color: #101828;
}

.system-hub-hero {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(207,227,255,.9);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
  backdrop-filter: blur(12px);
}

.system-hub-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.system-hub-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.system-hub-hero p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

.system-hub-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.system-entry-card {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(15,23,42,.07);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.system-entry-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(22,119,255,.08);
}

.system-entry-card:hover {
  transform: translateY(-4px);
  border-color: #91caff;
  box-shadow: 0 24px 58px rgba(22,119,255,.16);
}

.system-entry-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #1677ff, #13c2c2);
  box-shadow: 0 12px 24px rgba(22,119,255,.22);
}

.system-entry-card h2 {
  margin: 4px 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.system-entry-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.75;
}

.system-entry-card em {
  position: absolute;
  left: 114px;
  bottom: 24px;
  color: #1677ff;
  font-style: normal;
  font-weight: 900;
}

.system-entry-card.admin .system-entry-icon { background: linear-gradient(135deg, #2f6bff, #0958d9); }
.system-entry-card.exhibitor .system-entry-icon { background: linear-gradient(135deg, #1677ff, #52c41a); }
.system-entry-card.supplier .system-entry-icon { background: linear-gradient(135deg, #722ed1, #1677ff); }
.system-entry-card.mini .system-entry-icon { background: linear-gradient(135deg, #13c2c2, #1677ff); }

.system-logout-btn {
  background: #fff;
  border: 1px solid #d8e7ff;
  color: #1677ff;
  box-shadow: none;
}

.system-logout-btn:hover {
  background: #edf5ff;
  border-color: #91caff;
}

.mini-logout-btn {
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 860px) {
  .system-hub-page {
    padding: 28px 16px;
  }

  .system-hub-hero {
    display: block;
    padding: 24px;
  }

  .system-hub-grid {
    grid-template-columns: 1fr;
  }

  .system-entry-card {
    min-height: 190px;
    grid-template-columns: 58px 1fr;
    padding: 22px;
  }

  .system-entry-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 20px;
  }

  .system-entry-card em {
    left: 98px;
  }
}
