:root{font-family:Segoe UI,system-ui,sans-serif;background:#0c1728;color:#edf5ff}*{box-sizing:border-box}body{margin:0}main{max-width:1250px;margin:40px auto;padding:0 24px}header{display:flex;justify-content:space-between;align-items:center}b{color:#64dfc1;letter-spacing:.12em;font-size:14px}h1{font-size:36px;margin:12px 0}h2{margin-top:0;font-size:23px}h3{font-size:18px}p,footer{color:#b6c7dd;line-height:1.6}section{background:#14263e;border:1px solid #2e4664;border-radius:14px;padding:26px;margin:20px 0}nav{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}button{font:inherit;font-weight:600;background:#64dfc1;color:#102b29;border:0;border-radius:7px;padding:11px 17px;cursor:pointer}button:disabled{opacity:.4;cursor:default}button.secondary,nav button{background:#253d5b;color:white}nav button.active{background:#64dfc1;color:#102b29}button.danger{background:#ffc4b7;color:#512921}form{display:grid;gap:15px;max-width:540px}label{display:grid;gap:7px;color:#d0deef;font-size:14px}input,select{font:inherit;padding:11px;border:1px solid #426181;border-radius:6px;background:#0c1728;color:white;min-width:0;width:100%}label.check{display:flex;align-items:center;gap:10px}input[type=checkbox]{width:18px;height:18px;accent-color:#64dfc1}fieldset{border:1px solid #426181;border-radius:8px;padding:16px}fieldset label{margin:10px 0}.split{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1fr);gap:36px}.inline{display:flex;align-items:end;margin-bottom:20px}.inline label{flex:1}.section-head,.device,.user-row,.folder-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-head{margin-bottom:20px}.device,.user-row,.folder-row{border-bottom:1px solid #2e4664;padding:16px 0;flex-wrap:wrap}.device strong{display:block}.device small,.user-row small{display:block;color:#a8bed7;margin:5px 0}.device select{width:220px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#auth{max-width:600px;margin:35px auto}#message{color:#ffc4b7;min-height:24px}#qr{display:inline-block;background:white;padding:14px;border-radius:8px;margin:15px 0}#qr svg{width:200px;height:200px;display:block}output{overflow-wrap:anywhere;color:#64dfc1;font-family:monospace;display:block;padding:12px 0}pre{white-space:pre-wrap;background:#0c1728;padding:18px;border-radius:8px;line-height:1.8}#screen{width:100%;max-height:700px;object-fit:contain;background:#080f1a}footer{font-size:12px;margin:28px 0}[hidden]{display:none!important}@media(max-width:800px){main{padding:0 14px}.split{grid-template-columns:1fr}section{padding:20px}header{align-items:start}.section-head{align-items:start;flex-direction:column}.device select{width:100%}}


.download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.download-card{border:1px solid #426181;border-radius:10px;padding:22px}.download-button{display:inline-block;background:#64dfc1;color:#102b29;text-decoration:none;font-weight:600;padding:12px 20px;border-radius:7px;margin:10px 0}.download-card small{display:block;color:#b6c7dd}.download-card code{overflow-wrap:anywhere;font-size:12px}.download-card details{margin-top:16px}

.folder-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.folder-row .actions,.user-row .actions{margin-left:auto;justify-content:flex-end;flex-wrap:nowrap}.folder-row .actions button,.user-row .actions button{white-space:nowrap}
