.preset-compact-panel{padding:16px!important;border-radius:20px!important}.preset-compact-panel>.live-title{margin-bottom:10px!important}.preset-compact-panel>.live-title h2{font-size:16px!important}.strategy-config-fold{border:0!important;padding:0!important;background:none!important}.strategy-config-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;font-size:12px;color:var(--muted);padding:8px 0;min-height:30px;user-select:none}.strategy-config-fold>summary::-webkit-details-marker{display:none}.strategy-config-fold>summary small{color:var(--accent);font-size:11px}.strategy-config-fold:not([open]) .preset-fold-open,.strategy-config-fold[open] .preset-fold-closed{display:none}.strategy-config-fold-content{padding-top:7px}.strategy-preset-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 8px}.strategy-preset-button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;min-height:62px;padding:10px 7px!important;border:1px solid var(--line,rgba(130,160,200,.2))!important;border-radius:13px!important;background:var(--card,rgba(100,145,220,.06))!important;color:var(--text)!important;box-shadow:none!important}.strategy-preset-button b{font-size:11px;font-weight:600;white-space:nowrap}.strategy-preset-button small{align-self:flex-end;display:flex;align-items:center;gap:3px;font-size:9px;line-height:1.2;font-weight:400;color:var(--muted);white-space:nowrap}.strategy-preset-button small svg{width:10px;height:11px;fill:#f39c50;flex-shrink:0}.strategy-preset-button.is-selected{border-color:var(--accent)!important;background:rgba(70,130,240,.12)!important}.strategy-preset-button:disabled{opacity:.55}.strategy-preset-note{font-size:10px!important;line-height:1.5!important;color:var(--muted);margin:6px 0 12px!important;min-height:15px}.strategy-preset-retry{font-size:11px;color:var(--accent);border:0;background:none;margin-left:8px;padding:0}.preset-compact-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.preset-compact-form label{gap:5px!important;font-size:11px!important;line-height:1.4!important;min-width:0}.preset-compact-form input,.preset-compact-form select{height:37px!important;min-height:37px!important;padding:8px 9px!important;border-radius:10px!important;font-size:13px!important;min-width:0;box-sizing:border-box;max-width:100%}.preset-compact-form .cfd-form-wide,.preset-compact-form .perp-full{grid-column:1/-1}.preset-compact-form label.cfd-form-wide:has(input[type=number]){grid-column:auto}.preset-compact-form .cfd-threshold-default{font-size:9px!important;line-height:1.5!important;margin-top:3px}.preset-compact-panel .compact-config-note,.preset-compact-panel .live-copy{font-size:10px!important;line-height:1.6!important;margin:8px 0!important}.preset-compact-panel .compact-config-actions,.preset-compact-panel .perp-actions{gap:8px!important;margin-top:12px!important}.preset-compact-panel .live-button{min-height:36px!important;padding:8px 11px!important;font-size:12px!important;border-radius:11px!important}.preset-compact-panel .bitget-schedule-inline{padding:11px!important}.preset-compact-panel .perp-account{font-size:11px!important;margin:10px 0!important}.preset-compact-panel .perp-account select{min-height:36px;font-size:12px}.strategy-config-fold>summary:focus-visible,.strategy-preset-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(min-width:900px){.preset-compact-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.preset-compact-form .cfd-form-wide,.preset-compact-form .perp-full{grid-column:1/-1}}@media(max-width:350px){.strategy-preset-rail{gap:5px}.strategy-preset-button{padding:9px 5px!important}.strategy-preset-button b{font-size:10px}.preset-compact-panel{padding:13px!important}}
.preset-admin{max-width:780px}.preset-admin h2{font-size:19px;margin:0 0 8px}.preset-admin-lead{font-size:12px;line-height:1.6;color:var(--muted,#65748b)}.preset-admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:17px 0}.preset-admin-tabs button{border:1px solid #dde5f0;border-radius:11px;padding:11px 8px;background:#f7f9fc;color:#455672;font-size:12px}.preset-admin-tabs button.is-active{border-color:#397be9;color:#286bd8;background:#edf4ff}.preset-admin-tabs small{display:block;margin-top:5px;font-size:10px;opacity:.75}.preset-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preset-admin-fields[hidden]{display:none}.preset-admin-fields label{display:grid;gap:6px;font-size:12px;color:#5e6c80}.preset-admin-fields input,.preset-admin-fields select{width:100%;min-height:37px;border:1px solid #dbe3ef;border-radius:9px;padding:8px 10px;background:#fff;color:#263b59;font:inherit;box-sizing:border-box}.preset-admin-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.preset-admin-status{min-height:18px;font-size:12px;line-height:1.6;color:#65748b}.preset-admin-status.is-error{color:#c44859}@media(min-width:900px){.preset-admin-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
.preset-compact-panel .entry-schedule-panel{padding:12px;margin:12px 0 0;border-radius:13px;box-shadow:none}.preset-compact-panel .entry-schedule-panel h2{font-size:13px}.preset-compact-panel .entry-schedule-panel .live-title{gap:8px;margin-bottom:6px}.preset-compact-panel .entry-schedule-panel .live-title small{font-size:9px}.preset-compact-panel .bitget-check-result{font-size:11px;margin-top:10px}.preset-compact-panel .bitget-check-refresh{font-size:11px;padding:6px 8px}

.strategy-config-fold>summary .preset-fold-caption{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.strategy-config-fold>summary .preset-runtime-summary{display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:1.65;white-space:normal;overflow-wrap:anywhere}.strategy-config-fold>summary .preset-runtime-summary[hidden],.strategy-config-fold[open]>summary .preset-runtime-summary{display:none}.strategy-config-fold>summary>.preset-fold-open,.strategy-config-fold>summary>.preset-fold-closed{flex-shrink:0;align-self:flex-start;padding-top:1px}

.strategy-custom-actions{display:flex;justify-content:flex-end;margin:10px 0 0}.strategy-custom-save{border:1px solid var(--line,rgba(130,160,200,.2));border-radius:10px;padding:8px 11px;background:var(--card);color:var(--accent);font-size:11px;min-height:34px}.strategy-custom-save:disabled{opacity:.5}.strategy-custom-sheet h2{font-size:18px}.strategy-custom-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;max-height:45vh;overflow:auto;margin:16px 0}.strategy-custom-values div{min-width:0}.strategy-custom-values dt{font-size:10px;color:var(--muted);line-height:1.5}.strategy-custom-values dd{margin:3px 0 0;font-size:13px;color:var(--text);overflow-wrap:anywhere}.strategy-custom-sheet .actions{display:flex;gap:10px}.strategy-custom-sheet .actions button{flex:1;min-width:0;font-size:12px}
