.grm-tool-page{--tool-bg:#fcfbf9;--tool-section:#f0ede7;--tool-card:#fff;--tool-ink:#28241f;--tool-muted:#635b52;--tool-line:#ddd7cd;--tool-accent:#ff765f;--tool-accent-hover:#ff8c78;--tool-hero:#fff3ec;background:var(--tool-bg);color:var(--tool-ink);font-family:Outfit,system-ui,sans-serif;overflow:clip}.dark .grm-tool-page{--tool-bg:#161412;--tool-section:#201c19;--tool-card:#2a2521;--tool-ink:#fcf6ef;--tool-muted:#c9bdb2;--tool-line:#423a34;--tool-hero:#221b19}.grm-tool-wrap{width:min(1280px,100% - clamp(36px,10.6vw,160px));margin-inline:auto}.grm-tool-hero{background:linear-gradient(180deg, var(--tool-hero), var(--tool-bg));padding-block:clamp(42px,6vw,86px) clamp(38px,5vw,68px)}.grm-tool-hero-copy{text-align:center;margin:0 auto clamp(22px,3vw,36px)}.grm-tool-hero h1{letter-spacing:-.052em;text-wrap:balance;max-width:20ch;margin:0 auto;font-size:clamp(36px,5.3vw,75px);font-weight:680;line-height:1.03}.grm-tool-page:lang(zh) .grm-tool-hero h1{letter-spacing:-.035em;font-size:clamp(32px,4.8vw,65px)}.grm-tool-page :where(p){color:var(--tool-muted);font-size:16px;line-height:1.65}.grm-tool-hero-copy p{text-wrap:balance;max-width:59ch;margin:14px auto 0;font-size:clamp(15px,1.4vw,19px)}.grm-tool-page:lang(zh) .grm-tool-hero-copy p{max-width:820px}.grm-tool-hero-controls{min-width:0;max-width:760px;margin-inline:auto}.grm-tool-hero-controls .grm-hero-entry{scroll-margin-top:84px}.grm-tool-hero-controls .grm-composer{border-radius:23px;padding:0 clamp(13px,2vw,20px) clamp(13px,2vw,17px)}.grm-tool-hero-controls .grm-mode-tabs{gap:clamp(16px,3vw,30px)}.grm-tool-hero-controls .grm-mode-tabs button{min-height:44px;padding-block:10px 12px;font-size:13px}.grm-tool-hero-controls .grm-prompt-area{gap:15px;min-height:120px;padding-block:18px 14px}.grm-tool-hero-controls .grm-upload-slot,.grm-tool-hero-controls .grm-upload-button{width:clamp(60px,7vw,76px)}.grm-tool-hero-controls .grm-upload-button{height:78px}.grm-tool-hero-controls .grm-prompt-copy textarea{min-height:60px;font-size:16px}.grm-tool-hero-controls .grm-hero-toolbar{border-color:var(--grm-surface-divider);padding-top:12px}.grm-tool-hero-controls .grm-option-button,.grm-tool-hero-controls .grm-generate{min-height:42px;font-size:13px!important}.grm-tool-samples{padding-block:4px clamp(44px,6vw,92px)}.grm-tool-samples .grm-tool-wrap{max-width:760px}.grm-tool-samples #grm-tool-samples-title{font-size:clamp(21px,2.4vw,29px);font-weight:650}.grm-tool-sample-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,22px);margin:16px 0 0;padding:0;list-style:none;display:grid}.grm-tool-sample-video{aspect-ratio:9/16;background:var(--tool-section);object-fit:cover;border-radius:18px;width:100%;display:block}.grm-tool-sample figcaption{color:var(--tool-ink);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:9px 1px 0;font-size:14px;font-weight:580;display:flex}.grm-tool-sample figcaption>:where(button){border:1px solid var(--tool-line);color:var(--tool-muted);cursor:pointer;border-radius:8px;padding:5px 8px;font-size:12px}.grm-tool-sample figcaption>:where(button):hover{background:var(--tool-section);color:var(--tool-ink)}.grm-tool-button{background:var(--tool-accent);color:#271710;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:14px;min-height:48px;padding:10px 17px;font-size:15px;font-weight:600;line-height:1.3;display:inline-flex}.grm-tool-button:hover{background:var(--tool-accent-hover)}.grm-tool-button.is-secondary{border-color:var(--tool-line);color:var(--tool-ink);background:0 0}.grm-tool-button.is-secondary:hover{background:var(--tool-card)}.grm-tool-page :is(a,summary):focus-visible{outline-offset:4px;outline:2px solid #d7644d}.grm-tool-step-image,.grm-tool-feature-image,.grm-tool-example-image{background:var(--tool-section);position:relative;overflow:hidden}.grm-tool-page img{object-fit:cover}.grm-tool-section{padding-block:clamp(60px,7.2vw,112px)}.grm-tool-tinted{background:var(--tool-section)}.grm-tool-page h2{letter-spacing:-.036em;margin:0;font-size:clamp(30px,3.5vw,51px);font-weight:550;line-height:1.12}.grm-tool-page h3{letter-spacing:-.022em;margin:0;font-size:clamp(21px,2.2vw,32px);font-weight:550;line-height:1.13}.grm-tool-section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.grm-tool-step-grid,.grm-tool-related{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,25px);margin:30px 0 0;padding:0;list-style:none;display:grid}.grm-tool-step-grid>li{background:var(--tool-card);border-radius:clamp(20px,2.5vw,32px);padding:clamp(15px,2vw,25px)}.grm-tool-step-number{color:var(--tool-muted);letter-spacing:.045em;text-transform:uppercase;margin-bottom:14px;font-size:12px;font-weight:600;display:block}.grm-tool-step-image{aspect-ratio:4/3;border-radius:15px;margin-bottom:17px}.grm-tool-step-grid p,.grm-tool-feature-row p{margin:9px 0 0}.grm-tool-features{background:var(--tool-bg);border-radius:clamp(22px,4vw,54px) clamp(22px,4vw,54px) 0 0;margin-top:-20px}.grm-tool-feature-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(28px,6vw,90px);margin-top:clamp(28px,5vw,68px);display:grid}.grm-tool-feature-row p{max-width:48ch}.grm-tool-feature-row:nth-of-type(2n)>:first-child{order:1}.grm-tool-feature-image{aspect-ratio:16/9;border-radius:clamp(19px,2.7vw,34px)}.grm-tool-example{background:var(--tool-card);color:var(--tool-ink);border-radius:20px;display:block;overflow:hidden}.grm-tool-example:hover{box-shadow:0 0 0 2px var(--tool-accent)}.grm-tool-example-image{aspect-ratio:4/5}.grm-tool-example>span{justify-content:space-between;align-items:center;gap:10px;padding:15px 18px;font-size:17px;font-weight:550;display:flex}.grm-tool-example svg{flex:none}.grm-tool-faq{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:clamp(22px,6vw,84px);display:grid}.grm-tool-faq details{border-top:1px solid var(--tool-line)}.grm-tool-faq details:last-child{border-bottom:1px solid var(--tool-line)}.grm-tool-faq summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding-block:12px;font-size:17px;font-weight:550;list-style:none;display:flex}.grm-tool-faq summary::-webkit-details-marker{display:none}.grm-tool-faq svg{flex:none}.grm-tool-faq details[open] svg{transform:rotate(45deg)}.grm-tool-faq details p{margin:0;padding:0 24px 17px 0}.grm-tool-related{grid-template-columns:repeat(2,minmax(0,1fr))}.grm-tool-related .grm-tool-example-image{aspect-ratio:16/7}.grm-tool-final{isolation:isolate;color:#fffaf5;background:#241a17;align-items:center;min-height:clamp(320px,36vw,510px);padding-block:60px;display:grid;position:relative}.grm-tool-final img{z-index:-2}.grm-tool-final:before{z-index:-1;content:"";background:linear-gradient(90deg,#1c120fed,#241916a6 65%,#19120f65);position:absolute;inset:0}.grm-tool-final p{color:#f5e9e2;max-width:47ch;margin:14px 0 22px}@media (max-width:819px){.grm-tool-faq,.grm-tool-step-grid{grid-template-columns:1fr}.grm-tool-step-image{aspect-ratio:16/9}}@media (max-width:639px){.grm-tool-feature-row,.grm-tool-related{grid-template-columns:1fr}.grm-tool-feature-row:nth-of-type(2n)>:first-child{order:0}.grm-tool-sample-list{scroll-snap-type:inline mandatory;grid-template-columns:none;grid-auto-columns:min(53%,190px);grid-auto-flow:column;padding-bottom:9px;overflow-x:auto}.grm-tool-sample-list>li{scroll-snap-align:start}}
