.site-db-shell {
  width: min(900px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  overflow-x: clip;
}

.site-db-header {
  text-align: center;
  padding-top: 1rem;
}

.site-db-header h1 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-family: "Uncial Antiqua", "Celtic Gothic", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #d4af37;
}

.site-db-subtitle {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: rgba(177, 195, 210, 0.85);
  letter-spacing: 0.04em;
}

.site-db-section-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.site-db-section-tabs .site-db-tab {
  min-width: 7.5rem;
}

.site-db-transactions-section {
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.22);
}

.site-db-transactions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.site-db-transactions-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.92);
}

.site-db-transactions-hint {
  font-size: 0.62rem;
  color: rgba(177, 195, 210, 0.55);
  white-space: nowrap;
}

.site-db-transactions {
  height: 14rem;
  min-height: 8rem;
  max-height: min(70vh, 40rem);
  overflow: auto;
  resize: vertical;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(6, 6, 6, 0.65);
}

@media (max-width: 768px) {
  .site-db-transactions {
    height: 24rem;
    min-height: 18rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .site-db-transactions-hint {
    display: none;
  }
}

.site-db-transactions table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.site-db-transactions th,
.site-db-transactions td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  text-align: left;
}

.site-db-transactions th {
  position: sticky;
  top: 0;
  background: rgba(12, 10, 8, 0.98);
  color: #d4af37;
  font-weight: 600;
}

.site-db-transactions td:nth-child(3),
.site-db-transactions td:nth-child(4),
.site-db-transactions th:nth-child(3),
.site-db-transactions th:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

.site-db-table--chase td:nth-child(3),
.site-db-table--chase td:nth-child(4),
.site-db-table--chase td:nth-child(5),
.site-db-table--chase th:nth-child(3),
.site-db-table--chase th:nth-child(4),
.site-db-table--chase th:nth-child(5),
.site-db-table--chase td.site-db-chase-pl-cell,
.site-db-table--chase th:nth-child(7) {
  text-align: right;
}

.site-db-chase-pl {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-db-chase-pl.is-profit {
  color: #6ee7a0;
}

.site-db-chase-pl.is-loss {
  color: #f87171;
}

.site-db-chase-pl.is-even {
  color: var(--site-db-muted, #a8a29e);
}

.site-db-subtitle,
.site-db-meta {
  display: none;
}

.site-db-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  scrollbar-width: none;
}

.site-db-action-row::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.site-db-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex: 0 0 auto;
  max-width: 100%;
}

.site-db-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0;
  flex: 0 0 auto;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.site-db-tabs .site-db-tab,
.site-db-toolbar .site-db-tab {
  white-space: nowrap;
}

.site-db-tab {
  appearance: none;
  border: 1px solid rgba(160, 205, 240, 0.82);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(180deg, rgba(140, 195, 235, 0.38), rgba(12, 24, 38, 0.92));
  color: #ffffff;
  font: 700 0.72rem/1.1 Arial, sans-serif;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.site-db-tab:hover:not(.is-active) {
  border-color: rgba(190, 220, 245, 0.95);
  color: #ffffff;
}

.site-db-tab.is-active {
  border-color: rgba(70, 120, 165, 0.78);
  color: #c8e4f8;
  background: linear-gradient(180deg, rgba(35, 70, 105, 0.72), rgba(8, 18, 32, 0.96));
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.18);
  transform: translateY(1px);
}

.site-db-tab.is-active:hover {
  border-color: rgba(85, 135, 180, 0.85);
  color: #d8ecff;
}

a.site-db-tab--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-db-panel {
  display: none;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.96), rgba(6, 6, 6, 0.98));
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.site-db-panel.is-active {
  display: block;
}

.site-db-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(0, 0, 0, 0.35);
}

.site-db-panel-head h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
}

.site-db-panel-head span {
  font-size: 0.72rem;
  color: rgba(177, 195, 210, 0.85);
}

.site-db-table-wrap {
  overflow: auto;
  max-height: min(62vh, 520px);
}

.site-db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.site-db-table th,
.site-db-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.site-db-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #141210;
  color: rgba(212, 175, 55, 0.95);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-db-table tbody tr:hover td {
  background: rgba(212, 175, 55, 0.06);
}

.site-db-table td {
  color: rgba(236, 244, 250, 0.92);
  max-width: 22rem;
  word-break: break-word;
}

.site-db-empty {
  padding: 1.2rem 0.85rem;
  color: rgba(177, 195, 210, 0.8);
  font-size: 0.8rem;
}

.site-db-status {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.site-db-status.is-dismissible {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
}

.site-db-status-body {
  flex: 1 1 12rem;
  min-width: 0;
}

.site-db-status-dismiss {
  flex: 0 0 auto;
  min-width: 3.25rem;
}

.site-db-status.is-error {
  border: 1px solid rgba(220, 80, 80, 0.45);
  background: rgba(80, 20, 20, 0.35);
  color: #ffb4b4;
}

.site-db-status.is-loading {
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgba(228, 247, 255, 0.9);
}

.site-db-status.is-ok {
  border: 1px solid rgba(80, 180, 120, 0.45);
  background: rgba(20, 60, 40, 0.35);
  color: #b8f0c8;
}

.site-db-verify {
  margin: 0 0 0.85rem;
  border: 1px solid rgba(134, 175, 206, 0.45);
  border-radius: 10px;
  background: rgba(8, 14, 22, 0.92);
  padding: 0.75rem 0.85rem;
}

.site-db-verify.is-ok {
  border-color: rgba(80, 180, 120, 0.45);
}

.site-db-verify.is-error {
  border-color: rgba(220, 80, 80, 0.45);
}

.site-db-verify-head h2 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: #d4af37;
}

.site-db-verify-head p {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: rgba(228, 247, 255, 0.9);
  line-height: 1.45;
}

.site-db-verify-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: rgba(228, 247, 255, 0.75);
  font-style: italic;
  line-height: 1.45;
}

.site-db-verify-grid {
  display: grid;
  gap: 0.65rem;
}

.site-db-verify-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  color: rgba(160, 205, 240, 0.95);
  letter-spacing: 0.04em;
}

.site-db-verify-block ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.72rem;
  color: rgba(228, 247, 255, 0.88);
  line-height: 1.5;
}

.site-db-verify-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.site-db-verify-block th,
.site-db-verify-block td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid rgba(134, 175, 206, 0.18);
  text-align: left;
}

.site-db-verify-block th {
  color: rgba(160, 205, 240, 0.95);
}

.site-db-verify-block td:nth-child(n + 2) {
  white-space: nowrap;
}

.site-db-verify-block--wide {
  grid-column: 1 / -1;
  overflow-x: auto;
}

.site-db-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.55rem;
  padding: 0 0 0.85rem;
  margin-bottom: 0.35rem;
}

.site-db-stat {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: rgba(0, 0, 0, 0.28);
}

.site-db-stat strong {
  display: block;
  font-size: 1.1rem;
  color: #eefaff;
  margin-bottom: 0.2rem;
}

.site-db-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.9);
}

.site-db-stat.is-warn {
  border-color: rgba(255, 180, 100, 0.55);
  background: rgba(48, 28, 8, 0.45);
}

.site-db-stat.is-warn strong {
  color: #ffb86c;
}

.site-db-summary-hint {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0.15rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 184, 108, 0.35);
  background: rgba(255, 140, 60, 0.08);
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 220, 180, 0.92);
}

.site-db-summary-hint.is-warn {
  border-color: rgba(255, 184, 108, 0.35);
}

.site-db-verify-ytd-note {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  color: rgba(255, 200, 140, 0.88);
  font-weight: 400;
  line-height: 1.35;
}

.site-quick-links .social-link-db {
  font: 700 0.68rem/1 Arial, sans-serif;
  letter-spacing: 0.06em;
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.52);
}

.site-db-row {
  cursor: pointer;
}

.site-db-row.is-selected td {
  background: rgba(212, 175, 55, 0.12);
}

.site-db-table--paystubs td:nth-child(n + 3):nth-child(-n + 6) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-db-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(177, 195, 210, 0.35);
  color: rgba(177, 195, 210, 0.9);
}

.site-db-badge.is-done {
  border-color: rgba(212, 175, 55, 0.55);
  color: #d4af37;
}

.site-db-pdf-btn {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  padding: 0.28rem 0.5rem;
  background: rgba(12, 10, 8, 0.92);
  color: #d4af37;
  font: 600 0.62rem/1 Arial, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}

.site-db-pdf-btn:hover {
  border-color: rgba(212, 175, 55, 0.75);
  color: #e8c96a;
}

.site-db-table--paystubs td:last-child {
  width: 5.5rem;
  text-align: center;
}

.site-db-detail {
  margin-top: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.96), rgba(6, 6, 6, 0.98));
}

.site-db-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 0;
}

.site-db-detail-stacked {
  display: flex;
  flex-direction: column;
}

.site-db-detail-stacked .site-db-form--full {
  border-right: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.site-db-detail-stacked .site-db-form--full:has(+ .site-db-transactions-section) {
  border-bottom: none;
}

.site-db-pdf-section--stacked {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.site-db-pdf-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.site-db-pdf-toolbar-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.92);
  flex-shrink: 0;
}

.site-db-pdf-open-link {
  color: #d4af37;
  font-size: 0.72rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-db-pdf-pane--stacked {
  min-height: 0;
}

.site-db-pdf-section--stacked .site-db-pdf-viewport {
  min-height: 52vh;
}

.site-db-form {
  padding: 0.85rem;
  border-right: 1px solid rgba(212, 175, 55, 0.18);
}

.site-db-form-head h2 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  color: #eefaff;
}

.site-db-form-head p {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: rgba(177, 195, 210, 0.85);
}

.site-db-form-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.site-db-form-head-row h2 {
  margin: 0 0 0.25rem;
}

.site-db-form-head-row p {
  margin: 0;
}

.site-db-form-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.4rem;
}

.site-db-form-status {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: rgba(177, 195, 210, 0.9);
}

.site-db-form-status.is-ok {
  color: rgba(120, 200, 140, 0.95);
}

.site-db-form-status.is-error {
  color: rgba(255, 140, 140, 0.95);
}

.site-db-field input.is-readonly,
.site-db-field textarea.is-readonly {
  opacity: 0.85;
  cursor: default;
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(0, 0, 0, 0.3);
}

.site-db-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.55rem;
}

.site-db-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.68rem;
  color: rgba(212, 175, 55, 0.92);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-db-field--full {
  margin-top: 0.55rem;
}

.site-db-field input,
.site-db-field textarea {
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #eefaff;
  padding: 0.38rem 0.45rem;
  font: 400 0.78rem/1.2 Arial, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

/* Hide browser stepper arrows on money/number and date fields */
#dbWorkspace input[type="number"]::-webkit-inner-spin-button,
#dbWorkspace input[type="number"]::-webkit-outer-spin-button,
.site-db-field input[type="number"]::-webkit-inner-spin-button,
.site-db-field input[type="number"]::-webkit-outer-spin-button,
#dbWorkspace input[type="date"]::-webkit-inner-spin-button,
.site-db-field input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
  margin: 0;
}

#dbWorkspace input[type="number"],
.site-db-field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.site-db-pdf-pane {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.site-db-pdf-viewport {
  position: relative;
  flex: 1;
  min-height: 360px;
  overflow: auto;
  background: #111;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-db-pdf-viewport::-webkit-scrollbar {
  display: none;
}

.site-db-pdf-scroll-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 100%;
}

.site-db-pdf-canvas {
  display: block;
  max-width: none;
  background: #fff;
}

.site-db-pdf-canvas + .site-db-pdf-canvas {
  margin-top: 0.35rem;
}

.site-db-pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  font-size: 0.78rem;
  color: rgba(177, 195, 210, 0.9);
  pointer-events: none;
}

.site-db-pdf-loading.is-error {
  color: rgba(255, 140, 140, 0.95);
}

.site-db-pdf-pan-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: grab;
  touch-action: none;
}

.site-db-pdf-viewport.is-panning .site-db-pdf-pan-overlay {
  cursor: grabbing;
}

.site-db-pdf-pane .site-db-panel-head a {
  color: #d4af37;
  font-size: 0.72rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-db-panel-head--pdf {
  flex-wrap: wrap;
  align-items: center;
}

.site-db-pdf-zoom {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-db-pdf-toolbar .site-db-pdf-zoom {
  margin: 0;
  justify-self: center;
}

.site-db-pdf-toolbar .site-db-pdf-open-link {
  justify-self: end;
}

.site-db-pdf-zoom-btn {
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.45);
  color: #eefaff;
  font: 700 0.85rem/1 Arial, sans-serif;
  cursor: pointer;
}

.site-db-pdf-zoom-btn:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.12);
}

.site-db-pdf-zoom-btn--text {
  min-width: auto;
  padding: 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-db-pdf-zoom-label {
  min-width: 2.75rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(177, 195, 210, 0.95);
  user-select: none;
}

  @media (max-width: 820px) {
  .site-db-action-row {
    flex-direction: column;
    align-items: center;
  }

  .site-db-toolbar,
  .site-db-tabs {
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .site-db-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-db-form {
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  }
}

.site-db-verify-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1rem 2rem;
  background: rgba(0, 0, 0, 0.78);
  box-sizing: border-box;
}

.site-db-verify-modal[hidden] {
  display: none !important;
}

.site-db-verify-modal-dialog {
  width: 920px;
  max-width: calc(100vw - 2rem);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(134, 175, 206, 0.45);
  border-radius: 12px;
  background: rgba(8, 14, 22, 0.98);
  padding: 0.85rem 0.95rem 1rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}

.site-db-verify-modal-dialog--wide {
  width: 1080px;
  max-width: calc(100vw - 2rem);
  max-height: min(92vh, 1200px);
}

.site-db-verify-pdf-list {
  margin-top: 0.35rem;
}

.site-db-verify-pdf-item {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.site-db-verify-pdf-item:first-of-type {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: 0;
}

.site-db-verify-pdf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.site-db-verify-pdf-head h4 {
  margin: 0;
  font-size: 0.82rem;
  color: #d4af37;
  font-weight: 600;
}

.site-db-verify-pdf-head a {
  color: #b8e4ff;
  font-size: 0.72rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-db-verify-pdf-fields {
  margin: 0 0 0.45rem;
  padding-left: 1.1rem;
  font-size: 0.74rem;
  color: rgba(228, 247, 255, 0.88);
  line-height: 1.45;
}

.site-db-verify-pdf-fields strong {
  color: #eefaff;
}

.site-db-verify-pdf-missing {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  color: rgba(255, 180, 180, 0.92);
}

.site-db-verify-pdf-frame {
  width: 100%;
  min-height: 420px;
  height: 52vh;
  max-height: 640px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: #111;
}

.site-db-verify-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.site-db-verify-correction-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 99999;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  pointer-events: none;
  background: transparent;
  box-sizing: border-box;
}

.site-db-verify-correction-modal[hidden] {
  display: none;
}

.site-db-verify-correction-dialog {
  width: min(480px, calc(100vw - 1.5rem));
  max-height: min(88vh, 720px);
  overflow: auto;
  pointer-events: auto;
  border: 1px solid rgba(134, 175, 206, 0.55);
  border-radius: 12px;
  background: rgba(8, 14, 22, 0.98);
  padding: 0.85rem 0.95rem 1rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
}

.site-db-verify-correction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.site-db-verify-correction-head.is-dragging {
  cursor: grabbing;
}

.site-db-verify-correction-head h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #d4af37;
}

.site-db-verify-correction-subtitle {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  color: rgba(228, 247, 255, 0.82);
  line-height: 1.45;
}

.site-db-verify-correction-form {
  display: grid;
  gap: 0.55rem;
}

.site-db-verify-correct-field {
  margin: 0;
}

.site-db-verify-correct-hint {
  display: block;
  margin: 0.15rem 0 0.25rem;
  font-size: 0.68rem;
  color: rgba(184, 228, 255, 0.78);
}

.site-db-verify-correction-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.site-db-verify-correction-error {
  margin: 0.65rem 0 0;
  font-size: 0.74rem;
  color: #ffb4b4;
}

.site-db-verify-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.site-db-verify-modal-head h2 {
  margin: 0;
  font-size: 1rem;
  color: #d4af37;
}

.site-db-verify-modal-close {
  appearance: none;
  border: 1px solid rgba(160, 205, 240, 0.45);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  background: rgba(12, 24, 38, 0.92);
  color: #eefaff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.site-db-verify-progress {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.7rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(134, 175, 206, 0.28);
  background: linear-gradient(180deg, rgba(10, 20, 32, 0.92), rgba(6, 12, 20, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-db-verify-progress[hidden] {
  display: none !important;
}

.site-db-verify-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.site-db-verify-progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #eefaff;
  letter-spacing: 0.01em;
}

.site-db-verify-progress-pct {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.04em;
}

.site-db-verify-progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55);
}

.site-db-verify-progress-fill {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e6f9a 0%, #38bdf8 42%, #d4af37 100%);
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.45),
    0 0 24px rgba(212, 175, 55, 0.18);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-db-verify-progress-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: site-db-verify-progress-shimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

.site-db-verify-progress.is-indeterminate .site-db-verify-progress-fill {
  width: 38% !important;
  animation: site-db-verify-progress-indeterminate 1.35s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.site-db-verify-progress.is-indeterminate .site-db-verify-progress-pct {
  visibility: hidden;
}

.site-db-verify-progress.is-complete .site-db-verify-progress-fill {
  background: linear-gradient(90deg, #166534 0%, #22c55e 55%, #86efac 100%);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.site-db-verify-progress.is-complete .site-db-verify-progress-shimmer {
  animation: none;
  opacity: 0;
}

.site-db-verify-progress-detail {
  margin: 0.42rem 0 0;
  min-height: 1.05em;
  font-size: 0.7rem;
  color: rgba(184, 228, 255, 0.78);
  line-height: 1.35;
}

@keyframes site-db-verify-progress-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(220%);
  }
}

@keyframes site-db-verify-progress-indeterminate {
  0% {
    transform: translateX(-8%);
  }
  50% {
    transform: translateX(168%);
  }
  100% {
    transform: translateX(-8%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-db-verify-progress-fill {
    transition: none;
  }

  .site-db-verify-progress-shimmer,
  .site-db-verify-progress.is-indeterminate .site-db-verify-progress-fill {
    animation: none;
  }
}

.site-db-verify-modal-status {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: rgba(228, 247, 255, 0.9);
  line-height: 1.45;
}

.site-db-verify-modal-status:empty {
  display: none;
  margin: 0;
}

.site-db-verify-modal-status.is-loading {
  color: #b8e4ff;
}

.site-db-verify-modal-status.is-ok {
  color: #b8f0c8;
}

.site-db-verify-modal-status.is-error {
  color: #ffb4b4;
}

.site-db-verify-modal-report .site-db-verify {
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
}

.site-db-verify-modal-report .site-db-verify-head h2 {
  display: none;
}

body.site-db-verify-popup #pageContent > header,
body.site-db-verify-popup #pageContent > main,
body.site-db-verify-popup #pageContent > footer {
  display: none;
}

body.site-db-verify-popup .site-db-verify-modal {
  background: rgba(0, 0, 0, 0.92);
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}

body.site-db-verify-popup .site-db-verify-modal-dialog {
  width: 920px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  box-sizing: border-box;
}

body.site-db-verify-popup .site-db-verify-modal-dialog--wide {
  width: 1080px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
}

.site-db-verify-launcher-actions {
  margin-top: 0.35rem;
}

.site-db-verify-launcher-hint {
  margin: 0.55rem 0 0;
  font-size: 0.74rem;
  color: rgba(228, 247, 255, 0.78);
  line-height: 1.45;
}

.site-db-verify-launcher-hint code {
  font-size: 0.72rem;
  color: #b8e4ff;
}

.site-db-taxcalc-intro {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(228, 247, 255, 0.82);
}

.site-db-taxcalc-report {
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 0.15rem;
}

.site-db-taxcalc-section {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(134, 175, 206, 0.18);
}

.site-db-taxcalc-section h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  color: #d4af37;
  font-weight: 600;
}

.site-db-taxcalc-lead {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(238, 250, 255, 0.92);
}

.site-db-taxcalc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.site-db-taxcalc-table th,
.site-db-taxcalc-table td {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid rgba(134, 175, 206, 0.12);
  vertical-align: top;
}

.site-db-taxcalc-table th {
  width: 46%;
  text-align: left;
  color: rgba(184, 228, 255, 0.88);
  font-weight: 600;
}

.site-db-taxcalc-table td {
  text-align: right;
  color: #eefaff;
}

.site-db-taxcalc-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: rgba(177, 195, 210, 0.82);
  font-weight: 400;
}

.site-db-taxcalc-section--highlight {
  border: 1px solid rgba(134, 175, 206, 0.35);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(9, 18, 28, 0.55);
}

.site-db-taxcalc-section--highlight.is-ok {
  border-color: rgba(96, 190, 130, 0.45);
}

.site-db-taxcalc-section--highlight.is-warn {
  border-color: rgba(255, 196, 96, 0.45);
}

.site-db-taxcalc-disclaimer,
.site-db-taxcalc-sources,
.site-db-taxcalc-error {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(177, 195, 210, 0.82);
}

.site-db-taxcalc-error {
  color: #ffb4b4;
}

.site-db-taxcalc-list {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(238, 250, 255, 0.9);
}

.site-db-taxcalc-list li + li {
  margin-top: 0.25rem;
}
