html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4efe6;font-family:Source Han Sans SC,Microsoft YaHei,sans-serif;font-weight:400;line-height:1.5}body,#root{min-width:320px;min-height:100vh}a{color:inherit}:root{--panel:#fffaf3eb;--panel-strong:#fffaf2;--line:#5839221f;--line-strong:#ad4d2f38;--text:#2f1f15;--muted:#7b6a5a;--brand:#ab4f31;--brand-strong:#87341d;--success:#1c6f56;--danger:#8d321d;--shadow:0 18px 48px #643e211a}*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:var(--text);background:radial-gradient(circle at 0 0,#c47e5433,#0000 34%),radial-gradient(circle at 100% 100%,#698a7229,#0000 26%),linear-gradient(135deg,#f5ecdf 0%,#fbf5ec 52%,#efe5d5 100%);margin:0;font-family:Segoe UI Variable Text,PingFang SC,Microsoft YaHei,sans-serif;font-size:13px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{grid-template-columns:286px minmax(0,1fr);gap:16px;min-height:100vh;padding:16px;display:grid}.auth-shell{grid-template-columns:minmax(320px,460px);place-content:center}.boot-screen{min-height:100vh;color:var(--muted);place-items:center;font-size:14px;display:grid}.sidebar,.main-panel,.records-drawer,.auth-card{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:24px}.sidebar{flex-direction:column;gap:12px;min-height:0;padding:16px;display:flex}.main-panel{flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.auth-card{padding:28px}.sidebar-head,.main-head,.section-head,.save-row,.pager,.group-search,.filter-topline,.operator-card,.message-card-head,.message-meta-row,.action-group{align-items:center;gap:10px;display:flex}.sidebar-head,.main-head,.section-head,.save-row,.pager,.filter-topline,.operator-card,.message-card-head,.message-meta-row{justify-content:space-between}.action-group{flex-wrap:wrap;justify-content:flex-end}.eyebrow{letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin:0 0 4px;font-size:10px}h1,h2,h3,p{margin:0}h1{font-size:22px;font-weight:650;line-height:1.2}h2{font-size:18px;font-weight:630;line-height:1.25}h3{font-size:15px;font-weight:620;line-height:1.25}.operator-meta,.message-subtitle,.draft-hint,.record-row p,.empty-state span,.group-result span,.filter-topline span{color:var(--muted)}.operator-card,.filter-card,.panel,.auth-card,.message-card,.empty-state{border:1px solid var(--line);background:var(--panel-strong);border-radius:20px}.operator-card,.filter-card,.panel,.empty-state{padding:14px}.operator-card{align-items:flex-start}.operator-name{font-size:16px;font-weight:620}.filter-card,.auth-form,.banner-stack,.message-list,.record-table,.group-results,.stat-grid,.checkbox-grid,.chip-grid,.rule-list,.audience-section,.side-panel{gap:10px;display:grid}.message-list{flex:1;min-height:0;padding-right:4px;overflow:auto}.message-card{text-align:left;padding:12px;transition:transform .14s,border-color .14s,background .14s}.message-card:hover,.message-card.active{border-color:var(--line-strong);background:#fff5e8;transform:translateY(-1px)}.message-title,.record-title,.group-result__title{font-size:13px;font-weight:600}.message-subtitle{margin-top:6px;font-size:12px}.message-meta-row{margin-top:8px;font-size:11.5px}.empty-state{place-items:start}.field-grid{gap:10px;display:grid}.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-layout{grid-template-columns:minmax(0,1.32fr) minmax(360px,.88fr);gap:16px;display:grid}.panel label,.auth-form label{color:var(--muted);gap:6px;font-size:12px;font-weight:500;display:grid}input,textarea,select{width:100%;color:var(--text);background:#fffcf7f5;border:1px solid #58392224;border-radius:14px;padding:10px 12px}input:focus,textarea:focus,select:focus{border-color:#ab4f317a;outline:none;box-shadow:0 0 0 4px #ab4f3114}textarea{resize:vertical;min-height:260px}.checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-card,.record-row{border:1px solid var(--line);background:#fffaf3d1;border-radius:16px;align-items:center;gap:10px;padding:12px;display:flex}.check-card{justify-content:center;min-height:72px;font-size:12px;font-weight:500}.check-card input{width:auto;margin:0}.chip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chip,.group-result,.ghost-button,.primary-button{border:1px solid var(--line);background:0 0;border-radius:14px;padding:10px 12px}.compact-button{padding:9px 12px}.primary-button,.chip.active{color:#fff8f1;background:linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);border-color:#0000}.ghost-button:hover,.chip:hover,.group-result:hover{background:#ab4f3114}.group-search{align-items:stretch}.group-search input{flex:1}.group-results{max-height:180px;overflow:auto}.group-result{text-align:left;background:#fffaf3b8;justify-content:space-between;align-items:center;display:flex}.group-result div{gap:2px;display:grid}.rule-list{grid-template-columns:repeat(auto-fit,minmax(150px,max-content))}.rule-badge,.pill{width:fit-content;color:var(--text);background:#58392214;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:11.5px;display:inline-flex}.inline-tags{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.pill.warning{background:#d6883c24}.pill.success{color:var(--success);background:#1c6f5624}.pill.danger{color:var(--danger);background:#8d321d24}.pill.muted{background:#58392214}.rule-badge button{color:var(--muted);background:0 0;border:0;padding:0}.status{border:1px solid var(--line);border-radius:14px;padding:10px 12px;font-size:12px}.status.error{color:var(--danger);background:#8d321d14}.status.success{color:var(--success);background:#1c6f5614}.remember-row{color:var(--muted);align-items:center;gap:8px;font-weight:500!important;display:flex!important}.remember-row input{width:auto}.records-drawer{z-index:30;flex-direction:column;gap:14px;width:min(520px,100vw - 32px);max-height:calc(100vh - 32px);padding:16px;display:flex;position:fixed;bottom:16px;right:16px;overflow:auto}.record-row{justify-content:space-between;align-items:flex-start}.record-side{text-align:right}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid article{border:1px solid var(--line);background:#fffaf3c2;border-radius:16px;padding:14px}.stat-grid strong{margin-bottom:4px;font-size:22px;font-weight:650;display:block}@media (width<=1240px){.shell,.editor-layout{grid-template-columns:1fr}}@media (width<=780px){.shell{gap:12px;padding:12px}.main-panel,.sidebar,.records-drawer,.auth-card{padding:14px}.main-head,.sidebar-head,.save-row,.operator-card,.record-row{flex-direction:column;align-items:stretch}.field-grid.two,.field-grid.three,.checkbox-grid,.chip-grid,.stat-grid{grid-template-columns:1fr}.action-group,.group-search{flex-direction:column;align-items:stretch}.record-side{text-align:left}}
