/* Shared commercial blue-white appearance for every admin screen. */
:root{--primary:#2878ff;--primary-hover:#1767ec;--primary-light:#edf5ff;--bg:#f3f8ff;--card:#fff;--text:#233e65;--muted:#8297b3;--border:#e0eafa;--accent:#2878ff;color-scheme:light}
body{background:#f3f8ff!important;color:#233e65;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
body .content{background:#f3f8ff!important;color:#233e65}
body .content :is(.card,.ai-panel,.op-panel,.act-panel,.mini-card,.style-panel,.banner-panel){background:#fff!important;border:1px solid #e0eafa!important;border-radius:15px!important;box-shadow:0 5px 20px rgba(47,91,151,.025)!important}
body .content :is(h1,h2,h3){color:#233e65}
body .content :is(.card-h,.card-header){background:#fff!important;border-bottom-color:#e5edf9!important}
body .content :is(.muted,.ai-note,.op-note,.act-sub,.act-note,.help-text,.form-hint){color:#8297b3!important}
body .content :is(.btn-primary,.ai-primary,.op-button:not(.secondary),.act-submit){background:#2878ff!important;color:#fff!important;border:1px solid #2878ff!important;border-radius:9px!important;box-shadow:none!important}
body .content :is(.btn-primary,.ai-primary,.op-button:not(.secondary),.act-submit):hover{background:#1767ec!important;border-color:#1767ec!important}
body .content :is(.btn:not(.btn-primary):not(.btn-danger),.ai-btn,.op-button.secondary){background:#f8fbff!important;color:#557cab!important;border:1px solid #dce8f9!important;border-radius:8px!important;box-shadow:none!important}
body .content :is(.btn-danger,[data-action*=delete],[data-table-delete],.danger){color:#cf6675!important;background:#fff2f4!important;border-color:#f7dfe5!important}
body .content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea){background:#fbfdff!important;color:#29466e!important;border:1px solid #dce7f7!important;border-radius:9px!important;box-shadow:none!important;max-width:100%;box-sizing:border-box}
body .content :is(input,select,textarea):focus{outline:2px solid #c0daff!important;outline-offset:1px;border-color:#77acff!important}
body .content :is(input[type=checkbox],input[type=radio]){accent-color:#2878ff}
body .content input[type=file]{background:#f5f9ff;border:1px dashed #cdddF5;border-radius:10px;padding:12px;max-width:100%;box-sizing:border-box}
body .content input[type=file]::file-selector-button{background:#edf5ff;color:#2878ff;border:1px solid #d6e7ff;border-radius:7px;padding:8px 12px;margin-right:12px;cursor:pointer}
body .content :is(table,.ai-table-wrap){border-color:#e1eafa!important;background:#fff!important}
body .content table th{background:#f1f6fe!important;color:#7a92b1!important;border-color:#e0eafa!important;font-weight:500}
body .content table td{color:#536f92;border-color:#e8eff9!important}
body .content table tbody tr{background:#fff!important}body .content table tbody tr:hover{background:#f7faff!important}
body .content :is(.badge,.chip,.ai-badge,.review-total){background:#edf5ff;color:#527fb7;border-color:#dfebfa}
body .content :is(.tabs,.model-provider-tabs,.search-bar){border-color:#e0eafa!important}
body .content :is(.tabs,.model-provider-tabs) :is(a.active,button.active){background:#eaf3ff!important;color:#2878ff!important;border-color:#d9e9ff!important}
body dialog{color:#233e65;background:#fff!important;border:1px solid #dfEafa!important;border-radius:18px!important;box-shadow:0 22px 80px #1b46752b!important;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px)}
body dialog::backdrop{background:rgba(26,49,81,.28)!important;backdrop-filter:blur(3px)}
body dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fbfdff!important;color:#29466e!important;border:1px solid #dce7f7!important;border-radius:9px!important;max-width:100%;box-sizing:border-box}
body dialog :is(.ai-primary,.btn-primary){background:#2878ff!important;border-color:#2878ff!important;color:#fff!important;border-radius:9px!important}
body dialog :is(.ai-btn,.btn:not(.btn-primary)){background:#f6faff!important;border:1px solid #dce8fa!important;color:#6384af!important;border-radius:8px!important}
body .content :is(.alert-info,.alert-success){background:#edf6ff!important;color:#547fae!important;border:1px solid #dcecff!important}
body .content button:disabled{opacity:.55;cursor:not-allowed}
body .login-wrap{color:#233e65}.login-wrap :is(.login-form,.login-panel,.login-right){background:#fff!important}.login-wrap input{background:#f7fbff!important;border-color:#dce8fa!important;color:#29466e!important}.login-wrap :is(.btn-primary,button[type=submit]){background:linear-gradient(110deg,#11b8ef,#2878ff)!important;border-color:#2878ff!important;color:#fff!important}
@media(max-width:800px){body .content{padding:16px!important}body .content :is(.card,.ai-panel,.op-panel,.act-panel){border-radius:12px!important}body .content table{min-width:600px}body .content :is(.table-wrap,.ai-table-wrap){overflow-x:auto}}
