:root { color-scheme: dark; font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #101216; color: #e8ebee; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
header { display: flex; flex: none; min-height: 48px; align-items: center; gap: 14px; padding: 7px 18px; border-bottom: 1px solid #35373a; }
header img { display: block; width: 98px; height: auto; }
header > span:first-of-type { border-left: 1px solid #535559; padding-left: 14px; font-weight: 600; }
#user { margin-left: auto; color: #bbc0c4; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
main { flex: 1; min-height: 0; position: relative; }
iframe { display: block; border: 0; width: 100%; height: 100%; }
section { position: absolute; inset: 0; display: flex; flex-flow: column; align-items: center; justify-content: center; background: #101216f5; padding: 24px; text-align: center; }
button { font: inherit; padding: 5px 10px; border: 1px solid #4a4d51; border-radius: 5px; background: #26292e; color: inherit; cursor: pointer; white-space: nowrap; }
button:hover { background: #34373d; }
button:focus-visible { outline: 2px solid #b4d4ff; outline-offset: 3px; }
dialog { width: min(460px, calc(100% - 32px)); max-height: 85dvh; padding: 24px; border: 1px solid #454a52; border-radius: 10px; color: inherit; background: #1b1f25; }
dialog::backdrop { background: #080b10b8; }
dialog h2 { margin: 0 0 16px; }
dialog input { width: 100%; padding: 8px; margin-top: 4px; color: inherit; background: #121419; border: 1px solid #454a52; border-radius: 4px; }
dialog pre { padding: 8px; background: #121419; overflow-wrap: anywhere; white-space: pre-wrap; }
dialog .actions { display: flex; gap: 8px; justify-content: flex-end; }
dialog summary { cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
@media (max-width: 420px) { header { gap: 9px; padding-inline: 10px; } header img { width: 67px; } #user { font-size: 11px; } }
