:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-background:#fff;--text-color:#37352f;--muted-text:#74736e;--control-border:#b7b5ae;--primary-background:#37352f;--primary-text:#fff;--danger-border:#a43f45;--danger-text:#8b3036;--success-text:#2f6f50;--focus-ring:#8ab4f8;--spinner-track:#e3e1dd;--spinner-head:#6f6e69;--list-guide:#e3e1dd;--list-marker:#9b9a97;color:var(--text-color);background:var(--page-background);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-color-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-background:#191919;--text-color:#dedbd3;--muted-text:#aaa9a3;--control-border:#55534e;--primary-background:#dedbd3;--primary-text:#191919;--danger-border:#c86b70;--danger-text:#ff9b9f;--success-text:#72c69a;--focus-ring:#8ab4f8;--spinner-track:#44423e;--spinner-head:#aaa9a3;--list-guide:#44423e;--list-marker:#85837d}*{box-sizing:border-box}body{background:var(--page-background);min-width:320px;min-height:100vh;margin:0}.editor-shell{width:min(720px,100% - 3rem);margin:0 auto;padding:8vh 0 4rem}#editor{padding-top:2rem}.room-header{z-index:10;justify-content:space-between;align-items:center;gap:.75rem;display:flex;position:fixed;top:1rem;left:1.5rem;right:1.5rem}.room-status{min-height:1.5rem;color:var(--muted-text);flex-wrap:wrap;justify-content:flex-start;gap:.5rem 1rem;font-size:.8rem;line-height:1.5;display:flex}.room-status span:empty{display:none}.room-connection-status,.room-participant-status{white-space:nowrap}.room-identifier{z-index:10;color:var(--muted-text);font-size:.8rem;line-height:1.5;position:fixed;bottom:1rem;left:1.5rem}.room-local-copy-actions{z-index:10;position:fixed;bottom:1rem;right:1.5rem}.room-local-copy-actions[hidden]{display:none}.room-local-copy-action{color:var(--muted-text);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-size:.8rem;line-height:1.5}.room-local-copy-action:hover{color:var(--text-color)}.room-local-copy-action:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.room-local-copy-action:disabled{cursor:wait;opacity:.65}.room-editor-surface{padding-top:.5rem}.room-screen{z-index:5;background:var(--page-background);text-align:center;border:0;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:clamp(1.5rem,5vw,4rem);font-size:.9rem;line-height:1.5;display:flex;position:fixed;inset:0}.room-screen[hidden]{display:none}.room-screen>*{width:min(100%,36rem)}.room-screen-notice{z-index:9;width:min(28rem,100% - 3rem);color:var(--muted-text);text-align:right;pointer-events:none;background:0 0;padding:0;font-size:.8rem;display:block;inset:auto 1.5rem 3.25rem auto}.room-screen-notice>*{width:auto}.room-screen p,.room-screen h1{margin:.5rem 0 0}.room-screen h1{color:var(--text-color);font-size:1.1rem}.room-sharing{flex-direction:row;align-items:center;gap:.5rem;min-width:0;display:flex}.room-actions{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem;display:flex}.room-sharing button,.room-action{border:1px solid var(--control-border);min-height:2.25rem;color:var(--text-color);background:var(--page-background);cursor:pointer;font:inherit;border-radius:6px;padding:.4rem .75rem}.room-sharing button{width:auto;min-height:auto;color:var(--muted-text);text-align:right;background:0 0;border:0;border-radius:0;padding:0;font-size:.8rem;line-height:1.5}.room-sharing button:hover{color:var(--text-color)}.room-sharing .room-theme-toggle{place-items:center;width:1.25rem;height:1.25rem;display:grid}.room-theme-toggle svg{width:1rem;height:1rem}.room-action-primary{border-color:var(--primary-background);color:var(--primary-text);background:var(--primary-background)}.room-action-danger{border-color:var(--danger-border);color:var(--danger-text)}.room-local-copy-action.room-action-danger{color:var(--muted-text)}.room-sharing button:focus-visible,.room-action:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.room-sharing button:disabled,.room-action:disabled{cursor:wait;opacity:.65}.room-copy-label{display:inline-block}.room-copy-label-success,.room-copy-label-failure{animation:.18s ease-out room-copy-feedback}.room-copy-label-success{color:var(--success-text)}.room-copy-label-failure{color:var(--danger-text)}@keyframes room-copy-feedback{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.room-copy-label-success,.room-copy-label-failure,.room-loading-spinner{animation:none}}.room-warning{color:var(--danger-text);font-weight:600}.room-readonly-preview{min-height:12rem;max-height:40vh;color:var(--muted-text);text-align:left;white-space:pre-wrap;padding:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.6;overflow:auto}.room-loading-status{z-index:10;color:var(--muted-text);font-size:.8rem;line-height:1.5;position:fixed;top:1rem;left:1.5rem}.room-loading-placeholder{z-index:1;pointer-events:none;background:var(--page-background);place-items:center;display:grid;position:fixed;inset:0}.room-loading-spinner{border:2px solid var(--spinner-track);border-top-color:var(--spinner-head);border-radius:50%;width:1.75rem;height:1.75rem;animation:.7s linear infinite room-loading-spin}@keyframes room-loading-spin{to{transform:rotate(360deg)}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.room-editor-surface .cm-editor [contenteditable=false]{cursor:default}.room-editor-surface .cm-cursor{border-left-color:var(--text-color)}@media (width<=640px){.editor-shell{width:calc(100% - 2rem);padding-top:1rem}.room-header{gap:.75rem;top:.75rem;left:1rem;right:1rem}.room-loading-status{top:.75rem;left:1rem}.room-sharing{min-width:0}.room-local-copy-actions{bottom:.75rem;right:1rem}.room-identifier{bottom:.75rem;left:1rem}}.cm-heading{font-weight:700}.cm-heading-1{font-size:1.875em;line-height:1.3}.cm-heading-2{font-size:1.5em;line-height:1.35}.cm-heading-3{font-size:1.25em;line-height:1.4}.cm-heading-4,.cm-heading-5,.cm-heading-6{font-size:1.1em;line-height:1.45}.cm-content .cm-line.cm-list-item{--list-step:1.6em;--list-indent:calc(var(--list-depth,0) * var(--list-step));--list-gutter:1.5em;padding-left:calc(6px + var(--list-indent) + var(--list-gutter));background-image:repeating-linear-gradient(to right, var(--list-guide) 0, var(--list-guide) 1px, transparent 1px, transparent var(--list-step));background-position:calc(6px + .5em) 0;background-size:var(--list-indent) 100%;background-repeat:no-repeat;position:relative}.cm-content .cm-line.cm-list-item:before{content:"•";left:calc(6px + var(--list-indent) + .35em);color:var(--list-marker);position:absolute}.cm-strong{font-weight:700}.cm-em{font-style:italic}.editor-failure,.editor-entry-message{color:var(--danger-text);padding:1.5rem;font:14px/1.6 system-ui,sans-serif}.editor-entry-message{color:var(--text-color)}.editor-failure p,.editor-entry-message p{color:inherit;opacity:.85;margin:.5rem 0 0}
