/* hitl.css · the through-the-lens calibration page. The skin is the linked redfish-style; this file is layout only. */
body { margin: 0; font-family: var(--rf-sans, system-ui, sans-serif); color: var(--rf-ink, #111); background: var(--rf-ground, #f6f5f2); }
#stage { background: #1b1d1f; }
#pane { position: absolute; }
#pane canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#frame { pointer-events: none; }
#ovl { cursor: crosshair; touch-action: none; }
body.mode-fly #ovl { cursor: grab; }
#empty { position: absolute; inset: 0; display: grid; place-items: center; color: #bbb; }
.attr { position: absolute; left: 6px; bottom: 4px; display: flex; gap: 6px; align-items: center; font-size: 11px; color: #fff; text-shadow: 0 0 3px #000; pointer-events: none; }
.top { position: fixed; top: 10px; left: 10px; display: flex; gap: 8px; align-items: center; z-index: 1001; }
.top .title { font-weight: 600; color: #fff; text-shadow: 0 0 4px #000; }
.top .rf-readout { color: #ddd; text-shadow: 0 0 4px #000; }
.fabs { position: fixed; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 1002; }
.panel { top: 52px; left: 10px; width: 300px; max-height: calc(100vh - 140px); overflow: auto; padding: 8px 10px; }
.panel .body > * { margin: 6px 0; }
.panel.rf-collapsed { width: auto; padding: 4px; }
.row { display: flex; gap: 6px; align-items: center; }
.row select, .row input { flex: 1; min-width: 0; }
button.primary { background: var(--rf-ink, #111); color: var(--rf-ground, #fff); border: 1px solid var(--rf-ink, #111); }
button { font: inherit; font-size: var(--rf-size-control, 13px); padding: 4px 10px; border: 1px solid var(--rf-rule-strong, #999); background: var(--rf-ground, #fff); color: var(--rf-ink, #111); border-radius: var(--rf-radius, 2px); cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
#qItems { padding-left: 1.2em; font-size: 12px; max-height: 40vh; overflow: auto; }
#qItems li { margin: 2px 0; } #qItems a { color: inherit; }
#bar { left: 50%; transform: translateX(-50%); bottom: 34px; padding: 6px 10px; max-width: calc(100vw - 20px); }
#bar .controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
#bar .op { display: flex; gap: 4px; align-items: center; font-size: 12px; }
#bar #mode { min-width: 56px; }
#solve { min-width: 12em; }
#foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 4px 10px; font-size: 12px; background: var(--rf-ground, #fff); border-top: 1px solid var(--rf-rule, #ddd); z-index: 1000; }
dialog { max-width: 520px; border: 1px solid var(--rf-rule-strong, #999); }
dialog fieldset { border: 0; padding: 0; display: grid; gap: 4px; }
dialog .btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.quiet { color: var(--rf-ink-quiet, #666); }
@media (max-width: 700px) { .panel { left: 0; right: 0; top: auto; bottom: 30px; width: auto; max-height: 45vh; } #bar { bottom: 30px; } }
#empty[hidden], [hidden] { display: none !important; }
#bar { width: min(980px, calc(100vw - 20px)); box-sizing: border-box; }
#bar .taskline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
