*{box-sizing:border-box}body{margin:0;background:#f6f7f9;color:#263342;font:15px system-ui,sans-serif}button,input,textarea{font:inherit}button{padding:9px 15px;border:1px solid #d5dce5;border-radius:8px;background:white;color:#244e75;cursor:pointer}button:hover{background:#eaf1f9}#login{max-width:360px;margin:15vh auto;padding:30px;background:white;border:1px solid #e1e5ec;border-radius:16px}#login input{width:100%;margin:8px 0;padding:12px;border:1px solid #ccd5df;border-radius:7px}#login button{width:100%;margin-top:14px;background:#315f9c;color:white}h1{font-size:22px}p,#status{color:#6a7684}main:not([hidden]){display:flex;height:100dvh}aside{width:260px;flex-shrink:0;border-right:1px solid #e0e5ec;padding:20px;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between}nav{flex:1;overflow:auto}nav button{display:block;text-align:left;width:100%;margin:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nav button.active{background:#e4edf9;border-color:#7399c8}section{flex:1;min-width:0;display:flex;flex-direction:column;background:white;padding:24px 5vw}.toolbar{display:flex;justify-content:space-between;align-items:center;font-size:13px}#title{border:0;font-size:26px;font-weight:600;padding:25px 0 15px;width:100%;outline:none}textarea{resize:none;border:0;outline:none;flex:1;line-height:1.8;padding:12px 0;color:#344252;width:100%}dialog{max-width:900px;width:92%;border:1px solid #e4b45a;border-radius:14px;padding:24px}dialog::backdrop{background:#17283b80}.compare{display:flex;gap:16px}.compare article{width:50%;min-width:0;background:#f6f7f9;padding:12px;border-radius:8px}pre{white-space:pre-wrap;word-break:break-word;max-height:40vh;overflow:auto;font:14px/1.7 system-ui}.actions{display:flex;gap:8px;flex-wrap:wrap}#error{color:#b14230}@media(max-width:650px){main:not([hidden]){flex-direction:column}aside{width:100%;max-height:180px;padding:8px 16px;border-right:0;border-bottom:1px solid #ddd}header h1{margin:6px}nav{display:flex;gap:8px}nav button{min-width:120px;width:160px}#logout{position:absolute;right:16px;bottom:8px;font-size:12px;z-index:2}section{padding:12px 20px;min-height:0}.compare{flex-direction:column}.compare article{width:100%}pre{max-height:20vh}}
