.first-dish-panel{--fd-bg:#0d1627;--fd-panel:#111e32;--fd-line:#2a3b53;--fd-text:#e9eff7;--fd-muted:#a0b1c8;--fd-gold:#f0b342;margin:22px 0;color:var(--fd-text);font:14px/1.6 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.first-dish-panel *{box-sizing:border-box}.first-dish-panel h2,.first-dish-panel h3,.first-dish-panel h4,.first-dish-panel p{margin:0}.first-dish-panel .fd-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.first-dish-panel h2{font-size:20px;line-height:1.4;letter-spacing:.01em}.first-dish-panel h3{font-size:16px;line-height:1.5}.first-dish-panel .fd-kicker{display:block;font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--fd-gold);margin-bottom:7px}.first-dish-panel .fd-muted{font-size:12px;color:var(--fd-muted);line-height:1.7;margin:6px 0}.first-dish-panel button{min-height:44px;padding:10px 15px;border:1px solid #354b67;border-radius:8px;background:#192a42;color:var(--fd-text);font:600 13px/1.4 ui-sans-serif,system-ui,"Microsoft YaHei",sans-serif;cursor:pointer;transition:background .18s,border-color .18s}.first-dish-panel button:hover:not(:disabled){background:#243954;border-color:#637893}.first-dish-panel button:disabled{opacity:.45;cursor:not-allowed}.first-dish-panel button.fd-primary{color:#1e1608;background:var(--fd-gold);border-color:var(--fd-gold);padding:12px 20px}.first-dish-panel button.fd-primary:hover:not(:disabled){background:#ffc85b}.first-dish-panel button.fd-danger{color:#ffc2ba}.first-dish-panel .fd-actions{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0}.first-dish-panel .fd-error{border:1px solid #7b414c;border-radius:8px;background:#351c29;padding:12px 14px;color:#ffced3;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.first-dish-panel .fd-portfolio,.first-dish-panel .fd-child-group{padding:18px;border:1px solid var(--fd-line);border-radius:12px;margin-top:14px;background:var(--fd-panel)}.first-dish-panel .fd-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--fd-line);font-size:12px}.first-dish-panel .fd-child-group>.fd-header{margin-bottom:12px}.first-dish-panel .fd-status{font-size:12px;padding:5px 9px;background:#20354a;border-radius:6px}.first-dish-panel .fd-status[data-state=RUNNING]{color:#94e6c4}.first-dish-panel .fd-status:is([data-state=ERROR],[data-state=DEGRADED]){color:#ffcd96}.first-dish-panel .fd-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;background:rgba(3,8,18,.82);padding:24px;backdrop-filter:blur(5px)}.first-dish-panel .fd-dialog{width:min(100%,1120px);max-height:92dvh;overflow:auto;padding:24px;border:1px solid #3d4c64;border-radius:16px;background:var(--fd-bg);box-shadow:0 30px 100px #0007}.first-dish-panel .fd-wizard{display:flex;flex-direction:column;width:min(1240px,100%);height:min(910px,calc(100dvh - 48px));max-height:none;padding:0;overflow:hidden}.first-dish-panel .fd-wizard-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 28px 20px;border-bottom:1px solid var(--fd-line);background:#121d30}.first-dish-panel .fd-wizard-header h2{font-size:24px;font-weight:650}.first-dish-panel .fd-wizard-header p{margin-top:5px;color:var(--fd-muted);font-size:12px}.first-dish-panel .fd-close{background:transparent}.first-dish-panel .fd-stepper{display:flex;border-bottom:1px solid var(--fd-line);background:#101a2b;padding:0 28px;gap:26px}.first-dish-panel .fd-stepper button{position:relative;background:none;border:0;border-radius:0;display:flex;align-items:center;gap:10px;padding:18px 0;color:var(--fd-muted);min-width:140px;text-align:left;font-weight:500}.first-dish-panel .fd-stepper button span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #43536d;border-radius:50%;font-size:10px;font-variant-numeric:tabular-nums}.first-dish-panel .fd-stepper [aria-current=step]{color:var(--fd-gold)}.first-dish-panel .fd-stepper [aria-current=step]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--fd-gold)}.first-dish-panel .fd-stepper [aria-current=step] span{border-color:var(--fd-gold);background:#3c2f19}.first-dish-panel .fd-workspace{display:grid;grid-template-columns:minmax(0,1fr)260px;flex:1;min-height:0;overflow:hidden}.first-dish-panel .fd-work-main{overflow:auto;padding:26px 28px;min-width:0;scrollbar-gutter:stable;scroll-behavior:smooth}.first-dish-panel .fd-side-summary{padding:27px 22px;background:#111d30;border-left:1px solid var(--fd-line);overflow:auto;min-width:0}.first-dish-panel .fd-side-summary h3{font-size:15px}.first-dish-panel .fd-side-number{font-size:48px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin-top:22px}.first-dish-panel .fd-side-summary dl{margin:24px 0;display:grid;gap:5px}.first-dish-panel .fd-side-summary dt{color:var(--fd-muted);font-size:11px}.first-dish-panel .fd-side-summary dd{margin:0 0 14px;font-weight:600;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.first-dish-panel .fd-summary-leg{border-top:1px solid var(--fd-line);padding:16px 0}.first-dish-panel .fd-summary-leg>div{display:flex;justify-content:space-between;gap:8px;font-size:12px}.first-dish-panel .fd-summary-leg small{display:block;margin-top:5px;color:var(--fd-muted);font-size:11px}.first-dish-panel .fd-summary-foot{margin-top:15px;padding:14px 0;border-top:1px solid var(--fd-line);font-size:11px;line-height:1.8;color:var(--fd-muted)}.first-dish-panel .fd-section{padding:0;margin:0;border:0;min-width:0}.first-dish-panel .fd-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.first-dish-panel .fd-block-heading p{font-size:12px;color:var(--fd-muted);line-height:1.8;margin-top:6px;max-width:66ch}.first-dish-panel .fd-param-block{margin-top:26px;padding-top:23px;border-top:1px solid var(--fd-line)}.first-dish-panel .fd-param-block:first-child{margin-top:0;padding-top:0;border-top:0}.first-dish-panel .fd-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin:20px 0}.first-dish-panel .fd-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:500;color:#c6d3e4}.first-dish-panel .fd-field input,.first-dish-panel .fd-field select{width:100%;min-width:0;height:46px;padding:10px 12px;border:1px solid #3b4d66;border-radius:8px;color:var(--fd-text);background:#0a1322;font:400 14px/1.5 ui-sans-serif,system-ui,"Microsoft YaHei",sans-serif!important;color-scheme:dark;box-shadow:none}.first-dish-panel .fd-field small{color:var(--fd-muted);font-size:11px;line-height:1.7;font-weight:400}.first-dish-panel .fd-check{display:flex;align-items:center;gap:10px;min-height:46px;font-size:12px;cursor:pointer;color:#c6d3e4}.first-dish-panel .fd-check input{width:16px!important;height:16px!important;min-height:16px!important;padding:0;margin:0;accent-color:var(--fd-gold)}.first-dish-panel .fd-intro-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.first-dish-panel .fd-intro-cards>div{padding:17px 14px;border:1px solid var(--fd-line);border-radius:10px;background:#142137}.first-dish-panel .fd-intro-cards strong{font-size:12px}.first-dish-panel .fd-intro-cards p{color:var(--fd-muted);font-size:11px;margin-top:7px;line-height:1.7}.first-dish-panel [data-leg=muu]>.fd-kicker{color:#7cb8fa}.first-dish-panel [data-leg=sndk]>.fd-kicker{color:#c1a6fd}.first-dish-panel [data-leg=trend]>.fd-kicker{color:#7ddcbb}.first-dish-panel .fd-leg-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:25px}.first-dish-panel .fd-leg-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:13px 15px;background:#132036;text-align:left}.first-dish-panel .fd-leg-tabs button small{font-size:10px;color:var(--fd-muted);font-weight:400}.first-dish-panel .fd-leg-tabs [aria-pressed=true]{background:#1b2c43;border-color:var(--fd-gold);box-shadow:inset 0 0 0 1px #f0b34240}.first-dish-panel .fd-leg-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.first-dish-panel .fd-description{font-size:12px;color:var(--fd-muted);margin:10px 0 20px;line-height:1.8}.first-dish-panel .fd-risk-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.first-dish-panel .fd-risk-modes>section{display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid var(--fd-line);background:#111e32;border-radius:10px}.first-dish-panel .fd-risk-modes h4{font-size:13px;color:#ecd59e;margin-bottom:2px}.first-dish-panel .fd-advanced{padding:16px 0;border-top:1px solid var(--fd-line);margin-top:24px}.first-dish-panel summary{cursor:pointer;font-size:12px;color:#bfd0e5;min-height:44px;line-height:44px;font-weight:600}.first-dish-panel .fd-weekdays{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:12px}.first-dish-panel .fd-weekdays .fd-check{gap:7px}.first-dish-panel .fd-disabled-leg{padding:30px;border:1px dashed var(--fd-line);border-radius:10px;color:var(--fd-muted);font-size:13px}.first-dish-panel .fd-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 25px;border-top:1px solid var(--fd-line);background:#111d30}.first-dish-panel .fd-wizard-footer>p{font-size:11px;color:var(--fd-muted)}.first-dish-panel .fd-wizard-footer .fd-actions{margin:0;justify-content:flex-end}.first-dish-panel .fd-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.first-dish-panel .fd-metrics>div{padding:17px 18px;background:#132239;border:1px solid var(--fd-line);border-radius:10px}.first-dish-panel .fd-metrics span{display:block;color:var(--fd-muted);font-size:11px;margin-bottom:9px}.first-dish-panel .fd-metrics strong{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.first-dish-panel .fd-allocation-bar{height:7px;display:flex;gap:3px;border-radius:5px;overflow:hidden;margin-bottom:25px}.first-dish-panel .fd-allocation-bar [data-leg=muu]{background:#72b5fc}.first-dish-panel .fd-allocation-bar [data-leg=sndk]{background:#b499ed}.first-dish-panel .fd-allocation-bar [data-leg=trend]{background:#73cdb0}.first-dish-panel .fd-review-leg{border:1px solid var(--fd-line);border-radius:12px;padding:19px;margin:20px 0;background:#101d30}.first-dish-panel .fd-review-leg h3{font-size:17px}.first-dish-panel .fd-chip{font-size:11px;color:#cad8e9;padding:6px 10px;border:1px solid #3c506d;border-radius:20px;white-space:nowrap}.first-dish-panel .fd-review-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 15px;margin:17px 0 10px;color:#b9cada;font-size:12px;font-variant-numeric:tabular-nums}.first-dish-panel .fd-table-wrap{overflow:auto;width:100%;max-height:380px;margin:15px 0 0;border:1px solid #2d415c;border-radius:8px}.first-dish-panel table{border-collapse:separate;border-spacing:0;width:100%;min-width:820px;font-size:12px;font-variant-numeric:tabular-nums}.first-dish-panel th,.first-dish-panel td{padding:12px 14px;text-align:left;white-space:nowrap;border-bottom:1px solid #263b55}.first-dish-panel th{position:sticky;top:0;background:#182b44;color:#b4c7df;font-size:11px;font-weight:600;z-index:1}.first-dish-panel td{background:#0d192b}.first-dish-panel tbody tr:last-child td{border-bottom:0}.first-dish-panel tbody tr:nth-child(even) td{background:#112036}.first-dish-panel .fd-preview th:nth-child(3),.first-dish-panel .fd-preview th:nth-child(4),.first-dish-panel .fd-preview td:nth-child(3),.first-dish-panel .fd-preview td:nth-child(4){text-align:right}.first-dish-panel .fd-preview td:nth-child(3){color:#a4d1ff;font-weight:600}.first-dish-panel .fd-review-note{padding:17px 18px;background:#28251d;border:1px solid #5d4a2e;border-radius:10px;color:#e7d6b1;margin:24px 0 4px}.first-dish-panel .fd-review-note strong{font-size:13px}.first-dish-panel .fd-review-note p{font-size:12px;margin-top:7px;line-height:1.8}.first-dish-panel :is(input,select,button,summary):focus-visible{outline:2px solid #83b9ff;outline-offset:3px}.fd-native-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px!important;margin:8px 0 18px;text-align:left;background:#15233b!important;border:1px solid #8d7442!important;border-radius:11px!important;color:#edf3fb;cursor:pointer}.fd-native-choice strong{display:block;font-size:15px;margin-bottom:5px}.fd-native-choice small{display:block;color:#b3c2d7;font-size:12px;font-weight:400}.fd-native-choice>span:last-child{font-size:12px;white-space:nowrap;color:#f0c66f}.fd-native-choice:focus-visible{outline:2px solid #83b9ff;outline-offset:3px}
@media(max-width:1000px){.first-dish-panel .fd-workspace{grid-template-columns:minmax(0,1fr)220px}.first-dish-panel .fd-work-main{padding:23px 20px}.first-dish-panel .fd-side-summary{padding:24px 17px}.first-dish-panel .fd-intro-cards{grid-template-columns:1fr}.first-dish-panel .fd-intro-cards>div{padding:15px}}
@media(max-width:760px){.first-dish-panel .fd-backdrop{padding:8px}.first-dish-panel .fd-wizard{height:calc(100dvh - 16px);border-radius:12px}.first-dish-panel .fd-dialog:not(.fd-wizard){padding:16px;max-height:94dvh}.first-dish-panel .fd-wizard-header{padding:17px 16px}.first-dish-panel .fd-wizard-header h2{font-size:20px}.first-dish-panel .fd-wizard-header p{font-size:10px}.first-dish-panel .fd-workspace{display:block}.first-dish-panel .fd-side-summary{display:none}.first-dish-panel .fd-work-main{height:100%;padding:20px 16px}.first-dish-panel .fd-stepper{padding:0 16px;gap:12px}.first-dish-panel .fd-stepper button{min-width:0;flex:1;gap:6px;padding:14px 0;font-size:12px}.first-dish-panel .fd-stepper button span{width:21px;height:21px;font-size:9px}.first-dish-panel .fd-fields{gap:18px;grid-template-columns:1fr}.first-dish-panel .fd-field input,.first-dish-panel .fd-field select{font-size:16px!important}.first-dish-panel .fd-leg-tabs{gap:7px}.first-dish-panel .fd-leg-tabs button{padding:12px 9px;font-size:12px;min-height:65px}.first-dish-panel .fd-leg-heading h2{font-size:18px}.first-dish-panel .fd-risk-modes{grid-template-columns:1fr}.first-dish-panel .fd-wizard-footer{align-items:flex-end;padding:13px 15px;flex-direction:column;gap:9px}.first-dish-panel .fd-wizard-footer>p{align-self:flex-start;font-size:10px}.first-dish-panel .fd-wizard-footer .fd-actions{gap:7px;width:100%}.first-dish-panel .fd-wizard-footer button{font-size:12px;padding:11px 12px}.first-dish-panel .fd-metrics{gap:9px}.first-dish-panel .fd-metrics>div{padding:13px 12px}.first-dish-panel .fd-metrics strong{font-size:15px;overflow-wrap:anywhere}.first-dish-panel .fd-review-leg{padding:14px}.first-dish-panel .fd-review-stats{grid-template-columns:1fr;font-size:11px}.first-dish-panel .fd-chip{font-size:10px;white-space:normal}.first-dish-panel .fd-child{flex-direction:column;align-items:flex-start}.first-dish-panel .fd-portfolio,.first-dish-panel .fd-child-group{padding:14px}.fd-native-choice{padding:15px!important}.fd-native-choice small{font-size:11px}.fd-native-choice>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.first-dish-panel *{scroll-behavior:auto!important;transition:none!important}}
.first-dish-panel .fd-review-workspace{grid-template-columns:minmax(0,1fr)}.first-dish-panel .fd-review-workspace .fd-side-summary{display:none}.first-dish-panel .fd-preview .fd-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.first-dish-panel .fd-rule-summary{margin:12px 0;padding:12px 14px;border:1px solid #30445e;background:#16263c;border-radius:8px;font-size:12px;color:#c7d5e7;line-height:1.9}@media(max-width:760px){.first-dish-panel .fd-preview .fd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Scoped to the composite runtime; no external fonts or changes to native cards. */
.first-dish-panel{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-variant-numeric:tabular-nums}
.first-dish-panel .fd-native-portfolio{margin:24px 0 30px}.first-dish-panel .fd-native-portfolio button,.first-dish-panel .fd-native-portfolio summary{font-family:inherit;font-weight:500;font-size:12px;min-height:44px}.first-dish-panel .fd-native-portfolio svg{width:16px;height:16px;flex-shrink:0}.first-dish-panel .fd-native-portfolio button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:#64748b48;background:#ffffff04;padding:8px 12px}.first-dish-panel .fd-native-portfolio button:hover:not(:disabled){border-color:#8c9db870;background:#ffffff09}.first-dish-panel .fd-portfolio-summary{position:relative;border:1px solid #54627d66;border-radius:14px;overflow:visible;background:linear-gradient(115deg,#243047aa,#1a2439aa);box-shadow:0 8px 25px #080c171f;margin-bottom:24px}.first-dish-panel .fd-portfolio-summary:before{content:'';position:absolute;left:0;top:20px;width:3px;height:26px;background:#e7b95a;border-radius:0 3px 3px 0}.first-dish-panel .fd-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 23px}.first-dish-panel .fd-portfolio-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.first-dish-panel .fd-portfolio-name h2{font-size:20px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.first-dish-panel .fd-summary-tools,.first-dish-panel .fd-group-tools{display:flex;align-items:center;gap:9px;flex-shrink:0}.first-dish-panel .fd-portfolio-stats{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;padding:16px 23px;gap:18px;background:#0c142128;border-top:1px solid #64748b30}.first-dish-panel .fd-portfolio-stats>div{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;min-width:0}.first-dish-panel .fd-portfolio-stats>div:not(:first-child){padding-left:20px;border-left:1px solid #64748b38}.first-dish-panel .fd-portfolio-stats span{color:#a4b1c8;font-size:11px}.first-dish-panel .fd-portfolio-stats strong{font-size:23px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.02em}.first-dish-panel .fd-portfolio-stats small{font-size:10px;color:#a1b0c7}.first-dish-panel .fd-summary-explanation{padding:10px 23px 14px;font-size:10px;color:#a1b0c7;line-height:1.8}.first-dish-panel .fd-native-group{margin:0 0 24px;min-width:0}.first-dish-panel .fd-group-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.first-dish-panel .fd-group-title{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}.first-dish-panel .fd-group-title h3{font-size:15px;font-weight:600}.first-dish-panel .fd-group-title>i{width:3px;height:17px;background:#efbd59;flex-shrink:0;border-radius:2px}.first-dish-panel [data-leg=sndk]>.fd-group-heading .fd-group-title>i{background:#8db4ed}.first-dish-panel [data-leg=trend]>.fd-group-heading .fd-group-title>i{background:#bd9ce9}.first-dish-panel .fd-count-chip{font-size:10px;padding:2px 7px;border:1px solid #64748b50;border-radius:5px;color:#a7b6cc}.first-dish-panel .fd-native-portfolio .fd-fold-button{border-color:transparent;color:#a7b6cc}.first-dish-panel .fd-group-note{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;padding-bottom:16px;color:#a5b3cb;font-size:11px}.first-dish-panel .fd-group-note label{display:flex;align-items:center;gap:7px;min-height:30px}.first-dish-panel .fd-native-portfolio input[type=checkbox]{width:15px!important;height:15px!important;min-height:15px!important;padding:0;margin:0;accent-color:#e6b65d;flex-shrink:0}.first-dish-panel .fd-native-strategy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.first-dish-panel .fd-strategy-card{min-width:0;padding:18px;border:1px solid #64748b50;border-radius:14px;background:linear-gradient(135deg,#1c2b43dc,#142034eb);box-shadow:0 10px 24px #060d191a;display:flex;flex-direction:column}.first-dish-panel .fd-card-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}.first-dish-panel .fd-card-heading>div{min-width:0}.first-dish-panel .fd-name-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.first-dish-panel .fd-name-line h3{font-size:15px;font-weight:600;line-height:1.5;letter-spacing:0}.first-dish-panel .fd-status-dot{width:7px;height:7px;border-radius:50%;background:#91a2bb;flex-shrink:0}.first-dish-panel .fd-status-dot.fd-running{background:#71d6a8}.first-dish-panel .fd-status-dot.fd-alert{background:#ed969a}.first-dish-panel .fd-status-dot.fd-waiting{background:#e9c47d}.first-dish-panel .fd-state-pill{border:1px solid #64748b40;background:#64748b12;font-size:10px;border-radius:5px;padding:2px 7px;color:#b7c4d7;line-height:1.6}.first-dish-panel .fd-state-pill.fd-running{background:#4ade8010;border-color:#4ade8025;color:#85d6b2}.first-dish-panel .fd-state-pill.fd-alert{color:#efa7aa;border-color:#ef969a50;background:#ef969a10}.first-dish-panel .fd-state-pill.fd-waiting{color:#ecc57b;border-color:#d5b57150}.first-dish-panel .fd-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px;color:#a1b1c8;font-size:10px}.first-dish-panel .fd-symbol{font-size:10px;font-weight:600;color:#e7bd65;background:#e5ab2b12;border-radius:4px;padding:2px 6px}.first-dish-panel .fd-execution{font-size:9px;color:#85cdb0;border:1px solid #719c8850;border-radius:4px;padding:1px 5px}.first-dish-panel .fd-native-portfolio .fd-icon-button{padding:0;width:34px;min-height:38px;flex-shrink:0}.first-dish-panel .fd-child-facts{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;flex-wrap:wrap;font-size:10px;color:#9eafc9;padding:13px 0}.first-dish-panel .fd-child-facts b{font-weight:500;color:#c8d4e5;margin-left:4px}.first-dish-panel .fd-runtime-pnl{border:1px solid #6c819c3a;border-radius:10px;background:linear-gradient(120deg,#0e1c31aa,#0d1b2c99);padding:15px 16px 11px;margin-bottom:13px}.first-dish-panel .fd-pnl-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.first-dish-panel .fd-pnl-heading>div:first-child{min-width:0}.first-dish-panel .fd-pnl-heading span{font-size:11px;color:#aebbd0}.first-dish-panel .fd-pnl-heading small{font-size:9px;color:#a1b0c8}.first-dish-panel .fd-pnl-heading strong{display:block;margin-top:5px;font-size:29px;font-weight:500;letter-spacing:-.03em;line-height:1.4;overflow-wrap:anywhere}.first-dish-panel .fd-pnl-heading p{font-size:10px;color:#a2b1c8;margin-top:5px}.first-dish-panel .fd-pnl-heading p b{font-weight:500;font-size:11px;margin-left:9px}.first-dish-panel .fd-pnl-risk{border-left:1px solid #64748b40;padding-left:18px;text-align:right;flex-shrink:0;display:flex;flex-direction:column;gap:4px}.first-dish-panel .fd-pnl-risk b{font-size:17px;color:#edc77e;font-weight:500}.first-dish-panel .fd-risk-track{position:relative;display:flex;height:4px;margin-top:18px;border-radius:3px;background:#29384e}.first-dish-panel .fd-track-loss{width:50%;background:linear-gradient(90deg,#cc7075aa,#cc707520);border-radius:3px 0 0 3px}.first-dish-panel .fd-track-profit{width:50%;background:linear-gradient(90deg,#46bb9120,#46bb9199);border-radius:0 3px 3px 0}.first-dish-panel .fd-track-zero{position:absolute;left:50%;top:-2px;height:8px;width:1px;background:#9aabc2}.first-dish-panel .fd-risk-track>b{position:absolute;top:-3px;width:10px;height:10px;background:currentColor;box-shadow:0 0 0 3px #15233a;border-radius:50%;transform:translateX(-50%)}.first-dish-panel .fd-risk-labels{display:flex;justify-content:space-between;gap:6px;font-size:9px;color:#a2b1c9;margin-top:8px}.first-dish-panel .fd-positive{color:#7dd6ae!important}.first-dish-panel .fd-negative{color:#eda0a4!important}.first-dish-panel .fd-amber{color:#e8c581!important}.first-dish-panel .fd-cyan{color:#94d3e0!important}.first-dish-panel .fd-runtime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #586d8a33;border-radius:10px;overflow:hidden;background:#0e1b2d77}.first-dish-panel .fd-runtime-grid>div{min-width:0;padding:11px 9px;min-height:80px}.first-dish-panel .fd-runtime-grid>div:not(:nth-child(4n)){border-right:1px solid #586d8a25}.first-dish-panel .fd-runtime-grid>div:nth-child(-n+4){border-bottom:1px solid #586d8a33}.first-dish-panel .fd-runtime-grid span{display:block;font-size:9px;color:#a9b7cd;line-height:1.7}.first-dish-panel .fd-runtime-grid strong{display:block;font-size:11px;font-weight:500;margin-top:8px;line-height:1.6;overflow-wrap:anywhere}.first-dish-panel .fd-runtime-grid small{display:block;font-size:9px;color:#96a8c4;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.first-dish-panel .fd-runtime-breakdown{padding:0;margin:0}.first-dish-panel .fd-runtime-breakdown>summary{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a7b7d0;font-weight:400;list-style:none;min-height:42px;line-height:1.5}.first-dish-panel .fd-runtime-breakdown>summary:after{content:'⌄';font-size:14px}.first-dish-panel .fd-runtime-breakdown[open]{margin-bottom:12px}.first-dish-panel .fd-live-limits{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 11px;margin-bottom:13px;border:1px solid #b394543d;border-radius:9px;background:linear-gradient(90deg,#ac86410b,#ac864104);margin-top:auto}.first-dish-panel .fd-live-limits>div>span{font-size:10px;color:#a9b8cd}.first-dish-panel .fd-live-limits p{display:flex;align-items:center;gap:12px;font-size:10px;color:#b1bed1;margin-top:5px;flex-wrap:wrap}.first-dish-panel .fd-live-limits b{font-weight:500;font-size:12px;color:#e8c889;margin-left:4px}.first-dish-panel .fd-live-limits i{height:10px;width:1px;background:#64748b50}.first-dish-panel .fd-native-portfolio .fd-limit-button{font-size:10px;min-height:40px;white-space:nowrap;color:#ebc887;border-color:#b19a6c66;background:#b88c2f08;padding:7px 9px}.first-dish-panel .fd-limit-button svg{width:13px;height:13px}.first-dish-panel .fd-runtime-actions{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:7px;margin-top:auto}.first-dish-panel .fd-runtime-actions>button{font-size:10px;min-height:42px;padding:7px 6px}.first-dish-panel .fd-runtime-actions .fd-orders-button{color:#c8d9f2;border-color:#6b89b46e;background:#40608816}.first-dish-panel .fd-runtime-actions .fd-start-button{color:#a6daba;border-color:#6daa824d}.first-dish-panel .fd-runtime-actions svg{width:13px;height:13px}.first-dish-panel .fd-runtime-menu{position:relative;min-width:0;align-self:stretch}.first-dish-panel .fd-runtime-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;padding:8px 12px;border:1px solid #64748b48;border-radius:8px;font-size:12px;color:#c9d4e5;font-weight:500;line-height:1.5;white-space:nowrap;min-height:44px}.first-dish-panel .fd-runtime-menu>summary::-webkit-details-marker{display:none}.first-dish-panel .fd-runtime-menu[open]{z-index:12}.first-dish-panel .fd-menu-list{position:absolute;right:0;top:calc(100% + 6px);min-width:185px;max-width:min(260px,80vw);border:1px solid #576b88;border-radius:9px;background:#19283f;box-shadow:0 12px 28px #0006;padding:5px;z-index:12}.first-dish-panel .fd-menu-list button{display:flex;width:100%;justify-content:flex-start;text-align:left;white-space:normal;border:0;padding:10px 12px;font-size:12px;border-radius:5px}.first-dish-panel .fd-native-portfolio .fd-expand-children{display:flex;border:0;background:transparent;color:#a7b7cf;margin:13px auto 0;font-size:11px}.first-dish-panel .fd-group-collapsed-note{font-size:11px;color:#a6b5cc;margin:0 0 14px;padding-left:13px}.first-dish-panel .fd-native-group:has(.fd-group-collapsed-note){border:1px solid #64748b3a;border-radius:11px;background:linear-gradient(115deg,#202c413d,#17213766);padding:16px 18px;margin-bottom:12px}.first-dish-panel .fd-native-group:has(.fd-group-collapsed-note) .fd-group-heading{margin-bottom:5px}.first-dish-panel .fd-runtime-footnote{font-size:10px;color:#a3b4cd;margin-top:13px}.first-dish-panel .fd-runtime-warning{padding:9px 11px;background:#e8b54d10;border:1px solid #e8b54d40;border-radius:7px;color:#e4c88e;font-size:11px;margin-bottom:12px}.first-dish-panel .fd-runtime-overlay{z-index:1200}.first-dish-panel .fd-limits-dialog{max-width:510px;padding:26px;border:1px solid #687c9e72;border-radius:15px;background:linear-gradient(140deg,#223049,#152137);box-shadow:0 30px 100px #0007}.first-dish-panel .fd-limits-dialog h2{font-size:21px;font-weight:600}.first-dish-panel .fd-live-chip{font-size:10px;color:#92d6b9;background:#4ade8010;border:1px solid #4ade8030;border-radius:5px;padding:4px 8px;white-space:nowrap}.first-dish-panel .fd-limits-dialog .fd-fields{margin:24px 0 18px}.first-dish-panel .fd-limits-dialog .fd-field input{font-size:19px!important;font-weight:400!important;color:#efcf91}.first-dish-panel .fd-limit-notice{border-left:2px solid #6d88a8;padding:9px 12px;background:#0d1c3033;color:#afbed3;font-size:12px;line-height:1.9;margin:14px 0}.first-dish-panel .fd-limit-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #60718a44;margin-top:23px;padding-top:18px}.first-dish-panel .fd-limit-footer .fd-actions{margin:0}.first-dish-panel .fd-limit-footer .fd-clear{border:none;background:none;color:#a9bfdc;padding:0;font-size:12px}.first-dish-panel .fd-limit-results{padding-left:18px;font-size:12px;line-height:1.8}.first-dish-panel .fd-runtime-params{max-width:820px}.first-dish-panel .fd-parameter-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.first-dish-panel .fd-parameter-facts span{display:block;color:#a9b8ce;font-size:12px}.first-dish-panel .fd-parameter-facts strong{display:block;margin-top:6px;font-size:16px}.first-dish-panel .fd-parameter-row{padding:16px 0;border-top:1px solid #64748b45}.first-dish-panel .fd-parameter-row pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;padding:16px;border-radius:8px;background:#0d192b;color:#becfe6;font:12px/1.8 ui-monospace,monospace}.first-dish-panel .fd-icon-button:has(svg){min-width:34px}.first-dish-panel .fd-runtime-actions>.fd-runtime-menu>summary{font-size:10px;padding:8px 6px;color:#ddc18c;border-color:#846a474d}.first-dish-panel .fd-native-portfolio .fd-group-parameters{font-size:11px}.first-dish-panel .fd-native-portfolio .fd-group-tools summary{font-size:11px}
@media(max-width:1000px){.first-dish-panel .fd-summary-heading{flex-wrap:wrap}.first-dish-panel .fd-group-heading{align-items:flex-start;flex-wrap:wrap}.first-dish-panel .fd-strategy-card{padding:15px}.first-dish-panel .fd-runtime-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.first-dish-panel .fd-runtime-grid>div{min-height:78px;border:0!important;border-bottom:1px solid #586d8a25!important}.first-dish-panel .fd-runtime-grid>div:nth-child(odd){border-right:1px solid #586d8a25!important}.first-dish-panel .fd-runtime-grid>div:nth-last-child(-n+2){border-bottom:0!important}.first-dish-panel .fd-portfolio-stats{gap:12px}.first-dish-panel .fd-portfolio-stats>div:not(:first-child){padding-left:12px}}
@media(max-width:760px){.first-dish-panel .fd-native-strategy-grid{grid-template-columns:1fr}.first-dish-panel .fd-portfolio-stats{grid-template-columns:1fr 1fr;gap:18px;padding:18px}.first-dish-panel .fd-portfolio-stats>div:nth-child(3){border-left:0;padding-left:0}.first-dish-panel .fd-summary-heading{padding:18px}.first-dish-panel .fd-summary-tools{width:100%}.first-dish-panel .fd-summary-tools>*{flex:1}.first-dish-panel .fd-portfolio-name h2{font-size:19px}.first-dish-panel .fd-summary-explanation{padding:0 18px 16px}.first-dish-panel .fd-group-heading{gap:9px}.first-dish-panel .fd-group-title h3{font-size:14px}.first-dish-panel .fd-group-tools{width:100%;gap:8px}.first-dish-panel .fd-group-tools>*{flex:1}.first-dish-panel .fd-native-group:has(.fd-group-collapsed-note){padding:15px}.first-dish-panel .fd-group-note{gap:6px 14px;padding-bottom:11px}.first-dish-panel .fd-strategy-card{padding:15px}.first-dish-panel .fd-name-line h3{font-size:15px}.first-dish-panel .fd-card-meta{font-size:11px}.first-dish-panel .fd-child-facts{font-size:11px;gap:7px 11px}.first-dish-panel .fd-runtime-grid span{font-size:11px}.first-dish-panel .fd-runtime-grid strong{font-size:14px}.first-dish-panel .fd-runtime-grid small{font-size:10px}.first-dish-panel .fd-runtime-grid>div{padding:12px}.first-dish-panel .fd-runtime-pnl{padding:15px}.first-dish-panel .fd-pnl-heading strong{font-size:31px}.first-dish-panel .fd-live-limits{padding:11px}.first-dish-panel .fd-live-limits p{gap:7px;font-size:11px}.first-dish-panel .fd-live-limits b{font-size:13px}.first-dish-panel .fd-native-portfolio .fd-limit-button{min-height:44px;font-size:11px}.first-dish-panel .fd-runtime-actions>button{font-size:11px}.first-dish-panel .fd-runtime-actions>.fd-runtime-menu>summary{font-size:11px}.first-dish-panel .fd-limits-dialog .fd-fields{grid-template-columns:1fr 1fr;gap:12px}.first-dish-panel .fd-limits-dialog .fd-field input{font-size:18px!important}.first-dish-panel .fd-limits-dialog .fd-field{font-size:11px}.first-dish-panel .fd-limit-footer{flex-wrap:wrap}.first-dish-panel .fd-limit-footer button{font-size:12px;padding:10px 12px}}
/* A composite is an existing deployment; suppress the native-only empty placeholder. */


.first-dish-panel .fd-menu-scope{font-size:10px;color:#a5b4cb;padding:8px 11px;border-bottom:1px solid #64748b40;margin-bottom:4px}

/* Account overview stays above both sibling list tabs. */
.strategy-list-tabs{display:flex;align-items:center;gap:26px;border-bottom:1px solid #64748b40;margin:21px 0 22px;font-family:ui-sans-serif,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}.strategy-list-tabs [role=tab]{position:relative;display:flex;align-items:center;gap:9px;min-height:49px;padding:10px 2px 16px;background:transparent;border:0;border-radius:0;color:#a7b7d0;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer}.strategy-list-tabs [role=tab] b{font-size:11px;font-weight:500;min-width:23px;padding:1px 6px;border-radius:5px;color:#aebdd1;background:#64748b20;font-variant-numeric:tabular-nums}.strategy-list-tabs [aria-selected=true]{color:#edc679}.strategy-list-tabs [aria-selected=true]:after{content:'';position:absolute;bottom:-1px;height:2px;left:0;right:0;background:#edbd61}.strategy-list-tabs [aria-selected=true] b{color:#e8c078;background:#c19a4120}.strategy-list-tabs [role=tab]:focus-visible{outline:2px solid #83b9ff;outline-offset:3px;border-radius:4px}.first-dish-panel:empty{display:none}.first-dish-panel{margin:0}.first-dish-panel .fd-native-portfolio{margin-top:0}.first-dish-panel .fd-native-portfolio .fd-start-portfolio{background:#e8b85f;border-color:#e8b85f;color:#1a2233;font-weight:600;padding:9px 16px}.first-dish-panel .fd-native-portfolio .fd-start-portfolio:hover:not(:disabled){background:#f2c977;border-color:#f2c977}.first-dish-panel .fd-native-portfolio .fd-group-start{color:#a5d7b9;border-color:#6daa8250;background:#80c29a09;font-size:11px}.first-dish-panel .fd-group-tools{gap:7px}.first-dish-panel .fd-native-portfolio .fd-disabled-menu{opacity:.4;cursor:not-allowed}.first-dish-panel .fd-composite-empty{padding:44px 22px;min-height:210px;text-align:center;border:1px dashed #64748b55;border-radius:14px;background:#14213750}.first-dish-panel .fd-composite-empty h3{font-size:18px}.first-dish-panel .fd-composite-empty p{font-size:12px;color:#a7b7cd;margin:12px 0 20px}.native-page>.page-summary{margin-top:2px}.first-dish-panel .fd-summary-tools{flex-wrap:wrap}
@media(max-width:1000px){.first-dish-panel .fd-group-heading{flex-direction:column;align-items:stretch}.first-dish-panel .fd-group-tools{justify-content:flex-end}}
@media(max-width:760px){.strategy-list-tabs{margin:18px 0 20px;gap:24px}.strategy-list-tabs [role=tab]{font-size:14px}.first-dish-panel .fd-summary-tools{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.first-dish-panel .fd-summary-tools>.fd-start-portfolio{grid-column:1/-1}.first-dish-panel .fd-group-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.first-dish-panel .fd-group-tools>*{min-width:0}.first-dish-panel .fd-group-tools .fd-fold-button{order:4}.first-dish-panel .fd-group-tools .fd-group-start{order:1}.first-dish-panel .fd-group-tools .fd-group-parameters{order:2}.first-dish-panel .fd-group-tools>.fd-runtime-menu,.first-dish-panel .fd-group-tools>.fd-disabled-menu{order:3}.first-dish-panel .fd-group-note{padding-top:3px}.first-dish-panel .fd-group-title{gap:8px}.first-dish-panel .fd-portfolio-stats strong{font-size:22px}}

.first-dish-panel .fd-native-portfolio .fd-delete-portfolio{color:#e4a3a9;border-color:#c0788045;background:transparent}.first-dish-panel .fd-delete-dialog{max-width:540px}.first-dish-panel .fd-delete-dialog .fd-field{margin-top:22px}.first-dish-panel .fd-confirm-delete{background:#63313c;border-color:#bc6977;color:#ffe5e9}.first-dish-panel .fd-delete-dialog small{font-size:11px;color:#a9b9d0}@media(max-width:760px){.first-dish-panel .fd-summary-tools{grid-template-columns:1fr 1fr}.first-dish-panel .fd-summary-tools>.fd-start-portfolio{grid-column:auto}.first-dish-panel .fd-delete-dialog .fd-limit-footer{align-items:flex-start;flex-direction:column}}

/* Composite runtime only. Solid controls and one connected portfolio surface. */
.first-dish-panel .fd-native-portfolio {
  border: 1px solid #36465f;
  border-radius: 16px;
  background: #131e31;
  box-shadow: 0 8px 28px #080f1c26;
}
.first-dish-panel .fd-native-portfolio .fd-portfolio-summary {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #36465f;
  border-radius: 16px 16px 0 0;
  background: #1c2b42;
  box-shadow: none;
}
.first-dish-panel .fd-summary-heading { padding: 24px; gap: 20px; }
.first-dish-panel .fd-portfolio-name h2 { font-size: 21px; letter-spacing: .01em; }
.first-dish-panel .fd-summary-heading .fd-muted { margin-top: 9px; color: #bac9dd; font-size: 12px; }
.first-dish-panel .fd-portfolio-summary:before { top: 27px; height: 27px; background: #efc268; }
.first-dish-panel .fd-portfolio-stats {
  padding: 20px 24px;
  gap: 24px;
  background: #17243a;
  border-top-color: #36465f;
}
.first-dish-panel .fd-portfolio-stats>div {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 7px 7px;
  align-items: baseline;
}
.first-dish-panel .fd-portfolio-stats>div:not(:first-child) { border-left-color: #3c4c64; padding-left: 24px; }
.first-dish-panel .fd-portfolio-stats span { grid-column: 1/-1; color: #b6c5da; font-size: 12px; }
.first-dish-panel .fd-portfolio-stats strong { font-size: 28px; color: #f0f5fd; line-height: 1.25; }
.first-dish-panel .fd-portfolio-stats small { font-size: 11px; color: #a8bdd5; }
.first-dish-panel .fd-summary-explanation {
  margin: 0;
  padding: 11px 24px 15px;
  background: #17243a;
  color: #aebfd6;
  font-size: 11px;
  line-height: 1.7;
}
.first-dish-panel .fd-native-portfolio .fd-native-group,
.first-dish-panel .fd-native-portfolio .fd-native-group:has(.fd-group-collapsed-note) {
  margin: 0;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid #2e3e55;
  border-radius: 0;
  background: transparent;
}
.first-dish-panel .fd-native-portfolio .fd-native-group:last-child {
  border-bottom: 0;
  border-radius: 0 0 16px 16px;
}
.first-dish-panel .fd-group-heading { margin-bottom: 12px; gap: 16px; }
.first-dish-panel .fd-group-title h3 { font-size: 15px; color: #e8effa; line-height: 1.6; }
.first-dish-panel .fd-count-chip { background: #233249; color: #c8d6e9; border-color: #42536d; font-size: 11px; }
.first-dish-panel .fd-group-collapsed-note { margin: 0; color: #abbdd5; font-size: 12px; line-height: 1.6; }
.first-dish-panel .fd-group-note { color: #b5c5db; font-size: 12px; }
.first-dish-panel .fd-native-portfolio button,
.first-dish-panel .fd-native-portfolio .fd-runtime-menu>summary {
  min-height: 44px;
  border: 1px solid #425672;
  border-radius: 8px;
  background: #263851;
  color: #e4edf9;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  box-shadow: inset 0 1px 0 #ffffff05;
}
.first-dish-panel .fd-native-portfolio button:hover:not(:disabled),
.first-dish-panel .fd-native-portfolio .fd-runtime-menu>summary:hover {
  background: #314866;
  border-color: #6884a6;
  color: #f5f8ff;
}
.first-dish-panel .fd-native-portfolio button:focus:not(:focus-visible),
.first-dish-panel .fd-native-portfolio summary:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.first-dish-panel .fd-native-portfolio button:focus-visible,
.first-dish-panel .fd-native-portfolio summary:focus-visible { outline: 2px solid #9cc8ff; outline-offset: 3px; }
.first-dish-panel .fd-native-portfolio button:disabled { opacity: .45; cursor: not-allowed; }
.first-dish-panel .fd-native-portfolio .fd-start-portfolio {
  color: #1b2331;
  background: #efbf60;
  border-color: #f4cf83;
  font-weight: 650;
  padding-inline: 19px;
  box-shadow: 0 2px 5px #090d1d25;
}
.first-dish-panel .fd-native-portfolio .fd-start-portfolio:hover:not(:disabled) { background: #f7d089; border-color: #ffe0a6; color: #19212e; }
.first-dish-panel .fd-native-portfolio .fd-group-start,
.first-dish-panel .fd-native-portfolio .fd-start-button {
  background: #194e44;
  border-color: #337a67;
  color: #cef6e8;
  font-size: 12px;
  font-weight: 600;
}
.first-dish-panel .fd-native-portfolio .fd-group-start:hover:not(:disabled),
.first-dish-panel .fd-native-portfolio .fd-start-button:hover:not(:disabled) { background: #246857; border-color: #62ad8e; color: #effff6; }
.first-dish-panel .fd-native-portfolio .fd-delete-portfolio { background: #352837; color: #f4b7bf; border-color: #72505d; }
.first-dish-panel .fd-native-portfolio .fd-delete-portfolio:hover:not(:disabled) { background: #50303e; color: #ffd1d8; border-color: #ac6e7b; }
.first-dish-panel .fd-native-portfolio .fd-fold-button {
  order: 4;
  color: #bacee6;
  background: #1a2a41;
  border-color: #3a4c65;
  min-width: 76px;
}
.first-dish-panel .fd-native-portfolio .fd-fold-button svg { transition: transform 160ms ease; }
.first-dish-panel .fd-native-group:not(:has(.fd-group-collapsed-note))>.fd-group-heading .fd-fold-button svg { transform: rotate(180deg); }
.first-dish-panel .fd-summary-tools, .first-dish-panel .fd-group-tools { gap: 8px; }
.first-dish-panel .fd-native-portfolio .fd-runtime-menu>summary { display: flex; align-items: center; justify-content: center; gap: 8px; }
.first-dish-panel .fd-native-portfolio .fd-runtime-menu[open]>summary { background: #314866; border-color: #7390b1; }
.first-dish-panel .fd-runtime-menu .fd-menu-list { background: #1b2b42; border: 1px solid #506681; border-radius: 10px; box-shadow: 0 12px 28px #060b1859; padding: 6px; }
.first-dish-panel .fd-native-portfolio .fd-menu-list button { background: transparent; border-color: transparent; box-shadow: none; border-radius: 6px; justify-content: flex-start; text-align: left; }
.first-dish-panel .fd-native-portfolio .fd-menu-list button:hover:not(:disabled) { background: #304763; border-color: transparent; }
.first-dish-panel .fd-native-portfolio .fd-menu-list .fd-danger { color: #ffb8c3; }
.first-dish-panel .fd-native-portfolio .fd-icon-button { min-height: 44px; width: 44px; min-width: 44px; padding: 0; }
.first-dish-panel .fd-native-portfolio .fd-runtime-actions>.fd-runtime-menu>summary { font-size: 11px; padding-inline: 10px; }
@media(max-width:1100px) {
  .first-dish-panel .fd-summary-heading { flex-wrap: wrap; }
  .first-dish-panel .fd-group-heading { flex-direction: column; align-items: stretch; }
  .first-dish-panel .fd-group-tools { justify-content: flex-end; }
}
@media(max-width:760px) {
  .first-dish-panel .fd-summary-heading { padding: 20px 16px; gap: 18px; }
  .first-dish-panel .fd-portfolio-name h2 { font-size: 20px; }
  .first-dish-panel .fd-summary-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .first-dish-panel .fd-summary-tools .fd-start-portfolio { grid-column: 1/-1; }
  .first-dish-panel .fd-summary-tools>.fd-runtime-menu { grid-column: 1/-1; }
  .first-dish-panel .fd-portfolio-stats { padding: 18px 16px; gap: 20px 14px; }
  .first-dish-panel .fd-portfolio-stats>div:not(:first-child) { padding-left: 14px; }
  .first-dish-panel .fd-portfolio-stats>div:nth-child(3) { padding-left: 0; border-left: 0; }
  .first-dish-panel .fd-portfolio-stats strong { font-size: 25px; }
  .first-dish-panel .fd-summary-explanation { padding: 0 16px 16px; font-size: 11px; }
  .first-dish-panel .fd-native-portfolio .fd-native-group,
  .first-dish-panel .fd-native-portfolio .fd-native-group:has(.fd-group-collapsed-note) { padding: 20px 14px; }
  .first-dish-panel .fd-group-heading { gap: 14px; }
  .first-dish-panel .fd-group-title { gap: 7px; }
  .first-dish-panel .fd-group-title h3 { font-size: 14px; }
  .first-dish-panel .fd-group-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
  .first-dish-panel .fd-group-tools>* { width: 100%; min-width: 0; }
  .first-dish-panel .fd-native-strategy-grid { gap: 14px; }
  .first-dish-panel .fd-strategy-card { padding: 13px; border-radius: 10px; }
  .first-dish-panel .fd-native-portfolio button,.first-dish-panel .fd-native-portfolio .fd-runtime-menu>summary { font-size: 12px; padding-inline: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  .first-dish-panel .fd-native-portfolio button,.first-dish-panel .fd-native-portfolio summary,.first-dish-panel .fd-native-portfolio .fd-fold-button svg { transition: none; }
}
