.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;overflow:clip;background:var(--tool-bg);color:var(--tool-ink);font-family:Outfit,system-ui,sans-serif}.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,calc(100% - clamp(36px, 10.6vw, 160px)));margin-inline:auto}.grm-tool-hero{padding-block:clamp(42px,6vw,86px) clamp(38px,5vw,68px);background:linear-gradient(180deg,var(--tool-hero),var(--tool-bg))}.grm-tool-hero-copy{margin:0 auto clamp(22px,3vw,36px);text-align:center}.grm-tool-hero h1{margin:0 auto;max-width:20ch;font-size:clamp(36px,5.3vw,75px);font-weight:680;line-height:1.03;letter-spacing:-.052em;text-wrap:balance}.grm-tool-page:lang(zh) .grm-tool-hero h1{font-size:clamp(32px,4.8vw,65px);letter-spacing:-.035em}.grm-tool-page :where(p){color:var(--tool-muted);font-size:16px;line-height:1.65}.grm-tool-hero-copy p{max-width:59ch;margin:14px auto 0;font-size:clamp(15px,1.4vw,19px);text-wrap:balance}.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{padding:0 clamp(13px,2vw,20px) clamp(13px,2vw,17px);border-radius:23px}.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{min-height:120px;gap:15px;padding-block:18px 14px}.grm-tool-hero-controls .grm-upload-button,.grm-tool-hero-controls .grm-upload-slot{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{padding-top:12px;border-color:var(--grm-surface-divider)}.grm-tool-hero-controls .grm-generate,.grm-tool-hero-controls .grm-option-button{min-height:42px;font-size:13px!important}.grm-tool-quick-answer{padding-block:0 clamp(24px,3vw,36px)}.grm-tool-quick-answer .grm-tool-wrap{max-width:760px}.grm-tool-quick-answer-card{padding:clamp(18px,2.6vw,26px);border:1px solid var(--tool-line);border-left:3px solid var(--tool-accent);border-radius:16px;background:var(--tool-card)}.grm-tool-quick-answer-card h2{margin:0;font-size:clamp(18px,2vw,22px);font-weight:660;line-height:1.25;color:var(--tool-ink)}.grm-tool-quick-answer-card>p{margin:10px 0 0;font-size:15px;line-height:1.65}.grm-tool-quick-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--tool-line)}.grm-tool-quick-facts dt{font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.04em;color:var(--tool-muted)}.grm-tool-quick-facts dd{margin:4px 0 0;font-size:14px;font-weight:560;line-height:1.45;color:var(--tool-ink)}.grm-tool-quick-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:16px;padding-top:12px;border-top:1px solid var(--tool-line)}.grm-tool-quick-links a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:620;color:var(--tool-accent);text-decoration:none}.grm-tool-quick-links a:hover{text-decoration:underline;text-underline-offset:3px}@media (max-width:639px){.grm-tool-quick-facts{grid-template-columns:1fr}}.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{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,22px);margin:16px 0 0;padding:0;list-style:none}.grm-tool-sample-video{display:block;width:100%;aspect-ratio:9/16;border-radius:18px;background:var(--tool-section);object-fit:cover}.grm-tool-sample figcaption{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:9px 1px 0;color:var(--tool-ink);font-size:14px;font-weight:580}.grm-tool-sample figcaption>:where(button){border:1px solid var(--tool-line);border-radius:8px;padding:5px 8px;color:var(--tool-muted);font-size:12px;cursor:pointer}.grm-tool-sample figcaption>:where(button):hover{background:var(--tool-section);color:var(--tool-ink)}.grm-tool-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:14px;padding:10px 17px;border:1px solid transparent;border-radius:14px;background:var(--tool-accent);color:#271710;font-size:15px;font-weight:600;line-height:1.3}.grm-tool-button:hover{background:var(--tool-accent-hover)}.grm-tool-button.is-secondary{border-color:var(--tool-line);background:transparent;color:var(--tool-ink)}.grm-tool-button.is-secondary:hover{background:var(--tool-card)}.grm-tool-page :is(a,summary):focus-visible{outline:2px solid #d7644d;outline-offset:4px}.grm-tool-example-image,.grm-tool-feature-image,.grm-tool-step-image{position:relative;overflow:hidden;background:var(--tool-section)}.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{margin:0;font-size:clamp(30px,3.5vw,51px);font-weight:550;line-height:1.12;letter-spacing:-.036em}.grm-tool-page h3{margin:0;font-size:clamp(21px,2.2vw,32px);font-weight:550;line-height:1.13;letter-spacing:-.022em}.grm-tool-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.grm-tool-related,.grm-tool-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,25px);margin:30px 0 0;padding:0;list-style:none}.grm-tool-step-grid>li{padding:clamp(15px,2vw,25px);border-radius:clamp(20px,2.5vw,32px);background:var(--tool-card)}.grm-tool-step-number{display:block;margin-bottom:14px;color:var(--tool-muted);font-size:12px;font-weight:600;letter-spacing:.045em;text-transform:uppercase}.grm-tool-step-image{aspect-ratio:4/3;margin-bottom:17px;border-radius:15px}.grm-tool-feature-row p,.grm-tool-step-grid p{margin:9px 0 0}.grm-tool-features{border-radius:clamp(22px,4vw,54px) clamp(22px,4vw,54px) 0 0;margin-top:-20px;background:var(--tool-bg)}.grm-tool-feature-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(28px,6vw,90px);margin-top:clamp(28px,5vw,68px)}.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{display:block;overflow:hidden;border-radius:20px;background:var(--tool-card);color:var(--tool-ink)}.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{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;font-size:17px;font-weight:550}.grm-tool-example svg{flex:none}.grm-tool-faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:clamp(22px,6vw,84px)}.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{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:16px;padding-block:12px;cursor:pointer;font-size:17px;font-weight:550;list-style:none}.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{position:relative;isolation:isolate;display:grid;min-height:clamp(320px,36vw,510px);align-items:center;padding-block:60px;color:#fffaf5;background:#241a17}.grm-tool-final img{z-index:-2}.grm-tool-final:before{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#1c120fed,#241916a6 65%,#19120f65);content:""}.grm-tool-final p{max-width:47ch;margin:14px 0 22px;color:#f5e9e2}@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{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(53%,190px);overflow-x:auto;scroll-snap-type:inline mandatory;padding-bottom:9px}.grm-tool-sample-list>li{scroll-snap-align:start}}