/* Scoped original client studio and wizard components; no global navigation changes. */
#thread.view-original-studio .sc-steps-row { display: flex; align-items: flex-start; padding: 6px 0 16px; }
#thread.view-original-studio .sc-steps { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
#thread.view-original-studio .sc-step {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 2px 0; cursor: pointer;
}
#thread.view-original-studio .sc-step-dot {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size:var(--type-caption-size); font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums;
  border: 1px solid #E5E7EB; background: #ffffff; color:var(--type-muted);
  transition: border-color .15s, color .15s, background-color .15s;
}
#thread.view-original-studio .sc-step-label { font-size:var(--type-caption-size); color: #6B7280; white-space: nowrap; }
#thread.view-original-studio .sc-step.is-todo:hover .sc-step-dot { border-color: #b9b9b9; color: #6B7280; }
#thread.view-original-studio .sc-step.is-todo:hover .sc-step-label { color: #111827; }
#thread.view-original-studio .sc-step.is-on .sc-step-dot { background: #7c3aed; border-color: #7c3aed; color: #ffffff; }
#thread.view-original-studio .sc-step.is-on .sc-step-label { color: #111827; font-weight: 600; }
#thread.view-original-studio .sc-step.is-done .sc-step-dot { border-color: var(--sc-up); color: var(--sc-up); }
#thread.view-original-studio .sc-step.is-done:hover .sc-step-dot { border-color: #00693D; }
#thread.view-original-studio .sc-step.is-done:hover .sc-step-label { color: #111827; }
#thread.view-original-studio .sc-step:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; border-radius: 4px; }
#thread.view-original-studio .sc-step-line { flex: 1; height: 1px; background: #E5E7EB; min-width: 8px; }
#thread.view-original-studio .sc-stage-holder { min-height: 200px; }
#thread.view-original-studio .sc-stage { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
#thread.view-original-studio .sc-stage-sub { margin: 0 0 2px; font-size:var(--type-body-size); line-height: 20px; color: #6B7280; }
#thread.view-original-studio .sc-hint { margin: 0; font-size:var(--type-caption-size); line-height: 18px; color: #6B7280; }
#thread.view-original-studio .sc-hint-warn { color: var(--sc-down); }
#thread.view-original-studio .sc-quote-line {
  display: flex; align-items: baseline; gap: 8px;
  font-size:var(--type-caption-size); color: #6B7280;
}
#thread.view-original-studio .sc-quote-line:empty { display: none; }
#thread.view-original-studio .sc-quote-line b { font-weight: 600; color: #111827; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-preset-group { display: flex; gap: 8px; flex-wrap: wrap; }
#thread.view-original-studio .sc-preset {
  height: 28px; padding: 0 14px; font-size:var(--type-caption-size); border-radius: 7px;
  background: #ffffff; border: 1px solid #dcdcdc; color: #6B7280;
}
#thread.view-original-studio .sc-preset:hover { border-color: #b9b9b9; color: #111827; }
#thread.view-original-studio .sc-preset.is-on { border-color: #7c3aed; color: #7c3aed; font-weight: 600; }
#thread.view-original-studio .sc-preset:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#thread.view-original-studio .sc-bt-cfg,
#thread.view-original-studio .sc-pub-cfg {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px; padding: 12px 14px;
  border: 1px solid #E5E7EB; border-radius: 8px; background: #ffffff;
}
#thread.view-original-studio .sc-cfg-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size:var(--type-caption-size); padding-bottom: 4px; border-bottom: 1px solid #F0F0F0;
}
#thread.view-original-studio .sc-cfg-row span { color:var(--type-muted); white-space: nowrap; }
#thread.view-original-studio .sc-cfg-row b {
  font-weight: 600; color: #111827; font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#thread.view-original-studio .sc-bt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#thread.view-original-studio .sc-pub-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#thread.view-original-studio .sc-bt-card.is-stale { opacity: .45; }
#thread.view-original-studio .sc-bt-stale { font-size:var(--type-caption-size); color: #6D7582; }
#thread.view-original-studio .sc-bt-head .sc-bt-stale { margin-right: 4px; }
#thread.view-original-studio .sc-bt-extra {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  padding-top: 10px; border-top: 1px solid #E5E7EB;
}
#thread.view-original-studio .sc-extra-block { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#thread.view-original-studio .sc-extra-title { font-size:var(--type-caption-size); color:var(--type-muted); }
#thread.view-original-studio .sc-extra-foot { font-size:var(--type-caption-size); color:var(--type-muted); font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-dd-svg {
  width: 100%; height: 64px; display: block;
  background: #ffffff; border: 1px solid #E5E7EB; border-radius: 6px;
}
#thread.view-original-studio .sc-dd-area { fill: rgba(194, 64, 47, .10); stroke: none; }
#thread.view-original-studio .sc-dd-line { fill: none; stroke: var(--sc-down); stroke-width: 1.5; stroke-linejoin: round; }
#thread.view-original-studio .sc-segs { display: flex; align-items: flex-end; gap: 10px; height: 56px; }
#thread.view-original-studio .sc-seg { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; min-width: 0; }
#thread.view-original-studio .sc-seg-val { font-size:var(--type-caption-size); font-weight: 600; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-seg-bar {
  width: 100%; max-width: 30px; border-radius: 2px 2px 0 0; align-self: flex-end;
}
#thread.view-original-studio .sc-seg-bar.sc-pos { background: var(--sc-up); }
#thread.view-original-studio .sc-seg-bar.sc-neg { background: var(--sc-down); }
#thread.view-original-studio .sc-bt-derive {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  padding-top: 10px; border-top: 1px solid #E5E7EB;
}
#thread.view-original-studio .sc-derive { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#thread.view-original-studio .sc-derive-val { font-size:var(--type-body-size); font-weight: 600; color: #111827; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-derive-label { font-size:var(--type-caption-size); color: #6B7280; }
#thread.view-original-studio .sc-stage-actions { display: flex; gap: 10px; justify-content: flex-end; }
#thread.view-original-studio .sc-stage-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; margin-top: 2px; border-top: 1px solid #E5E7EB; max-width: 660px;
}
#thread.view-original-studio .sc-pool { width: 100%; border-collapse: collapse; font-size:var(--type-caption-size); }
#thread.view-original-studio .sc-pool th {
  font-size:var(--type-caption-size); font-weight: 500; color:var(--type-muted); text-align: left;
  padding: 6px 8px; border-bottom: 1px solid #E5E7EB; white-space: nowrap;
}
#thread.view-original-studio .sc-pool th.c-num,
#thread.view-original-studio .sc-pool td.c-num { text-align: right; }
#thread.view-original-studio .sc-pool td { padding: 7px 8px; border-bottom: 1px solid #F0F0F0; vertical-align: middle; }
#thread.view-original-studio .sc-pool td.c-num { color: #111827; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-pool-row { cursor: pointer; }
#thread.view-original-studio .sc-pool-row:hover td { background: #FAFAFA; }
#thread.view-original-studio .sc-pool .c-sym b { display: block; font-size:var(--type-caption-size); font-weight: 600; color: #6B7280; }
#thread.view-original-studio .sc-pool .c-sym span { font-size:var(--type-caption-size); color:var(--type-muted); }
#thread.view-original-studio .sc-pool-row.is-in .c-sym b { color: #111827; }
#thread.view-original-studio .sc-pool-row.is-in .c-sym span { color: #6B7280; }
#thread.view-original-studio .sc-check {
  width: 16px; height: 16px; border-radius: 4px; display: inline-flex;
  align-items: center; justify-content: center; font-size:var(--type-caption-size); line-height: 1;
  border: 1px solid #dcdcdc; background: #ffffff; color: transparent;
}
#thread.view-original-studio .sc-check.is-on { background: #7c3aed; border-color: #7c3aed; color: #ffffff; }
#thread.view-original-studio .sc-type-chip {
  display: inline-block; padding: 2px 8px; font-size:var(--type-caption-size); line-height: 16px;
  color: #6B7280; background: #F3F4F6; border-radius: 999px; white-space: nowrap;
}
#thread.view-original-studio .sc-alloc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
#thread.view-original-studio .sc-alloc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; background: #ffffff; border: 1px solid #E5E7EB; border-radius: 8px;
}
#thread.view-original-studio .sc-alloc-nm { flex: 0 0 132px; min-width: 0; }
#thread.view-original-studio .sc-alloc-nm b { display: block; font-size:var(--type-caption-size); font-weight: 600; color: #111827; }
#thread.view-original-studio .sc-alloc-nm span { display: block; font-size:var(--type-caption-size); color:var(--type-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#thread.view-original-studio .sc-slider {
  flex: 1 1 auto; min-width: 0; height: 4px; accent-color: #7c3aed; cursor: pointer;
}
#thread.view-original-studio .sc-slider:focus-visible { outline: 2px solid #7c3aed; outline-offset: 4px; border-radius: 4px; }
#thread.view-original-studio .sc-pct-in {
  flex: 0 0 56px; width: 56px; height: 28px; padding: 0 6px; font-size:var(--type-caption-size); text-align: right;
  border: 1px solid #dcdcdc; border-radius: 5px; color: #111827; background: #ffffff;
  font-variant-numeric: tabular-nums;
}
#thread.view-original-studio .sc-pct-in:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .14); }
#thread.view-original-studio .sc-w-none { color:var(--type-muted); }
#thread.view-original-studio .sc-capital-field { max-width: 260px; }
#thread.view-original-studio .sc-alloc-why {
  margin: 8px 0 10px; padding: 10px 12px;
  background: #FCFCFC; border: 1px solid #E5E7EB; border-radius: 10px;
}
#thread.view-original-studio .sc-aw-top { display: flex; align-items: center; gap: 8px; font-size:var(--type-caption-size); color: #111827; }
#thread.view-original-studio .sc-aw-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 18px; padding: 0 6px; border-radius: 5px;
  background: rgba(124, 58, 237, .1); color: #7c3aed;
  font-size:var(--type-caption-size); font-weight: 700; letter-spacing: .5px;
}
#thread.view-original-studio .sc-aw-text { margin-top: 5px; font-size:var(--type-caption-size); line-height: 1.7; color: #6B7280; }
#thread.view-original-studio .sc-sf-mid { display: flex; align-items: center; gap: 10px; margin-left: auto; }
#thread.view-original-studio .sc-rebal-btn {
  height: 28px; padding: 0 12px; font-size:var(--type-caption-size); border-radius: 6px;
  background: #ffffff; border: 1px solid #dcdcdc; color: #6B7280;
}
#thread.view-original-studio .sc-rebal-btn:hover { border-color: #7c3aed; color: #7c3aed; }
#thread.view-original-studio .sc-rebal-btn:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#thread.view-original-studio .sc-cfg-group {
  margin: 10px 0 2px; font-size:var(--type-caption-size); font-weight: 700; color:var(--type-muted); letter-spacing: .4px;
}
#thread.view-original-studio .sc-cfg-group:first-child { margin-top: 0; }
#thread.view-original-studio .sc-w-foot {
  display: flex; align-items: center; gap: 10px; padding-top: 8px; font-size:var(--type-caption-size);
}
#thread.view-original-studio .sc-w-total { color: #6B7280; }
#thread.view-original-studio .sc-w-total b { color: #111827; font-weight: 600; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-w-ok { color: var(--sc-up); font-size:var(--type-caption-size); }
#thread.view-original-studio .sc-w-fix,
#thread.view-original-studio .sc-w-reset {
  height: 24px; padding: 0 10px; font-size:var(--type-caption-size); border-radius: 5px;
  background: #ffffff; border: 1px solid #dcdcdc; color: #6B7280;
}
#thread.view-original-studio .sc-w-fix { border-color: rgba(124, 58, 237, .45); color: #7c3aed; }
#thread.view-original-studio .sc-w-fix:hover,
#thread.view-original-studio .sc-w-reset:hover { border-color: #7c3aed; color: #7c3aed; }
#thread.view-original-studio .sc-w-reset { margin-left: auto; }
#thread.view-original-studio .sc-w-fix:focus-visible,
#thread.view-original-studio .sc-w-reset:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#thread.view-original-studio .sc-cfg-row.is-wide { grid-column: 1 / -1; }
#thread.view-original-studio .sc-field-help { font-style: normal; font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted); }
#thread.view-original-studio .sc-risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; border: none; padding: 0; gap: 12px 14px; }
#thread.view-original-studio .sc-bt-card > .sc-extra-block.sc-mx { padding-top: 10px; border-top: 1px solid #E5E7EB; }
#thread.view-original-studio .sc-mx-grid { display: grid; grid-template-columns: 44px repeat(var(--mx), 1fr); gap: 2px; }
#thread.view-original-studio .sc-mx-h { font-size:var(--type-caption-size); color:var(--type-muted); text-align: center; }
#thread.view-original-studio .sc-mx-cell { font-size:var(--type-caption-size); text-align: center; padding: 2px 0; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-mx-cell.is-diag { color: #E5E7EB; }
#thread.view-original-studio .sc-mx-cell.is-hi { color: #111827; font-weight: 600; }
#thread.view-original-studio .sc-mx-cell.is-mid { color: #6B7280; }
#thread.view-original-studio .sc-mx-cell.is-lo { color:var(--type-muted); }
#thread.view-original-studio .sc-ct-list { display: flex; flex-direction: column; gap: 6px; }
#thread.view-original-studio .sc-ct-row { display: grid; grid-template-columns: 54px 1fr 34px; align-items: center; gap: 8px; }
#thread.view-original-studio .sc-ct-sym { font-size:var(--type-caption-size); color: #111827; }
#thread.view-original-studio .sc-ct-bar { display: block; height: 4px; border-radius: 2px; background: #F0F0F0; overflow: hidden; }
#thread.view-original-studio .sc-ct-bar i { display: block; height: 100%; border-radius: 2px; background: #7c3aed; }
#thread.view-original-studio .sc-ct-val { font-size:var(--type-caption-size); text-align: right; color: #111827; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-ct-sub { grid-column: 2 / -1; font-size:var(--type-caption-size); color:var(--type-muted); }
#thread.view-original-studio .sc-st-list { display: flex; flex-direction: column; gap: 7px; }
#thread.view-original-studio .sc-st-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#thread.view-original-studio .sc-st-label { font-size:var(--type-caption-size); color: #111827; }
#thread.view-original-studio .sc-st-label em { display: block; font-style: normal; font-size:var(--type-caption-size); color:var(--type-muted); }
#thread.view-original-studio .sc-st-val { font-size:var(--type-caption-size); font-weight: 600; font-variant-numeric: tabular-nums; }
#thread.view-original-studio .sc-pub-form { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
#thread.view-original-studio .sc-done {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 18px; border: 1px solid #E5E7EB; border-radius: 10px; background: #ffffff;
}
#thread.view-original-studio .sc-done-head { display: flex; align-items: center; gap: 8px; }
#thread.view-original-studio .sc-done-mark {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sc-up); color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center; font-size:var(--type-caption-size); font-weight: 700;
}
#thread.view-original-studio .sc-done-title { font-size:var(--type-body-size); font-weight: 700; color: #111827; }
#thread.view-original-studio .sc-done-meta { margin: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid #E5E7EB; }
#thread.view-original-studio .sc-done-row { display: flex; justify-content: space-between; gap: 12px; font-size:var(--type-caption-size); }
#thread.view-original-studio .sc-done-row span { color:var(--type-muted); white-space: nowrap; }
#thread.view-original-studio .sc-done-row b { color: #111827; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px){#thread.view-original-studio .sc-aside { flex-direction: column; }
#thread.view-original-studio .sc-chart-wrap { flex-direction: column; }
#thread.view-original-studio .sc-chart-names { flex-basis: auto; justify-content: flex-start; }
#thread.view-original-studio .sc-hero { flex-direction: column; align-items: flex-start; gap: 10px; }
}
#ai-thread:has(.fund-studio-notice) .ai-ask-msg { animation: ai-ask-in .18s var(--r25-ease, ease-out); }
@keyframes ai-ask-in{ from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
#ai-thread:has(.fund-studio-notice) .ai-ask { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
#ai-thread:has(.fund-studio-notice) .ai-opt {
  display: block; width: 100%;
  text-align: left;
  background: #fcfcfc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  
  box-shadow: var(--r25-elev-1);
  transition: border-color var(--r25-dur-1, .12s) var(--r25-ease, ease-out),
              box-shadow var(--r25-dur-1, .12s) var(--r25-ease, ease-out),
              background var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-opt-label { display: block; font-size:var(--type-body-size); line-height: 20px; font-weight: 500; color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-opt-hint { display: block; margin-top: 2px; font-size:var(--type-caption-size); line-height: 16px; color: #6b7280; }
#ai-thread:has(.fund-studio-notice) .ai-opt:not(:disabled):hover { border-color: rgba(124,58,237,.35); box-shadow: var(--r25-elev-2); background: #f3f4f6; }
#ai-thread:has(.fund-studio-notice) .ai-opt:active { transform: scale(.995); }
#ai-thread:has(.fund-studio-notice) .ai-ask-esc {
  display: block; margin-top: 0; padding: 0;
  background: none; border: 0;
  font: inherit; font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted);
  cursor: pointer; text-align: left;
  transition: color var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-ask-esc:hover { color: #6b7280; }
#ai-thread:has(.fund-studio-notice) .ai-ask-esc:disabled { color: #c9ced6; cursor: default; }
#ai-thread:has(.fund-studio-notice) .ai-opt:focus-visible,
#ai-thread:has(.fund-studio-notice) .ai-ask-esc:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#ai-thread:has(.fund-studio-notice) .ai-opt-card .ai-opt-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
#ai-thread:has(.fund-studio-notice) .ai-opt-tag {
  flex: none; font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted);
  white-space: nowrap; letter-spacing: 0;
}
#ai-thread:has(.fund-studio-notice) .ai-opt-card .ai-opt-label { font-weight: 600; }
#ai-thread:has(.fund-studio-notice) .ai-round-q { font-size:var(--type-body-size); line-height: 20px; color: #111827; font-weight: 500; }
#ai-thread:has(.fund-studio-notice) .ai-round-esc { margin-top: 6px; }
#ai-thread:has(.fund-studio-notice) .ai-inline-cta-row { margin-top: 12px; }
#ai-thread:has(.fund-studio-notice) .ai-inline-cta {
  height: 28px; padding: 0 14px; border: 0; border-radius: 7px;
  background: #7c3aed; color: #ffffff;
  font: inherit; font-size:var(--type-body-size); line-height: 28px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: background var(--r25-dur-1, .12s) var(--r25-ease, ease-out),
              transform var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-inline-cta:hover { background: #6d28d9; }
#ai-thread:has(.fund-studio-notice) .ai-inline-cta:active { transform: scale(.97); }
#ai-thread:has(.fund-studio-notice) .ai-inline-cta:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#ai-thread:has(.fund-studio-notice) .ai-step-msg { animation: ai-ask-in .18s var(--r25-ease, ease-out); }
#ai-thread:has(.fund-studio-notice) .ai-step-tag {
  font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted);   
  margin-bottom: 4px; font-variant-numeric: tabular-nums;
}
#ai-thread:has(.fund-studio-notice) .ai-ask.locked .ai-opt:not(.on) { opacity: .5; }
#ai-thread:has(.fund-studio-notice) .ai-opt.on {
  border-color: rgba(124,58,237,.45);
  
  box-shadow: inset 3px 0 0 #7c3aed;
  padding-left: 15px;
}
#ai-thread:has(.fund-studio-notice) .ai-opt.on .ai-opt-label { font-weight: 600; }
#ai-thread:has(.fund-studio-notice) .ai-opt:disabled { cursor: default; }
#ai-thread:has(.fund-studio-notice) .ai-cta-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#ai-thread:has(.fund-studio-notice) .ai-cta-ghost {
  padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted);
  transition: color var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-cta-ghost:hover { color: #6b7280; }
#ai-thread:has(.fund-studio-notice) .ai-cta-ghost:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; border-radius: 4px; }
#ai-thread:has(.fund-studio-notice) .ai-cta-sec { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
#ai-thread:has(.fund-studio-notice) .ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#ai-thread:has(.fund-studio-notice) .ai-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 11px; border: 1px solid #E5E7EB; border-radius: 999px;
  background: #ffffff; color: #6B7280;
  font: inherit; font-size:var(--type-caption-size); line-height: 24px; cursor: pointer;
  transition: border-color var(--r25-dur-1, .12s) var(--r25-ease, ease-out),
              color var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-chip:hover { border-color: rgba(124,58,237,.45); color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-chip.on { border-color: #7c3aed; color: #7c3aed; font-weight: 600; }
#ai-thread:has(.fund-studio-notice) .ai-chip:disabled { cursor: not-allowed; opacity: .45; }
#ai-thread:has(.fund-studio-notice) .ai-chip:disabled:hover { border-color: #E5E7EB; color: #6B7280; }
#ai-thread:has(.fund-studio-notice) .ai-chip:focus-visible { outline: 2px solid #7c3aed; outline-offset: 1px; }
#ai-thread:has(.fund-studio-notice) .ai-chip-reco {
  font-size:var(--type-caption-size); line-height: 14px; padding: 0 5px; border-radius: 4px;
  color: #7c3aed; background: rgba(124,58,237,.08); font-weight: 600;
}
#ai-thread:has(.fund-studio-notice) .ai-reco-card {
  margin-top: 10px; padding: 4px 12px;
  background: #ffffff; border: 1px solid #E5E7EB; border-radius: 10px;
}
#ai-thread:has(.fund-studio-notice) .ai-reco-h {
  padding: 8px 0 6px; font-size:var(--type-caption-size); font-weight: 600; color: #111827;
  border-bottom: 1px solid #F0F0F0;
}
#ai-thread:has(.fund-studio-notice) .ai-reco-row { padding: 7px 0; border-bottom: 1px dashed #E5E7EB; }
#ai-thread:has(.fund-studio-notice) .ai-reco-row:last-child { border-bottom: 0; }
#ai-thread:has(.fund-studio-notice) .ai-reco-t { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size:var(--type-caption-size); color: #374151; }
#ai-thread:has(.fund-studio-notice) .ai-reco-t b { color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-reco-wpct { flex: 1 1 auto; text-align: right; font-size:var(--type-caption-size); color: #6B7280; line-height: 1.55; }
#ai-thread:has(.fund-studio-notice) .ai-reco-wpct b { color: #111827; font-variant-numeric: tabular-nums; }
#ai-thread:has(.fund-studio-notice) .ai-reco-w { margin-top: 3px; font-size:var(--type-caption-size); color: #6B7280; line-height: 1.8; }
#ai-thread:has(.fund-studio-notice) .ai-sumgrid {
  display: grid; grid-template-columns: auto 1fr; gap: 5px 14px;
  margin-top: 10px; padding: 10px 12px; max-width: 460px;
  background: #ffffff; border: 1px solid #E5E7EB; border-radius: 10px;
  font-size:var(--type-caption-size); line-height: 18px;
}
#ai-thread:has(.fund-studio-notice) .ai-sumgrid .k { color:var(--type-muted); white-space: nowrap; }
#ai-thread:has(.fund-studio-notice) .ai-sumgrid .v { color: #111827; font-variant-numeric: tabular-nums; }
#ai-thread:has(.fund-studio-notice) .ai-rb-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-card { background: #ffffff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 10px 12px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-head { display: flex; align-items: center; gap: 8px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-t { font-size:var(--type-caption-size); font-weight: 700; color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-rb-sw {
  position: relative; width: 32px; height: 18px; flex: none;
  border: 0; border-radius: 999px; background: #E5E7EB; cursor: pointer; padding: 0;
  transition: background var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-rb-sw::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: #ffffff;
  transition: left var(--r25-dur-1, .12s) var(--r25-ease, ease-out);
}
#ai-thread:has(.fund-studio-notice) .ai-rb-sw.on { background: #7c3aed; }
#ai-thread:has(.fund-studio-notice) .ai-rb-sw.on::after { left: 16px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-sw:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-body { margin-top: 8px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-f { display: flex; flex-direction: column; gap: 3px; }
#ai-thread:has(.fund-studio-notice) .ai-rb-fl { font-size:var(--type-caption-size); color: #6B7280; }
#ai-thread:has(.fund-studio-notice) .ai-rb-in {
  height: 28px; width: 100%; box-sizing: border-box; padding: 0 8px;
  border: 1px solid #E5E7EB; border-radius: 7px; font: inherit; font-size:var(--type-caption-size);
  color: #111827; background: #ffffff;
}
#ai-thread:has(.fund-studio-notice) .ai-rb-in:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
#ai-thread:has(.fund-studio-notice) .ai-rb-off { font-size:var(--type-caption-size); color:var(--type-muted); line-height: 1.6; }
#ai-thread:has(.fund-studio-notice) .ai-name-card {
  margin-top: 10px; padding: 10px 12px;
  background: #ffffff; border: 1px solid #E5E7EB; border-radius: 10px;
}
#ai-thread:has(.fund-studio-notice) .ai-name-t { font-size:var(--type-caption-size); font-weight: 700; color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-name-req { color: #c2402f; }
#ai-thread:has(.fund-studio-notice) .ai-name-hint { margin-top: 2px; font-size:var(--type-caption-size); color:var(--type-muted); }
#ai-thread:has(.fund-studio-notice) .ai-name-row { display: flex; gap: 8px; margin-top: 8px; }
#ai-thread:has(.fund-studio-notice) .ai-name-in {
  flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 10px;
  border: 1px solid #E5E7EB; border-radius: 7px; font: inherit; font-size:var(--type-caption-size);
  color: #111827; background: #F3F4F6;
}
#ai-thread:has(.fund-studio-notice) .ai-name-in:focus { outline: none; border-color: #7c3aed; background: #ffffff; box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
#ai-thread:has(.fund-studio-notice) .ai-name-ok { flex: none; }
#ai-thread:has(.fund-studio-notice) .ai-think-log {
  margin: 0 0 8px; padding: 8px 10px;
  border-left: 2px solid #E5E7EB; background: #FCFCFC; border-radius: 0 8px 8px 0;
}
#ai-thread:has(.fund-studio-notice) .ai-think-log-ln { font-size:var(--type-caption-size); line-height: 1.7; color: #6B7280; }
#ai-thread:has(.fund-studio-notice) .ai-think-log-ln + .ai-think-log-ln { margin-top: 2px; }
#ai-thread:has(.fund-studio-notice) .ai-wiz-note { margin-top: 8px; font-size:var(--type-caption-size); line-height: 1.65; color: #6B7280; }
#ai-thread:has(.fund-studio-notice) .ai-sumgrid .sg-group {
  grid-column: 1 / -1; margin-top: 6px;
  font-size:var(--type-caption-size); font-weight: 700; color:var(--type-muted); letter-spacing: .4px;
}
#ai-thread:has(.fund-studio-notice) .ai-sumgrid .sg-group:first-child { margin-top: 0; }
#ai-thread:has(.fund-studio-notice) .ai-btsum { max-width: 480px; }
#ai-thread:has(.fund-studio-notice) .ai-dp { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
#ai-thread:has(.fund-studio-notice) .ai-dp-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--r25-page-surface, #f8f9fb); border-radius: var(--r25-radius-card, 12px); padding: 10px 12px;
  font-size:var(--type-caption-size); color: #6B7280;
}
#ai-thread:has(.fund-studio-notice) .ai-dp-row.on { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .22); color: #111827; }
#ai-thread:has(.fund-studio-notice) .ai-dp-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 2px solid #b8c5d6; border-top-color: transparent;
}
#ai-thread:has(.fund-studio-notice) .ai-dp-row.on .ai-dp-dot { border-color: var(--am-brand-600, #7c3aed); border-top-color: transparent; animation: ai-dp-spin 1s linear infinite; }
@keyframes ai-dp-spin{ to { transform: rotate(360deg); } }
#ai-thread:has(.fund-studio-notice) .ai-scene-div { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; }
#ai-thread:has(.fund-studio-notice) .ai-sd-line { flex: 1 1 auto; height: 1px; background: #e5e7eb; }
#ai-thread:has(.fund-studio-notice) .ai-sd-txt { flex: none; font-size:var(--type-caption-size); line-height: 16px; color:var(--type-muted); }
@media (max-width: 1180px){#ai-thread:has(.fund-studio-notice) .main.with-ai-side .ai-side { width: 300px; }
}
@media (max-width: 1000px){#ai-thread:has(.fund-studio-notice) .main.with-ai-side .main-body > .transcript-right { display: none; }
#ai-thread:has(.fund-studio-notice) .main.with-ai-side .ai-side { width: 280px; }
}

#thread.view-original-studio { width:auto;max-width:none;margin:0;padding:24px 28px 36px;min-width:0;overflow:auto;background:#fff; }
#thread.view-original-studio .sc-page-editor {width:100%;max-width:1100px;margin:0 auto;--sc-up:#00834d;--sc-down:#c2402f;}
#thread.view-original-studio .sc-stage {max-width:none;min-width:0;}
.fund-studio-head {display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 24px;margin-bottom:16px;}
.fund-studio-head h1 {font-size:var(--type-section-size);line-height:var(--type-section-line);margin:0;font-weight:600;}
.fund-studio-head span,.fund-studio-notice {font-size:var(--type-caption-size);line-height:var(--type-caption-line);color:var(--type-muted);}
.fund-studio-notice {padding:10px 12px;border:1px solid #e9dff2;border-radius:10px;background:#faf7fd;margin-bottom:18px;}
#thread.view-original-studio .sc-research-source {margin-bottom:18px;padding:14px 16px;border:1px solid #e6dfef;border-radius:12px;background:#fcfaff;min-width:0;}
#thread.view-original-studio .sc-source-head {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
#thread.view-original-studio .sc-source-head > div {display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;}
#thread.view-original-studio .sc-source-head h2 {margin:0;font-size:var(--type-body-size);line-height:var(--type-body-line);font-weight:600;overflow-wrap:anywhere;}
#thread.view-original-studio .sc-source-kind {font-size:var(--type-caption-size);line-height:var(--type-caption-line);color:#8056ad;background:#f0e9f8;padding:2px 7px;border-radius:5px;white-space:nowrap;}
#thread.view-original-studio .sc-source-head button {flex:none;border:0;background:transparent;padding:2px;color:var(--type-muted);font-size:var(--type-caption-size);line-height:var(--type-caption-line);cursor:pointer;}
#thread.view-original-studio .sc-source-head button:hover {color:#8056ad;}
#thread.view-original-studio .sc-research-source :is(p,pre,summary) {font-size:var(--type-caption-size);line-height:var(--type-caption-line);overflow-wrap:anywhere;}
#thread.view-original-studio .sc-research-source p {margin:7px 0 0;}
#thread.view-original-studio .sc-source-meta,#thread.view-original-studio .sc-source-note {color:var(--type-muted);}
#thread.view-original-studio .sc-source-description {color:var(--type-text);}
#thread.view-original-studio .sc-source-status {display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;color:#8056ad;font-size:var(--type-caption-size);line-height:var(--type-caption-line);}
#thread.view-original-studio .sc-source-status span {color:var(--type-muted);}
#thread.view-original-studio .sc-research-source details {margin-top:8px;}
#thread.view-original-studio .sc-research-source summary {color:#8056ad;cursor:pointer;}
#thread.view-original-studio .sc-research-source pre {max-height:150px;overflow:auto;white-space:pre-wrap;background:#fff;padding:10px;border-radius:8px;color:var(--type-text);}
#thread.view-original-studio .sc-stage-nav {flex-wrap:wrap;}
#thread.view-original-studio .sc-pool-wrap {max-width:100%;overflow:auto;}
#ai-thread:has(.fund-studio-notice) .ai-opt-top {flex-wrap:wrap;gap:0 8px;}
#ai-thread:has(.fund-studio-notice) .ai-inline-cta {white-space:normal;line-height:1.5;min-height:36px;height:auto;padding:8px 12px;}
#ai-thread:has(.fund-studio-notice) .ai-opt-label {font-size:var(--type-body-size);}
#ai-thread:has(.fund-studio-notice) .ai-opt-hint {font-size:var(--type-caption-size);line-height:var(--type-caption-line);}
#ai-thread:has(.fund-studio-notice) .ai-opt:disabled {cursor:default;}
#ai-thread:has(.fund-studio-notice) .ai-opt.on {border-color:#a883da;background:#f4edfb;}
#ai-thread:has(.fund-studio-notice) button:disabled {opacity:.65;}
#ai-thread:has(.fund-studio-notice) .ai-reco-t {overflow-wrap:anywhere;}
@media(max-width:1000px){
 #thread.view-original-studio{padding:18px;}
 #thread.view-original-studio .sc-steps{flex-wrap:wrap;gap:8px;}
 #thread.view-original-studio .sc-pub-form{grid-template-columns:minmax(0,1fr);}
}
