:root {
  --jade: #07c160;
  --jade-dark: #059b4d;
  --ink: #202124;
  --ink-soft: #5f6368;
  --mist: #f8f9fa;
  --paper: #ffffff;
  --line: #dadce0;
  --amber: #d99614;
  --danger: #c93c3c;
  --shadow: 0 1px 2px rgba(60, 64, 67, .12), 0 1px 3px rgba(60, 64, 67, .08);
  --radius: 8px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--mist);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--mist); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(7, 193, 96, .3); outline-offset: 2px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--ink); color: white; padding: 30px 18px 22px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.brand strong { display: block; font-size: 17px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 3px; color: #85a39a; font-size: 8px; letter-spacing: .18em; }
.brand-mark { width: 36px; height: 36px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 8px; border-radius: 11px; background: var(--jade); }
.brand-mark i { width: 4px; border-radius: 8px; background: white; display: block; }
.brand-mark i:nth-child(1) { height: 9px; }.brand-mark i:nth-child(2) { height: 17px; }.brand-mark i:nth-child(3) { height: 13px; }
.sidebar nav { display: grid; gap: 5px; margin-top: 50px; }
.sidebar nav a { color: #afc2bc; padding: 12px 14px; border-radius: 9px; display: flex; align-items: center; gap: 12px; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.sidebar nav a span { width: 20px; text-align: center; font-size: 17px; }
.sidebar nav a:hover { color: white; transform: translateX(2px); }
.sidebar nav a.active { background: rgba(255,255,255,.09); color: white; }
.sidebar nav a.active span { color: var(--jade); }
.sidebar nav .nav-compose { margin-top: 18px; background: var(--jade); color: #082d1b; font-weight: 700; }
.sidebar nav .nav-compose:hover { background: #19d471; color: #082d1b; }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 10px 0; display: flex; align-items: center; justify-content: space-between; }
.admin-chip span, .admin-chip small { display: block; }.admin-chip span { font-size: 13px; }.admin-chip small { color: #85a39a; margin-top: 3px; font-size: 11px; }
.sidebar .text-button { color: #8aa39b; }
.main-column { min-width: 0; }
.topbar { min-height: 108px; padding: 24px clamp(28px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(244,248,246,.88); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.topbar h1 { margin: 2px 0 0; font-size: clamp(23px, 2vw, 30px); letter-spacing: -.03em; }
.eyebrow, .section-index { color: var(--jade-dark); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #5de493; }
.top-action { border-bottom: 1px solid var(--ink); padding: 7px 0; font-size: 13px; font-weight: 700; }
.mobile-menu { display: none; background: none; border: 0; font-size: 22px; }
.content { padding: 40px clamp(28px, 4vw, 64px) 72px; max-width: 1600px; margin: 0 auto; }

.primary-button, .secondary-button { border: 0; border-radius: 8px; padding: 11px 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.primary-button { background: var(--jade); color: #062b19; box-shadow: 0 7px 18px rgba(7,193,96,.2); }
.primary-button:hover { background: #12cd6b; transform: translateY(-1px); }.primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.secondary-button { background: white; color: var(--ink); border: 1px solid var(--line); }
.secondary-button:hover { border-color: #98afa7; }
.text-button { padding: 5px; border: 0; background: none; color: var(--ink-soft); }
.full { width: 100%; }
.danger-outline { color: var(--danger); border-color: #eccccc; }

.dispatch-hero { min-height: 220px; background: var(--ink); color: white; padding: clamp(30px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; border-radius: 4px 28px 4px 4px; }
.dispatch-hero:after { content: ""; position: absolute; right: -100px; top: -160px; width: 360px; height: 360px; border: 1px solid rgba(7,193,96,.26); border-radius: 50%; box-shadow: 0 0 0 55px rgba(7,193,96,.05), 0 0 0 110px rgba(7,193,96,.04); }
.dispatch-hero h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.045em; margin: 12px 0; }.dispatch-hero p { color: #abc1ba; margin: 0; }
.hero-pulse { position: relative; z-index: 1; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: grid; place-content: center; text-align: center; }
.hero-pulse span { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--jade); top: 14px; left: 28px; box-shadow: 0 0 0 7px rgba(7,193,96,.15); }
.hero-pulse b { font-size: 42px; }.hero-pulse small { color: #9bb2ab; }
.metric-strip { background: white; display: grid; grid-template-columns: repeat(4,1fr); margin: 0 28px; box-shadow: var(--shadow); }
.metric-strip article { padding: 25px 28px; border-right: 1px solid var(--line); }.metric-strip article:last-child { border: 0; }
.metric-strip small, .metric-strip span { display: block; color: var(--ink-soft); font-size: 11px; }.metric-strip strong { display: block; font-size: 29px; margin: 9px 0 3px; }
.metric-strip .metric-alert strong { color: var(--danger); }
.section-head { margin: 50px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }.section-head.compact { margin-top: 10px; }
.section-head h2 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.025em; }.section-head p { color: var(--ink-soft); margin: 7px 0 0; font-size: 13px; }.section-head > a:not(.primary-button) { color: var(--jade-dark); font-size: 13px; font-weight: 700; }

.data-sheet { background: white; border-top: 2px solid var(--ink); box-shadow: 0 12px 35px rgba(23,52,45,.05); overflow-x: auto; }
.data-row { min-width: 800px; display: grid; grid-template-columns: 1.8fr 1.15fr 1.25fr .7fr .8fr; align-items: center; gap: 20px; padding: 17px 22px; border-bottom: 1px solid #e7eeeb; font-size: 13px; }
.data-row:not(.data-header):hover { background: #f9fcfa; }.data-row span { min-width: 0; }.data-row strong, .data-row small { display: block; }.data-row small { color: #85948f; margin-top: 4px; font-size: 10px; }.data-row code { font-size: 11px; }
.data-header { color: #788a84; background: #f9fbfa; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; padding-top: 12px; padding-bottom: 12px; }
.task-sheet .data-row { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr .7fr .8fr; }
.follower-sheet .data-row { grid-template-columns: 1.25fr 1fr .8fr 1.1fr .8fr; }.delivery-sheet .data-row { grid-template-columns: 1fr .75fr 1fr 1.5fr 1fr; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 7px; background: #9eaaa6; }.status-dot.success { background: var(--jade); }.status-dot.warning { background: var(--amber); }.status-dot.danger { background: var(--danger); }.status-dot.active { background: #2c7be5; box-shadow: 0 0 0 4px rgba(44,123,229,.1); }
.success-text { color: var(--jade-dark); }.danger-text { color: var(--danger); }
.person { display: flex; align-items: center; gap: 10px; }.person > i { width: 34px; height: 34px; background: #dff4e8; color: var(--jade-dark); border-radius: 50%; display: grid; place-items: center; font-style: normal; }.person b { font-weight: 600; }
.filter-bar { background: #eaf2ee; padding: 15px; display: flex; align-items: end; gap: 12px; margin-bottom: 18px; }.filter-bar label { min-width: 170px; }.filter-bar .filter-search { flex: 1; }.filter-bar label, .composer-form label, .app-dialog label, .login-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
input, select, textarea { width: 100%; border: 1px solid #cedbd6; border-radius: 7px; padding: 11px 12px; background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(7,193,96,.1); outline: 0; }
.empty-state { background: white; min-height: 250px; display: grid; place-content: center; text-align: center; padding: 30px; border: 1px dashed #cbd9d4; }.empty-state h3 { margin: 12px 0 4px; }.empty-state p { color: var(--ink-soft); margin: 0; }.empty-signal { font-size: 28px; color: var(--jade); letter-spacing: 8px; }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 18px; }.account-card { background: white; padding: 24px; border-top: 3px solid var(--jade); box-shadow: 0 10px 30px rgba(23,52,45,.06); }.account-card.disabled { opacity: .68; filter: saturate(.5); border-color: #a7b4b0; }
.account-top, .card-actions { display: flex; align-items: center; justify-content: space-between; }.channel-glyph { width: 42px; height: 42px; border-radius: 13px; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 800; }
.account-card h3 { margin: 18px 0 5px; }.account-card > code { color: #788b85; font-size: 11px; }.account-card dl { margin: 24px 0; }.account-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }.account-card dt { color: #81918c; font-size: 10px; margin-bottom: 5px; }.account-card dd { margin: 0; display: flex; justify-content: space-between; font-size: 11px; gap: 8px; }.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.copy-button { border: 0; background: none; color: var(--jade-dark); }
.status-pill, .status-badge { border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 700; }.status-pill.success, .status-badge.success { color: #067b40; background: #dcf7e9; }.status-pill.neutral, .status-badge.neutral { color: #62736d; background: #e9efec; }.status-badge.active { color: #2164b5; background: #e3effe; }.status-badge.warning { color: #8b5b00; background: #fff1d5; }.status-badge.danger { color: #a42727; background: #fde5e5; }

.app-dialog { border: 0; border-radius: 16px; padding: 0; width: min(680px, calc(100vw - 30px)); max-height: calc(100vh - 30px); overflow: auto; box-shadow: 0 30px 100px rgba(5,28,21,.25); }.app-dialog::backdrop { background: rgba(15,38,31,.55); backdrop-filter: blur(3px); }.app-dialog form { padding: 28px; display: grid; gap: 17px; }.app-dialog header, .app-dialog footer { display: flex; align-items: center; justify-content: space-between; }.app-dialog header h2 { margin: 5px 0 0; }.dialog-close { background: none; border: 0; font-size: 27px; color: #73837e; }.app-dialog footer { border-top: 1px solid var(--line); padding-top: 18px; justify-content: flex-end; gap: 10px; }.app-dialog label small { font-weight: 400; color: #899993; }.account-guide { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.account-guide-head, .callback-config-head { display: flex; align-items: flex-start; gap: 12px; }.account-guide-head { padding: 14px 16px; background: #f8f9fa; }.account-guide-head > span, .callback-config-head > span { flex: 0 0 auto; border-radius: 12px; padding: 4px 8px; color: #08783e; background: #e6f4ea; font-size: 10px; font-weight: 700; }.account-guide h3, .callback-config h3 { margin: 0; font-size: 14px; }.account-guide-head p, .callback-config-head p { margin: 3px 0 0; color: var(--ink-soft); font-size: 11px; }.account-guide ol { margin: 0; padding: 3px 16px 3px 48px; counter-reset: guide; }.account-guide li { padding: 9px 0; border-bottom: 1px solid #edf0ee; }.account-guide li:last-child { border: 0; }.account-guide li::marker { color: var(--jade-dark); font-weight: 700; }.account-guide li b, .account-guide li span { display: block; }.account-guide li b { margin-bottom: 3px; font-size: 11px; }.account-guide li span { color: var(--ink-soft); font-size: 10px; line-height: 1.55; }.account-guide-note { margin: 0; padding: 10px 16px; color: #4b635b; background: #f2faf5; border-top: 1px solid #dceee3; font-size: 10px; line-height: 1.55; }.callback-config { background: var(--mist); padding: 18px; border-left: 3px solid var(--jade); }.callback-config-head { margin-bottom: 14px; }.developer-platform-path { padding: 10px 12px; border: 1px solid #d8e5dd; border-radius: 6px; background: white; }.developer-platform-path > span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: .08em; }.developer-platform-path p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; color: #3c4043; }.developer-platform-path a { color: #08783e; font-weight: 700; }.developer-platform-path a:hover { text-decoration: underline; }.developer-platform-path a i { font-style: normal; }.developer-platform-path b { color: #9aa0a6; font-weight: 400; }.callback-config > label { margin-top: 10px; }.callback-config p { color: var(--ink-soft); font-size: 11px; margin-bottom: 0; }.callback-config .callback-next { padding-top: 11px; border-top: 1px solid var(--line); line-height: 1.55; }.copy-field { display: flex; border: 1px solid var(--line); background: white; border-radius: 6px; overflow: hidden; }.copy-field code { padding: 10px; flex: 1; word-break: break-all; font-size: 10px; }.copy-field button { border: 0; border-left: 1px solid var(--line); background: white; color: var(--jade-dark); }
.callback-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 -2px; }.callback-toolbar > span { color: var(--ink-soft); font-size: 10px; font-weight: 700; }.callback-toolbar .text-button { color: #08783e; font-size: 11px; font-weight: 700; }.callback-fixed-options { margin: 12px 0 0; border: 1px solid var(--line); border-radius: 6px; background: white; }.callback-fixed-options > div { display: grid; grid-template-columns: 105px 1fr; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }.callback-fixed-options > div:last-child { border-bottom: 0; }.callback-fixed-options dt { color: var(--ink-soft); font-size: 11px; }.callback-fixed-options dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }.callback-fixed-options dd small { color: #80868b; font-size: 9px; }.selected-option { display: inline-flex; align-items: center; gap: 7px; color: #202124; font-size: 11px; font-weight: 700; }.selected-option i { width: 14px; height: 14px; border: 4px solid var(--jade); border-radius: 50%; background: white; }
.account-add-hint { display: flex; gap: 10px; margin: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }.account-add-hint strong { flex: 0 0 auto; color: var(--ink); }.callback-config { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; }.developer-platform-path { padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }.account-credential-fields { display: grid; gap: 11px; }.credential-fields-head { padding-top: 2px; }.credential-fields-head h3 { margin: 0; font-size: 14px; }.credential-fields-head p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; }

.composer-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 36px; align-items: start; }.composer-workbench { min-width: 0; }.dispatch-track { margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(6,1fr); list-style: none; counter-reset: track; border-bottom: 1px solid #cbd9d4; }.dispatch-track li { counter-increment: track; padding: 0 0 13px; color: #879792; font-size: 11px; position: relative; }.dispatch-track li:before { content: "0" counter(track); display: block; color: #a3b0ac; font-size: 8px; margin-bottom: 4px; }.dispatch-track li:after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #cbd9d4; bottom: -3px; left: 0; }.dispatch-track li.active { color: var(--ink); font-weight: 700; }.dispatch-track li.active:after { background: var(--jade); box-shadow: 0 0 0 4px rgba(7,193,96,.13); }
.composer-form { display: grid; gap: 20px; }.form-section { background: white; padding: 28px; border-left: 3px solid transparent; box-shadow: 0 8px 30px rgba(23,52,45,.045); }.form-section:focus-within { border-left-color: var(--jade); }.form-section > header { display: flex; gap: 16px; margin-bottom: 23px; }.form-section > header > span { color: var(--jade); font: 700 12px ui-monospace, monospace; padding-top: 5px; }.form-section h2 { font-size: 19px; margin: 0 0 5px; }.form-section header p { color: #788a84; font-size: 12px; margin: 0; }.channel-options, .template-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; }.channel-option { display: flex !important; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 14px; border-radius: 9px; cursor: pointer; }.channel-option input { position: absolute; opacity: 0; width: 1px; }.channel-option .channel-glyph { width: 34px; height: 34px; border-radius: 10px; }.channel-option b { flex: 1; font-size: 13px; }.channel-option b small { display: block; color: #82928d; font-size: 9px; margin-top: 3px; }.channel-option i { display: none; color: var(--jade-dark); }.channel-option:has(input:checked) { border-color: var(--jade); background: #f3fcf7; }.channel-option:has(input:checked) i { display: block; }
.template-card { border: 1px solid var(--line); background: white; padding: 16px; text-align: left; border-radius: 8px; }.template-card:hover, .template-card.selected { border-color: var(--jade); background: #f4fcf7; }.template-card b { display: block; margin-bottom: 7px; }.template-card small { color: #7c8d87; }.inline-state { color: #83928e; background: var(--mist); padding: 20px; font-size: 12px; text-align: center; }.parameter-fields { display: grid; gap: 14px; }.parameter-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 54px; gap: 10px; align-items: end; }.parameter-row b { padding-bottom: 12px; font: 600 12px ui-monospace, monospace; }.parameter-row textarea { min-height: 70px; resize: vertical; }.parameter-row input[type=color] { height: 44px; padding: 4px; }
.link-fieldset { border: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin: 25px 0 0; }.link-fieldset legend { padding: 0 10px 0 0; font-size: 12px; font-weight: 700; }.segmented { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }.segmented label { display: block; cursor: pointer; }.segmented input { position: absolute; opacity: 0; width: 1px; }.segmented span { display: block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 12px; }.segmented label:has(input:checked) span { border-color: var(--jade); background: #e9f9f0; color: #067b40; }.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.picker-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; }.picker-toolbar input { max-width: 330px; }.picker-toolbar span { color: var(--jade-dark); font-size: 12px; }.recipient-list { border: 1px solid var(--line); max-height: 300px; overflow: auto; }.recipient-item { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }.recipient-item input { width: 17px; }.recipient-item b { font-size: 12px; }.recipient-item code { margin-left: auto; color: #82918c; font-size: 9px; }.submit-zone { background: var(--ink); color: white; padding: 25px 28px; display: flex; justify-content: space-between; align-items: center; }.submit-zone p { margin: 4px 0 0; color: #abc0b9; font-size: 11px; }
.preview-sticky { position: sticky; top: 140px; }.phone-frame { margin-top: 14px; background: white; border: 8px solid #25463d; border-bottom-width: 16px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }.phone-bar { height: 55px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; border-bottom: 1px solid #e7e7e7; font-size: 13px; }.phone-bar span { font-size: 25px; }.phone-bar i { font-style: normal; letter-spacing: 1px; }.wechat-chat { min-height: 440px; background: #ededed; padding: 20px 13px; }.time-chip { width: max-content; margin: 0 auto 16px; padding: 3px 7px; color: #999; font-size: 9px; }.wechat-message { background: white; border-radius: 5px; padding: 17px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }.wechat-message h3 { margin: 0 0 15px; font-size: 15px; font-weight: 500; }.preview-content { white-space: pre-wrap; color: #777; line-height: 1.8; font-size: 12px; }.preview-field { display: inline; }.message-link { margin-top: 17px; padding-top: 11px; border-top: 1px solid #ededed; display: flex; justify-content: space-between; color: #555; font-size: 11px; }.preview-note { margin-top: 15px; display: flex; gap: 9px; color: #748680; font-size: 10px; line-height: 1.5; }.preview-note i { flex: 0 0 7px; height: 7px; background: var(--jade); border-radius: 50%; margin-top: 4px; }

.task-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 25px; }.task-head h2 { margin: 8px 0 4px; font-size: 30px; }.task-head p { color: var(--ink-soft); margin: 0; }.back-link { display: block; color: var(--jade-dark); font-size: 12px; margin-bottom: 25px; }.task-head-action { display: flex; gap: 12px; align-items: center; }.result-ribbon { display: grid; grid-template-columns: repeat(5,1fr); background: var(--ink); color: white; }.result-ribbon article { padding: 22px; border-right: 1px solid rgba(255,255,255,.1); }.result-ribbon strong, .result-ribbon span { display: block; }.result-ribbon strong { font-size: 27px; }.result-ribbon span { color: #9fb4ad; font-size: 10px; margin-top: 3px; }.detail-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 20px; margin: 30px 0; }.detail-panel { background: white; padding: 25px; }.snapshot-list { margin: 0; }.snapshot-list > div { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 12px; }.snapshot-list dt { color: #7b8c86; }.snapshot-list dd { margin: 0; }.snapshot-content { margin-top: 18px; background: var(--mist); padding: 15px; }.snapshot-content > div { border-bottom: 1px solid var(--line); padding: 9px 0; }.snapshot-content > div:last-child { border: 0; }.snapshot-content span { color: #80908b; font-size: 10px; }.snapshot-content p { margin: 4px 0 0; white-space: pre-wrap; }.task-timeline { list-style: none; padding: 0 0 0 5px; }.task-timeline li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; min-height: 62px; position: relative; }.task-timeline li:before { content: ""; position: absolute; width: 1px; background: #dbe5e1; left: 5px; top: 13px; bottom: 0; }.task-timeline li:last-child:before { display: none; }.task-timeline i { width: 11px; height: 11px; border-radius: 50%; background: #d1dcd8; }.task-timeline li.done i { background: var(--jade); box-shadow: 0 0 0 4px #e6f8ee; }.task-timeline b, .task-timeline span { display: block; font-size: 12px; }.task-timeline span { color: #81918c; margin-top: 5px; font-size: 10px; }

.form-alert { border-radius: 7px; padding: 12px 14px; font-size: 12px; margin: 12px 0; }.form-alert.danger { color: #962a2a; background: #fde8e8; }.form-alert.success { color: #087942; background: #e3f8ec; }.form-alert.warning { color: #7b5200; background: #fff1d1; }.form-alert a { text-decoration: underline; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 390px; color: white; background: var(--ink); padding: 13px 17px; border-radius: 8px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; font-size: 12px; }.toast.show { opacity: 1; transform: translateY(0); }.toast.danger { background: var(--danger); }

.login-body { background: var(--ink); }.login-stage { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); }.login-story { color: white; padding: clamp(35px,6vw,90px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }.brand-light { padding: 0; }.login-story h1 { font-size: clamp(40px,5vw,74px); letter-spacing: -.055em; line-height: 1.1; margin: 16px 0 25px; }.login-story p { max-width: 530px; color: #9db5ad; line-height: 1.8; }.login-panel { background: var(--mist); display: grid; place-content: center; padding: 35px; }.login-form { width: min(390px,100%); display: grid; gap: 18px; }.login-form h2 { margin: 3px 0 0; font-size: 33px; }.login-form > p { color: var(--ink-soft); margin: -10px 0 13px; }.login-form input { padding: 14px; }.login-form .primary-button { margin-top: 8px; padding: 14px; }.login-note { display: block; margin-top: 35px; color: #8b9994; text-align: center; }.signal-map { position: absolute; width: 390px; height: 390px; top: 22%; right: -70px; border: 1px solid rgba(7,193,96,.12); border-radius: 50%; }.signal-map:before, .signal-map:after { content:""; position:absolute; border: 1px solid rgba(7,193,96,.1); border-radius:50%; inset:55px; }.signal-map:after { inset:115px; }.signal-origin, .signal-dot { position:absolute; width:10px; height:10px; background:var(--jade); border-radius:50%; box-shadow:0 0 0 7px rgba(7,193,96,.1); }.signal-origin { left:190px; top:190px; }.signal-dot.d1 { left:80px; top:85px; }.signal-dot.d2 { right:45px; top:185px; }.signal-dot.d3 { left:150px; bottom:28px; }

.app-shell { grid-template-columns: 216px minmax(0, 1fr); }
.sidebar { background: var(--paper); color: var(--ink); padding: 16px 12px; border-right: 1px solid var(--line); }
.brand { gap: 10px; padding: 0 8px; }
.brand strong { font-size: 15px; letter-spacing: 0; }
.brand small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.brand-mark { width: 32px; height: 32px; padding: 7px; border-radius: 8px; }
.sidebar nav { gap: 2px; margin-top: 24px; }
.sidebar nav a { color: #3c4043; min-height: 40px; padding: 8px 12px; border-radius: 0 20px 20px 0; gap: 10px; font-size: 13px; }
.sidebar nav a:hover { color: var(--ink); background: #f1f3f4; transform: none; }
.sidebar nav a.active { color: #08783e; background: #e6f4ea; font-weight: 700; box-shadow: inset 3px 0 var(--jade); }
.sidebar nav .nav-compose { margin-top: 10px; color: #075e34; background: #dff7e9; }
.sidebar nav .nav-compose:hover { color: #075e34; background: #d3f2e0; }
.sidebar-foot { padding: 12px 8px 0; border-color: var(--line); }
.admin-chip span { font-size: 12px; }.admin-chip small { color: var(--ink-soft); font-size: 10px; }
.sidebar .text-button { color: var(--ink-soft); }
.topbar { min-height: 64px; height: 64px; padding: 8px clamp(20px, 3vw, 40px); background: rgba(255,255,255,.94); border-color: var(--line); }
.topbar h1 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.topbar .eyebrow { display: none; }
.top-action { border: 1px solid #c8d3cc; border-radius: 18px; padding: 7px 13px; color: #08783e; font-size: 12px; }
.content { padding: 24px clamp(20px, 3vw, 40px) 48px; max-width: 1440px; }
.primary-button, .secondary-button { min-height: 36px; border-radius: 6px; padding: 8px 14px; gap: 8px; font-size: 13px; box-shadow: none; }
.primary-button:hover { transform: none; box-shadow: 0 1px 2px rgba(60,64,67,.2); }
.section-head, .section-head.compact { margin: 8px 0 16px; align-items: center; }
.section-head h2 { margin-top: 4px; font-size: 21px; }.section-head p { margin-top: 4px; font-size: 12px; }
.section-index { font-size: 9px; letter-spacing: .12em; }
.data-sheet { border: 1px solid var(--line); border-top-color: var(--line); border-radius: 8px; box-shadow: none; }
.data-row { gap: 14px; padding: 12px 16px; font-size: 12px; }
.data-header { padding-top: 9px; padding-bottom: 9px; color: var(--ink-soft); background: #f8f9fa; font-size: 9px; }
.data-row:not(.data-header):hover { background: #f8fbf9; }
.person { gap: 8px; }.person > i { width: 30px; height: 30px; }
.filter-bar { margin-bottom: 12px; padding: 10px 12px; align-items: end; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.filter-bar label { min-width: 150px; }
.filter-bar label, .composer-form label, .app-dialog label, .login-form label { gap: 5px; font-size: 11px; }
input, select, textarea { min-height: 36px; border-color: var(--line); border-radius: 5px; padding: 8px 10px; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 2px rgba(7,193,96,.12); }
.pagination { min-height: 52px; padding: 10px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-soft); font-size: 12px; }
.pagination-controls, .page-buttons { display: flex; align-items: center; gap: 4px; }
.page-size { display: flex; align-items: center; gap: 7px; margin-right: 12px; white-space: nowrap; }
.page-size select { width: 64px; min-height: 32px; padding: 4px 7px; }
.page-button { min-width: 32px; height: 32px; padding: 0 7px; border-radius: 50%; display: inline-grid; place-items: center; color: #3c4043; font-weight: 500; }
.page-button:hover { background: #f1f3f4; }
.page-button.active { color: white; background: var(--jade-dark); }
.page-button.disabled { color: #bdc1c6; cursor: default; }
.page-button.disabled:hover { background: transparent; }
.empty-state { min-height: 210px; border: 1px solid var(--line); border-radius: 8px; }
.account-grid { grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 12px; }
.account-card { padding: 16px; border: 1px solid var(--line); border-top: 2px solid var(--jade); border-radius: 8px; box-shadow: none; }
.channel-glyph { width: 36px; height: 36px; border-radius: 9px; }
.account-card h3 { margin: 12px 0 4px; font-size: 16px; }.account-card dl { margin: 16px 0; }.account-card dl > div { padding: 9px 0; }
.app-dialog { border-radius: 10px; box-shadow: 0 8px 28px rgba(60,64,67,.3); }.app-dialog form { padding: 20px; gap: 13px; }
.form-section { padding: 20px; box-shadow: none; border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 8px; }
.form-section > header { margin-bottom: 16px; }.composer-form { gap: 14px; }.composer-layout { gap: 24px; }
.preview-sticky { top: 82px; }.dispatch-track { margin-bottom: 20px; }
.task-head { margin-bottom: 18px; }.task-head h2 { font-size: 24px; }.detail-grid { margin: 20px 0; }.detail-panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.dispatch-hero { min-height: 180px; padding: 32px; border-radius: 8px; }.dispatch-hero h2 { font-size: clamp(28px,3vw,42px); }
.metric-strip { margin: 0 16px; box-shadow: var(--shadow); }.metric-strip article { padding: 18px 20px; }

@media (max-width: 1050px) { .composer-layout { grid-template-columns: 1fr; }.message-preview-panel { order: -1; }.preview-sticky { position: static; display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: center; }.phone-frame { margin: 0; }.wechat-chat { min-height: 300px; }.detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; left: -230px; width: 216px; transition: left .2s; }.sidebar.open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.16); }.mobile-menu { display: block; }.topbar { min-height: 60px; height: 60px; padding: 8px 16px; justify-content: flex-start; gap: 12px; }.top-action { margin-left: auto; font-size: 0; }.top-action:first-letter { font-size: 18px; }.content { padding: 18px 14px 40px; }.metric-strip { grid-template-columns: 1fr 1fr; margin: 0 12px; }.metric-strip article:nth-child(2) { border-right: 0; }.dispatch-hero { min-height: 220px; }.hero-pulse { display: none; }.login-stage { grid-template-columns: 1fr; }.login-story { min-height: 360px; padding: 35px; }.login-story h1 { font-size: 40px; }.signal-map { opacity: .5; }.login-panel { min-height: 560px; }.result-ribbon { grid-template-columns: repeat(2,1fr); }.result-ribbon article:last-child { grid-column: span 2; }.task-head { display: block; }.task-head-action { margin-top: 18px; }.filter-bar { align-items: stretch; flex-direction: column; }.filter-bar label { min-width: 0; }.preview-sticky { display: block; }.phone-frame { max-width: 340px; margin: 15px auto; }.pagination { align-items: flex-start; flex-direction: column; }.pagination-controls { width: 100%; justify-content: space-between; } }
@media (max-width: 520px) { .metric-strip { margin: 0; }.metric-strip article { padding: 18px; }.section-head { align-items: flex-start; flex-direction: column; }.dispatch-track { overflow: hidden; }.dispatch-track li { font-size: 0; }.dispatch-track li:before { font-size: 8px; }.form-section { padding: 16px; }.channel-options, .template-options { grid-template-columns: 1fr; }.parameter-row { grid-template-columns: 1fr 50px; }.parameter-row b { grid-column: span 2; padding: 0; }.two-fields { grid-template-columns: 1fr; }.submit-zone { align-items: stretch; flex-direction: column; gap: 18px; }.submit-zone button { width: 100%; }.login-panel { padding: 25px; }.login-story { min-height: 330px; }.login-story p { font-size: 13px; }.pagination-controls { align-items: flex-start; flex-direction: column; }.page-size { margin: 0; }.page-edge { display: none; } }
@media (max-width: 520px) { .callback-fixed-options > div { grid-template-columns: 1fr; gap: 6px; }.callback-fixed-options dd { align-items: flex-start; flex-direction: column; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
