/* Controls, Shortcuts & Presenter Guide + Live Elevation/Scale Readout Pill */

.help-q-btn {
  min-width: 24px;
  padding: 3px 6px !important;
  font-weight: 700;
  color: #e6b84c !important;
  border-radius: 4px !important;
  border-color: rgba(230, 184, 76, 0.36) !important;
  background: rgba(230, 184, 76, 0.10) !important;
  line-height: 1.1;
}

.help-q-btn:hover,
.help-q-btn:focus-visible {
  background: rgba(230, 184, 76, 0.20) !important;
  border-color: rgba(230, 184, 76, 0.72) !important;
  color: #fff6d6 !important;
}

/* Inline Elevation & Scale Pill inside #view-readout (zero extra floating boxes) */
.status-banner {
  max-width: min(800px, calc(100vw - 360px));
}

.status-banner #readout-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readout-elev-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #e6b84c;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.readout-elev-pill:empty {
  display: none;
}

@media (max-width: 960px) {
  .status-banner {
    max-width: 100%;
  }
  .readout-elev-pill {
    font-size: 10.5px;
    padding-left: 6px;
  }
}

/* Luxury Dark-Gold Shortcuts & Presenter Modal */
.modal-card:has([data-quick-help-modal]) {
  padding: 15px 18px;
}

.modal-card:has([data-quick-help-modal]) .drawer-head {
  margin-bottom: 6px !important;
}

.qh-modal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e7eef8;
}

.qh-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #c5d3e6;
}

.qh-cam-hero {
  background: rgba(10, 13, 19, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qh-cam-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.qh-cam-row {
  display: grid;
  grid-template-columns: minmax(185px, 0.95fr) 1.35fr;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  line-height: 1.35;
}

.qh-cam-row:last-child {
  border-bottom: none;
  padding-bottom: 1px;
}

.qh-cam-key {
  font-weight: 600;
  color: #e6b84c;
  letter-spacing: 0.01em;
}

.qh-cam-desc {
  color: #dce6f4;
}

.qh-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 10px;
}

.qh-col,
.qh-card {
  background: rgba(10, 13, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qh-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e6b84c;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.qh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4.5px;
}

.qh-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.32;
}

.qh-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 74px;
}

.qh-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #f6df9d;
  background: rgba(230, 184, 76, 0.10);
  border: 1px solid rgba(230, 184, 76, 0.36);
}

.qh-sep {
  font-size: 10px;
  color: #8fa3bd;
}

.qh-desc {
  color: #dbe5f3;
}

.qh-tip,
.qh-tip-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.qh-tip-title {
  font-size: 11px;
  font-weight: 700;
  color: #e6b84c;
}

.qh-tip-body {
  font-size: 11px;
  line-height: 1.32;
  color: #c5d3e6;
}

.qh-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(10, 13, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid #e6b84c;
}

.qh-footer-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #e6b84c;
}

.qh-footer-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 1px;
}

.qh-footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: #dce7f5;
}

.qh-footer-contact a {
  color: #ffe299;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 226, 153, 0.45);
}

.qh-footer-contact a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 680px) {
  .qh-cam-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .qh-grid {
    grid-template-columns: 1fr;
  }
  .qh-keys {
    min-width: 66px;
  }
}
