.nhpq-earth-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.nhpq-earth-button .nhpq-earth-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.nhpq-earth-button.nhpq-earth-enabled { color: #fff; background: #087b80; border-color: #087b80; }
.nhpq-earth-mobile-button { display: none; }
.nhpq-detail-shortcut { white-space: nowrap; }
.nhpq-detail-mobile { display: none; }
.nhpq-detail-shortcut[aria-pressed="true"], .nhpq-detail-mobile[aria-pressed="true"] { color: #fff; background: #087b80; border-color: #087b80; }
.nhpq-earth-panel { position: fixed; z-index: 1100; top: var(--nhpq-earth-top, 170px); right: 22px; width: 310px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--nhpq-earth-top, 170px) - 18px); overflow-y: auto; box-sizing: border-box; padding: 16px; color: #173449; background: rgba(255, 255, 255, .98); border: 1px solid #d6e5e8; border-radius: 18px; box-shadow: 0 16px 54px rgba(15, 48, 61, .22); font: inherit; line-height: 1.45; }
.nhpq-earth-panel[hidden], .nhpq-earth-panel [hidden] { display: none !important; }
.nhpq-earth-panel *, .nhpq-earth-panel *::before, .nhpq-earth-panel *::after { box-sizing: border-box; }
.nhpq-earth-panel button, .nhpq-earth-panel input { font: inherit; }
.nhpq-earth-panel button { cursor: pointer; }
.nhpq-earth-panel button:disabled { opacity: .48; cursor: default; }
.nhpq-earth-button:focus-visible, .nhpq-earth-panel button:focus-visible, .nhpq-earth-panel input:focus-visible { outline: 3px solid #19a2a9; outline-offset: 3px; }
.nhpq-earth-panel:focus { outline: none; }
.nhpq-earth-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nhpq-earth-eyebrow { display: block; margin-bottom: 3px; color: #66818c; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.nhpq-earth-heading h2 { padding: 0; margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; color: #173449; }
.nhpq-earth-panel .nhpq-earth-close { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; padding: 6px; border: 1px solid #dbe7e9; border-radius: 50%; color: #56717e; background: #f6f9fa; }
.nhpq-earth-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nhpq-earth-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #edf4f5; border: 1px solid #e0ebee; border-radius: 12px; }
.nhpq-earth-modes button { min-height: 37px; border: 0; border-radius: 8px; color: #607a86; background: transparent; font-size: 13px; font-weight: 750; }
.nhpq-earth-modes button[aria-selected="true"] { color: #fff; background: #087b80; box-shadow: 0 2px 5px #075e6326; }
.nhpq-earth-status { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 11px 0 9px; color: #587582; font-size: 12px; font-weight: 650; }
.nhpq-earth-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #93a9b1; }
.nhpq-earth-panel[data-state="loading"] .nhpq-earth-dot { background: #d69631; }
.nhpq-earth-panel[data-state="ready"] .nhpq-earth-dot { background: #099276; }
.nhpq-earth-panel[data-state="error"] .nhpq-earth-dot { background: #c9693b; }
.nhpq-earth-panel[data-state="error"] .nhpq-earth-status { color: #975436; }
.nhpq-earth-panel .nhpq-earth-retry { margin: 0 0 12px; padding: 6px 10px; border: 1px solid #cfdfdf; border-radius: 8px; background: #f5fafa; color: #087b80; font-size: 12px; font-weight: 700; }
.nhpq-earth-imagery { margin: 12px 0 10px; }
.nhpq-earth-imagery button { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #b9d6d5; border-radius: 10px; color: #146c70; background: #eff8f6; font-size: 12px; font-weight: 750; }
.nhpq-earth-imagery button[aria-pressed="true"] { color: #fff; background: #087b80; border-color: #087b80; }
.nhpq-earth-imagery p { margin: 6px 0 0; color: #718892; font-size: 10px; line-height: 1.5; }
.nhpq-earth-imagery .nhpq-earth-detail-place { margin-top: 9px; min-height: 36px; font-size: 11px; color: #315465; border-color: #d8e4e7; background: #fff; }
.nhpq-earth-slider-label { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; color: #294b5c; font-size: 13px; font-weight: 700; }
.nhpq-earth-slider-label output { min-width: 36px; color: #087b80; text-align: right; font-variant-numeric: tabular-nums; }
.nhpq-earth-panel .nhpq-earth-range { display: block; width: 100%; height: 22px; padding: 0; margin: 0; accent-color: #087b80; cursor: pointer; }
.nhpq-earth-range-scale { display: flex; justify-content: space-between; margin-top: 3px; color: #81959e; font-size: 10px; }
.nhpq-earth-rotation { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin: 18px 0 16px; }
.nhpq-earth-rotation button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 7px 5px; border: 1px solid #d8e4e7; border-radius: 10px; color: #315465; background: #fff; font-size: 12px; font-weight: 650; }
.nhpq-earth-rotation [data-earth-bearing] { color: #7d929b; font-size: 10px; font-variant-numeric: tabular-nums; }
.nhpq-earth-small-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nhpq-earth-destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 2px 0 12px; }
.nhpq-earth-destinations button { min-height: 40px; padding: 9px 12px; border: 1px solid #d3e5e5; border-radius: 10px; color: #146c70; background: #f2f9f8; text-align: left; font-size: 12px; font-weight: 750; }
.nhpq-earth-panel .nhpq-earth-orbit { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 41px; margin: 12px 0 0; padding: 9px 12px; border: 1px solid #d8e4e7; border-radius: 10px; color: #385b6b; background: #fff; font-size: 12px; font-weight: 650; text-align: left; }
.nhpq-earth-orbit-time { color: #869ba4; font-size: 10px; white-space: nowrap; }
.nhpq-earth-panel .nhpq-earth-orbit[aria-pressed="true"] { color: #fff; background: #087b80; border-color: #087b80; }
.nhpq-earth-orbit[aria-pressed="true"] .nhpq-earth-orbit-time { color: #d7ecec; }
.nhpq-earth-panel .nhpq-earth-note { margin: 13px 0 0; padding: 0; color: #82959d; font-size: 10px; line-height: 1.6; }
[data-earth-imagery-slot] { margin-bottom: 14px; }
.nhpq-earth-more { border-top: 1px solid #e5edef; }
.nhpq-earth-more > summary { padding: 11px 0; color: #315465; font-size: 12px; font-weight: 750; cursor: pointer; }
.nhpq-earth-more > summary:focus-visible { outline: 3px solid #19a2a9; outline-offset: 2px; border-radius: 5px; }
.nhpq-earth-more .nhpq-earth-orbit { margin: 0 0 12px; }
.nhpq-earth-destinations [data-earth-action="parcel"] { grid-column: 1 / -1; }
@media (hover: hover) { .nhpq-earth-panel button:not(:disabled):hover { filter: brightness(.96); } }
@media (max-width: 760px) {
  .nhpq-detail-shortcut { display: none; }
  .nhpq-detail-mobile { position: absolute; top: 12px; right: 86px; z-index: 15; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 12px; border: 1px solid #d6e5e8; border-radius: 12px; color: #315465; background: #fff; box-shadow: 0 3px 14px #183b4620; font: 750 12px system-ui; cursor: pointer; }
  .nhpq-detail-mobile:focus-visible { outline: 3px solid #19a2a9; outline-offset: 3px; }
  .nhpq-earth-mobile-button { position: absolute; top: 12px; right: 12px; z-index: 15; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 12px; border: 1px solid #d6e5e8; border-radius: 12px; color: #315465; background: #fff; box-shadow: 0 3px 14px #183b4620; font: 750 13px system-ui; cursor: pointer; }
  .nhpq-earth-mobile-button .nhpq-earth-icon { width: 18px; height: 18px; }
  .nhpq-earth-mobile-button.nhpq-earth-enabled { color: #fff; background: #087b80; border-color: #087b80; }
  .nhpq-earth-mobile-button:focus-visible { outline: 3px solid #19a2a9; outline-offset: 3px; }
  .nhpq-earth-panel { top: auto; right: 12px; bottom: max(76px, env(safe-area-inset-bottom)); max-height: calc(100dvh - 150px); padding: 17px; border-radius: 19px; }
  .nhpq-earth-button .nhpq-earth-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .nhpq-earth-button { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .nhpq-earth-panel *, .nhpq-earth-button { scroll-behavior: auto; } }
