@font-face{font-family:Golos;src:url('fonts/golos-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Golos;src:url('fonts/golos-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:light;--paper:#f6f5f0;--surface:#fffefa;--panel:#efede5;--ink:#292925;--muted:#64635c;--line:#d4d2c8;--accent:#e4512c;--accent-ink:#a43518;--gutter:clamp(1rem,4.2vw,3.5rem);font-family:Golos,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-padding-top:1.5rem;scrollbar-gutter:stable}body{margin:0;background:var(--paper);color:var(--ink);font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,p,figure{margin:0}button,input,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button,input,select{max-width:100%}:where(a,button,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--accent-ink);outline-offset:4px}::selection{background:#f8c6aa;color:var(--ink)}.shell{width:min(82.5rem,calc(100% - 2*var(--gutter)));margin-inline:auto}.period{color:var(--accent)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;z-index:10;top:.75rem;left:.75rem;padding:.6rem 1rem;background:var(--ink);color:var(--surface);transform:translateY(-180%)}.skip-link:focus{transform:none}.icon{width:20px;height:20px;display:block;flex:none}
.site-header{display:flex;align-items:center;gap:clamp(.75rem,2.3vw,2.3rem);min-height:6.25rem;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;min-height:2.75rem}.brand-word{font-weight:700;font-size:2.5rem;line-height:1;letter-spacing:-.07em}.brand-note{max-width:9rem;border-left:1px solid var(--line);padding-left:1.25rem;color:var(--muted);font-size:.8125rem;line-height:1.45}.primary-nav,.languages{display:flex;align-items:center}.primary-nav{gap:clamp(1rem,2.3vw,2.5rem);margin-left:auto}.primary-nav a{display:inline-flex;align-items:center;min-height:2.75rem;font-size:.875rem}.languages{gap:.2rem}.languages a{position:relative;display:grid;place-items:center;min-width:2.5rem;min-height:2.75rem;color:var(--muted);font-size:.8125rem}.languages [aria-current]{color:var(--ink)}.languages [aria-current]::after{position:absolute;content:'';left:.55rem;right:.55rem;bottom:.25rem;height:2px;background:var(--accent)}.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin-top:1.4rem;color:var(--muted);font-size:.8125rem}.crumbs a{min-height:2.75rem;display:inline-flex;align-items:center}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.45rem 0 2.3rem}.page-intro h1{font-size:clamp(2.5rem,4.9vw,4.7rem);line-height:1.06;letter-spacing:-.055em;text-wrap:balance;max-width:58rem}.page-intro p{max-width:47rem;margin-top:1.1rem;color:var(--muted);font-size:1.0625rem;line-height:1.65}.format-art{position:relative;flex:0 0 10.5rem;height:7rem;margin-right:1.5rem}.format-art span{position:absolute;display:grid;place-items:center;width:5rem;height:6.2rem;border:1px solid #b6b5aa;background:#efede5;font-size:.75rem;letter-spacing:.06em;font-weight:700;border-radius:.25rem}.format-art span:nth-child(1){left:0;top:.1rem;transform:rotate(-14deg);color:#6b583b}.format-art span:nth-child(2){left:2.7rem;top:-.4rem;transform:rotate(4deg);background:#e0e4ee;color:#394d79}.format-art span:nth-child(3){left:5.4rem;top:.4rem;transform:rotate(17deg);background:#f1d0c2;color:#8b341e}
.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(19rem,1fr);gap:1.5rem}.drop-zone{min-height:25rem;padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #aaa79a;border-radius:.3rem;background:var(--surface);transition:background .15s,border-color .15s}.drop-zone.drag-over{background:#f9e8dc;border:2px solid var(--accent)}.upload-art{display:grid;place-items:center;width:4.2rem;height:4.2rem;margin-bottom:1.1rem;background:var(--panel);border-radius:50%;color:var(--accent-ink)}.upload-art .icon{width:29px;height:29px}.drop-zone h2{font-size:clamp(1.2rem,2.1vw,1.55rem);line-height:1.35;letter-spacing:-.035em}.drop-zone .hint{margin-top:.6rem;max-width:26rem}.drop-zone .primary-button{margin-top:1.4rem}.formats{margin-top:1rem;display:flex;align-items:center;gap:.6rem;color:var(--muted);font-size:.75rem}.formats span{padding:.2rem .5rem;border:1px solid var(--line);border-radius:.2rem}.example-button{border:0;background:transparent;min-height:2.75rem;font-size:.8125rem;margin-top:.6rem;color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}.hint{font-size:.8125rem;color:var(--muted);line-height:1.65}.settings-panel{min-width:0;padding:1.7rem 1.8rem;background:var(--ink);color:var(--surface);border-radius:.3rem}.settings-panel h2{font-size:1.125rem;letter-spacing:-.025em}.settings-panel fieldset{border:0;margin:1.3rem 0 0;padding:0;min-width:0}.settings-panel label,.field-label{font-size:.8125rem;display:block;margin-bottom:.5rem}.settings-panel select{width:100%;min-height:2.8rem;background:#fffefa;color:var(--ink);border:1px solid #c7c4b7;border-radius:.2rem;padding:.6rem .75rem}.settings-panel select:disabled{opacity:.6}.settings-panel .hint{color:#c8c6ba;font-size:.75rem;margin-top:.65rem}.field+.field{margin-top:1.35rem}.label-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.label-row output{font-size:.8125rem;font-variant-numeric:tabular-nums}.settings-panel input[type=range]{width:100%;min-height:2.2rem;accent-color:#f48c69;margin:0}.color-row{display:flex;gap:.6rem;align-items:center}.color-row input[type=color]{width:3rem;height:2.75rem;flex:none;cursor:pointer;padding:.2rem;background:#fffefa;border:1px solid #9c9a8f;border-radius:.2rem}.color-row input[type=text]{min-width:0;width:8rem;height:2.75rem;background:#fffefa;border:1px solid #9c9a8f;border-radius:.2rem;color:var(--ink);padding:.5rem;font: .8125rem ui-monospace,monospace}.color-presets{display:flex;gap:.5rem;margin-left:auto}.color-presets button{width:2rem;height:2.75rem;border:1px solid #939184;border-radius:.2rem;padding:.35rem}.color-presets button::after{content:'';display:block;width:100%;height:100%;background:#fff}.color-presets button:nth-child(2)::after{background:#000}.color-presets button:nth-child(3)::after{background:#f6f5f0}.settings-panel .format-note{border-top:1px solid #57574e;padding-top:1rem;margin-top:1.3rem}.settings-panel :focus-visible{outline-color:#ffbba1}.privacy-line{display:flex;gap:.5rem;align-items:flex-start;margin-top:1rem;color:var(--muted);font-size:.75rem;line-height:1.7}.privacy-line .icon{width:16px;height:16px;margin-top:.2rem;color:var(--accent-ink)}
.primary-button,.secondary-button,.dark-button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:2.9rem;padding:.65rem 1.2rem;border-radius:.2rem;font-size:.875rem;font-weight:700;border:1px solid transparent}.primary-button{background:var(--accent);color:#fff}.secondary-button{background:transparent;border-color:var(--line);color:var(--ink);font-weight:400}.dark-button{background:var(--ink);color:var(--surface)}.text-button{min-height:2.75rem;border:0;background:transparent;padding:.3rem .2rem;color:var(--accent-ink);font-size:.8125rem}.toolbar{margin-top:1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.toolbar-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.status{font-size:.8125rem;color:var(--muted);min-height:1.4rem;margin-top:.85rem}progress{display:block;width:100%;height:5px;margin:.75rem 0;accent-color:var(--accent)}.notice{padding:.85rem 1rem;border-left:3px solid var(--accent);background:#f9e8dc;color:#75341f;font-size:.8125rem;margin-top:1rem}.error-section{margin-top:1rem;padding:1rem;background:#f8e6dd;border:1px solid #dcac96}.error-section h2{font-size:.9375rem}.error-section ul{margin:.5rem 0 0;padding-left:1.2rem;font-size:.8125rem}.error-section li+li{margin-top:.4rem}.error-section strong{font-weight:400;overflow-wrap:anywhere}.empty-state{margin-top:2rem;padding:1.4rem 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--muted);font-size:.8125rem}.results-heading{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;flex-wrap:wrap;margin:2.3rem 0 1rem;padding-top:1.4rem;border-top:1px solid var(--line)}.results-heading h2{font-size:1.25rem;letter-spacing:-.035em}.results-heading p{font-size:.8125rem;color:var(--muted)}.file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.file-card{padding:1rem;border:1px solid var(--line);border-radius:.25rem;background:var(--surface);min-width:0}.file-top{display:flex;gap:.6rem;align-items:center;justify-content:space-between;margin-bottom:.65rem}.file-top h3{font-size:.875rem;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.remove-button{flex:none;width:2.75rem;height:2.75rem;font-size:1.5rem;border:0;background:transparent;color:var(--muted)}.file-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.checker{background-color:#fff;background-image:linear-gradient(45deg,#e7e5df 25%,transparent 25%),linear-gradient(-45deg,#e7e5df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e7e5df 75%),linear-gradient(-45deg,transparent 75%,#e7e5df 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.thumb-frame{height:9rem;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #dedcd3;border-radius:.15rem}.thumb-frame img{max-width:100%;max-height:100%;object-fit:contain;width:100%;height:100%;image-orientation:from-image}.preview-placeholder{color:var(--muted);font-size:1.3rem}.file-figure figcaption{font-size:.6875rem;color:var(--muted);margin-top:.3rem}.file-meta{margin-top:.8rem;font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}.file-state{margin-top:.5rem;font-size:.75rem;overflow-wrap:anywhere;min-height:2.5rem;color:var(--muted)}.file-state.done{color:#394d79}.file-state.error{color:#a0331a}.file-state.processing{color:var(--accent-ink)}.file-actions{display:flex;gap:.8rem;align-items:center;justify-content:space-between;margin-top:.5rem;flex-wrap:wrap}.file-actions .secondary-button{font-size:.75rem;padding:.45rem .75rem;min-height:2.75rem}
.guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:2rem;margin:3.5rem 0 3.8rem;padding-top:1.5rem;border-top:1px solid var(--line)}.guide h2{max-width:18rem;font-size:1.35rem;line-height:1.3;letter-spacing:-.035em}.guide details+details{border-top:1px solid var(--line)}summary{cursor:pointer;min-height:2.75rem}.guide summary{font-weight:700;font-size:.9375rem;padding-block:.6rem}.guide details p{color:var(--muted);font-size:.875rem;line-height:1.75;margin:.3rem 0 1.2rem;max-width:43rem}.site-footer{padding-top:clamp(1.2rem,2.5vw,2.4rem);background:#eae7de}.footer-top{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem}.footer-top a{display:inline-flex;align-items:center;min-height:2.75rem;font-size:.9375rem}.footer-top p{color:var(--muted);font-size:.8125rem}.footer-word{font-weight:700;font-size:clamp(5rem,22vw,20rem);letter-spacing:-.085em;line-height:1.06;user-select:none}.copyright{display:block;margin-top:1rem;border-top:1px solid #c9c6ba;padding:1rem 0;color:var(--muted);font-size:.8125rem}
dialog{width:min(76rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);border:1px solid var(--line);border-radius:.3rem;background:var(--paper);color:var(--ink);padding:1.4rem;overflow:auto}dialog::backdrop{background:#191915ba}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dialog-heading h2{font-size:1rem;overflow-wrap:anywhere}.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.comparison figure{min-width:0}.comparison figcaption{font-size:.8125rem;margin-bottom:.5rem}.comparison .checker{height:min(55vh,36rem);display:flex;align-items:center;justify-content:center;border:1px solid var(--line)}.comparison img{object-fit:contain;max-width:100%;max-height:100%;image-orientation:from-image}.comparison small{display:block;margin-top:.5rem;color:var(--muted);font-size:.75rem}.dialog-hint{font-size:.75rem;color:var(--muted);margin-bottom:1rem}
@media(hover:hover){a:hover,.text-button:hover,.example-button:hover{color:var(--accent-ink)}.primary-button:not(:disabled):hover{background:#c93d1c}.secondary-button:not(:disabled):hover{background:var(--panel)}.dark-button:not(:disabled):hover{background:#45453d}.remove-button:not(:disabled):hover{color:var(--accent-ink)}}
@media(max-width:65rem){.brand-note{display:none}.workspace{grid-template-columns:minmax(0,1.25fr) minmax(18rem,1fr)}.file-list{grid-template-columns:repeat(2,minmax(0,1fr))}.format-art{display:none}.settings-panel{padding:1.5rem}.color-presets{gap:.25rem}.color-presets button{width:1.7rem}}
@media(max-width:45rem){.site-header{min-height:4.75rem;gap:.5rem}.brand-word{font-size:2.2rem}.primary-nav{margin-left:auto}.primary-nav a{font-size:.75rem}.primary-nav a:last-child{display:none}.languages a{min-width:2.25rem;font-size:.75rem}.crumbs{margin-top:.65rem;font-size:.75rem}.page-intro{padding-top:1rem;padding-bottom:1.6rem}.page-intro h1{font-size:clamp(2.1rem,8vw,3.5rem)}.page-intro p{font-size:.9375rem}.workspace{grid-template-columns:minmax(0,1fr);gap:1rem}.drop-zone{min-height:21rem;padding:1.5rem 1rem}.settings-panel{padding:1.3rem}.settings-panel fieldset{margin-top:1rem}.settings-panel .format-note{margin-top:1rem}.toolbar{gap:.65rem}.toolbar-actions{width:100%;gap:.5rem}.toolbar-actions>.primary-button{flex:1}.toolbar>.toolbar-actions:last-child{justify-content:flex-end}.file-list{grid-template-columns:minmax(0,1fr)}.thumb-frame{height:10rem}.guide{grid-template-columns:minmax(0,1fr);gap:1rem;margin:2.5rem 0}.guide h2{max-width:none}.footer-top p{width:100%}.comparison{grid-template-columns:minmax(0,1fr)}.comparison .checker{height:32vh}dialog{padding:1rem}.empty-state{gap:.5rem}.color-presets button{width:2.3rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
