/* Studio extensions use the dashboard's local palette and system fonts. */
.studio-summary-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:10px}.studio-summary-head h3{font-size:15px;font-weight:650;line-height:1.5}.studio-copy{font-size:12px;color:#728099;line-height:1.75;margin-top:11px;max-width:1000px}.studio-warning{font-size:11px;line-height:1.8;color:#916933;background:#fcf7eb;border:1px solid #eedebc;border-radius:9px;padding:11px 14px;margin-top:12px}.studio-chip{display:inline-flex;align-items:center;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap;background:#f2f3f7;border:1px solid #e5e8f0;color:#7c869a}.studio-chip.up{color:#287c67;background:#eef8f3;border-color:#d7ebdf}.studio-chip.down{color:#a45160;background:#fbf0f2;border-color:#f0d7dd}.studio-chip.blocked{color:#9d6e32;background:#fcf5e8;border-color:#efdfc0}.studio-chip.neutral{color:#7c7394;background:#f5f2fa;border-color:#e9e2f2}.studio-table-scroll{overflow-x:auto;width:100%;border:1px solid var(--line);border-radius:12px;margin-top:17px}.studio-matrix{min-width:870px}.studio-matrix th,.studio-matrix td{padding:15px 14px;vertical-align:middle}.studio-matrix thead th{font-size:9px;white-space:normal;line-height:1.6;color:#7c8ba4}.studio-matrix tbody th{font-size:11px;font-weight:650;letter-spacing:0;text-transform:none;color:#4f5f7b;background:#fafbfe;border-top:0}.studio-matrix td{font-size:11px}.studio-matrix td strong{color:#586882;font-size:12px;font-weight:600;display:block}.studio-matrix td small{display:block;margin-top:5px;font-size:9px;line-height:1.6;color:#8a96a9}.studio-matrix tr.studio-old td{background:#fcfaf6}.studio-matrix tr.studio-old .studio-chip:not(.blocked){opacity:.6}.studio-details{margin-top:14px;border:1px solid #e6e8f0;background:#fafbfe;border-radius:9px;padding:11px 14px;color:#7e8ba0;font-size:11px;line-height:1.75}.studio-details summary{cursor:pointer;font-weight:600;color:#65758f}.studio-details ul{padding-left:17px;margin:12px 0 0}.studio-details li+li{margin-top:7px}.studio-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.studio-stat{border:1px solid #e7e9f2;background:#fafbfe;border-radius:10px;padding:14px 13px;min-width:0}.studio-stat>span{font-size:10px;color:#8894aa;display:block;line-height:1.6;margin-bottom:8px}.studio-stat>strong{font-size:18px;font-weight:600;letter-spacing:-.25px;display:block;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#52617d}.studio-stat>small{font-size:9px;color:#8b98ad;display:block;line-height:1.6;margin-top:6px}.studio-pressure{display:flex;height:11px;border-radius:9px;overflow:hidden;background:#edf0f5;margin-top:19px}.studio-pressure-up{background:#459983}.studio-pressure-down{background:#c87986}.studio-pressure-labels{display:flex;justify-content:space-between;gap:14px;margin-top:9px;font-size:11px;line-height:1.6;color:#71829b;flex-wrap:wrap}.studio-pressure-labels>span:first-child{color:#37816f}.studio-pressure-labels>span:last-child{color:#ab6573}.studio-risk-chart{height:235px;margin:17px 0 5px;width:100%}.studio-risk-chart canvas{display:block;width:100%;height:100%}.studio-analysis-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 26px}.studio-analysis-fields input,.studio-analysis-fields select{border-color:#d6cde9;background:#fdfcff;box-shadow:inset 0 1px 2px #6b4da404}.studio-analysis-fields input:focus,.studio-analysis-fields select:focus{border-color:#8d75c7}.studio-permission{border:1px solid #e0d8ef;border-radius:10px;padding:12px 15px;color:#77648f;background:#f3effa;font-size:12px;line-height:1.65;margin-bottom:17px}.studio-permission~form input:disabled,.studio-permission~form select:disabled{opacity:.75;background:#f7f7fb;color:#8890a3}.studio-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#view-preflight .card-body{min-width:0}#view-preflight .preflight-controls{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:15px;margin-bottom:21px}#view-preflight .preflight-controls button{min-height:40px}#preflight-summary,#pulse-summary,#risk-coach{min-width:0}#preflight-refresh:disabled{opacity:.6}#view-preflight .two-column>.card{min-width:0}#view-preflight .two-column .studio-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#view-preflight .chart-wrap canvas{width:100%;height:100%}#profile-form input:disabled,#profile-form select:disabled{cursor:not-allowed}.studio-stat strong.positive{color:var(--green)}.studio-stat strong.negative{color:var(--red)}
.studio-matrix-hint{display:none;font-size:10px;color:#86769f;line-height:1.6;margin-top:15px}.studio-table-scroll:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
@media(max-width:1150px){.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-matrix-hint{display:block}}@media(max-width:850px){#view-preflight .preflight-controls{grid-template-columns:1fr 1fr}#view-preflight .preflight-controls button{grid-column:1/-1}.studio-summary-head{align-items:flex-start}.studio-matrix{min-width:850px}}@media(max-width:550px){.studio-analysis-fields{grid-template-columns:1fr;gap:22px}.studio-stat{padding:13px 11px}.studio-stat>strong{font-size:16px}.studio-stat>span{font-size:9px}.studio-stat>small{font-size:9px}.studio-copy{font-size:11px}.studio-summary-head h3{font-size:14px}.studio-warning{padding:10px 12px}.studio-pressure-labels{font-size:10px}.studio-risk-chart{height:215px}#view-preflight .preflight-controls{gap:12px}.studio-chip{font-size:9px;padding:5px 8px}.studio-permission{font-size:11px}}
/* Gold cabin: all signal, parameter and risk context stays together. */
.gold-cabin{margin-bottom:22px;border-color:#e3d9c1}.gold-cabin-top{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.gold-regime{background:#f7f5ee;border:1px solid #e7e0d0;border-radius:12px;padding:15px 18px;margin:12px 0}.gold-regime h3{margin:0 0 5px;font-size:16px}.gold-regime p{margin:4px 0;font-size:13px;color:#69768b}.gold-effective{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 17px}.gold-effective span{padding:7px 11px;background:#f1f4fa;border-radius:8px;font-size:12px;color:#596a83}.gold-effective strong{color:#26354b}.gold-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:15px 0}.gold-entry{border:1px solid #e5eaf1;border-radius:12px;padding:17px;min-width:0}.gold-entry.buy{border-top:3px solid #54a590}.gold-entry.sell{border-top:3px solid #ce8790}.gold-entry h3{font-size:17px;margin:0}.gold-entry-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.gold-entry p{font-size:12px;color:#69768b;margin:8px 0}.gold-checks{list-style:none;padding:0;margin:12px 0}.gold-checks li{display:grid;grid-template-columns:18px 1fr;gap:5px;margin:9px 0;font-size:12px;color:#4d5c73}.gold-checks strong{font-weight:600}.gold-checks small{display:block;color:#8390a3;margin-top:2px;line-height:1.45}.gold-check-icon{font-size:15px;line-height:19px}.gold-check-icon.pass{color:#3b9b80}.gold-check-icon.fail{color:#c75f70}.gold-check-icon.wait,.gold-check-icon.unknown{color:#a1874d}.gold-levels{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.gold-levels span{background:#f5f7fa;border-radius:6px;padding:6px 8px;font-size:11px}.gold-parameters-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:23px 0 12px}.gold-parameters-heading h3{margin:0;font-size:16px}.profile-groups{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.parameter-group{border:1px solid #e3e8f0;border-radius:10px;background:#fff;padding:0 17px;min-width:0}.parameter-group>summary{cursor:pointer;padding:15px 0;font-size:13px;font-weight:650;color:#35445c;list-style:none;display:flex;justify-content:space-between;gap:10px}.parameter-group>summary::after{content:'＋';color:#929db0;font-size:17px;line-height:16px}.parameter-group[open]>summary::after{content:'−'}.parameter-copy{margin:0 0 17px!important}.parameter-group .form-grid{padding-bottom:17px}.parameter-group .field{min-width:0}.parameter-group .field-help{line-height:1.5}.gold-market-details{margin:12px 0}.gold-market-details[open]{padding-bottom:14px}.gold-chart-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.gold-chart-toolbar .field{width:140px}.gold-chart-toolbar label{font-size:11px;margin-bottom:4px}.gold-chart-toolbar select{min-height:36px;padding:7px 11px}.gold-chart-toolbar .quote{margin-top:14px}.gold-chart-note{padding:4px 22px 0}.goldlab-stale{opacity:.65}.gold-legend-item i{width:10px;height:3px;display:inline-block;vertical-align:middle;margin-right:5px}.gold-legend-ema-fast{background:#45ab99}.gold-legend-ema-slow{background:#8c75d5}.gold-legend-channel{background:#c4a456}.gold-legend-hypothesis{background:#a775b9}.gold-legend-native{background:#5299d3}.gold-legend-marker{background:#8792a5}.gold-native-caption{background:#f7f8fb;padding:11px 14px;border-radius:8px;color:#69768b;font-size:12px;margin:12px 0}.gold-pending{color:#967b4b}.gold-entry-unavailable{background:#fafbfc}.goldlab-history-only{color:#a66873}.gold-inline-chart{box-shadow:none!important;margin:20px 0!important;border-color:#e7ebf3!important}.gold-cabin .market-metrics{margin:15px 0}.gold-market-details .card{box-shadow:none;margin-bottom:14px}
@media(max-width:700px){.gold-cabin-top,.gold-entry-grid{grid-template-columns:1fr}.gold-cabin .card-body{padding:17px}.gold-effective{gap:6px}.gold-effective span{padding:6px 8px}.gold-chart-toolbar{width:100%;gap:10px}.gold-chart-toolbar .field{width:calc(50% - 5px)}.gold-chart-toolbar .quote{margin-top:0}.parameter-group{padding:0 13px}.gold-entry{padding:14px}.gold-parameters-heading{align-items:flex-start}.gold-market-details .studio-matrix{min-width:980px}}

.gold-budget-box{background:#f7f9fc;border:1px solid #dce4ee;border-radius:12px;padding:18px;margin:16px 0}.gold-budget-box h3{margin-bottom:8px}.gold-budget-box .form-grid{margin:14px 0}.gold-budget-box .gold-effective{margin:14px 0}.gold-suggestion{font-weight:650;color:#536580}.gold-entry-head .studio-chip{white-space:normal}
