:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#202d34;background:#f3f5f3;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;background:#fff;color:#29433b;border:1px solid #ced8d2;border-radius:7px;padding:10px 15px}button:hover{background:#e8efea}button:disabled{opacity:.5;cursor:wait}button.primary{background:#1d5e49;color:#fff;border-color:#1d5e49}input,textarea{border:1px solid #ced8d2;border-radius:6px;background:white;padding:11px;color:#202d34;min-width:0}input:focus,textarea:focus,button:focus-visible{outline:2px solid #6ea18a;outline-offset:2px}[hidden]{display:none!important}.login-wrap{max-width:610px;margin:10vh auto;padding:36px}.brand{font-weight:800;letter-spacing:.1em;font-size:15px}.brand span{font-weight:400;letter-spacing:0;color:#6c7e75;margin-left:15px}.login-wrap h1{font-size:42px;line-height:1.35;letter-spacing:-.04em;margin-top:58px}.login-wrap p{font-size:16px;line-height:1.8;color:#66766c}.login-wrap form{margin-top:30px;display:grid;gap:18px}.login-wrap label{display:grid;gap:8px}.login-wrap input{padding:14px}.login-wrap button{padding:14px}#room{max-width:1600px;margin:auto;padding:0 24px}header{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid #d9e1da}.identity,.products,.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.identity{font-size:13px}.identity button{padding:7px 10px}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px 0 12px;gap:15px}.badge{font-size:12px;background:#e1ebe2;border:1px solid #c8dbca;border-radius:20px;padding:7px 12px;color:#306647}.badge.maintenance{background:#fff0d3;color:#805900;border-color:#edcc88}.address{display:flex;background:white;border:1px solid #d4ddd5;border-radius:8px;align-items:center;overflow:hidden}.address span{font-size:10px;color:#56705e;padding:0 14px;letter-spacing:.1em}.address input{flex:1;border:0;outline:none;padding:13px 0}.address button{margin:4px;padding:7px 16px}.notice{padding:11px 2px;color:#6c7a71;font-size:12px}.viewer{width:100%;background:#fff;border:1px solid #d8e0da;border-radius:8px;overflow:hidden;min-height:520px;position:relative}#screen{width:100%;height:auto;display:block;cursor:default;touch-action:none}#screen:focus{outline:2px solid #568b70;outline-offset:-2px}#empty{padding:160px 30px;text-align:center;color:#718075}#empty h2{font-size:24px;color:#344e3f}.text-entry{display:flex;gap:8px;padding:12px 0}.text-entry textarea{flex:1;resize:vertical;max-height:150px}.panel{background:#fff;border:1px solid #d8e0da;border-radius:10px;margin:20px 0;padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel h2{margin:0}.panel p{line-height:1.8;color:#67776b}.panel h3{font-size:15px;margin-top:25px}.panel .row input{flex:1}.user-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0ed}.user-row span:first-child{flex:1}pre{white-space:pre-wrap;word-break:break-all;background:#f4f6f3;padding:12px;font-size:12px;max-height:300px;overflow:auto}#token{width:100%}footer{padding:20px 0 30px;color:#869187;font-size:11px}#message{position:fixed;right:24px;bottom:24px;max-width:560px;background:#20382a;color:white;border-radius:9px;padding:17px 22px;box-shadow:0 8px 35px #0002;z-index:10;line-height:1.7}#message.error{background:#783d30}@media(max-width:700px){#room{padding:0 10px}header{align-items:flex-start;gap:20px}.brand span{display:block;margin:5px 0}.identity{justify-content:flex-end}.toolbar{flex-wrap:wrap}.viewer{min-height:300px}#empty{padding:80px 10px}.text-entry{flex-wrap:wrap}.text-entry textarea{min-width:100%}.login-wrap{margin-top:2vh;padding:24px}.login-wrap h1{font-size:32px}}

#admin,#password-panel{position:fixed;z-index:5;right:24px;top:65px;bottom:24px;width:min(600px,calc(100vw - 32px));margin:0;overflow-y:auto;box-shadow:0 15px 80px #1234}#password-panel{bottom:auto;max-height:calc(100vh - 100px)}#password-panel .row{flex-direction:column;align-items:stretch}.text-entry{padding-top:0}
