@font-face{font-family:Onest;src:url('/assets/fonts/onest-cyrillic.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;src:url('/assets/fonts/onest-latin.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
:root{--paper:#f7f6f0;--white:#fffefa;--ink:#263c32;--muted:#566357;--line:#dce0d4;--work:#e8ecdf;--forest:#2c4d3d;--forest-hover:#1d3b2c;--orange:#b45629;--orange-light:#f2dfcc;--soft:#eff1e8;--danger:#a83128;--focus:#a64f25;--radius:12px;--shadow:0 16px 40px #223c2d1a;font-family:Onest,system-ui,sans-serif;color:var(--ink);font-synthesis:none;background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a{touch-action:manipulation}a{color:inherit;text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button{color:inherit}img{display:block;max-width:100%}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3,p,figure{margin:0}h1,h2,h3{text-wrap:balance}h1{font-size:42px;line-height:1.13;letter-spacing:-.035em;font-weight:650}h2{font-size:26px;line-height:1.25;letter-spacing:-.025em;font-weight:600}h3{font-size:17px;line-height:1.4;font-weight:600}::selection{background:#e8c29d;color:#263c32}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}input,textarea{caret-color:var(--orange)}input::placeholder{color:#697568;opacity:1}input[type=range]{accent-color:var(--forest);width:100%;margin:12px 0 2px;height:22px;cursor:pointer}input[type=checkbox],input[type=radio]{accent-color:var(--forest)}[hidden]{display:none!important}.wrap{width:min(1320px,calc(100% - 80px));margin-inline:auto}.skip{position:fixed;top:8px;left:12px;background:var(--white);padding:10px 20px;z-index:100;transform:translateY(-150%)}.skip:focus{transform:none}.header{border-bottom:1px solid var(--line);background:var(--paper)}.header-row{display:flex;align-items:center;min-height:82px;gap:34px}.logo{text-decoration:none;display:inline-flex;align-items:center;gap:11px;font-size:28px;letter-spacing:-.045em;font-weight:750;white-space:nowrap}.logo svg{width:31px;height:31px;stroke-width:2}.logo .logo-dot{fill:var(--orange);stroke:none}.nav{display:flex;gap:28px;margin-left:30px;align-self:stretch;align-items:center}.nav a{text-decoration:none;font-size:14px;white-space:nowrap;position:relative;color:var(--muted);padding:28px 0}.nav a:hover,.nav a[aria-current=page]{color:var(--ink)}.nav a[aria-current=page]:after{content:'';height:3px;position:absolute;left:0;right:0;bottom:0;background:var(--forest)}.header-action{margin-left:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 19px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:500;text-decoration:none;transition:background .18s,color .18s,transform .18s;line-height:1.3}.btn:active:not(:disabled){transform:translateY(1px)}.btn-primary{color:#fff;background:var(--forest)}.btn-primary:hover:not(:disabled){background:var(--forest-hover)}.btn-secondary{background:var(--white);border-color:var(--line)}.btn-secondary:hover:not(:disabled){background:var(--soft)}.btn-quiet{background:transparent;border-color:var(--line)}.btn-quiet:hover:not(:disabled){background:var(--work)}.btn-small{min-height:36px;padding:8px 12px;font-size:13px}.btn-wide{width:100%}.menu-toggle{display:none;background:transparent;border:0;padding:10px}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding:42px 0 29px}.page-intro p{color:var(--muted);margin-top:10px;max-width:650px;font-size:15px}.privacy-note{display:flex;gap:8px;align-items:center;font-size:12px;max-width:190px;color:var(--muted);padding-bottom:3px}.privacy-note svg{width:17px;height:17px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 306px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--white);min-width:0}.work-main{min-width:0;background:var(--work)}.work-toolbar{height:59px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;border-bottom:1px solid #d6dccc;background:#eef0e6}.file-info{display:flex;align-items:center;gap:11px;min-width:0}.file-info>div{min-width:0}.file-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:290px}.file-meta{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.demo-tag{display:inline-block;font-size:12px;line-height:1.3;padding:3px 6px;border-radius:4px;background:#dce2d0;color:#3a513b}.toolbar-actions{display:flex;gap:2px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:6px;width:34px;height:36px}.icon-button:hover:not(:disabled){background:#dce2d2}.icon-button[aria-pressed=true]{background:var(--forest);color:#fff}.stage{height:464px;position:relative;touch-action:pan-y;transition:background .18s}.stage:before{content:'Перетащите фотографию сюда';position:absolute;inset:16px;display:none;place-content:center;border:2px dashed var(--forest);border-radius:8px;background:#e8ecdfed;z-index:3;color:var(--ink)}.stage.drag-over:before{display:grid}.stage canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}.stage canvas.is-dragging{cursor:grabbing}.stage[aria-busy=true]{opacity:.6}.stage-hint{font-size:12px;text-align:center;color:var(--muted);padding:0 15px 17px;min-height:34px}.stage-hint kbd{font:inherit;border:1px solid #c5cebc;padding:0 3px;border-radius:3px}.image-colors{display:flex;height:7px;margin:0 24px;border-radius:2px;overflow:hidden}.image-colors span{flex:1}.example-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 23px 22px}.example-row>span{font-size:12px;color:var(--muted);max-width:130px}.samples{display:flex;gap:9px}.sample{padding:0;border:2px solid transparent;border-radius:7px;background:transparent;overflow:hidden;transition:border-color .15s}.sample:hover{border-color:var(--forest)}.sample img{width:54px;height:43px;object-fit:cover}.settings{padding:21px 22px 23px;background:var(--white);border-left:1px solid var(--line);min-width:0}.control-section+.control-section{border-top:1px solid var(--line);margin-top:19px;padding-top:19px}.control-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.control-heading h2{font-size:15px;font-weight:600;letter-spacing:-.01em}.text-button{border:0;background:none;padding:2px 0;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}.text-button:hover{color:var(--ink)}.control-section fieldset{border:0;padding:0;margin:0}.control-section legend{font-size:12px;color:var(--muted);margin-bottom:8px}.ratio-options{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.ratio-options label{position:relative;cursor:pointer}.ratio-options input{position:absolute;opacity:0}.ratio-options span{display:flex;align-items:center;justify-content:center;min-height:34px;border:1px solid var(--line);border-radius:5px;font-size:12px;background:var(--white)}.ratio-options input:checked+span{border-color:var(--forest);background:var(--forest);color:white}.ratio-options input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}.range-field{display:block;margin-top:13px}.field-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:12px}.field-label output{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.transform-row{display:flex;gap:7px;margin-top:10px}.transform-row .btn{flex:1}.transform-row svg{width:15px;height:15px}.field{display:block;font-size:12px;color:var(--muted)}.field input:not([type=range]):not([type=color]),.field select,.search-input{width:100%;min-height:38px;border:1px solid var(--line);background:var(--white);border-radius:6px;padding:8px 10px;color:var(--ink);font-size:13px;line-height:1.3}.field input,.field select{margin-top:6px}.field input:hover,.field select:hover{border-color:#9aa991}.export-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.export-fields .field select{padding-left:7px}.dimension-note{font-size:12px;color:var(--muted);margin-top:3px}.export-status{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:12px 0;font-variant-numeric:tabular-nums}.export-help{margin-top:9px;font-size:12px;color:var(--muted);text-align:center}.error{font-size:12px;color:var(--danger);padding:11px 0;line-height:1.5}.under-workspace{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 1px;font-size:12px;color:var(--muted)}.under-workspace a{display:flex;align-items:center;gap:7px;color:var(--ink)}.under-workspace svg{width:15px;height:15px}.section-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:43px 0 20px}.section-intro p{color:var(--muted);font-size:13px;margin-top:8px}.section-intro>a{font-size:13px;white-space:nowrap}.reading-links{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:54px}.reading-link{padding:21px 0;border-top:1px solid var(--line);text-decoration:none;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.reading-link span{font-size:12px;color:var(--muted);display:block;margin-top:6px}.reading-link svg{margin-top:3px}.reading-link:hover h3{text-decoration:underline;text-underline-offset:4px}.footer{border-top:1px solid var(--line);margin-top:22px}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px 0}.footer-brand{display:flex;align-items:center;gap:20px}.footer .logo{font-size:22px}.footer .logo svg{width:23px;height:23px}.footer-note{font-size:12px;color:var(--muted);max-width:280px}.footer-nav{display:flex;gap:24px;font-size:12px;color:var(--muted)}.footer-nav a{text-decoration:none}.footer-nav a:hover{text-decoration:underline}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);max-width:min(580px,calc(100% - 32px));padding:13px 21px;border-radius:8px;background:var(--forest);color:white;font-size:13px;box-shadow:var(--shadow);z-index:50;animation:toast-in .18s ease-out}.toast.is-error{background:#7e3029}@keyframes toast-in{from{transform:translate(-50%,8px);opacity:.4}to{transform:translate(-50%,0);opacity:1}}.plain-button{border:0;background:transparent;padding:4px 0}.code-value{font-family:Onest,system-ui,sans-serif;font-variant-numeric:tabular-nums;font-size:12px}.palette-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white)}.palette-photo-side{background:var(--work);min-width:0}.palette-photo-frame{height:400px;padding:27px;display:flex;align-items:center;justify-content:center;position:relative}.palette-photo-frame img{width:100%;height:100%;object-fit:contain}.palette-photo-frame.drag-over{background:#d6e2c9;outline:2px dashed var(--forest);outline-offset:-12px}.palette-side{padding:23px 28px}.palette-side h2{font-size:21px;margin-bottom:16px}.palette-values{list-style:none;padding:0;margin:17px 0 22px}.palette-values li{display:flex;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.palette-values li button{margin-left:auto;color:var(--ink)}.color-dot{width:18px;height:18px;border-radius:4px;border:1px solid #00000010}.palette-strip{display:flex;min-height:95px}.color-block{border:0;padding:16px 4px;flex-basis:0;min-width:0;display:flex;align-items:flex-end;justify-content:center;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;transition:padding .15s}.color-block:hover{padding-bottom:24px}.palette-save{display:flex;gap:8px;margin-top:17px;align-items:flex-end}.palette-save .field{flex:1}.palette-save .btn{min-height:38px}.mini-help{font-size:12px;color:var(--muted);margin-top:9px}.palette-lower{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;padding-top:42px}.contrast-panel,.css-panel{min-width:0}.contrast-panel>p,.css-panel>p{font-size:13px;color:var(--muted);margin:9px 0 20px}.color-inputs{display:grid;grid-template-columns:1fr 40px 1fr;gap:12px;align-items:center}.color-field{display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:12px}.color-field>span{flex-basis:100%;color:var(--muted)}.color-field input{width:35px;height:34px;padding:2px;border:1px solid var(--line);background:var(--white);border-radius:5px;cursor:pointer}.color-field output{font-size:12px;font-variant-numeric:tabular-nums}.contrast-sample{border-radius:8px;padding:20px;margin-top:18px;font-size:21px;font-weight:600}.contrast-result{margin-top:13px;display:flex;gap:13px;align-items:baseline}.contrast-result strong{font-variant-numeric:tabular-nums;font-size:22px}.contrast-result span{font-size:12px;color:var(--muted)}.code-panel{position:relative;background:#e9ede1;border-radius:8px;padding:20px}.code-panel pre{margin:0;overflow:auto;font-family:ui-monospace,monospace;font-size:12px;line-height:1.8;color:#314b39}.code-actions{display:flex;gap:9px;margin-top:13px}.saved-palettes{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.saved-palette{overflow:hidden}.saved-palette-bar{height:80px;display:flex;overflow:hidden;border-radius:9px}.saved-palette-bar button{border:0;flex:1;min-width:0}.saved-palette-bar button:hover{opacity:.8}.saved-palette-info{display:flex;align-items:baseline;justify-content:space-between;padding:11px 0;gap:10px}.saved-palette-info h3{font-size:14px;overflow-wrap:anywhere}.empty-message{padding:26px 0;color:var(--muted);font-size:14px;border-top:1px solid var(--line)}.collection-actions{display:flex;gap:8px}.sheet-layout{display:grid;grid-template-columns:265px minmax(0,1fr) 265px;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white)}.sheet-list-side{padding:20px;background:var(--white);border-right:1px solid var(--line)}.sheet-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sheet-list-heading h2{font-size:15px}.sheet-list-heading span{font-size:12px;color:var(--muted)}.sheet-files{list-style:none;padding:0;margin:15px 0;max-height:480px;overflow:auto}.sheet-file{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.sheet-file img{width:44px;height:44px;object-fit:cover;border-radius:4px}.sheet-file-name{font-size:12px;overflow-wrap:anywhere}.file-actions{grid-column:1/-1;display:flex;gap:12px}.small-action{border:0;background:transparent;font-size:12px;padding:2px 0;color:var(--muted)}.small-action:hover{color:var(--ink);text-decoration:underline}.sheet-stage{background:var(--work);min-height:560px;padding:27px;display:flex;align-items:center;justify-content:center;min-width:0}.sheet-stage.drag-over{outline:2px dashed var(--forest);outline-offset:-12px;background:#d6e2c9}.sheet-stage canvas{width:auto;height:auto;max-width:100%;max-height:540px;display:block;object-fit:contain;box-shadow:0 8px 22px #20352a17}.sheet-empty{text-align:center;max-width:280px;color:var(--muted)}.sheet-empty>svg{width:54px;height:54px;stroke-width:1;margin:0 auto 22px}.sheet-empty h2{font-size:22px;color:var(--ink)}.sheet-empty p{font-size:13px;margin:12px 0 22px}.sheet-settings{border-left:1px solid var(--line);padding:20px}.sheet-settings h2{font-size:15px;margin-bottom:17px}.sheet-settings>.field{margin:14px 0}.sheet-check{font-size:12px;display:flex;gap:9px;align-items:center;margin:18px 0}.sheet-check input{width:16px;height:16px}.sheet-color{display:flex;justify-content:space-between;align-items:center;margin:17px 0;font-size:12px}.sheet-color input{width:36px;height:30px;border:1px solid var(--line);background:var(--white);border-radius:4px;padding:2px}.sheet-output{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.sheet-output>p{font-size:12px;color:var(--muted);margin-bottom:14px;font-variant-numeric:tabular-nums}.sheet-output .field{margin-bottom:12px}dialog{border:1px solid var(--line);border-radius:12px;max-width:min(450px,calc(100% - 32px));padding:28px;color:var(--ink);background:var(--white);box-shadow:var(--shadow)}dialog::backdrop{background:#1e302a66}dialog h2{font-size:23px}dialog p{font-size:14px;color:var(--muted);margin:13px 0 24px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}.journal-top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:5px 0 30px}.journal-top .search-input{max-width:330px;min-height:44px;background:var(--white);padding-left:15px}.journal-top>span{font-size:12px;color:var(--muted)}.journal-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px 32px;margin-bottom:65px}.journal-card{text-decoration:none;display:block}.journal-photo{height:250px;overflow:hidden;border-radius:10px;background:var(--work);margin-bottom:20px}.journal-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.journal-card:hover img{transform:scale(1.025)}.journal-card h2{font-size:25px}.journal-card>p{font-size:14px;color:var(--muted);margin-top:10px;max-width:55ch}.article-meta{display:flex;gap:16px;font-size:12px;color:var(--muted);margin-top:13px}.journal-card:hover h2{text-decoration:underline;text-underline-offset:5px}.article-layout{display:grid;grid-template-columns:180px minmax(0,760px);gap:70px;padding:48px 0 70px;align-items:start;justify-content:center}.article-aside{position:sticky;top:30px;font-size:12px;color:var(--muted);padding-top:5px}.article-aside>a{display:flex;gap:8px;align-items:center;text-decoration:none}.article-aside svg{width:15px;height:15px}.article-aside nav{display:flex;flex-direction:column;gap:12px;margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.article-aside nav a{text-decoration:none;font-size:12px}.article-aside nav a:hover{color:var(--ink)}.article h1{font-size:44px;max-width:22ch}.article .article-lead{font-size:18px;color:var(--muted);line-height:1.6;margin-top:21px}.article-cover{height:340px;width:100%;object-fit:cover;border-radius:10px;margin:28px 0 33px}.article-body{font-size:16px;line-height:1.85}.article-body p{margin:16px 0}.article-body h2{font-size:26px;margin:35px 0 12px}.article-body ul,.article-body ol{padding-left:22px;margin:18px 0}.article-body li{padding-left:5px;margin:8px 0}.article-body table{border-collapse:collapse;width:100%;font-size:14px;margin:24px 0}.article-body th,.article-body td{border-bottom:1px solid var(--line);padding:13px 10px;text-align:left}.article-body th{font-weight:600}.article-callout{padding:22px;background:var(--work);border-radius:8px;margin-top:30px}.article-callout p{margin:8px 0 16px;font-size:14px}.about-intro{max-width:950px;margin:50px auto 0;display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:start}.about-intro h1{font-size:52px;max-width:14ch}.about-intro>div>p{font-size:16px;color:var(--muted);margin:21px 0;line-height:1.8}.about-art{height:330px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.about-art img{width:100%;height:100%;object-fit:cover;border-radius:9px}.about-art img:last-child{margin-top:42px;height:260px}.about-content{max-width:760px;margin:65px auto 70px;font-size:16px;line-height:1.8}.about-content h2{font-size:27px;margin:38px 0 14px}.about-content p{margin:15px 0;color:#4e6254}.about-content ul{padding-left:20px}.about-content li{margin:9px 0}.privacy-panel{background:var(--work);padding:25px;border-radius:10px;margin-top:22px}.privacy-panel .btn{margin-top:7px}.privacy-panel output{display:block;margin-top:14px;font-size:13px}.credits{font-size:13px;line-height:1.8;color:var(--muted);margin-top:30px}.not-found{min-height:65vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:700px;margin:auto;padding:60px 0}.not-found h1{font-size:50px}.not-found p{font-size:17px;color:var(--muted);margin:22px 0 29px}.not-found .mark-404{font-size:110px;line-height:1;font-weight:700;letter-spacing:-.04em;color:#788672;margin-bottom:28px}
@media(min-width:1500px){.stage{height:500px}.settings{padding-top:25px}.page-intro{padding-top:48px}.workspace{grid-template-columns:minmax(0,1fr) 325px}}
@media(max-width:1150px){.wrap{width:calc(100% - 48px)}.nav{margin-left:0;gap:20px}.header-row{gap:25px}.header-action .btn{padding-inline:13px}.stage{height:460px}.sheet-layout{grid-template-columns:230px minmax(0,1fr) 235px}.sheet-list-side,.sheet-settings{padding:16px}.sheet-stage{padding:18px;min-height:540px}.file-name{max-width:210px}}
@media(max-width:930px){.header-row{gap:20px}.nav{gap:16px}.nav a{font-size:12px}.header-action .btn{font-size:12px}.privacy-note{display:none}.workspace{grid-template-columns:minmax(0,1fr) 282px}.settings{padding:18px}.stage{height:450px}.example-row{padding-inline:16px}.example-row>span{max-width:90px}.sample img{width:42px;height:38px}.sheet-layout{grid-template-columns:220px minmax(0,1fr)}.sheet-settings{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px;padding:22px}.sheet-settings h2{grid-column:1/-1}.sheet-output{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:end}.sheet-output>p{grid-column:1/-1;margin:0}.sheet-output .field{margin:0}.sheet-output .btn{min-height:38px}.sheet-output .mini-help{grid-column:1/-1;margin:0}.sheet-stage{min-height:450px}.palette-side{padding:22px}.palette-photo-frame{height:390px;padding:20px}.palette-save{display:block}.palette-save .btn{margin-top:10px;width:100%}.saved-palettes{grid-template-columns:1fr 1fr}.article-layout{grid-template-columns:150px minmax(0,1fr);gap:35px}.about-intro{gap:35px}.footer-note{max-width:240px}.footer-nav{gap:15px}}
@media(max-width:740px){.wrap{width:calc(100% - 32px)}.header-row{min-height:68px;gap:15px;flex-wrap:wrap;position:relative}.logo{font-size:25px}.logo svg{width:27px;height:27px}.header-action{margin-left:auto}.header-action .btn{font-size:12px;min-height:36px;padding:9px 11px}.header-action svg{width:16px;height:16px}.menu-toggle{display:flex;margin-left:0}.nav{display:none;order:4;flex-basis:100%;margin:0;padding:3px 0 15px;gap:0;flex-wrap:wrap}.nav.is-open{display:flex}.nav a{padding:10px 15px;font-size:13px}.nav a:first-child{padding-left:0}.nav a[aria-current=page]:after{height:2px;bottom:3px}.page-intro{padding:28px 0 22px;display:block}h1{font-size:34px}.page-intro p{font-size:14px;margin-top:10px}.workspace{display:flex;flex-direction:column}.work-toolbar{height:55px;padding:0 13px}.file-name{font-size:12px;max-width:180px}.file-meta{font-size:12px}.toolbar-actions{gap:0}.icon-button{width:30px;height:33px}.file-info>svg{display:none}.file-info{gap:7px}.demo-tag{font-size:12px}.stage{height:420px}.stage-hint{font-size:12px;padding-bottom:15px}.example-row{padding:17px}.samples{gap:9px}.sample img{width:49px;height:40px}.example-row>span{max-width:120px}.settings{display:grid;grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid var(--line);padding:20px;gap:20px}.control-section+.control-section{margin-top:0;padding-top:0;border:0}.control-section.export-section{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}.export-section .export-fields{grid-template-columns:1fr 1fr}.export-section .btn-wide{min-height:46px}.under-workspace{align-items:flex-start;font-size:12px;gap:16px}.under-workspace>span{max-width:180px}.under-workspace a{font-size:12px}.section-intro{margin-top:30px;align-items:flex-start}.section-intro h2{font-size:23px}.reading-links{gap:22px;margin-bottom:35px}.reading-link h3{font-size:15px}.reading-link span{font-size:12px}.footer-row{align-items:flex-start;flex-direction:column;gap:20px;padding:26px 0}.footer-brand{justify-content:space-between;width:100%;gap:18px}.footer-note{font-size:12px;max-width:220px}.footer-nav{font-size:12px;gap:24px}.palette-workspace{display:block}.palette-photo-frame{height:360px;padding:25px}.palette-side{padding:22px}.palette-save{display:flex}.palette-save .btn{margin-top:0;width:auto}.palette-lower{grid-template-columns:1fr;gap:35px;padding-top:32px}.palette-strip{min-height:82px}.color-block{font-size:12px;padding-inline:2px}.saved-palettes{gap:15px}.saved-palette-bar{height:70px}.collection-actions{flex-wrap:wrap;justify-content:flex-end}.collection-actions .btn{font-size:12px;padding:8px 9px}.sheet-layout{display:flex;flex-direction:column}.sheet-list-side{border-right:0;border-bottom:1px solid var(--line);padding:18px}.sheet-files{max-height:240px;display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.sheet-file img{width:38px;height:38px}.sheet-file{grid-template-columns:38px minmax(0,1fr)}.sheet-stage{min-height:350px;padding:22px}.sheet-settings{display:grid;grid-template-columns:1fr 1fr;padding:20px;gap:0 20px}.sheet-settings .field{margin:10px 0}.sheet-output{display:block}.sheet-output .field{margin:12px 0}.sheet-output .btn{width:100%;min-height:45px;margin-top:8px}.sheet-output .mini-help{margin-top:10px}.journal-top{margin:2px 0 24px;align-items:center}.journal-top .search-input{max-width:70%;font-size:12px}.journal-top>span{font-size:12px}.journal-grid{gap:28px 20px}.journal-photo{height:190px;margin-bottom:14px}.journal-card h2{font-size:20px}.journal-card>p{font-size:12px}.article-meta{font-size:12px;gap:10px}.article-layout{display:block;padding:28px 0 45px}.article-aside{position:static;margin-bottom:24px}.article-aside nav{display:none}.article h1{font-size:36px;max-width:none}.article .article-lead{font-size:16px}.article-cover{height:290px;margin:24px 0}.article-body{font-size:15px;line-height:1.8}.article-body h2{font-size:25px;margin-top:30px}.article-body table{font-size:12px}.article-body th,.article-body td{padding:10px 5px}.about-intro{display:block;margin-top:32px}.about-intro h1{font-size:43px;max-width:17ch}.about-intro>div>p{font-size:15px;margin-top:20px}.about-art{height:230px;max-width:450px;margin-top:30px;gap:15px}.about-art img:last-child{height:190px;margin-top:25px}.about-content{margin-top:50px;font-size:15px}.about-content h2{font-size:25px}.privacy-panel{padding:20px}.not-found{min-height:60vh;padding:40px 0}.not-found h1{font-size:37px}.not-found .mark-404{font-size:90px}}
@media(max-width:420px){.header-row{gap:8px}.header-action .btn{padding:9px}.header-action .btn svg{display:none}.logo{font-size:23px}.logo svg{width:25px;height:25px}.stage{height:365px}.file-name{max-width:150px}.file-info{gap:5px}.demo-tag{font-size:12px;padding:3px 4px}.work-toolbar{padding:0 10px}.toolbar-actions .icon-button{width:27px}.settings{display:block;padding:20px}.control-section+.control-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.ratio-options{gap:8px}.range-field{margin-top:15px}.example-row{gap:12px;padding-inline:14px}.example-row>span{font-size:12px;max-width:88px}.sample img{width:43px;height:37px}.samples{gap:6px}.under-workspace{font-size:12px;gap:12px}.under-workspace>span{max-width:155px}.reading-links{grid-template-columns:1fr;gap:0}.reading-link{padding:17px 0}.section-intro>a{font-size:12px}.palette-photo-frame{height:310px}.palette-side{padding:20px}.color-block{font-size:12px}.palette-save{display:block}.palette-save .btn{margin-top:10px;width:100%}.contrast-result{display:block}.contrast-result span{display:block;margin-top:5px}.saved-palettes{grid-template-columns:1fr}.section-intro.saved-intro{display:block}.saved-intro .collection-actions{justify-content:flex-start;margin-top:14px}.sheet-stage{min-height:320px;padding:17px}.sheet-settings{gap:0 14px;padding:17px}.sheet-list-side{padding:17px}.journal-grid{grid-template-columns:1fr;gap:33px}.journal-photo{height:240px}.journal-card h2{font-size:23px}.journal-card>p{font-size:14px}.journal-top>span{font-size:12px}.article h1{font-size:33px}.article-cover{height:240px}.footer-brand{gap:16px}.footer-note{max-width:185px}.footer-nav{gap:20px}.toast{font-size:12px}.about-intro h1{font-size:39px}.privacy-panel .btn{font-size:12px}.dialog-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.work-toolbar{height:auto;min-height:64px;padding-block:10px}.small-action{min-height:30px}.text-button{min-height:26px}.file-meta{line-height:1.4}.color-block{min-height:80px}
