.gradient-tool h2{margin:0 0 1.2rem}.gradient-toolbar{display:grid;grid-template-columns:1fr 1.5fr;gap:1rem;align-items:end}.gradient-toolbar .field{min-width:0}.gradient-toolbar input[type=range]{min-height:42px;padding:0;accent-color:var(--brand-strong)}.gradient-preview{min-height:300px;border-radius:var(--radius-sm);margin:0 0 1.7rem;display:grid;place-items:center;padding:1rem;text-align:center;border:1px solid rgba(0,0,0,.1)}.gradient-preview span{font-family:Georgia,serif;font-size:clamp(1.5rem,4vw,2.5rem);font-weight:700;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.6)}.gradient-stops-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.gradient-stops-heading h3,.gradient-output h3{margin:0}.gradient-hint{color:var(--muted);font-size:.92rem;margin:.5rem 0 1rem}.gradient-stops{display:grid;gap:.8rem}.gradient-stop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;gap:1rem;align-items:end;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.85rem}.gradient-stop .field{min-width:0;margin:0}.gradient-stop input[type=color]{width:100%;height:46px;padding:4px;cursor:pointer;background:var(--surface);border:1px solid var(--border)}.gradient-stop input[type=range]{min-height:40px;padding:0;accent-color:var(--brand-strong)}.gradient-stop .gradient-remove{min-height:42px;white-space:nowrap}.gradient-extras{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}.gradient-output{margin-top:1.5rem;border-top:1px solid var(--border);padding-top:1.3rem}.gradient-output__heading{display:flex;justify-content:space-between;gap:.8rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.gradient-output pre{margin:0;padding:1rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);white-space:pre-wrap;overflow-wrap:anywhere}.gradient-output code{font-size:.94rem;color:var(--text)}@media(max-width:670px){.gradient-toolbar{grid-template-columns:1fr}.gradient-preview{min-height:220px}.gradient-stop{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.gradient-stop .gradient-remove{grid-column:1/-1}.gradient-output__heading button{width:100%}}@media(max-width:390px){.gradient-stop{grid-template-columns:1fr}.gradient-stop .gradient-remove{grid-column:1}.gradient-stops-heading button,.gradient-extras button{width:100%}}