:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --line: #e4e7eb;
  --line-strong: #d5dbe2;
  --text: #20242a;
  --muted: #69707a;
  --accent: #00b884;
  --accent-dark: #04926c;
  --soft: #e8fbf6;
  --danger: #fa2d2d;
  --warn: #ff6a3d;
  --good: #35b900;
  --great: #008f5c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 7px;
  cursor: pointer;
  height: 38px;
  padding: 0 14px;
}

button:hover {
  border-color: var(--accent);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 0 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent-dark);
  min-width: 190px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 22px 12px;
  border-bottom: 2px solid transparent;
  font-weight: 700;
}

nav a.active {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef1f4;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.status.ready {
  background: var(--soft);
  color: var(--accent-dark);
}

.status.missing {
  background: #fff1ec;
  color: #bb3d15;
}

main {
  padding: 24px;
}

@media (max-width: 760px) {
  main {
    padding: 12px;
  }
}

.search-panel,
.metrics,
.workspace {
  max-width: 1540px;
  margin: 0 auto;
}

.search-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.search-controls {
  display: flex;
  gap: 10px;
  align-items: end;
}

@media (max-width: 760px) {
  .search-panel {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 8px;
  }
  
  .search-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 6px;
    align-items: end;
  }
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select {
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 184, 132, 0.14);
}

.search-box input {
  width: min(520px, 52vw);
}

.search-form button[type="submit"] {
  min-width: 88px;
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-weight: 800;
}

.tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }
  
  .metrics article {
    padding: 6px 4px !important;
    text-align: center !important;
    min-width: 0 !important;
  }
  
  .metrics strong {
    font-size: 14px !important;
    margin-top: 2px !important;
    word-break: keep-all !important;
  }
  
  .metrics span {
    font-size: 9px !important;
    letter-spacing: -0.5px !important;
  }
}

.metrics article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  letter-spacing: 0;
}

.workspace {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 16px;
  transition: grid-template-columns 0.3s ease;
}

.workspace.is-history {
  grid-template-columns: 1fr;
}

.filters,
.results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filters {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 88px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 99;
}

.overlay.show {
  display: block;
}

.filter-header,
.filter-header-right,
.table-actions,
.results-top-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.results-top-buttons {
  gap: 8px;
}

#resultHint {
  font-size: 11px;
  color: var(--muted);
  background: var(--soft);
  padding: 1px 4px;
  margin-top: 4px;
  display: inline-block;
}

.mobile-only, .mobile-only-inline, .mobile-label {
  display: none;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 20px;
}

.query-highlight {
  color: var(--accent-dark);
  font-weight: 800;
}

h2 {
  font-size: 18px;
}

.filter-header span,
.table-actions p {
  color: var(--muted);
  font-size: 13px;
}

.filters label,
.filters fieldset {
  display: block;
  margin-top: 18px;
}

.filters input[type="search"],
.filters input[type="number"] {
  width: 100%;
  margin-bottom: 8px;
}

fieldset {
  padding: 0;
  border: 0;
}

legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.grade-filter {
  height: 54px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.grade-filter small {
  color: var(--muted);
  font-weight: 600;
}

.grade-filter.active {
  border-color: var(--accent);
  background: var(--soft);
}

.worst {
  color: var(--danger);
}

.bad {
  color: var(--warn);
}

.normal {
  color: #9da3aa;
}

.good {
  color: var(--good);
}

.great {
  color: var(--great);
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--text);
  margin-top: 10px !important;
}

.check input {
  width: 16px;
  height: 16px;
}

.results {
  min-width: 0;
  overflow: hidden;
}

.table-actions {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow: auto;
  max-height: calc(100vh - 245px);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

.history-table-wrap table {
  min-width: 100%;
}

.history-table-wrap tr:hover td {
  background: #fcfdfe;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f0f2f4;
  color: #363b42;
  font-size: 13px;
  white-space: nowrap;
}

/* 숫자/배지 열 헤더 센터 정렬 */
th:nth-child(n+4) {
  text-align: center;
}


th[data-sort] {
  cursor: pointer;
}

td {
  font-size: 14px;
}

.thumb {
  width: 126px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #dfe3e8;
}

.video-title {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  max-width: 470px;
}

.video-title:hover {
  color: var(--accent-dark);
}

.channel {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}

.grade {
  display: inline-grid;
  gap: 1px;
  text-align: center;
  font-weight: 900;
  line-height: 1.05;
}

.empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted);
}

.date-cell {
  min-width: 88px;
  white-space: nowrap;
}

.save-check {
  width: 16px;
  height: 16px;
}

.history-query {
  height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  margin-bottom: 4px;
}

.history-query:hover {
  text-decoration: underline;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 26px;
  border-radius: 6px;
  background: #f0f2f5;
  color: #5a6471;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--line);
}

.history-badge.youtube {
  background: #fff0f0;
  color: #d32f2f;
  border-color: #ffcdd2;
}

.history-badge.cache {
  background: var(--soft);
  color: var(--accent-dark);
  border-color: #b2ebf2;
}

@media (max-width: 1080px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 10px;
    min-height: auto;
  }

  .brand {
    min-width: auto;
    gap: 4px;
  }

  /* 헤더 및 지표 콤팩트화 */
  .table-actions {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  h1#pageTitle {
    font-size: 16px !important;
    margin-bottom: 2px !important;
  }

  #resultHint {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .results-top-buttons {
    gap: 4px !important;
  }

  #mobileFilterButton, #exportButton {
    padding: 6px 10px !important;
    font-size: 11px !important;
    height: 32px !important;
  }

  .brand small, .brand-mark {
    display: none;
  }

  nav {
    width: auto;
    flex: none;
    overflow: visible;
  }

  nav a {
    padding: 6px 4px;
    font-size: 12px;
    white-space: nowrap;
    border-bottom-width: 1.5px;
  }

  .top-actions {
    display: none;
  }

  main {
    padding: 8px 10px;
  }

  .search-panel {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 6px;
  }

  .search-form,
  .search-box,
  .search-box input {
    width: 100%;
  }

  .search-form {
    gap: 4px;
  }

  .search-box span {
    display: none;
  }

  .search-controls label span {
    display: none;
  }

  .search-controls {
    margin-top: 4px;
  }

  .search-controls select, .search-controls button {
    height: 34px;
  }

  .grade-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .grade-filter {
    height: 42px;
    font-size: 12px;
  }
  
  .filters {
    padding: 12px;
  }
  
  .filters label, .filters fieldset {
    margin-top: 12px;
  }

  .mobile-only {
    display: block;
  }
  
  .mobile-only-inline {
    display: inline-block;
  }

  /* 모바일 필터 토글 스타일 */
  .filters {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 380px;
    max-height: 85vh;
    z-index: 100;
    margin: 0;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow-y: auto;
    background: var(--surface);
    padding: 20px;
  }

  .filters.mobile-show {
    display: block;
    animation: modalIn 0.2s ease-out;
  }

  @keyframes modalIn {
    from { opacity: 0; transform: translate(-50%, -45%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  .range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .check-group {
    display: flex;
    gap: 12px;
  }

  .close-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0f2f5;
    border: 0;
    font-size: 18px;
    color: var(--muted);
  }

  .filter-header-right {
    gap: 8px;
  }

  .results-top-buttons button {
    padding: 0 8px;
    font-size: 13px;
    height: 34px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  #exportButton {
    font-size: 10px;
    color: var(--muted);
    padding: 0 6px;
  }

  /* 히스토리 모바일 최적화 */
  .desktop-only {
    display: none;
  }

  .mobile-label {
    display: inline;
    font-size: 10px;
    color: var(--muted);
    font-weight: 500;
  }

  .history-cell-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .history-query {
    font-size: 14px;
    margin-bottom: 2px;
    white-space: normal;
    word-break: break-all;
    line-height: 1.2;
  }

  .history-meta-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .history-badge {
    min-width: 50px;
    height: 18px;
    font-size: 9px;
  }

  .history-time-mobile {
    font-size: 10px;
    color: var(--muted);
  }

  .history-table-wrap td {
    padding: 10px 6px;
    font-size: 12px;
  }

  .table-wrap {
    overflow-x: hidden !important;
    border: 0;
    margin: 0 -10px; /* 메인 패딩 상쇄하여 카드 너비 확보 */
  }

} /* @media (max-width: 992px) 끝 */



/* 로딩 모달 스타일 */
.loading-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  place-items: center;
}

.loading-modal.show {
  display: grid;
}

.loading-content {
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.loading-content p {
  margin-top: 20px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 15px;
}

/* 레이더 애니메이션 고도화 - 프리미엄 색상 */
.radar-loader {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 163, 0.3);
  background: radial-gradient(circle, #1a2a24 0%, #050a09 100%);
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.radar-loader::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.radar-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, rgba(0, 255, 163, 0.8) 0%, rgba(0, 255, 163, 0.1) 15%, transparent 45%);
  transform-origin: top left;
  animation: radarRotate 1.8s linear infinite;
  z-index: 5;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 255, 163, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-ring:nth-child(2) { width: 33%; height: 33%; }
.radar-ring:nth-child(3) { width: 66%; height: 66%; }
.radar-ring:nth-child(4) { width: 99%; height: 99%; }

.radar-point {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #00ffa3;
  border-radius: 50%;
  box-shadow: 0 0 12px #00ffa3, 0 0 20px rgba(0, 255, 163, 0.5);
  animation: blip 2s ease-in-out infinite;
  z-index: 3;
  opacity: 0;
}

.radar-point:nth-child(6) { animation-delay: 0.1s; }
.radar-point:nth-child(7) { animation-delay: 0.7s; }
.radar-point:nth-child(8) { animation-delay: 1.3s; }

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #00ffa3;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #00ffa3;
  z-index: 10;
  border: 2px solid #050a09;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blip {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.5); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 다시검색 버튼 + 툴팁 ── */
.btn-refresh {
  position: relative;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.btn-refresh:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.refresh-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: none;
  background: #1e2a22;
  color: #e0ffe8;
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 100;
  pointer-events: none;
}
.refresh-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  left: auto;
  transform: none;
  border: 5px solid transparent;
  border-top-color: #1e2a22;
}
.btn-refresh:hover .refresh-tooltip {
  display: block;
}

/* ── 필터 패널 하단 초기화 버튼 ── */
.filter-footer {
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.btn-filter-reset {
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-filter-reset:hover {
  border-color: #e55;
  color: #e55;
}

/* =============================================
   모바일 카드 레이아웃 (992px 이하)
   PC: 기존 테이블 유지 / 모바일: 유튜브 스타일 카드
   ============================================= */

/* PC에서 모바일 전용 카드 행 숨김 */
.mobile-card-row {
  display: none;
}



/* 날짜 열 줄바꿈 방지 */
.cell-date {
  white-space: nowrap;
}

/* PC 테이블 데이터 열 센터 정렬 */
.cell-views,
.cell-subs,
.cell-contribution,
.cell-performance,
.cell-exposure,
.cell-channel-vids,
.cell-date,
.cell-check {
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 992px) {

  /* ── 모바일: 기존 테이블 행 숨김, 카드 행 표시 ── */
  tr.video-row {
    display: none !important;
  }
  tr.mobile-card-row {
    display: table-row !important;
  }

  /* PC용 테이블 최소 너비 강제 제거 */
  table#resultsTable {
    min-width: 0 !important;
    width: 100% !important;
  }

  td.mobile-card-cell {
    width: 100% !important;
    padding: 0 10px 10px 10px !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  /* ── 카드 div 래퍼 ── */
  .mobile-card-inner {
    background: #fff !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border-bottom: 8px solid #f0f2f5 !important;
  }

  /* ── 썸네일 래퍼 (relative for overlay) ── */
  .mobile-thumb-wrap {
    position: relative !important;
    width: 100% !important;
    line-height: 0 !important;
  }

  /* ── 풀사이즈 썸네일 ── */
  .mobile-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ── 체크박스 오버레이 (썸네일 우상단) ── */
  .mobile-check-overlay {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(2px) !important;
  }
  .mobile-check-overlay input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--accent) !important;
    cursor: pointer !important;
  }

  /* ── 카드 본문 ── */
  .mobile-card-body {
    padding: 10px 12px 12px !important;
  }

  .mobile-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f0f0f !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    text-decoration: none !important;
    display: block !important;
  }

  .mobile-card-channel {
    display: block !important;
    font-size: 12px !important;
    color: #606060 !important;
    margin-bottom: 3px !important;
  }
  .mobile-card-stats {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 11px !important;
    color: #606060 !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
  }
  .mobile-card-stats strong {
    color: #111 !important;
    font-weight: 700 !important;
  }
  .mobile-card-grades {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }


  .results {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  main {
    padding: 8px 0 !important;
  }

  .search-panel,
  .tools,
  .metrics,
  .table-actions {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .table-actions {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e8eaed !important;
    margin-bottom: 8px !important;
  }


  .table-wrap {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: none !important;
    max-width: 100vw !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f0f2f5 !important;
  }

  #resultsTable {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
  }
  #resultsTable thead { display: none !important; }
  #resultsTable tbody { display: block !important; width: 100% !important; }

}







