/* Scoped styling for the independent read-only short-window simulation. */
#shortLossTopWorkbench { min-width:0; color:#24364b; }
#shortLossTopWorkbench h2 { margin:0 0 12px; }
#shortLossTopWorkbench h3 { margin:20px 0 10px; font-size:16px; }
#shortLossTopWorkbench .sh-note { color:#607087; line-height:1.75; font-size:13px; overflow-wrap:anywhere; }
#shortLossTopWorkbench .sh-rule { padding:14px; background:#f1f6fc; border-left:3px solid #346b9f; border-radius:6px; }
#shortLossTopWorkbench .sh-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:20px 0; }
#shortLossTopWorkbench button { max-width:100%; min-width:0; padding:10px 14px; border:1px solid #dbe3ec; border-radius:9px; background:#fff; color:#24364b; white-space:normal; line-height:1.4; font:inherit; cursor:pointer; }
#shortLossTopWorkbench button:disabled { opacity:.45; cursor:default; }
#shortLossTopWorkbench button:focus-visible, #shortLossTopWorkbench input:focus-visible, #shortLossTopWorkbench select:focus-visible { outline:2px solid #2582c1; outline-offset:2px; }
#shortLossTopWorkbench .sh-tabs button { font-weight:700; padding:14px; }
#shortLossTopWorkbench .sh-tabs small { display:block; margin-top:5px; font-size:12px; font-weight:400; }
#shortLossTopWorkbench [aria-selected=true], #shortLossTopWorkbench [data-sh=apply] { background:#243d59; color:#fff; border-color:#243d59; }
#shortLossTopWorkbench .sh-controls { display:flex; flex-wrap:wrap; align-items:end; gap:10px; }
#shortLossTopWorkbench label { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:13px; }
#shortLossTopWorkbench input, #shortLossTopWorkbench select { box-sizing:border-box; width:155px; max-width:100%; min-width:0; padding:10px; border:1px solid #dbe3ec; border-radius:8px; font:inherit; color:inherit; background:#fff; }
#shortLossTopWorkbench .sh-types { display:flex; flex-wrap:wrap; gap:12px 20px; margin:14px 0; padding:14px; border:1px solid #dbe3ec; border-radius:10px; }
#shortLossTopWorkbench legend { padding:0 6px; font-size:13px; }
#shortLossTopWorkbench .sh-types label { flex-direction:row; align-items:center; }
#shortLossTopWorkbench .sh-types input { width:auto; margin:0; }
#shortLossTopWorkbench [data-error=true] { color:#b42318; }
#shortLossTopWorkbench .sh-latest { border:1px solid #cbdce9; border-radius:12px; padding:0 15px 15px; background:#f4f8fd; }
#shortLossTopWorkbench .sh-latest:empty { display:none; }
#shortLossTopWorkbench .sh-latest-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; align-items:center; font-size:13px; line-height:1.8; }
#shortLossTopWorkbench small { display:block; color:#65768a; overflow-wrap:anywhere; font-size:12px; }
#shortLossTopWorkbench .sh-dama { font:700 17px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.07em; white-space:nowrap; }
#shortLossTopWorkbench .sh-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:15px 0; }
#shortLossTopWorkbench .sh-fact { padding:14px; min-width:0; font-size:12px; line-height:1.7; border:1px solid #e1e7ef; border-radius:10px; background:#fbfcfe; }
#shortLossTopWorkbench .sh-fact strong { display:block; font-size:21px; color:#233d59; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#shortLossTopWorkbench .sh-profit, #shortLossTopWorkbench strong.sh-profit { color:#168346; }
#shortLossTopWorkbench .sh-loss, #shortLossTopWorkbench strong.sh-loss { color:#b42318; }
#shortLossTopWorkbench .sh-even, #shortLossTopWorkbench strong.sh-even { color:#65768a; }
#shortLossTopWorkbench .sh-daily { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; }
#shortLossTopWorkbench .sh-daily article { border:1px solid #e1e7ef; border-radius:9px; padding:12px; min-width:0; font-size:13px; line-height:1.8; }
#shortLossTopWorkbench .sh-daily strong { display:block; font-size:19px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#shortLossTopWorkbench .sh-scroll { max-width:100%; overflow:auto; border:1px solid #e1e7ef; border-radius:10px; }
#shortLossTopWorkbench table { width:100%; min-width:1500px; border-collapse:collapse; font-size:13px; }
#shortLossTopWorkbench th, #shortLossTopWorkbench td { padding:12px; border-bottom:1px solid #e7ecf2; text-align:left; vertical-align:middle; }
#shortLossTopWorkbench th { background:#f3f6fa; font-weight:600; }
#shortLossTopWorkbench td { font-variant-numeric:tabular-nums; }
#shortLossTopWorkbench .sh-code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
#shortLossTopWorkbench .sh-pager { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:14px 0; font-size:13px; }
#shortLossTopWorkbench .sh-empty { text-align:center; padding:24px; color:#607087; }
@media(max-width:700px) {
  #shortLossTopWorkbench .sh-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #shortLossTopWorkbench .sh-latest-grid { grid-template-columns:1fr 1fr; }
  #shortLossTopWorkbench .sh-latest-grid>div:last-child { grid-column:1/-1; }
}
@media(max-width:520px) {
  #shortLossTopWorkbench .sh-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #shortLossTopWorkbench .sh-controls input, #shortLossTopWorkbench .sh-controls select, #shortLossTopWorkbench .sh-controls button { width:100%; }
  #shortLossTopWorkbench .sh-tabs { gap:6px; }
  #shortLossTopWorkbench .sh-tabs button { padding:10px 6px; font-size:13px; }
  #shortLossTopWorkbench .sh-fact { padding:10px; }
  #shortLossTopWorkbench .sh-fact strong { font-size:17px; }
  #shortLossTopWorkbench .sh-daily { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #shortLossTopWorkbench .sh-daily strong { font-size:17px; }
  #shortLossTopWorkbench .sh-pager { font-size:12px; }
}

#shortLossTopWorkbench .sh-date-controls { display:flex; flex-wrap:wrap; align-items:end; gap:9px; margin:14px 0; padding:13px; border:1px solid #dbe3ec; border-radius:10px; }
#shortLossTopWorkbench .sh-date-controls select { width:180px; }
#shortLossTopWorkbench .sh-period { margin:18px 0; border:1px solid #dbe3ec; border-radius:12px; padding:14px; }
#shortLossTopWorkbench .sh-period h3 { margin-top:0; }
#shortLossTopWorkbench .sh-period-nav { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
#shortLossTopWorkbench [data-sh=period-range] { display:block; margin:12px 0; font-size:17px; color:#243d59; font-variant-numeric:tabular-nums; }
#shortLossTopWorkbench .sh-period-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
#shortLossTopWorkbench .sh-period-day { min-width:0; padding:11px 9px; border:1px solid #e1e7ef; border-radius:8px; font-size:12px; line-height:1.8; }
#shortLossTopWorkbench .sh-period-day strong { display:block; font-size:18px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#shortLossTopWorkbench .sh-period-day[data-empty=true] { background:#f6f8fb; }
#shortLossTopWorkbench .sh-period-total { margin:12px 0 0; font-weight:600; }
#shortLossTopWorkbench [hidden] { display:none !important; }
#shortLossTopWorkbench .sh-tab-heading { margin-bottom:6px; }
@media(max-width:1000px) { #shortLossTopWorkbench .sh-period-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) {
  #shortLossTopWorkbench .sh-date-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:10px; }
  #shortLossTopWorkbench .sh-date-controls input, #shortLossTopWorkbench .sh-date-controls select, #shortLossTopWorkbench .sh-date-controls button { width:100%; }
  #shortLossTopWorkbench .sh-period { padding:10px; }
  #shortLossTopWorkbench .sh-period-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #shortLossTopWorkbench .sh-period-nav button:last-child { grid-column:1/-1; }
  #shortLossTopWorkbench [data-sh=period-range] { font-size:15px; }
}
