@font-face{font-family:'Zen Kaku Gothic Antique';src:url('./fonts/zen-kaku-antique.woff2') format('woff2');font-display:swap;font-weight:400;font-style:normal}
@font-face{font-family:'Zen Kaku Gothic New';src:url('./fonts/zen-kaku.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:'Noto Sans JP';src:url('./fonts/noto-sans-jp.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:'Zen Maru Gothic';src:url('./fonts/zen-maru.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:'DM Sans';src:url('./fonts/dm-sans.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:Jost;src:url('../assets/jost-variable.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:'Geist Mono';src:url('../projects/assets/geist-mono.ttf') format('truetype');font-display:swap;font-weight:400}
:root{
 --paper:#f8fbfa;--ink:#875369;--body:#635a66;--muted:#796b78;--plum:#77627f;--red:#9a4f6c;--teal:#467b7c;--sage:#e5e8df;
 --line:rgba(135,83,105,.3);--sheet:#fff;--soft-line:rgba(135,83,105,.18);--rule:rgba(135,83,105,.12);--tape:var(--sage);
 --hover:#6e4055;--shadow:rgba(67,49,77,.07);--wash:#f8fbfa80;--panel:#f8fbfaf5;--backdrop:#f8fbfac9;
 --page-inset:3.6vw;--reading-width:680px;--art-reveal:clamp(190px,19vw,300px);--control-paper:rgba(248,251,250,.64);--control-line:rgba(135,83,105,.23);--post-ja:'Noto Sans JP';--post-en:Jost;--post-font:var(--post-en),var(--post-ja),'Hiragino Sans','Yu Gothic',sans-serif;--font:'Geist Mono','Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--paper);color:var(--ink);font:400 14px/1.7 var(--font)}
button,a,select,input{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
::selection{background:var(--ink);color:var(--paper)}[hidden]{display:none!important}
#stage{position:fixed;inset:0}#stage canvas{display:block;width:100%;height:100%}
.intro-wash{position:fixed;inset:0;background:linear-gradient(90deg,transparent 38%,var(--wash) 53%,var(--paper) 70%);pointer-events:none}
.invitation{position:fixed;left:65%;top:31%;right:4%;max-width:390px}
.eyebrow{font-size:11px;letter-spacing:.13em;margin:0 0 26px}
.invitation h1{font-size:clamp(22px,2.4vw,34px);line-height:1.65;font-weight:400;letter-spacing:.04em;margin:0 0 24px}
.invitation-copy{font-size:14px;line-height:2.1;margin:0 0 34px}
.open-book{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:10px 0;border:0;border-bottom:1px solid var(--ink);background:none;min-width:195px;text-align:left}.open-book span{font-size:20px}
.invitation-foot{font-size:10px;line-height:1.8;margin-top:16px;color:var(--muted)}
.book-leaf-viewport{position:fixed;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.book-leaf{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform,opacity}
.notes-viewport{position:fixed;inset:0;pointer-events:none;z-index:2;overflow:hidden}
.notes-paper{position:relative;width:100%;min-height:100%;padding-bottom:105px;background:var(--paper)}
.notes-viewport.is-document{pointer-events:auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) var(--paper)}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 3.6%;font-size:14px;line-height:1.4}
.site-header nav{display:flex;align-items:center;gap:17px}.site-header button{border:0;padding:2px 0;border-bottom:1px solid transparent;background:none;white-space:nowrap}.site-header button:hover{border-bottom-color:var(--ink)}
.current-nav{background:var(--ink);color:var(--paper);padding:3px 9px;border-radius:3px}.site-name{white-space:nowrap}
main{position:relative;isolation:isolate;padding:0 var(--page-inset)}
.page-title{position:relative;height:var(--art-reveal);padding:0}
.castle-backdrop{display:flex;flex-direction:column;position:absolute;inset:0 0 0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none;mask-image:linear-gradient(to bottom,#000 calc(var(--art-reveal) - 30px),rgba(0,0,0,.55) calc(var(--art-reveal) + 85px),rgba(0,0,0,.18) calc(var(--art-reveal) + 240px),rgba(0,0,0,.18) calc(100% - 80px),transparent);-webkit-mask-image:linear-gradient(to bottom,#000 calc(var(--art-reveal) - 30px),rgba(0,0,0,.55) calc(var(--art-reveal) + 85px),rgba(0,0,0,.18) calc(var(--art-reveal) + 240px),rgba(0,0,0,.18) calc(100% - 80px),transparent)}
.header-picture{display:block;flex:0 0 auto;width:100%;pointer-events:none}.header-art{display:block;width:100%;height:auto;aspect-ratio:720/1040}
.notes-paper{overflow:hidden}.site-header{position:relative;z-index:1}.current-nav{background:var(--ink);color:var(--sheet)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.browse-tools{position:relative;max-width:596px;margin:0 auto 18px}

.post-search{color:var(--hover);display:flex;align-items:center;gap:12px;width:100%;margin:0 auto 15px;height:29px;padding:0 11px;background:var(--control-paper);border:1px solid var(--control-line);border-radius:0}.post-search:focus-within{background:rgba(248,251,250,.82);border-color:var(--ink);box-shadow:0 0 0 1px var(--rule)}
.post-search svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6}.post-search input{height:25px;line-height:25px;padding:0;min-width:0;flex:1;font:inherit;font-size:12px;color:var(--hover);background:none;border:0;outline:none;appearance:none}.post-search input::-webkit-search-cancel-button{display:none}.post-search button{border:0;background:none;padding:1px;font-size:11px}.post-search #clear-search{font-size:20px;line-height:1}.post-search .search-submit{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--control-line);padding-left:12px}
.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;margin:0;padding-bottom:12px}
.category-tabs button{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-width:0;min-height:34px;padding:7px 8px;background:rgba(248,251,250,.48);border:1px solid var(--control-line);border-radius:0;color:var(--hover);font-size:11px;line-height:1.3;white-space:nowrap}
.category-tabs button:hover{border-color:var(--ink);background:rgba(248,251,250,.64)}
.category-tabs button[aria-selected=true]{background:transparent;color:var(--hover);border-color:transparent}
.category-tabs button[aria-selected=true]::before{content:'';position:absolute;inset:-1px -1px -9px;z-index:-1;pointer-events:none;background:url('./selected-tab.svg') center/100% 100% no-repeat}
.results-bar{max-width:var(--reading-width);margin:0 auto 18px;border-bottom:1px solid var(--soft-line);padding-bottom:12px}.results-bar p{font-size:11px;margin:0;color:var(--muted);overflow-wrap:anywhere}
.pin-feedback{max-width:1440px;margin:0 auto 25px;padding:12px 15px;background:var(--paper);border:1px solid var(--line);font-size:11px;line-height:1.9}
.section-title{display:flex;justify-content:space-between;gap:16px;align-items:center;max-width:var(--reading-width);margin:0 auto 16px}.section-title h2{display:flex;gap:9px;align-items:center;font-size:15px;font-weight:400;margin:0}.section-title h2 svg{width:16px;height:18px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linejoin:round}.section-title>span{font-size:10px;color:var(--muted)}
.pickup-section{margin-bottom:30px}.pinned-posts,.scrapbook{display:grid;grid-template-columns:1fr;gap:0;max-width:var(--reading-width);margin:auto}.pinned-posts.single-pickup{grid-template-columns:1fr}
.post-card{position:relative;isolation:isolate;min-width:0;max-width:var(--reading-width);padding:24px 0;border-bottom:1px solid var(--soft-line);--post-ink:var(--body);--post-size:12px;--post-leading:1.85;--post-align:left;--post-line-height:calc(var(--post-size)*var(--post-leading))}
#post-results{position:relative;isolation:isolate}
.content-clouds{position:relative;flex:1;min-height:0;overflow:hidden}
.cloud-pattern{position:absolute;inset:0;background-repeat:repeat-y;opacity:.54}
.cloud-pattern-left{right:auto;width:430px;background-image:url('./cloud-field-left.svg');background-size:430px 760px;background-position:left top}
.cloud-pattern-right{left:auto;width:470px;background-image:url('./cloud-field-right.svg');background-size:470px 850px;background-position:right 100px}
#post-results .post-card,#post-results .post-card.is-featured{background:transparent;box-shadow:none}
.post-card.post-width-wide{grid-column:1/-1}
.post-card.is-featured{padding:12px 0 24px;background:transparent;border:0;border-bottom:1px solid var(--soft-line)}
.entry-meta{display:flex;align-items:baseline;justify-content:flex-start;gap:12px;font-size:11px;line-height:1.6;letter-spacing:.035em;margin:0 0 12px;color:var(--muted);text-align:left}.entry-meta time{color:var(--ink);white-space:nowrap}.entry-meta>span:last-child{font-size:10px}
.post-content{min-width:0}.post-text{font-family:var(--post-font);font-weight:400;font-style:normal;letter-spacing:.13em;color:var(--post-ink);font-size:var(--post-size);line-height:var(--post-leading);text-align:var(--post-align);overflow-wrap:anywhere}
.post-text h2{font:400 1.12em/1.65 var(--post-font);color:inherit;letter-spacing:inherit;margin:0 0 12px}.post-text p{font-size:inherit;line-height:inherit;color:inherit;margin:0 0 .8em}.post-text p:last-child{margin-bottom:0}
.post-tone-ink{--post-ink:#635a66}.post-tone-olive{--post-ink:#68745a}.post-tone-brown{--post-ink:#826452}
.post-tone-teal{--post-ink:var(--teal)}.post-tone-plum{--post-ink:var(--plum)}.post-tone-red{--post-ink:var(--red)}.post-size-small{--post-size:11px}.post-size-large{--post-size:19px}.post-align-center{--post-align:center}.post-leading-compact{--post-leading:1.7}.post-leading-airy{--post-leading:2.35}
.post-surface-paper .post-text,.post-surface-ruled .post-text{padding:22px 24px;background:var(--sheet);border:1px solid var(--soft-line)}
.post-surface-ruled .post-text p{background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--post-line-height) - 1px),var(--rule) calc(var(--post-line-height) - 1px) var(--post-line-height))}
.post-photo{margin:16px 0 0;padding:0;border:0;background:none;max-width:100%}.post-photo img{display:block;width:auto;max-width:100%;max-height:340px;object-fit:contain}
.post-date{font:inherit;padding:0;border:0;background:none}.post-date:hover{text-decoration:underline;text-underline-offset:3px}
.post-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:12px}.read-note,.edit-post{border:0;border-bottom:1px solid var(--line);background:none;padding:4px 0;display:flex;gap:14px;align-items:center;font-size:10px;text-align:left}.read-note:hover,.edit-post:hover{border-bottom-color:var(--ink)}
.pin-toggle{padding:6px 9px;border:1px solid var(--control-line);border-radius:0;background:var(--control-paper);font-size:10px}.pin-toggle[aria-pressed=true]{background:rgba(221,205,219,.68);border-color:var(--ink);color:var(--ink)}#edit-pins[aria-pressed=true]{text-decoration:underline;text-underline-offset:3px}
.empty-results{position:relative;max-width:var(--reading-width);margin:auto;text-align:center;padding:45px 12px 60px}.empty-results img{display:block;margin:0 auto 15px}.empty-results p{font-size:13px}.empty-results button{background:none;border:0;border-bottom:1px solid var(--ink);padding:5px 0;font-size:12px}
.post-feedback{max-width:1320px;margin:0 auto 24px;font-size:12px;color:var(--ink)}
.end-note{text-align:center;font-size:15px;margin:70px 0 50px;letter-spacing:.06em}.end-note span{display:block;font-size:10px;margin-top:7px;color:var(--muted)}
.site-footer{margin:0 3.6%;padding:20px 0 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:11px}.site-footer button{padding:0;border:0;background:none;font-size:11px}
.preview-tools{position:fixed;z-index:10;left:50%;bottom:12px;transform:translateX(-50%);width:min(720px,calc(100% - 24px));background:var(--panel);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:0 5px 30px var(--shadow);border-radius:6px;padding:11px 17px 9px;display:grid;grid-template-columns:1fr auto;gap:7px 15px;font-size:10px}
.preview-label{display:flex;align-items:center;gap:7px;letter-spacing:.05em}.preview-label small{font-size:9px;margin-left:7px;letter-spacing:0;color:var(--muted)}.preview-dot{width:5px;height:5px;background:var(--ink);border-radius:50%}
.preview-actions{display:flex;gap:15px;align-items:center}.preview-actions>button{border:0;background:none;padding:0;font-size:10px}.timeline{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:9px}.timeline label{width:70px;white-space:nowrap}.timeline input{flex:1;accent-color:var(--ink);height:13px;cursor:ew-resize;min-width:0}.timeline output{font-size:9px;width:70px;text-align:right}
#status{position:fixed;left:25px;bottom:103px;z-index:5;font-size:11px;color:var(--muted);margin:0}
dialog{border:1px solid var(--line);background:var(--sheet);color:var(--ink);width:min(620px,calc(100vw - 40px));max-height:calc(100dvh - 110px);padding:54px 45px;box-shadow:0 18px 70px var(--shadow);font-family:var(--font)}dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(4px)}
.close-note{position:absolute;top:10px;right:15px;font-size:24px;background:none;border:0;padding:5px}.close-note:hover{opacity:.65}dialog h2{font-size:25px;line-height:1.7;font-weight:400;margin:0 0 27px}dialog p{font-size:14px;line-height:2.1;color:var(--body)}dialog img{width:100%;max-height:340px;object-fit:contain;display:block;margin:20px 0}.detail-foot{display:block;border-top:1px solid var(--line);padding-top:20px;font-size:10px;margin-top:35px}

#note-dialog .post-card{border:0;padding:0}#note-dialog .post-text p{font-size:inherit;line-height:inherit;color:inherit}#note-dialog .post-text h2{color:inherit;font-size:1.28em;line-height:1.65;margin:0 0 18px}#note-dialog .entry-meta{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 19px}#note-dialog img{margin:0}.detail-foot{border-color:var(--line)}
.preview-tools{width:min(780px,calc(100% - 24px))}
@media(max-width:760px){
 :root{--page-inset:5vw}
 .invitation{top:13%;left:53%;right:4%}.invitation h1{font-size:21px}.invitation .eyebrow{font-size:9px;margin-bottom:17px}.invitation-copy{font-size:12px;margin-bottom:23px}.open-book{min-width:0;width:100%;gap:7px;font-size:12px}.invitation-foot{font-size:9px}
 .site-header{font-size:11px;align-items:flex-start;padding:18px 5% 14px}.site-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.site-name{max-width:100px;white-space:normal}.site-header button{font-size:10px}
 main{padding:0 var(--page-inset)}.browse-tools{margin-bottom:15px}.post-search{height:30px;margin-bottom:14px;gap:9px;padding:0 10px}.post-search input{font-size:16px;letter-spacing:-.03em}.post-search .search-submit{padding-left:8px}.category-tabs{gap:6px}.category-tabs button{min-height:34px;padding:6px 4px;font-size:11px}
 .cloud-pattern-left{width:min(100%,310px);background-size:310px 640px;background-position:-45px 0}
 .results-bar{margin-bottom:16px}.section-title{margin-bottom:15px}.section-title h2{font-size:14px}.section-title>span{font-size:9px}.pinned-posts,.scrapbook{grid-template-columns:1fr;gap:0}.pickup-section{margin-bottom:27px}.post-card.is-featured{padding:0 0 26px}.single-pickup .has-photo .post-content{grid-template-columns:1fr;gap:20px}.post-card{--post-size:12px}.post-size-small{--post-size:11px}.post-size-large{--post-size:18px}.entry-meta{font-size:10px}.entry-meta>span:last-child{font-size:9px}.post-surface-paper .post-text,.post-surface-ruled .post-text{padding:17px}.post-photo img{max-height:300px}
 .end-note{margin:55px 0 40px;font-size:13px}.site-footer{margin:0 5%;font-size:10px}.preview-tools{padding:9px 11px;display:block}.preview-label{font-size:8px;margin-bottom:7px}.preview-label small{font-size:8px}.preview-actions{justify-content:space-between;gap:8px;margin-bottom:7px;flex-wrap:wrap}.preview-actions>button{font-size:9px}.timeline{gap:7px}.timeline label{width:63px;font-size:8px}.timeline output{width:63px;font-size:8px}.notes-paper{padding-bottom:130px}#status{bottom:130px;left:15px;font-size:10px}dialog{padding:48px 23px}

}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.notes-paper,.post-surface-paper .post-text,.post-surface-ruled .post-text{background-image:url('./paper-grain.svg')}
@media(min-width:600px){.header-art{aspect-ratio:1100/1020}}
@media(min-width:1000px){.header-art{aspect-ratio:1440/980}}
@media(max-width:999px){.cloud-pattern-right{display:none}}
@media(max-width:599px){:root{--art-reveal:168px}}


.results-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:0;border:0;margin-bottom:12px}
#toggle-fonts{display:flex;align-items:baseline;gap:7px;background:none;border:0;padding:5px 0;font-size:15px;color:var(--muted)}#toggle-fonts span{font-size:10px}#toggle-fonts[aria-expanded=true]{color:var(--ink)}
.compose-entry{max-width:var(--reading-width);margin:0 auto 24px;border-top:1px solid var(--soft-line);border-bottom:1px solid var(--soft-line)}
.compose-entry>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:21px 0;border:0;background:transparent;text-align:left;font:400 15px/1.6 var(--post-font);color:var(--muted)}.compose-entry>button:hover{color:var(--ink)}.compose-entry-action{font:11px var(--font);color:var(--ink);white-space:nowrap}
.pickup-section{margin-bottom:10px}.section-title{margin-bottom:0}.section-title h2{font-size:11px}.section-title h2 svg{width:12px;height:14px}
.font-settings{max-width:var(--reading-width);margin:0 auto 20px;padding:18px;border:1px solid var(--soft-line);background:rgba(248,251,250,.96)}
.font-settings-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.font-settings-heading h2{font-size:13px;font-weight:400;margin:0}.font-settings-heading button{border:0;background:none;font-size:22px;line-height:1;padding:0 4px}
.font-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.font-options-grid fieldset{border:0;padding:0;margin:0;min-width:0}.font-options-grid legend{font-size:10px;color:var(--muted);padding:0 0 8px}
.font-choice{display:block;position:relative;margin:0 0 6px;cursor:pointer}.font-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.font-choice>span{display:block;padding:11px 9px;border:1px solid transparent}.font-choice input:checked+span{border-color:var(--line);background:rgba(221,205,219,.2)}.font-choice:hover>span{background:rgba(221,205,219,.12)}.font-choice input:focus-visible+span{outline:2px solid var(--ink);outline-offset:1px}
.font-specimen{display:block;font-size:14px;line-height:1.7;color:var(--body)}.font-choice-name{display:block;font-size:9px;line-height:1.7;margin-top:7px;color:var(--muted)}
.font-pair-sample{font:400 12px/1.85 var(--post-font);letter-spacing:.13em;color:var(--body);border-top:1px solid var(--soft-line);margin:12px 0 0;padding:18px 0 4px}.font-status{font-size:10px;margin:6px 0 0;color:var(--muted)}
.post-editor{width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:20px 24px 0;background:var(--paper);overflow:hidden}
.post-editor[open]{display:flex;flex-direction:column}
.editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-shrink:0;margin-bottom:18px}.editor-heading h2{font-size:16px;margin:0;line-height:1.5}.editor-heading>button{border:0;background:none;font-size:25px;line-height:1;padding:0 4px}
#editor-form{display:flex;flex-direction:column;min-height:0}
.editor-grid{min-height:0}.editor-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0}
.editor-fields{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;max-height:calc(100dvh - 190px);padding:0 3px 4px;scroll-padding:15px}
.editor-panel{display:grid;gap:14px}.editor-fields label{display:grid;gap:6px;font-size:11px;color:var(--muted)}
.editor-fields input[type=text],.editor-fields input[type=date],.editor-fields select{width:100%;min-width:0;padding:8px 9px;border:1px solid var(--soft-line);background:rgba(255,255,255,.5);color:var(--body);border-radius:0;font:400 13px/1.7 var(--font)}
.editor-fields textarea{display:block;resize:vertical;width:100%;min-height:160px;max-height:45dvh;padding:5px 0;border:0;border-radius:0;background:none;color:var(--body);font:400 17px/1.8 var(--post-font)}.editor-fields textarea::placeholder{color:var(--muted);opacity:.65}.editor-fields textarea:focus-visible{outline:1px solid var(--soft-line);outline-offset:3px}
.compose-byline{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.editor-fields .compose-byline select{border:0;background:none;font-size:11px;width:auto;max-width:175px;padding:3px 0;color:var(--muted)}
.compose-tools{display:flex;align-items:center;justify-content:space-between;gap:16px}.compose-tools button{padding:4px 0;border:0;background:none;font-size:11px;color:var(--muted)}.compose-tools button[aria-expanded=true]{color:var(--ink)}.compose-tools button span{margin-right:4px;font-size:16px}.compose-tools output{font-size:10px;color:var(--muted)}
.compose-details{font-size:11px;color:var(--muted)}.compose-details summary{cursor:pointer;width:fit-content;padding:6px 0}.compose-extra-fields{display:grid;gap:12px;padding:12px 0}
.field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-fields .check-field{display:flex;align-items:center;gap:8px}.editor-fields input[type=checkbox]{accent-color:var(--ink);margin:0}
#editor-design{padding-top:20px;margin-top:18px;border-top:1px solid var(--soft-line)}
.post-editor.is-styling{width:min(1120px,calc(100vw - 28px));height:min(820px,calc(100dvh - 32px))}.is-styling #editor-form{flex:1}.is-styling .editor-grid{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:24px;flex:1}.is-styling .editor-fields{max-height:none;padding-right:12px}
.editor-fields .visual-field{min-width:0;margin:0;padding:0 0 19px;border:0;border-bottom:1px solid var(--soft-line)}.visual-field legend{font-size:11px;margin:0 0 11px;padding:0;color:var(--muted)}
.visual-options{display:flex;gap:8px}.editor-fields .visual-choice{position:relative;display:block;flex:1;min-width:0;cursor:pointer}.visual-choice input,.palette-choice input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0}
.choice-face{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:78px;padding:10px 5px 8px;border:1px solid var(--soft-line);background:rgba(255,255,255,.36);color:var(--body)}.choice-label{font-size:10px;white-space:nowrap}
.visual-choice input:checked+.choice-face{background:rgba(221,205,219,.3);border-color:var(--ink);color:var(--hover)}.visual-choice:hover .choice-face{border-color:var(--ink)}.visual-choice input:focus-visible+.choice-face,.palette-choice input:focus-visible+.color-swatch{outline:2px solid var(--ink);outline-offset:3px}
.tone-palette{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;padding:4px 3px 5px}.editor-fields .palette-choice{position:relative;display:block;cursor:pointer}.color-swatch{display:block;width:34px;height:34px;border-radius:50%;background:var(--swatch);position:relative;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.palette-choice input:checked+.color-swatch{outline:1px solid var(--swatch);outline-offset:4px}.palette-choice input:checked+.color-swatch::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font:16px sans-serif;color:#fff}.color-value{display:block;margin-top:12px;font-size:10px;letter-spacing:.04em;color:var(--muted)}
.surface-sample{display:block;width:100%;padding:4px 3px;height:44px;font-size:8px;line-height:17px;white-space:nowrap}.surface-paper,.surface-ruled{background:#fff;border:1px solid var(--soft-line)}.surface-ruled{background:repeating-linear-gradient(to bottom,#fff 0 16px,var(--rule) 16px 17px)}
.size-sample{display:grid;place-items:center;height:30px}.size-small{font-size:11px}.size-normal{font-size:12px}.size-large{font-size:19px}
.sample-lines{width:46px;height:30px;display:flex;flex-direction:column;justify-content:center;gap:4px}.sample-lines i{height:1px;width:100%;background:currentColor;opacity:.65}.sample-lines i:nth-child(even){width:70%}.lines-center{align-items:center}.lines-compact{gap:2px}.lines-relaxed{gap:5px}.lines-airy{gap:8px}.lines-excerpt i:nth-child(n+3){opacity:.16}

.editor-preview-column{display:flex;flex-direction:column;min-height:0;min-width:0;border-left:1px solid var(--soft-line);padding-left:24px}
.editor-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;min-height:43px}.preview-caption{font-size:12px!important;margin:0!important;color:var(--ink)!important}.preview-devices{display:flex;gap:4px}.preview-devices button{padding:5px 10px;border:1px solid transparent;background:none;font-size:10px;color:var(--muted)}.preview-devices button[aria-pressed=true]{color:var(--hover);background:rgba(221,205,219,.35);border-color:var(--soft-line)}
.editor-preview-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px 14px;background:rgba(229,232,223,.3);border:1px solid var(--soft-line)}
.editor-preview{width:100%;min-height:280px;margin:0 auto;padding:20px;background:var(--paper) url('./paper-grain.svg');box-shadow:0 4px 18px rgba(67,49,77,.04);border:1px solid rgba(135,83,105,.1)}
.editor-preview .post-card{border:0;padding:0;margin:0 auto}.editor-preview .post-text p{font-size:inherit;line-height:inherit;color:inherit}.editor-preview .post-text h2{font-size:1.12em;color:inherit;margin:0 0 18px}.editor-preview .entry-meta{font-size:11px;line-height:1.6;margin:0 0 12px;color:var(--muted)}.editor-preview .post-photo img{margin:0}
.editor-preview[data-device=desktop] .post-card{--post-size:12px}.editor-preview[data-device=desktop] .post-size-small{--post-size:11px}.editor-preview[data-device=desktop] .post-size-large{--post-size:19px}
.editor-preview[data-device=mobile]{width:min(100%,360px);padding:18px}.editor-preview[data-device=mobile] .post-card{--post-size:12px}.editor-preview[data-device=mobile] .post-size-small{--post-size:11px}.editor-preview[data-device=mobile] .post-size-large{--post-size:18px}.editor-preview[data-device=mobile] .entry-meta{font-size:10px}
.editor-preview-foot{flex-shrink:0;padding:12px 0 8px}.editor-preview-foot output{font-size:10px;color:var(--ink)}.editor-preview-foot p{font-size:10px;line-height:1.6;margin:5px 0 0;color:var(--muted)}

.editor-bottom{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:73px;padding:15px 0;border-top:1px solid var(--soft-line);margin-top:14px}.editor-bottom p{font-size:10px;margin:0;line-height:1.6;color:var(--muted)}.editor-save-state{min-width:0}.editor-scope{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:3px}.editor-bottom>div:last-child{display:flex;gap:9px;flex-shrink:0}.editor-bottom button{padding:8px 13px;background:transparent;border:0;font-size:11px}.editor-bottom .submit-post{background:var(--ink);color:var(--sheet);border:1px solid var(--ink)}
@media(max-width:760px){.font-settings{padding:13px}.font-options-grid{grid-template-columns:1fr;gap:16px}.font-specimen{font-size:15px}.font-choice>span{padding:9px}.font-pair-sample{font-size:12px}.compose-entry>button{padding:19px 0;font-size:14px}.post-card{padding:22px 0}.post-card.is-featured{padding:12px 0 22px}.post-photo{margin-top:14px}.post-photo img{width:auto;max-width:100%}.entry-meta{margin-bottom:11px}}
@media(max-width:900px){
 .post-editor{padding:18px 18px 0;width:min(620px,calc(100vw - 20px))}.editor-fields input[type=text],.editor-fields input[type=date],.editor-fields select,.editor-fields .compose-byline select{font-size:16px}.editor-fields .compose-byline select{max-width:182px}.editor-heading{margin-bottom:15px}.editor-bottom{min-height:67px;margin-top:10px;padding:12px 0;gap:9px}.editor-bottom button{font-size:11px;padding:8px 11px}
 .post-editor.is-styling{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.is-styling .editor-grid{grid-template-columns:1fr;grid-template-rows:minmax(140px,29dvh) minmax(0,1fr);gap:16px}.is-styling .editor-preview-column{grid-row:1;border:0;padding:0}.is-styling .editor-sidebar{grid-row:2}.editor-preview-stage{padding:9px}.editor-preview-toolbar{min-height:32px}.editor-preview-foot{display:none}.editor-preview{padding:17px;min-height:160px}.tone-palette{justify-content:flex-start;gap:20px}
}
@media(max-width:400px){.color-swatch{width:30px;height:30px}.tone-palette{gap:15px}.choice-label{font-size:9px}.compose-byline{font-size:11px}.compose-byline>span{max-width:90px}.compose-entry-action{font-size:10px}.editor-bottom .editor-scope{font-size:8px}}
@media(max-width:900px) and (max-height:600px) and (min-width:560px){.is-styling .editor-grid{grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr);gap:18px}.is-styling .editor-sidebar{grid-row:1;grid-column:1}.is-styling .editor-preview-column{grid-row:1;grid-column:2}.editor-heading{margin-bottom:10px}.editor-bottom{min-height:54px;margin-top:8px;padding:9px 0}.tone-palette{gap:14px}}
