:root{--ink:#1d302e;--muted:#73817e;--primary:#14665b;--primary-dark:#104f47;--pale:#e9f3ef;--bg:#f6f8f6;--line:#e4eae6;--white:#fff;--danger:#b74137;--radius:12px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.app{display:flex;min-height:100vh}.sidebar{width:230px;flex:none;position:fixed;inset:0 auto 0 0;padding:28px 18px 20px;background:#fff;border-right:1px solid var(--line);z-index:20;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 10px 44px;font-size:18px;font-weight:700;color:var(--ink);letter-spacing:.5px}.brand:hover{text-decoration:none}.brand small{display:block;color:var(--muted);font-weight:400;font-size:13px;letter-spacing:1px;margin-top:5px}.brand-symbol,.app-symbol{display:grid;place-items:center;background:#1b1b1b;color:#fff;border-radius:11px;width:40px;height:44px}.brand-symbol svg,.app-symbol svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav-label{font-size:13px;letter-spacing:1.2px;color:#8e9a94;margin:0 15px 16px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:12px;color:#60716b;padding:12px 15px;border-radius:9px;font-size:13px}nav a:hover{background:#f5f8f6;text-decoration:none}nav a.active{background:var(--pale);color:var(--primary);font-weight:600}nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;font-size:13px;color:#99a49f;padding:20px 12px 0}.connection{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#637e71;font-size:13px}.connection i{width:6px;height:6px;background:#3e9677;border-radius:50%}.main-shell{margin-left:230px;flex:1;min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;padding:0 36px}.breadcrumb{font-size:13px;color:#86938d}.breadcrumb span{margin:0 12px;color:#c0c9c3}.breadcrumb strong{color:#4c6057;font-weight:500}.user-actions{display:flex;align-items:center;gap:18px;color:#65766e;font-size:13px}main{max-width:1400px;margin:auto;padding:34px 36px 40px;min-height:calc(100vh - 125px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:13px;letter-spacing:2px;color:#82a295;font-weight:600}h1{font-size:25px;font-weight:650;letter-spacing:.2px;margin:8px 0 9px}h2{font-size:15px;font-weight:600;margin:0}h3{font-size:14px;font-weight:600;margin:0 0 8px}.page-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.button{border:1px solid transparent;border-radius:7px;min-height:39px;padding:9px 15px;font-size:13px;font-weight:550;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{background:#1b1b1b;color:#fff}.primary:hover{background:var(--primary-dark)}.secondary{background:#fff;border-color:var(--line);color:#53665f}.secondary:hover{background:#f5f8f5}.danger{background:#fff;color:var(--danger);border-color:#efd7d3}.text-button{border:0;background:none;color:var(--primary);font-size:13px;padding:7px 0}.icon-button{background:none;border:0;color:var(--muted);font-size:22px;padding:5px 8px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px}.stat-label{color:#8a9791;font-size:13px;display:flex;justify-content:space-between}.stat-label svg{width:18px;height:18px;fill:none;stroke:#91aa9e;stroke-width:1.5}.stat-value{font-size:30px;font-weight:600;line-height:1.3;margin:15px 0 8px;letter-spacing:-1px}.stat small{font-size:13px;color:#94a097}.stat:first-child{background:#1b1b1b;border-color:var(--primary);color:#fff}.stat:first-child .stat-label,.stat:first-child small{color:#aed0c0}.stat:first-child svg{stroke:#aed0c0}.grid-two{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:22px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:19px 23px}.panel-heading small{color:var(--muted);font-size:13px}.panel-body{padding:22px 23px}.notice{padding:14px 18px;background:#eef4ef;border:1px solid #dfe9df;border-radius:8px;color:#597367;font-size:13px;line-height:1.8;margin-bottom:22px}.notice.warning{background:#fffaef;border-color:#f1e5c9;color:#8f7745}.notice.error{background:#fff3f0;border-color:#f0d7cd;color:#a14c3b}.empty{padding:44px 24px;text-align:center;color:#99a69e;font-size:13px;line-height:1.8}.empty strong{display:block;font-size:15px;color:#4a6557;margin-bottom:8px}.account-list{display:grid;gap:14px}.account-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #eff2ef}.account-row:last-child{border:0}.avatar{width:43px;height:43px;border-radius:11px;background:#eaf2ed;display:grid;place-items:center;color:#658f78;font-weight:600;flex:none}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.account-info{min-width:0;flex:1}.account-info strong{display:block;font-size:13px;margin-bottom:6px}.account-info small{font-size:13px;color:#98a29d}.badge{font-size:13px;display:inline-block;padding:4px 8px;border-radius:5px;background:#edf5ee;color:#568364;white-space:nowrap}.badge.warning{background:#fff4e1;color:#ab8a44}.badge.danger{background:#fbebe7;color:#b56350}.badge.neutral{background:#eff1f2;color:#7b8b91}.quick-steps{display:grid;gap:22px;padding:4px 0}.quick-step{display:flex;align-items:flex-start;gap:13px}.step-number{width:26px;height:26px;background:#f1f5f2;color:#6a8c77;display:grid;place-items:center;border-radius:7px;font-size:13px;flex:none}.quick-step p{font-size:13px;line-height:1.7;color:#8d9c91;margin:7px 0 0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.account-card .card-top{display:flex;gap:13px;align-items:center;margin-bottom:19px}.account-card .card-details{font-size:13px;color:#89978f;line-height:2}.card-actions{display:flex;gap:15px;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:17px;flex-wrap:wrap}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar input,.toolbar select{max-width:230px;margin:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{background:#fbfcfb;color:#98a69c;font-size:13px;font-weight:500;letter-spacing:.3px;padding:14px 21px;border-bottom:1px solid var(--line)}td{padding:18px 21px;border-bottom:1px solid #f0f3ef;color:#62756a}tbody tr:last-child td{border:0}td strong{color:#2e4b3a;font-weight:500}td .sub{display:block;font-size:13px;color:#a2ada6;margin-top:5px}td .text-button+button{margin-left:14px}.thumb{width:40px;height:40px;border-radius:7px;object-fit:contain;background:#f5f8f5}label{display:grid;gap:8px;font-size:13px;color:#627269}input,select,textarea{border:1px solid #dfe7df;border-radius:7px;background:#fff;color:var(--ink);width:100%;padding:10px 12px;min-height:39px}input:focus,select:focus,textarea:focus{outline:2px solid #c1dccb;border-color:#69a483}textarea{resize:vertical;line-height:1.7;min-height:80px}label small,.help{color:#96a199;font-size:13px;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:9px;line-height:1.5}.check input{width:16px;height:16px;min-height:0;accent-color:#1b1b1b}.check-list{display:grid;gap:11px;border:1px solid var(--line);border-radius:7px;padding:15px;max-height:190px;overflow:auto}.form-error{color:var(--danger);font-size:13px;line-height:1.7;margin-top:13px;white-space:pre-line}.form-error:empty{display:none}.settings-section{margin-bottom:26px}.settings-section h3{font-size:13px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:20px}.settings-actions{display:flex;justify-content:flex-end;margin-top:20px}.secret-status{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.readonly-value{background:#f6f8f6;padding:12px;border:1px solid var(--line);border-radius:7px;font-size:13px;overflow-wrap:anywhere;color:#6d8072}.footer{padding:18px 36px;display:flex;justify-content:space-between;color:#a3ada5;font-size:13px;border-top:1px solid var(--line);gap:16px}.loading{padding:80px;text-align:center;color:#8fa297;font-size:13px}dialog{border:1px solid var(--line);border-radius:14px;max-width:630px;width:calc(100% - 32px);padding:0;max-height:90vh;color:var(--ink)}dialog::backdrop{background:rgba(15,38,29,.3);backdrop-filter:blur(3px)}#dialog-form{padding:25px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-heading h2{font-size:18px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:8px;background:#203d30;color:#fff;font-size:13px;max-width:90vw;z-index:100;box-shadow:0 5px 20px #22372825}.login-view{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 20%,#e6f0e8,transparent 55%),var(--bg);padding:24px}.login-card{width:410px;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:18px;padding:42px;box-shadow:0 15px 60px #35564108}.app-symbol{width:47px;height:52px;margin-bottom:26px}.login-card h1{font-size:23px;margin:12px 0}.login-card p{font-size:13px;color:#8b9c90;margin-bottom:29px;line-height:1.7}.login-card form{display:grid;gap:18px}.login-card .primary{margin-top:4px}.login-card>small{display:block;font-size:13px;color:#a1ada3;line-height:1.8;margin-top:27px}.pager{padding:14px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}.mono{font-family:Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.status-detail{line-height:1.8;color:#8b9c90;font-size:13px}.definition{display:grid;grid-template-columns:120px 1fr;gap:13px;font-size:13px;line-height:1.7}.definition dt{color:#8a9d8e}.definition dd{margin:0;overflow-wrap:anywhere}#nav-toggle{display:none}.content-pre{white-space:pre-wrap;word-break:break-word;background:#f6f8f6;border:1px solid var(--line);border-radius:7px;padding:15px;font-size:13px;line-height:1.7;max-height:300px;overflow:auto}
@media(min-width:1550px){main{padding-top:42px}.topbar{padding-inline:52px}.sidebar{width:250px;padding-top:36px}.main-shell{margin-left:250px}}
@media(max-width:1150px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:18px}.grid-two{grid-template-columns:1fr}.sidebar{width:210px}.main-shell{margin-left:210px}main{padding:28px}.topbar{padding:0 28px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:230px;box-shadow:8px 0 28px #183b2014}.sidebar.open{transform:translateX(0)}.main-shell{margin-left:0}.topbar{padding:0 18px;height:60px;gap:14px}#nav-toggle{display:block}.breadcrumb{flex:1;font-size:13px}.user-actions{gap:12px;font-size:13px}main{padding:24px 18px;min-height:calc(100vh - 130px)}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:22px}.page-heading>.button{flex:none}.page-heading p{font-size:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{padding:18px}.stat-value{font-size:26px}.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.footer{padding:18px;flex-direction:column;line-height:1.7;gap:6px}.panel-heading{padding:17px}.panel-body{padding:18px}.account-card{padding:21px}.button{font-size:13px;padding:9px 12px}.login-card{padding:32px}.definition{grid-template-columns:90px 1fr}th,td{padding-inline:17px}.nav-label{margin-top:0}}
.device-connection{display:grid;gap:15px;min-width:0}.device-connection>label{min-width:0}.device-connection>.help{margin:0}.device-address-row{display:flex;gap:9px;min-width:0}.device-address-row input{min-width:0;background:#f6f8f6;font-family:Consolas,"Microsoft YaHei",monospace;font-size:13px}.device-address-row .button{flex:none}.device-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;min-width:165px;max-width:240px;white-space:normal}td .device-actions .text-button+button{margin-left:0}.device-actions .device-delete{color:var(--danger)}
.poster-account{display:grid;gap:7px;margin-bottom:16px;padding:13px 15px;background:#f6f8f6;border:1px solid var(--line);border-radius:7px}.poster-account small{font-size:13px;color:var(--muted);line-height:1.6}.poster-logo{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.poster-logo label{flex:1;min-width:180px}.poster-logo img{width:80px;height:80px;object-fit:contain;background:#f6f8f6;border:1px solid var(--line);border-radius:7px}.poster-logo .text-button{flex:none}
.draft-job-actions{display:flex;gap:4px 13px;flex-wrap:wrap;min-width:150px;max-width:270px;white-space:normal}td .draft-job-actions .text-button+button{margin-left:0}dialog.draft-dialog{max-width:920px}.draft-editor-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:24px}.draft-editor-copy,.draft-editor-media{min-width:0}.draft-editor-copy .notice{font-size:13px;margin-bottom:18px}.draft-editor-copy .form-grid{gap:14px}.draft-editor-media{background:#f7f9f7;border:1px solid var(--line);border-radius:9px;padding:16px;align-self:start}.draft-editor-media h3{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between}.draft-editor-media h3 small{font-size:13px;color:var(--muted);font-weight:400}.draft-editor-media>.button{width:100%;font-size:13px}.draft-selected-images,.draft-preview-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.draft-selected-images figure,.draft-preview-images figure{margin:0;min-width:0;text-align:center}.draft-selected-images img{width:100%;height:115px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:6px}.draft-preview-images img{width:100%;max-height:310px;object-fit:contain;background:#f6f8f6;border:1px solid var(--line);border-radius:7px}.draft-selected-images figcaption,.draft-preview-images figcaption{font-size:13px;color:var(--muted);margin:5px 0}.draft-selected-images figure>div{display:flex;gap:8px;justify-content:center}.draft-selected-images .text-button{font-size:13px;padding:2px}.draft-image-library{border-top:1px solid var(--line);padding:12px 0;margin:12px 0}.draft-image-library summary{font-size:13px;cursor:pointer;color:var(--primary)}#editor-image-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;max-height:260px;overflow:auto}.draft-image-choice{position:relative;min-width:0;gap:4px;text-align:center;font-size:13px}.draft-image-choice input{position:absolute;top:4px;left:4px;width:16px;height:16px;min-height:0;padding:0;accent-color:#1b1b1b}.draft-image-choice img{width:100%;height:83px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:5px}.draft-image-choice:has(input:checked) img{border:2px solid var(--primary)}.draft-upload-label{font-size:13px}.draft-upload-label input{font-size:13px;min-height:34px;padding:8px}.draft-upload-label small{font-size:13px}.draft-editor-media .help{margin:14px 0;font-size:13px}.draft-preview-images{margin:18px 0}.draft-preview-images:has(figure:only-child){grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){.draft-editor-layout{grid-template-columns:minmax(0,1fr);gap:17px}.draft-editor-media{padding:13px}.draft-editor-media>.button{min-height:40px}.draft-preview-images{grid-template-columns:repeat(2,minmax(0,1fr))}dialog.draft-dialog #dialog-form{padding:18px}.draft-job-actions{min-width:130px}.page-heading .toolbar{gap:8px;justify-content:flex-end}.page-heading .toolbar .button{min-height:35px;padding:7px 9px;font-size:13px}}
dialog.draft-dialog{overflow:hidden}dialog.draft-dialog #dialog-form{display:flex;flex-direction:column;max-height:calc(90vh - 2px);min-height:0}dialog.draft-dialog .dialog-heading,dialog.draft-dialog .dialog-actions,dialog.draft-dialog #dialog-form>.form-error{flex:none}dialog.draft-dialog #dialog-content{overflow:auto;min-height:0;padding-right:5px}dialog.draft-dialog .dialog-actions{margin-top:16px;padding-top:14px}dialog.draft-dialog .dialog-heading{margin-bottom:18px}
.draft-flow{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px}.draft-flow>div{border:1px solid var(--line);border-radius:10px;background:#fff;padding:16px 18px}.draft-flow>div:first-child{border-color:#d5e7dd;background:#eef6f1}.draft-flow strong{color:var(--primary);font-size:13px}.draft-flow p{margin:8px 0 0;font-size:13px;line-height:1.8;color:#687c70}.draft-record{display:grid;grid-template-columns:68px minmax(130px,1.2fr) minmax(150px,1fr) minmax(170px,.9fr);gap:17px;align-items:center;padding:20px 23px;border-bottom:1px solid var(--line)}.draft-record:last-child{border-bottom:0}.draft-record-preview{height:90px;min-width:0}.draft-record-preview>a{display:block;width:100%;height:100%}.draft-record-preview img{width:100%;height:100%;object-fit:contain;background:#f6f8f6;border:1px solid var(--line);border-radius:7px}.draft-record-preview>span{display:grid;place-items:center;height:100%;background:#f6f8f6;border-radius:7px;color:#8fa397}.draft-record-preview svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}.draft-record-copy{min-width:0;overflow-wrap:anywhere}.draft-record-copy h3{font-size:13px;line-height:1.6;margin-bottom:6px}.draft-record-account{font-size:13px;color:#627d6e;margin:0 0 6px}.draft-record-meta{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 5px}.draft-record-delivery{min-width:0}.draft-record-delivery .badge{white-space:normal;line-height:1.5}.draft-record-delivery p{font-size:13px;line-height:1.8;margin:8px 0 0;color:var(--muted);overflow-wrap:anywhere}.draft-record-delivery small{display:block;color:var(--primary);font-size:13px;margin-top:6px}.draft-record .draft-job-actions{min-width:0;max-width:none;gap:5px 12px;align-items:center}.draft-record .draft-job-actions .button{width:100%;font-size:13px;line-height:1.5;min-height:36px;padding:8px 10px}.material-thumb{width:50px;height:66px}
@media(max-width:1050px){.draft-record{grid-template-columns:60px minmax(0,1fr) minmax(150px,.85fr);gap:14px}.draft-record .draft-job-actions{grid-column:2/-1}.draft-record .draft-job-actions .button{width:auto}.draft-record-preview{height:80px}}
@media(max-width:700px){.draft-flow{grid-template-columns:1fr;gap:10px}.draft-flow>div{padding:13px 15px}.draft-record{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:17px}.draft-record-preview{height:75px}.draft-record-delivery{grid-column:1/-1}.draft-record .draft-job-actions{grid-column:1/-1;gap:8px 14px}.draft-record .draft-job-actions .button{flex:1;min-width:0}.draft-record .draft-job-actions .primary{flex-basis:100%}.draft-record-copy h3{font-size:13px}.draft-record-delivery p{margin-top:6px}.draft-flow p{font-size:13px}.panel-heading:has(+.draft-records){align-items:flex-start;flex-wrap:wrap;gap:6px}}
.draft-record-linked{background:#f0f7f2;box-shadow:inset 3px 0 var(--primary)}
.draft-recovery-status{background:#eef6f1;border:1px solid #d5e7dd;border-radius:8px;padding:14px 16px;margin-bottom:18px;font-size:13px;line-height:1.8}.draft-recovery-status strong{color:var(--primary)}.draft-recovery-status p{margin:5px 0;color:#687c70}.draft-recovery-status .button{margin-top:9px}dialog.draft-dialog .dialog-actions{flex-wrap:wrap}
dialog.draft-recovery-dialog{max-width:760px}dialog.draft-recovery-dialog #dialog-form{display:flex;flex-direction:column;max-height:calc(90vh - 2px);padding:22px}dialog.draft-recovery-dialog #dialog-content{overflow-y:auto;min-height:0;padding-right:6px}dialog.draft-recovery-dialog .dialog-heading{flex:none;margin-bottom:16px}dialog.draft-recovery-dialog .dialog-actions{flex:none;margin-top:16px;padding-top:14px}dialog.draft-recovery-dialog .form-error{flex:none}dialog.draft-recovery-dialog .draft-preview-images img{max-height:200px}dialog.draft-recovery-dialog .draft-recovery-status{margin-bottom:12px;padding:11px 14px}dialog.draft-recovery-dialog .draft-recovery-risk{margin-bottom:16px;font-size:13px}dialog.draft-recovery-dialog .content-pre{max-height:140px}
.material-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;padding:20px}.material-card{display:grid;grid-template-columns:66px minmax(0,1fr);gap:13px;padding:16px;border:1px solid var(--line);border-radius:9px;min-width:0}.material-preview{height:88px}.material-preview img{width:100%;height:100%;object-fit:contain;background:#f6f8f6;border:1px solid var(--line);border-radius:6px}.material-info{min-width:0;overflow-wrap:anywhere}.material-info strong{font-size:13px}.material-info p{font-size:13px;color:#698071;line-height:1.7;margin:5px 0}.material-info small{display:block;font-size:13px;color:var(--muted);line-height:1.7;margin-top:5px}.material-action{grid-column:1/-1}.material-action .button{width:100%;font-size:13px;min-height:36px}@media(max-width:700px){.material-cards{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.material-card{padding:14px;gap:12px}}
.news-app-title{display:flex;align-items:center;gap:13px;margin-bottom:22px}.news-app-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:11px;background:var(--pale);color:var(--primary)}.news-app-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.news-app-title>div{flex:1;min-width:0}.news-app-title h2{font-size:17px}.news-app-title p{margin:6px 0 0;font-size:13px;color:var(--muted)}.news-targets{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:15px;align-items:end}.news-targets>label{min-width:0}.news-targets>.button{min-height:39px}.news-preset>summary,.news-api-info>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:20px 23px;cursor:pointer;font-size:13px;color:var(--primary)}.news-preset>summary::-webkit-details-marker,.news-api-info>summary::-webkit-details-marker{display:none}.news-preset>summary strong{font-size:14px;color:var(--ink)}.news-preset>summary small{font-size:13px;color:var(--muted);margin-left:12px}.news-preset>summary>span:last-child:after,.news-api-info>summary:after{content:'⌄';margin-left:8px}.news-preset[open]>summary,.news-api-info[open]>summary{border-bottom:1px solid var(--line)}.news-preset[open]>summary>span:last-child:after,.news-api-info[open]>summary:after{content:'⌃'}.news-template-name{margin-bottom:20px;max-width:500px}.news-fields label,.news-fields>div{min-width:0}.news-fields{gap:16px}.news-fields textarea{font-size:13px}.news-cover-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:start}.news-cover-preview{height:102px;background:#f6f8f6;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;color:var(--muted);font-size:13px;overflow:hidden}.news-cover-preview img{width:100%;height:100%;object-fit:contain}.news-cover-upload{margin-top:12px}.news-cover-upload input{font-size:13px;padding:8px}.news-media-id{font-size:13px;color:var(--muted)}.news-media-id summary{cursor:pointer;margin-bottom:10px}.news-preset-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.news-generation{display:flex;gap:16px;align-items:center}.news-generation>label{flex:1;min-width:0}.news-generation>.button{flex:none;min-height:40px;margin-top:2px}.news-generation+p{margin:14px 0 0}.news-composer{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;padding:24px;background:#f5f6f5;border-top:1px solid var(--line);align-items:start}
.news-article-list{padding:10px;background:#fff;border:1px solid var(--line);border-radius:3px;min-width:0;align-self:start;position:sticky;top:18px}
.news-list-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;margin:2px 1px 10px;color:#62716a}
.news-list-heading small{font-size:13px;color:var(--muted)}
.news-article-card{position:relative;background:#fff;border:0;border-bottom:1px solid #e7eae7;border-radius:0;margin:0;overflow:hidden}
.news-article-card.selected{background:#f1f7f3;box-shadow:inset 3px 0 var(--primary)}
.news-article-select{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-width:0;min-height:76px;background:transparent;border:0;padding:13px 10px;color:var(--ink)}
.news-order{display:none}
.news-article-select>img,.news-card-no-cover{width:46px;height:46px;flex:none;order:2;margin-left:auto;border-radius:0;object-fit:cover;background:var(--bg)}
.news-card-no-cover{display:grid;place-items:center;color:#a0afa7}
.news-card-no-cover svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.news-article-select>span:last-child{min-width:0;flex:1;order:1}
.news-article-select strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}
.news-article-select small{display:none}
.news-order-actions{position:absolute;inset:auto 66px 2px 10px;display:flex;align-items:center;gap:12px;opacity:0;pointer-events:none;background:inherit}
.news-order-actions .text-button{font-size:13px;padding:3px 0;line-height:1.5}
.news-order-actions .news-delete{margin-left:auto;color:var(--danger)}
.news-article-card:hover .news-order-actions,.news-article-card:focus-within .news-order-actions{opacity:1;pointer-events:auto}
.news-article-card:not([data-news-card="0"]):hover .news-article-select,.news-article-card:not([data-news-card="0"]):focus-within .news-article-select{padding-bottom:28px;padding-top:6px}
.news-article-card[data-news-card="0"]{margin-bottom:2px;border:1px solid #dce4de;box-shadow:none}
.news-article-card[data-news-card="0"].selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.news-article-card[data-news-card="0"] .news-article-select{position:relative;display:block;aspect-ratio:2.35;min-height:105px;padding:0;overflow:hidden;background:#eef2ef}
.news-article-card[data-news-card="0"] .news-article-select>img,.news-article-card[data-news-card="0"] .news-card-no-cover{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover}
.news-article-card[data-news-card="0"] .news-card-no-cover svg{width:38px;height:38px}
.news-article-card[data-news-card="0"] .news-article-select>span:last-child{position:absolute;inset:auto 0 0;padding:24px 10px 9px;color:#fff;background:linear-gradient(transparent,rgba(15,31,24,.78))}
.news-article-card[data-news-card="0"] .news-article-select strong{font-size:13px;font-weight:500;line-height:1.6}
.news-article-card[data-news-card="0"] .news-order-actions{position:static;opacity:1;pointer-events:auto;gap:15px;padding:5px 9px;background:#fbfdfb}
.news-article-list>.button{width:100%;margin-top:12px;font-size:13px;border-style:dashed;background:#fff;min-height:35px}
.news-article-editor{padding:30px 40px 34px;min-width:0;background:#fff;border:1px solid var(--line);border-radius:3px;min-height:790px}
.news-editor-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;color:var(--muted)}
.news-editor-heading h3{margin:0;font-size:13px;font-weight:500;color:var(--muted)}
.news-editor-heading small{font-size:13px;color:#9aa69f}
.news-article-editor .news-fields{display:flex;flex-direction:column;gap:16px}
.news-article-editor .news-fields>label:has([data-news-field="title"]){order:1;font-size:0}
.news-article-editor .news-fields>label:has([data-news-field="author"]){order:2;font-size:0}
.news-article-editor .news-fields>label:has([data-news-field="content"]){order:3}
.news-article-editor .news-fields>.news-cover-row{order:4}
.news-article-editor .news-fields>label:has([data-news-field="digest"]){order:5}
.news-article-editor .news-fields>label:has([data-news-field="content_source_url"]){order:6}
.news-article-editor .news-fields>.news-media-id{order:7}
.news-article-editor .news-fields>label:has([data-news-field="show_cover_pic"]){order:8}
.news-article-editor [data-news-field="title"]{border:0;border-bottom:1px solid transparent;border-radius:0;background:#fff;font-size:23px;font-weight:600;line-height:1.6;padding:5px 0 8px;min-height:49px}
.news-article-editor [data-news-field="author"]{border:0;border-bottom:1px solid transparent;border-radius:0;background:#fff;font-size:13px;padding:3px 0 9px;min-height:31px;color:var(--muted)}
.news-article-editor [data-news-field="title"]:focus,.news-article-editor [data-news-field="author"]:focus{outline:0;border-bottom-color:#bdd5c6}
.news-editor-paper{min-width:0;max-width:650px;margin:0 auto}
.news-editor-title,.news-editor-author{font-size:0;margin-bottom:3px}
.news-editor-title>small,.news-editor-author>small{font-size:13px}
.news-editor-title-row{display:flex;align-items:start;gap:12px;min-width:0}
.news-editor-title-row label{min-width:0;flex:1}
.news-title-counter{flex:none;padding-top:18px;color:#a0aaa4;font-size:13px}
.news-editor-author{margin-bottom:17px}
.news-editor-body-preview{border:0;min-width:0;background:#fff;margin:0 0 14px}
.news-editor-preview{display:block;width:100%;height:360px;border:0;background:#fff}
.news-editor-body-preview>.help{font-size:13px;margin:5px 0}
.news-body-edit{margin:0 0 23px;border:1px solid #e5eae6;border-radius:4px;min-width:0}
.news-body-edit>summary{cursor:pointer;padding:10px 12px;color:#5e7b6a;font-size:13px;line-height:1.6;background:#fafcfb}
.news-body-edit textarea{display:block;width:calc(100% - 24px);margin:0 12px 10px;border-color:#e4eae6;border-radius:3px;font:14px/1.8 Consolas,"Microsoft YaHei",monospace;min-height:180px;resize:vertical}
.news-body-edit>.help{margin:0 12px 12px;font-size:13px}
.news-editor-meta-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start;padding-top:22px;margin:22px 0;border-top:1px solid var(--line)}
.news-editor-meta-grid>.news-cover-row{display:block;min-width:0}
.news-editor-meta-grid .news-cover-preview{width:100%;height:auto;aspect-ratio:2.35;border-radius:0;margin-bottom:11px;overflow:hidden}
.news-editor-meta-grid .news-cover-preview img{object-fit:cover}
.news-editor-meta-grid .news-cover-upload{margin-top:10px}
.news-editor-meta-grid .news-cover-upload input{font-size:13px;padding:7px;min-width:0}
.news-editor-digest{min-width:0;gap:7px;font-size:13px}
.news-editor-digest textarea{height:90px;min-height:90px;resize:vertical;border-radius:0;font-size:13px;line-height:1.7;padding:10px}
.news-editor-digest small{font-size:13px}
.news-editor-paper>label:has([data-news-field="content_source_url"]){margin:15px 0;font-size:13px}
.news-editor-paper>.news-media-id{margin:15px 0}
.news-editor-paper>.check{margin-top:15px;font-size:13px}
.news-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 23px;border-top:1px solid var(--line);background:#fbfdfb}.news-submit-bar>div:first-child{min-width:0}.news-submit-bar strong{font-size:13px}.news-submit-bar p{font-size:13px;color:var(--muted);line-height:1.8;margin:6px 0 0;overflow-wrap:anywhere}.news-submit-bar>.toolbar{flex:none}.news-submit-bar .button{min-height:39px}#news-error:not(:empty){padding:0 23px 18px}.news-api-info p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 14px}.news-api-info .readonly-value{line-height:1.9}.news-api-info .help{font-size:13px;margin:13px 0 0}dialog.news-dialog{max-width:1020px;overflow:hidden}dialog.news-dialog #dialog-form{display:flex;flex-direction:column;max-height:90vh;min-height:0}dialog.news-dialog #dialog-content{overflow:auto;min-height:0;padding-right:4px}dialog.news-dialog .dialog-heading,dialog.news-dialog .dialog-actions{flex:none}dialog.news-dialog .dialog-actions{margin-top:15px;padding-top:15px}dialog.news-dialog .notice{margin:18px 0 0}.news-preview-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.news-preview-nav{display:grid;align-content:start;gap:8px}.news-preview-tab{display:flex;gap:9px;text-align:left;align-items:start;border:1px solid var(--line);border-radius:6px;background:#fff;padding:12px;color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.news-preview-tab span{flex:none}.news-preview-tab.active{background:var(--pale);border-color:#b7d8c7;color:var(--primary)}#news-preview-article{min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.news-preview-heading{padding:18px 20px 10px}.news-preview-heading h3{font-size:18px;line-height:1.7;overflow-wrap:anywhere}.news-preview-heading p{font-size:13px;line-height:1.7;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere}.news-preview-cover{display:block;width:calc(100% - 40px);max-height:190px;object-fit:contain;margin:8px 20px;background:#f8faf8}.news-content-preview{width:100%;height:320px;border:0;display:block;background:#fff}.news-preview-source{padding:0 20px;overflow-wrap:anywhere}
@media(max-width:1100px){.news-composer{grid-template-columns:230px minmax(0,1fr);gap:18px;padding:18px}.news-article-editor{padding:25px}.news-targets{grid-template-columns:1fr 1fr}.news-targets>.button{justify-self:start}.news-submit-bar{align-items:flex-start}.news-submit-bar>.toolbar{max-width:240px;justify-content:flex-end}.news-preview-layout{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:900px){.news-composer{grid-template-columns:minmax(0,1fr);padding:18px;gap:18px}.news-article-list{position:static;max-width:none;padding:10px}.news-article-card{margin:0}.news-article-card[data-news-card="0"] .news-article-select{max-height:160px;aspect-ratio:2.8}.news-order-actions{opacity:1;pointer-events:auto}.news-article-card:not([data-news-card="0"]) .news-article-select{padding-bottom:28px;padding-top:6px}.news-article-editor{min-height:0}.news-editor-preview{height:340px}.news-preview-layout{grid-template-columns:minmax(0,1fr)}.news-preview-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.news-preview-tab{min-width:0;padding:9px 10px}.news-content-preview{height:300px}}
@media(max-width:700px){.news-targets{grid-template-columns:minmax(0,1fr);gap:13px}.news-app-title{gap:10px}.news-app-title h2{font-size:15px}.news-app-title .badge{font-size:13px}.news-preset>summary,.news-api-info>summary{padding:17px}.news-preset>summary{align-items:start}.news-preset>summary small{display:block;margin:6px 0 0;line-height:1.7}.news-preset>summary>span:last-child{flex:none;font-size:13px}.news-generation{flex-direction:column;align-items:stretch;gap:12px}.news-generation>.button{margin:0}.news-cover-row{grid-template-columns:70px minmax(0,1fr);gap:12px}.news-cover-preview{height:88px}.news-composer{padding:12px;gap:12px}.news-article-editor{padding:21px 17px}.news-editor-heading{margin-bottom:16px}.news-article-editor [data-news-field="title"]{font-size:20px}.news-editor-meta-grid{grid-template-columns:minmax(0,1fr);gap:18px}.news-editor-meta-grid .news-cover-preview{max-width:240px}.news-editor-preview{height:320px}.news-submit-bar{padding:18px;flex-direction:column;align-items:stretch;gap:14px}.news-submit-bar>.toolbar{max-width:none;justify-content:flex-end}.news-submit-bar>.toolbar>.primary{flex:1}.news-preset-actions{align-items:flex-start}.news-preset-actions>.button{flex:none}dialog.news-dialog #dialog-form{padding:18px}.news-preview-heading{padding:14px}.news-preview-heading h3{font-size:16px}.news-preview-cover{width:calc(100% - 28px);margin-inline:14px}.news-preview-source{padding-inline:14px}}
.news-app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),360px));gap:22px}.news-app-card{padding:28px;min-width:0}.news-app-card>.news-app-icon{width:52px;height:52px;margin-bottom:21px}.news-app-card h2{font-size:20px;margin:0}.news-app-card>p{margin:10px 0 24px;font-size:13px;color:var(--muted)}.news-card-binding{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;min-height:46px;font-size:13px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.news-app-card-actions{display:flex;gap:10px;margin-top:23px}.news-app-card-actions .button{flex:1;justify-content:center}.news-app-panel .news-app-title{margin-bottom:0}.news-app-panel .news-app-title p{overflow-wrap:anywhere}.news-template-picker{display:flex;align-items:center;gap:18px;margin-bottom:23px;padding-bottom:22px;border-bottom:1px solid var(--line)}.news-template-picker>label{flex:1;min-width:0}.news-template-picker>.toolbar{flex:none;flex-wrap:wrap}.news-binding-panel{max-width:760px}.news-binding-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.news-empty-action{display:flex;justify-content:center;padding:0 24px 30px}.news-selected-media-id{margin-top:10px}.news-template-name input{width:100%}#news-template-editor .notice{margin:0 0 20px}#news-template-editor .news-cover-row select{max-width:100%}
@media(max-width:700px){.news-app-card{padding:22px}.news-template-picker{align-items:stretch;flex-direction:column;gap:13px;margin-bottom:18px;padding-bottom:18px}.news-template-picker>.toolbar{justify-content:flex-start}.news-template-picker>.toolbar>.button{flex:1}.news-app-panel .news-app-title{align-items:flex-start}.news-app-panel .news-app-title>.badge{flex:none}.news-binding-actions{justify-content:flex-start}.news-binding-actions>.button{flex:1;justify-content:center}}
.special-topic-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:12px 0; border-bottom:1px solid #e5e9e6; }
.special-topic-row small { grid-column:1/-1; overflow-wrap:anywhere; color:#6c7972; }
.special-topic-row .check { margin:0; }

.special-topic-target{grid-column:1/-1;font-size:13px;color:#60756b}.special-topic-target input{width:100%;min-width:0;margin-top:4px}.special-topic-row{min-width:0}.special-topic-row .check input{width:14px;height:14px;padding:0}.help.error{display:block;color:#bb3434;white-space:pre-wrap}.help[role="status"]{display:block;margin-top:8px;white-space:pre-wrap}.draft-job-actions .danger{color:#bd4343}.draft-job-actions button:disabled{opacity:.5;cursor:not-allowed}

/* Text-only draft records: original posters remain available through the editor. */
.draft-record{grid-template-columns:minmax(130px,1.2fr) minmax(150px,1fr) minmax(170px,.9fr)}
@media(max-width:1050px){.draft-record{grid-template-columns:minmax(0,1fr) minmax(150px,.85fr)}.draft-record .draft-job-actions{grid-column:1/-1}}
@media(max-width:700px){.draft-record{grid-template-columns:minmax(0,1fr)}}

/* Compact overview only; detailed draft lists retain their existing controls. */
.recent-drafts-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;min-width:0}
.recent-drafts-heading small{font-size:13px;color:var(--muted);font-weight:400}
.recent-drafts-table-wrap{padding:0 20px}
.recent-drafts-table{width:100%;table-layout:fixed;border-collapse:collapse}
.recent-drafts-table .recent-drafts-content-col{width:36%}.recent-drafts-table .recent-drafts-mode-col{width:14%}.recent-drafts-table .recent-drafts-time-col{width:20%}.recent-drafts-table .recent-drafts-state-col{width:19%}.recent-drafts-table .recent-drafts-action-col{width:11%}
.recent-drafts-table th{background:#f5f7f6;color:#647269;font-size:13px;font-weight:500;text-align:left;padding:12px 9px;border-bottom:1px solid var(--line)}
.recent-drafts-table td{padding:16px 9px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:13px}
.recent-draft-content strong{display:block;font-size:13px;font-weight:600;line-height:1.6;color:#183d32}
.recent-draft-content small{display:block;font-size:13px;line-height:1.7;color:var(--muted);margin-top:3px}
.recent-draft-mode{display:inline-block;padding:5px 9px;border-radius:6px;background:#edf0ef;color:#465850;font-size:13px;line-height:16px;white-space:nowrap}
.recent-draft-mode.scheduled{background:#e8f5ef;color:#14665b}
.recent-draft-time time{display:inline-flex;flex-direction:column;gap:2px;line-height:18px;font-size:13px;color:#243a31}
.recent-draft-time time span{white-space:nowrap}
.recent-draft-time-note{display:block;font-size:13px;line-height:16px;margin-top:2px;color:var(--muted)}
.recent-draft-no-time{color:#92a199}
.recent-draft-status{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border-radius:6px;background:#f0f3f1;color:#67776e;font-size:13px;line-height:16px;white-space:normal}
.recent-draft-status i{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.recent-draft-status.success{background:#edf7f1;color:#1e775c}.recent-draft-status.warning{background:#fff6e5;color:#a77319}.recent-draft-status.danger{background:#fff0ef;color:#b9514a}
.recent-draft-status-note{display:block;font-size:13px;color:#8a7356;line-height:16px;margin-top:4px}
.recent-draft-action .text-button{font-size:13px;white-space:nowrap;padding:4px 0;color:#14665b}
.recent-drafts-footer{padding:14px 29px;font-size:13px;color:var(--muted)}
@media(max-width:1100px) and (min-width:701px){.recent-drafts-table-wrap{padding:0 14px}.recent-drafts-table th,.recent-drafts-table td{padding-left:6px;padding-right:6px}.recent-draft-mode,.recent-draft-status{padding-inline:7px}.recent-draft-content strong{font-size:13px}}
@media(max-width:1000px){
 .recent-drafts-panel>.panel-heading{gap:10px;align-items:flex-start}.recent-drafts-heading{display:block}.recent-drafts-heading small{display:block;margin-top:4px;line-height:16px}
 .recent-drafts-table-wrap{padding:0 16px}.recent-drafts-table,.recent-drafts-table tbody{display:block}.recent-drafts-table colgroup,.recent-drafts-table thead{display:none}
 .recent-drafts-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;padding:16px 0;border-bottom:1px solid var(--line)}
 .recent-drafts-table td{display:block;padding:0;border:0;min-width:0}.recent-drafts-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:13px;line-height:16px;margin-bottom:5px}
 .recent-drafts-table .recent-draft-content{grid-column:1/-1}.recent-drafts-table .recent-draft-content::before{display:none}.recent-draft-content strong{font-size:13px}
 .recent-drafts-table .recent-draft-time{grid-column:2;grid-row:2}.recent-drafts-table .recent-draft-action{grid-column:2;grid-row:3;align-self:end}
 .recent-drafts-footer{padding:12px 16px}
}

/* Clearer text and borders across the existing admin surfaces. */
:root{--ink:#18382f;--muted:#53665f;--line:#c7d3cc}
.nav-label,.sidebar-bottom,.breadcrumb,.user-actions,.eyebrow,.stat-label,.stat small,.account-info small,.account-card .card-details,.quick-step p,.footer,.loading,.empty,.status-detail,.definition dt,.login-card p,.login-card>small,label small,.help,td .sub,.news-editor-heading small,.news-title-counter,.news-card-no-cover,.draft-record-preview>span{color:var(--muted)}
.breadcrumb span{color:#728278}.stat-label svg{stroke:#536f61}
.stat:first-child .stat-label,.stat:first-child small{color:#e1f0e7}.stat:first-child svg{stroke:#e1f0e7}
nav a,.secondary,label,td,.readonly-value,.material-info p,.draft-flow p,.draft-recovery-status p,.draft-record-account,.connection{color:#40584b}
input,select,textarea{border-color:#86988b}input::placeholder,textarea::placeholder{color:#63746c;opacity:1}
th,.recent-drafts-table th{color:#435c50;font-weight:600}td,.account-row{border-bottom-color:var(--line)}
.notice{color:#3f5e4e;border-color:#c5d6ca}.notice.warning{color:#795415;border-color:#d6be87}.notice.error{color:#973d2a;border-color:#d8afa2}
.badge{color:#226345;background:#e8f2eb}.badge.warning{color:#7b550d;background:#fff3dd}.badge.danger{color:#a13228;background:#fff0ec}.badge.neutral{color:#455e53;background:#eef2ef}
.avatar,.step-number{color:#386149}.recent-draft-no-time{color:var(--muted)}
.recent-draft-status{color:#465f53;background:#eef2ef}.recent-draft-status.success{color:#216249;background:#e8f3ec}.recent-draft-status.warning{color:#7a5310;background:#fff3dd}.recent-draft-status.danger{color:#a0332b;background:#fff0ed}.recent-draft-status-note{color:#765622}
.recent-draft-actions{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.recent-draft-action .cancel-schedule{color:#98462a}.recent-draft-action .text-button+button{margin-left:0}
.executor-status-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:24px;padding:20px 23px}.executor-status-grid>div{min-width:0}.executor-status-grid small{display:block;font-size:13px;color:var(--muted);margin-bottom:9px}.executor-status-grid strong{display:block;font-size:13px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.executor-status-grid p{font-size:13px;line-height:1.8;color:var(--muted);margin:9px 0 0}.executor-keepalive.success{color:#216249}.executor-keepalive.warning{color:#7a5310}.executor-panel[aria-busy="true"] [data-action="executor-refresh"]{cursor:wait}
@media(max-width:700px){.executor-status-grid{grid-template-columns:1fr;gap:17px;padding:18px}.executor-status-grid>div+div{border-top:1px solid var(--line);padding-top:16px}.recent-draft-actions{gap:6px}}

/* Service-account parameter QR codes: one compact text-left, square-cover-right news reply. */
dialog.qrcode-dialog{max-width:1040px;overflow:hidden}dialog.qrcode-dialog #dialog-form{display:flex;flex-direction:column;max-height:90vh;min-height:0;padding:0}dialog.qrcode-dialog .dialog-heading{padding:21px 26px 18px;border-bottom:1px solid var(--line);margin:0;flex:none}dialog.qrcode-dialog #dialog-content{overflow:auto;min-height:0}dialog.qrcode-dialog #dialog-form>.form-error{margin:0;padding:10px 26px;flex:none}dialog.qrcode-dialog #dialog-form>.form-error:empty{padding:0}dialog.qrcode-dialog .dialog-actions{margin:0;padding:15px 26px;flex:none;background:#fbfcfb}#parameter-qr-workspace{min-width:0}.parameter-qr-account{display:flex;align-items:center;gap:12px;padding:16px 26px;border-bottom:1px solid var(--line);background:#fcfdfc}.parameter-qr-account .avatar{height:36px;width:36px;border-radius:9px}.parameter-qr-account>div{flex:1;min-width:0}.parameter-qr-account strong{display:block;font-size:13px;overflow-wrap:anywhere}.parameter-qr-account small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.parameter-qr-account+.notice{margin:16px 26px}.parameter-qr-list-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:23px 26px 17px}.parameter-qr-list-heading h3{font-size:15px;margin:0}.parameter-qr-list-heading p,.parameter-qr-section-heading p{font-size:13px;line-height:1.7;color:var(--muted);margin:7px 0 0}.parameter-qr-list{padding:0 26px}.parameter-qr-record{display:grid;grid-template-columns:62px minmax(0,1fr) auto 125px;align-items:center;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.parameter-qr-record:last-child{border-bottom:0}.parameter-qr-record-cover{height:62px;width:62px;background:var(--pale);border:1px solid var(--line);border-radius:7px;overflow:hidden;display:grid;place-items:center;color:var(--primary);font-size:18px;font-weight:650;text-align:center}.parameter-qr-record-cover img{height:100%;width:100%;object-fit:cover}.parameter-qr-record-copy{min-width:0}.parameter-qr-record-copy h3{font-size:13px;line-height:1.6;margin-bottom:5px;overflow-wrap:anywhere}.parameter-qr-record-copy p{font-size:13px;color:var(--muted);margin:0 0 5px;overflow-wrap:anywhere}.parameter-qr-record-copy small{display:block;font-size:13px;color:var(--muted);line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.parameter-qr-record-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px 12px}.parameter-qr-record-actions .text-button{font-size:13px;padding:4px 0}.parameter-qr-list-note{padding:17px 26px;background:#f8faf8;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.8}.parameter-qr-editor,.parameter-qr-result{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);min-width:0}.parameter-qr-fields{padding:23px 26px;min-width:0}.parameter-qr-section-heading{margin-bottom:21px}.parameter-qr-section-heading h3{font-size:14px;margin:0}.parameter-qr-fields .form-grid{gap:17px}.parameter-qr-fields label{position:relative;display:block;line-height:1.7}.parameter-qr-fields label>input,.parameter-qr-fields label>textarea{margin-top:7px}.parameter-qr-fields label>small{display:block;margin-top:5px}.parameter-qr-fields .check{display:flex}.parameter-qr-fields .check input{margin:0}.parameter-qr-required{color:var(--primary)}.parameter-qr-cover-field{border:0;padding:0;margin:0;min-width:0}.parameter-qr-cover-field legend{font-size:13px;margin-bottom:5px;color:#40584b}.parameter-qr-cover-field>small{font-size:13px;color:var(--muted);line-height:1.7}.parameter-qr-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:11px}.parameter-qr-preset{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:7px;padding:5px;min-width:0;color:#627269}.parameter-qr-preset img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:3px}.parameter-qr-preset>span{font-size:13px;line-height:1.5;white-space:nowrap}.parameter-qr-preset i{display:none;position:absolute;right:3px;top:3px;background:#1b1b1b;color:#fff;height:17px;width:17px;border-radius:50%;font-size:13px;line-height:17px;font-style:normal}.parameter-qr-preset.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);background:#f4faf6;color:var(--primary)}.parameter-qr-preset.selected i{display:block}.parameter-qr-preset:hover{border-color:#7ba993}.parameter-qr-upload{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px;border:1px dashed #cfdcd4;border-radius:7px;background:#fbfdfb}.parameter-qr-upload label{flex:1;min-width:0;font-size:13px}.parameter-qr-upload input{font-size:13px;min-height:32px;padding:7px 8px}.parameter-qr-upload-preview{width:55px;height:55px;flex:none}.parameter-qr-upload-preview img{height:100%;width:100%;object-fit:cover;border-radius:5px}.parameter-qr-preview{padding:23px 23px 18px;background:#f7f9f7;border-left:1px solid var(--line);min-width:0}.parameter-qr-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.parameter-qr-preview-heading h3{font-size:13px;margin:0}.parameter-qr-preview-heading>span{font-size:13px;color:var(--muted)}.parameter-qr-chat{background:#ededed;padding:18px 14px 22px;margin-top:17px;border:1px solid #e5e8e5;border-radius:9px}.parameter-qr-chat-account{display:flex;align-items:center;gap:9px;font-size:13px;color:#6f7c73;margin-bottom:13px}.parameter-qr-chat-account .avatar{height:31px;width:31px;background:#fff;border:1px solid #dfe5df;border-radius:5px;font-size:13px}.parameter-qr-news{display:grid;grid-template-columns:minmax(0,1fr) 68px;grid-template-rows:auto 1fr;column-gap:12px;row-gap:7px;padding:13px;border-radius:6px;background:#fff;min-height:94px;box-shadow:0 1px 3px #213d2b08}.parameter-qr-news-title{grid-column:1;grid-row:1;font-size:14px;font-weight:500;line-height:1.45;color:#242b27;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.parameter-qr-news-description{grid-column:1;grid-row:2;font-size:13px;line-height:1.45;color:#858d87;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.parameter-qr-news-cover{grid-column:2;grid-row:1 / span 2;width:68px;height:68px;aspect-ratio:1;border-radius:3px;align-self:start;overflow:hidden;background:#e8f3ed;display:grid;place-items:center;text-align:center;color:var(--primary);font-size:20px;font-weight:650;line-height:1.25}.parameter-qr-news-cover img{width:100%;height:100%;object-fit:cover;display:block}.parameter-qr-reply-rule{margin-top:23px;border:1px solid #e0e8e1;background:#f1f6f1;border-radius:7px;padding:13px 15px;font-size:13px;color:#607668}.parameter-qr-reply-rule strong{font-size:13px;font-weight:550;color:var(--primary)}.parameter-qr-reply-rule p{margin:7px 0 0;line-height:1.9}.parameter-qr-preview>.help{font-size:13px;margin-top:12px;line-height:1.8}.parameter-qr-result-main{text-align:center;padding:25px 30px 22px;min-width:0}.parameter-qr-result-heading h3{font-size:17px;margin:12px 0 7px}.parameter-qr-result-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 auto 18px;max-width:320px;overflow-wrap:anywhere}.parameter-qr-result-mark{height:31px;width:31px;border-radius:50%;background:#e9f5ed;color:var(--primary);display:inline-grid;place-items:center;font-size:19px}.parameter-qr-result-mark.pending{background:#fff5df;color:#8f7745}.parameter-qr-code{position:relative;width:198px;height:198px;padding:12px;border:1px solid var(--line);border-radius:8px;margin:0 auto;background:#fff;display:grid;place-items:center}.parameter-qr-code>img{width:172px;height:172px;object-fit:contain}.parameter-qr-code>p{font-size:13px;line-height:1.8;color:var(--muted);padding:10px;margin:0}.parameter-qr-code-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--muted);background:#fff;pointer-events:none}.parameter-qr-code-error{font-size:13px;margin-top:10px}.parameter-qr-result-title{display:block;margin-top:16px;font-size:13px;font-weight:500;overflow-wrap:anywhere}.parameter-qr-result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:15px}.parameter-qr-result-actions .disabled{opacity:.45;pointer-events:none}.parameter-qr-link{display:flex;align-items:flex-end;gap:10px;text-align:left;max-width:360px;margin:18px auto 0}.parameter-qr-link label{flex:1;min-width:0;font-size:13px;gap:5px}.parameter-qr-link input{font-size:13px;padding:8px;min-height:33px;color:var(--muted)}.parameter-qr-link .text-button{flex:none;font-size:13px}.parameter-qr-bottom-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 26px;border-top:1px solid var(--line)}#parameter-qr-status{padding:0 26px;margin:0;font-size:13px;line-height:1.8}#parameter-qr-status:not(:empty){padding-top:12px;padding-bottom:12px}#parameter-qr-status.error{color:var(--danger)}.parameter-qr-cover-fallback{font-size:13px;line-height:1.6;text-align:center;color:var(--danger)}
@media(max-width:800px){dialog.qrcode-dialog{width:calc(100% - 20px)}.parameter-qr-editor,.parameter-qr-result{grid-template-columns:minmax(0,1fr)}.parameter-qr-preview{border-left:0;border-top:1px solid var(--line)}.parameter-qr-chat{max-width:390px;margin-inline:auto}.parameter-qr-preview-heading,.parameter-qr-reply-rule,.parameter-qr-preview>.help{max-width:390px;margin-inline:auto}.parameter-qr-record{grid-template-columns:52px minmax(0,1fr) auto;gap:12px}.parameter-qr-record-cover{width:52px;height:52px}.parameter-qr-record-actions{grid-column:2 / -1;justify-content:flex-start;gap:5px 18px}.parameter-qr-record-status .badge{font-size:13px}.parameter-qr-list-heading{align-items:flex-start}.parameter-qr-list-heading>.button{flex:none;font-size:13px;padding:8px 10px}.parameter-qr-fields{padding:20px 22px}.parameter-qr-presets{max-width:440px}.parameter-qr-result-main{padding:23px}.parameter-qr-result .parameter-qr-preview{padding-bottom:23px}}
@media(max-width:480px){dialog.qrcode-dialog .dialog-heading{padding:16px 18px}dialog.qrcode-dialog .dialog-heading h2{font-size:16px}dialog.qrcode-dialog .dialog-actions{padding:13px 18px}.parameter-qr-account{padding:14px 18px}.parameter-qr-list-heading{padding:19px 18px 13px;flex-wrap:wrap}.parameter-qr-list{padding-inline:18px}.parameter-qr-fields,.parameter-qr-preview{padding:19px 18px}.parameter-qr-presets{gap:7px}.parameter-qr-preset{padding:3px}.parameter-qr-preset>span{font-size:13px}.parameter-qr-upload{padding:10px}.parameter-qr-chat{padding:14px 10px 18px}.parameter-qr-news{padding:11px;column-gap:10px}.parameter-qr-list-note{padding:14px 18px}.parameter-qr-bottom-actions{padding:13px 18px}.parameter-qr-account+.notice{margin:14px 18px}.parameter-qr-record{grid-template-columns:46px minmax(0,1fr) auto;gap:10px}.parameter-qr-record-cover{width:46px;height:46px}.parameter-qr-record-copy h3{font-size:13px}.parameter-qr-account small{font-size:13px}}
@media(min-width:801px){.parameter-qr-preview{position:sticky;top:0;align-self:start;min-height:440px}.parameter-qr-presets{max-width:390px}}
/* QR statistics remain within each record's copy column and wrap on narrow screens. */
.parameter-qr-list-heading>div:first-child{min-width:0}.parameter-qr-list-tools{flex:none;gap:8px;justify-content:flex-end}.parameter-qr-list-tools .button{white-space:normal}.parameter-qr-scan-stats{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 16px;padding-top:9px;margin-top:9px;border-top:1px solid #edf1ed;font-size:13px;line-height:1.8;color:#607668;min-width:0;max-width:100%;overflow-wrap:anywhere}.parameter-qr-scan-metric{min-width:0;max-width:100%;overflow-wrap:anywhere}.parameter-qr-scan-metric strong{font-size:13px;font-weight:600;color:var(--primary);font-variant-numeric:tabular-nums}.parameter-qr-scan-recent{min-width:0;max-width:100%;color:var(--muted);overflow-wrap:anywhere}.parameter-qr-list-note p{margin:0}.parameter-qr-list-note p+p{margin-top:5px}
@media(max-width:800px){.parameter-qr-list-heading{flex-wrap:wrap}.parameter-qr-list-tools{min-width:0;max-width:100%;justify-content:flex-start}.parameter-qr-list-tools .button{font-size:13px;padding:8px 10px}.parameter-qr-scan-stats{gap:4px 12px}.parameter-qr-scan-recent{flex-basis:100%}}
@media(max-width:480px){.parameter-qr-list-tools{width:100%}.parameter-qr-scan-stats{font-size:13px;gap:4px 10px;padding-top:7px;margin-top:7px}.parameter-qr-scan-metric strong{font-size:13px}.parameter-qr-scan-recent{font-size:13px}.topbar .breadcrumb,.user-actions,#user-label{min-width:0}.topbar .breadcrumb,#user-label{overflow-wrap:anywhere;white-space:normal}#user-label{line-height:1.5}.user-actions #logout{flex:none;white-space:nowrap}}
/* Approved compact parameter-QR list; editor and QR result retain their existing layout. */
dialog.qrcode-list-dialog .dialog-heading{min-height:64px;padding:16px 24px}dialog.qrcode-list-dialog .dialog-heading h2{font-size:17px;line-height:24px}dialog.qrcode-list-dialog .dialog-actions{padding:12px 24px;border-top:0;background:#fff;align-items:center}dialog.qrcode-list-dialog .dialog-actions>.button{min-height:33px;padding:6px 14px;font-weight:500}.parameter-qr-footer-help{margin-right:auto;min-width:0}.parameter-qr-footer-help .text-button{font-size:13px;color:#8a978f;padding:7px 0;white-space:nowrap}.parameter-qr-workspace-list .parameter-qr-account{padding:13px 24px;gap:10px}.parameter-qr-workspace-list .parameter-qr-account .avatar{width:30px;height:30px;border-radius:8px;font-size:13px}.parameter-qr-workspace-list .parameter-qr-account>div{flex:initial}.parameter-qr-workspace-list .parameter-qr-account strong{font-size:13px}.parameter-qr-workspace-list .parameter-qr-account>.badge{font-size:13px;padding:3px 7px;flex:none}.parameter-qr-workspace-list .parameter-qr-list-heading{height:66px;min-height:66px;padding:0 24px;gap:12px;flex-wrap:nowrap;align-items:center}.parameter-qr-list-count{font-size:13px;color:#7d8b83;white-space:nowrap}.parameter-qr-workspace-list .parameter-qr-list-tools{width:auto;max-width:none;gap:9px;justify-content:flex-end}.parameter-qr-workspace-list .parameter-qr-list-tools .button{min-height:34px;padding:7px 12px;font-size:13px;font-weight:500;white-space:nowrap}.parameter-qr-workspace-list .parameter-qr-list{padding:0 24px 4px}.parameter-qr-table-wrap{min-width:0;border:1px solid var(--line);border-radius:8px}.parameter-qr-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;min-width:0}.parameter-qr-table .parameter-qr-status-col{width:104px}.parameter-qr-table .parameter-qr-count-col{width:90px}.parameter-qr-table .parameter-qr-actions-col{width:224px}.parameter-qr-table th{height:36px;padding:0 14px;background:#f7f9f7;font-size:13px;font-weight:500;color:#7c8b81;letter-spacing:0;border-bottom:1px solid var(--line);line-height:1.4;white-space:normal}.parameter-qr-table th:first-child{border-radius:8px 0 0 0}.parameter-qr-table th:last-child{border-radius:0 8px 0 0}.parameter-qr-table .parameter-qr-record{display:table-row;padding:0;border:0}.parameter-qr-table td{height:68px;padding:10px 14px;border-bottom:1px solid #edf1ed;vertical-align:middle;white-space:normal;min-width:0}.parameter-qr-table tbody tr:last-child td{border-bottom:0}.parameter-qr-table tbody tr:hover{background:#fbfdfb}.parameter-qr-record-identity{display:flex;align-items:center;gap:12px;min-width:0}.parameter-qr-table .parameter-qr-record-cover{height:44px;width:44px;flex:none;border-radius:6px;font-size:13px;line-height:1.25}.parameter-qr-table .parameter-qr-record-copy{min-width:0;flex:1}.parameter-qr-table .parameter-qr-record-copy h3{display:block;margin:0;font-size:13px;font-weight:500;line-height:1.5;color:#263d32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}.parameter-qr-table .parameter-qr-record-status .badge{padding:4px 7px;font-size:13px;line-height:16px;white-space:nowrap}.parameter-qr-table .parameter-qr-count-heading,.parameter-qr-table .parameter-qr-record-count{text-align:center}.parameter-qr-table .parameter-qr-record-count{font-size:14px;font-weight:550;line-height:1.35;font-variant-numeric:tabular-nums;color:#334d3f;overflow-wrap:anywhere;word-break:break-all}.parameter-qr-record-count>span{display:block;max-width:100%}.parameter-qr-record-count>small{display:none}.parameter-qr-table .parameter-qr-actions-heading{text-align:right;padding-right:18px}.parameter-qr-table .parameter-qr-record-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:nowrap;min-width:0;white-space:nowrap}.parameter-qr-table .parameter-qr-record-actions>.text-button,.parameter-qr-record-more>.text-button{flex:none;font-size:13px;padding:5px 0;margin:0}.parameter-qr-record-more{position:relative;min-width:0}.parameter-qr-record-more>.text-button{color:#718179}.parameter-qr-more-button>span{font-size:13px;margin-left:2px}.parameter-qr-more-menu{position:absolute;top:calc(100% + 4px);right:-8px;z-index:5;min-width:108px;padding:5px;border:1px solid #e2e9e3;border-radius:7px;background:#fff;box-shadow:0 7px 22px #1d302e18;display:grid;gap:0}.parameter-qr-more-menu>.text-button{text-align:left;padding:7px 10px;margin:0;font-size:13px;color:#53685d;border-radius:4px;line-height:1.5;white-space:nowrap}.parameter-qr-more-menu>.text-button:hover{background:#f0f6f1}.parameter-qr-table tbody tr:last-child .parameter-qr-more-menu{top:auto;bottom:calc(100% + 4px)}.parameter-qr-statistics{margin-top:14px;padding:14px 16px;background:#f7faf7;border:1px solid #e4ece5;border-radius:7px;font-size:13px;color:#73847a;line-height:1.8}.parameter-qr-statistics h3{font-size:13px;color:#3c5948;margin:0 0 6px}.parameter-qr-statistics p{margin:0}.parameter-qr-details{padding:23px 26px;min-width:0}.parameter-qr-details-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:21px}.parameter-qr-details-heading h3{min-width:0;margin:0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.parameter-qr-details-heading>.badge{flex:none;margin-top:3px}.parameter-qr-details dl{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;margin:0;font-size:13px;line-height:1.7}.parameter-qr-details dt{color:#94a096}.parameter-qr-details dd{min-width:0;margin:0;overflow-wrap:anywhere}.parameter-qr-details .parameter-qr-scan-stats{padding-top:15px;margin-top:20px}.parameter-qr-details>.help{margin:16px 0 0;font-size:13px;line-height:1.8}
@media(max-width:800px){.parameter-qr-workspace-list .parameter-qr-list-heading{padding-inline:18px}.parameter-qr-workspace-list .parameter-qr-list{padding-inline:18px}.parameter-qr-table,.parameter-qr-table tbody{display:block}.parameter-qr-table colgroup,.parameter-qr-table thead{display:none}.parameter-qr-table-wrap{border:0}.parameter-qr-table .parameter-qr-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;border:1px solid var(--line);border-radius:8px;margin-bottom:10px;padding:12px;min-width:0}.parameter-qr-table td{display:block;height:auto;padding:0;border:0;min-width:0}.parameter-qr-table .parameter-qr-record-main{grid-column:1/-1;margin-bottom:10px}.parameter-qr-record-identity{gap:10px}.parameter-qr-table .parameter-qr-record-cover{width:38px;height:38px;font-size:13px}.parameter-qr-table .parameter-qr-record-copy h3{font-size:13px;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.6;max-height:3.2em}.parameter-qr-table .parameter-qr-record-status{grid-column:2;grid-row:2;text-align:right;align-self:start}.parameter-qr-table .parameter-qr-record-status .badge{font-size:13px;line-height:15px;padding:3px 6px;max-width:84px}.parameter-qr-table .parameter-qr-record-count{grid-row:2;text-align:left;font-size:13px;font-weight:500;line-height:24px;align-self:start;display:flex;align-items:baseline;gap:3px;flex-wrap:wrap;padding-right:7px}.parameter-qr-table .parameter-qr-scan-count{grid-column:1}.parameter-qr-record-count::before{content:attr(data-label);font-size:13px;line-height:1.7;color:#93a097;flex-basis:100%}.parameter-qr-record-count>span{min-width:0;max-width:100%;line-height:1.6}.parameter-qr-record-count>small{display:inline;font-size:13px;font-weight:400;color:#93a097;line-height:1.6}.parameter-qr-table .parameter-qr-record-action-cell{grid-column:1/-1;grid-row:3;border-top:1px solid #eef1ed;padding-top:6px;margin-top:8px}.parameter-qr-table .parameter-qr-record-actions{gap:20px}.parameter-qr-table .parameter-qr-record-actions>.text-button,.parameter-qr-record-more>.text-button{font-size:13px}.parameter-qr-table tbody tr:last-child .parameter-qr-more-menu{top:auto;bottom:calc(100% + 4px)}.parameter-qr-details{padding:20px 22px}.parameter-qr-details .parameter-qr-scan-recent{flex-basis:100%}}
@media(max-width:480px){dialog.qrcode-list-dialog .dialog-heading{padding:14px 16px;min-height:55px}dialog.qrcode-list-dialog .dialog-heading h2{font-size:16px}.parameter-qr-workspace-list .parameter-qr-account{padding:11px 16px}.parameter-qr-workspace-list .parameter-qr-list-heading{height:60px;min-height:60px;padding:0 16px;gap:8px}.parameter-qr-workspace-list .parameter-qr-list-tools{gap:6px}.parameter-qr-workspace-list .parameter-qr-list-tools .button{font-size:13px;padding:6px 9px;min-height:33px}.parameter-qr-workspace-list .parameter-qr-list{padding:0 16px 3px}.parameter-qr-list-count{font-size:13px}dialog.qrcode-list-dialog .dialog-actions{padding:9px 16px 12px}.parameter-qr-details{padding:19px 18px}.parameter-qr-details dl{grid-template-columns:62px minmax(0,1fr);gap:10px;font-size:13px}.parameter-qr-details-heading{gap:10px}.parameter-qr-details-heading h3{font-size:13px}.parameter-qr-bottom-actions>.toolbar{gap:7px}.parameter-qr-bottom-actions>.toolbar .button{min-height:33px;padding:6px 9px;font-size:13px}}

/* Draft creation and content verification are independent results. */
.news-submit-bar .news-delivery-status{display:block;color:var(--primary);font-size:15px;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}.news-submit-bar .news-delivery-status[hidden]{display:none}.draft-created-notice>strong{display:block;font-size:15px}.draft-created-notice>p{margin:6px 0 0;line-height:1.8}

.news-readback-note{max-width:300px;white-space:normal;line-height:1.7}
.news-generation-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:none}.news-generation-actions .button{min-height:40px}.news-generation-actions [hidden]{display:none}#news-job-records table{white-space:normal}#news-job-records td:first-child{min-width:180px;max-width:310px;overflow-wrap:anywhere}#news-job-records td:nth-child(2){white-space:nowrap}#news-job-records td:nth-child(3){min-width:210px}#news-job-records td:nth-child(4){min-width:145px}#news-job-records td:last-child{min-width:145px}#news-job-records .news-readback-note{color:#7d715d}#news-job-records td .text-button{margin:4px 10px 4px 0}#news-job-records td .text-button+button{margin-left:0}
@media(max-width:700px){.news-generation-actions{justify-content:stretch}.news-generation-actions .button{flex:1;min-width:130px}}
/* Account operating settings share the existing dialog and form controls. */
.account-operations{border-top:1px solid #e8edf0;padding-top:12px;margin-top:12px}
.material-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:18px 0;color:#64748b}
.material-preview img{width:100%;height:100%;object-fit:contain}.material-preview>span{display:grid;place-items:center;height:100%;padding:4px;color:#64748b;text-align:center;font-size:13px;border:1px solid var(--line);border-radius:6px;background:#f6f8f6}
.material-preview:has(>span){height:76px;min-height:76px}
.eg-remote-item{padding:10px;border-bottom:1px solid var(--line)}.eg-remote-item small{display:block;margin-top:5px;color:var(--muted)}
dialog:has(.eg-root){width:min(1020px,96vw);max-width:1020px}.eg-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;margin-top:18px}.eg-layout>section{min-width:0}
.eg-fields{display:grid;gap:14px;margin-top:18px}.eg-fields label{display:grid;gap:6px}.eg-fields label.check{display:flex}.eg-fields input,.eg-fields select,.eg-fields textarea{width:100%}.eg-fields input[type=checkbox]{width:auto}
.eg-root button{border:1px solid #dce4e8;border-radius:7px;padding:8px 12px;background:white;color:#334155;font:inherit;cursor:pointer}.eg-root button:disabled{opacity:.5;cursor:default}.eg-root button.primary{background:#008f76;color:white;border-color:#008f76}.eg-root button.danger{color:#b42318}.eg-list-row{margin-bottom:8px}.eg-list-row button{margin:3px;max-width:100%;overflow-wrap:anywhere}.eg-list-row button.selected{border-color:#16a085;background:#eaf8f2;color:#087f68}.eg-child-list{margin-left:20px;border-left:2px solid #d9e7e0;padding-left:8px;display:flex;flex-wrap:wrap}
.eg-preview{background:#f5f7f8;border-radius:14px;padding:16px;align-self:start;position:sticky;top:0}.eg-preview h3{margin:0 0 12px;font-size:15px}.eg-phone{border:1px solid #dce2e6;border-radius:16px;overflow:hidden;background:#ededed}.eg-phone-heading{text-align:center;background:#fafafa;padding:12px;font-weight:600}.eg-chat{min-height:260px;padding:16px 12px 100px;overflow-wrap:anywhere}.eg-bubble{background:white;border-radius:8px;padding:12px;white-space:pre-wrap;font-size:14px}.eg-bubble small{display:block;margin-top:10px;color:#64748b;font-size:13px}.eg-link{color:#1768ab}.eg-news{background:#fff;padding:12px;border-radius:8px}.eg-news img{width:100%;max-height:150px;object-fit:cover;margin:10px 0}.eg-news p{color:#64748b;font-size:13px}.eg-news span{display:block;border-top:1px solid #eee;padding-top:8px;font-size:13px}
.eg-menu-bar{display:flex;background:#fafafa;min-height:42px}.eg-menu-slot{flex:1;position:relative;min-width:0}.eg-menu-slot>button{width:100%;height:46px;border:0;border-left:1px solid #e1e5e8;background:transparent;font-size:13px;padding:5px;overflow-wrap:anywhere}.eg-submenu{position:absolute;bottom:52px;left:2px;right:2px;background:#fff;border:1px solid #dce2e6;border-radius:6px;display:grid}.eg-submenu button{border:0;background:transparent;padding:8px 3px;font-size:13px;border-bottom:1px solid #eee;overflow-wrap:anywhere}.eg-edit-actions,.eg-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.eg-actions details{width:100%}.eg-actions pre{white-space:pre-wrap;max-height:220px;overflow:auto;background:#f5f7f8;padding:12px;font-size:13px}.eg-preview label{display:grid;gap:6px}.eg-preview input{width:100%;margin-bottom:10px}#eg-test-result{margin-top:8px;font-size:13px}
@media(max-width:720px){.eg-layout{grid-template-columns:1fr}.eg-preview{position:static;max-width:340px;width:100%;margin:auto}.material-pagination{flex-wrap:wrap}}
.eg-rules.eg-list-mode .eg-layout{display:block}.eg-rules.eg-list-mode .eg-preview,.eg-rules.eg-list-mode #eg-fields,.eg-rules.eg-list-mode #eg-back{display:none}.eg-rules:not(.eg-list-mode) #eg-list,.eg-rules:not(.eg-list-mode) .eg-rules-toolbar,.eg-rules:not(.eg-list-mode) #eg-add{display:none}
.eg-rules-toolbar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:16px}.eg-rules-toolbar label{display:grid;gap:6px}.eg-rules-toolbar label:first-child{flex:1;min-width:220px}.eg-rules-toolbar input{width:100%}.eg-rules-toolbar>span{font-size:13px;color:var(--muted);padding-bottom:10px}.eg-rules-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px}.eg-rules-table{width:100%;border-collapse:collapse;min-width:720px}.eg-rules-table th,.eg-rules-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.eg-rules-table th{background:#f5f8f6;white-space:nowrap}.eg-rules-table td:nth-child(2){min-width:120px;max-width:200px;overflow-wrap:anywhere}.eg-rules-table td:nth-child(4){max-width:260px}.eg-rules-table td small{display:block;color:var(--muted);margin-bottom:5px}.eg-rule-summary{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eg-rule-row-actions{display:flex;gap:6px;white-space:nowrap}.eg-rule-row-actions button{font-size:13px;padding:6px 8px}.eg-rule-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin:14px 0;font-size:13px}.eg-rules-list-actions{margin:12px 0}.eg-rules-list-actions label{display:grid;gap:6px}.eg-rules-list-actions textarea{width:100%}#eg-bulk-panel{padding:16px;border:1px solid var(--line);border-radius:8px;margin-top:12px;background:#f8faf9}#eg-back{margin:8px 0}
dialog:has(.eg-rules){width:min(1180px,96vw);max-width:1180px}dialog:has(.eg-rules) .dialog-actions{position:sticky;bottom:0;background:white;z-index:2;padding-top:14px}.eg-rules.eg-list-mode .eg-layout>section{display:grid;grid-template-columns:auto 1fr;gap:12px}.eg-rules.eg-list-mode .eg-rules-toolbar{grid-column:1/-1;order:0}.eg-rules.eg-list-mode #eg-add{order:1;align-self:start}.eg-rules.eg-list-mode .eg-rules-list-actions{order:2;margin:0}.eg-rules.eg-list-mode #eg-list{grid-column:1/-1;order:3}
.eg-rules #eg-list{min-width:0}.eg-rules-list-actions label.check{display:flex;align-items:center}.eg-rules-list-actions input[type=checkbox]{width:auto}
.kp-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;margin-top:20px}.kp-list{max-height:420px;overflow-y:auto;display:grid;gap:8px;margin-bottom:12px}.kp-program{display:grid;gap:5px;text-align:left;border:1px solid var(--line);border-radius:9px;padding:12px;background:white;color:var(--ink);width:100%;overflow-wrap:anywhere}.kp-program.selected{background:var(--pale);border-color:var(--primary)}.kp-program small,.kp-program span{font-size:13px;color:var(--muted)}.kp-editor{min-width:0}.kp-path-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.kp-path-heading h3{margin:0;font-size:14px}.kp-path-rows{max-height:410px;overflow:auto}.kp-path-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:12px}.kp-path-row label{display:grid;gap:6px;font-size:13px}.kp-path-row input{width:100%}.kp-path-row button{margin-bottom:7px}dialog:has(#kp-root){width:min(1080px,96vw);max-width:1080px}dialog:has(#kp-root) .dialog-actions{position:sticky;bottom:0;z-index:2;background:white;padding-top:14px}
@media(max-width:720px){.kp-layout{grid-template-columns:1fr}.kp-list{max-height:180px}.kp-path-row{grid-template-columns:1fr}.kp-path-row button{justify-self:start}.kp-path-heading{align-items:flex-start;flex-wrap:wrap}}
.dr-fields{display:grid;gap:14px;align-content:start}.dr-fields label{display:grid;gap:7px}.dr-fields label.check{display:flex;align-items:center}.dr-fields textarea{width:100%;min-height:200px}.dr-fields .help{margin:0}
/* Account workspace: scope all new styles to avoid changing existing editors. */
.aw-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.aw-selector,.aw-workspace{background:#fff;border:1px solid var(--line);border-radius:14px;min-width:0}.aw-selector{position:sticky;top:90px;overflow:hidden}.aw-selector-heading{padding:22px 18px 14px}.aw-selector h2{font-size:16px;margin:0 0 18px}.aw-selector h2>span{font-size:13px;color:var(--muted);font-weight:400;margin-left:7px}.aw-search{position:relative;display:block;margin-bottom:12px}.aw-search>svg{position:absolute;left:12px;top:12px;width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:1.5}.aw-search input{width:100%;padding:11px 10px 11px 37px;border:1px solid var(--line);border-radius:8px;background:#fafbf9;font-size:13px}.aw-filters{display:flex;gap:5px}.aw-filters button{flex:1;border:0;border-radius:7px;background:#f4f6f4;color:#687a72;padding:8px 4px;font-size:13px}.aw-filters button[aria-pressed=true]{background:#1b1b1b;color:#fff}.aw-list{max-height:640px;overflow:auto;overscroll-behavior:contain;padding:0 8px 10px}.aw-account{position:relative;width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;background:#fff;border-radius:9px;padding:13px 10px;color:var(--ink);margin:2px 0}.aw-account:hover{background:#f6f9f6}.aw-account.selected{background:#eef6f1;border-color:#dbece3}.aw-account.selected:before{content:'';position:absolute;left:-9px;top:8px;bottom:8px;width:3px;background:#1b1b1b;border-radius:3px}.aw-avatar{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;background:#e7f1ed;color:var(--primary);font-size:14px;font-weight:700;overflow:hidden}.aw-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.aw-avatar-large{width:82px;height:82px;border-radius:20px;font-size:24px}.aw-account-copy{min-width:0;flex:1}.aw-account-copy strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.aw-account-copy small{display:block;font-size:13px;margin-top:5px;color:var(--muted)}.aw-ok{color:var(--primary)!important}.aw-warning{color:#ad6c25}.aw-chevron{font-size:21px;color:#94a49c;flex:none}.aw-list-count{padding:13px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.aw-workspace{padding:26px;min-height:650px}.aw-profile{display:flex;align-items:center;gap:18px}.aw-avatar-button{position:relative;border:0;background:none;padding:0;flex:none;line-height:0}.aw-camera{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:26px;height:26px;border:3px solid #fff;border-radius:50%;background:#1b1b1b;color:white}.aw-camera svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}.aw-profile-copy{min-width:0;flex:1}.aw-profile-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aw-profile-title h2{font-size:18px;margin:0;line-height:1.6;overflow-wrap:anywhere}.aw-profile-copy>p{font-size:13px;color:var(--muted);margin:6px 0 10px;overflow-wrap:anywhere}.aw-upload-button{font-size:13px;min-height:30px;padding:6px 12px}.aw-profile-settings{align-self:flex-start;font-size:13px;white-space:nowrap}.aw-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:25px 0 20px}.aw-tabs button{position:relative;border:0;background:none;color:#718078;padding:12px 0 15px;font-size:13px}.aw-tabs button[aria-selected=true]{color:var(--primary);font-weight:600}.aw-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;background:#1b1b1b;height:3px;border-radius:2px}.aw-setting{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:11px;padding:19px 18px;margin-bottom:13px}.aw-setting-icon{display:grid;place-items:center;background:#edf5f0;border-radius:12px;width:44px;height:44px;flex:none;color:var(--primary)}.aw-setting-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.aw-setting-copy{flex:1;min-width:0}.aw-setting-copy h3{font-size:14px;margin:0 0 7px}.aw-setting-copy p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.aw-setting-status{font-size:13px;color:#6d8075;white-space:nowrap}.aw-setting>.button{font-size:13px;min-width:100px;white-space:nowrap;padding:10px 14px;min-height:36px}.aw-section-title{font-size:13px;margin:26px 0 14px}.aw-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.aw-secondary-grid>button{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);padding:16px 14px;border-radius:10px;color:var(--ink)}.aw-secondary-grid>button:hover{background:#f6faf7;border-color:#cddfd3}.aw-secondary-grid>button>span:nth-child(2){flex:1;min-width:0}.aw-secondary-grid strong{display:block;font-size:13px}.aw-secondary-grid small{display:block;font-size:13px;color:var(--muted);margin-top:6px;line-height:1.7}.aw-secondary-grid .aw-setting-icon{width:36px;height:36px}.aw-secondary-grid .aw-setting-icon svg{width:20px}.aw-workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;font-size:13px;color:#89988f}.aw-workspace-footer button{font-size:13px}.aw-summary-error:empty{display:none}.aw-summary-error{display:flex;gap:12px;align-items:center;color:#99713d;background:#fbf8f1;padding:10px 12px;border-radius:8px;font-size:13px}.aw-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:start;margin:24px 0}.aw-section-heading h3{font-size:15px;margin:0 0 10px}.aw-section-heading p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}.aw-details{margin:0}.aw-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;padding:16px 4px;border-bottom:1px solid #eff3ef;font-size:13px;line-height:1.8}.aw-details dt{color:var(--muted)}.aw-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.aw-authorization-actions{display:flex;gap:15px;margin-top:22px}.aw-avatar-dialog{text-align:center}.aw-avatar-dialog>strong{display:block;margin:14px 0 8px;font-size:15px}.aw-avatar-dialog>p{font-size:13px;line-height:1.8;color:var(--muted)}.aw-avatar-dialog>label{text-align:left;margin:22px 0 14px}.aw-avatar-dialog label small{line-height:1.8}.aw-avatar-dialog .check{justify-content:center;font-size:13px}#aw-avatar-preview{display:flex;justify-content:center;min-height:100px;align-items:center}#aw-avatar-preview>img{width:100px;height:100px;object-fit:cover;border-radius:20px;border:1px solid var(--line)}
@media(min-width:1600px){.aw-layout{grid-template-columns:310px minmax(0,1fr)}.aw-workspace{padding:30px}.aw-account-copy strong{font-size:13px}}
@media(max-width:1200px){.aw-layout{grid-template-columns:240px minmax(0,1fr);gap:16px}.aw-workspace{padding:20px}.aw-setting{flex-wrap:wrap;gap:12px;padding:17px 14px}.aw-setting-status{margin-left:56px}.aw-setting>.button{margin-left:auto}.aw-setting>.aw-chevron{display:none}.aw-setting-copy{flex-basis:calc(100% - 65px)}.aw-secondary-grid{grid-template-columns:1fr}.aw-profile{gap:13px}.aw-profile-settings{padding:0;font-size:13px}.aw-profile-title h2{font-size:16px}.aw-avatar-large{width:68px;height:68px}.aw-workspace-footer{flex-wrap:wrap}}
@media(max-width:850px){.aw-layout{grid-template-columns:1fr}.aw-selector{position:static}.aw-selector-heading{padding:17px}.aw-selector h2{margin-bottom:12px}.aw-list{display:flex;gap:6px;max-height:180px;padding:0 12px 10px;overflow:auto}.aw-account{min-width:210px;max-width:260px;padding:10px;flex:none}.aw-account.selected:before{display:none}.aw-list-count{padding:10px 17px}.aw-workspace{min-height:0}.aw-setting-copy{flex-basis:auto}.aw-setting-status{margin-left:0}.aw-setting>.aw-chevron{display:block}}
@media(max-width:520px){.aw-workspace{padding:17px}.aw-profile{align-items:flex-start;gap:12px}.aw-profile-title h2{font-size:15px;flex-basis:100%}.aw-avatar-large{width:58px;height:58px;border-radius:14px;font-size:18px}.aw-profile-settings{display:none}.aw-setting-copy{flex-basis:calc(100% - 60px)}.aw-setting-status{margin-left:56px}.aw-setting>.button{min-width:95px}.aw-setting>.aw-chevron{display:none}.aw-tabs{gap:25px;margin-top:20px}.aw-profile-copy>p{font-size:13px}.aw-details>div{grid-template-columns:82px minmax(0,1fr)}.aw-section-heading{flex-wrap:wrap}.aw-workspace-footer>span{font-size:13px}}
.aw-page .sidebar{background:#1b1b1b;border-color:#1b1b1b}.aw-page .sidebar .brand{color:#fff}.aw-page .sidebar .brand small,.aw-page .sidebar .nav-label{color:#a3a3a3}.aw-page .sidebar nav a{color:#c8c8c8}.aw-page .sidebar nav a:hover{background:#292929}.aw-page .sidebar nav a.active{background:#383838;color:#f1f1f1}.aw-page .sidebar .sidebar-bottom{color:#a3a3a3}.aw-page .sidebar .connection{color:#c7c7c7}.aw-page .page-heading .eyebrow{display:none}.aw-page .page-heading h1{font-size:27px}.aw-page .aw-account.selected .aw-account-copy strong{color:#105a4a}
@media(max-width:700px){.aw-page .topbar{gap:12px}.aw-page .breadcrumb{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aw-page .user-actions{flex:none}.aw-page #user-label{display:none}}
/* Compact keyword rules workspace; menu/default reply editors keep their own layout. */
dialog.keyword-dialog{width:min(1320px,98vw);max-width:1320px;max-height:94vh;overflow:hidden;border-radius:14px}dialog.keyword-dialog #dialog-form{padding:22px;display:flex;flex-direction:column;max-height:94vh;min-height:0}dialog.keyword-dialog .dialog-heading{margin-bottom:10px;flex:none}dialog.keyword-dialog .dialog-heading h2{font-size:23px}dialog.keyword-dialog #dialog-content{overflow:auto;min-height:0;padding-right:4px}dialog.keyword-dialog .dialog-actions{flex:none;position:relative;margin-top:12px;padding-top:14px;border-top:1px solid var(--line);background:#fff;gap:10px}dialog.keyword-dialog .dialog-actions .button{font-size:14px;min-height:40px;padding:9px 19px}dialog.keyword-dialog .form-error{flex:none;margin:0}.kr-root{font-size:14px}.kr-root button,.kr-root input,.kr-root select,.kr-root textarea{font-size:14px}.kr-root button{cursor:pointer}.kr-root input:not([type=checkbox]),.kr-root select,.kr-root textarea{border:1px solid #dbe4df;border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink);min-height:40px;max-width:100%}.kr-root input[type=checkbox]{width:16px;height:16px;accent-color:#1b1b1b;flex:none}.kr-context{display:flex;align-items:center;gap:17px;margin:0 0 17px;color:#596f64;font-size:14px}.kr-context>strong{font-size:14px;font-weight:500}.kr-context>#kr-dirty-label{margin-left:auto;color:#a37427;font-size:13px}.kr-context #kr-back{font-size:14px;padding:0}.kr-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.kr-toolbar>input{flex:1;min-width:220px}.kr-filters{display:flex;gap:6px;flex-wrap:wrap}.kr-filters button{border:0;border-radius:7px;background:#f2f5f3;color:#566b60;min-height:40px;padding:9px 14px;font-size:14px}.kr-filters button[aria-pressed=true]{background:#1b1b1b;color:#fff}.kr-filters span{margin-left:4px;font-size:13px}.kr-list-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}.kr-list-actions>div{display:flex;gap:9px}.kr-root .button{font-size:14px;min-height:38px;padding:8px 14px}.kr-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;max-height:56vh}.kr-table{width:100%;min-width:880px;table-layout:auto;border-collapse:collapse}.kr-table th,.kr-table td{padding:11px 12px;font-size:14px;text-align:left;border-bottom:1px solid #edf1ed;vertical-align:middle}.kr-table th{position:sticky;top:0;z-index:1;background:#f4f7f4;color:#62786a;white-space:nowrap;font-size:13px}.kr-table tr:last-child td{border-bottom:0}.kr-table tr:hover td{background:#f8fbf8}.kr-table th:first-child,.kr-table td:first-child{width:34px;padding-left:13px;padding-right:2px}.kr-table td:nth-child(2){min-width:100px;max-width:180px;overflow-wrap:anywhere}.kr-table td:nth-child(3){white-space:nowrap}.kr-match{padding:4px 7px;border-radius:5px;background:#edf5ef;color:#317056;font-size:13px}.kr-summary{display:flex;align-items:center;gap:9px;min-width:200px;max-width:520px}.kr-reply-badge{display:inline-block;flex:none;font-size:13px;background:#eaf4f0;color:#267259;border-radius:5px;padding:4px 8px;white-space:nowrap}.kr-reply-badge.mini{color:#7951cf;background:#f2eafd}.kr-summary-text{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kr-preset-name{color:#6d8073;font-size:13px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kr-toggle{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:0;background:transparent;color:#607267;padding:3px 0;font-size:13px!important}.kr-toggle>span{position:relative;width:31px;height:18px;border-radius:20px;background:#a5b2aa;display:block}.kr-toggle>span:after{content:'';position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff}.kr-toggle[aria-checked=true]{color:var(--primary)}.kr-toggle[aria-checked=true]>span{background:#1b1b1b}.kr-toggle[aria-checked=true]>span:after{left:16px}.kr-row-actions{display:flex;align-items:center;gap:13px;white-space:nowrap}.kr-row-actions button{background:none;border:0;color:#216d9a;font-size:14px;padding:5px 0}.kr-row-actions .kr-danger{color:#9b6560}.kr-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px 0;color:#61776a;font-size:13px}.kr-pagination>div{display:flex;align-items:center;gap:6px}.kr-pagination button{border:1px solid #e1e8e1;border-radius:6px;min-width:32px;min-height:32px;background:#fff;color:#506a5b;padding:5px 8px}.kr-pagination button[aria-current=page]{background:#1b1b1b;color:#fff;border-color:var(--primary)}.kr-pagination>div>span:last-child{margin-left:10px}.kr-save-state{font-size:13px;color:#6b8072;margin-right:auto}.kr-selection:empty{display:none}.kr-selection{display:flex;gap:16px;align-items:center;background:#eef6f0;padding:9px 12px;margin-bottom:10px;border-radius:6px}.kr-selection button{color:var(--primary);background:none;border:0;padding:5px 0}.kr-bulk-panel{padding:15px;background:#f6f9f6;border:1px solid var(--line);border-radius:8px;margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.kr-bulk-panel label{display:grid;gap:7px;font-size:14px}.kr-bulk-panel label.check{display:flex;align-items:center;gap:8px}.kr-bulk-panel textarea{width:100%}.kr-bulk-panel .button{justify-self:end}.kr-rule-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(270px,1.25fr) auto;gap:22px;align-items:center;border-bottom:1px solid var(--line);padding:0 0 17px;margin-bottom:17px}.kr-root label{font-size:14px;color:#344d40}.kr-rule-fields>label:first-child{display:flex;align-items:center;gap:13px;white-space:nowrap;margin:0}.kr-rule-fields>label:first-child input{width:100%;min-width:0}.kr-match-controls{display:flex;align-items:center;gap:13px}.kr-match-controls>strong{white-space:nowrap;font-size:14px;font-weight:500}.kr-match-controls>div{display:flex}.kr-match-controls button{border:1px solid var(--line);background:#f6f8f6;color:#62796b;padding:10px 12px;white-space:nowrap}.kr-match-controls button:first-child{border-radius:6px 0 0 6px}.kr-match-controls button:last-child{border-radius:0 6px 6px 0}.kr-match-controls button[aria-pressed=true]{background:#1b1b1b;color:white;border-color:var(--primary)}.kr-enable{display:flex;align-items:center;gap:9px;margin:0}.kr-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.kr-reply-fields{min-width:0}.kr-type-row{display:flex;gap:16px;align-items:center;margin-bottom:20px}.kr-type-row>strong{font-size:14px;white-space:nowrap;font-weight:500}.kr-type-tabs{display:flex;flex-wrap:wrap;gap:5px;flex:1}.kr-type-tabs button{padding:10px 13px;border:1px solid #dfe5e1;color:#52695c;background:#fff;border-radius:6px;white-space:nowrap;min-height:40px}.kr-type-tabs button[aria-pressed=true]{background:#f0eafb;color:#7847ca;border-color:#9565dc}.kr-mini-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.kr-mini-heading strong{font-size:14px;font-weight:500}.kr-mini-heading a{font-size:13px;color:#216d9a}.kr-programs{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;max-height:165px;overflow:auto;margin-bottom:15px}.kr-programs button{display:flex;align-items:center;gap:12px;text-align:left;min-height:54px;background:white;border:1px solid var(--line);border-radius:7px;padding:10px 13px;color:#445c4f}.kr-programs button>span:first-child{font-size:23px;color:#8955d1}.kr-programs button strong{font-size:14px;overflow-wrap:anywhere}.kr-programs button[aria-pressed=true]{background:#f8f4ff;border-color:#9565dc}.kr-preset-check{margin-left:auto;color:#8855c7}.kr-path-row{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}.kr-path-row>strong{font-size:14px;font-weight:500;white-space:nowrap;padding-top:8px}.kr-paths{display:flex;flex-wrap:wrap;gap:7px;max-height:105px;overflow:auto}.kr-paths button{border:1px solid #dfe5e1;border-radius:6px;background:#fff;color:#52695c;padding:8px 11px;font-size:13px}.kr-paths button[aria-pressed=true]{border-color:#9565dc;color:#7847ca;background:#f8f4ff}.kr-reply-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:13px 15px}.kr-reply-grid label,.kr-text-content{display:grid;gap:7px;margin:0}.kr-reply-grid label:first-child,.kr-reply-grid label:last-child{grid-column:1/-1}.kr-reply-grid input{width:100%;min-width:0}.kr-text-content textarea{width:100%;resize:vertical}.kr-help{font-size:13px;color:#708276;margin-top:15px;line-height:1.7}.kr-help summary{cursor:pointer}.kr-help p{margin:9px 0}.kr-no-presets{font-size:13px;color:#7b8e81;padding:10px}.kr-preview{padding-left:22px;border-left:1px solid var(--line)}.kr-preview h3{margin:0 0 12px;font-size:15px}.kr-phone{border:1px solid #e5e9e6;border-radius:9px;overflow:hidden;background:#f1f4f2;padding-bottom:14px}.kr-phone-heading{font-size:13px;text-align:center;border-bottom:1px solid #e2e9e3;background:#f8faf8;padding:11px}.kr-user-bubble{margin:14px 12px 15px auto;width:fit-content;max-width:90%;border-radius:7px;background:#a8e88a;padding:9px 13px;font-size:14px;overflow-wrap:anywhere}#kr-message{padding:0 12px;overflow-wrap:anywhere}#kr-message .eg-bubble{padding:11px;font-size:14px}#kr-message .eg-bubble small{font-size:13px;line-height:1.7;margin-top:7px}.kr-preview>label{display:grid;gap:7px;margin:15px 0 8px}.kr-preview>label input{width:100%}#kr-test-result{font-size:13px;line-height:1.7;overflow-wrap:anywhere}#kr-test-result>.eg-bubble{margin-top:8px;background:#f3f7f3}.kr-hit{color:var(--primary)}.kr-editor-tools{display:flex;align-items:center;gap:16px;margin:17px 0 0;border-top:1px solid #edf2ed;padding-top:12px}.kr-editor-tools button{padding:5px 0;background:none;border:0;color:#647b6c}.kr-editor-tools span{font-size:13px;color:#8b9a8f;margin-left:auto}.kr-delete-panel{padding:12px;background:#fff5f1;border:1px solid #ecd8cf;border-radius:7px;margin-top:14px;display:flex;align-items:center;gap:14px;font-size:14px}.kr-delete-panel>span{flex:1}.kr-status{font-size:13px;color:var(--primary);line-height:1.7;margin:12px 0 0}.kr-status:empty{display:none}.kr-empty{text-align:center!important;padding:35px!important;color:var(--muted)}
@media(max-width:1050px){.kr-editor-grid{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.kr-preview{padding-left:17px}.kr-type-row{display:block}.kr-type-row>strong{display:block;margin-bottom:9px}.kr-type-tabs button{padding:9px 11px}.kr-rule-fields{gap:13px;grid-template-columns:1fr 1fr auto}.kr-rule-fields>label:first-child{display:grid;gap:7px}.kr-match-controls{display:grid;gap:7px}.kr-reply-grid{grid-template-columns:1fr}.kr-programs{grid-template-columns:1fr 1fr}.kr-preset-name{display:none}}
@media(max-width:760px){dialog.keyword-dialog #dialog-form{padding:17px}dialog.keyword-dialog{width:98vw}.kr-editor-grid{grid-template-columns:1fr}.kr-preview{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:16px}.kr-phone{max-width:400px}.kr-rule-fields{grid-template-columns:1fr 1fr}.kr-enable{grid-column:1/-1}.kr-context{flex-wrap:wrap;gap:10px}.kr-context>#kr-dirty-label{margin-left:0}.kr-toolbar>input{flex-basis:100%}.kr-filters{flex:1}.kr-filters button{padding:8px 10px}.kr-toolbar select{max-width:130px}.kr-pagination{flex-wrap:wrap}.kr-editor-tools{flex-wrap:wrap}.kr-editor-tools span{flex-basis:100%;margin-left:0}.kr-bulk-panel{grid-template-columns:1fr}.kr-selection{gap:12px;flex-wrap:wrap}.kr-delete-panel{flex-wrap:wrap}.kr-delete-panel>span{flex-basis:100%}dialog.keyword-dialog .dialog-actions{flex-wrap:wrap;gap:8px}dialog.keyword-dialog .dialog-actions .button{font-size:13px;padding:9px 11px}.kr-save-state{flex-basis:100%}.kr-table-wrap{max-height:52vh}.kr-programs{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.kr-type-tabs{gap:5px}.kr-type-tabs button{padding:8px 10px;font-size:13px}.kr-rule-fields{grid-template-columns:1fr}.kr-context>strong{font-size:13px}.kr-programs{grid-template-columns:1fr}.kr-path-row{display:block}.kr-path-row>strong{display:block;margin-bottom:8px}}
.kr-root input[type=checkbox]{min-height:16px!important;height:16px!important;width:16px!important;padding:0!important;margin:0!important}.kr-toolbar>input{width:auto;flex:1 1 240px}.kr-toolbar>select{width:135px;flex:0 0 135px}.kr-table th,.kr-table td{padding-top:9px;padding-bottom:9px}.kr-table-wrap{max-height:calc(94vh - 285px)}
@media(max-width:760px){.kr-toolbar>input{flex-basis:100%}.kr-toolbar>select{width:125px;flex-basis:125px}.kr-table-wrap{max-height:48vh}}
.kr-table-wrap{max-height:calc(94vh - 340px)}.kr-reply-grid label{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px}.kr-rule-fields{padding-bottom:12px;margin-bottom:14px}.kr-type-row{margin-bottom:14px}.kr-programs{margin-bottom:12px}.kr-path-row{margin-bottom:12px}.kr-help{margin-top:10px}
@media(max-width:1050px){.kr-reply-grid label{grid-template-columns:95px minmax(0,1fr)}}
@media(max-width:760px){.kr-table-wrap{max-height:48vh}.kr-reply-grid label{grid-template-columns:88px minmax(0,1fr)}.kr-type-row{margin-bottom:15px}}
/* Default reply uses the same compact, direct-select controls as keyword replies. */
dialog.default-reply-dialog{width:min(1160px,98vw);max-width:1160px}.dr-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}.dr-topline>strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.dr-topline label{margin:0}.dr-enable{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:14px}.dr-compact #dr-enabled{appearance:none;position:relative;width:34px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;border:0;border-radius:14px;background:#a6b3ab;cursor:pointer;flex:none}.dr-compact #dr-enabled:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff}.dr-compact #dr-enabled:checked{background:#1b1b1b}.dr-compact #dr-enabled:checked:after{left:17px}.dr-priority{font-size:13px;color:#718677;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:16px}.dr-editor-grid{grid-template-columns:minmax(0,1fr) 280px;gap:23px}.dr-editor-grid>section{min-width:0}.dr-field-footer{display:flex;gap:15px;align-items:start;justify-content:space-between;margin-top:12px}.dr-field-footer #dr-count{font-size:13px;color:#7c8e81;flex:none}.dr-field-footer .dr-help{margin-top:0}.dr-help p{max-width:550px}.dr-user-bubble{background:#b5e8a2;padding:8px 11px;border-radius:7px;width:fit-content;max-width:90%;margin:13px 12px 14px auto;font-size:13px;overflow-wrap:anywhere}#dr-preview{padding:0 12px;overflow-wrap:anywhere}#dr-preview .eg-bubble{font-size:14px;padding:12px}#dr-preview .eg-bubble small{display:none}.dr-disabled-preview{color:#7a8e80;font-size:14px;background:#fff;border-radius:7px;padding:14px}.dr-compact .kr-text-content textarea{min-height:220px;line-height:1.75}.dr-compact #dr-status{font-size:14px}.dr-compact .kr-help{font-size:13px}
@media(max-width:950px){.dr-editor-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.dr-compact .kr-type-row{display:block}.dr-compact .kr-type-row>strong{display:block;margin-bottom:9px}}
@media(max-width:760px){.dr-editor-grid{grid-template-columns:1fr}.dr-topline{flex-wrap:wrap;gap:12px}.dr-topline>strong{font-size:14px}.dr-priority{line-height:1.7;margin-bottom:14px}.dr-field-footer{flex-wrap:wrap}.dr-compact .kr-text-content textarea{min-height:170px}.dr-compact .kr-preview{margin-top:4px}.dr-compact .kr-phone{max-width:none}}
.dr-compact .kr-text-content textarea{height:160px;min-height:140px;max-height:45vh;resize:vertical}
@media(max-width:760px){.dr-compact .kr-text-content textarea{height:145px;min-height:130px}}
/* Compact account menu editor; isolated from other engagement dialogs. */
.menu-compact #eg-list button{margin:0;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}.menu-compact .eg-preview,.menu-compact .eg-fields{min-width:0}
.menu-compact .eg-layout>section{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px 16px;align-content:start}.menu-compact #eg-list{grid-column:1;grid-row:1;display:grid!important;gap:7px!important}.menu-compact #eg-add{grid-column:1;grid-row:2;align-self:start;font-size:13px;padding:9px 5px}.menu-compact #eg-fields{grid-column:2;grid-row:1/4;margin-top:0;gap:8px}.menu-compact #eg-fields>label{margin-bottom:0}.menu-compact .poster-account{padding:0;border:0;background:none}.menu-compact .eg-fields .kr-type-row{margin:0}.menu-compact .eg-fields .kr-programs{margin:0}.menu-compact .eg-fields .kr-mini-heading{margin:0}.menu-compact .eg-fields .kr-type-tabs button{padding:8px 9px}.menu-compact .eg-layout{margin-top:10px}.menu-compact .eg-chat{padding:12px 10px 35px}.menu-compact .eg-list-row{min-width:0!important}
@media(max-width:950px){.menu-compact .eg-layout>section{grid-template-columns:115px minmax(0,1fr);gap:10px}.menu-compact .eg-fields .kr-programs{grid-template-columns:1fr}}@media(max-width:760px){.menu-compact .eg-layout>section{display:block}.menu-compact #eg-list{display:flex!important;flex-wrap:wrap}.menu-compact #eg-fields{margin-top:12px}.menu-compact .eg-fields>label{grid-column:1/-1!important}.menu-compact .eg-fields .kr-programs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.menu-compact .eg-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px}.menu-compact .eg-fields>*{grid-column:1/-1}.menu-compact .eg-fields>label:has([data-eg-field="appid"]),.menu-compact .eg-fields>label:has([data-eg-field="pagepath"]){grid-column:auto}.menu-compact .eg-fields>label{font-size:14px}.menu-compact .eg-fields .kr-programs{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-compact .eg-fields .kr-programs button{padding:10px 12px}.menu-compact .eg-fields .kr-path-row{margin:0}.menu-compact .eg-fields .kr-mini-heading{margin-top:0}
dialog.menu-dialog{width:min(1160px,98vw)}.menu-compact .poster-account{margin:0 0 10px}.menu-compact .poster-account span{display:none}.menu-compact>.notice{padding:9px 12px;margin-bottom:14px;font-size:14px}.menu-compact .eg-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.menu-compact #eg-list{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;margin-bottom:10px}.menu-compact .eg-list-row{margin:0;min-width:130px;flex:1}.menu-compact .eg-list-row>button{width:100%;text-align:left;padding:10px 12px;border-radius:7px}.menu-compact .eg-child-list{display:grid;gap:5px;padding:7px 0}.menu-compact .eg-child-list button{text-align:left;padding:8px 10px}.menu-compact .eg-fields{margin-top:14px;gap:11px}.menu-compact .eg-fields>label{display:grid;gap:6px;margin:0 0 10px}.menu-compact .eg-fields input,.menu-compact .eg-fields textarea{width:100%;min-width:0}.menu-compact .eg-preview{padding:0 0 0 18px;border-left:1px solid var(--line)}.menu-compact .eg-preview h3{margin:0 0 10px;font-size:15px}.menu-compact .eg-phone{min-height:220px}.menu-compact .eg-chat{min-height:100px}.menu-compact .eg-edit-actions{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.menu-compact .eg-actions{margin-top:12px;gap:10px;flex-wrap:wrap}.menu-compact #eg-status:empty{display:none}.menu-compact .kr-type-row{margin:10px 0}.menu-compact .kr-path-row{margin:10px 0}.menu-compact .eg-remote-item{overflow-wrap:anywhere}.menu-compact .eg-fields>label input{box-sizing:border-box}.menu-compact .kr-programs{margin:8px 0}.menu-compact .kr-help{margin-top:10px}.menu-compact .kr-text-content textarea{min-height:130px}
@media(max-width:760px){.menu-compact .eg-layout{grid-template-columns:1fr;gap:16px}.menu-compact .eg-preview{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.menu-compact .eg-phone{max-width:400px}.menu-compact .eg-list-row{min-width:100px}.menu-compact .kr-reply-grid{grid-template-columns:1fr}.menu-compact .kr-reply-grid label{grid-column:1/-1}}
/* Compact shared mini-program presets manager. */
dialog.presets-dialog{width:min(1160px,98vw);max-width:1160px}.kp-compact .kp-context{display:flex;align-items:center;gap:14px;margin-bottom:12px}.kp-compact .kp-context span{font-size:14px;color:var(--muted)}.kp-compact .kp-layout{grid-template-columns:220px minmax(0,1fr);gap:20px;margin-top:0}.kp-compact .kp-sidebar{border-right:1px solid var(--line);padding-right:16px;min-width:0}.kp-compact .kp-sidebar-heading,.kp-compact .kp-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.kp-compact #kp-search{width:100%;box-sizing:border-box;margin-bottom:10px}.kp-compact .kp-list{max-height:48vh;gap:6px;margin-bottom:8px}.kp-compact .kp-program{padding:10px;gap:6px;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto;align-items:center}.kp-compact .kp-program strong{font-size:14px}.kp-compact .kp-program span{font-size:13px;white-space:nowrap}.kp-compact #kp-count{font-size:13px;color:var(--muted);margin:8px 0}.kp-compact .form-grid{gap:12px;margin:0}.kp-compact .form-grid label{display:grid;gap:6px;margin:0;font-size:14px}.kp-compact .kp-editor-heading strong{font-size:15px}.kp-compact .kp-editor-heading button{font-size:13px}.kp-compact .kp-path-heading{margin:16px 0 10px;gap:10px}.kp-compact .kp-path-heading h3{font-size:15px;white-space:nowrap}.kp-compact .kp-path-heading h3 span{font-size:13px;color:var(--muted);font-weight:400;margin-left:6px}.kp-compact #kp-path-search{min-width:0;flex:1;max-width:260px}.kp-compact .kp-path-heading button{white-space:nowrap;padding:9px 10px;font-size:13px}.kp-compact .kp-table-head,.kp-compact .kp-path-row{display:grid;grid-template-columns:145px minmax(0,1fr) 42px;gap:10px;align-items:center}.kp-compact .kp-table-head{padding:9px 8px;background:#f3f7f4;border-radius:6px;font-size:14px;margin-bottom:5px}.kp-compact .kp-path-row{padding:6px 8px;border-bottom:1px solid #edf1ee;margin:0}.kp-compact .kp-path-row label{display:block;min-width:0;margin:0}.kp-compact .kp-path-row input{box-sizing:border-box;min-width:0;font-size:14px}.kp-compact .kp-path-row button{margin:0;padding:6px 0;font-size:13px}.kp-compact .kp-path-rows{max-height:45vh;overflow:auto}.kp-compact .kp-mobile-label{display:none}.kp-compact .kp-path-row[hidden]{display:none}.kp-compact>.kr-help{margin-top:12px}.kp-compact .empty{padding:35px 16px}.kp-compact .form-grid input{box-sizing:border-box;width:100%;min-width:0}
@media(max-width:760px){.kp-compact .kp-layout{grid-template-columns:1fr;gap:14px}.kp-compact .kp-sidebar{border:0;border-bottom:1px solid var(--line);padding:0 0 10px}.kp-compact .kp-list{display:grid;grid-template-columns:1fr 1fr;max-height:160px}.kp-compact .kp-program{grid-template-columns:1fr;gap:3px}.kp-compact .kp-context{display:none}.kp-compact .kp-path-heading{flex-wrap:wrap}.kp-compact #kp-path-search{order:3;flex-basis:100%;max-width:none}.kp-compact .kp-path-heading button{margin-left:auto}.kp-compact .kp-table-head{display:none}.kp-compact .kp-path-row{grid-template-columns:minmax(0,1fr) 42px;gap:7px}.kp-compact .kp-path-row label:first-child{grid-column:1}.kp-compact .kp-path-row label:nth-child(2){grid-column:1;grid-row:2}.kp-compact .kp-path-row button{grid-column:2;grid-row:1/3}.kp-compact .kp-mobile-label{display:block;font-size:13px;margin-bottom:4px}.kp-compact .kp-path-rows{max-height:48vh}.kp-compact .form-grid{grid-template-columns:1fr}}
.aw-page .sidebar nav a:hover{background:#292929}
.aw-page .sidebar nav a.active,.aw-page .sidebar nav a.active:hover{background:#383838;color:#f1f1f1}
.aw-page .sidebar .brand{color:#ededed}
.aw-page .sidebar .brand small,.aw-page .sidebar .nav-label,.aw-page .sidebar .sidebar-bottom{color:#a3a3a3}
.aw-page .sidebar nav a{color:#c8c8c8}
.aw-page .sidebar .connection{color:#c7c7c7}

/* Soft neutral surfaces; preserve semantic status colors and page behavior. */
:root{--ink:#34383b;--muted:#6b7176;--primary:#4d555c;--primary-dark:#343434;--pale:#eef0f1;--bg:#f1f2f2;--line:#dfe2e3;--white:#fafafa}
.aw-page .topbar{background:#f7f8f7}.aw-page .panel{background:#fafbfa}.aw-page dialog{background:#fafbfa}.aw-page input:not([type=checkbox]):not([type=radio]),.aw-page select,.aw-page textarea{background-color:#fcfcfb;border-color:#d7dcde;color:#34383b}.aw-page .table-wrap th{background:#f0f2f2;color:#586067}.aw-page .aw-account.selected{background:#e9edee;border-color:#cbd1d4}.aw-page .aw-account.selected .aw-account-copy strong{color:#34383b}.aw-page .aw-tabs button[aria-selected=true]{color:#34383b}.aw-page .sidebar nav a{transition:background-color .12s ease,color .12s ease}.aw-page .primary{border-color:#1b1b1b}.aw-page .primary:hover{background:#343434;border-color:#343434}
/* Shared soft gray controls for keyword, default, menu and preset dialogs. */
dialog.keyword-dialog{background:#fafbfa;color:#34383b;border-color:#d9dddf}
dialog.keyword-dialog .dialog-actions{background:#fafbfa;border-color:#dfe2e3}
dialog.keyword-dialog .button.secondary,dialog.keyword-dialog .kr-type-tabs button,dialog.keyword-dialog .kr-paths button,dialog.keyword-dialog .kr-programs button,dialog.keyword-dialog .kp-program,dialog.keyword-dialog .eg-list-row button,dialog.keyword-dialog .kr-pagination button{background:#f5f6f5;color:#4e555b;border-color:#d7dcde}
dialog.keyword-dialog .button.secondary:hover,dialog.keyword-dialog .kr-type-tabs button:hover,dialog.keyword-dialog .kr-paths button:hover,dialog.keyword-dialog .kr-programs button:hover,dialog.keyword-dialog .kp-program:hover,dialog.keyword-dialog .eg-list-row button:hover,dialog.keyword-dialog .kr-pagination button:hover{background:#e9ecec;border-color:#c4cace}
dialog.keyword-dialog .kr-type-tabs button[aria-pressed=true],dialog.keyword-dialog .kr-paths button[aria-pressed=true],dialog.keyword-dialog .kr-programs button[aria-pressed=true],dialog.keyword-dialog .kp-program.selected,dialog.keyword-dialog .eg-list-row button.selected{background:#e5e8e9;color:#30363a;border-color:#8a9297;box-shadow:inset 0 0 0 1px #8a9297}
dialog.keyword-dialog .kr-type-tabs button[aria-pressed=true]:hover,dialog.keyword-dialog .kr-paths button[aria-pressed=true]:hover,dialog.keyword-dialog .kr-programs button[aria-pressed=true]:hover,dialog.keyword-dialog .kp-program.selected:hover,dialog.keyword-dialog .eg-list-row button.selected:hover{background:#dde1e3}
dialog.keyword-dialog .kr-programs button>span:first-child,dialog.keyword-dialog .kr-preset-check{color:#596168}
dialog.keyword-dialog .kr-filters button,dialog.keyword-dialog .kr-match-controls button{background:#eef0f1;color:#596168;border-color:#d7dcde}
dialog.keyword-dialog .kr-filters button[aria-pressed=true],dialog.keyword-dialog .kr-match-controls button[aria-pressed=true],dialog.keyword-dialog .kr-pagination button[aria-current=page]{background:#383838;color:#f5f5f5;border-color:#383838}
dialog.keyword-dialog .kr-selection,dialog.keyword-dialog .kr-match,dialog.keyword-dialog .kr-reply-badge,dialog.keyword-dialog .kr-reply-badge.mini{background:#e9edee;color:#596168}
dialog.keyword-dialog .kr-context,dialog.keyword-dialog .kr-pagination,dialog.keyword-dialog .kr-help,dialog.keyword-dialog .kr-status,dialog.keyword-dialog .kr-preset-name,dialog.keyword-dialog .dr-priority,dialog.keyword-dialog .dr-disabled-preview,dialog.keyword-dialog .kr-editor-tools button,dialog.keyword-dialog .kr-editor-tools span,dialog.keyword-dialog .kr-toggle{color:#697177}
dialog.keyword-dialog .kr-table-wrap,dialog.keyword-dialog .kr-preview,dialog.keyword-dialog .eg-preview,dialog.keyword-dialog .eg-child-list,dialog.keyword-dialog .kp-sidebar{border-color:#dfe2e3}
dialog.keyword-dialog .kr-table th,dialog.keyword-dialog .kp-table-head{background:#eef0f1;color:#596168}
dialog.keyword-dialog .kr-table td,dialog.keyword-dialog .kp-path-row,dialog.keyword-dialog .kr-editor-tools{border-color:#e2e5e6}
dialog.keyword-dialog .kr-table tr:hover td{background:#f0f2f2}
dialog.keyword-dialog .kr-phone,dialog.keyword-dialog .eg-phone,dialog.keyword-dialog .eg-preview{background:#eef0f0;border-color:#dfe2e3}
dialog.keyword-dialog .kr-phone-heading,dialog.keyword-dialog .eg-phone-heading{background:#f5f6f5;border-color:#dfe2e3;color:#4e555b}
dialog.keyword-dialog .kr-user-bubble,dialog.keyword-dialog .dr-user-bubble{background:#dce1e3;color:#34383b}
dialog.keyword-dialog .kr-toggle>span,dialog.keyword-dialog #dr-enabled{background:#a6adb1}
dialog.keyword-dialog .kr-toggle[aria-checked=true]>span,dialog.keyword-dialog #dr-enabled:checked{background:#383838}
dialog.keyword-dialog .kr-toggle[aria-checked=true]{color:#4e555b}
dialog.keyword-dialog :focus-visible{outline:2px solid #788188;outline-offset:3px}
/* Shared dialog shell and controls, including create/edit/upload workflows. */
#dialog{background:#fafbfa;color:#34383b;border-color:#d9dddf}
#dialog .dialog-heading,#dialog .dialog-actions{border-color:#dfe2e3}
#dialog .dialog-actions{background:#fafbfa}
#dialog input:not([type=checkbox]):not([type=radio]),#dialog select,#dialog textarea{background:#fcfcfb;color:#34383b;border-color:#d7dcde}
#dialog input[type=checkbox],#dialog input[type=radio]{accent-color:#383838}
#dialog .button.primary{background:#1b1b1b;color:#f5f5f5;border-color:#1b1b1b}
#dialog .button.primary:hover{background:#343434;border-color:#343434}
#dialog .button.secondary,#dialog button:where(:not(.primary):not(.danger):not(.kr-danger):not(.news-delete):not(.text-button):not(#dialog-close)){background-color:#f5f6f5;color:#4e555b;border-color:#d7dcde}
#dialog .button.secondary:hover,#dialog button:where(:not(.primary):not(.danger):not(.kr-danger):not(.news-delete):not(.text-button):not(#dialog-close)):hover{background-color:#e9ecec;border-color:#c4cace}
#dialog .text-button:not(.danger),#dialog a{color:#4d555c}
#dialog .check-list,#dialog .poster-account,#dialog .draft-editor-media,#dialog .draft-recovery-status,#dialog .news-preview-heading,#dialog .parameter-qr-upload{background:#f0f2f2;border-color:#dfe2e3}
#dialog .check-list label:has(input:checked){background:#e5e8e9;color:#30363a;border-radius:4px;box-shadow:inset 0 0 0 1px #c4cace}
#dialog .poster-logo img,#dialog .draft-selected-images img,#dialog .draft-preview-images img,#dialog .news-preview-cover,#dialog .parameter-qr-preview,#dialog .parameter-qr-chat{background:#eef0f0;border-color:#dfe2e3}
#dialog .notice:not(.warning):not(.error):not(.success){background:#eef0f1;border-color:#dfe2e3;color:#596168}
#dialog .help,#dialog label small,#dialog .status-detail,#dialog .definition dt,#dialog .poster-account small{color:#697177}
#dialog .news-preview-tab,#dialog .parameter-qr-preset{background:#f5f6f5;color:#4e555b;border-color:#d7dcde}
#dialog .news-preview-tab.active,#dialog .parameter-qr-preset.selected,#dialog .kr-type-tabs button[aria-pressed=true],#dialog .kr-programs button[aria-pressed=true],#dialog .kr-paths button[aria-pressed=true],#dialog .kp-program.selected,#dialog .eg-list-row button.selected{background:#e5e8e9;color:#30363a;border-color:#8a9297;box-shadow:inset 0 0 0 1px #8a9297}
#dialog .news-preview-tab.active:hover,#dialog .parameter-qr-preset.selected:hover,#dialog .kr-type-tabs button[aria-pressed=true]:hover,#dialog .kr-programs button[aria-pressed=true]:hover,#dialog .kr-paths button[aria-pressed=true]:hover,#dialog .kp-program.selected:hover,#dialog .eg-list-row button.selected:hover{background:#dde1e3}
#dialog .kr-filters button[aria-pressed=true],#dialog .kr-match-controls button[aria-pressed=true],#dialog .kr-pagination button[aria-current=page]{background:#383838;color:#f5f5f5;border-color:#383838}
#dialog input[type=file]::file-selector-button{background:#eef0f1;color:#4e555b;border:1px solid #d7dcde;border-radius:4px;padding:6px 10px;margin-right:10px;cursor:pointer}
#dialog input[type=file]::file-selector-button:hover{background:#e5e8e9}
#dialog :focus-visible{outline:2px solid #788188;outline-offset:3px}
/* Readable account workspace text; retain compact layout and dialog sizing. */
#main .aw-account-copy strong{font-size:15px;line-height:1.6}
#main .aw-account-copy small{font-size:13px;line-height:1.5;margin-top:4px}
#main .aw-selector h2>span,#main .aw-list-count{font-size:13px}
#main .aw-search input,#main .aw-filters button{font-size:14px}
#main .aw-profile-title h2{font-size:20px;line-height:1.5}
#main .aw-profile-title .badge{font-size:13px}
#main .aw-profile-copy>p{font-size:14px;line-height:1.6}
#main .aw-upload-button,#main .aw-profile-settings,#main .aw-tabs button,#main .aw-setting>.button{font-size:14px}
#main .aw-setting-copy h3{font-size:16px;line-height:1.5;margin-bottom:5px}
#main .aw-setting-copy p{font-size:14px;line-height:1.65;color:#626a70}
#main .aw-setting-status{font-size:13px;line-height:1.5;white-space:normal}
#main .aw-section-title,#main .aw-secondary-grid strong{font-size:15px}
#main .aw-secondary-grid small{font-size:13px;line-height:1.6;color:#697177}
#main .aw-workspace-footer,#main .aw-workspace-footer>span,#main .aw-workspace-footer button,#main .aw-summary-error{font-size:13px;line-height:1.6}
#main .aw-details>div,#main .aw-section-heading p{font-size:14px;line-height:1.7}
#main:has(#account-workspace) .page-heading p{font-size:14px;line-height:1.6}
@media(max-width:520px){#main .aw-profile-title h2{font-size:18px}#main .aw-account-copy strong{font-size:14px}#main .aw-setting-copy p{font-size:13px}#main .aw-tabs{gap:22px}}

/* Readable shared UI type without changing content or behavior. */
#main p,#dialog p,#main label,#dialog label,#main td,#dialog td{font-size:14px;line-height:1.65}
#main input:not([data-news-field="title"]),#main select,#main textarea,#dialog input,#dialog select,#dialog textarea{font-size:14px}
#app-view button:not(.icon-button),#dialog button:not(.icon-button){font-size:14px!important}
#main .help,#dialog .help,#main label small,#dialog label small,#main .badge,#dialog .badge,#main .sub,#dialog .sub{font-size:13px;line-height:1.6}
.footer,.sidebar-bottom,.breadcrumb,.user-actions{font-size:13px;line-height:1.6}
#main .toolbar,#dialog .toolbar{flex-wrap:wrap}
#app-view small,#dialog small{font-size:13px;line-height:1.6}

/* Keep enlarged copy within its available column at narrow widths. */
#dialog .dr-field-footer .dr-help{flex:1;min-width:0;max-width:100%}
#dialog .kr-help p,#dialog .notice,#dialog .help,#dialog .status-detail,#dialog .definition dd{overflow-wrap:anywhere;word-break:normal}
.nav-backdrop,#nav-close,.nav-user{display:none}
@media(max-width:760px){
 body.mobile-nav-open{overflow:hidden}
 .sidebar{z-index:50;width:min(300px,calc(100vw - 56px));height:100dvh;max-height:100dvh;padding:20px 14px max(14px,env(safe-area-inset-bottom));transition:transform .18s ease;box-shadow:8px 0 28px #00000026}
 .sidebar .brand{margin:0 48px 20px 6px;font-size:18px;gap:10px}
 .sidebar .brand small{font-size:13px;letter-spacing:0}
 .sidebar .nav-label{margin-bottom:8px}
 .sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
 .sidebar nav a{min-height:44px;padding:11px 12px;font-size:14px}
 #nav-close{display:grid;place-items:center;position:absolute;top:16px;right:12px;width:44px;height:44px;padding:0;background:#292929;color:#dedede;border:1px solid #414141;border-radius:8px;font-size:24px}
 .nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:45;background:#00000059;border:0;padding:0;touch-action:manipulation}
 .nav-user{display:grid;gap:4px;flex:none;padding:12px 10px 0;color:#aaa;border-top:1px solid #383838;margin-top:10px;font-size:13px;line-height:1.5}
 .nav-user strong{font-size:13px;color:#d0d0d0;font-weight:400;overflow-wrap:anywhere}
 .sidebar .sidebar-bottom{flex:none;margin-top:0;padding:12px 10px 0;font-size:13px;line-height:1.5}
 .topbar,.aw-page .topbar{position:sticky;top:0;z-index:30;height:auto;min-height:60px;padding:8px 12px;gap:10px;background:#f7f8f7}
 #nav-toggle{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #d7dcde;border-radius:8px;background:#eef0f1;color:#34383b;font-size:22px}
 .topbar .breadcrumb,.aw-page .breadcrumb{flex:1;min-width:0;font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .topbar .breadcrumb>span{display:none}.topbar .breadcrumb strong{font-size:14px;color:#34383b}
 .topbar .user-actions{flex:none;gap:0}.topbar #user-label{display:none}.topbar #logout{min-height:44px;padding:8px;font-size:14px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

.breadcrumb .breadcrumb-prefix{margin:0}
.kr-mobile-all{display:none}.kr-page-select{margin:0;display:flex;align-items:center}
@media(max-width:760px){
 :is(#main,#dialog) .mobile-records{overflow:visible;min-width:0}
 :is(#main,#dialog) .mobile-records .mobile-record-table{display:block;min-width:0;width:100%;table-layout:auto;background:transparent}
 :is(#main,#dialog) .mobile-records .mobile-record-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
 :is(#main,#dialog) .mobile-records .mobile-record-table tbody{display:grid;gap:12px;padding:12px;min-width:0}
 :is(#main,#dialog) .mobile-records .mobile-record-table tr{display:block;min-width:0;border:1px solid #dfe2e3;border-radius:8px;background:#fafbfa;overflow-wrap:anywhere}
 :is(#main,#dialog) .mobile-records .mobile-record-table td{display:block;position:relative;min-width:0;width:auto;max-width:none;white-space:normal;padding:9px 12px 9px 100px;border:0;border-bottom:1px solid #edf0f0;line-height:1.6;overflow-wrap:anywhere}
 :is(#main,#dialog) .mobile-records .mobile-record-table td::before{content:attr(data-label);position:absolute;left:12px;top:10px;width:78px;color:#697177;font-size:13px;line-height:1.6}
 :is(#main,#dialog) .mobile-records .mobile-record-table td:last-child{border-bottom:0}
 :is(#main,#dialog) .mobile-records .mobile-record-table td[data-label="操作"]:has(button){padding:10px 12px;border-top:1px solid #dfe2e3;background:#f3f5f4;border-radius:0 0 8px 8px}
 :is(#main,#dialog) .mobile-records .mobile-record-table td[data-label="操作"]:has(button)::before{position:static;display:block;width:auto;margin-bottom:7px}
 :is(#main,#dialog) .mobile-records .mobile-record-table td[data-label="操作"]:has(button) button{min-height:40px;padding:8px 11px;margin:3px 6px 3px 0;white-space:normal;max-width:100%}
 :is(#main,#dialog) .mobile-records .mobile-record-table .device-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
 :is(#main,#dialog) .mobile-records .mobile-record-table .badge{white-space:normal;max-width:100%}
 :is(#main,#dialog) .mobile-records .mobile-record-table .logs-request-id{max-width:100%}
 #main .aw-list{display:block;max-height:250px;overflow-y:auto;overflow-x:visible}
 #main .aw-account{width:100%;max-width:none;min-width:0}
 #dialog .kr-table-wrap{overflow-y:auto;overflow-x:visible;max-width:100%}
 #dialog .kr-table{display:block;min-width:0;width:100%}
 #dialog .kr-table thead,#dialog .kr-table thead tr{display:block}
 #dialog .kr-table th{display:none}
 #dialog .kr-table th:first-child{display:block;width:auto;padding:8px 12px;position:static}
 #dialog .kr-page-select{gap:9px;min-height:36px;font-size:14px}
 #dialog .kr-mobile-all{display:inline}
 #dialog .kr-table tbody{display:grid;gap:10px;padding:10px}
 #dialog .kr-table tbody tr{display:grid;grid-template-columns:32px minmax(0,1fr);min-width:0;padding:8px;border:1px solid #dfe2e3;border-radius:7px;background:#fafbfa}
 #dialog .kr-table td{display:block;position:relative;width:auto;min-width:0;max-width:none;border:0;white-space:normal;grid-column:1/-1;padding:8px 4px 8px 70px;overflow-wrap:anywhere}
 #dialog .kr-table td:first-child{grid-column:1;grid-row:1;width:auto;padding:8px 4px}
 #dialog .kr-table td:nth-child(2){grid-column:2;grid-row:1;min-width:0;max-width:none;padding:8px 4px;}
 #dialog .kr-table td:nth-child(n+3)::before{position:absolute;left:4px;top:8px;font-size:13px;color:#697177}
 #dialog .kr-table td:nth-child(3)::before{content:'匹配'}#dialog .kr-table td:nth-child(4)::before{content:'回复'}#dialog .kr-table td:nth-child(5)::before{content:'状态'}
 #dialog .kr-table td:nth-child(6){padding:8px 4px;border-top:1px solid #dfe2e3}
 #dialog .kr-summary{flex-wrap:wrap;min-width:0;max-width:100%}
 #dialog .kr-summary-text{white-space:normal;max-width:100%;overflow-wrap:anywhere;text-overflow:clip}
 #dialog .kr-row-actions{flex-wrap:wrap;gap:8px}
 #dialog .kr-row-actions button{min-height:40px;padding:8px 10px;border:1px solid #d7dcde;border-radius:5px}
 #dialog .kr-table td[colspan]{grid-column:1/-1;padding:18px 8px}
}
@media(max-width:760px){
 #dialog .kr-list-actions{gap:6px}
 #dialog .kr-list-actions>div{display:flex;gap:6px;min-width:0}
 #dialog .kr-list-actions .button{min-width:0;padding:8px 6px;white-space:nowrap}
}
@media(max-width:340px){#dialog .kr-list-actions{flex-wrap:wrap}#dialog .kr-list-actions>div{width:100%}#dialog .kr-list-actions>div>button{flex:1}#dialog .kr-list-actions>#kr-add{width:100%}}
@media(max-width:760px){
 #main .recent-draft-actions{flex-direction:row;flex-wrap:wrap;gap:6px}
 #main .recent-draft-action button{min-height:40px;padding:8px 10px;border:1px solid #d7dcde;border-radius:5px;max-width:100%;white-space:normal}
 #main .button,#main .draft-job-actions .button,#main .aw-setting>.button,#main .material-pagination button,#main .logs-pagination button{min-height:40px}
 #main .draft-job-actions .text-button{display:inline-flex;align-items:center;min-height:40px;padding:8px 6px}
}

/* Parameter QR mini-program replies share keyword presets and neutral controls. */
.parameter-qr-mini .parameter-qr-name{display:grid;gap:7px;margin:0 0 14px;font-size:14px}.parameter-qr-mini input{width:100%;min-width:0}.parameter-qr-mini .kr-reply-grid{grid-template-columns:minmax(0,1fr);gap:11px}.parameter-qr-mini .kr-programs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.parameter-qr-mini .kr-mini-heading{margin-top:12px}.parameter-qr-mini .kr-reply-grid label{grid-column:1/-1;grid-template-columns:90px minmax(0,1fr)}.parameter-qr-type-row{margin:0 0 14px}.parameter-qr-mini .kr-path-row{display:block}.parameter-qr-mini .kr-path-row>strong{display:block;padding:0;margin-bottom:7px}#parameter-qr-mini-preview{overflow-wrap:anywhere}#parameter-qr-mini-preview .eg-bubble{font-size:14px;margin-top:14px}.parameter-qr-mini .kr-help{font-size:13px}.parameter-qr-mini .kr-programs button>span:first-child,.parameter-qr-mini .kr-preset-check{color:var(--muted)}
@media(max-width:440px){.parameter-qr-mini .kr-programs{grid-template-columns:1fr}.parameter-qr-mini .kr-reply-grid label{grid-template-columns:1fr}.parameter-qr-type-row{display:block}.parameter-qr-type-row>strong{display:block;margin-bottom:8px}}
.parameter-qr-mini>label.check{display:flex;align-items:center;gap:8px;margin-top:14px}.parameter-qr-mini>label.check input{width:16px;flex:0 0 16px}
