.reference-toolbar{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:9px;padding:10px 0!important;margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:auto;min-height:52px;white-space:nowrap}
.reference-toolbar button{flex-shrink:0;border-radius:9px;font-size:12px;padding:8px 15px;min-height:32px}.reference-toolbar input{min-width:130px;width:160px;max-width:180px;padding:8px;border:1px solid #e5e9ee;border-radius:7px;margin-left:auto!important;font-size:12px}.reference-refresh,#campaign-refresh{width:44px;background:#94989e!important;color:#fff!important;font-size:18px!important;padding:4px!important}
#campaign-new,.reference-screen-tasks .primary{background:#67c429!important;color:#fff!important}#campaign-new{min-width:76px}#view-campaigns [data-campaign-batch=start]{background:#368bc6;color:#fff}#view-campaigns [data-campaign-batch=pause]{background:#e5b454;color:#fff}#view-campaigns [data-campaign-batch=finish]{background:#9b9b9b;color:#fff}#view-campaigns [data-campaign-batch=delete]{background:#f2979d;color:#fff}#campaign-statistics{background:#bac578;color:#fff}#campaign-batch-export{background:#368bc6;color:#fff}#ammo-open{background:#cf6897;color:#fff}#script-open{background:#a799f2;color:#fff}#market-open{background:#8aca12;color:#fff}
#workspace #view-campaigns{padding:20px}#campaign-status-tabs{display:flex;border-bottom:1px solid #e9edf1;margin:0!important;gap:0;overflow:auto}#campaign-status-tabs button{border:1px solid #e6e9ed;border-radius:0;background:white;color:#777;padding:12px 20px;margin-right:-1px;font-size:13px;white-space:nowrap}#campaign-status-tabs button.active{color:#368bc6;background:#fff;border-bottom-color:#fff}#view-campaigns .reference-task-table th{padding:13px 14px;font-size:12px;background:#f2f7f8;color:#687984;font-weight:600}#view-campaigns .reference-task-table td{font-size:12px;padding:12px 14px;border-bottom:1px solid #edf0f3}#view-campaigns .reference-task-table tbody tr:only-child td[colspan]{height:410px;text-align:center;color:#999}#view-campaigns .campaign-page-foot{border-top:1px solid #e9edf1;justify-content:center;font-size:12px;background:white}.reference-alerts{margin:8px 0;font-size:12px;color:#8d5454}.reference-alerts>summary{cursor:pointer}.reference-alerts #campaign-alerts{max-height:240px;overflow:auto;margin-top:8px}
.reference-table-wrap{overflow:auto;min-height:calc(100vh - 240px);border:1px solid #edf0f3;border-radius:7px}.reference-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.reference-table-wrap th{padding:14px 12px;background:#f3f7f8;color:#697a84;text-align:left;font-weight:600}.reference-table-wrap td{padding:14px 12px;border-bottom:1px solid #edf0f3;color:#66727a}.reference-table-wrap td .text-button{font-size:12px;margin-right:6px}.reference-table-wrap .reference-empty{text-align:center;color:#999;height:390px}.reference-pager{display:flex;gap:12px;justify-content:center;align-items:center;padding:15px;font-size:12px;color:#7e8991}.reference-pager select{width:auto;margin:0;padding:6px 12px;font-size:12px;border:1px solid #e6eaf0;background:#fff;border-radius:10px}.reference-pager button{background:#f4f7fa;padding:7px 12px;border-radius:6px}.reference-screen-results[hidden],.reference-screen-tasks[hidden]{display:none!important}.reference-screen-results>button{margin-bottom:12px}
dialog.reference-campaign-dialog{width:min(1200px,calc(100vw - 40px))!important;max-height:92vh;padding:0!important;border-radius:5px;overflow:auto;color:#606266;font-size:14px}#campaign-dialog .dialog-head{padding:20px;border-bottom:1px solid #ebeef5;margin:0}#campaign-dialog .dialog-head h2{font-size:18px;font-weight:400;color:#303133}#campaign-dialog .campaign-wizard{display:flex;gap:0;margin:26px 36px 32px}#campaign-dialog .campaign-wizard span{flex:1;position:relative;background:none!important;color:#a6a9ad;padding:0;border-radius:0;text-align:left;display:flex;flex-direction:column;gap:8px;font-size:14px}#campaign-dialog .campaign-wizard span:not(:last-child):after{content:'';position:absolute;left:28px;right:0;top:11px;height:2px;background:#dcdfe6}#campaign-dialog .campaign-wizard b{border:2px solid #c0c4cc;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:12px;background:#fff;z-index:1}#campaign-dialog .campaign-wizard small{font-size:14px;white-space:nowrap}#campaign-dialog .campaign-wizard .active{color:#409eff;font-weight:400}#campaign-dialog .campaign-wizard .active b{border-color:#409eff}#campaign-dialog .campaign-wizard .done{color:#67c23a}#campaign-dialog .campaign-wizard .done b{border-color:#67c23a}#campaign-dialog .campaign-wizard .done:after{background:#67c23a}
#campaign-dialog #campaign-form>label,#campaign-dialog #campaign-form>fieldset,#campaign-dialog .form-grid{margin:18px 36px}#campaign-dialog #campaign-form>label{font-size:14px;font-weight:400}#campaign-dialog fieldset{border:0;padding:0}#campaign-dialog legend{font-size:14px;padding:0;margin-bottom:14px;color:#606266}#campaign-dialog .reference-form-row{display:block}#campaign-dialog .reference-radios,.reference-radios{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center}.reference-radios label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:7px;font-weight:400!important;margin:0!important;cursor:pointer}.reference-radios input{width:14px!important;height:14px;margin:0!important;accent-color:#409eff}.reference-radios span{font-size:14px}#campaign-dialog textarea{font-size:14px;border-radius:4px;border:1px solid #dcdfe6;background:#fff;min-height:120px}#campaign-dialog select,#campaign-dialog input:not([type=checkbox]):not([type=radio]){border-radius:4px;border:1px solid #dcdfe6;padding:9px 12px;font-size:14px;background:#fff}#campaign-dialog [hidden]{display:none!important}#campaign-dialog .dialog-actions{padding:20px 36px;justify-content:center;border-top:1px solid #ebeef5;margin-top:24px}#campaign-dialog .dialog-actions button{font-size:14px;border-radius:4px;padding:11px 22px}#campaign-dialog .primary{background:#409eff;color:#fff}#campaign-form-error{margin:0 36px}#campaign-dialog #campaign-accounts label{display:flex;align-items:center;gap:10px;white-space:normal}#campaign-dialog #campaign-accounts input{width:15px}#campaign-dialog #campaign-accounts[hidden]{display:none!important}#campaign-dialog #campaign-media-tools{margin:18px 36px}
.reference-filter-dialog{width:min(640px,calc(100vw - 32px))!important}.reference-filter-dialog .dialog-head{border-bottom:1px solid #ebeef5;padding-bottom:16px}.reference-filter-dialog label{font-weight:400;font-size:14px}.reference-filter-dialog small{display:block;color:#909399;margin:10px 0;font-size:12px}.reference-filter-dialog a{font-size:12px;margin-left:12px}.reference-filter-dialog .primary{background:#409eff;color:white}.reference-filter-dialog textarea{border:1px solid #dcdfe6;border-radius:4px;padding:10px;font:inherit}.reference-filter-dialog .dialog-actions{justify-content:flex-end}
dialog.reference-campaign-dialog{width:min(1000px,calc(100vw - 40px))!important;border-radius:15px;max-height:90vh}#campaign-dialog .dialog-head{height:58px;background:#4098f5;color:#fff;border:0;padding:18px 20px}#campaign-dialog .dialog-head h2{color:#fff;font-size:18px}#campaign-dialog .dialog-head .close{color:#fff;background:transparent}#campaign-dialog .campaign-wizard{margin:20px 52px 28px}#campaign-dialog .campaign-wizard span{align-items:center;text-align:center}#campaign-dialog .campaign-wizard span:not(:last-child):after{left:calc(50% + 12px);right:calc(-50% + 12px)}#campaign-dialog .campaign-wizard .active{color:#303133;font-weight:700}#campaign-dialog .campaign-wizard .active b{border-color:#303133}#campaign-dialog .campaign-wizard .done{color:#409eff}#campaign-dialog .campaign-wizard .done b{border-color:#409eff}#campaign-dialog .campaign-wizard .done:after{background:#409eff}
#campaign-dialog #campaign-form>label{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;column-gap:20px;margin:16px 20px}#campaign-dialog #campaign-form>label>input,#campaign-dialog #campaign-form>label>textarea,#campaign-dialog #campaign-form>label>select,#campaign-dialog #campaign-form>label>small,#campaign-dialog #campaign-form>label>button{grid-column:2}#campaign-dialog #campaign-form>fieldset{margin:18px 20px;position:relative;min-height:24px}#campaign-dialog #campaign-form>fieldset>legend{float:left;width:150px;margin:0 20px 0 0;font-size:14px}#campaign-dialog .reference-form-row>.reference-radios{margin-left:170px;min-height:24px}#campaign-dialog .reference-form-row>select:not([hidden]),#campaign-dialog .reference-form-row>small{margin-left:170px;width:calc(100% - 170px)}#campaign-dialog #campaign-phones{width:500px;max-width:100%;height:90px;min-height:90px;resize:vertical}#campaign-dialog #campaign-txt{width:auto;border:0;font-size:12px}#campaign-dialog #campaign-txt-label>button{justify-self:start;padding:6px 12px;width:auto}#campaign-dialog #campaign-cancel{display:none}#campaign-dialog .dialog-actions{margin-top:24px;padding:10px 20px 20px}#campaign-dialog .dialog-actions button{border:1px solid #dcdfe6;background:white;color:#606266;min-width:82px;font-size:14px;padding:10px 20px}#campaign-dialog #campaign-accounts{margin-left:170px}#campaign-dialog #campaign-accounts+small{margin-left:170px}#campaign-dialog .reference-form-row small{font-size:12px;color:#909399;display:block;margin-top:8px}#campaign-dialog #campaign-form>label[hidden],#campaign-dialog #campaign-form>fieldset[hidden]{display:none!important}
@media(min-width:761px){body:has(#workspace:not(.hidden)){overflow:hidden}#workspace .main-wrap{height:100vh;overflow:hidden}#workspace main{height:calc(100vh - 54px);overflow:auto}}
#campaign-dialog #campaign-txt-label{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;margin-left:190px!important}#campaign-dialog #campaign-txt-label.hidden{display:none!important}#campaign-dialog #campaign-txt-label small{order:3;flex-basis:100%}#campaign-dialog #campaign-txt{width:190px!important}#campaign-dialog #campaign-txt-label button{color:#409eff;background:white;border:0;padding:5px 0}#campaign-dialog #campaign-form>.reference-form-row>legend:before{content:'* ';color:#f56c6c}
#workspace #view-service{padding:0;overflow:hidden}.reference-service-layout{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:calc(100vh - 66px)}.reference-service-nav{padding:28px 8px;background:#fafbfd;border-right:1px solid #e9edf2;display:flex;flex-direction:column;gap:8px}.reference-side-link{padding:12px 14px;text-align:left;background:transparent;color:#606975;font-size:14px;border-radius:5px}.reference-side-link.active{background:#eaf3ff;color:#409eff}.reference-service-layout>section{padding:20px;overflow:hidden;min-width:0}.reference-group-layout{display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid #e7ebef;min-height:calc(100vh - 200px)}.reference-groups{background:#fafbfc;border-right:1px solid #e7ebef;overflow:auto}.reference-group-search{display:flex;gap:4px;padding:10px}.reference-group-search input{width:100%;min-width:0;margin:0;border:1px solid #e0e6eb;background:white;border-radius:7px;font-size:12px;padding:8px 10px}.reference-group-search button{padding:2px 5px;background:transparent;font-size:20px;color:#8b939b}.reference-group-line{display:flex;align-items:center;min-height:42px}.reference-group{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;text-align:left;padding:12px;font-size:13px;color:#737d87}.reference-group.active{background:#ececf6;color:#5d6574}.reference-group-layout .reference-table-wrap{border:0;border-radius:0;min-height:calc(100vh - 275px)}.reference-group-layout .group-mini{background:transparent;padding:4px;font-size:12px;color:#8b949e}.reference-service-layout section[hidden]{display:none!important}.reference-service-layout table{width:100%;border-collapse:collapse;font-size:12px}.reference-service-layout table th{background:#f3f7f8;color:#657481;padding:13px 12px;text-align:left}.reference-service-layout table td{padding:13px 12px;border-bottom:1px solid #edf0f3}.reference-service-layout table th:first-child{width:36px}.reference-service-layout input[type=checkbox]{accent-color:#409eff;width:14px;margin:0}.reference-service-layout .reference-toolbar{padding-top:0!important}.reference-service-layout .reference-toolbar button{padding:8px 11px}.reference-service-layout .reference-toolbar .primary{background:#67c23a;color:white}.reference-service-layout .reference-toolbar input{max-width:170px}
dialog.reference-market-dialog{width:min(1000px,calc(100vw - 32px));padding:20px;max-height:90vh;overflow:auto}.reference-market-dialog h2{font-size:18px}.reference-market-dialog table{width:100%;border-collapse:collapse;margin-top:12px;font-size:13px}.reference-market-dialog th{background:#f5f7fa;text-align:left;padding:14px;color:#606266}.reference-market-dialog td{padding:14px;border-bottom:1px solid #ebeef5}.reference-market-dialog td[colspan]{height:160px;text-align:center;color:#909399}.reference-market-dialog select{width:260px;margin:0 14px;font-size:14px;padding:8px 12px;border:1px solid #dcdfe6;background:white}.reference-market-dialog .reference-toolbar{overflow:visible}

#campaign-content-section .reference-form-row{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}#campaign-content-section legend{width:150px!important}#campaign-content-section .reference-radios{display:flex;flex-wrap:wrap;gap:12px 20px;margin-left:170px}#campaign-content-section .reference-radios label:has(input:disabled){opacity:.45;cursor:not-allowed}#campaign-content-section>div>label{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:center;margin:12px 0;color:#606266;font-size:14px}#campaign-content-section label[hidden],.reference-content-media[hidden]{display:none!important}.reference-content-media{margin:18px 0 12px 170px;display:flex;gap:14px;align-items:center;font-size:13px}#campaign-content-section input:not([type=radio]){max-width:500px;margin:0}#campaign-content-section input[type=radio]{width:14px;height:14px;margin:0 6px 0 0}#campaign-content-section .reference-radios label{display:flex;align-items:center;white-space:nowrap}#campaign-content-section .reference-radios label span{white-space:nowrap}
.reference-group-layout table{width:100%;border-collapse:collapse;font-size:12px}.reference-group-layout th{background:#f3f7f8;color:#657481;padding:13px 12px;text-align:left;white-space:nowrap}.reference-group-layout td{padding:13px 12px;border-bottom:1px solid #edf0f3}.reference-group-layout input[type=checkbox]{width:14px;accent-color:#409eff;margin:0}.reference-group-layout img{max-width:200px;max-height:110px;object-fit:contain}.reference-group-layout audio{max-width:230px}.reference-group-layout video{max-width:230px;max-height:130px}.reference-group-layout>section{min-width:0}.reference-table-wrap{overflow:auto}.reference-operation-dialog .dialog-head{background:#409eff;color:white;padding:18px 20px;margin:-24px -24px 24px}.reference-operation-dialog .dialog-head h2,.reference-operation-dialog .dialog-head .close{color:white}.reference-operation-dialog label{display:block;margin:14px 0}.reference-operation-dialog input,.reference-operation-dialog select,.reference-operation-dialog textarea{margin-top:8px}.reference-operation-dialog .reference-radios label{display:inline-flex;gap:6px;margin-right:18px;align-items:center}.reference-operation-dialog .reference-radios input{width:14px;margin:0}

#workspace #campaign-list .reference-task-table tbody tr:only-child>td[colspan]{height:410px!important;vertical-align:middle!important;text-align:center!important}#campaign-form>.reference-account-field{position:relative;min-height:160px;padding:0 20px!important;border:0!important}#campaign-form>.reference-account-field>legend{position:absolute;left:20px;top:8px;width:150px;font-size:14px;font-weight:400;color:#606266}#campaign-form>.reference-account-field>select{margin:0 0 8px 170px;width:calc(100% - 170px);font-size:14px}#campaign-form>.reference-account-field>small{display:block;margin:0 0 20px 170px;font-size:12px;color:#909399}#campaign-form>.reference-account-field>.reference-radios{margin-left:170px;display:flex;gap:18px}#campaign-form>.reference-account-field>.reference-radios label{display:flex!important;align-items:center;gap:6px!important;margin:0!important;padding:0!important;font-size:14px}#campaign-form>.reference-account-field>.reference-radios input{width:14px;margin:0}#campaign-dialog #campaign-accounts{max-height:240px;overflow:auto;display:grid;gap:6px}#campaign-dialog #campaign-accounts[hidden]{display:none!important}#campaign-dialog #campaign-accounts label{display:flex!important;gap:8px!important;align-items:center;margin:0!important;padding:8px;background:#f7f9fc;border-radius:5px}#campaign-dialog #campaign-accounts input{width:14px;margin:0}#campaign-dialog .form-grid{display:contents}#campaign-dialog #campaign-preview p{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:8px 20px;margin:0;font-size:14px}#campaign-preview strong{font-weight:400;color:#303133;white-space:pre-wrap;overflow-wrap:anywhere}

#campaign-dialog .reference-rich-switch{display:flex!important;gap:6px!important;align-items:center!important;margin:8px 20px 18px 190px!important;padding:0!important;width:max-content;font-size:13px}#campaign-dialog .reference-rich-switch input{width:14px;margin:0}#campaign-dialog .reference-rich-switch[hidden],#campaign-content-section fieldset[hidden],#campaign-content-section label[hidden]{display:none!important}#campaign-content-section>label{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;margin:12px 0;color:#606266;font-size:14px}#campaign-content-section>label select{margin:0;max-width:500px}#campaign-dialog #campaign-form>.reference-form-row[hidden]{display:none!important}#campaign-dialog .reference-rich-editor{width:100%;border:1px solid #dcdfe6;border-radius:5px;overflow:hidden}#campaign-dialog .reference-rich-editor[hidden]{display:none!important}.reference-rich-toolbar{display:flex;gap:4px;padding:5px;background:#f6f8fa;border-bottom:1px solid #e7ebef}.reference-rich-toolbar button{border:0;background:transparent;padding:4px 8px;color:#606266;font-size:12px}.reference-rich-editor [contenteditable]{min-height:120px;max-height:230px;overflow:auto;padding:10px;outline:none;color:#303133;white-space:pre-wrap;font-weight:400}

.reference-screen-results>.module-subtabs,.reference-screen-results>.page-heading,.reference-screen-results>.workbench-batch,.reference-screen-results>.workbench-next,.reference-screen-results>.workbench-flow,.reference-screen-results>.metrics,.reference-screen-results>#connect-banner{display:none!important}.reference-screen-results>.reference-result-title{font-size:18px;margin:12px 0 20px;color:#303133}.reference-screen-results .panel-title h2{display:none}.reference-screen-results.reference-no-query #progress-panel{display:none!important}.reference-screen-source{border:0;padding:0;margin:14px 0}.reference-screen-source legend{font-size:14px;color:#606266;margin-bottom:6px}.reference-screen-source label{font-size:14px}

#campaign-dialog .reference-target-count{grid-column:2;font-size:12px;color:#909399;margin-top:-8px}#campaign-content-section fieldset>legend:before{content:'* ';color:#f56c6c}
#campaign-dialog #campaign-content-section>fieldset.reference-form-row{position:relative;display:block!important;border:0!important;padding:0 20px!important;margin:18px 0!important;min-height:28px}#campaign-dialog #campaign-content-section>fieldset.reference-form-row>legend{position:absolute!important;float:none!important;left:20px!important;top:3px!important;width:150px!important;line-height:24px;margin:0!important;padding:0!important;font-size:14px;color:#606266}#campaign-dialog #campaign-content-section>fieldset.reference-form-row>.reference-radios{margin-left:170px!important;min-height:28px;align-items:center;gap:10px 12px}#campaign-dialog #campaign-content-section .reference-radios label{font-size:13px!important;margin:0!important;padding:0!important}#campaign-dialog #campaign-form>.reference-rich-switch{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:6px!important;margin:7px 20px 12px 190px!important;padding:0!important;width:max-content;min-height:20px;font-size:13px}#campaign-dialog #campaign-form>.reference-rich-switch[hidden]{display:none!important}#campaign-dialog #campaign-body{height:100px;min-height:100px}#campaign-dialog #campaign-form>.reference-form-row{margin-top:14px!important;margin-bottom:14px!important}
#campaign-dialog #campaign-content-section>fieldset.reference-form-row[hidden]{display:none!important}
#campaign-dialog #campaign-form>.reference-rich-switch{flex-direction:row!important;width:auto!important;justify-content:flex-start!important}#campaign-dialog #campaign-form>.reference-rich-switch>span{flex:none!important}
#campaign-dialog .dialog-actions{margin-top:12px!important;padding-bottom:16px!important}

/* Usability review: controls remain visible and keep their existing actions. */
#workspace .reference-toolbar{flex-wrap:wrap!important;overflow:visible;white-space:normal;gap:8px;align-items:center;margin-bottom:10px!important}
#workspace .reference-toolbar input{flex:1 1 180px;min-width:160px;max-width:260px;margin-top:0;margin-bottom:0}
#workspace .reference-toolbar button{min-height:34px;font-size:13px}
.workspace-selection-count{font-size:12px;color:#718096;padding:6px 8px;white-space:nowrap;flex-shrink:0}
#workspace .reference-toolbar button:disabled{opacity:1!important;background:#f4f6f9!important;border:1px solid #e7ecf2!important;color:#a1acba!important;cursor:not-allowed}
#workspace .reference-table-wrap .reference-empty{height:220px;color:#8b98a8;font-size:13px;text-align:center;white-space:normal}
.reference-empty>button{display:block;margin:14px auto 0!important;color:#3084d4;background:#eef5fe;border-radius:6px;padding:8px 14px}
#workspace #view-campaigns .reference-task-table tbody tr:only-child td[colspan]{height:270px;padding:0}
#view-campaigns .reference-task-table .campaign-empty{min-height:270px;border:0;border-radius:0;background:white}
#view-campaigns .reference-task-table .campaign-empty h2{font-size:16px;color:#42546a}
#view-campaigns .reference-task-table .campaign-empty p{font-size:12px}
#view-campaigns .reference-task-table .campaign-empty button{margin:0;padding:10px 16px}
#workspace .reference-group-layout{grid-template-columns:200px minmax(0,1fr)}
#workspace .reference-pager{flex-wrap:wrap;gap:10px;padding:14px}
#workspace .reference-pager button:disabled{opacity:1;color:#b1bbc7;background:#f6f8fb}
#workspace .reference-group-layout .reference-table-wrap,#workspace .reference-screen-tasks>.reference-table-wrap{min-height:360px}
#statistics-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
#statistics-stats article{border:1px solid #e6ebf2;background:#f8fafc;border-radius:9px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
#statistics-stats article span{font-size:12px;color:#7a899a}
#statistics-stats article strong{font-size:26px;font-weight:650;color:#334b65;font-variant-numeric:tabular-nums}
#statistics-chart{box-sizing:border-box;height:230px;overflow-x:auto;overflow-y:hidden;padding:16px 20px 12px}
#view-inbox .page-heading{justify-content:flex-start;gap:12px}
#view-inbox .page-heading h1{margin-right:auto}
#view-inbox .page-heading>details{margin-left:0}
#view-accounts th,#view-accounts td{font-size:13px;padding:14px 16px}
#view-security .connection-grid{align-items:start}
@media(max-width:900px){#statistics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .reference-group-layout{grid-template-columns:170px minmax(0,1fr)}.reference-service-layout{grid-template-columns:125px minmax(0,1fr)}}
@media(max-width:650px){#workspace .reference-toolbar input{max-width:none;flex-basis:100%;margin-left:0!important}#workspace .reference-group-layout{grid-template-columns:130px minmax(0,1fr)}#workspace .reference-toolbar button{padding:8px 10px;font-size:12px}#workspace .reference-service-layout{grid-template-columns:1fr}#workspace .reference-service-nav{flex-direction:row;overflow:auto;padding:8px;border-right:0;border-bottom:1px solid #e6ebf2}.reference-side-link{white-space:nowrap}#statistics-stats article{padding:12px}#statistics-stats article strong{font-size:23px}}

.reference-operation-dialog .dialog-head .close{background:transparent!important;border:0!important;color:#fff!important;font-size:24px;line-height:1;padding:0;display:grid;place-items:center;opacity:1}
.statistics-legend{display:flex;gap:18px;justify-content:flex-end;padding:0 24px;font-size:12px;color:#7a899a}.statistics-legend span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:#58ad7d}.statistics-legend .read::before{background:#3f8ee8}.statistics-legend .failed::before{background:#e67f73}
#workspace .reference-group-layout{height:calc(100dvh - 200px);min-height:360px}#workspace .reference-group-layout>div:last-child,#workspace .reference-group-layout>section{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}#workspace .reference-group-layout .reference-table-wrap{flex:1 1 0;min-height:0;overflow:auto;margin-bottom:0}#workspace .reference-group-layout .reference-pager{flex:none;margin-top:0}#workspace .reference-screen-tasks{display:flex;flex-direction:column;min-height:420px;height:calc(100dvh - 100px)}#workspace .reference-screen-tasks>.reference-table-wrap{flex:1 1 0;min-height:0;overflow:auto}#workspace .reference-screen-tasks>.reference-pager{flex:none}@media(max-height:600px){#workspace .reference-group-layout{min-height:240px}#workspace .reference-screen-tasks{min-height:320px}}

/* IP allocation owns its scroll area; never scroll the inventory page. */
#proxy-allocation-dialog{width:min(1100px,calc(100vw - 48px));height:min(820px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);padding:24px;overflow:hidden}#proxy-allocation-dialog>.panel-title{margin-bottom:16px}.ip-allocation-body{height:calc(100% - 58px);overflow:auto;overscroll-behavior:contain;padding-right:8px}.ip-allocation-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.ip-allocation-fields label{margin:0}.ip-allocation-capacity input[type=checkbox]{width:16px;display:inline-block;margin-right:8px}.ip-allocation-capacity input[type=number]{display:block}.ip-allocation-body>section{border:0;padding:12px 0;margin:0}.ip-allocation-actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:white;padding:16px 0 0}.ip-allocation-preview table{width:100%;border-collapse:collapse}.ip-allocation-preview th,.ip-allocation-preview td{padding:10px;text-align:left;border-bottom:1px solid #edf0f3}#proxy-allocation-dialog [hidden]{display:none!important}@media(max-width:700px){.ip-allocation-fields{grid-template-columns:1fr}#proxy-allocation-dialog{width:calc(100vw - 20px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px);padding:16px}}

#proxy-allocation-dialog[open]{display:flex;flex-direction:column}#proxy-allocation-dialog>.panel-title{flex-shrink:0;border-bottom:1px solid #edf0f3;padding-bottom:12px;margin-bottom:16px}.ip-allocation-body{flex:1;min-height:0;height:auto}.ip-allocation-fields label:nth-last-child(-n+2){grid-column:1/-1}.ip-allocation-capacity{display:grid!important;grid-template-columns:16px 1fr;column-gap:8px;align-items:center;align-content:start}.ip-allocation-capacity input[type=checkbox]{margin:0!important;width:16px!important;height:16px}.ip-allocation-capacity input[type=number]{grid-column:1/-1}.ip-allocation-actions{position:static;flex-shrink:0;border-top:1px solid #edf0f3;padding-top:12px;margin-top:12px}
