:root{color-scheme:dark;font:14px system-ui,sans-serif;background:#091923;color:#dfeef4}*{box-sizing:border-box}body{margin:0;height:100dvh;display:flex;flex-direction:column}header{padding:12px 20px;background:#112a38;border-bottom:1px solid #294653;display:flex;justify-content:flex-end}nav{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.divider{height:24px;width:1px;background:#315361;margin:0 4px}button{font:inherit;border:1px solid #315361;border-radius:9px;padding:10px 14px;background:#193746;color:#e0eef4;cursor:pointer}button:hover{border-color:#20bdb8}button:focus-visible{outline:2px solid #20bdb8;outline-offset:3px}button:disabled{opacity:.4;cursor:default}#password{background:#087b84;border-color:#17979d}main{flex:1;min-height:0;overflow:auto;position:relative}#message{position:fixed;top:45%;left:50%;transform:translate(-50%,-50%);padding:24px 32px;background:#112a38;border:1px solid #315361;border-radius:14px;max-width:90vw;text-align:center;line-height:1.7}[hidden]{display:none!important}footer{text-align:center;color:#93acb9;font-size:12px;padding:10px}#toast{position:fixed;bottom:45px;left:50%;transform:translateX(-50%);padding:13px 20px;max-width:90vw;border:1px solid #37616e;border-radius:12px;background:#173744;box-shadow:0 8px 30px #0005;z-index:10;line-height:1.6;animation:notice-in .18s ease-out}#toast.error{border-color:#ac6770}dialog{background:#112a38;color:#dfeef4;border:1px solid #315361;border-radius:16px;width:min(580px,92vw);padding:25px;box-shadow:0 20px 70px #0006}dialog::backdrop{background:#0008;backdrop-filter:blur(5px)}dialog h2{font-size:20px;margin-top:0}dialog p{color:#b0c5cf;line-height:1.6}textarea{width:100%;height:180px;resize:vertical;max-height:40dvh;background:#091923;color:#dfedf3;border:1px solid #315361;border-radius:9px;padding:12px;font:14px ui-monospace,monospace}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}@keyframes notice-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){#toast{animation:none}}@media(max-width:700px){header{padding:10px}button{font-size:12px;padding:9px}nav{gap:7px}.divider{display:none}footer{font-size:11px}}

.layout-picker{display:flex;align-items:center;gap:8px;color:#b6cbd4;font-size:12px;margin-right:5px}select{color:#e0eef4;background:#193746;border:1px solid #315361;border-radius:9px;padding:10px;font:inherit;font-size:13px}footer{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}footer label{display:flex;align-items:center;gap:6px;white-space:nowrap}input[type=checkbox]{accent-color:#20bdb8}@media(max-width:700px){.layout-picker{width:100%;justify-content:flex-end}footer{gap:5px}select{padding:8px}}
