:root{font-family:"IBM Plex Sans",system-ui,sans-serif;color:#20283e;background:#f4f6fb;color-scheme:light}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden}
body>canvas{position:fixed;inset:0;width:100%;height:100%;display:block}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{border:1px solid #ccd2e1;border-radius:7px;background:white;color:#20283e;padding:8px 12px;cursor:pointer}
button:hover{background:#eef0fc;border-color:#aeb5e6}
:focus-visible{outline:3px solid #5964d9;outline-offset:3px}
a{color:#424db8}
[hidden]{display:none!important}
#boot{position:fixed;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px;text-align:center;background:#f4f6fb}
#boot h1{font-size:38px;letter-spacing:-1.6px;margin:20px 0 5px;font-weight:600}
#boot p{margin:6px 0;font-size:16px}
.boot-mark{display:flex;align-items:flex-end;gap:7px;height:46px}
.boot-mark i{display:block;width:8px;border-radius:4px;background:#5964d9}
.boot-mark i:nth-child(1){height:22px}.boot-mark i:nth-child(2){height:39px}.boot-mark i:nth-child(3){height:30px}.boot-mark i:nth-child(4){height:46px}
.boot-status{font-size:13px;color:#5964d9;margin:30px 0 8px}
.quiet,#boot .quiet{font-size:12px;color:#65728b;line-height:1.6}
#text-toggle{position:fixed;z-index:3;right:10px;bottom:6px;padding:3px 10px;font-size:11px;border-radius:5px;min-height:25px}
#text-view{position:fixed;inset:24px 24px 42px auto;width:min(720px,calc(100% - 48px));z-index:4;background:white;box-shadow:0 12px 60px #20283e35;border:1px solid #dce1ed;border-radius:12px;overflow:auto;padding:24px}
#text-view header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
#text-view h1{font-size:24px;margin:0}
#text-view h2{font-size:16px;margin-top:24px}
#text-view header p{font-size:13px;color:#65728b}
label{display:flex;flex-direction:column;gap:7px;font-size:12px;flex:1}
input,select{background:#f8f9fd;border:1px solid #ccd2e1;color:#20283e;border-radius:7px;padding:9px 10px;min-width:0;width:100%}
.field-row{display:flex;gap:12px;align-items:flex-end;margin-top:12px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0;font-size:13px}
#text-summary{font-size:14px;font-weight:600}
.event-row{display:block;width:100%;text-align:left;margin:5px 0;padding:10px 12px}
.event-row small{display:block;font-size:11px;color:#65728b;margin-bottom:4px}
.event-row span{display:block;font-size:13px;overflow-wrap:anywhere}
pre{background:#f4f6fb;border-radius:8px;padding:14px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
#toast{position:fixed;z-index:6;bottom:48px;left:50%;transform:translateX(-50%);background:#20283e;color:white;padding:12px 18px;border-radius:8px;max-width:min(600px,90vw);font-size:13px;box-shadow:0 3px 20px #20283e25}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){#text-view{inset:10px 10px 42px;width:auto;padding:16px}.field-row{flex-wrap:wrap}.field-row label{min-width:40%}.field-row button{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
