/* V036: stacked opaque controls + table headings, without double sticky offsets. */
.shot-log .sl-toolbar,
.shot-log .sl-pinned-front {
  position: sticky !important;
  top: var(--sl-adminbar-height, 0px) !important;
  z-index: 900;
  box-sizing: border-box;
  isolation: isolate;
}
.shot-log .sl-toolbar { background:#f0f0f1; }
.shot-log .sl-pinned-front { background:#fff; padding:8px 0 1px; }
.shot-log .sl-pinned-front > :last-child { margin-bottom:12px; }
.shot-log .sl-editor-sticky-header,
.shot-log .sl-record-stepper-sticky {
  top:calc(var(--sl-adminbar-height,0px) + var(--sl-sticky-toolbar-height,0px) + 4px) !important;
}
.shot-log:not(.sl-floating-header) .sl-admin-table thead th,
.shot-log:not(.sl-floating-header) .sl-compact-table thead th,
.shot-log:not(.sl-floating-header) .sl-mfg-shared-table thead th {
  position:static !important; top:auto !important; z-index:auto !important;
}
.shot-log.sl-floating-header.sl-v036-floating {
  position:fixed; z-index:899; pointer-events:auto; overflow:hidden;
  background:#f2f5f9; border:0; box-shadow:0 2px 3px rgba(15,23,42,.06);
  display:block !important; box-sizing:border-box;
}
.shot-log.sl-floating-header.sl-v036-floating[hidden] { display:none !important; }
.shot-log.sl-v036-floating table { border-spacing:0; border-radius:0; }
.shot-log.sl-v036-floating th { position:static !important; box-sizing:border-box; }
.shot-log.sl-v036-floating a { cursor:pointer; }
.shot-log .sl-record-identity { position:relative; display:inline-block; color:inherit; white-space:nowrap; }
.shot-log .sl-record-identity strong { color:inherit; background:none; border:0; font-size:inherit; }
.shot-log .sl-identity-tip {
  display:none; position:absolute; top:100%; left:0; z-index:80;
  white-space:nowrap; background:#fff; color:#233044; border:1px solid #b5c4d8;
  padding:8px 10px; border-radius:4px; line-height:1.5; font-size:12px;
  box-shadow:0 3px 10px #0002; font-weight:400;
}
.shot-log .sl-record-identity:hover .sl-identity-tip,
.shot-log .sl-record-identity:focus .sl-identity-tip { display:block; }
.shot-log .sl-identity-warning .sl-identity-tip { color:#ff0000; }
.shot-log .sl-compact-value .sl-value { white-space:pre-line; }
.shot-log .sl-weapon-spec { display:block; }
.shot-log .sl-weapon-spec .sl-compact-value { display:block; margin:0 0 4px; white-space:normal; }
.shot-log .sl-nowrap { white-space:nowrap !important; overflow-wrap:normal !important; }
.shot-log textarea.sl-reference-field { min-height:62px; resize:vertical; line-height:1.45; }
.shot-log .sl-overview-bulk { display:flex; align-items:center; gap:8px; max-width:100%; }
.shot-log .sl-bulk-message { font-size:12px; color:#8f1515; max-width:360px; }
.shot-log [data-overview-select], .shot-log [data-overview-all] { margin-right:7px; vertical-align:middle; accent-color:#691515; }
.shot-log .sl-metrics-v036 { min-width:0; width:100%; border:1px solid #bbd2f5; background:#f0f6ff; border-radius:5px; padding:7px; color:#1d5398; box-sizing:border-box; }
.shot-log .sl-metric-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; text-align:center; font-weight:650; font-variant-numeric:tabular-nums; }
.shot-log .sl-pressure-row { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:4px 0; font-size:11px; }
.shot-log .sl-pressure-row:first-of-type { margin-top:5px; border-top:1px solid #cfdef4; }
.shot-log .sl-pressure-row button, .shot-log .sl-unit-switch {
  border:0; background:transparent; color:inherit; padding:2px 3px; min-height:0;
  font:inherit; cursor:pointer; white-space:nowrap;
}
.shot-log .sl-pressure-row button { font-weight:650; }
.shot-log .sl-metric-footer { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-top:4px; font-size:10px; }
.shot-log .sl-individual-shots { width:100%; margin:5px 0 0; padding:0; }
.shot-log .sl-individual-shots > summary { padding:3px 0; background:none; font-size:10px; text-align:right; }
.shot-log .sl-individual-shots ol { margin:6px 0 0; padding-left:22px; font-size:11px; }
.shot-log .sl-individual-shots li { padding:2px 3px; text-align:right; }
