.editor-shell{width:min(100% - 3rem,1180px)}.editor-heading{display:flex;justify-content:space-between;gap:2rem;padding:3rem 0 1rem}.editor-heading h1{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:.5rem}.editor-heading p{color:var(--muted)}.editor-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:3rem}.editor-sidebar{border-right:1px solid var(--line);padding-right:1.5rem}.editor-shell button,.file-button{font:inherit;font-size:.875rem;border:1px solid #55594f;background:transparent;color:var(--foreground);padding:.55rem .85rem;border-radius:3px;cursor:pointer}.editor-shell button:hover,.file-button:hover{border-color:var(--accent);color:var(--accent)}.editor-shell button:disabled{opacity:.5;cursor:wait}.editor-shell button.primary{background:var(--accent);color:var(--background)}.editor-shell label{display:block;font-size:.8125rem;color:var(--muted);margin:1rem 0}.editor-shell input,.editor-shell textarea{display:block;width:100%;font:inherit;font-size:1rem;color:var(--foreground);background:#17191a;border:1px solid var(--line);border-radius:3px;padding:.65rem;margin-top:.4rem;line-height:1.7}.editor-shell textarea{resize:vertical}.editor-shell textarea[name=title]{font-family:Georgia,serif;font-size:1.65rem}.editor-shell textarea#body{font-size:1.0625rem;min-height:360px}.metadata-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.entry-link{display:block;width:100%;text-align:left;border:0!important;border-left:2px solid transparent!important;margin:.6rem 0}.entry-link.selected{border-left-color:var(--accent)!important;background:#20231e}.entry-link strong{font-weight:400;display:block}.entry-link small{display:block;color:var(--muted);font-size:.7rem;margin-top:.3rem}.editor-sidebar h2{margin-top:2rem}.hint{font-size:.75rem;color:var(--muted)}.entry-meta{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.8rem}.formatting,.editor-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.formatting button{padding:.3rem .65rem;font-size:.75rem}.editor-shell .file-button{display:inline-block;margin:.5rem 0}.file-button input{font-size:.75rem}.editor-actions{position:sticky;bottom:0;background:#101112;padding:1rem 0;border-top:1px solid var(--line);z-index:1}.editor-shell details{border-top:1px solid var(--line);padding:1rem 0;font-size:.875rem}.editor-shell summary{cursor:pointer;color:var(--muted)}.writing-help{margin-top:3rem}#status{min-height:2rem;color:var(--accent);position:sticky;top:0;background:#101112;z-index:2;padding:.4rem 0}#status.error{color:#ffb4aa}#preview{margin-top:2rem;padding:1rem;border:1px solid var(--line)}#history-list button{display:block;margin:.5rem 0}.editor-shell [inert]{opacity:.65}.editor-shell [hidden]{display:none!important}@media(max-width:760px){.editor-layout{grid-template-columns:1fr;gap:1.5rem}.editor-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 1rem}#entries{max-height:240px;overflow:auto}.metadata-grid{grid-template-columns:1fr}.editor-heading{padding-top:1.5rem}.editor-shell{width:calc(100% - 2rem)}.editor-actions{position:static}}

.auth-shell{max-width:620px}.auth-shell .page-intro{padding-bottom:1rem}.auth-shell h1{font-size:clamp(2rem,6vw,3rem)}.auth-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem;border:1px solid var(--line)}.auth-shell input[type=checkbox]{display:inline-block;width:auto}.auth-links,#auth-status{margin:1.5rem 0}.auth-shell [hidden]{display:none!important}
