*,:before,:after{box-sizing:border-box}body,h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}img,svg{display:block;max-width:100%}[hidden]{display:none!important}a{color:inherit}
:root{font-family:Inter,"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;font-synthesis:none;color:#213c35;background:#f2f0e7;--ink:#213c35;--muted:#63746b;--green:#007c68;--line:#c8d0c5;--paper:#fffdf7;--lime:#c6ff82;--violet:#776be8;--coral:#ff8066}
body{min-width:320px;font-size:14px;line-height:1.65;background:radial-gradient(ellipse at 100% 0,#e4e1ef,transparent 32%)}h1{font-size:clamp(38px,5.6vw,80px);line-height:1.08;font-weight:850;letter-spacing:0}h2{font-size:clamp(21px,2vw,29px);line-height:1.4}h3{font-size:16px;line-height:1.45}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}strong{font-weight:750}
button{background:var(--paper);border:1px solid var(--line);transition:background .18s,color .18s,border-color .18s,transform .18s,box-shadow .18s}button:hover:not(:disabled){border-color:var(--green);transform:translateY(-1px);box-shadow:0 3px 0 #213c3510}button:active:not(:disabled){transform:none;box-shadow:none}:focus-visible{outline:3px solid var(--violet);outline-offset:4px}input,select,textarea{accent-color:var(--green)}input[type=range]{grid-column:1/-1;width:100%;height:24px;margin:4px 0 0;cursor:pointer}input[type=color]{width:100%;height:37px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer}select,textarea{min-width:0;width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--paper);font-size:12px}select{cursor:pointer}textarea{resize:vertical;min-height:92px;max-height:240px;font-size:16px;line-height:1.6}
.page{max-width:1560px;margin:auto;padding:42px 44px 26px}.hero{margin-bottom:32px}.eyebrow,.kicker{color:var(--green);font-size:11px;letter-spacing:.1em;font-weight:750}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:20px}.eyebrow img{flex:none}h1>span{color:var(--coral)}.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}.lead{font-size:clamp(14px,1.4vw,18px)}.lead strong{color:var(--green)}.quiet-button,.primary-button,.accent-button{padding:10px 14px;border-radius:10px;font-size:12px;font-weight:750;white-space:nowrap}.primary-button{background:var(--ink);border-color:var(--ink);color:var(--lime)}.accent-button{background:var(--lime);border-color:var(--ink)}.text-button{background:transparent;border-color:transparent;font-size:11px;font-weight:700;padding:5px;border-radius:5px}.chip{font-size:10px;font-weight:750;letter-spacing:.05em;padding:5px 9px;border:1px solid var(--line);border-radius:30px;white-space:nowrap}
.lab{container:lab / inline-size;border:1px solid var(--line);border-radius:25px;background:var(--paper);overflow:clip;box-shadow:0 12px 38px #213c3508}.section-heading{display:flex;align-items:center;gap:15px;padding:23px 25px;border-bottom:1px solid var(--line)}.section-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;flex:none;background:var(--coral);color:white}.section-icon svg{width:32px;height:32px}.section-heading .kicker{margin-bottom:4px}.preset-jump{margin-left:auto;font-size:11px;font-weight:700;white-space:nowrap;text-underline-offset:4px}.lab-grid{display:grid;grid-template-columns:288px minmax(0,1fr)}.controls{background:#f5f4ed;border-right:1px solid var(--line);scroll-margin-top:20px}.control-section{padding:22px;border-bottom:1px solid var(--line);min-width:0}.control-section:last-child{border-bottom:0}.control-section h3{margin:4px 0 13px}.control-section>select{font-weight:650;min-height:40px}.control-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:10px}.sample-actions{display:flex;gap:6px;align-items:center;margin-top:8px}.sample-actions button{font-size:10px;font-weight:700;border-radius:6px;padding:6px 7px;white-space:nowrap}.sample-actions output{font-size:10px;color:var(--muted);margin-left:auto;white-space:nowrap}.select-control{display:grid;gap:7px;font-size:11px;font-weight:650;margin-top:18px}.preset-state{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:12px;font-size:10px;color:var(--green)}.preset-state button{font-size:10px}.range-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 9px;font-size:12px;font-weight:650;margin-top:18px}.range-control output{font-size:11px;color:var(--green);font-variant-numeric:tabular-nums}.field-label{font-size:11px;font-weight:650;margin:16px 0 8px}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.color-grid label{display:grid;gap:6px;font-size:11px;font-weight:650}
.segmented{display:flex;position:relative;isolation:isolate;anchor-scope:--te-selection;gap:3px;border:1px solid var(--line);padding:4px;background:#e6ebe3;border-radius:11px}.segmented button{position:relative;z-index:1;flex:1 1 auto;min-width:max-content;border:0;background:transparent;border-radius:7px;font-size:11px;font-weight:750;line-height:1.3;padding:10px 12px;white-space:nowrap;display:grid;place-items:center}.segmented button[aria-pressed=true]{anchor-name:--te-selection;background:var(--ink);color:var(--lime)}.segmented button:hover:not(:disabled){transform:none;box-shadow:none;background:#cddbc9}.segmented button[aria-pressed=true]:hover{background:var(--ink)}
@supports (anchor-name:--te-selection) and (position-anchor:--te-selection) and (anchor-scope:--te-selection){.segmented::before{content:"";position:absolute;position-anchor:--te-selection;left:anchor(left);top:anchor(top);width:anchor-size(width);height:anchor-size(height);border-radius:7px;background:var(--ink);z-index:0;pointer-events:none;transition:left .2s,top .2s,width .2s,height .2s}.segmented button[aria-pressed=true],.segmented button[aria-pressed=true]:hover{background:transparent}}
.workspace{container:workspace / inline-size;align-self:start;min-width:0}.workspace-toolbar{display:flex;align-items:center;gap:11px;padding:14px 23px;border-bottom:1px solid var(--line);font-size:11px}.workspace-toolbar>strong{white-space:nowrap}.workspace-toolbar>#presetEnglish{font-size:10px;color:var(--muted)}.workspace-toolbar>.chip{margin-left:auto}.window-dots{display:flex;gap:5px;flex:none}.window-dots i{width:7px;height:7px;border-radius:50%;background:#b1c3b0}.window-dots i:first-child{background:var(--coral)}.settings-link{display:none;margin-left:auto;text-underline-offset:3px;font-size:10px;white-space:nowrap}.canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 23px}.icon-segment svg{width:18px;height:18px}.icon-segment button{padding:8px 11px}.live-preview{border-block:1px solid var(--line);min-width:0}.preview-status{display:flex;justify-content:space-between;gap:15px;padding:13px 23px;border-bottom:1px solid var(--line);font-size:10px;color:var(--green);font-family:ui-monospace,monospace}.preview-status>span:last-child{font-family:inherit;white-space:nowrap}.empty-note{font-size:12px;color:var(--muted);padding:18px 23px;text-align:center}
.export-section{padding:26px 23px}.export-section h3{margin-top:5px}.export-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.export-section pre{max-height:335px;overflow:auto;background:#17352f;color:#deecdf;font-size:11px;line-height:1.8;padding:18px;border-radius:11px;tab-size:2;margin:20px 0 12px}.export-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted)}
.preset-library,.guide{margin-top:56px;scroll-margin-top:24px}.library-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:23px}.library-heading h2,.small-heading h2{margin:6px 0}.library-heading p:not(.kicker){font-size:12px;color:var(--muted)}.search-box{display:flex;align-items:center;gap:9px;flex:0 0 245px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.search-box svg{width:18px;height:18px;flex:none}.search-box input{min-width:0;width:100%;border:0;background:transparent;outline:0;font-size:12px;color:var(--ink)}.search-box:focus-within{outline:3px solid var(--violet);outline-offset:3px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:17px;margin-bottom:20px}.category-buttons{display:flex;gap:7px;flex-wrap:wrap}.category-buttons button{font-size:11px;font-weight:700;padding:8px 12px;border-radius:25px}.category-buttons button[aria-pressed=true]{color:var(--lime);background:var(--ink);border-color:var(--ink)}.library-toolbar output{font-size:11px;color:var(--muted);white-space:nowrap}.preset-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.preset-card{min-width:0;padding:8px 8px 12px;border-radius:14px;text-align:left}.preset-card:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 7px 20px #213c3510}.preset-card[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.preset-card>strong{display:block;font-size:12px;margin:11px 4px 0}.preset-card>small{display:block;font-size:10px;color:var(--muted);margin:1px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-art{display:block;height:120px;overflow:hidden;border-radius:9px}.preset-art .text-effect{font-size:clamp(24px,20cqi,36px)}
.small-heading{margin-bottom:22px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.guide-grid article{padding:25px;border:1px solid var(--line);border-radius:16px;background:#faf9f3}.guide-grid svg{width:44px;height:44px;color:var(--green);margin-bottom:18px}.guide-grid h3{margin-bottom:12px}.guide-grid p,.guide-notes{font-size:12px;color:var(--muted);line-height:1.9}.guide-notes{padding-top:22px;display:grid;gap:11px}.reference-links{display:flex;flex-wrap:wrap;gap:9px 18px}.reference-links a{text-underline-offset:4px}.page-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:44px;padding-top:20px;font-size:10px;color:var(--muted)}.page-footer a{font-weight:700}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,14px);opacity:0;pointer-events:none;z-index:100;max-width:calc(100% - 32px);padding:13px 20px;border-radius:11px;background:#17352f;color:#fffdf5;text-align:center;font-size:12px;box-shadow:0 7px 25px #0002;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container lab (max-width:1050px){.lab-grid{grid-template-columns:250px minmax(0,1fr)}.control-section{padding:20px 17px}.workspace-toolbar{padding-inline:17px}.workspace-toolbar>#presetEnglish{display:none}.section-heading h2{font-size:24px}}
@container workspace (max-width:480px){.canvas-toolbar{padding:13px 16px}.workspace-toolbar>.chip{display:none}.preview-status{padding-inline:16px;flex-wrap:wrap;gap:5px}.export-section{padding-inline:17px}}
@container lab (max-width:720px){.lab-grid{grid-template-columns:1fr}.workspace{grid-row:1}.controls{grid-row:2;border-right:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.control-section:nth-child(even){border-left:1px solid var(--line)}.section-heading{padding:18px;gap:12px}.section-icon{width:43px;height:43px;border-radius:13px}.section-heading h2{font-size:21px}.section-heading .kicker{font-size:10px}.preset-jump{display:none}.settings-link{display:block}}
@container lab (max-width:440px){.controls{display:block}.control-section:nth-child(even){border-left:0}.control-section{padding:22px}.export-actions button{font-size:11px;padding-inline:12px}}
@media(max-width:1150px){.page{padding:32px 24px 24px}.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.page{padding:23px 16px 20px}.hero-bottom{flex-direction:column;align-items:start;gap:14px}.hero{margin-bottom:25px}.eyebrow{font-size:10px}.library-heading{flex-direction:column;align-items:start;gap:17px}.search-box{width:100%;flex-basis:auto}.library-toolbar{flex-direction:column;align-items:start;gap:12px}.category-buttons{gap:6px}.category-buttons button{padding:8px 10px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preset-card{padding:7px 7px 11px}.preset-library,.guide{margin-top:43px}.guide-grid{grid-template-columns:1fr}.guide-grid p{font-size:13px}.page-footer{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){button{border:1px solid ButtonText}.segmented button[aria-pressed=true],.category-buttons button[aria-pressed=true]{background:Highlight;color:HighlightText}.segmented::before{background:Highlight}}
