:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172024;background:#eef2f3;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{min-height:42px;border:0;border-radius:8px;cursor:pointer;font-weight:800;padding:0 16px}button:disabled{cursor:not-allowed;opacity:.48}.primary{background:#106455;color:#fff}.secondary{background:#dbe4e7;color:#172024}.icon-button{width:42px;padding:0;background:#dbe4e7}input,textarea{width:100%;border:1px solid #b9c6cb;border-radius:8px;background:#fff;color:#172024;outline:none;padding:12px 14px}input:focus,textarea:focus{border-color:#106455;box-shadow:0 0 0 3px #10645524}label{display:grid;gap:7px;color:#4f5e66;font-size:.92rem;font-weight:800}h1,h2,p{margin:0}h1{max-width:760px;font-size:clamp(2.05rem,5vw,4rem);line-height:1}h2{font-size:1.08rem}.shell{width:min(1240px,100%);margin:0 auto;padding:24px}.hidden{display:none!important}.eyebrow{margin-bottom:5px;color:#66757d;font-size:.76rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.lead,.hint,.room-tip{color:#4f5e66;line-height:1.45}.login{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,430px);gap:40px;align-items:center;min-height:100vh}.brand-block{display:grid;gap:14px}.login-card,.connect-panel,.send-panel,.feed-section{border:1px solid #d0d9dd;border-radius:8px;background:#fff}.login-card{display:grid;gap:16px;padding:20px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-row{display:flex;align-items:center;gap:10px;color:#172024;font-weight:700}.check-row input{width:18px;height:18px}.app{display:grid;gap:18px}.app-header,.workspace,.feed-head,.panel-head{display:grid;gap:14px}.app-header{grid-template-columns:1fr auto;align-items:end;padding-top:8px}.header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.status-pill{display:inline-flex;align-items:center;gap:9px;min-height:42px;border-radius:8px;background:#fff;color:#4f5e66;font-weight:800;padding:0 14px}.dot{width:10px;height:10px;border-radius:999px;background:#9aa8ad}.dot.ok{background:#148457}.dot.bad{background:#b7352d}.workspace{grid-template-columns:380px minmax(0,1fr);align-items:start}.connect-panel,.send-panel,.feed-section{display:grid;gap:16px;padding:18px}.panel-head,.feed-head{grid-template-columns:1fr auto;align-items:center}#qrCanvas{width:220px;height:220px;justify-self:center;border:1px solid #d0d9dd;border-radius:8px;background:#fff;padding:10px}.link-box{display:grid;grid-template-columns:1fr auto;gap:10px}.peer-list{display:grid;gap:8px}.peer-chip{display:flex;justify-content:space-between;gap:10px;border:1px solid #d0d9dd;border-radius:8px;background:#f7f9fa;color:#4f5e66;font-size:.9rem;padding:9px 10px}.text-form{display:grid;gap:10px}textarea{min-height:150px;resize:vertical}.dropzone{align-content:center;min-height:180px;border:2px dashed #9fb0b7;border-radius:8px;background:#f9fbfb;color:#172024;cursor:pointer;justify-items:center;padding:24px;text-align:center}.dropzone.dragging{border-color:#106455;background:#edf7f5}.dropzone input{display:none}.dropzone span{font-size:1rem;font-weight:900}.dropzone small{color:#66757d;font-size:.88rem;font-weight:600}.feed-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.feed{display:grid;gap:12px}.feed.empty{min-height:96px;place-items:center;border:1px dashed #c1ccd1;border-radius:8px}.empty-state{color:#66757d}.item{display:grid;gap:10px;border:1px solid #d0d9dd;border-radius:8px;background:#fff;padding:14px}.item.local{border-color:#7fb6ad}.item-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#66757d;font-size:.84rem;font-weight:800}.item-title{display:flex;align-items:center;gap:10px;min-width:0}.file-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#e8f1ef;color:#106455;font-weight:900}.item-body{overflow-wrap:anywhere;white-space:pre-wrap}.file-grid{display:grid;gap:10px}.file-meta,.metric-row{display:flex;flex-wrap:wrap;gap:10px;color:#4f5e66;font-size:.9rem}.metric-row{justify-content:space-between}progress{width:100%;height:12px;accent-color:#106455}.preview{max-width:min(520px,100%);max-height:380px;border-radius:8px;object-fit:contain;background:#f7f9fa}.item-actions{display:flex;flex-wrap:wrap;gap:10px}.download,.small-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:8px;font-weight:900;padding:0 13px;text-decoration:none}.download{background:#106455;color:#fff}.small-action{border:0;background:#dbe4e7;color:#172024}.status-ok{color:#148457}.status-error{color:#b7352d}@media(max-width:860px){.shell{padding:14px}.login,.app-header,.workspace,.panel-head,.feed-head,.link-box,.quick-actions{grid-template-columns:1fr}.header-actions,.feed-actions{justify-content:stretch}.header-actions>*,.feed-actions>*,.panel-head>button,.quick-actions>button{width:100%}#qrCanvas{width:min(260px,100%);height:auto}}
