/* BITHOMES_V33_6_SECURE_EXPANSION */
:root {
  --bh-v336-border: #cbd5e1;
  --bh-v336-muted: #475569;
  --bh-v336-surface: #ffffff;
  --bh-v336-soft: #f8fafc;
  --bh-v336-primary: #1d4ed8;
  --bh-v336-danger: #b91c1c;
}

.bh-v336-table-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
  margin: 0 0 .65rem;
}

.bh-v336-table-tools label {
  align-items: center;
  display: inline-flex;
  flex: 1 1 15rem;
  gap: .45rem;
  margin: 0;
  max-width: 34rem;
}

.bh-v336-table-tools input[type="search"] {
  box-sizing: border-box;
  min-width: 10rem;
  width: 100%;
}

.bh-v336-table-tools button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.bh-v336-table-collapsed tbody {
  display: none;
}

.bh-v336-voice-compact {
  align-items: center !important;
  background: color-mix(in srgb, var(--bh-v336-soft) 88%, transparent) !important;
  border: 1px solid var(--bh-v336-border) !important;
  border-radius: .55rem !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: var(--bh-v336-muted) !important;
  display: inline-flex !important;
  font-size: .78rem !important;
  gap: .35rem !important;
  line-height: 1.25 !important;
  margin: .35rem 0 .55rem !important;
  max-width: min(100%, 38rem) !important;
  min-height: 0 !important;
  padding: .3rem .5rem !important;
  width: auto !important;
}

.bh-v336-voice-compact > summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: .35rem;
  list-style: none;
  white-space: nowrap;
}

.bh-v336-voice-compact > summary::-webkit-details-marker {
  display: none;
}

.bh-v336-voice-compact > summary::before {
  content: "🎙";
  font-size: .9rem;
}

.bh-v336-voice-compact:not([open]) > .bh-v336-voice-content {
  display: none !important;
}

.bh-v336-voice-compact[open] {
  align-items: flex-start !important;
  display: flex !important;
  flex-wrap: wrap;
}

.bh-v336-voice-content {
  flex: 1 1 18rem;
  margin: 0 !important;
  min-width: 0;
}

.bh-v336-voice-content,
.bh-v336-voice-content * {
  font-size: .78rem !important;
  line-height: 1.3 !important;
}

.bh-v336-voice-content button {
  margin: .25rem .25rem 0 0 !important;
  min-height: 1.8rem !important;
  padding: .2rem .55rem !important;
  width: auto !important;
}

.bithomes-local-voice-button,
[data-bithomes-voice-button] {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: .78rem !important;
  height: 1.85rem !important;
  justify-content: center !important;
  margin: .15rem !important;
  min-height: 1.85rem !important;
  min-width: 1.85rem !important;
  padding: .15rem .4rem !important;
  width: auto !important;
}

.bh-v336-shell {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1320px;
  padding: .5rem 1.25rem 2rem;
  width: 100%;
}

.bh-v336-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bh-v336-head h1,
.bh-v336-card h2,
.bh-v336-card h3 {
  margin-top: 0;
}

.bh-v336-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bh-v336-wide {
  grid-column: 1 / -1;
}

.bh-v336-card {
  background: var(--bh-v336-surface);
  border: 1px solid var(--bh-v336-border);
  border-radius: .75rem;
  box-shadow: 0 .2rem .8rem rgba(15, 23, 42, .06);
  box-sizing: border-box;
  margin: 0 0 1rem;
  padding: 1rem;
}

.bh-v336-card label {
  display: grid;
  font-weight: 700;
  gap: .3rem;
}

.bh-v336-card input,
.bh-v336-card select,
.bh-v336-card textarea {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.bh-v336-inline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.bh-v336-inline label {
  display: inline-flex;
}

.bh-v336-table-wrap {
  overflow-x: auto;
}

.bh-v336-table-wrap table {
  border-collapse: collapse;
  width: 100%;
}

.bh-v336-table-wrap th,
.bh-v336-table-wrap td {
  border-bottom: 1px solid #e2e8f0;
  padding: .62rem;
  text-align: left;
  vertical-align: top;
}

.bh-v336-note {
  color: var(--bh-v336-muted);
  font-size: .9rem;
}

.bh-v336-status {
  border-radius: 999px;
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  padding: .2rem .55rem;
}

.bh-v336-status.pending,
.bh-v336-status.submitted,
.bh-v336-status.approved,
.bh-v336-status.payment_pending {
  background: #fef3c7;
  color: #92400e;
}

.bh-v336-status.paid,
.bh-v336-status.provisioned,
.bh-v336-status.active,
.bh-v336-status.valid {
  background: #dcfce7;
  color: #166534;
}

.bh-v336-status.failed,
.bh-v336-status.rejected,
.bh-v336-status.suspended {
  background: #fee2e2;
  color: #991b1b;
}

.bh-v336-secret-link {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: .55rem;
  overflow-wrap: anywhere;
  padding: .75rem;
}

.bh-v336-danger {
  color: var(--bh-v336-danger);
}

@media (max-width: 720px) {
  .bh-v336-shell {
    padding: .5rem .75rem 1.25rem;
  }

  .bh-v336-table-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .bh-v336-table-tools label,
  .bh-v336-table-tools button,
  .bh-v336-voice-compact {
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bh-v336-shell *,
  .bh-v336-table-tools * {
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
