/* ===== components =====
 * Every rule here reads its colour from a token in tokens.css. Nothing in this
 * file knows which theme is active.
 */

/* ---------- card ---------- */
.card {
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: var(--s4);
}
.card > .ttl {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--disp);
  font-size: var(--fs-small);
  font-weight: 650;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s3);
}
/* The step index is meaningful: tasking IS an ordered procedure — pick the
 * operation, then the area, then the parameters, then run. */
.card > .ttl .ix {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  color: var(--accent);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-sm);
  padding: 2px 5px;
}
.card > .ttl .cnt {
  margin-left: auto;
  font-family: var(--mono);
  color: var(--ink-3);
  letter-spacing: 0;
}
.card .hint {
  font-size: var(--fs-small);
  color: var(--ink-3);
  line-height: 1.55;
  margin-top: var(--s2);
}
.card.grow {
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

/* ---------- metric tile ---------- */
.metric {
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: grid;
  gap: 6px;
}
.metric .v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}
.metric .sub {
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.metric.ok .v {
  color: var(--ok);
}
.metric.bad .v {
  color: var(--bad);
}
.metric.busy .v {
  color: var(--busy);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--r-md);
  border: 1px solid var(--stroke-2);
  background: var(--surface-2);
  color: var(--ink);
  padding: 9px 14px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
    transform 0.08s var(--ease);
}
.btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover:not(:disabled) {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.btn.danger {
  color: var(--bad);
  border-color: color-mix(in srgb, var(--bad) 45%, transparent);
}
.btn.danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--bad) 12%, transparent);
  border-color: var(--bad);
}
.btn.wide {
  width: 100%;
}
.btn.sm {
  padding: 6px 10px;
  font-size: var(--fs-tiny);
}
.btnrow {
  display: flex;
  gap: var(--s2);
}

/* ---------- segmented control ---------- */
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 9px 8px;
  border-radius: 7px;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.seg button:hover {
  color: var(--ink);
}
.seg button.on {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- form fields ---------- */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: var(--s3);
}
.field > span {
  font-size: var(--fs-tiny);
  letter-spacing: 0.8px;
  color: var(--ink-2);
  font-weight: 600;
}
input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  color: inherit;
  color-scheme: dark;
  background: var(--surface-solid);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 9px 11px;
  font-size: var(--fs-small);
  width: 100%;
  user-select: text;
}
input:hover,
textarea:hover,
select:hover {
  border-color: var(--ink-3);
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
select {
  cursor: pointer;
}
.check {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-bottom: var(--s3);
  cursor: pointer;
  line-height: 1.5;
}
.check input {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex: none;
}
.check em {
  font-style: normal;
  color: var(--ink-3);
}

/* ---------- status chip ----------
 * State is encoded in shape and colour together, so the queue is scannable at
 * a glance without reading a single word. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-weight: 600;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chip.queued {
  color: var(--idle);
}
.chip.processing {
  color: var(--busy);
}
.chip.processing::before {
  animation: pulse 1.1s var(--ease) infinite;
}
.chip.done {
  color: var(--ok);
}
.chip.error {
  color: var(--bad);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ---------- worker pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  letter-spacing: 1.3px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  color: var(--idle);
  background: transparent;
  cursor: pointer;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pill.busy {
  color: var(--busy);
}
.pill.busy::before {
  animation: pulse 1.1s var(--ease) infinite;
}
.pill.paused {
  color: var(--warn);
}

/* ---------- job queue list ---------- */
.jobs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 calc(var(--s2) * -1);
  padding: 0 var(--s2);
}
.jobrow {
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--idle);
  border-radius: var(--r-md);
  background: var(--surface-solid);
  padding: 9px 11px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.jobrow:hover {
  background: var(--raised);
}
.jobrow.processing { border-left-color: var(--busy); }
.jobrow.done       { border-left-color: var(--ok); }
.jobrow.error      { border-left-color: var(--bad); }
.jobrow.sel {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.jobrow .r1 {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.jobrow .jn {
  font-family: var(--mono);
  font-weight: 600;
  font-size: var(--fs-small);
}
.jobrow .op {
  margin-left: auto;
  font-size: var(--fs-micro);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.jobrow .r2 {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  font-size: var(--fs-tiny);
  color: var(--ink-3);
  font-family: var(--mono);
}

/* the failure reason, on the row itself — an operator deciding whether to retry
 * should not have to open the job to see why it stopped */
.jobrow .jerr {
  font-size: var(--fs-tiny);
  line-height: 1.45;
  color: var(--bad);
  border-top: 1px solid var(--stroke);
  padding-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jobrow .retry {
  justify-self: start;
  padding: 4px 9px;
  font-size: var(--fs-micro);
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
}
.jobrow .retry:hover:not(:disabled) {
  background: color-mix(in srgb, var(--warn) 14%, transparent);
  border-color: var(--warn);
}

/* progress: stage, not a spinner — a viewer should be able to tell what the
 * job is doing and roughly how much is left without reading the log */
.prog {
  display: block;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.prog.tall { height: 8px; }
.prog .bar {
  display: block;
  height: 100%;
  background: var(--busy);
  border-radius: var(--r-pill);
  transition: width 0.4s var(--ease);
}
.jobrow.error .prog .bar, .prog.err .bar { background: var(--bad); }
.progtext {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  font-size: var(--fs-micro);
  color: var(--ink-3);
  font-family: var(--mono);
  margin-top: 3px;
}

.empty {
  text-align: center;
  color: var(--ink-3);
  font-size: var(--fs-small);
  padding: var(--s5) var(--s3);
  line-height: 1.6;
}

/* ---------- table ---------- */
.tablewrap {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: auto;
  background: var(--surface-2);
  max-height: 62vh;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  font-size: var(--fs-micro);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  padding: 10px var(--s3);
  background: var(--surface-solid);
  border-bottom: 1px solid var(--stroke);
  white-space: nowrap;
}
tbody td {
  padding: 9px var(--s3);
  border-bottom: 1px solid var(--stroke);
  white-space: nowrap;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover {
  background: var(--surface-solid);
}
tbody tr.sel {
  background: var(--accent-wash);
}
tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- log ---------- */
.log {
  font-family: var(--mono);
  font-size: var(--fs-tiny);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: var(--s3);
  max-height: 300px;
  overflow-y: auto;
  color: var(--ink-2);
  user-select: text;
}

/* ---------- toast ---------- */
#toasts {
  position: fixed;
  top: calc(var(--topbar) + 12px);
  right: 16px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: var(--s3);
  align-items: start;
  background: var(--surface-solid);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: toastin 0.22s var(--ease);
}
.toast .bar {
  align-self: stretch;
  background: var(--accent);
}
.toast.ok .bar { background: var(--ok); }
.toast.warn .bar { background: var(--warn); }
.toast.error .bar { background: var(--bad); }
.toast .body {
  padding: 10px 12px 11px 0;
}
.toast .t {
  font-weight: 650;
  font-size: var(--fs-small);
}
.toast .m {
  color: var(--ink-2);
  font-size: var(--fs-tiny);
  margin-top: 3px;
  line-height: 1.5;
  user-select: text;
}
@keyframes toastin {
  from { opacity: 0; transform: translateX(18px); }
}

/* ---------- modal ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(3, 6, 12, 0.62);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: var(--s5);
}
.modal {
  width: min(440px, 100%);
  background: var(--surface-solid);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: var(--s5);
  animation: modalin 0.2s var(--ease);
}
.modal h3 {
  margin-bottom: 6px;
}
.modal p {
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-bottom: var(--s4);
}
.modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--s2);
  margin-top: var(--s4);
}
@keyframes modalin {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
}

/* ---------- map theatre ---------- */
/* width/height are not redundant with inset:0 — they keep the container sized
 * even if something forces `position: relative` on it, which is exactly how
 * this map once collapsed to zero height. */
#mapc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.leaflet-container {
  background: var(--bg);
  font-family: var(--sans);
  outline: none;
}
.leaflet-control-attribution {
  background: var(--surface) !important;
  color: var(--ink-3) !important;
  font-size: var(--fs-micro) !important;
  backdrop-filter: blur(8px);
}

.overlay-panel {
  position: absolute;
  z-index: 600;
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.searchbar {
  top: 14px;
  left: 14px;
  width: 360px;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 6px 6px 12px;
}
.searchbar input {
  border: 0;
  background: transparent;
  padding: 4px 0;
}
.searchbar input:hover {
  border: 0;
}

.hud {
  top: 14px;
  right: 14px;
  display: flex;
  gap: var(--s4);
  padding: 9px var(--s4);
}
.hud .h {
  display: grid;
  gap: 3px;
  justify-items: end;
}
.hud b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-small);
}

/* AOI centre handle */
.aoi-handle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  cursor: move;
}

/* result compare dock */
.dock {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: var(--s3) var(--s4) var(--s4);
  z-index: 700; /* above the swipe divider — see .divider */
}
.dock .head {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3);
  flex-wrap: wrap;
}
.dock .head .t {
  font-family: var(--disp);
  font-weight: 650;
  letter-spacing: 0.6px;
}
.dock .head .meta {
  font-size: var(--fs-tiny);
  color: var(--ink-2);
  font-family: var(--mono);
}
.dock .head .sp {
  margin-left: auto;
}
.dock .row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: var(--s4);
  align-items: center;
}
.dock .picker {
  display: grid;
  gap: 5px;
}
.dock .sliders {
  display: grid;
  gap: 8px;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: ew-resize;
}
.opline {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.opline input {
  flex: 1;
}

/* swipe divider drawn over the map.
 * Its top/height are set from the result bounds in theatre.js, and it stays
 * BELOW the dock (z-index 700) so it can never intercept a click aimed at the
 * layer pickers or the opacity slider. */
.divider {
  position: absolute;
  width: 20px;
  margin-left: -10px;
  z-index: 620;
  cursor: ew-resize;
  touch-action: none;
}
.divider .ln {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent);
}
.divider .knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
}

/* thumbnail strip in the job detail pane */
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: var(--s2);
}
.thumb {
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg);
}
.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.thumb .cap {
  font-size: var(--fs-micro);
  color: var(--ink-2);
  padding: 5px 7px;
  border-top: 1px solid var(--stroke);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* key/value readout used by settings + job detail */
.kv {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 7px var(--s3);
  font-size: var(--fs-small);
  align-items: baseline;
}
.kv dt {
  color: var(--ink-3);
  font-size: var(--fs-tiny);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.kv dd {
  margin: 0;
  font-family: var(--mono);
  word-break: break-all;
  user-select: text;
}
.kv dd.good { color: var(--ok); }
.kv dd.bad  { color: var(--bad); }

/* horizontal bar used for by-type / by-status breakdowns */
.bars {
  display: grid;
  gap: 9px;
}
.bar {
  display: grid;
  grid-template-columns: 108px 1fr 44px;
  gap: var(--s3);
  align-items: center;
  font-size: var(--fs-small);
}
/* `display: block` is required, not decorative — these are spans, and height
 * does not apply to an inline box, so without it the bars render empty. */
.bar .track {
  display: block;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.bar .fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: var(--r-pill);
  background: var(--accent);
}
.bar .n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink-2);
}

/* layer legends under the compare pickers */
.legend { display:flex; flex-wrap:wrap; gap:10px 18px; padding:8px 2px 2px; font-size:12px; }
.legend .lg-group { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
.legend .lg-title { font-weight:600; letter-spacing:.02em; opacity:.8; margin-right:2px; }
.legend .lg-item { display:inline-flex; align-items:center; gap:6px; opacity:.92; }
.legend .lg-item i { width:14px; height:14px; border-radius:3px; border:1px solid rgba(255,255,255,.25); display:inline-block; }

/* vector label tags on the map */
.veclab { background: rgba(10,14,20,.72); border: none; box-shadow: none; color: #eaf6ff;
  font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 1px 5px; border-radius: 3px; }
.veclab::before { display: none; }

/* draggable legend panel on the map (right side) */
.maplegend { position:absolute; top:84px; right:14px; z-index:900; min-width:170px; max-width:240px;
  background:rgba(10,15,22,.88); border:1px solid rgba(120,180,255,.25); border-radius:8px;
  padding:8px 10px; cursor:grab; user-select:none; backdrop-filter:blur(4px); }
.maplegend:active { cursor:grabbing; }
.maplegend .mlt { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  opacity:.75; margin-bottom:6px; }
.maplegend .mli { display:flex; align-items:center; gap:7px; font-size:12px; padding:2px 0; }
.maplegend .mli i { width:13px; height:13px; border-radius:3px; flex:none;
  border:1px solid rgba(255,255,255,.3); }
.maplegend .mli span { flex:1; }
.maplegend .mli b { opacity:.75; font-weight:600; }


/* ---- Monitor Land: tables, switches, class swatches ---- */
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-small, 13px); }
table.tbl th { text-align: left; font-weight: 600; color: var(--muted, #8a93a6); padding: 6px 8px;
  border-bottom: 1px solid var(--border, rgba(128,160,220,.18)); letter-spacing: .04em; font-size: var(--fs-tiny, 11px); text-transform: uppercase; }
table.tbl td { padding: 7px 8px; border-bottom: 1px solid var(--border, rgba(128,160,220,.1)); vertical-align: top; }
table.tbl tr.click { cursor: pointer; }
table.tbl tr.click:hover td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
table.tbl tr.sel td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.switch { width: 38px; height: 20px; border-radius: 12px; border: 1px solid var(--border, rgba(128,160,220,.3)); background: rgba(128,140,170,.25);
  position: relative; cursor: pointer; padding: 0; flex: none; }
.switch i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #9aa4b2; transition: left .15s, background .15s; }
.switch.on { background: color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
.switch.on i { left: 20px; background: var(--accent); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
input[type="radio"] { accent-color: var(--accent, #38e1ff); width: 16px; height: 16px; }
.polyrow { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: var(--fs-small, 13px); }
.polyrow .n { color: var(--muted, #8a93a6); min-width: 52px; }
.mono.wrap { word-break: break-all; white-space: normal; }
.monmap { height: 320px; border-radius: 10px; border: 1px solid var(--border, rgba(128,160,220,.2)); overflow: hidden; margin: 8px 0; }
.grid2 { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.grid2 > * { min-width: 0; }
.grid2 > .card { overflow-x: auto; }
.grid2 table.tbl td, .grid2 table.tbl th { white-space: nowrap; }
@media (max-width: 1100px) { .grid2 { grid-template-columns: 1fr; } }

/* A · B · change player (result dock) */
.playbox { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; }
.playbox.hidden { display: none; }
.playbox .btn.on { background: var(--accent, #2fd6ff); color: #04121c; border-color: transparent; }
.playbox #playLbl { color: var(--accent, #2fd6ff); letter-spacing: .02em; }

/* sheet handles and phone-only controls (phone layout, styles/mobile.css). Hidden here, in a
 * stylesheet that is always loaded, so the Classic interface never shows them. */
.sheet-grip,
.m-only {
  display: none;
}
