:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e2eee8; background: #0c1718; }
* { box-sizing: border-box; }
body { margin: 0; height: 100dvh; display: flex; overflow: hidden; }
#panel { width: 320px; min-width: 320px; height: 100%; display: flex; flex-direction: column; background: #101e21; border-right: 1px solid #344841; }
header { padding: 20px 20px 12px; }
.eyebrow { font-size: 9px; letter-spacing: 1.7px; color: #7b9c90; }
h1 { margin: 9px 0 6px; font-size: 23px; font-weight: 600; }
p { margin: 5px 0; line-height: 1.55; }
header p, .hint, .history-title span { color: #8ca99d; font-size: 11px; }
.controls { padding: 12px 20px; border-top: 1px solid #2b3d37; border-bottom: 1px solid #2b3d37; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
button, select, input { font: inherit; color: inherit; background: #172b2b; border: 1px solid #3b5148; border-radius: 5px; padding: 6px 9px; }
button { cursor: pointer; }
button:hover:enabled { background: #254139; border-color: #6caa92; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #71edb9; outline-offset: 2px; }
.primary { width: 100%; margin: 12px 0 8px; padding: 13px; background: #54dba5; border-color: #54dba5; color: #09251a; font-size: 17px; font-weight: 650; text-align: left; }
.primary:hover:enabled { background: #7aefbd; color: #09251a; }
.primary span { float: right; }
#phase { font-size: 13px; color: #6be1ad; }
#counter { font-size: 12px; color: #b4c7be; }
#status { font-size: 12px; min-height: 38px; color: #c1d3c9; overflow-wrap: anywhere; }
#status.error { color: #ffb39c; }
label, #skip, #live, footer button { font-size: 12px; }
.hint { margin-top: 9px; }
#selection { padding: 13px 20px; border-bottom: 1px solid #2b3d37; max-height: 33vh; overflow: auto; flex-shrink: 0; }
#selection-title { font-size: 13px; }
#snapshot-tabs { justify-content: flex-start; margin-top: 9px; }
#snapshot-tabs button { font-size: 12px; }
#snapshot-tabs button.active { border-color: #69d5aa; color: #79e0b5; }
#summary { font-size: 13px; color: #a9c0b4; line-height: 1.65; white-space: pre-line; margin: 9px 0; }
details summary { cursor: pointer; font-size: 12px; color: #85af9c; }
pre { font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.history-title { padding: 13px 20px 8px; display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; }
.history-title span { font-size: 10px; }
#history { overflow-y: auto; flex: 1; min-height: 70px; padding: 0 12px 12px; scrollbar-color: #436757 transparent; }
.empty { color: #708c7e; font-size: 12px; padding: 10px 8px; }
.entry { display: block; text-align: left; width: 100%; margin: 5px 0; border-color: transparent; background: #142427; padding: 10px; }
.entry.selected { border-color: #68c9a0; background: #1b3730; }
.entry .meta { color: #819f90; font-size: 10px; margin-bottom: 5px; }
.entry .title { font-size: 13px; line-height: 1.5; }
.entry .detail { font-size: 11px; color: #a7bdb0; line-height: 1.5; margin-top: 3px; }
.guard { color: #f1cf87; }
footer { padding: 10px 20px; border-top: 1px solid #2b3d37; background: #101e21; }
footer .row + .row { margin-top: 9px; }
footer input { width: 94px; }
a { font-size: 12px; color: #75d5af; text-decoration: none; }
main { position: relative; flex: 1; min-width: 0; height: 100%; background: #090d0c; }
iframe { width: 100%; height: 100%; border: 0; display: block; }
#collapse { position: absolute; top: 48%; left: 0; z-index: 5; border-radius: 0 6px 6px 0; padding: 12px 5px; background: #17382ce8; }
#view-label { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: #755827ed; border: 1px solid #b79455; border-radius: 5px; padding: 6px 12px; font-size: 12px; pointer-events: none; }
body.collapsed #panel { display: none; }
[hidden] { display: none !important; }
@media (max-height: 780px) { header { padding-top: 10px; } h1 { font-size: 20px; } .hint { display: none; } #selection { max-height: 24vh; } .controls { padding-top: 8px; padding-bottom: 8px; } }
@media (max-width: 1000px) { #panel { width: 280px; min-width: 280px; } header, .controls, #selection, footer { padding-left: 14px; padding-right: 14px; } }
