.tool-detail-main:has(.gradient-app)>.tool-detail-heading{display:none}.tool-detail-workspace:has(.gradient-app){overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.gradient-app{color:#111b34;font-size:.72rem}.gradient-app :where(button,input,select){font:inherit}.gradient-app button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gradient-hero{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:96px;margin:0 -24px 12px;padding:7px 26px 13px;background:radial-gradient(circle at 83% 30%,rgba(92,54,242,.07),transparent 32%),#fff}.gradient-hero>span{display:grid;width:64px;height:64px;place-items:center;border:1px solid #c5b8ff;border-radius:12px;color:#fff;background:#faf8ff}.gradient-hero>span svg{width:47px;height:47px}.gradient-hero h1{margin:0 0 5px;font-size:1.45rem;line-height:1.14;letter-spacing:-.03em}.gradient-hero p{margin:0;color:#35435c;font-size:.74rem}.gradient-hero small{display:block;margin-top:4px;color:#5c6a80;font-size:.62rem}.gradient-hero>button,.gradient-preview-card header button,.gradient-code-heading button,.gradient-preview-card footer button{display:flex;min-height:39px;align-items:center;justify-content:center;gap:7px;padding:8px 14px;border:1px solid #d7deea;border-radius:8px;color:#26334a;background:#fff;font-size:.65rem;font-weight:700;cursor:pointer}
.gradient-workspace{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(0,1.28fr);gap:12px}.gradient-card,.gradient-info-grid article{border:1px solid #dce2ec;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(28,39,66,.035)}.gradient-controls,.gradient-preview-card,.gradient-presets{padding:14px}.gradient-section+.gradient-section{margin-top:14px;padding-top:14px;border-top:1px solid #e4e8ef}.gradient-section>header,.gradient-preview-card>header>div,.gradient-presets>header{display:flex;align-items:flex-start;gap:10px}.gradient-section>header>span,.gradient-preview-card>header>div>span,.gradient-presets>header>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:9px;color:#5634ef;background:#eeeaff;font-size:.72rem;font-weight:800}.gradient-app h2{margin:0;color:#152138;font-size:.8rem}.gradient-app header p{margin:3px 0 0;color:#607087;font-size:.61rem}.gradient-segment{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;overflow:hidden;margin-top:12px;border:1px solid #d7deea;border-radius:8px}.gradient-segment button{min-height:38px;padding:6px;border:0;border-right:1px solid #e2e7ef;color:#354159;background:#fff;font-size:.58rem;font-weight:700;cursor:pointer}.gradient-segment button:last-child{border-right:0}.gradient-segment button.is-active{color:#fff;background:linear-gradient(135deg,#3d21ec,#6738f5)}
.gradient-direction{margin-top:14px}.gradient-direction label{display:grid;grid-template-columns:1fr auto;gap:7px;color:#26334a;font-size:.62rem;font-weight:700}.gradient-direction input{grid-column:1/-1;width:100%;accent-color:#5634ef}.gradient-direction>div{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:9px}.gradient-direction button{min-height:35px;border:1px solid #d7deea;border-radius:7px;color:#26334a;background:#fff;font-size:.9rem;cursor:pointer}.gradient-stops-section>div{display:grid;gap:8px;margin-top:12px}.gradient-stop{display:grid;grid-template-columns:38px 1fr 72px 34px;gap:7px;align-items:center}.gradient-stop input[type=color]{width:38px;height:38px;padding:3px;border:1px solid #d7deea;border-radius:7px;background:#fff}.gradient-stop input[type=text],.gradient-stop input[type=number]{width:100%;min-height:38px;padding:7px 9px;border:1px solid #d7deea;border-radius:7px;color:#17223a;background:#fff}.gradient-stop button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #d7deea;border-radius:7px;color:#d22b45;background:#fff;cursor:pointer}.gradient-add{width:100%;min-height:37px;margin-top:8px;border:1px dashed #9f8ef6;border-radius:8px;color:#5634ef;background:#faf9ff;font-size:.62rem;font-weight:700;cursor:pointer}.gradient-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.gradient-settings fieldset{margin:0;padding:0;border:0}.gradient-settings legend,.gradient-settings>label{color:#26334a;font-size:.61rem;font-weight:700}.gradient-settings .gradient-segment{margin-top:6px}.gradient-settings>label{display:grid;gap:6px}.gradient-settings select{min-height:38px;padding:7px 9px;border:1px solid #d7deea;border-radius:8px;background:#fff}.gradient-checks{display:flex;gap:18px;margin-top:13px}.gradient-checks label{display:flex;align-items:center;gap:7px;color:#354159;font-size:.61rem;font-weight:600}.gradient-checks input{width:15px;height:15px;accent-color:#5634ef}
.gradient-preview-card{display:flex;min-height:100%;flex-direction:column}.gradient-preview-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.gradient-preview{min-height:270px;margin-top:14px;border-radius:9px}.gradient-preview:fullscreen{width:100%;height:100%;border-radius:0}.gradient-track{height:7px;margin:14px 4px;border-radius:20px}.gradient-code-heading{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.gradient-code-heading h2{font-size:.72rem}.gradient-code-heading button{min-height:34px;padding:6px 10px}.gradient-code-heading+pre{min-height:126px;margin:8px 0 0;padding:13px;overflow:auto;border:1px solid #dce2ec;border-radius:8px;color:#25314a;background:#fbfcfe;font:500 .59rem/1.55 "IBM Plex Mono",monospace;white-space:pre-wrap}.gradient-preview-card footer{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:auto;padding-top:13px}#gradientStatus{min-height:18px;margin:7px 0 0;color:#607087;font-size:.58rem}#gradientStatus.is-error{color:#c52d40}
.gradient-presets{margin-top:12px}.gradient-presets>div{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;margin-top:13px}.gradient-presets button{height:54px;border:1px solid #dce2ec;border-radius:8px;cursor:pointer}.gradient-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:12px}.gradient-info-grid article{padding:14px}.gradient-info-grid h2{display:flex;align-items:center;gap:8px;margin-bottom:10px}.gradient-info-grid h2 span{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;color:#5634ef;background:#efecff}.gradient-info-grid ol,.gradient-info-grid ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;counter-reset:gradient-info}.gradient-info-grid li{color:#48566e;font-size:.63rem;line-height:1.45}.gradient-info-grid ol li{position:relative;padding-left:25px;counter-increment:gradient-info}.gradient-info-grid ol li:before{position:absolute;left:0;display:grid;width:18px;height:18px;place-items:center;border-radius:6px;color:#5634ef;background:#efecff;font-size:.55rem;font-weight:700;content:counter(gradient-info)}.gradient-info-grid ul li{position:relative;padding-left:19px}.gradient-info-grid ul li:before{position:absolute;left:0;color:#08a44c;font-weight:800;content:"✓"}.gradient-info-grid .is-green{border-color:#d4eadc;background:#f9fffb}.gradient-info-grid .is-green h2{color:#07813d}
@media(max-width:1080px){.gradient-workspace{grid-template-columns:1fr}.gradient-preview{min-height:240px}.gradient-presets>div{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.gradient-hero{margin:0;padding:4px 0 12px;grid-template-columns:52px 1fr}.gradient-hero>span{width:50px;height:50px}.gradient-hero h1{font-size:1.24rem}.gradient-hero>button{grid-column:1/-1;justify-self:end}.gradient-info-grid{grid-template-columns:1fr}.gradient-preview-card footer{grid-template-columns:1fr}.gradient-presets>div{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.gradient-stop{grid-template-columns:38px 1fr 62px 34px}.gradient-settings{grid-template-columns:1fr}.gradient-direction>div{grid-template-columns:repeat(3,1fr)}}
