/* Scenario Builder */
.cap-control-surface .view-tabs{
  grid-template-columns:repeat(4,minmax(140px,1fr));
  width:min(100%,760px);
}
.scenario-builder-panel{
  color:var(--site-ink,#17211f);
}
.scenario-shell{
  display:grid;
  gap:18px;
}
.scenario-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding-bottom:16px;
  border-bottom:2px solid var(--site-ink,#17211f);
}
.scenario-header-copy{
  max-width:780px;
}
.scenario-eyebrow{
  margin:0 0 5px;
  color:var(--site-tangerine-dark,#c7650f);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.scenario-header h2{
  margin:0;
  font-size:clamp(25px,3vw,38px);
  line-height:1.05;
}
.scenario-header p:last-child{
  margin:9px 0 0;
  color:var(--site-muted,#4f5b55);
  font-size:13px;
  line-height:1.5;
}
.scenario-header-actions{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:10px;
}
.scenario-change-count{
  padding:7px 10px;
  border-radius:999px;
  background:var(--site-soft,#eef3f1);
  color:var(--site-muted,#4f5b55);
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.scenario-reset-button,
.scenario-remove-contract,
.scenario-submit{
  min-height:38px;
  padding:8px 13px;
  border:1px solid var(--site-ink,#17211f);
  border-radius:6px;
  background:#fff;
  color:var(--site-ink,#17211f);
  font:850 12px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.scenario-reset-button:hover,
.scenario-remove-contract:hover{
  border-color:var(--site-tangerine-dark,#c7650f);
  color:var(--site-tangerine-dark,#c7650f);
}
.scenario-reset-button:focus-visible,
.scenario-remove-contract:focus-visible,
.scenario-submit:focus-visible,
.scenario-option-choice input:focus-visible + span,
.scenario-field input:focus-visible,
.scenario-structure-options input:focus-visible + span,
.scenario-field select:focus-visible{
  outline:3px solid rgba(242,140,40,.3);
  outline-offset:3px;
}
.scenario-option-choices{
  display:flex;
  align-items:center;
  gap:6px;
}
.scenario-option-choice{
  position:relative;
  min-width:0;
}
.scenario-option-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.scenario-option-choice span{
  display:grid;
  box-sizing:border-box;
  width:100%;
  min-height:34px;
  padding:7px 10px;
  place-items:center;
  border:1px solid var(--site-line,#d7ded9);
  border-radius:5px;
  background:#fff;
  color:var(--site-muted,#4f5b55);
  font-size:10.5px;
  font-weight:850;
  cursor:pointer;
}
.scenario-option-choice input:checked + span{
  border-color:#007f86;
  background:#eaf7f6;
  color:#075e63;
}
.scenario-option-choice input[value="exclude"]:checked + span{
  border-color:#a23535;
  background:#fff0f0;
  color:#8a2323;
}
.scenario-option-choice input:disabled + span{
  cursor:not-allowed;
}
.scenario-option-effect{
  grid-column:1/-1;
  min-height:14px;
  margin:0;
}
.scenario-contract-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  padding:17px 18px 18px;
}
.scenario-field{
  display:grid;
  gap:5px;
  min-width:0;
}
.scenario-field-wide{
  grid-column:1/-1;
}
.scenario-field>label,
.scenario-field-label,
.scenario-structure-field>legend{
  display:flex;
  height:27px;
  min-height:27px;
  align-items:flex-end;
  margin:0;
  padding:0;
  color:var(--site-muted,#4f5b55);
  font-size:10px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.scenario-field input,
.scenario-field select{
  width:100%;
  min-width:0;
  height:42px;
  padding:0 10px;
  border:1px solid var(--site-line,#d7ded9);
  border-radius:5px;
  background:#fff;
  color:var(--site-ink,#17211f);
  font:750 13px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.scenario-form-help,
.scenario-form-error{
  grid-column:1/-1;
  margin:0;
  font-size:10.5px;
  line-height:1.45;
}
.scenario-form-help{
  color:var(--site-muted,#4f5b55);
}
.scenario-form-error{
  color:#a02020;
  font-weight:800;
}
.scenario-submit{
  grid-column:1/-1;
  min-height:42px;
  border-color:#007f86;
  background:#007f86;
  color:#fff;
}
.scenario-submit:hover{
  border-color:#075e63;
  background:#075e63;
}
.scenario-added-contracts{
  display:grid;
  gap:8px;
  padding:0 18px 18px;
}
.scenario-added-contract{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 12px;
  align-items:center;
  padding:11px 12px;
  border:1px solid #9fc7c4;
  border-radius:6px;
  background:#f1fbfa;
}
.scenario-added-contract strong{
  font-size:12px;
}
.scenario-added-contract p{
  grid-column:1;
  margin:0;
  color:#356c6f;
  font-size:10px;
  line-height:1.4;
}
.scenario-remove-contract{
  grid-column:2;
  grid-row:1/3;
  min-height:34px;
  padding:7px 9px;
  background:transparent;
}
.scenario-results{
  min-width:0;
}
.scenario-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.scenario-cap-workspace>.scenario-summary{
  margin:0;
  padding:0 18px 18px;
}
.scenario-season-summary{
  min-width:0;
  padding:13px 14px;
  border:1px solid var(--site-line,#d7ded9);
  border-top:4px solid #007f86;
  border-radius:7px;
  background:#fff;
}
.scenario-season-summary h3{
  margin:0;
  font-size:12px;
}
.scenario-season-summary>strong{
  display:block;
  margin-top:7px;
  font-size:clamp(16px,2vw,22px);
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.scenario-season-summary>p{
  min-height:28px;
  margin:6px 0 0;
  color:var(--site-muted,#4f5b55);
  font-size:10px;
  line-height:1.35;
}
.scenario-season-summary>p.is-positive{
  color:#137333;
}
.scenario-season-summary>p.is-negative{
  color:#a02020;
}
.scenario-season-summary dl{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:5px 10px;
  margin:10px 0 0;
  padding-top:9px;
  border-top:1px solid #e7ebe8;
}
.scenario-season-summary dl div{
  display:flex;
  justify-content:space-between;
  gap:8px;
}
.scenario-season-summary dl>div:not(.scenario-position-row){
  grid-column:1;
}
.scenario-season-summary dt,
.scenario-season-summary dd{
  margin:0;
  font-size:9.5px;
  line-height:1.25;
}
.scenario-season-summary dt{
  color:var(--site-muted,#4f5b55);
}
.scenario-season-summary dd{
  font-weight:850;
  text-align:right;
}
.scenario-season-summary dl .scenario-position-row{
  display:grid;
  grid-column:2;
  grid-row:1/span 3;
  align-self:center;
}
.scenario-position-row dd{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  text-align:left;
}
.scenario-position-row dd span{
  min-width:0;
  padding:4px 5px;
  border-radius:4px;
  background:#eef6f4;
  color:#315f5c;
  font-size:8.5px;
  line-height:1.25;
  text-align:center;
}
.scenario-position-row dd span.is-above{
  background:#fff0ee;
  color:#a02020;
  box-shadow:inset 0 0 0 1px #f2c5c1;
}
.scenario-disclaimer{
  margin:10px 0 0;
  color:var(--site-muted,#4f5b55);
  font-size:10.5px;
  line-height:1.5;
}
.scenario-live-status{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
@media(max-width:1000px){
  .scenario-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .cap-control-surface .view-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .scenario-header{
    align-items:stretch;
    flex-direction:column;
  }
  .scenario-header-actions{
    justify-content:space-between;
  }
}
@media(max-width:760px){
  .scenario-cap-workspace>.scenario-summary{
    padding:0 12px 12px;
  }
}
@media(max-width:560px){
  .scenario-contract-form{
    grid-template-columns:1fr;
  }
  .scenario-field-wide,
  .scenario-form-help,
  .scenario-form-error,
  .scenario-submit{
    grid-column:1;
  }
  .scenario-summary{
    grid-template-columns:1fr;
  }
  .scenario-season-summary>p{
    min-height:0;
  }
}
@media print{
  .scenario-header-actions{
    display:none;
  }
}
/* Interactive cap-table workspace */
.scenario-cap-workspace{
  overflow:hidden;
  border:1px solid var(--site-line,#d7ded9);
  border-radius:10px;
  background:#fff;
  box-shadow:0 12px 30px rgba(25,34,30,.08);
}
.scenario-workspace-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:17px 18px 15px;
  border-bottom:1px solid var(--site-line,#d7ded9);
  background:var(--site-soft,#eef3f1);
}
.scenario-workspace-header h3{
  margin:0;
  font-size:17px;
  line-height:1.2;
}
.scenario-workspace-header p:last-child{
  max-width:720px;
  margin:6px 0 0;
  color:var(--site-muted,#4f5b55);
  font-size:11.5px;
  line-height:1.45;
}
.scenario-option-key{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:7px;
  margin-top:2px;
  padding:7px 10px;
  border:1px solid #efbe82;
  border-radius:999px;
  background:#fff8ec;
  color:#8a4b0f;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.scenario-option-key i{
  width:9px;
  height:9px;
  border-radius:2px;
  background:var(--site-tangerine,#f28c28);
  box-shadow:inset 0 0 0 1px rgba(91,48,5,.16);
}
.scenario-contract-composer{
  margin:16px 18px 18px;
  position:relative;
  z-index:5;
  overflow:visible;
  border:1px solid #cbd8d3;
  border-left:4px solid #007f86;
  border-radius:8px;
  background:#f8fbfa;
}
.experiment-trade-workspace-host{
  box-sizing:border-box;
  width:min(100%,calc(100vw - var(--cap-page-gutter) - var(--cap-page-gutter) - 2px));
  min-width:0;
  align-self:flex-start;
}
.experiment-trade-workspace-host[data-trade-placement="cue"]{width:100%}
.experiment-trade-workspace-host[hidden],
.scenario-trade-toggle[hidden]{display:none}
.experiment-trade-workspace-host .scenario-trade-workspace{margin:0}
#experiment-panel .multi-cap-table-control{gap:8px;flex-wrap:wrap}
#experiment-panel{
  --trade-blue:#007f86;
  --trade-blue-deep:#075e63;
  --trade-blue-soft:#eaf7f6;
  --trade-line:#cbd8d3;
}
.scenario-trade-workspace{
  --trade-blue:#007f86;
  --trade-blue-deep:#075e63;
  --trade-blue-soft:#eaf7f6;
  --trade-line:#cbd8d3;
  overflow:visible;
  border:1px solid var(--trade-line);
  border-left:4px solid var(--trade-blue);
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 26px rgba(25,34,30,.07);
}
.scenario-contract-composer>.scenario-trade-workspace{
  margin:-1px -1px 0;
  border-radius:8px 8px 0 0;
  box-shadow:none;
}
.scenario-trade-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:16px 18px;
  border:0;
  border-radius:inherit;
  background:#f8fbfa;
}
.scenario-trade-workspace.is-trade-mode .scenario-trade-header{border-radius:10px 10px 0 0}
.scenario-trade-header h3{margin:0;color:var(--site-ink,#17211f);font-size:18px;line-height:1.2}
.scenario-trade-header p{max-width:680px;margin:5px 0 0;color:var(--site-muted,#4f5b55);font-size:11px;line-height:1.45}
.scenario-trade-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.scenario-trade-header-actions .scenario-change-count{background:#fff;color:var(--site-muted,#4f5b55);box-shadow:inset 0 0 0 1px var(--trade-line)}
.scenario-trade-header-actions .scenario-change-count[hidden]{display:none}
.scenario-reset-button:disabled{cursor:not-allowed;opacity:.45}
.scenario-trade-toggle,
.experiment-contract-trade-toggle,
.scenario-trade-card button{
  appearance:none;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #007f86;
  border-radius:6px;
  background:#fff;
  color:#075e63;
  font:900 11px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.experiment-contract-trade-toggle{margin-left:auto;white-space:nowrap}
.scenario-trade-toggle:hover,
.experiment-contract-trade-toggle:hover,
.scenario-trade-toggle[aria-expanded="true"],
.experiment-contract-trade-toggle[aria-expanded="true"],
.scenario-trade-card button:hover{background:#eaf7f6;color:#075e63}
.scenario-trade-toggle[aria-expanded="true"],
.experiment-contract-trade-toggle[aria-expanded="true"]{background:#007f86;color:#fff;border-color:#007f86}
.scenario-trade-toggle:focus-visible,
.experiment-contract-trade-toggle:focus-visible,
.scenario-trade-card button:focus-visible,
.scenario-trade-result:focus-visible,
.scenario-trade-row-remove:focus-visible{
  outline:3px solid rgba(0,127,134,.25);
  outline-offset:3px;
}
.scenario-trade-panel{
  padding:16px 18px 14px;
  border-top:1px solid var(--trade-line);
  background:#fff;
}
.scenario-trade-panel[hidden]{display:none}
.scenario-trade-form{
  display:grid;
  grid-template-columns:minmax(250px,1fr) 36px minmax(250px,1fr) minmax(140px,.45fr);
  gap:12px;
  align-items:start;
}
.scenario-trade-side{
  display:grid;
  min-width:0;
  min-height:92px;
  grid-template-columns:30px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:12px;
  border:1px solid var(--trade-line);
  border-radius:7px;
  background:#fff;
}
.scenario-trade-side.is-outgoing{border-color:#9fc7c4;background:#f8fbfa}
.scenario-trade-step{
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:50%;
  background:var(--trade-blue-soft);
  color:var(--trade-blue-deep);
  font-size:11px;
  font-weight:950;
}
.scenario-trade-side.is-outgoing .scenario-trade-step{background:var(--trade-blue-soft);color:var(--trade-blue-deep)}
.scenario-trade-side h4,
.scenario-trade-search-field>label{
  display:flex;
  min-height:27px;
  align-items:center;
  margin:0;
  color:var(--site-ink,#17211f);
  font-size:10px;
  font-weight:900;
  line-height:1.2;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.scenario-trade-side p{margin:5px 0 0;color:var(--site-muted,#4f5b55);font-size:10.5px;line-height:1.45}
.scenario-trade-side p strong{color:var(--trade-blue-deep);font-size:15px;line-height:0}
.scenario-trade-arrow{
  display:grid;
  min-height:92px;
  place-items:center;
  color:var(--trade-blue);
  font-size:20px;
  font-weight:950;
}
.scenario-trade-search-field,.scenario-trade-combobox{min-width:0}
.scenario-trade-combobox{position:relative}
.scenario-trade-combobox input{
  box-sizing:border-box;
  width:100%;
  height:42px;
  padding:0 12px;
  border:1px solid var(--site-line,#d7ded9);
  border-radius:5px;
  background:#fff;
  color:var(--site-ink,#17211f);
  font:750 12px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.scenario-trade-combobox input:focus{border-color:var(--trade-blue);outline:3px solid rgba(0,127,134,.18)}
.scenario-trade-results{
  position:absolute;
  z-index:80;
  top:calc(100% + 5px);
  right:0;
  left:0;
  max-height:322px;
  overflow-y:auto;
  border:1px solid #9fc7c4;
  border-radius:7px;
  background:#fff;
  box-shadow:0 16px 34px rgba(0,127,134,.14);
}
.scenario-trade-results[hidden]{display:none}
.scenario-trade-result{
  appearance:none;
  display:grid;
  width:100%;
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:8px 10px;
  border:0;
  border-bottom:1px solid #e4ebe7;
  background:#fff;
  color:var(--site-ink,#17211f);
  text-align:left;
  cursor:pointer;
}
.scenario-trade-result:last-child{border-bottom:0}
.scenario-trade-result:hover,
.scenario-trade-result[aria-selected="true"],
.scenario-trade-side.is-outgoing .scenario-trade-result:hover,
.scenario-trade-side.is-outgoing .scenario-trade-result[aria-selected="true"]{background:var(--trade-blue-soft)}
.scenario-trade-result-avatar :is(.contract-headshot-shell,.contract-headshot,.contract-headshot-fallback){width:32px;height:32px}
.scenario-trade-result-copy{display:grid;gap:3px;min-width:0}
.scenario-trade-result-copy strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.scenario-trade-result-copy small{overflow:hidden;color:var(--site-muted,#4f5b55);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.scenario-trade-result-add,
.scenario-trade-result-add.is-outgoing{padding:5px 8px;border-radius:999px;background:var(--trade-blue-soft);color:var(--trade-blue-deep);font-size:9px;font-weight:900}
.scenario-trade-empty{margin:0;padding:14px;color:var(--site-muted,#4f5b55);font-size:10px;line-height:1.45}
.scenario-trade-season-field{align-self:start}
.scenario-trade-season-field>label{color:var(--site-ink,#17211f)}
.scenario-trade-season-field select{border-color:var(--site-line,#d7ded9);border-radius:5px}
.scenario-trade-error{grid-column:1/-1;min-height:14px;margin:0;color:var(--trade-blue-deep);font-size:10px;font-weight:800}
.scenario-trade-disclosure{
  margin:10px 0 0;
  padding:9px 11px;
  border:1px solid var(--trade-line);
  border-radius:7px;
  background:#f8fbfa;
  color:var(--site-muted,#4f5b55);
  font-size:9.5px;
  line-height:1.5;
}
.scenario-trade-disclosure strong{color:var(--site-ink,#17211f)}
.scenario-trade-disclosure a{color:var(--trade-blue-deep);font-weight:850}
.scenario-trade-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px}
.scenario-trade-list:not(:empty){padding-top:12px;padding-bottom:14px;border-top:1px solid var(--trade-line)}
.scenario-trade-card,
.scenario-trade-card.is-out{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 12px;
  align-items:center;
  padding:10px 11px;
  border:1px solid #9fc7c4;
  border-left:4px solid var(--trade-blue);
  border-radius:7px;
  background:#f1fbfa;
}
.scenario-trade-card-label,
.scenario-trade-card.is-out .scenario-trade-card-label{color:var(--trade-blue-deep);font-size:8.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.scenario-trade-card strong{grid-column:1;color:var(--site-ink,#17211f);font-size:11.5px}
.scenario-trade-card small,
.scenario-trade-card.is-out small{grid-column:1;color:#356c6f;font-size:9.5px}
.scenario-trade-card button{grid-column:2;grid-row:1/4;min-height:32px;padding:6px 9px;background:#fff}
.scenario-trade-swatch{background:var(--trade-blue)!important;border-color:var(--trade-blue-deep)!important}
.scenario-table tr.is-trade-in,
.scenario-table tr.is-trade-out{background:#f1fbfa!important}
.scenario-table tr.is-trade-in .scenario-row-kind,
.scenario-table tr.is-trade-out .scenario-row-kind{color:var(--trade-blue-deep)}
#experiment-panel .scenario-table tr.is-trade-out .scenario-cell.is-excluded{background:var(--trade-blue-soft);color:var(--trade-blue-deep)}
#experiment-panel .experiment-decision.is-trade,
#experiment-panel .experiment-decision.is-trade.is-out{border-color:#9fc7c4;background:#f1fbfa;color:var(--trade-blue-deep)}
.scenario-trade-row-remove{
  appearance:none;
  display:grid;
  width:25px;
  height:25px;
  margin-top:5px;
  place-items:center;
  border:1px solid var(--trade-blue);
  border-radius:50%;
  background:#fff;
  color:var(--trade-blue-deep);
  font:900 17px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  cursor:pointer;
}
.scenario-trade-row-remove:hover{background:var(--trade-blue-soft);color:var(--trade-blue-deep)}
.scenario-table tr.is-trade-out .scenario-row-remove:hover,
.scenario-table tr.is-trade-out .scenario-row-remove:focus-visible{border-color:var(--trade-blue);background:var(--trade-blue-soft);color:var(--trade-blue-deep)}
.scenario-contract-composer .scenario-contract-form{
  grid-template-columns:minmax(112px,.58fr) minmax(150px,.82fr) minmax(112px,.58fr) minmax(145px,.74fr) minmax(155px,.82fr) minmax(155px,.82fr);
  gap:10px;
  align-items:start;
  padding:13px 14px 10px;
}
.scenario-contract-composer .scenario-start-season-field{grid-column:1;grid-row:1}
.scenario-contract-composer .scenario-free-agent-field{grid-column:2/4;grid-row:1}
.scenario-contract-composer .scenario-term-field{grid-column:4;grid-row:1}
.scenario-contract-composer .scenario-amount-field{grid-column:5/7;grid-row:1}
.scenario-contract-composer .scenario-structure-field{grid-column:1/3;grid-row:2}
.scenario-contract-composer .scenario-annual-change-field{grid-column:3;grid-row:2}
.scenario-contract-composer .scenario-option-field{grid-column:4;grid-row:2}
.scenario-contract-composer .scenario-guarantee-field{grid-column:5;grid-row:2}
.scenario-contract-composer .scenario-exceptions-field{grid-column:6;grid-row:2}
.scenario-contract-composer .scenario-field-wide{
  grid-column:auto;
}
.scenario-contract-composer .scenario-form-help{
  grid-column:1/-1;
}
.scenario-contract-composer .scenario-form-error{
  grid-column:1/-1;
}
.scenario-exceptions-field{
  align-self:start;
}
.scenario-exceptions-button{
  appearance:none;
  min-height:42px;
  padding:8px 12px;
  border:1px solid #76539b;
  border-radius:5px;
  background:#f5effb;
  color:#57277b;
  font:900 11px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.scenario-exceptions-button:hover,
.scenario-exceptions-button[aria-expanded="true"]{
  border-color:#57277b;
  background:#eadcf7;
}
.scenario-exceptions-button:focus-visible,
.scenario-exceptions-close:focus-visible,
.scenario-exception-card input:focus-visible+.scenario-exception-card-copy{
  outline:3px solid rgba(124,58,237,.26);
  outline-offset:3px;
}
.scenario-exceptions-panel{
  grid-column:1/-1;
  min-width:0;
  max-height:470px;
  overflow:auto;
  padding:14px;
  border:1px solid #bda9d1;
  border-left:4px solid #74429a;
  border-radius:8px;
  background:#fbf9fd;
  box-shadow:0 12px 28px rgba(63,31,87,.12);
  scrollbar-color:#74429a #eee6f5;
}
.scenario-exceptions-panel[hidden],
.scenario-cba-message[hidden]{
  display:none;
}
.scenario-exceptions-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:11px;
}
.scenario-exceptions-header h3{
  margin:0;
  color:#3d1c54;
  font-size:17px;
  line-height:1.2;
}
.scenario-exceptions-header p:last-child{
  margin:4px 0 0;
  color:#695b70;
  font-size:10px;
  line-height:1.4;
}
.scenario-exceptions-close{
  appearance:none;
  display:grid;
  width:31px;
  height:31px;
  flex:0 0 31px;
  padding:0;
  place-items:center;
  border:1px solid #c8b7d6;
  border-radius:50%;
  background:#fff;
  color:#57277b;
  font:900 18px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  cursor:pointer;
}
.scenario-exception-methods{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
#scenario-exception-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.scenario-exception-card{
  display:grid;
  position:relative;
  grid-template-columns:minmax(0,1fr);
  min-width:0;
  gap:7px;
  padding:10px;
  border:1px solid #d8cce2;
  border-radius:7px;
  background:#fff;
  cursor:pointer;
}
.scenario-exception-card:hover{
  border-color:#9d7bb8;
}
.scenario-exception-card.is-selected{
  border-color:#74429a;
  background:#f2eafa;
  box-shadow:inset 0 0 0 1px rgba(116,66,154,.15);
}
.scenario-exception-card.is-reference-only{
  background:#f4f3f5;
  cursor:not-allowed;
  opacity:.78;
}
.scenario-exception-card>input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.scenario-exception-card-copy{
  display:grid;
  min-width:0;
  gap:3px;
}
.scenario-exception-card-copy strong{
  color:#3d1c54;
  font-size:10.5px;
  line-height:1.25;
}
.scenario-exception-card-copy small{
  color:#7a568e;
  font-size:8.5px;
  font-weight:850;
  line-height:1.3;
}
.scenario-exception-card-copy>span{
  color:#645d68;
  font-size:9px;
  line-height:1.35;
}
.scenario-exception-card>em{
  align-self:end;
  color:#315f5c;
  font-size:8.5px;
  font-style:normal;
  font-weight:900;
  line-height:1.25;
}
.scenario-exceptions-source{
  margin:11px 0 0;
  padding-top:10px;
  border-top:1px solid #e2d9e9;
  color:#695b70;
  font-size:9px;
  line-height:1.45;
}
.scenario-exceptions-source a{
  color:#57277b;
  font-weight:900;
}
.scenario-cba-message{
  grid-column:1/-1;
  margin:0;
  padding:10px 12px;
  border:1px solid #c8d9d2;
  border-left:4px solid #26735f;
  border-radius:6px;
  background:#f0faf6;
  color:#194e40;
  font-size:10.5px;
  font-weight:750;
  line-height:1.45;
}
.scenario-cba-message.is-invalid{
  border-color:#e0aaa4;
  border-left-color:#a52b25;
  background:#fff3f1;
  color:#7d211d;
}
.scenario-cba-message.is-conditional{
  border-color:#e5c58e;
  border-left-color:#b66a10;
  background:#fff8ea;
  color:#75450b;
}
.scenario-cba-message p{
  margin:0;
}
.scenario-cba-message a{
  color:inherit;
  font-weight:950;
  text-decoration:underline;
  text-underline-offset:2px;
}
.scenario-free-agent-field{
  position:relative;
  z-index:12;
  align-self:start;
}
.scenario-free-agent-combobox{
  position:relative;
}
.scenario-free-agent-combobox>input{
  padding-right:38px;
}
.scenario-free-agent-combobox>input[aria-expanded="true"]{
  border-color:#007f86;
  box-shadow:0 0 0 2px rgba(0,127,134,.1);
}
.scenario-free-agent-clear{
  position:absolute;
  top:50%;
  right:8px;
  display:grid;
  width:26px;
  height:26px;
  padding:0;
  place-items:center;
  transform:translateY(-50%);
  border:0;
  border-radius:50%;
  background:#e5eeeb;
  color:#365a56;
  font:900 17px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  cursor:pointer;
}
.scenario-free-agent-clear[hidden],
.scenario-free-agent-results[hidden],
.scenario-free-agent-selection[hidden]{
  display:none;
}
.scenario-free-agent-clear:hover{
  background:#d6e6e1;
  color:#075e63;
}
.scenario-free-agent-results{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  z-index:30;
  width:min(520px,calc(100vw - 72px));
  max-height:350px;
  overflow-y:auto;
  border:1px solid #9db9b3;
  border-radius:7px;
  background:#fff;
  box-shadow:0 18px 38px rgba(23,33,31,.2);
  scrollbar-color:#007f86 #e7efec;
}
.scenario-free-agent-result-count,
.scenario-free-agent-empty{
  margin:0;
  padding:8px 10px;
  color:var(--site-muted,#4f5b55);
  font-size:9.5px;
  font-weight:800;
  line-height:1.35;
}
.scenario-free-agent-result-count{
  position:sticky;
  top:0;
  z-index:1;
  border-bottom:1px solid #e5ebe8;
  background:#f5f8f7;
}
.scenario-free-agent-option{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  width:100%;
  min-height:54px;
  padding:8px 10px;
  align-items:center;
  gap:9px;
  border:0;
  border-bottom:1px solid #edf1ef;
  background:#fff;
  color:var(--site-ink,#17211f);
  text-align:left;
  cursor:pointer;
}
.scenario-free-agent-option:last-child{
  border-bottom:0;
}
.scenario-free-agent-option:hover,
.scenario-free-agent-option.is-active{
  background:#eaf7f5;
}
.scenario-free-agent-option.is-active{
  box-shadow:inset 3px 0 0 #007f86;
}
.scenario-free-agent-option-copy{
  display:grid;
  min-width:0;
  gap:3px;
}
.scenario-free-agent-option-copy strong{
  overflow:hidden;
  font-size:11.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.scenario-free-agent-option-copy small{
  overflow:hidden;
  color:var(--site-muted,#4f5b55);
  font-size:9.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.scenario-free-agent-type{
  padding:4px 6px;
  border-radius:999px;
  background:#e9f2f0;
  color:#365a56;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}
.scenario-free-agent-type.is-ufa{background:#e8f5f3;color:#075e63}
.scenario-free-agent-type.is-rfa{background:#fff2df;color:#8a4b0f}
.scenario-free-agent-type.is-player{background:#eef2ff;color:#4256a0}
.scenario-free-agent-type.is-club{background:#f2ecfa;color:#64428a}
.scenario-free-agent-type.is-mutual{background:#f0f1ef;color:#4f5b55}
.scenario-free-agent-type.is-ending{background:#f3f0e8;color:#675a3f}
.scenario-free-agent-selection{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:8px;
  padding:10px 12px;
  border:2px solid #82b8b2;
  border-radius:8px;
  background:#effaf8;
  box-shadow:0 6px 16px rgba(7,94,99,.1);
}
.scenario-free-agent-selection>span:last-child{
  display:grid;
  min-width:0;
  gap:2px;
}
.scenario-free-agent-selection strong{
  font-size:12.5px;
}
.scenario-free-agent-selection small{
  overflow:hidden;
  color:#356c6f;
  font-size:10px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.scenario-free-agent-pool-note{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin:5px 0 0;
  color:var(--site-muted,#4f5b55);
  font-size:8.5px;
  line-height:1.35;
}
.scenario-free-agent-pool-note a{
  color:#075e63;
  font-weight:850;
  white-space:nowrap;
}
.scenario-structure-field{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.scenario-structure-field legend{
  margin:0 0 5px;
}
.scenario-structure-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
}
.scenario-structure-options label{
  position:relative;
  min-width:0;
}
.scenario-structure-options input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.scenario-structure-options span{
  display:grid;
  min-height:42px;
  padding:6px 5px;
  place-items:center;
  border:1px solid var(--site-line,#d7ded9);
  border-radius:5px;
  background:#fff;
  color:var(--site-muted,#4f5b55);
  font-size:9px;
  font-weight:850;
  text-align:center;
  cursor:pointer;
}
.scenario-structure-options input:checked+span{
  border-color:#007f86;
  background:#eaf7f5;
  color:#075e63;
  box-shadow:inset 0 0 0 1px rgba(0,127,134,.08);
}
.scenario-percent-input{
  position:relative;
}
.scenario-percent-input input{
  padding-right:28px;
}
.scenario-percent-input span{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  color:var(--site-muted,#4f5b55);
  font-size:11px;
  font-weight:900;
  pointer-events:none;
}
.scenario-percent-input input:disabled{
  background:#edf1ef;
  color:#6d7772;
  cursor:not-allowed;
}
.scenario-amount-field{
  position:relative;
  grid-template-columns:minmax(155px,.95fr) minmax(130px,1.05fr);
  column-gap:0;
  row-gap:5px;
  align-items:end;
  align-self:start;
}
.scenario-amount-label{
  grid-column:1/-1;
}
.scenario-contract-composer .scenario-amount-basis{
  height:42px;
  padding:0 8px;
  border-right:0;
  border-radius:5px 0 0 5px;
  background:#eaf4f1;
  color:#075e63;
  font-size:9.5px;
  font-weight:900;
}
.scenario-million-input{
  position:relative;
}
.scenario-million-input input{
  padding-right:30px;
  padding-left:27px;
  border-radius:0 5px 5px 0;
  font-variant-numeric:tabular-nums;
}
.scenario-million-input.is-cap-percent input{
  padding-left:10px;
}
.scenario-guarantee-field .scenario-million-input input{
  border-radius:5px;
}
.scenario-million-input>span{
  position:absolute;
  top:50%;
  z-index:1;
  transform:translateY(-50%);
  color:#356c6f;
  font-size:11px;
  font-weight:900;
  pointer-events:none;
}
.scenario-million-input>span:first-child{
  left:10px;
}
.scenario-million-input>span:last-child{
  right:10px;
}
.scenario-amount-help{
  grid-column:1/-1;
  display:block;
  margin-top:4px;
  color:var(--site-muted,#4f5b55);
  font-size:8.5px;
  line-height:1.3;
}
.scenario-option-help,
.scenario-guarantee-help{
  display:block;
  color:var(--site-muted,#4f5b55);
  font-size:8.5px;
  line-height:1.3;
}
.scenario-field select:disabled{
  background:#edf1ef;
  color:#6d7772;
  cursor:not-allowed;
}
.scenario-raise-help{
  display:block;
  color:var(--site-muted,#4f5b55);
  font-size:8.5px;
  line-height:1.3;
}
.scenario-amount-help:empty,
.scenario-raise-help:empty{
  display:none;
}
.scenario-contract-composer #scenario-structure-help:empty{
  display:none;
}
.scenario-contract-composer #scenario-structure-help{
  min-height:46px;
  padding:9px 11px;
  border:1px solid #b9d5d1;
  border-left:4px solid #007f86;
  border-radius:6px;
  background:#edf8f6;
  color:#204f4c;
  font-size:11px;
  font-weight:750;
  line-height:1.45;
}

.scenario-added-contracts{
  display:grid;
  gap:10px;
  padding:2px 14px 16px;
}
.scenario-added-contract{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  width:100%;
  min-width:0;
  gap:5px 16px;
  padding:14px 15px;
  border:2px solid #76aaa5;
  border-left:5px solid var(--hypothetical-fill,#7c3aed);
  border-radius:10px;
  background:linear-gradient(135deg,#f4fcfa 0%,#e8f7f4 100%);
  box-shadow:0 8px 20px rgba(7,94,99,.12);
}
.scenario-added-contract-name{
  display:flex;
  grid-column:1;
  align-items:center;
  gap:8px;
  margin:0;
  color:#29104f;
  font-size:14px;
  font-weight:950;
  line-height:1.25;
}
.scenario-added-contract-name i{
  width:11px;
  height:11px;
  flex:0 0 11px;
  border:2px solid #fff;
  border-radius:50%;
  background-color:var(--hypothetical-fill,#7c3aed);
  box-shadow:0 0 0 1px rgba(41,16,79,.2);
}
.scenario-added-contract[data-hypothetical-pattern="diagonal"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="diagonal"] .contract-status-swatch{
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.8) 0 2px,transparent 2px 5px);
}
.scenario-added-contract[data-hypothetical-pattern="dots"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="dots"] .contract-status-swatch{
  background-image:radial-gradient(circle at 25% 25%,rgba(255,255,255,.88) 0 15%,transparent 17%),radial-gradient(circle at 75% 75%,rgba(255,255,255,.88) 0 15%,transparent 17%);
}
.scenario-added-contract[data-hypothetical-pattern="crosshatch"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="crosshatch"] .contract-status-swatch{
  background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.6) 0 1px,transparent 1px 5px),repeating-linear-gradient(135deg,rgba(255,255,255,.6) 0 1px,transparent 1px 5px);
}
.scenario-added-contract[data-hypothetical-pattern="horizontal"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="horizontal"] .contract-status-swatch{
  background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.72) 0 2px,transparent 2px 5px);
}
.scenario-added-contract[data-hypothetical-pattern="vertical"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="vertical"] .contract-status-swatch{
  background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.72) 0 2px,transparent 2px 5px);
}
.scenario-added-contract[data-hypothetical-pattern="checker"] .scenario-added-contract-name i,
#experiment-panel [data-experiment-free-agent-legend][data-hypothetical-pattern="checker"] .contract-status-swatch{
  background-image:conic-gradient(rgba(255,255,255,.55) 25%,transparent 0 50%,rgba(255,255,255,.55) 0 75%,transparent 0);
  background-size:6px 6px;
}
#experiment-panel [data-experiment-free-agent-legend] .contract-status-swatch{
  border-color:var(--contract-border,#5421a6);
  background-color:var(--hypothetical-fill,#7c3aed);
}
.scenario-added-contract-value{
  grid-column:1;
  margin:2px 0 0;
  color:#174e4b;
  font-size:12px;
  font-weight:850;
  line-height:1.35;
}
.scenario-added-contract-basis{
  grid-column:1;
  color:var(--site-muted,#4f5b55);
  font-size:9.5px;
  font-weight:750;
}
.scenario-added-contract-protection{
  grid-column:1;
  color:#075e63;
  font-size:9.5px;
  font-weight:900;
}
.scenario-added-contract-method{
  grid-column:1;
  color:#57277b;
  font-size:9.5px;
  font-weight:900;
}
.scenario-added-contract-schedule{
  display:grid;
  grid-column:1/-1;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:5px;
}
.scenario-added-contract-schedule>span{
  display:grid;
  gap:3px;
  padding:8px 9px;
  border:1px solid #b9d5d1;
  border-radius:6px;
  background:rgba(255,255,255,.8);
}
.scenario-added-contract-schedule small{
  color:var(--site-muted,#4f5b55);
  font-size:9px;
  font-weight:800;
}
.scenario-added-contract-schedule strong{
  color:#075e63;
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.scenario-added-contract-guarantee{
  color:#57277b;
  font-size:9px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.scenario-added-contract-cap-share{
  color:#39716d;
  font-size:9px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.scenario-added-contract .scenario-remove-contract{
  grid-column:2;
  grid-row:1/6;
  align-self:start;
  min-height:34px;
  padding:7px 10px;
}
.scenario-add-another-wrap{
  display:flex;
  justify-content:flex-start;
  padding-top:2px;
}
.scenario-add-another-free-agent{
  appearance:none;
  min-height:42px;
  padding:10px 16px;
  border:1px solid #6d28d9;
  border-radius:7px;
  background:#6d28d9;
  color:#fff;
  font:900 11px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  touch-action:manipulation;
}
.scenario-add-another-free-agent:hover{background:#5b21b6}
.scenario-add-another-free-agent:focus-visible{
  outline:3px solid rgba(124,58,237,.3);
  outline-offset:3px;
}
.scenario-remove-contract,
.scenario-row-remove{
  min-height:28px;
  padding:5px 8px;
  border:1px solid #9bb7b2;
  border-radius:5px;
  background:#fff;
  color:#365a56;
  font:850 9px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.scenario-row-remove{
  display:block;
  margin-top:5px;
}
.scenario-row-remove:hover,
.scenario-row-remove:focus-visible{
  border-color:#a23535;
  color:#8a2323;
}
.scenario-table-wrap{
  width:100%;
  margin:0;
  overflow-x:auto;
  border:0;
  border-top:1px solid var(--site-line,#d7ded9);
  border-radius:0;
  background:#fff;
  overscroll-behavior-x:contain;
  scrollbar-color:#007f86 #dce6e2;
}
body.cap-enhancements-loading .cap-control-surface,
body.cap-enhancements-loading .view-panel{
  pointer-events:none;
  cursor:progress;
}
.scenario-table caption{
  text-align:center;
}
.active-contract-table.multi-contract-table.scenario-table{
  min-width:1180px;
}
.active-contract-table.multi-contract-table.scenario-table th,
.active-contract-table.multi-contract-table.scenario-table td{
  text-align:center;
}
.scenario-table .multi-season-status{
  justify-content:center;
}
.active-contract-table.multi-contract-table.scenario-table thead th:first-child,
.active-contract-table.multi-contract-table.scenario-table tbody th.contract-player{
  text-align:left;
}
.scenario-table tbody tr{
  height:44px;
}
.scenario-table .contract-player-cell{
  justify-content:flex-start;
}
.scenario-table .contract-headshot-shell,
.scenario-table .contract-headshot-fallback{
  width:28px;
  height:28px;
  flex-basis:28px;
}
.scenario-table .contract-headshot{
  width:28px;
  height:28px;
}
.scenario-table .multi-season-contract{
  padding-top:2px;
  padding-bottom:2px;
}
.scenario-table .multi-season-status,
.scenario-table .multi-season-details,
.scenario-table .scenario-option-effect{
  position:absolute;
  width:1px;
  height:1px;
  min-height:0;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.scenario-table .scenario-row-kind{
  margin-left:39px;
  text-align:left;
}
.scenario-table .scenario-row-remove{
  margin-right:auto;
  margin-left:39px;
}
.scenario-table tr.is-hypothetical .contract-player-cell{
  display:inline-flex;
  width:calc(100% - 36px);
  vertical-align:middle;
}
.scenario-contract-row-remove{
  appearance:none;
  display:inline-grid;
  width:28px;
  height:28px;
  margin-left:5px;
  place-items:center;
  border:1px solid #8b5cf6;
  border-radius:50%;
  background:#f3efff;
  color:#6d28d9;
  font:950 18px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  vertical-align:middle;
  cursor:pointer;
}
.scenario-contract-row-remove:hover{border-color:#6d28d9;background:#e9e1ff;color:#4c1d95}
.scenario-contract-row-remove:focus-visible{
  outline:3px solid rgba(124,58,237,.3);
  outline-offset:2px;
}
.scenario-table .scenario-row-kind.is-hypothetical,
.scenario-table .scenario-row-remove{
  display:none;
}
.scenario-table tr.is-trade-in .scenario-row-remove,
.scenario-table tr.is-trade-out .scenario-row-remove{
  display:block;
  border-color:#007f86;
  color:#075e63;
}
.scenario-table tr.is-trade-in .scenario-row-remove:hover,
.scenario-table tr.is-trade-in .scenario-row-remove:focus-visible,
.scenario-table tr.is-trade-out .scenario-row-remove:hover,
.scenario-table tr.is-trade-out .scenario-row-remove:focus-visible{
  border-color:#007f86;
  background:#eaf7f6;
  color:#075e63;
}
.scenario-table-heading{
  display:flex;
  align-items:center;
  min-height:32px;
}
.scenario-table thead .scenario-table-heading{
  justify-content:center;
}
.scenario-table thead th:first-child .scenario-table-heading{
  justify-content:flex-start;
}
.scenario-table tbody tr.is-hypothetical{
  background:#f1fbfa;
}
.scenario-table tbody tr.is-hypothetical:hover{
  background:#e8f8f5;
}
.scenario-table tbody tr.is-hypothetical .contract-player{
  box-shadow:inset 4px 0 0 #007f86;
}
.scenario-row-kind{
  display:none;
}
.scenario-row-kind.is-hypothetical{
  display:block;
  margin:3px 0 0 39px;
  color:#075e63;
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.scenario-cell{
  position:relative;
}
.scenario-cell.is-excluded{
  background:#fff3f1;
  color:#8a2323;
}
.scenario-cell.is-excluded .multi-season-amount{
  text-decoration:line-through;
  opacity:.66;
}
.scenario-cell-status{
  display:block;
  margin-top:4px;
  color:#8a2323;
  font-size:8px;
  font-weight:800;
  line-height:1.25;
}
.scenario-option-cell{
  background:#fffbf3;
  box-shadow:inset 0 3px 0 var(--site-tangerine,#f28c28);
}
.scenario-option-cell.is-option-exercised{background:#edf3f0;box-shadow:inset 0 3px 0 #78938d}
.scenario-option-cell.is-option-exercised .contract-status-swatch{--contract-fill-rgb:220,231,226!important;--contract-border:#78938d!important}
.scenario-option-control{
  min-width:0;
  margin:2px -2px 0;
  padding:0;
  border:0;
}
.scenario-option-choices{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px;
  margin-top:1px;
}
.scenario-option-choice span{
  min-height:22px;
  height:22px;
  padding:2px;
  border-radius:4px;
  font-size:7.5px;
  line-height:1;
  text-align:center;
  white-space:normal;
}
.scenario-option-choice input:checked + span{
  border-color:#007f86;
  background:#e6f7f5;
  box-shadow:inset 0 0 0 1px rgba(0,127,134,.08);
}
.scenario-option-choice input[value="exclude"]:checked + span{
  border-color:#a23535;
  background:#ffeded;
}
.scenario-option-control.is-superseded{
  opacity:.58;
}
.scenario-option-control.is-superseded .scenario-option-choice span{
  background:#f1f2f0;
}
.scenario-option-effect{
  display:block;
  min-height:0;
  margin-top:3px;
  color:#8a2323;
  font-size:7.5px;
  font-weight:800;
  line-height:1.2;
  text-align:right;
}
.scenario-table .scenario-option-effect{
  text-align:center;
}
.scenario-visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.scenario-table .contract-extension-eligibility,
.scenario-table .contract-trade-eligibility{
  text-align:center;
}
.contract-extension-eligibility.is-restricted{
  color:var(--site-orange-dark,#a9530a);
  font-weight:850;
}
.scenario-table tfoot tr:first-child th,
.scenario-table tfoot tr:first-child td{
  border-top:1px solid var(--site-line,#d7ded9);
  background:#fbfcfa;
  font-weight:850;
}
.scenario-table tfoot .multi-signed-roster-total th,
.scenario-table tfoot .multi-signed-roster-total td{
  border-top:2px solid var(--site-line,#d7ded9);
  background:var(--site-soft,#eef3f1);
  font-weight:900;
}
.scenario-disclaimer{
  margin:0;
  padding:10px 14px 12px;
  border-top:1px solid var(--site-line,#d7ded9);
  background:#fbfcfa;
}
@media(max-width:1100px){
  .scenario-contract-composer .scenario-contract-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .scenario-contract-composer .scenario-field-wide,
  .scenario-contract-composer .scenario-free-agent-field,
  .scenario-contract-composer .scenario-form-help,
  .scenario-contract-composer .scenario-form-error,
  .scenario-contract-composer .scenario-exceptions-panel,
  .scenario-contract-composer .scenario-cba-message{
    grid-column:1/-1;
    grid-row:auto;
  }
}
@media(max-width:1100px){
  .scenario-contract-composer .scenario-start-season-field{
    grid-column:1;
    grid-row:1;
  }
  .scenario-contract-composer .scenario-term-field{
    grid-column:2;
    grid-row:1;
  }
  .scenario-contract-composer .scenario-free-agent-field{
    grid-row:2;
  }
  .scenario-contract-composer .scenario-structure-field{
    grid-column:1;
    grid-row:3;
  }
  .scenario-contract-composer .scenario-amount-field{
    grid-column:2;
    grid-row:3;
  }
  .scenario-contract-composer .scenario-option-field{
    grid-column:1;
    grid-row:4;
  }
  .scenario-contract-composer .scenario-guarantee-field{
    grid-column:2;
    grid-row:4;
  }
  .scenario-contract-composer .scenario-annual-change-field{
    grid-column:1;
    grid-row:5;
  }
  .scenario-contract-composer .scenario-exceptions-field{
    grid-column:2;
    grid-row:5;
  }
}
@media(max-width:760px){
  .scenario-workspace-header{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .scenario-contract-composer{
    margin:10px;
  }
  .scenario-contract-composer .scenario-contract-form{
    padding:12px;
  }
  .scenario-field input,
  .scenario-field select,
  .scenario-structure-options span,
  .scenario-exceptions-button{
    min-height:46px;
  }
  .scenario-exceptions-button{
    width:100%;
  }
  .scenario-free-agent-results{
    width:min(520px,calc(100vw - var(--cap-page-gutter,15px) - var(--cap-page-gutter,15px) - 28px));
    max-height:min(350px,55dvh);
  }
  .scenario-free-agent-option{
    min-height:58px;
  }
  .scenario-added-contracts{
    padding-right:12px;
    padding-bottom:12px;
    padding-left:12px;
  }
  .scenario-season-summary{
    padding:12px;
  }
}
@media(max-width:760px){
  .scenario-cap-workspace>.scenario-summary{
    padding:0 12px 12px;
  }
}
@media(max-width:560px){
  .scenario-workspace-header{
    padding:14px;
  }
  .scenario-contract-composer .scenario-contract-form{
    grid-template-columns:1fr;
  }
  .scenario-contract-composer .scenario-start-season-field,
  .scenario-contract-composer .scenario-free-agent-field,
  .scenario-contract-composer .scenario-term-field,
  .scenario-contract-composer .scenario-structure-field,
  .scenario-contract-composer .scenario-amount-field,
  .scenario-contract-composer .scenario-option-field,
  .scenario-contract-composer .scenario-guarantee-field,
  .scenario-contract-composer .scenario-annual-change-field,
  .scenario-contract-composer .scenario-exceptions-field{
    grid-column:1;
    grid-row:auto;
  }
  .scenario-amount-field{
    grid-template-columns:minmax(155px,.95fr) minmax(0,1.05fr);
  }
  .scenario-contract-composer .scenario-amount-basis{
    padding-right:7px;
    padding-left:7px;
    font-size:9px;
  }
  .scenario-contract-composer #scenario-structure-help{
    min-height:0;
    padding:9px 10px;
    font-size:10.5px;
  }
  .scenario-exceptions-panel{
    max-height:min(470px,70dvh);
    padding:11px;
  }
  .scenario-exceptions-header{
    gap:10px;
  }
  .scenario-free-agent-pool-note{
    align-items:flex-start;
    flex-direction:column;
  }
  .scenario-free-agent-pool-note a{
    white-space:normal;
  }
  .scenario-added-contract{
    width:100%;
    min-width:0;
    border-radius:7px;
  }
  .scenario-added-contract-schedule{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #scenario-exception-list{
    grid-template-columns:1fr;
  }
  .scenario-add-another-wrap,
  .scenario-add-another-free-agent{
    width:100%;
  }
}
@media print{
  .scenario-contract-composer,
  .scenario-option-key,
  .scenario-option-control,
  .scenario-row-remove{
    display:none;
  }
}

/* Experiment: the full Multi-Year view with live scenario controls */
.experiment-panel{padding-top:4px;color:var(--site-ink,#17211f)}
.experiment-shell{display:grid;gap:16px}
#experiment-composer-host .scenario-contract-composer{margin:0;box-shadow:0 10px 26px rgba(25,34,30,.07)}
.scenario-contract-composer>.experiment-contract-start-cue{
  display:flex;
  box-sizing:border-box;
  width:100%;
  align-items:center;
  gap:10px;
  margin:0;
  padding:10px 14px;
  border:0;
  border-bottom:1px solid #cbd8d3;
  border-radius:0;
  background:#f8fbfa;
  color:#075e63;
  line-height:1.25;
}
.experiment-contract-start-cue>span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.095em;
  text-transform:uppercase;
}
.experiment-contract-start-cue>strong{
  padding:4px 9px;
  border-radius:999px;
  background:#007f86;
  color:#fff;
  font-size:14px;
  font-weight:950;
  white-space:nowrap;
}
.experiment-contract-start-cue>small{
  flex:1 1 280px;
  color:#356c6f;
  font-size:11.5px;
  font-weight:750;
}
#experiment-multi-mount .vertical-season-heading.is-contract-start-season,
#experiment-multi-mount .vertical-season-context.is-contract-start-season{
  fill:#c7650f;
}
#experiment-multi-mount .vertical-season-heading.is-contract-start-season{
  font-weight:950;
}
#experiment-multi-mount .vertical-season-bar.is-contract-start-season{
  fill:#fff4e5;
  fill-opacity:.92;
  stroke:var(--site-tangerine,#f28c28);
  stroke-width:5px;
  filter:drop-shadow(0 2px 4px rgba(199,101,15,.2));
}
.experiment-option-editor{
  display:flex;
  position:fixed;
  z-index:130;
  box-sizing:border-box;
  width:min(430px,calc(100vw - 16px));
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 16px;
  border:1px solid #9ccfd0;
  border-left:4px solid #007f86;
  border-radius:9px;
  background:#f2fbfa;
  box-shadow:0 8px 22px rgba(25,34,30,.06);
}
.active-option-action-area{
  display:grid;
  gap:9px;
  width:100%;
  margin-top:10px;
}
.active-option-action-area[hidden]{display:none}
.active-option-editor-host{min-width:0}
.active-option-editor-host>.experiment-option-editor.is-active-inline{
  position:relative;
  inset:auto;
  z-index:2;
  width:100%;
  max-height:none;
  overflow:visible;
}
.active-option-editor-host>.experiment-option-editor.is-active-inline::after{display:none}
.active-option-decisions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px 12px;
  border:1px solid #e1b1b1;
  border-radius:8px;
  background:#fff9f8;
}
.active-option-decisions[hidden]{display:none}
.active-option-decision{background:#fff}
.active-option-decision button{white-space:nowrap}
.experiment-option-editor::after{
  content:"";
  position:absolute;
  width:12px;
  height:12px;
  border:1px solid #9ccfd0;
  background:#f2fbfa;
  transform:rotate(45deg);
}
.experiment-option-editor[data-placement="right"]::after{
  top:var(--experiment-popover-arrow-top,50%);
  left:-7px;
  border-top:0;
  border-right:0;
  transform:translateY(-50%) rotate(45deg);
}
.experiment-option-editor[data-placement="left"]::after{
  top:var(--experiment-popover-arrow-top,50%);
  right:-7px;
  border-bottom:0;
  border-left:0;
  transform:translateY(-50%) rotate(45deg);
}
.experiment-option-editor[data-placement="above"]::after{
  bottom:-7px;
  left:var(--experiment-popover-arrow-left,50%);
  border-top:0;
  border-left:0;
  transform:translateX(-50%) rotate(45deg);
}
.experiment-option-editor[data-placement="below"]::after{
  top:-7px;
  left:var(--experiment-popover-arrow-left,50%);
  border-right:0;
  border-bottom:0;
  transform:translateX(-50%) rotate(45deg);
}
.experiment-option-editor[data-placement="mobile"]::after{display:none}
.experiment-option-editor.is-pinned{box-shadow:0 14px 38px rgba(23,33,31,.22)}
.experiment-option-editor[hidden]{display:none}
.experiment-option-editor.is-chart-popover{
  z-index:1100;
  width:min(300px,calc(100vw - 16px));
  align-items:stretch;
  flex-direction:column;
  gap:8px;
  padding:8px;
  border:2px solid #008c95;
  border-radius:8px;
  background:#fff;
  color:#172033;
  box-shadow:0 9px 25px rgba(23,32,51,.24);
}
.experiment-option-editor.is-chart-popover::after{border-width:2px;border-color:#008c95;background:#fff}
.experiment-option-editor.is-chart-popover .experiment-option-player{
  grid-template-columns:48px minmax(0,1fr);
  gap:9px;
}
.experiment-option-editor.is-chart-popover .experiment-option-headshot-shell{
  width:48px;
  height:48px;
  flex-basis:48px;
}
.experiment-option-editor.is-chart-popover .scenario-eyebrow{display:none}
.experiment-option-editor.is-chart-popover h2{
  color:#172033;
  font-size:12px;
  font-weight:900;
  line-height:1.1;
}
.experiment-option-editor.is-chart-popover p:last-child{
  margin-top:4px;
  color:#4f5b55;
  font-size:11px;
  line-height:1.2;
}
.experiment-option-editor.is-chart-popover fieldset{
  width:100%;
  gap:6px;
}
.experiment-option-editor.is-chart-popover button{
  min-height:32px;
  padding:5px 8px;
  font-size:10px;
}
.experiment-option-player{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;min-width:0;flex:1 1 auto}
.experiment-option-copy{min-width:0}
.experiment-option-headshot-shell{display:grid;width:56px;height:56px;flex:0 0 56px;place-items:center;overflow:hidden;border:1px solid #b8d7d4;border-radius:50%;background:#e6f3f1}
.experiment-option-headshot{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;background:#e6f3f1}
.experiment-option-headshot-fallback{display:grid;width:100%;height:100%;place-items:center;background:#e6f3f1}
.experiment-option-headshot[hidden],
.experiment-option-headshot-fallback[hidden]{display:none}
.experiment-option-headshot-fallback{color:#28524e;font-size:14px;font-weight:950;letter-spacing:.025em}
.experiment-option-editor h2{margin:0;font-size:18px;line-height:1.2}
.experiment-option-editor p:last-child{margin:5px 0 0;color:var(--site-muted,#4f5b55);font-size:11px;font-weight:750}
.experiment-option-editor fieldset{
  display:grid;
  width:176px;
  flex:0 0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
  padding:0;
  border:0;
}
.experiment-option-editor legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.experiment-option-editor button,
.experiment-decision button{
  appearance:none;
  box-sizing:border-box;
  min-height:35px;
  padding:7px 13px;
  border:1px solid #78938d;
  border-radius:999px;
  background:#fff;
  color:#20332f;
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.experiment-option-editor button{width:100%;min-width:0}
.experiment-option-editor button[aria-pressed="true"]{border-color:#006b70;background:#007f86;color:#fff;box-shadow:0 0 0 2px rgba(0,127,134,.16)}
.experiment-option-editor button:focus-visible,
.experiment-decision button:focus-visible{outline:3px solid rgba(0,127,134,.28);outline-offset:2px}
.experiment-decisions{display:flex;flex-wrap:wrap;gap:8px}
.experiment-decisions[hidden]{display:none}
.experiment-decision{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 11px;border:1px solid #e1b1b1;border-radius:999px;background:#fff5f4;color:#642323;font-size:10px}
.experiment-decision.is-include{border-color:#9db9b3;background:#edf6f2;color:#244c43}
.experiment-decision.is-include button{border-color:#78938d;color:#315f55}
.experiment-decision strong{font-weight:900}
.experiment-decision small{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.experiment-decision button{min-height:28px;padding:4px 9px;border-color:#bf7676;color:#7d2626}
#experiment-multi-mount{min-width:0}
#experiment-panel .vertical-salary-segment,
#experiment-panel .vertical-zero-contract{cursor:pointer;outline:none}
#experiment-panel .vertical-salary-segment:focus-visible>rect,
#experiment-panel .vertical-zero-contract:focus-visible>rect{
  stroke:#172033;
  stroke-width:2.5;
  stroke-opacity:1;
}
#experiment-panel .vertical-salary-segment.is-selected>rect,
#experiment-panel .vertical-zero-contract.is-selected>rect{
  stroke:#008c95;
  stroke-width:4.5;
  stroke-opacity:1;
  filter:drop-shadow(0 0 2px rgba(0,140,149,.58));
}
#active-team-mount .player-segment.is-option-exercised>rect:not(.guarantee-unsecured-overlay),
#multi-team-mount .player-segment.is-option-exercised>rect:not(.guarantee-unsecured-overlay),
#experiment-multi-mount .player-segment.is-option-exercised>rect:not(.guarantee-unsecured-overlay){fill:#dce7e2!important;stroke:#78938d!important;stroke-width:1.5px;stroke-opacity:1}
#experiment-panel .experiment-option-contract>rect,
#active-roster-panel .experiment-option-contract>rect{
  cursor:pointer;
  stroke:#0f6f74;
  stroke-width:2;
  stroke-opacity:1;
  filter:drop-shadow(0 0 1px rgba(0,127,134,.38));
}
#experiment-panel .experiment-option-contract:hover>rect,
#experiment-panel .experiment-option-contract:focus-visible>rect,
#experiment-panel .experiment-option-contract[aria-expanded="true"]>rect,
#active-roster-panel .experiment-option-contract:hover>rect,
#active-roster-panel .experiment-option-contract:focus-visible>rect,
#active-roster-panel .experiment-option-contract[aria-expanded="true"]>rect{
  stroke:#003f43;
  stroke-width:4;
  filter:drop-shadow(0 0 3px rgba(0,127,134,.62));
}
#experiment-panel .experiment-hypothetical-segment>rect{
  fill:var(--experiment-hypothetical-fill,#7c3aed);
  fill-opacity:.92;
  stroke:#fff;
  stroke-width:1.25;
  stroke-opacity:.95;
}
#experiment-panel .multi-season-contract[data-experiment-option-id]{cursor:pointer;outline:none}
#experiment-panel .multi-season-contract[data-experiment-option-id]:focus-visible{box-shadow:inset 0 0 0 3px #007f86}
#experiment-panel .multi-season-contract.is-excluded{background:#fff5f4;color:#7d2626}
#experiment-panel .experiment-table tbody tr{height:48px}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-controls{
  display:grid;
  width:min(100px,100%);
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin:2px auto 0;
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button{
  appearance:none;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:22px;
  padding:2px 1px;
  border:1px solid #9aa9a4;
  border-radius:4px;
  background:#fff;
  color:#33443f;
  font:850 10px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  touch-action:manipulation;
  white-space:nowrap;
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button:hover:not(:disabled){border-color:#526c65}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button:focus-visible{
  outline:3px solid rgba(0,127,134,.28);
  outline-offset:2px;
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button.is-include[aria-pressed="true"]{
  border-color:#00726f;
  background:#e4f6f2;
  color:#075e5b;
  box-shadow:inset 0 0 0 1px rgba(0,114,111,.1);
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button.is-exclude[aria-pressed="true"]{
  border-color:#a23535;
  background:#ffeded;
  color:#842525;
  box-shadow:inset 0 0 0 1px rgba(162,53,53,.08);
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .experiment-table-option-button:disabled{
  border-color:#d3d8d5;
  background:#f0f2f1;
  color:#89928f;
  cursor:not-allowed;
  opacity:.72;
}
#active-roster-panel .active-contract-table tr.is-option-excluded{
  background:#fff5f4;
  color:#7d2626;
}
#active-roster-panel .active-contract-table tr.is-option-excluded:hover{background:#ffedeb}

.experiment-cell-state{display:block;margin-top:3px;color:inherit;font-size:8px;font-weight:850;line-height:1.15}
#experiment-panel .experiment-hypothetical-row{background:#f5f0ff}
#experiment-panel .experiment-hypothetical-cell{color:#5b21b6}
.experiment-row-label{display:block;margin-top:3px;color:#5b21b6;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.035em}

/* FREE AGENCY MACHINE CAP TABLE COMPACT MODE
   Isolated here so this table-only density pass can be reverted as one block. */
#experiment-panel .active-contract-table.multi-contract-table.experiment-table{
  min-width:900px;
}
#experiment-panel .experiment-table .contract-col-player{width:16%}
#experiment-panel .experiment-table .contract-col-position{width:4%}
#experiment-panel .experiment-table .contract-col-age{width:4%}
#experiment-panel .experiment-table .multi-contract-col-season{width:11%}
#experiment-panel .experiment-table .contract-col-extension,
#experiment-panel .experiment-table .contract-col-trade{width:10.5%}
#experiment-panel .experiment-table th,
#experiment-panel .experiment-table td{
  padding:3px 5px;
}
#experiment-panel .experiment-table thead .scenario-table-heading{
  min-height:28px;
  font-size:10px;
  line-height:1.1;
  white-space:normal;
}
#experiment-panel .experiment-table tbody tr{height:40px}
#experiment-panel .experiment-table .contract-player-cell{gap:5px}
#experiment-panel .experiment-table .contract-headshot-shell,
#experiment-panel .experiment-table .contract-headshot-fallback,
#experiment-panel .experiment-table .contract-headshot{
  width:24px;
  height:24px;
  flex-basis:24px;
}
#experiment-panel .experiment-table .contract-player-name,
#experiment-panel .experiment-table .multi-season-amount{
  font-size:11px;
  line-height:1.1;
}
#experiment-panel .experiment-table .contract-player-name{
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
}
#experiment-panel .experiment-table .contract-guarantee-note,
#experiment-panel .experiment-table .guarantee-cut-effect,
#experiment-panel .experiment-table .guarantee-dead-money-state,
#experiment-panel .experiment-table .experiment-cell-state,
#experiment-panel .experiment-table .experiment-row-label{
  margin-top:1px;
  font-size:10px;
  line-height:1.1;
}
#experiment-panel .experiment-table .guarantee-cut-control{
  gap:3px;
  margin-top:2px;
}
#experiment-panel .experiment-table .guarantee-cut-button{
  min-height:24px;
  padding:3px 7px;
  font-size:10px;
}
#experiment-panel .experiment-table tfoot th,
#experiment-panel .experiment-table tfoot td{
  padding-top:4px;
  padding-bottom:4px;
  font-size:10.5px;
  line-height:1.15;
}
@media(max-width:1100px){
  #experiment-panel .vertical-comparison-frame>.experiment-table-wrap{
    position:sticky;
    left:0;
    width:calc(100vw - var(--cap-page-gutter) - var(--cap-page-gutter) - 2px);
    align-self:flex-start;
  }
  #experiment-panel .experiment-table .guarantee-cut-button{
    min-height:44px;
  }
}
/* END FREE AGENCY MACHINE CAP TABLE COMPACT MODE */

/* MULTI-YEAR + FREE AGENCY CAP TABLE FIT
   Keep every column in the visible chart viewport on tablet and desktop. */
:is(#multi-year-panel,#experiment-panel) .vertical-comparison-frame>.multi-contract-table-wrap{
  position:sticky;
  left:0;
  width:min(100%,calc(100vw - var(--cap-page-gutter) - var(--cap-page-gutter) - 2px));
  align-self:flex-start;
  overflow-x:auto;
}
:is(#multi-year-panel,#experiment-panel) .active-contract-table.multi-contract-table{
  min-width:760px;
  font-size:11px;
  line-height:1.12;
}
#experiment-panel .active-contract-table.multi-contract-table.experiment-table{min-width:760px}
#multi-year-panel .multi-contract-table .contract-col-player{width:15%}
#multi-year-panel .multi-contract-table .contract-col-position{width:4%}
#multi-year-panel .multi-contract-table .contract-col-age{width:4%}
#multi-year-panel .multi-contract-table .multi-contract-col-season{width:13%}
#multi-year-panel .multi-contract-table .contract-col-extension,
#multi-year-panel .multi-contract-table .contract-col-trade{width:12.5%}
#experiment-panel .experiment-table .contract-col-player{width:15%}
#experiment-panel .experiment-table .contract-col-position{width:3.5%}
#experiment-panel .experiment-table .contract-col-age{width:3.5%}
#experiment-panel .experiment-table .multi-contract-col-season{width:11%}
#experiment-panel .experiment-table .contract-col-extension,
#experiment-panel .experiment-table .contract-col-trade{width:11.5%}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table th,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table td{
  padding:3px 4px;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table thead .contract-sort-button,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table thead .scenario-table-heading{
  min-height:28px;
  font-size:9.5px;
  line-height:1.1;
  white-space:normal;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table tbody tr{height:38px}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-player-cell{gap:4px}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-headshot-shell,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-headshot-fallback,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-headshot{
  width:24px;
  height:24px;
  flex-basis:24px;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-player-name,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-amount{
  font-size:10.5px;
  line-height:1.1;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .contract-player-name{
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-contract{
  padding-top:3px;
  padding-bottom:3px;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-contract:has(>.experiment-table-option-controls){
  padding-left:0;
  padding-right:0;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-contract:has(>.experiment-table-option-controls)>.multi-season-status,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-contract:has(>.experiment-table-option-controls)>.multi-season-details{
  display:none;
}
#active-roster-panel .active-contract-table td.contract-status:has(>.experiment-table-option-controls)>.contract-status-label,
#active-roster-panel .active-contract-table td.contract-status:has(>.experiment-table-option-controls)>.contract-detail{
  display:none;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-status,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table .multi-season-details{
  margin-top:1px;
  font-size:8.5px;
  line-height:1.08;
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .active-contract-table .experiment-table-option-controls{
  width:min(94px,100%);
  gap:1px;
}
:is(#multi-year-panel,#experiment-panel,#active-roster-panel) .active-contract-table .experiment-table-option-button{
  padding-left:0;
  padding-right:0;
  font-size:8.5px;
  letter-spacing:-.15px;
}
:is(#multi-year-panel,#experiment-panel) .multi-contract-table tfoot th,
:is(#multi-year-panel,#experiment-panel) .multi-contract-table tfoot td{
  padding-top:4px;
  padding-bottom:4px;
  font-size:10.5px;
  line-height:1.15;
}
@media(min-width:761px){
  :is(#multi-year-panel,#experiment-panel) .active-contract-table.multi-contract-table{
    min-width:100%;
  }
  #experiment-panel .active-contract-table.multi-contract-table.experiment-table{min-width:100%}
}
@media(max-width:1100px){
  :is(#multi-year-panel,#experiment-panel) .multi-contract-table tbody tr{height:42px}
  :is(#multi-year-panel,#active-roster-panel,#experiment-panel) .experiment-table-option-button{
    min-height:44px;
  }
  :is(#multi-year-panel,#experiment-panel,#active-roster-panel) .active-contract-table .experiment-table-option-button{
    letter-spacing:-.45px;
  }
}
@media(min-width:761px) and (max-width:1100px){
  :is(#multi-year-panel,#experiment-panel,#active-roster-panel) .active-contract-table .experiment-table-option-button{
    min-height:30px;
  }
}

@media(max-width:760px){
  .cap-control-surface .view-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  #experiment-panel .vertical-comparison-frame>.experiment-trade-workspace-host{
    position:sticky;
    left:0;
    order:4;
    width:calc(100vw - var(--cap-page-gutter) - var(--cap-page-gutter) - 2px);
  }
  .experiment-contract-start-cue{
    flex-wrap:wrap;
    gap:7px 9px;
    padding:10px 11px;
  }
  .experiment-contract-start-cue>small{width:100%}
  .experiment-contract-start-cue>.experiment-contract-trade-toggle{width:100%;margin-left:0}
  .experiment-option-editor{max-height:calc(100dvh - 16px);align-items:stretch;flex-direction:column;gap:12px;overflow-y:auto}
  .experiment-option-editor fieldset{width:100%}
}
@media(max-width:560px){
  .experiment-option-editor{padding:12px}
  .experiment-option-player{grid-template-columns:44px minmax(0,1fr);gap:10px}
  .experiment-option-headshot-shell{width:44px;height:44px;flex-basis:44px}
  .experiment-option-editor h2{font-size:16px}
  .experiment-option-editor button{min-height:44px;flex:1 1 120px}
  .experiment-option-editor.is-chart-popover button{min-height:44px}
  .experiment-decision{width:100%;border-radius:8px}
  .experiment-decision button{min-height:40px;margin-left:auto}
}
.cap-option-decision-ghost{
  pointer-events:none;
  transform-box:fill-box;
  transform-origin:center;
  will-change:opacity,transform;
}
.cap-option-decision-ghost>rect:not(.guarantee-unsecured-overlay){
  stroke:#B91C1C;
  stroke-width:2.5px;
}
.cap-option-decision-ghost.is-active.is-animating{
  animation:cap-option-decision-exit-horizontal .52s cubic-bezier(.2,.72,.25,1) forwards;
}
.cap-option-decision-ghost.is-multi.is-animating{
  animation:cap-option-decision-exit-vertical .52s cubic-bezier(.2,.72,.25,1) forwards;
}
.cap-option-decision-accepted{
  transform-box:fill-box;
  transform-origin:center;
  animation:cap-option-decision-accept .48s cubic-bezier(.2,.72,.25,1);
  will-change:filter,transform;
}
.cap-option-decision-accepted>rect:not(.guarantee-unsecured-overlay){
  animation:cap-option-decision-accept-stroke .48s cubic-bezier(.2,.72,.25,1);
}
[data-option-decision-motion] :is(.active-spend-line,.vertical-spend-line){
  animation:cap-option-decision-total .5s ease-out;
}
[data-option-decision-motion] :is(.active-spend-envelope,.vertical-spend-envelope){
  animation:cap-option-decision-envelope .5s ease-out;
}
.cap-option-decision-feedback{
  position:fixed;
  z-index:3200;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  max-width:min(440px,calc(100vw - 32px));
  padding:10px 13px;
  border:1px solid #166534;
  border-radius:999px;
  background:#ecfdf3;
  box-shadow:0 10px 28px rgba(23,32,51,.2);
  color:#14532d;
  font-size:11px;
  font-weight:900;
  line-height:1.25;
  pointer-events:none;
  animation:cap-option-decision-feedback 1.2s cubic-bezier(.2,.72,.25,1) forwards;
}
.cap-option-decision-feedback.is-exclude{
  border-color:#B91C1C;
  background:#fff1f2;
  color:#881337;
}
@keyframes cap-option-decision-exit-horizontal{
  0%{opacity:1;transform:scaleX(1)}
  35%{opacity:.82;transform:scaleX(1.015)}
  100%{opacity:0;transform:scaleX(.06)}
}
@keyframes cap-option-decision-exit-vertical{
  0%{opacity:1;transform:scaleY(1)}
  35%{opacity:.82;transform:scaleY(1.025)}
  100%{opacity:0;transform:scaleY(.06)}
}
@keyframes cap-option-decision-accept{
  0%,100%{filter:none;transform:scale(1)}
  38%{filter:drop-shadow(0 0 7px rgba(21,128,61,.65));transform:scale(1.035)}
}
@keyframes cap-option-decision-accept-stroke{
  38%{stroke:#15803d;stroke-width:3px}
}
@keyframes cap-option-decision-total{
  0%,100%{filter:none;opacity:1}
  45%{filter:drop-shadow(0 0 5px rgba(0,127,134,.65));opacity:.62}
}
@keyframes cap-option-decision-envelope{
  0%,100%{opacity:1}
  45%{opacity:.68}
}
@keyframes cap-option-decision-feedback{
  0%{opacity:0;transform:translateY(8px) scale(.98)}
  12%,82%{opacity:1;transform:translateY(0) scale(1)}
  100%{opacity:0;transform:translateY(4px) scale(.99)}
}
@media(prefers-reduced-motion:reduce){
  .cap-option-decision-ghost{display:none!important}
  .cap-option-decision-accepted,
  .cap-option-decision-accepted>rect:not(.guarantee-unsecured-overlay),
  [data-option-decision-motion] :is(.active-spend-line,.vertical-spend-line),
  [data-option-decision-motion] :is(.active-spend-envelope,.vertical-spend-envelope),
  .cap-option-decision-feedback{animation:none!important}
}
@media(max-width:1100px){
  .scenario-trade-form{
    grid-template-columns:minmax(180px,1fr) 30px minmax(180px,1fr) minmax(120px,.65fr);
  }
}
@media(max-width:680px){
  .scenario-trade-header{align-items:stretch;flex-direction:column;gap:10px}
  .scenario-trade-header-actions{display:grid;grid-template-columns:1fr 1fr}
  .scenario-trade-header-actions .scenario-change-count{grid-column:1/-1;text-align:center}
  .scenario-trade-toggle,.scenario-reset-button{width:100%}
  .scenario-trade-panel{padding-inline:12px}
  .scenario-trade-form{grid-template-columns:1fr;gap:8px}
  .scenario-trade-arrow{min-height:20px;transform:rotate(90deg)}
  .scenario-trade-season-field{grid-column:1}
  .scenario-trade-list{grid-template-columns:1fr;padding-inline:12px}
  .scenario-trade-results{position:relative;top:5px;max-height:260px}
  .scenario-trade-card{grid-template-columns:minmax(0,1fr)}
  .scenario-trade-card button{grid-column:1;grid-row:auto;width:100%;margin-top:5px}
}
@media print{
  #experiment-composer-host,
  .experiment-option-editor,
  .experiment-decisions,
  .cap-option-decision-feedback,
  .cap-option-decision-ghost{display:none!important}
}
