#t-grad .grad-layout{display:grid;grid-template-columns:340px 1fr;gap:24px;padding:22px;align-items:start}#t-grad .grad-controls{display:flex;flex-direction:column;gap:20px}#t-grad .grad-tabs{display:flex;border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden}#t-grad .grad-tab{flex:1;padding:10px 12px;border:none;background:var(--surface);color:var(--text-2);font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:.15s}#t-grad .grad-tab:first-child{border-right:1px solid var(--border)}#t-grad .grad-tab.is-active{background:var(--brand);color:#fff}#t-grad .grad-tab:hover:not(.is-active){background:var(--bg-subtle)}#t-grad .grad-label{display:block;font-size:12px;font-weight:600;color:var(--text-2);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}#t-grad .grad-angle-row{display:flex;align-items:center;gap:10px}#t-grad .grad-slider{flex:1;accent-color:var(--brand);cursor:pointer}#t-grad .grad-num{width:64px;padding:7px 8px;border:1px solid var(--border);border-radius:var(--r-sm);font-family:inherit;font-size:14px;text-align:center;color:var(--ink);background:var(--surface)}#t-grad .grad-num:focus{outline:2px solid var(--brand);outline-offset:-1px}#t-grad .grad-unit{font-size:13px;color:var(--text-muted)}#t-grad .grad-radial-row{display:flex;gap:10px}#t-grad .grad-select{flex:1;padding:8px 10px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font-family:inherit;font-size:14px;cursor:pointer}#t-grad .grad-select:focus{outline:2px solid var(--brand);outline-offset:-1px}#t-grad .grad-stops{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}#t-grad .grad-stop-row{display:flex;align-items:center;gap:8px}#t-grad .grad-stop-color{width:38px;height:38px;padding:0;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);cursor:pointer;flex-shrink:0}#t-grad .grad-stop-color::-webkit-color-swatch-wrapper{padding:2px}#t-grad .grad-stop-color::-webkit-color-swatch{border:none;border-radius:4px}#t-grad .grad-stop-hex{width:84px;padding:7px 8px;border:1px solid var(--border);border-radius:var(--r-sm);font-family:var(--font-mono);font-size:12px;text-transform:uppercase;color:var(--ink);background:var(--surface)}#t-grad .grad-stop-hex:focus{outline:2px solid var(--brand);outline-offset:-1px}#t-grad .grad-stop-pos{flex:1;accent-color:var(--brand);cursor:pointer;min-width:40px}#t-grad .grad-stop-pct{width:54px;padding:7px 6px;border:1px solid var(--border);border-radius:var(--r-sm);font-family:inherit;font-size:13px;text-align:center;color:var(--ink);background:var(--surface)}#t-grad .grad-stop-pct:focus{outline:2px solid var(--brand);outline-offset:-1px}#t-grad .grad-stop-remove{width:30px;height:30px;flex-shrink:0;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text-muted);font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:.15s}#t-grad .grad-stop-remove:hover:not(:disabled){border-color:var(--error);color:var(--error);background:var(--error-bg)}#t-grad .grad-stop-remove:disabled{opacity:.3;cursor:not-allowed}#t-grad .grad-add{width:100%;padding:9px;border:1px dashed var(--border);border-radius:var(--r-sm);background:transparent;color:var(--text-2);font-family:inherit;font-size:14px;cursor:pointer;transition:.15s}#t-grad .grad-add:hover{border-color:var(--brand);color:var(--brand-dark);background:var(--brand-light)}#t-grad .grad-right{display:flex;flex-direction:column;gap:16px}#t-grad .grad-preview-wrap{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}#t-grad .grad-preview{width:100%;min-height:260px}#t-grad .grad-output{display:flex;flex-direction:column;gap:8px}#t-grad .grad-output-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}#t-grad .grad-actions{display:flex;gap:8px}#t-grad .grad-code{margin:0;padding:14px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-subtle);color:var(--ink);font-family:var(--font-mono);font-size:13.5px;line-height:1.6;white-space:pre-wrap;word-break:break-all;overflow:auto}#t-grad .grad-copied{align-self:flex-end;color:var(--success);font-weight:600;font-size:14px;opacity:0;transition:opacity .2s}#t-grad .grad-copied.show{opacity:1}@media (max-width:820px){#t-grad .grad-layout{grid-template-columns:1fr}}
