:root { color-scheme: dark; font-family: system-ui,sans-serif; background: #10171c; color: #e6eef0; --border: #34464f; --accent: #9ee6c1; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 2.5vw; border-bottom: 1px solid var(--border); }
.brand { color: var(--accent); letter-spacing: .18em; font-weight: 800; font-size: .72rem; margin: 0 0 .25rem; }
h1 { font-size: 1.65rem; margin: 0; } h2 { font-size: .98rem; margin: .25rem 0; }
.layout { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(23rem, 3fr) minmax(17rem, 1.3fr); gap: 1rem; padding: 1rem 2.5vw 3rem; align-items: start; }
.panel, .auth-card { border: 1px solid var(--border); border-radius: .7rem; background: #182229; padding: 1rem; min-width: 0; }
.auth-card { width: min(92vw, 28rem); margin: 10dvh auto; padding: 2rem; } .auth-card form { margin-top: 1.5rem; }
.bar, .row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; } .bar { justify-content: space-between; margin-bottom: .7rem; }
form { display: grid; gap: .65rem; margin: .8rem 0; } label { display: grid; gap: .25rem; }
button, input, textarea { font: inherit; border-radius: .38rem; border: 1px solid var(--border); padding: .48rem .65rem; }
button { background: var(--accent); color: #071d13; font-size: .86rem; font-weight: 700; cursor: pointer; }
button.quiet { background: #223339; color: #e1eef0; } button:hover { filter: brightness(1.17); } button:disabled { opacity: .5; cursor: wait; }
input, textarea { background: #10191e; color: inherit; min-width: 0; width: 100%; }
.row input { width: auto; flex: 1 1 7rem; }
textarea, pre, code { font-family: Consolas, monospace; } .editor textarea { margin: .5rem 0; min-height: 28rem; resize: vertical; font-size: .87rem; line-height: 1.55; tab-size: 2; }
.files { max-height: 27rem; overflow: auto; margin: .5rem 0; }
.file { display: block; background: transparent; color: #c4d4dc; text-align: left; width: 100%; border-color: transparent; overflow-wrap: anywhere; font: .77rem Consolas, monospace; }
.file:hover { background: #253740; } .results { grid-column: 1 / -1; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 29rem; overflow: auto; font-size: .84rem; }
#records > div { display: flex; gap: .7rem; justify-content: space-between; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--border); }
#feedback,#auth-feedback { color: var(--accent); margin: .5rem 0; } .error { color: #ffb5a6 !important; }
.operations h2:not(.bar h2) { margin: 1.1rem 0 .55rem; } #confirmation { margin-top: .5rem; padding: .5rem; border: 1px solid var(--accent); }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width: 1030px) { .layout { grid-template-columns: minmax(13rem, 1fr) minmax(18rem, 2.4fr); } .operations { grid-column: 1/-1; } }
@media(max-width: 650px) { .layout { grid-template-columns: minmax(0, 1fr); } .files { max-height: 12rem; } .editor textarea { min-height: 20rem; } }
