:root{--milk:#f2eee5;--ink:#313232;--blue:#82a0ff;--line:#82a0ff80;--edge:#c5c1b8;--muted:#625f59;--serif:"Cormorant Infant",Georgia,serif;--sans:Onest,Arial,sans-serif;font:16px/1.45 var(--sans);background:var(--milk);color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body,h1,h2,h3,p,fieldset,legend{margin:0}fieldset,legend{min-width:0;padding:0;border:0}button,input,select{font:inherit;color:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button{cursor:pointer;background:none;border:0;padding:0}a{color:inherit;text-decoration:none}button:disabled,fieldset:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #607bcd;outline-offset:3px}.symbols{position:absolute;width:0;height:0;overflow:hidden}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.shell{width:min(1440px,100%);padding-inline:clamp(20px,6.95vw,100px);margin-inline:auto}
.mast{position:sticky;top:0;z-index:6;background:#313232f7;color:var(--milk);border-bottom:1px solid #f2eee533;backdrop-filter:blur(12px)}.nav,.nav nav,.brand,.lang,.art-tools,.art-tools>span,.art-tools button,.btn,.dialog-head,.labelrow,.footer,.palette-row{display:flex;align-items:center}.nav{justify-content:space-between;min-height:80px;gap:30px}.brand{gap:13px;white-space:nowrap}.brand img{display:block;width:46px;height:46px}.brand span{font:600 29px/.95 var(--serif);letter-spacing:-.045em}.nav nav{gap:clamp(16px,2.2vw,36px);font-size:14px;white-space:nowrap}.nav nav>a:hover,.nav nav>button:hover{color:#b5c5ff}.lang{border:1px solid #92928c;border-radius:24px;padding:2px}.lang button{font-size:12px;min-height:28px;padding:0 11px;border-radius:18px}.lang button[aria-pressed=true]{color:var(--ink);background:var(--milk)}
.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:40px 0 32px}.intro h1{font:600 clamp(3.6rem,6.6vw,6.5rem)/.94 var(--serif);letter-spacing:-.045em;text-wrap:balance}.intro p{max-width:340px;font-size:clamp(15px,1.1vw,17px);line-height:1.45;padding-bottom:.17em;color:#555650;text-wrap:pretty}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(310px,26vw,365px);gap:clamp(20px,2.35vw,34px);align-items:stretch}.art-card{min-width:0;display:flex;flex-direction:column}.stage{isolation:isolate;position:relative;border-radius:20px;overflow:hidden;background:#e3ddeb;color:white;flex:1;min-height:440px}.stage.light{color:#33323b}.stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}.stage canvas:active{cursor:grabbing}.stage-top,.stage-foot{position:absolute;pointer-events:none;left:clamp(16px,2vw,28px);right:clamp(16px,2vw,28px)}.stage-top{top:20px;display:flex;justify-content:flex-end}.icon-only{width:40px;height:40px;display:grid;place-items:center;border:1px solid #999990ad;border-radius:50%;background:#f2eee5;color:#313232}.glass{pointer-events:auto;color:inherit;border-color:currentColor;background:#7575750e}.glass:hover{background:#9993}.stage-foot{bottom:22px}.stage-foot #plant-title{display:block;font:600 clamp(23px,2.05vw,32px)/1 var(--serif);letter-spacing:-.025em}.stage-foot i{font:400 13px/1.6 var(--sans);opacity:.78}.art-tools{justify-content:space-between;gap:16px;padding-block:14px;border-bottom:1px solid var(--line);font-size:14px}.art-tools>span,.art-tools button{gap:7px}.art-tools>span{color:var(--muted)}.art-tools button:hover{text-decoration:underline;text-underline-offset:3px}
.panel{min-width:0;border:1px solid #d3cfc6;border-radius:20px;background:#faf8f1;padding:clamp(16px,1.65vw,24px);display:flex;flex-direction:column;gap:12px}.panel h2,dialog h2{font:600 34px/1.04 var(--serif);letter-spacing:-.035em}.panel h2{margin-bottom:1px}.panel label,.panel legend,.labelrow,.panel h3{font-size:14px;font-weight:500}.labelrow{justify-content:space-between;gap:8px}.labelrow small,#palname{font-size:12px;color:var(--muted);font-weight:400}.panel input:not([type=radio]),select{width:100%;border:1px solid #aaa79d;border-radius:9px;background:#fbf9f3;padding:7px 12px;height:38px;font-size:16px}.field input,.select-wrap,.plant-options,.palette-row,.variation>.btn,.export-buttons{margin-top:5px}.select-wrap{position:relative}.select-wrap select{appearance:none;padding-right:39px;cursor:pointer}.select-wrap svg{position:absolute;right:13px;top:calc(50% - 8px);width:16px;height:16px;pointer-events:none}.plant-options{display:grid;grid-template-columns:1fr 1fr;gap:5px}.plant-options label{position:relative;display:flex;gap:7px;align-items:center;justify-content:center;min-height:33px;border:1px solid #c9c6bd;border-radius:999px;cursor:pointer;font-size:14px;font-weight:400}.plant-options label:has(input:checked){border-color:#778fda;background:#e4e9fa}.plant-options input{width:13px;height:13px;margin:0;accent-color:#566cba}.plant-options label:has(input:focus-visible){outline:2px solid #566cba}.palette-row{flex-wrap:wrap;gap:6px 12px}.swatches{display:flex;gap:7px;align-items:center}.swatch{width:30px;height:30px;border-radius:50%;background:linear-gradient(126deg,var(--sw1) 0 47%,var(--sw2) 48% 77%,var(--sw3) 78% 100%);box-shadow:inset 0 0 0 1px #31323223}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px #faf8f1,0 0 0 3.5px #566cba}.swatches button:hover{transform:translateY(-1px)}#palname{white-space:normal}.btn{justify-content:center;gap:8px;min-height:39px;border-radius:999px;font-weight:500;font-size:14px;padding:7px 16px}.outline{border:1px solid #96958e}.btn.outline:hover{background:#eae7de}.btn.primary{background:var(--ink);color:white;border:1px solid var(--ink)}.btn.primary:hover{background:#46494a}.wide{width:100%}.export{border-top:1px solid var(--line);padding-top:12px}.export-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.footer{justify-content:space-between;padding-block:24px 34px;margin-top:28px;position:relative;color:var(--muted);font-size:14px}.footer::before{content:"";position:absolute;top:0;inset-inline:clamp(20px,6.95vw,100px);border-top:1px solid var(--line)}.footer a:first-child{font:600 27px/1 var(--serif);letter-spacing:-.03em}.footer a:hover{text-decoration:underline}
#inputnote:not(:empty),#fontnote:not(:empty){margin-top:4px;color:#715048;font-size:13px}.loading,.empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:min(240px,85%);max-width:90%;color:var(--ink);background:#f6f3ecf5;border-radius:12px;padding:15px 20px;font-size:14px}.loading div{display:flex;justify-content:space-between;gap:18px}progress{display:block;width:100%;height:5px;margin-top:12px;accent-color:#637dd3}.stage:fullscreen,.stage.expanded{border-radius:0;width:100vw;height:100dvh;min-height:0}.stage.expanded{position:fixed;inset:0;z-index:12}.stage.expanded canvas,.stage:fullscreen canvas{touch-action:none}dialog{border:1px solid var(--edge);border-radius:18px;background:var(--milk);color:var(--ink);padding:22px;width:min(600px,calc(100vw - 32px));max-height:90dvh}dialog::backdrop{background:#2526279c;backdrop-filter:blur(4px)}.dialog-head{justify-content:space-between;gap:16px;margin-bottom:18px}dialog p{margin:10px 0}dialog img,dialog video{display:block;width:100%;max-height:55dvh;object-fit:contain;border-radius:10px;background:#252627}.meta,.progress-note{font-size:14px;color:var(--muted)}dialog .download{margin-top:16px}[hidden]{display:none!important}
.footer { flex-wrap: wrap; gap: 12px 24px; }
.footer #footer-tools { margin-inline-start: auto; }
.footer .donate { color: var(--ink); min-height: 44px; }
.footer .donate:hover { text-decoration: none; }
@media (max-width: 520px) {
  .footer { display: grid; grid-template-columns: auto 1fr; }
  .footer .donate { grid-column: 1 / -1; justify-self: start; }
}
@media(max-width:1050px){.shell{padding-inline:clamp(20px,4vw,42px)}.footer::before{inset-inline:clamp(20px,4vw,42px)}.intro p{max-width:295px}.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.palette-row{gap:7px 10px}.intro{padding:30px 0 25px}}
@media(max-width:760px){.nav{min-height:60px;gap:15px}.brand img{width:38px;height:38px}.brand span{font-size:24px}.brand{gap:8px}.nav nav{gap:15px}.intro{display:block;padding:28px 0 19px}.intro h1{font-size:clamp(2.8rem,10.7vw,4.8rem)}.intro p{margin-top:12px;max-width:560px}.workspace{grid-template-columns:1fr;gap:18px}.stage{flex:auto;min-height:0;aspect-ratio:1.52;border-radius:15px}.stage-foot{bottom:14px}.stage-top{top:13px}.stage-foot #plant-title{font-size:22px}.stage-foot i{font-size:12px}.art-tools{font-size:13px;gap:8px;padding:10px 0}.panel{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px 20px;padding:18px}.panel h2,.export{grid-column:1/-1}.panel h2{font-size:30px}.plant-options{grid-template-columns:1fr 1fr}.variation{grid-column:1/-1}.stage:fullscreen,.stage.expanded{aspect-ratio:auto}.footer{margin-top:20px}}
@media(max-width:520px){.shell{padding-inline:16px}.footer::before{inset-inline:16px}.nav #about{font-size:0;width:30px;height:30px;position:relative}.nav #about::before{content:"?";font:500 15px var(--sans);border:1px solid #b0afa8;display:grid;place-items:center;width:23px;height:23px;border-radius:50%}.nav #tools{display:none}.nav nav{gap:8px}.lang button{padding:0 8px}.intro p{font-size:15px}.panel{display:flex;gap:14px}.stage{aspect-ratio:1.26}.stage-foot i{display:none}.stage-foot #plant-title{font-size:21px}.art-tools svg{width:15px;height:15px}.art-tools button,.art-tools>span{gap:5px}.swatches{gap:10px}.swatch{width:33px;height:33px}.panel input:not([type=radio]),select,.btn,.plant-options label{min-height:42px}.icon-only{width:34px;height:34px}.footer{padding-bottom:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
