:root{font-family:Microsoft YaHei UI,PingFang SC,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#18212f;background:#f3f6fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%}body{background:#f3f6fb}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;transition:background-color .2s ease,color .2s ease}.theme-light{background:radial-gradient(circle at top right,rgba(65,150,255,.18),transparent 24%),linear-gradient(180deg,#f6f8fc,#eef2f9);color:#152033}.theme-dark{background:radial-gradient(circle at top right,rgba(88,132,255,.22),transparent 24%),linear-gradient(180deg,#0f1625,#121b2d);color:#edf3ff}.theme-dark .surface,.theme-dark .summary-card,.theme-dark .auth-panel,.theme-dark .modal-card,.theme-dark .merchant-card,.theme-dark .empty-card,.theme-dark .boot-card{background:#121a28eb;color:#edf3ff;border-color:#6d82a72e}.theme-dark .sidebar,.theme-dark .topbar,.theme-dark .table-wrap,.theme-dark .choice-panel,.theme-dark .binding-card{background:#131c2cf0;border-color:#6d82a729}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#080d17e0;color:#edf3ff;border-color:#6d82a733}.theme-dark .data-table th,.theme-dark .data-table td{border-color:#6d82a724}.theme-dark .secondary-text,.theme-dark .summary-hint,.theme-dark .topbar p,.theme-dark .modal-head p,.theme-dark .surface-header span,.theme-dark .merchant-meta span{color:#96a4bf}.theme-dark .ghost-button,.theme-dark .status-button,.theme-dark .table-link,.theme-dark .captcha-image{background:#080d17b8;color:#edf3ff;border-color:#6d82a733}.theme-dark .nav-item{color:#d7e3ff}.theme-dark .nav-item.active{background:linear-gradient(90deg,#4a6fff52,#4a6fff14)}.theme-dark .binding-pill,.theme-dark .subject-chip{background:#4a6fff2e;color:#cddaff}.theme-dark .alert-banner{background:#ffc4571f;border-color:#ffc4574d;color:#ffd880}.theme-dark .modal-mask{background:#040a12ad}.boot-screen,.auth-layout{min-height:100vh;display:grid;place-items:center;padding:32px;position:relative}.boot-card{width:min(420px,100%);border:1px solid rgba(79,107,153,.14);border-radius:18px;padding:36px;box-shadow:0 24px 72px #14223a1f}.boot-logo{font-size:24px;font-weight:700;margin-bottom:10px}.boot-text{color:#61718d}.auth-panel{width:min(480px,100%);border:1px solid rgba(79,107,153,.12);border-radius:20px;padding:32px;box-shadow:0 26px 72px #14223a1f}.theme-toggle{position:absolute;top:24px;right:24px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(79,107,153,.12);background:#ffffffc7;color:#1b2a42}.theme-dark .theme-toggle{background:#121a28e0;color:#f4f7ff;border-color:#6d82a72e}.auth-brand{display:flex;gap:18px;align-items:center;margin-bottom:28px}.brand-mark{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,#2b73ff,#35b7ff);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700;flex:0 0 64px}.auth-brand h1{margin:0 0 6px;font-size:28px}.auth-brand p{margin:0;color:#6d7b95}.auth-form{display:grid;gap:18px}.auth-form label,.filters-grid label,.form-grid label,.bind-section label{display:grid;gap:8px}.auth-form span,.filters-grid span,.form-grid span,.bind-section span{font-size:13px;color:#60708d}input,select,textarea{width:100%;border:1px solid rgba(79,107,153,.16);border-radius:10px;background:#ffffffe6;padding:12px 14px;color:inherit;outline:none;transition:border-color .2s ease,box-shadow .2s ease}input:focus,select:focus,textarea:focus{border-color:#2b73ffa6;box-shadow:0 0 0 3px #2b73ff1f}textarea{resize:vertical;min-height:96px}.captcha-row{display:grid;grid-template-columns:1fr 132px;gap:12px}.captcha-image{border-radius:10px;border:1px solid rgba(79,107,153,.16);overflow:hidden;min-height:48px;background:#fff;display:grid;place-items:center}.captcha-image img{display:block;width:100%;height:100%;object-fit:cover}.primary-button,.ghost-button,.danger-button,.status-button{min-height:40px;padding:0 16px;border-radius:10px;border:1px solid transparent;transition:transform .15s ease,opacity .15s ease,background-color .2s ease}.primary-button:hover,.ghost-button:hover,.danger-button:hover,.status-button:hover,.theme-toggle:hover,.table-link:hover{transform:translateY(-1px)}.primary-button:disabled,.ghost-button:disabled,.danger-button:disabled{opacity:.65;cursor:not-allowed}.primary-button{background:linear-gradient(135deg,#2b73ff,#34b2ff);color:#fff}.submit-button{min-height:48px;font-weight:600}.ghost-button{border-color:#4f6b9929;background:#ffffffd1;color:inherit}.danger-button{background:#eb465c1f;color:#db3f5c;border-color:#eb465c2e}.panel-layout{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{border-right:1px solid rgba(79,107,153,.1);padding:28px 20px;display:flex;flex-direction:column;gap:22px;background:#ffffffbf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sidebar-title{font-size:22px;font-weight:700}.sidebar-subtitle{margin-top:8px;color:#6d7b95;font-size:14px}.sidebar-nav{display:grid;gap:8px}.nav-item{min-height:44px;border:none;background:transparent;border-radius:10px;padding:0 14px;text-align:left;font-weight:600}.nav-item.active{background:linear-gradient(90deg,#2b73ff1f,#2b73ff05);color:#215ed8}.sidebar-foot{margin-top:auto}.subject-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:#2b73ff1a;color:#215ed8;font-size:13px}.main-panel{padding:28px;display:grid;gap:20px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border-radius:18px;background:#ffffffb8;border:1px solid rgba(79,107,153,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar h2{margin:0 0 8px;font-size:30px}.topbar p{margin:0;color:#61718d}.topbar-actions,.bulk-actions{display:flex;gap:10px;flex-wrap:wrap}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.summary-card{border:1px solid rgba(79,107,153,.1);border-radius:16px;padding:22px;background:#ffffffc2}.summary-label{font-size:13px;color:#61718d}.summary-value{margin:10px 0 8px;font-size:32px;font-weight:700}.summary-hint{font-size:13px;color:#6d7b95}.alert-banner{padding:14px 16px;border-radius:14px;border:1px solid rgba(255,189,61,.28);background:#ffbd3d1f;color:#8a5a00}.surface{border:1px solid rgba(79,107,153,.1);border-radius:18px;background:#ffffffc7;padding:20px;display:grid;gap:18px}.surface-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.filters-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(220px,1.6fr);gap:12px;flex:1}.merchant-filters{grid-template-columns:minmax(160px,220px) minmax(260px,1fr)}.wide-filter{grid-column:span 1}.table-wrap{overflow:auto;border-radius:16px;border:1px solid rgba(79,107,153,.08);background:#ffffffb8}.data-table{width:100%;border-collapse:collapse;min-width:1460px}.data-table th,.data-table td{padding:14px 12px;border-bottom:1px solid rgba(79,107,153,.08);text-align:left;vertical-align:top}.table-checkbox{width:16px;height:16px}.data-table th{font-size:13px;color:#60708d;font-weight:600;background:#6e82a50a}.primary-text{font-weight:600}.secondary-text{color:#72809a;font-size:13px}.method-pill,.binding-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600}.method-alipay{background:#2b73ff1a;color:#215ed8}.method-wechat{background:#1fb0711f;color:#14965c}.binding-list{display:flex;flex-wrap:wrap;gap:6px}.binding-pill{background:#2b73ff14;color:#215ed8}.status-button{min-width:72px}.status-ok{background:#1fb07124;color:#148457}.status-off{background:#eb465c1f;color:#c53e58}.table-link{min-height:34px;padding:0 12px;border:1px solid rgba(79,107,153,.14);border-radius:9px;background:#ffffffdb;color:inherit}.empty-cell,.empty-card{text-align:center;color:#72809a;padding:48px 20px}.merchant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.merchant-card,.empty-card{border:1px solid rgba(79,107,153,.1);border-radius:16px;background:#ffffffc2;padding:20px}.merchant-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.merchant-name{font-size:18px;font-weight:700;margin-bottom:6px}.merchant-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.merchant-meta div{display:grid;gap:6px}.merchant-meta span{color:#6d7b95;font-size:13px}.binding-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.binding-card{border:1px solid rgba(79,107,153,.1);border-radius:14px;padding:14px;background:#f8fafed1}.binding-card h3{margin:0 0 10px;font-size:15px}.binding-card p{margin:6px 0 0}.route-preview-list{display:grid;gap:8px;margin-top:12px}.route-preview-item{padding-top:8px;border-top:1px dashed rgba(79,107,153,.12)}.preview-button{margin-top:10px}.route-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;margin-left:8px;border-radius:999px;background:#2b73ff1a;color:#215ed8;font-size:12px;font-weight:600}.preview-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.preview-list{display:grid;gap:12px}.preview-card{border:1px solid rgba(79,107,153,.1);border-radius:14px;padding:16px;background:#f8fafec2}.preview-rank{font-size:13px;color:#61718d;margin-bottom:8px}.preview-tags{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c131f70;display:grid;place-items:center;padding:24px;z-index:20}.modal-card{width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:20px;border:1px solid rgba(79,107,153,.1);background:#fffffffa;box-shadow:0 26px 72px #10192a2e}.modal-large{width:min(980px,100%)}.modal-head,.modal-foot{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head{border-bottom:1px solid rgba(79,107,153,.08)}.modal-head h3,.modal-head h4{margin:0 0 8px}.modal-head p{margin:0;color:#6d7b95}.icon-close{width:36px;height:36px;border-radius:999px;border:1px solid rgba(79,107,153,.12);background:transparent}.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:span 2}.switch-row{display:flex;gap:20px;align-items:center}.switch-field{display:inline-flex;align-items:center;gap:10px}.switch-field input{width:18px;height:18px}.merchant-bind-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bind-section{border:1px solid rgba(79,107,153,.08);border-radius:16px;padding:18px;display:grid;gap:14px}.bind-section h4{margin:0}.choice-panel{border:1px solid rgba(79,107,153,.08);border-radius:14px;padding:14px;display:grid;gap:10px;background:#f8fafeb8;max-height:240px;overflow:auto}.choice-title{font-size:13px;color:#61718d}.checkbox-item{display:flex;align-items:center;gap:10px}.checkbox-item input{width:16px;height:16px}.modal-foot{border-top:1px solid rgba(79,107,153,.08);justify-content:flex-end}.toast{position:fixed;top:20px;right:20px;z-index:40;min-width:240px;max-width:420px;padding:14px 16px;border-radius:12px;color:#fff;box-shadow:0 18px 48px #121a282e}.toast-success{background:#1fae71}.toast-error{background:#df4f67}.toast-info{background:#3d79ff}@media (max-width: 1200px){.summary-grid,.merchant-grid,.merchant-bind-layout,.binding-columns{grid-template-columns:1fr}.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.panel-layout{grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid rgba(79,107,153,.1)}.surface-header,.topbar,.merchant-card-head{flex-direction:column;align-items:stretch}.form-grid,.merchant-meta{grid-template-columns:1fr}.span-2{grid-column:span 1}}@media (max-width: 640px){.auth-layout,.main-panel,.modal-mask{padding:16px}.topbar,.surface,.summary-card,.merchant-card,.empty-card,.auth-panel{padding:18px}.filters-grid,.captcha-row{grid-template-columns:1fr}.topbar h2{font-size:24px}}
