@layer base{:root{color-scheme:light;--theme-bg: #f7f9f8;--theme-surface: #ffffff;--theme-surface-muted: #eef1ef;--theme-border: #dde3df;--theme-border-strong: #c3ccc6;--theme-text: #1a201d;--theme-text-muted: #55615a;--theme-primary: #235338;--theme-primary-hover: #1d422e;--theme-primary-active: #183626;--theme-on-primary: #ffffff;--theme-primary-soft: #dcede1;--theme-on-primary-soft: #1d422e;--theme-link: #235338;--theme-link-hover: #183626;--theme-focus-ring: #3d8257;--theme-danger: #b3261e;--theme-on-danger: #ffffff;--theme-warning: #a96a00;--theme-shadow: rgba(26, 32, 29, 0.12);--theme-overlay: rgba(10, 14, 12, 0.85)}@media(prefers-color-scheme: dark){:root:not([data-theme]){color-scheme:dark;--theme-bg: #0f1411;--theme-surface: #1a201d;--theme-surface-muted: #2b332f;--theme-border: #2b332f;--theme-border-strong: #414b45;--theme-text: #eef1ef;--theme-text-muted: #98a49c;--theme-primary: #5ea074;--theme-primary-hover: #8dbf9d;--theme-primary-active: #bad9c4;--theme-on-primary: #0f1411;--theme-primary-soft: #183626;--theme-on-primary-soft: #bad9c4;--theme-link: #8dbf9d;--theme-link-hover: #bad9c4;--theme-focus-ring: #5ea074;--theme-danger: #f0a5a0;--theme-on-danger: #0f1411;--theme-warning: #f2cf84;--theme-shadow: rgba(0, 0, 0, 0.5);--theme-overlay: rgba(0, 0, 0, 0.9)}}:root[data-theme=light]{color-scheme:light;--theme-bg: #f7f9f8;--theme-surface: #ffffff;--theme-surface-muted: #eef1ef;--theme-border: #dde3df;--theme-border-strong: #c3ccc6;--theme-text: #1a201d;--theme-text-muted: #55615a;--theme-primary: #235338;--theme-primary-hover: #1d422e;--theme-primary-active: #183626;--theme-on-primary: #ffffff;--theme-primary-soft: #dcede1;--theme-on-primary-soft: #1d422e;--theme-link: #235338;--theme-link-hover: #183626;--theme-focus-ring: #3d8257;--theme-danger: #b3261e;--theme-on-danger: #ffffff;--theme-warning: #a96a00;--theme-shadow: rgba(26, 32, 29, 0.12);--theme-overlay: rgba(10, 14, 12, 0.85)}:root[data-theme=dark]{color-scheme:dark;--theme-bg: #0f1411;--theme-surface: #1a201d;--theme-surface-muted: #2b332f;--theme-border: #2b332f;--theme-border-strong: #414b45;--theme-text: #eef1ef;--theme-text-muted: #98a49c;--theme-primary: #5ea074;--theme-primary-hover: #8dbf9d;--theme-primary-active: #bad9c4;--theme-on-primary: #0f1411;--theme-primary-soft: #183626;--theme-on-primary-soft: #bad9c4;--theme-link: #8dbf9d;--theme-link-hover: #bad9c4;--theme-focus-ring: #5ea074;--theme-danger: #f0a5a0;--theme-on-danger: #0f1411;--theme-warning: #f2cf84;--theme-shadow: rgba(0, 0, 0, 0.5);--theme-overlay: rgba(0, 0, 0, 0.9)}}@layer base{html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;margin:0;background-color:var(--theme-bg);color:var(--theme-text);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.6;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}a{color:var(--theme-link);text-underline-offset:.18em;transition:color 150ms ease-out}a:hover{color:var(--theme-link-hover)}::selection{background-color:var(--theme-primary-soft);color:var(--theme-on-primary-soft)}:focus-visible{outline:2px solid var(--theme-focus-ring);outline-offset:2px}hr{border:0;border-top:1px solid var(--theme-border)}}@layer components{h1,.h1{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:clamp(2rem,1.65rem + 1.4vw,2.75rem);font-weight:600;line-height:1.2;letter-spacing:-0.01em}h2,.h2{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:clamp(1.5rem,1.3rem + .8vw,2rem);font-weight:600;line-height:1.2;letter-spacing:-0.01em}h3,.h3{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1.25rem;font-weight:600;line-height:1.2;letter-spacing:-0.01em}h4,.h4{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1.0625rem;font-weight:600;line-height:1.2;letter-spacing:-0.01em}.text-display{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:clamp(2.5rem,1.9rem + 2.4vw,3.5rem);font-weight:600;line-height:1.2;letter-spacing:-0.01em}.text-lead{font-size:1.25rem;line-height:1.35;color:var(--theme-text-muted)}.text-small{font-size:.875rem}.text-caption{font-size:.75rem}.text-muted{color:var(--theme-text-muted)}}@layer components{.container-page{width:100%;max-width:calc(72rem + 2*1.25rem);margin-inline:auto;padding-inline:1.25rem}.container-content{width:100%;max-width:calc(58rem + 2*1.25rem);margin-inline:auto;padding-inline:1.25rem}.container-narrow{width:100%;max-width:calc(26rem + 2*1.25rem);margin-inline:auto;padding-inline:1.25rem}.page-main{flex-grow:1;padding-bottom:4rem}.page-section+.page-section{margin-top:4rem}.stack{display:flex;flex-direction:column;gap:1rem}.stack-lg{display:flex;flex-direction:column;gap:2.5rem}.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.cluster{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.cluster--end{justify-content:flex-end}}@layer components{.site-hero{display:flex;align-items:flex-end;justify-content:center;min-height:20vh;padding-bottom:1.5rem}.site-logo{color:var(--theme-primary);font-size:clamp(2.5rem,1.9rem + 2.4vw,3.5rem);font-weight:700;line-height:1.2;text-decoration:none}.site-logo:hover{color:var(--theme-primary-hover)}.site-header{position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(0,0,0,0);transition:background-color 150ms ease-out,border-color 150ms ease-out}.site-header[data-stuck]{border-bottom-color:var(--theme-border);background-color:var(--theme-surface)}.site-header__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem;min-height:4rem}.site-header[data-stuck] .site-header__inner{justify-content:space-between}.site-header__brand{display:none;color:var(--theme-primary);font-size:1.25rem;font-weight:700;text-decoration:none}.site-header__brand:hover{color:var(--theme-primary-hover)}.site-header[data-stuck] .site-header__brand{display:inline}.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1.5rem}.site-nav__link{display:inline-flex;align-items:center;gap:.25rem;padding-block:.25rem;color:var(--theme-text-muted);font-weight:500;text-decoration:none;cursor:pointer;transition:color 150ms ease-out}.site-nav__link:hover{color:var(--theme-text)}.site-nav__link[aria-current=page]{color:var(--theme-primary);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.4em}}@layer components{.site-footer{padding-block:1rem;border-top:1px solid var(--theme-border);color:var(--theme-text-muted);font-size:.875rem}.site-footer__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}}@layer components{.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid rgba(0,0,0,0);border-radius:.5rem;font-family:inherit;font-weight:500;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color 150ms ease-out,border-color 150ms ease-out,color 150ms ease-out}.button:disabled,.button[aria-disabled=true]{opacity:.5;cursor:not-allowed}.button--sm{min-height:2rem;padding-inline:.75rem;font-size:.875rem}.button--md{min-height:2.5rem;padding-inline:1.125rem;font-size:1rem}.button--lg{min-height:3rem;padding-inline:1.5rem;font-size:1rem}.button--primary{background-color:var(--theme-primary);color:var(--theme-on-primary)}.button--primary:hover{background-color:var(--theme-primary-hover);color:var(--theme-on-primary)}.button--primary:active{background-color:var(--theme-primary-active)}.button--secondary{background-color:var(--theme-surface);border-color:var(--theme-border-strong);color:var(--theme-text)}.button--secondary:hover{background-color:var(--theme-surface-muted);color:var(--theme-text)}.button--ghost{background-color:rgba(0,0,0,0);color:var(--theme-link)}.button--ghost:hover{background-color:var(--theme-primary-soft);color:var(--theme-on-primary-soft)}}@layer components{.switch{display:inline-flex;margin:0;padding:2px;border:1px solid var(--theme-border);border-radius:999px;background-color:var(--theme-surface-muted)}.switch__form{display:contents}.switch__option{min-height:1.75rem;padding-inline:1rem;border:0;border-radius:999px;background:rgba(0,0,0,0);color:var(--theme-text-muted);font-family:inherit;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color 150ms ease-out,color 150ms ease-out}.switch__option:hover{color:var(--theme-text)}.switch__option[aria-pressed=true]{background-color:var(--theme-primary);color:var(--theme-on-primary)}}@layer components{.toggle{display:inline-flex;align-items:center;gap:.5rem;padding:.25rem 0;border:0;background:none;color:var(--theme-text);font:inherit;font-size:.875rem;font-weight:500;cursor:pointer}.toggle__track{position:relative;flex-shrink:0;width:2.5rem;height:1.5rem;border-radius:999px;background-color:var(--theme-border-strong);transition:background-color 150ms ease-out}.toggle__track::after{content:"";position:absolute;top:.125rem;left:.125rem;width:calc(1.5rem - 2*0.125rem);height:calc(1.5rem - 2*0.125rem);border-radius:999px;background-color:var(--theme-surface);transition:transform 150ms ease-out}.toggle[aria-checked=true] .toggle__track{background-color:var(--theme-primary)}.toggle[aria-checked=true] .toggle__track::after{transform:translateX(calc(2.5rem - 1.5rem))}}@layer components{.icon{flex-shrink:0;width:1rem;height:1rem}}@layer components{.dropdown{position:relative}.dropdown__trigger{display:inline-flex;align-items:center;gap:.25rem;padding-block:.25rem;color:var(--theme-text-muted);font-weight:500;text-decoration:none;cursor:pointer;transition:color 150ms ease-out}.dropdown__trigger:hover{color:var(--theme-text)}.dropdown__trigger{list-style:none}.dropdown__trigger::-webkit-details-marker{display:none}.dropdown__trigger .icon{transition:transform 150ms ease-out}.dropdown[open] .dropdown__trigger{color:var(--theme-text)}.dropdown[open] .dropdown__trigger .icon{transform:rotate(180deg)}.dropdown[data-current] .dropdown__title{color:var(--theme-primary);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.4em}.dropdown__panel{position:absolute;top:calc(100% + 0.5rem);right:0;z-index:10;display:flex;flex-direction:column;gap:1rem;min-width:14rem;padding:1rem;border:1px solid var(--theme-border);border-radius:.75rem;background-color:var(--theme-surface);box-shadow:0 4px 16px var(--theme-shadow)}.dropdown__group{display:flex;flex-direction:column;gap:.25rem}.dropdown__label{color:var(--theme-text-muted);font-size:.75rem;font-weight:500}}@layer components{.card{padding:1.5rem;border:1px solid var(--theme-border);border-radius:.75rem;background-color:var(--theme-surface);box-shadow:0 1px 2px var(--theme-shadow)}}@layer components{.empty-state{padding:4rem 1.5rem;border:1px dashed var(--theme-border-strong);border-radius:.75rem;text-align:center;color:var(--theme-text-muted)}}@layer components{.field{display:flex;flex-direction:column;gap:.25rem}.field__label{font-size:.875rem;font-weight:500}.field__input{min-height:2.5rem;padding-inline:.75rem;border:1px solid var(--theme-border-strong);border-radius:.5rem;background-color:var(--theme-surface);color:var(--theme-text);font:inherit;transition:border-color 150ms ease-out}.field__input:focus-visible{border-color:var(--theme-focus-ring)}.field__preview{display:block;width:8rem;height:8rem;border-radius:.5rem;object-fit:cover}.field__hint{margin:0;color:var(--theme-text-muted);font-size:.875rem}.field__error{margin:0;color:var(--theme-danger);font-size:.875rem}.field--invalid .field__input{border-color:var(--theme-danger)}.field--group{min-inline-size:0;margin:0;padding:0;border:0}.field--group .field__label{padding:0}.field__options{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem}.field__option{display:inline-flex;align-items:center;gap:.25rem;cursor:pointer}.field__checkbox{accent-color:var(--theme-primary)}.field--invalid .field__checkbox{outline:1px solid var(--theme-danger)}}@layer components{.flash-stack{display:flex;flex-direction:column;gap:.5rem;margin-bottom:2.5rem}.flash{margin:0;padding:.5rem 1rem;border-left:3px solid rgba(0,0,0,0);border-radius:.5rem;background-color:var(--theme-surface)}.flash--notice{border-left-color:var(--theme-primary);background-color:var(--theme-primary-soft);color:var(--theme-on-primary-soft)}.flash--alert{border-left-color:var(--theme-danger);color:var(--theme-danger)}}@layer components{.badge{display:inline-flex;align-items:center;padding:.125rem .5rem;border:1px solid var(--theme-border-strong);border-radius:999px;color:var(--theme-text-muted);font-size:.75rem;font-weight:500;line-height:1.35}.badge--primary{border-color:rgba(0,0,0,0);background-color:var(--theme-primary-soft);color:var(--theme-on-primary-soft)}.badge--warning{border-color:var(--theme-warning);color:var(--theme-warning)}}@layer components{.pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem}.pagination__info{color:var(--theme-text-muted);font-size:.875rem}.pagination__spacer{min-width:1px}}@layer components{.post-list{display:flex;flex-direction:column}.post-card{display:flex;gap:1rem;padding-block:1.5rem;border-top:1px solid var(--theme-border)}.post-card:last-child{border-bottom:1px solid var(--theme-border)}.post-card__body{display:flex;flex:1;flex-direction:column;gap:.5rem;min-width:0}.post-card__preview{flex-shrink:0;align-self:flex-start}.post-card__image{display:block;width:5rem;height:5rem;border-radius:.5rem;object-fit:cover}@media(min-width: 40rem){.post-card__image{width:8rem;height:8rem}}.post-card__link{color:var(--theme-text);text-decoration:none}.post-card__link:hover{color:var(--theme-primary)}.post-card__excerpt{margin:0;white-space:pre-line;color:var(--theme-text-muted)}.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;color:var(--theme-text-muted);font-size:.875rem}.post-meta__sections{display:flex;flex-wrap:wrap;gap:.5rem;margin-inline-start:auto}.post-meta__section{color:inherit;text-decoration:none}.post-meta__section:hover{color:var(--theme-primary)}.post-header{display:flex;flex-direction:column;gap:1rem}.post-header__translations{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;color:var(--theme-text-muted);font-size:.875rem}.post-form__pair{display:grid;gap:1rem}@media(min-width: 48rem){.post-form--translating .post-form__pair{grid-template-columns:repeat(2, minmax(0, 1fr))}}.post-form__toolbar{display:flex;justify-content:flex-end}.post-form__toolbar[hidden]{display:none}.post-form__row{display:grid;gap:1rem}@media(min-width: 48rem){.post-form__row{grid-template-columns:1fr 2fr}}}@layer components{.markdown-body{overflow-wrap:break-word}.markdown-body>*+*{margin-top:1rem}.markdown-body>:is(h1,h2,h3,h4){margin-top:2.5rem}.markdown-body h1{font-size:clamp(1.5rem,1.3rem + .8vw,2rem)}.markdown-body h2{font-size:1.25rem}.markdown-body h3,.markdown-body h4{font-size:1.0625rem}.markdown-body p,.markdown-body ul,.markdown-body ol,.markdown-body blockquote,.markdown-body pre,.markdown-body table,.markdown-body figure{margin-bottom:0}.markdown-body ul,.markdown-body ol{padding-left:1.5rem}.markdown-body ul{list-style:disc}.markdown-body ol{list-style:decimal}.markdown-body li+li{margin-top:.25rem}.markdown-body blockquote{margin-inline:0;padding-left:1rem;border-left:3px solid var(--theme-primary);color:var(--theme-text-muted)}.markdown-body img{display:block;max-width:100%;height:auto;border-radius:.5rem}.markdown-body code{padding:.1em .3em;border-radius:.25rem;background-color:var(--theme-surface-muted);font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:.9em}.markdown-body pre{overflow-x:auto;padding:1rem;border:1px solid var(--theme-border);border-radius:.5rem;background-color:var(--theme-surface-muted)}.markdown-body pre code{padding:0;background:none}.markdown-body table{width:100%;border-collapse:collapse;font-size:.875rem}.markdown-body th,.markdown-body td{padding:.5rem;border:1px solid var(--theme-border);text-align:left}.markdown-body th{background-color:var(--theme-surface-muted);font-weight:600}.markdown-body del{color:var(--theme-text-muted)}.markdown-body .footnotes{color:var(--theme-text-muted);font-size:.875rem}}@layer components{.lightbox{inset:0;margin:auto;max-width:none;max-height:none;padding:0;border:0;background:none;cursor:zoom-out}.lightbox::backdrop{background-color:var(--theme-overlay)}.lightbox__image{display:block;width:94vw;height:94vh;object-fit:contain}[data-lightbox-zoomable]{cursor:zoom-in}:root:has(.lightbox[open]){overflow:hidden}}@layer components{.markdown-editor{display:flex;flex-direction:column;gap:.5rem}.markdown-editor__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.markdown-editor__bar[hidden]{display:none}.markdown-editor__tabs,.markdown-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem}.markdown-editor__tab{padding:.25rem 1rem;border:0;border-bottom:2px solid rgba(0,0,0,0);background:none;color:var(--theme-text-muted);font:inherit;font-size:.875rem;font-weight:500;cursor:pointer}.markdown-editor__tab[aria-selected=true]{border-bottom-color:var(--theme-primary);color:var(--theme-text)}.markdown-editor__panes{display:grid;gap:1rem}@media(min-width: 48rem){.markdown-editor__panes--split{grid-template-columns:repeat(2, minmax(0, 1fr))}}.markdown-editor__source,.markdown-editor__surface,.markdown-editor__preview{min-height:24rem;border:1px solid var(--theme-border-strong);border-radius:.5rem;background-color:var(--theme-surface)}.markdown-editor__source,.markdown-editor__surface{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:.875rem;line-height:1.6}.markdown-editor__source,.markdown-editor__preview{padding:1rem}.markdown-editor__source{width:100%;color:var(--theme-text);resize:vertical}.markdown-editor__surface:focus-within{border-color:var(--theme-focus-ring)}.markdown-editor__surface{cursor:text}.markdown-editor__surface .cm-editor{min-height:24rem}.markdown-editor__surface .cm-scroller{align-items:stretch}.markdown-editor__surface .cm-content{padding:1rem}.markdown-editor__status{margin:0;min-height:1lh;color:var(--theme-text-muted);font-size:.875rem}.markdown-editor .tok-heading{color:var(--theme-primary);font-weight:700}.markdown-editor .tok-strong{font-weight:700}.markdown-editor .tok-emphasis{font-style:italic}.markdown-editor .tok-deleted{text-decoration:line-through}.markdown-editor .tok-link,.markdown-editor .tok-url{color:var(--theme-link)}.markdown-editor .tok-meta,.markdown-editor .tok-punctuation{color:var(--theme-text-muted)}}
