/* HuntSmart Imagery Lab — preview only */
.hs-img-toolbar-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.86);
  font: 700 11px/1 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
}
.hs-img-toolbar-btn:hover,
.hs-img-toolbar-btn.is-open { border-color: rgba(240,180,41,.62); background: rgba(240,180,41,.075); }
.hs-img-toolbar-btn.is-custom { color: #f0b429; }
.hs-img-toolbar-icon { font-size: 15px; line-height: 1; transform: translateY(-1px); }

.hs-img-panel {
  position: absolute;
  z-index: 31;
  top: 12px;
  right: 12px;
  width: min(410px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: auto;
  display: none;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(13,15,16,.96);
  color: #f5f5f1;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(20px);
  font-family: 'DM Sans', system-ui, sans-serif;
}
.hs-img-panel.open { display: block; }

.hs-img-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 17px 14px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.hs-img-kicker { color: #f0b429; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.hs-img-title { margin-top: 3px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.hs-img-sub { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 10px; }
.hs-img-close { width: 30px; height: 30px; border: 0; border-radius: 9px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.72); font-size: 20px; cursor: pointer; }

.hs-img-current { display: grid; gap: 3px; margin: 13px 15px 9px; padding: 11px 12px; border: 1px solid rgba(240,180,41,.22); border-radius: 11px; background: rgba(240,180,41,.055); }
.hs-img-current span { color: #f0b429; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hs-img-current b { font-size: 12px; }
.hs-img-current small { color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.35; }

.hs-img-warning { margin: 0 15px 10px; padding: 9px 10px; border-radius: 9px; background: rgba(255,255,255,.045); color: rgba(255,255,255,.56); font-size: 9px; line-height: 1.45; }

.hs-img-sources { display: grid; gap: 7px; padding: 0 15px 13px; }
.hs-img-source { position: relative; width: 100%; padding: 10px 11px; text-align: left; border: 1px solid rgba(255,255,255,.085); border-radius: 11px; background: rgba(255,255,255,.035); color: #fff; cursor: pointer; }
.hs-img-source:hover { border-color: rgba(255,255,255,.20); background: rgba(255,255,255,.055); }
.hs-img-source.active { border-color: rgba(240,180,41,.62); box-shadow: inset 0 0 0 1px rgba(240,180,41,.10); background: rgba(240,180,41,.055); }
.hs-img-source-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.hs-img-source-top b { font-size: 11px; }
.hs-img-source-top em { color: rgba(255,255,255,.42); font-size: 8px; font-style: normal; }
.hs-img-source-meta { display: block; margin-top: 4px; color: #f0b429; font-size: 8.5px; font-weight: 700; }
.hs-img-source-note { display: block; margin-top: 4px; padding-right: 42px; color: rgba(255,255,255,.48); font-size: 8.5px; line-height: 1.38; }
.hs-img-active-pill { position: absolute; right: 9px; bottom: 9px; padding: 3px 5px; border-radius: 999px; background: rgba(240,180,41,.13); color: #f0b429; font-size: 7px; font-weight: 900; letter-spacing: .07em; }

.hs-img-section { padding: 12px 15px 13px; border-top: 1px solid rgba(255,255,255,.07); }
.hs-img-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.72); }
.hs-img-label span:last-child { color: rgba(255,255,255,.34); font-size: 8px; text-transform: none; letter-spacing: 0; }
.hs-img-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.hs-img-seg button { height: 34px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.72); font: 700 9px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.hs-img-seg button.active { border-color: rgba(240,180,41,.62); color: #f0b429; background: rgba(240,180,41,.07); }
.hs-img-seg button:disabled { opacity: .34; cursor: default; }

.hs-img-opacity { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin-top: 10px; }
.hs-img-opacity span { color: rgba(255,255,255,.50); font-size: 8.5px; }
.hs-img-opacity input { width: 100%; accent-color: #f0b429; }
.hs-img-opacity b { min-width: 32px; text-align: right; color: rgba(255,255,255,.78); font-size: 9px; }
.hs-img-opacity input:disabled { opacity: .32; }

.hs-img-status { margin: 0 15px 10px; padding: 9px 10px; border-radius: 9px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.54); font-size: 9px; line-height: 1.4; }
.hs-img-status[data-tone="ok"] { color: #b7efc5; background: rgba(46,204,113,.075); }
.hs-img-status[data-tone="warn"] { color: #ffd89a; background: rgba(240,180,41,.075); }
.hs-img-foot { padding: 0 15px 14px; color: rgba(255,255,255,.28); font-size: 8px; line-height: 1.4; }

@media (max-width: 760px) {
  .hs-img-toolbar-btn span:last-child { display: none; }
  .hs-img-toolbar-btn { width: 38px; justify-content: center; padding: 0; }
  .hs-img-panel { top: 8px; left: 8px; right: 8px; width: auto; max-height: calc(100% - 16px); border-radius: 15px; }
}
