#auth-screen {
  display: none;
}
#agency-view-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 46px;
  height: 46px;
  z-index: 50;
  background: #123f58;
  border-bottom: 1px solid #279ab2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 15px;
  color: #e6faff;
  font-size: 12px;
  box-shadow: 0 3px 18px #001b2b55;
}
#agency-view-banner > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#agency-view-banner svg {
  width: 20px;
  height: 20px;
  color: #31e0e9;
}
#agency-view-banner strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#agency-view-banner .view-mode-label {
  color: #a7d0df;
  font-size: 11px;
  white-space: nowrap;
}
#agency-view-banner button {
  background: #0560ff;
  border: 1px solid #4897ed;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
body.admin-view-mode {
  padding-top: 46px;
}
.admin-view-mode > .topbar {
  top: 46px;
}
.admin-view-mode > .sidebar {
  top: 140px;
}
.admin-view-mode button:disabled {
  cursor: not-allowed;
}
@media (max-width: 760px) {
  #agency-view-banner {
    padding: 0 12px;
    font-size: 10px;
    gap: 8px;
  }
  #agency-view-banner .view-mode-label {
    display: none;
  }
  #agency-view-banner button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .admin-view-mode > .sidebar {
    top: 123px;
  }
}
.auth-mode > #auth-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-mode > .topbar,
.auth-mode > .sidebar,
.auth-mode > main {
  display: none;
}
.auth-art {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 0% 50%, #073e66, #01162d 70%);
  position: relative;
  border-right: 1px solid #134363;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d0edff;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
}
.auth-brand svg {
  width: 32px;
  height: 32px;
  color: #00e7ee;
}
.auth-pitch {
  margin: auto 0;
  padding: 65px 0;
}
.auth-pitch h1 {
  font-size: clamp(34px, 3.6vw, 64px);
  line-height: 1.15;
  letter-spacing: -2px;
  font-weight: 650;
}
.auth-pitch em {
  font-style: normal;
  color: #00e7ee;
}
.auth-pitch p {
  font-size: 15px;
  color: #8faec9;
  line-height: 1.9;
  max-width: 430px;
}
.auth-features {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  color: #a9c5dd;
  font-size: 13px;
}
.auth-features span {
  display: flex;
  gap: 12px;
  align-items: center;
}
.auth-features svg {
  width: 19px;
  height: 19px;
  color: #00cae6;
}
.auth-art-footer {
  font-size: 10px;
  color: #557b9e;
}
.auth-form-side {
  display: grid;
  place-items: center;
  padding: 50px 35px;
  background: #001124;
}
.auth-card {
  width: 100%;
  max-width: 390px;
}
.auth-lock {
  width: 48px;
  height: 48px;
  background: #072b48;
  border: 1px solid #16516e;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  margin-bottom: 26px;
}
.auth-card > h2 {
  font-size: 29px;
}
.auth-card > p {
  color: #8fa9c3;
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0 28px;
}
.auth-card input {
  padding: 13px;
  font-size: 14px;
}
.auth-card label {
  font-size: 13px;
}
.auth-forgot {
  display: block;
  margin: 14px 0 0 auto;
  color: #36d2ed;
  background: none;
  border: 0;
  font-size: 12px;
}
.auth-card form > .primary {
  width: 100%;
  margin-top: 20px;
  height: 45px;
}
.auth-switch {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #7e9ab5;
}
.auth-switch button {
  background: none;
  border: 0;
  color: #24cde8;
  padding: 4px;
  font-size: 12px;
}
.auth-card > .auth-small {
  font-size: 10px;
  text-align: center;
  line-height: 1.7;
  margin-top: 35px;
  color: #587c9c;
}
.form-success {
  color: #54e7b5;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
}
.provider-logo {
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.provider-logo-tile {
  width: 100px;
  height: 55px;
  display: flex;
  align-items: center;
  padding: 7px 0;
}
.provider-logo-tile img {
  width: 42px;
  height: 42px;
}
.provider-logo-tile .logo-telnyx {
  width: 95px;
  height: 35px;
}
.mini-provider .provider-logo {
  width: 21px;
  height: 21px;
}
.mini-provider .logo-telnyx {
  width: 25px;
}
.brandmark img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.navitem.active,
.primary {
  background: var(--agency-accent, #0560ff);
}
.sidebar {
  overflow-y: auto;
}
.sidebar nav {
  gap: 2px;
}
.sidebar .navitem {
  height: 37px;
}
.sidebar-bottom {
  margin-top: 24px;
  flex-shrink: 0;
}
.workspace-user {
  margin-top: 12px;
}
.section-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-actions > .notice {
  margin: 0;
}
.grow {
  flex: 1;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  padding: 22px;
}
.client-avatar {
  width: 44px;
  height: 44px;
  background: #063a56;
  border: 1px solid #1d627d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #28d8e9;
  font-weight: 600;
}
.client-card h3 {
  font-size: 17px;
  margin: 19px 0 8px;
}
.client-card p {
  font-size: 12px;
  color: #91abc3;
  margin: 8px 0;
}
.client-counts {
  display: flex;
  gap: 30px;
  border-top: 1px solid #1d3e57;
  border-bottom: 1px solid #1d3e57;
  padding: 16px 0;
  margin-top: 20px;
}
.client-counts span {
  font-size: 11px;
  color: #8ea8c3;
}
.client-counts strong {
  display: block;
  color: #e5efff;
  font-size: 23px;
  margin-bottom: 4px;
}
.client-card .detail-actions {
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.client-card .detail-actions button {
  font-size: 11px;
  padding: 0 10px;
  height: 35px;
}
.wide {
  grid-column: 1/-1;
}
.branding-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.branding-editor {
  padding: 30px;
}
.branding-preview {
  padding: 35px;
  background: #06243e;
  border-left: 1px solid #1b4664;
}
.report-preview-paper {
  background: #fff;
  color: #17304c;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 10px 40px #00101d60;
  margin: 22px 0;
}
.report-preview-paper > svg {
  color: #0560ff;
  width: 35px;
  height: 35px;
}
.report-preview-paper h2 {
  font-size: 22px;
  margin-top: 14px;
}
.preview-brand-logo {
  max-height: 55px;
  max-width: 180px;
  object-fit: contain;
}
.preview-rule {
  height: 4px;
  background: var(--agency-accent, #0560ff);
  margin: 20px 0 30px;
}
.report-preview-paper > small {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #8091a5;
}
.report-preview-paper h3 {
  font-size: 25px;
}
.report-preview-paper p {
  color: #7a8b9e;
  font-size: 12px;
  line-height: 1.8;
}
.preview-metrics {
  display: flex;
  gap: 25px;
  padding: 20px 0;
}
.preview-metrics span {
  color: #8394a8;
  font-size: 10px;
  flex: 1;
  padding: 12px;
  background: #f0f4f8;
  border-radius: 5px;
}
.preview-metrics strong {
  display: block;
  color: #123858;
  font-size: 25px;
}
.preview-footer {
  margin-top: 30px;
  border-top: 1px solid #e2e9f0;
  padding-top: 17px;
  color: #94a2b3;
  font-size: 9px;
  line-height: 1.8;
}
.report-row-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.auth-email-settings {
  margin-top: 22px;
}
textarea {
  font: inherit;
  color: #e3efff;
  background: #02172c;
  border: 1px solid #2b506e;
  border-radius: 7px;
  padding: 12px;
  width: 100%;
  resize: vertical;
  font-size: 13px;
}
input[type="color"] {
  height: 43px;
  padding: 5px;
}
label > small {
  color: #6c8da9;
  font-size: 10px;
}
.check-label {
  display: flex !important;
  grid-template-columns: none !important;
}
.check-label input {
  width: 15px;
  flex-shrink: 0;
}
.detail-actions {
  flex-wrap: wrap;
}
@media (max-width: 1200px) {
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar-bottom {
    display: none;
  }
  .auth-art {
    padding: 40px;
  }
  .auth-pitch h1 {
    font-size: 40px;
  }
  .branding-editor {
    padding: 23px;
  }
  .branding-preview {
    padding: 25px;
  }
}
@media (max-width: 760px) {
  .auth-mode > #auth-screen {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-form-side {
    padding: 35px 26px;
    min-height: 100vh;
  }
  .client-grid {
    grid-template-columns: 1fr;
  }
  .section-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .branding-layout {
    grid-template-columns: 1fr;
  }
  .branding-preview {
    border-left: 0;
    border-top: 1px solid #1b4664;
  }
  .sidebar .navitem {
    height: 37px;
  }
  .sidebar nav {
    gap: 4px;
  }
  .auth-card > h2 {
    font-size: 26px;
  }
}
.inventory-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.provider-selector {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.provider-selector select {
  width: 150px;
}
.website-records {
  margin-top: 25px;
}
.website-records > summary {
  color: #7fa3c2;
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 15px;
}
.number-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #24445d;
}
.number-result small {
  display: block;
  font-size: 11px;
  color: #90acc7;
  line-height: 1.8;
  margin-top: 6px;
}
.phone-search-results {
  max-height: 420px;
  overflow: auto;
}
.dns-table {
  margin-top: 20px;
  max-height: 400px;
}
.dns-content {
  max-width: 230px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sites-table .provider-logo {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.inventory-controls .secondary {
  height: 35px;
}
.provider-logo-tile .logo-telnyx {
  background: white;
  border-radius: 4px;
}
@media (max-width: 760px) {
  .inventory-controls {
    gap: 10px;
  }
  .provider-selector select {
    width: 135px;
  }
}
