/* /cost: what peeking costs a team. Builds on the Two Ships panels (.ts-panel, .ts-num) in ulysses.css. */
.cs-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: var(--s-4); align-items: start;
  background: var(--sheet); border: 1px solid var(--rule); padding: var(--s-4); margin-bottom: var(--s-5); }
.cs-field { min-width: 0; }
.cs-field input[type="number"] { font: 500 16px/24px var(--f-mono); min-height: 44px; padding: 0 12px; border: 1px solid var(--rule);
  border-radius: 2px; background: var(--sheet); color: var(--ink); width: 100%; }
.cs-unit { display: flex; align-items: center; gap: 6px; }
.cs-unit span { font: 500 16px var(--f-mono); color: var(--graphite); }
.cs-hint { font-size: 12.5px; line-height: 17px; color: var(--graphite); margin-top: 6px; }
.cs-go { align-self: start; padding-top: 22px; }
.cs-siren { color: var(--flagsmith); font-weight: 600; }
.cs-sentence { font: 400 24px/34px var(--f-doc); max-width: 60ch; margin: var(--s-2) 0 var(--s-2); padding-left: var(--s-4);
  border-left: 3px solid var(--contract); }
.cs-sub { font-size: 15px; line-height: 22px; color: var(--graphite); margin-bottom: var(--s-5); max-width: 90ch; }
.cs-panel { gap: 6px; }
.cs-num { min-width: 0; text-align: left; }
.cs-row { display: block; width: 100%; height: auto; margin-top: var(--s-2); }
.cs-hull path { fill: none; stroke: var(--rule); stroke-width: 1.2; stroke-linejoin: round; }
.cs-ship path { fill: var(--loss); stroke: var(--loss); stroke-width: 1.2; stroke-linejoin: round; }
.cs-ship .cs-sail { fill: var(--sheet); }
.ts-panel[data-side="right"] .cs-ship path { fill: var(--loss); }
.cs-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; line-height: 18px; color: var(--graphite); margin-top: var(--s-3); }
.cs-legend svg { width: 20px; height: 20px; flex: none; }
.cs-legend svg + svg, .cs-legend svg:not(:first-child) { margin-left: 12px; }
.cs-small { font-size: 14px; line-height: 20px; max-width: 100ch; }
.cs-how { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.cs-formula { font-size: 13px; line-height: 21px; background: var(--sheet); }
.cs-h3 { font: 600 16px/24px var(--f-ui); margin: var(--s-3) 0 0; }
.cs-notes p + p { margin-top: 8px; }
@media (max-width: 1080px) { .cs-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-go { padding-top: 0; } }
@media (max-width: 560px) { .cs-form { grid-template-columns: 1fr; } .cs-sentence { font-size: 20px; line-height: 29px; } }
