:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193b41;background:#f3f5f2;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.upload{cursor:pointer}button{border:1px solid #cfdbd7;background:white;color:#234c50;border-radius:8px;padding:10px 15px;font-weight:600}button:hover{background:#edf5f1}button:disabled{opacity:.45;cursor:wait}.primary{background:#126c60;color:white;border-color:#126c60}.primary:hover{background:#0b584d}.danger{color:#b33c35;background:#fff5f2;border-color:#e9c5be}.active{background:#d9eee5;border-color:#398a72}header{display:flex;align-items:center;gap:20px;padding:22px 4vw;border-bottom:1px solid #dce3dc;background:#fbfcf9}.brand{font-size:26px;text-decoration:none;color:#173f40;display:flex;align-items:center;gap:10px}.brand span{font-size:10px;letter-spacing:2px;margin-left:18px;color:#72837b}.tag{margin-left:auto;font-size:12px;background:#e3eee5;padding:7px 12px;border-radius:30px}main{max-width:1600px;margin:auto;padding:32px 4vw}.welcome{display:grid;grid-template-columns:1.2fr 1fr;gap:9vw;align-items:center;min-height:65vh;max-width:1100px;margin:auto}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#548575;margin:0 0 15px}h1{font-size:48px;letter-spacing:-2px;font-weight:550;line-height:1.1;margin:12px 0 22px}h2{font-size:18px;letter-spacing:-.3px;margin:0 0 14px}p{line-height:1.6}.welcome p:not(.eyebrow){max-width:460px;color:#6c7e77}.feature-row{display:flex;gap:20px;font-size:12px;margin-top:30px}.card{background:#fff;border:1px solid #dce4de;border-radius:14px;padding:24px;box-shadow:0 5px 20px #1c3e3010}label{display:block;margin:18px 0 8px;font-size:12px;font-weight:600}input,select{padding:11px;border:1px solid #cdd9d1;border-radius:7px;background:#fcfdfa;color:#23474a;min-width:0}input:not([type=checkbox]){width:100%}.check{display:flex;align-items:center;gap:8px;font-weight:400;margin:12px 0}.welcome button{width:100%;margin-top:12px}.muted{font-size:12px;color:#78867f;line-height:1.6}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-title h1{font-size:32px;margin-bottom:0}.devices{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:32px}.device{min-width:240px;text-align:left;padding:20px;display:grid;gap:8px;background:white;border-radius:12px}.device.selected{border:2px solid #17816a;background:#f4fbf5}.device strong{font-size:17px}.device small{color:#74857d}.online{color:#16846a}.session-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.session-bar h2{margin-bottom:5px}.modes{display:flex;gap:6px}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.desktop-panel{padding:0;align-self:start;overflow:hidden}.toolbar{display:flex;gap:8px;padding:14px;align-items:center;flex-wrap:wrap}.toolbar select{max-width:230px}.toolbar button{font-size:12px}.screen-wrap{background:#17292c;min-height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden}#screen{width:100%;height:auto;object-fit:contain;outline-offset:-3px;touch-action:none}#screen-empty{color:#b3cac1;text-align:center;line-height:2}#screen-empty span{font-size:12px}.screen-footer{display:flex;justify-content:space-between;padding:12px 16px;color:#7c8c83;font-size:10px;border-bottom:1px solid #edf0ea}.typing{display:flex;gap:8px;padding:14px}.typing input{flex:1}.typing button,.typing select{font-size:12px}aside{display:grid;gap:18px;align-content:start}aside .card{padding:21px}.elements{max-height:230px;overflow:auto}.element{display:block;text-align:left;width:100%;margin:5px 0;font-size:12px;font-weight:400}.upload{display:block;text-align:center;border:1px dashed #88b09c;padding:16px;border-radius:8px;background:#f4faf5;color:#35725b;margin-top:12px}#files{max-height:240px;overflow:auto}.file{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #edf0ea}.file span{overflow-wrap:anywhere;flex:1;font-size:12px}.file button{font-size:11px;padding:6px}#notice{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#173e40;color:white;border-radius:10px;padding:14px 22px;max-width:80vw;z-index:5;box-shadow:0 6px 30px #0003}#notice:empty{display:none}dialog{border:1px solid #cddad0;border-radius:16px;max-width:480px;padding:30px}dialog::backdrop{background:#17342d66}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}footer{color:#9ca79f;text-align:center;padding:30px;font-size:11px}[hidden]{display:none!important}@media(max-width:1000px){.work-grid{grid-template-columns:1fr}aside{grid-template-columns:1fr 1fr}.brand span{display:none}.typing{flex-wrap:wrap}}@media(max-width:650px){.welcome{grid-template-columns:1fr;gap:25px}.welcome h1{font-size:38px}aside{grid-template-columns:1fr}.tag{display:none}.session-bar{align-items:flex-start;gap:14px;flex-direction:column}.feature-row{flex-wrap:wrap}.screen-footer{gap:10px}.toolbar select{max-width:150px}.screen-wrap{min-height:200px}}

#desktop-panel:fullscreen{background:#17292c;display:flex;flex-direction:column;border:0;border-radius:0;width:100vw;height:100vh}#desktop-panel:fullscreen .toolbar,#desktop-panel:fullscreen .typing,#desktop-panel:fullscreen .screen-footer{background:#f3f5f2;flex-shrink:0}#desktop-panel:fullscreen .screen-wrap{flex:1;min-height:0}#desktop-panel:fullscreen #screen{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}

.viewer-status{display:flex;gap:14px;flex-wrap:wrap;padding:8px 14px;background:#edf5f1;color:#234c50;font-size:12px;flex-shrink:0}#viewer-notice{color:#a02e26;font-weight:600}#viewer-notice:empty{display:none}
#viewer-notice{display:none}#desktop-panel:fullscreen #viewer-notice:not(:empty){display:inline}
