/* Styles belong only to the read-only fixed-window profit ranking workbench. */
#fixedProfitWorkbench { min-width:0; }
#fixedProfitWorkbench h2 { margin:0 0 10px; }
#fixedProfitWorkbench .fp-note { margin:10px 0; font-size:13px; line-height:1.7; color:#607087; overflow-wrap:anywhere; }
#fixedProfitWorkbench .fp-controls { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:18px 0; }
#fixedProfitWorkbench label { display:flex; flex-direction:column; gap:6px; font-size:13px; min-width:0; color:#475569; }
#fixedProfitWorkbench input, #fixedProfitWorkbench select { box-sizing:border-box; min-width:0; max-width:100%; width:145px; padding:10px; background:white; border:1px solid #dce2ea; border-radius:8px; font:inherit; color:#172536; }
#fixedProfitWorkbench select { width:220px; }
#fixedProfitWorkbench button { box-sizing:border-box; max-width:100%; min-width:0; padding:10px 13px; border:1px solid #dce2ea; border-radius:8px; background:#fff; color:#25364a; white-space:normal; line-height:1.4; }
#fixedProfitWorkbench button:disabled { opacity:.45; cursor:default; }
#fixedProfitWorkbench button:not(:disabled) { cursor:pointer; }
#fixedProfitWorkbench .fp-periods { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:16px 0; }
#fixedProfitWorkbench .fp-periods button[aria-pressed=true] { background:#243d59; color:white; border-color:#243d59; }
#fixedProfitWorkbench .fp-rule { padding:13px; border-radius:10px; background:#f4f7fa; }
#fixedProfitWorkbench [data-error=true] { color:#b42318; }
#fixedProfitWorkbench .fp-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:16px 0; }
#fixedProfitWorkbench .fp-fact { min-width:0; padding:14px; border:1px solid #e0e6ec; border-radius:11px; background:#fafcfe; color:#52657b; font-size:12px; line-height:1.7; }
#fixedProfitWorkbench .fp-fact strong { display:block; color:#213952; font-size:21px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#fixedProfitWorkbench .fp-fact small { display:block; overflow-wrap:anywhere; }
#fixedProfitWorkbench .fp-fact.fp-peak { background:#fff4eb; border-color:#ffd0ad; }
#fixedProfitWorkbench .fp-fact.fp-peak strong { color:#ac4d14; }
#fixedProfitWorkbench .fp-scroll { width:100%; overflow:auto; border:1px solid #e3e8ef; border-radius:10px; }
#fixedProfitWorkbench table { width:100%; min-width:1190px; border-collapse:collapse; font-size:13px; }
#fixedProfitWorkbench th, #fixedProfitWorkbench td { text-align:left; padding:12px 11px; border-bottom:1px solid #e6ebf1; vertical-align:middle; }
#fixedProfitWorkbench th { color:#475a70; background:#f6f8fb; }
#fixedProfitWorkbench .fp-leading { background:#fff7ee; }
#fixedProfitWorkbench .fp-leading td:first-child { box-shadow:inset 3px 0 #de7a27; }
#fixedProfitWorkbench .fp-badge { display:inline-block; padding:2px 6px; margin-top:5px; border-radius:5px; font-size:11px; color:#924316; background:#ffead2; }
#fixedProfitWorkbench .fp-digits { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:16px; letter-spacing:.08em; font-weight:700; color:#213952; white-space:nowrap; }
#fixedProfitWorkbench td small { display:block; color:#66788e; margin-top:5px; font-variant-numeric:tabular-nums; }
#fixedProfitWorkbench .fp-capital { min-width:150px; font-variant-numeric:tabular-nums; }
#fixedProfitWorkbench .fp-capital b { white-space:nowrap; }
#fixedProfitWorkbench .fp-capital small { color:inherit; }
#fixedProfitWorkbench .fp-loss { color:#b42318; }
#fixedProfitWorkbench .fp-profit { color:#168346; }
#fixedProfitWorkbench .fp-even { color:#607087; }
#fixedProfitWorkbench .fp-fact.fp-peak strong.fp-loss { color:#b42318; }
#fixedProfitWorkbench .fp-fact.fp-peak strong.fp-profit { color:#168346; }
#fixedProfitWorkbench .fp-fact.fp-peak strong.fp-even { color:#607087; }
#fixedProfitWorkbench .fp-hit { color:#168346; font-weight:700; }
#fixedProfitWorkbench .fp-pager { display:flex; align-items:center; justify-content:space-between; gap:9px; margin:13px 0; }
#fixedProfitWorkbench .fp-empty { padding:24px; text-align:center; color:#64748b; }
@media(max-width:700px) { #fixedProfitWorkbench .fp-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) {
  #fixedProfitWorkbench .fp-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #fixedProfitWorkbench .fp-controls input, #fixedProfitWorkbench .fp-controls select, #fixedProfitWorkbench .fp-controls button { width:100%; }
  #fixedProfitWorkbench .fp-controls label:first-child { grid-column:1/-1; }
  #fixedProfitWorkbench .fp-fact { padding:10px; }
  #fixedProfitWorkbench .fp-fact strong { font-size:17px; }
  #fixedProfitWorkbench .fp-pager { font-size:12px; }
}

@media(max-width:520px) { #fixedProfitWorkbench .fp-periods { grid-template-columns:repeat(2,minmax(0,1fr)); } }
