:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #e7eef6; background: #101820; }
body { max-width: 1180px; margin: 36px auto; padding: 0 20px; line-height: 1.5; }
h1 { font-size: 2.3rem; margin-bottom: 0; }
h2 { margin: 0 0 14px; font-size: 1.4rem; }
h3 { margin: 0 0 8px; }
p { color: #bacbd9; }
section { border: 1px solid #344859; border-radius: 12px; background: #16232f; padding: 22px; margin: 20px 0; }
label { display: flex; flex-direction: column; gap: 6px; min-width: 160px; flex: 1; }
input, select, button { font: inherit; color: inherit; border: 1px solid #637d90; border-radius: 6px; padding: 10px; background: #0e1b26; min-height: 44px; }
input, select { min-width: 0; max-width: 100%; }
button { cursor: pointer; background: #244b64; }
button:hover { background: #316782; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 3px solid #70d6ea; outline-offset: 3px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 14px 0; }
.row button { flex: 0 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card { border: 1px solid #3c5365; border-radius: 8px; padding: 16px; overflow-wrap: anywhere; }
.card p { margin: 8px 0; }
.card form { display: grid; gap: 10px; margin: 12px 0; }
.muted { font-size: .85rem; color: #a3b8c9; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status { font-weight: 600; color: #91d4e4; }
.error { color: #ffc7a6; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; padding: 16px; background: #08111a; border-radius: 6px; }
video { width: 100%; max-width: 720px; background: #08111a; margin-top: 18px; }
table { border-collapse: collapse; width: 100%; }
td, th { padding: 10px; border-bottom: 1px solid #3c5365; text-align: left; }
[hidden] { display: none !important; }
@media (max-width: 560px) { body { margin-top: 20px; padding: 0 12px; } section { padding: 16px; } .row { align-items: stretch; flex-direction: column; } }
