/* WPLite Panel — bổ sung nhỏ cho Pico.css */
:root { --pico-font-size: 95%; }
main.container { padding-top: 1rem; }
.topbar { border-bottom: 1px solid var(--pico-muted-border-color); margin-bottom: .5rem; }
.topbar nav { padding: 0 1rem; }
.brand { font-weight: 700; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.row > * { margin-bottom: 0; width: auto; }
form.inline { display: inline; }
button.link { background: none; border: none; padding: 0 .3rem; color: var(--pico-primary); text-decoration: underline; width: auto; margin: 0; }
button.link.danger, .danger { color: #c62828; }
.narrow { max-width: 30rem; margin: 2rem auto; }
.muted { color: var(--pico-muted-color); }
.small { font-size: .85em; }
.ok { color: #2e7d32; }
.bad { color: #c62828; }
.flash { padding: .6rem .9rem; border-radius: .4rem; margin: .5rem 0; }
.flash.ok { background: #e8f5e9; color: #1b5e20; }
.flash.error { background: #ffebee; color: #b71c1c; }
.flash.warn { background: #fff8e1; color: #6d4c00; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 1rem; font-size: .8em; background: #eceff1; color: #37474f; }
.b-active, .b-done, .b-ready { background: #e8f5e9; color: #1b5e20; }
.b-error, .b-failed { background: #ffebee; color: #b71c1c; }
.b-suspended, .b-maintenance, .b-queued, .b-running, .b-creating, .b-deleting { background: #fff8e1; color: #6d4c00; }
.tabs, .subtabs { display: flex; gap: .2rem; flex-wrap: wrap; border-bottom: 1px solid var(--pico-muted-border-color); margin: .5rem 0 1rem; }
.tabs a, .subtabs a { padding: .4rem .8rem; text-decoration: none; border-bottom: 2px solid transparent; }
.tabs a.active, .subtabs a.active { border-bottom-color: var(--pico-primary); font-weight: 600; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; }
dl.kv dt { color: var(--pico-muted-color); }
dl.kv dd { margin: 0; }
.meter { margin-bottom: .6rem; }
.meter-label { display: flex; justify-content: space-between; font-size: .9em; }
progress.danger::-webkit-progress-value { background: #c62828; }
progress.danger::-moz-progress-bar { background: #c62828; }
.attention li.sev-critical, tr.sev-critical { color: #b71c1c; }
.attention li.sev-warning, tr.sev-warning { color: #6d4c00; }
ol.steps { list-style: none; padding-left: 0; }
ol.steps li::before { display: inline-block; width: 1.5rem; }
ol.steps li.step-done::before { content: "✓"; color: #2e7d32; }
ol.steps li.step-running::before { content: "⏳"; }
ol.steps li.step-failed::before { content: "✗"; color: #c62828; }
code.secret { font-size: 1.05em; padding: .2rem .5rem; user-select: all; }
.credentials { border-left: 4px solid #2e7d32; }
.mono, textarea.editor { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
textarea.editor { min-height: 60vh; white-space: pre; tab-size: 4; }
pre.log { max-height: 50vh; overflow: auto; font-size: .8rem; white-space: pre-wrap; }
table.compact td, table.compact th { padding: .25rem .5rem; }
td.actions { white-space: nowrap; }
.qr svg { width: 220px; height: 220px; background: #fff; }
.big { font-size: 2rem; margin: 0; }
.danger-zone > summary { color: #c62828; }
.chunk-upload { margin: .5rem 0 1rem; }
.chunk-upload progress { margin: .3rem 0; }
fieldset.bulk { border: 1px dashed var(--pico-muted-border-color); padding: .5rem; }
.crumbs a { text-decoration: none; }
