:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#09090b;color:#f5f5f5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,rgba(239,68,68,.18),transparent 34%),#09090b}button,input{font:inherit}button{cursor:pointer}.boot,.emptyState,.loginPage{min-height:100vh;display:grid;place-items:center}.loginCard{width:min(430px,calc(100vw - 32px));padding:34px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,#18181beb,#09090bf5);border-radius:28px;box-shadow:0 30px 90px #00000073}.logoMark{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#ef4444,#7f1d1d);color:#fff;font-weight:900;letter-spacing:-1px;margin-bottom:22px}.loginCard h1{margin:0 0 8px;font-size:32px;letter-spacing:-.04em}.loginCard p{margin:0 0 24px;color:#a1a1aa;line-height:1.5}.loginCard form{display:grid;gap:14px}.loginCard label{display:grid;gap:8px;color:#d4d4d8;font-size:14px}.loginCard input,.titleInput{border:1px solid rgba(255,255,255,.12);border-radius:14px;color:#fafafa;background:#ffffff0f;outline:none}.loginCard input{padding:13px 14px}.loginCard input:focus,.titleInput:focus{border-color:#ef4444e6;box-shadow:0 0 0 4px #ef44441f}.loginCard button,.sidebarActions button{border:0;border-radius:14px;padding:13px 16px;color:#fff;background:linear-gradient(135deg,#ef4444,#991b1b);font-weight:800}.errorBox{color:#fecaca;background:#ef44441f;border:1px solid rgba(239,68,68,.28);padding:11px 12px;border-radius:14px}.appShell{display:grid;grid-template-columns:310px 1fr;min-height:100vh}.sidebar{border-right:1px solid rgba(255,255,255,.1);background:#09090bc2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding:18px;overflow:auto}.sidebarHeader,.workspaceHeader,.editorTopbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.sidebarHeader strong,.workspaceHeader strong{display:block;font-size:18px}.sidebarHeader span,.workspaceHeader span{display:block;color:#71717a;font-size:13px;margin-top:2px}.iconBtn,.ghostBtn,.dangerBtn{border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#f4f4f5;background:#ffffff0f;padding:9px 11px}.ghostBtn:hover,.iconBtn:hover{background:#ffffff1a}.sidebarActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.sidebarActions button{padding:10px 12px}.folderList{display:grid;gap:12px}.folderBlock{display:grid;gap:5px}.folderButton,.noteButton{width:100%;border:0;text-align:left;color:#e4e4e7;background:transparent;border-radius:12px;display:flex;gap:8px;align-items:center}.folderButton{padding:10px 11px;font-weight:800}.folderButton.active{background:#ef444421;color:#fff}.noteList{display:grid;gap:4px;padding-left:14px}.noteButton{padding:9px 11px;color:#a1a1aa}.noteButton.active,.noteButton:hover{background:#ffffff14;color:#fff}.noteIcon{opacity:.8}.workspace{min-width:0;display:grid;grid-template-rows:auto 1fr}.workspaceHeader{padding:16px 22px;border-bottom:1px solid rgba(255,255,255,.08);background:#09090b8a}.editorPane{min-width:0;display:grid;grid-template-rows:auto 1fr}.editorTopbar{padding:14px 22px;border-bottom:1px solid rgba(255,255,255,.08);background:#121215b8}.titleInput{width:min(720px,55vw);padding:11px 13px;font-size:20px;font-weight:850;letter-spacing:-.02em}.topbarRight{display:flex;align-items:center;gap:9px;min-width:0}.statusDot{width:10px;height:10px;border-radius:999px;background:#71717a;box-shadow:0 0 0 4px #71717a1f}.statusDot.online{background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.statusDot.offline,.statusDot.sem.acesso{background:#ef4444;box-shadow:0 0 0 4px #ef44441f}.statusText{color:#a1a1aa;font-size:13px}.usersPill{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid rgba(255,255,255,.1);background:#ffffff0d;color:#d4d4d8;border-radius:999px;padding:8px 12px;font-size:13px}.dangerBtn{color:#fecaca;border-color:#ef44443d;background:#ef444414}.editorShell{min-height:0;padding:22px}.editorMount{height:calc(100vh - 158px);overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:#111113;box-shadow:inset 0 1px #ffffff0a,0 20px 70px #00000047}.cm-editor{background:transparent;color:#f5f5f5;height:100%;font-size:16px}.cm-content{padding:26px;line-height:1.7;caret-color:#ef4444}.cm-gutters{background:#ffffff08;color:#52525b;border-right-color:#ffffff14}.cm-activeLine,.cm-activeLineGutter{background:#ef444414}.cm-cursor{border-left-color:#ef4444}.cm-selectionBackground{background:#ef444452!important}.emptyState{padding:30px;text-align:center}.emptyState h2{font-size:28px;margin:0 0 10px}.emptyState p{color:#a1a1aa;max-width:560px;line-height:1.55;margin:0}@media(max-width:900px){.appShell{grid-template-columns:1fr}.sidebar{max-height:38vh;border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}.editorTopbar{align-items:stretch;flex-direction:column}.titleInput{width:100%}.topbarRight{flex-wrap:wrap}.editorMount{height:calc(100vh - 360px)}}
