/* Author styles override the browser's default `[hidden]` rule. */
[hidden] {
  display: none !important;
}

.query-profile-panel {
  margin-top: 18px;
  border: 1px solid #26394c;
  border-radius: 12px;
  padding: 22px;
  background: rgba(13, 23, 35, .84);
}

.query-profile-panel > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.query-profile-panel h2 { margin: 7px 0; font-size: 20px; }
.query-profile-panel header small, .query-profile-panel header > span { color: #7890a7; font-size: 12px; }
.seed-query-list { display: grid; gap: 8px; margin-top: 16px; }
.query-profile-tools { margin-top: 16px; }
.query-profile-tools form { display: flex; gap: 7px; max-width: 440px; }
.query-profile-tools input { width: 100%; border: 1px solid #304359; border-radius: 8px; padding: 9px 10px; background: #0b131d; color: #edf3fb; outline: none; }
.query-profile-tools button, .query-profile-pagination button { border: 1px solid #304359; border-radius: 7px; padding: 8px 10px; background: transparent; color: #b9c9d8; font-size: 12px; font-weight: 800; cursor: pointer; }
.query-profile-tools button:hover, .query-profile-pagination button:hover { border-color: #8ef0bf; color: #8ef0bf; }
.seed-query-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid #26394c; border-radius: 9px; padding: 12px; background: #0b131d; }
.seed-query-item strong { display: block; overflow: hidden; color: #e7f0f8; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.seed-query-item small { display: block; margin-top: 5px; color: #7f95a9; font-size: 11px; }
.seed-query-item button { border: 1px solid #38506a; border-radius: 7px; padding: 7px 10px; background: transparent; color: #c5d6e4; font-size: 11px; font-weight: 800; cursor: pointer; }
.seed-query-item button:hover { border-color: #8ef0bf; color: #8ef0bf; }
.seed-query-item.is-disabled { opacity: .55; }
.query-profile-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; color: #7d92a6; font-size: 12px; }
.query-profile-pagination div { display: flex; gap: 6px; }
.query-profile-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.candidate-header-actions { display: flex; align-items: end; justify-content: end; gap: 10px; flex-wrap: wrap; }
.candidate-header-actions > button { border: 1px solid #8ef0bf; border-radius: 7px; padding: 9px 11px; background: #183226; color: #b2ffd6; font-size: 12px; font-weight: 900; cursor: pointer; }
.candidate-header-actions > button:hover { background: #21422f; }
.approval-dialog { width: min(100% - 32px, 510px); border: 1px solid #35516a; border-radius: 14px; padding: 0; background: #0d1722; color: #edf3fb; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.approval-dialog::backdrop { background: rgba(0, 0, 0, .68); }
.approval-dialog form { display: grid; gap: 14px; padding: 26px; }
.approval-dialog h2 { margin: 0; font-size: 22px; }
.approval-dialog p:not(.eyebrow):not(.form-message) { margin: 0; color: #a9bdcf; line-height: 1.65; font-size: 13px; }
.approval-dialog .dialog-note { border-left: 2px solid #8ef0bf; padding-left: 11px; color: #c8d9e5; }
.approval-dialog form > div { display: flex; justify-content: end; gap: 8px; margin-top: 5px; }
.approval-dialog form > div button[type="button"] { border: 1px solid #3b5269; border-radius: 8px; padding: 10px 12px; background: transparent; color: #c4d3df; font-weight: 800; cursor: pointer; }
.approval-dialog .primary-button { padding: 10px 12px; }

@media (max-width: 760px) {
  .query-profile-panel > header, .seed-query-item, .query-profile-pagination { align-items: stretch; flex-direction: column; }
  .candidate-header-actions { align-items: stretch; justify-content: stretch; }
  .seed-query-item { grid-template-columns: 1fr; }
}
