* { box-sizing: border-box; }
body { margin: 0; background: #f2f5f8; color: #182a40; font: 16px/1.6 system-ui; }
main { max-width: 1100px; margin: auto; padding: 24px; min-width: 0; }
section, .panel { background: white; border: 1px solid #dce4ed; border-radius: 12px; padding: 20px; margin: 18px 0; min-width: 0; }
h1 { font-size: 27px; } h2 { margin-top: 0; font-size: 22px; }
label { display: block; margin: 10px 0; min-width: 0; }
input, textarea, select { display: block; width: 100%; min-width: 0; min-height: 44px; font: inherit; padding: 8px; border: 1px solid #aebed0; border-radius: 6px; background: white; color: inherit; }
textarea { min-height: 80px; }
button { max-width: 100%; min-height: 44px; font: inherit; border: 0; border-radius: 8px; background: #164e8a; color: white; padding: 8px 15px; margin: 5px 5px 5px 0; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; } button.secondary { background: #e9eff6; color: #182a40; }
button.danger { background: #a62932; }
pre, output { white-space: pre-wrap; overflow-wrap: anywhere; }
output { display: block; padding: 10px 0; font-weight: 600; }
article { padding: 16px 0; border-bottom: 1px solid #dce4ed; overflow-wrap: anywhere; }
article h3 { font-size: 18px; margin: 0; } article p { margin: 5px 0; }
article small, .muted { display: block; color: #51647b; }
.fields, .filters, .login { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.fields > *, .filters > label, .login > label { flex: 1 1 180px; }
.fields > .fields { flex: 2 1 300px; }
.check { display: flex; gap: 10px; align-items: start; }
.check input { width: 20px; min-height: 24px; flex-shrink: 0; }
summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.warning { color: #9a2934; } .status { font-weight: 600; }
dialog { width: calc(100% - 32px); max-width: 530px; max-height: 90dvh; overflow: auto; border: 0; border-radius: 14px; padding: 24px; overflow-wrap: anywhere; }
dialog::backdrop { background: #12223888; }
.actions { display: flex; gap: 8px; justify-content: end; flex-wrap: wrap; }
[hidden] { display: none !important; }
@media (max-width: 420px) { main { padding: 14px; } section, .panel { padding: 14px; } h1 { font-size: 23px; } .fields, .filters { gap: 4px 12px; } }
