.page-editor-page{background:var(--surface-strong);min-height:100%}.page-editor-save-status{max-width:180px;color:var(--ink-soft);text-align:right;padding-inline:6px;font-size:12px;line-height:1.3}.page-editor-save-status[data-tone=danger]{color:var(--danger)}:root .app-shell .page-editor-page:has(>.page-editor-save-error){padding-block-start:calc(var(--shell-header-height,56px) + 16px)}:root .app-shell .page-editor-page:has(>.page-editor-save-error) .page-editor-canvas{padding-block-start:24px}@container (width<=600px){.page-editor-save-status{white-space:nowrap;max-width:calc(100cqw - 24px);padding:0;position:absolute;inset-block-start:calc(100% + 2px);inset-inline-end:12px}}.page-editor-canvas{width:min(var(--density-editor-width), calc(100% - 48px));min-height:calc(100dvh - var(--shell-header-height) - var(--density-editor-bar-height));padding:var(--density-editor-padding-start) 0 120px;margin-inline:auto}.page-editor-context{min-height:24px;color:var(--ink-faint);flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:12px;display:flex}.page-editor-context a{min-height:24px;color:var(--action);align-items:center;font-weight:650;display:inline-flex}@media (pointer:coarse){.page-editor-context a{min-height:44px}}.page-title-input{field-sizing:content;width:100%;min-height:52px;color:var(--ink);resize:none;font:inherit;font-size:clamp(var(--density-editor-title-min), 5vw, var(--density-editor-title-max));letter-spacing:-.04em;background:0 0;border:0;outline:none;margin:15px 0 24px;padding:0;font-weight:760;line-height:1.08;display:block;overflow:hidden}.page-title-input:focus-visible{box-shadow:none;outline:none}.page-title-input::placeholder{color:color-mix(in srgb, var(--ink-faint) 65%, transparent)}.page-editor-body{--border:var(--line);--foreground:var(--ink);--muted:var(--surface-muted);--muted-foreground:var(--ink-soft);--primary:var(--action);min-height:420px;padding-top:0}.page-editor-connection-status{min-height:36px;color:var(--ink-faint);align-items:center;gap:10px;margin:-8px 0 8px;font-size:13px;display:flex}.page-editor-connection-status button{min-height:32px}.page-editor-body .page-markdown-editor{min-height:420px}.page-editor-body .nph-editor{min-height:420px;color:var(--ink);font-family:inherit;font-size:var(--density-editor-font);line-height:1.75}.page-editor-body .nph-editor:focus{outline:none}.page-editor-body .nph-editor p.is-editor-empty:first-child:before{color:var(--ink-faint)}.page-editor-body .nph-editor a{color:var(--action)}.page-editor-loading{min-height:240px;color:var(--ink-faint);padding-top:8px}.page-editor-state{width:min(680px,100% - 32px);margin:72px auto}.page-recovery-compare-dialog .app-dialog-body{align-content:start;gap:16px;display:grid}.page-recovery-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;display:grid}.page-recovery-compare-pane{align-content:start;gap:8px;min-width:0;display:grid}.page-recovery-compare-pane h3,.page-recovery-compare-pane p{margin:0}.page-recovery-compare-pane h3{font-size:14px}.page-recovery-compare-pane p{color:var(--ink-soft);font-size:12px}.page-recovery-compare-content{min-width:0;max-height:calc(100dvh - 240px);overflow:auto}.page-recovery-compare-content .page-markdown-editor,.page-recovery-compare-content .nph-editor{min-height:0}.page-recovery-compare-tabs .app-tabs-list{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px;display:grid}.page-recovery-compare-tabs .app-tabs-trigger{text-align:center;min-width:0;padding-inline:8px}@media (width<=639px),(pointer:coarse) and (height<=500px){.page-editor-canvas{width:min(100% - 28px,680px);min-height:calc(100dvh - var(--shell-header-height) - 52px);padding:32px 0 var(--mobile-active-dock-clearance)}.page-title-input{min-height:44px;margin:12px 0 20px;font-size:clamp(30px,10vw,40px)}.page-editor-body{min-height:360px;padding-top:0}.page-editor-body .page-markdown-editor,.page-editor-body .nph-editor{min-height:360px}}.page-room-picker .property-command-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-options-note,.page-room-help{color:var(--ink-soft);font-size:12px;line-height:1.5}.page-options-note{max-width:220px;margin:0;padding:4px 8px}.page-room-help{margin:8px 16px 16px}.page-editor-context:empty{display:none}@media (width<=639px),(pointer:coarse){.page-editor-connection-status button{width:44px;min-width:44px;height:44px;min-height:44px}}.page-editor-presence{justify-content:center;align-items:center;gap:7px;display:flex}.page-editor-presence>span{color:var(--ink-faint);font-size:10px}@media (width<=760px){.page-editor-presence>span{display:none}}.page-editor-floating-layer{z-index:60;pointer-events:none;position:fixed;inset:0}.page-editor-floating-layer>*{pointer-events:auto}.page-editor-save-error{padding:12px var(--density-dialog-padding);color:var(--ink-soft)}.page-editor-save-error>p{margin:0}.page-editor-save-actions{justify-content:flex-start;margin-top:8px}@media (width<=639px),(pointer:coarse) and (height<=500px){.page-editor-presence{grid-area:1/2;min-width:0;overflow:hidden}.page-editor-canvas{width:min(100% - 32px,680px);min-height:calc(100dvh - 52px - 67px - env(safe-area-inset-bottom));padding:24px 0 calc(96px + env(safe-area-inset-bottom))}.page-editor-body,.page-editor-body .page-markdown-editor,.page-editor-body .nph-editor{min-width:0;max-width:100%}.page-editor-floating-layer>:is(.bubble-menu,.nph-command,.nph-table-dropdown,.nph-link-popover){max-width:calc(100vw - 24px)}}@media (width<=359px){.page-editor-canvas{width:min(100% - 24px,680px)}}@media (width<=639px),(pointer:coarse) and (height<=500px){.page-editor-canvas{min-height:calc(100dvh - 52px - 67px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}.phlos-page-create-view .page-editor-canvas{width:100%;min-height:0;box-shadow:none;background:0 0;padding:8px 0 40px}.phlos-page-create-status{color:var(--muted-foreground,var(--ink-soft));font-size:12px}.phlos-page-create-view .page-editor-body,.phlos-page-create-view .page-markdown-editor,.phlos-page-create-view .nph-editor{min-height:280px}
