/* Backbone interface, integrated from the approved proposal. Font Awesome Free 6.4: SIL OFL 1.1. */
@font-face {
  font-family: BackboneIcons;
  src: url('../vendor/fa-solid-900.woff2') format('woff2');
  font-display: block;
  font-weight: 900;
}
.bb-icon {
  font-family: BackboneIcons !important;
  font-style: normal;
  font-weight: 900;
  display: inline-block;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-layer-group:before {
  content: '\f5fd';
}
.fa-chevron-down:before {
  content: '\f078';
}
.fa-chevron-right:before {
  content: '\f054';
}
.fa-arrow-right:before {
  content: '\f061';
}
.fa-arrow-left:before {
  content: '\f060';
}
.fa-user:before {
  content: '\f007';
}
.fa-users:before {
  content: '\f0c0';
}
.fa-sliders:before {
  content: '\f1de';
}
.fa-shapes:before {
  content: '\f61f';
}
.fa-headset:before {
  content: '\f590';
}
.fa-ellipsis:before {
  content: '\f141';
}
.fa-moon:before {
  content: '\f186';
}
.fa-sun:before {
  content: '\f185';
}
.fa-bell:before {
  content: '\f0f3';
}
.fa-bars:before {
  content: '\f0c9';
}
.fa-chart-line:before {
  content: '\f201';
}
.fa-calculator:before {
  content: '\f1ec';
}
.fa-address-book:before {
  content: '\f2b9';
}
.fa-plus:before {
  content: '\2b';
}
.fa-search:before {
  content: '\f002';
}
.fa-arrow-up:before {
  content: '\f062';
}
.fa-arrow-down:before {
  content: '\f063';
}
.fa-check:before {
  content: '\f00c';
}
.fa-circle-check:before {
  content: '\f058';
}
.fa-clock:before {
  content: '\f017';
}
.fa-paperclip:before {
  content: '\f0c6';
}
.fa-file-lines:before {
  content: '\f15c';
}
.fa-file-excel:before {
  content: '\f1c3';
}
.fa-download:before {
  content: '\f019';
}
.fa-xmark:before {
  content: '\f00d';
}
.fa-camera:before {
  content: '\f030';
}
.fa-upload:before {
  content: '\f093';
}
.fa-lock:before {
  content: '\f023';
}
.fa-shield-halved:before {
  content: '\f3ed';
}
.fa-envelope:before {
  content: '\f0e0';
}
.fa-desktop:before {
  content: '\f390';
}
.fa-globe:before {
  content: '\f0ac';
}
.fa-circle-info:before {
  content: '\f05a';
}
.fa-arrow-up-right-from-square:before {
  content: '\f35d';
}
.fa-circle-exclamation:before {
  content: '\f06a';
}
.fa-filter:before {
  content: '\f0b0';
}
.fa-comments:before {
  content: '\f086';
}
.fa-trash:before {
  content: '\f1f8';
}
.bb-app {
  --bb-side: 246px;
  --bb-top: 74px;
  --bb-canvas: #f6f8fa;
  --bb-surface: #fff;
  --bb-alt: #f9fafb;
  --bb-text: #172832;
  --bb-muted: #61727c;
  --bb-line: #e6ebef;
  --bb-accent: #087c8b;
  --bb-tint: #eaf6f7;
  --bb-green: #177553;
  --bb-green-tint: #eaf6f0;
  --bb-amber: #946416;
  --bb-amber-tint: #fff6e6;
  --bb-red: #b95151;
  --bb-red-tint: #fff0ef;
  --bb-blue: #366493;
  --bb-blue-tint: #edf3fb;
  background: var(--bb-canvas);
  color: var(--bb-text);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow: hidden;
}
.dark .bb-app {
  --bb-canvas: #040d12;
  --bb-surface: #08161e;
  --bb-alt: #0d202b;
  --bb-text: #e8f0f4;
  --bb-muted: #9aabb6;
  --bb-line: #1a303d;
  --bb-accent: #58c3cf;
  --bb-tint: #0d2b35;
  --bb-green: #74c7a4;
  --bb-green-tint: #19382e;
  --bb-amber: #e8be72;
  --bb-amber-tint: #3e321e;
  --bb-red: #f19c94;
  --bb-red-tint: #41282a;
  --bb-blue: #93b5e2;
  --bb-blue-tint: #203449;
  color-scheme: dark;
}
.bb-app a,
.bb-app button {
  -webkit-tap-highlight-color: transparent;
}
.bb-app :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #49c0ce;
  outline-offset: 3px;
}
.bb-app button {
  font: inherit;
  cursor: pointer;
}
.bb-app button:disabled {
  opacity: 0.55;
  cursor: default;
}
.bb-app #main-content {
  box-sizing: border-box;
  position: relative;
  margin-top: var(--bb-top) !important;
  margin-left: var(--bb-side) !important;
  width: calc(100% - var(--bb-side)) !important;
  height: calc(100vh - var(--bb-top)) !important;
  height: calc(100dvh - var(--bb-top)) !important;
  overflow-y: auto;
  padding: 34px 38px;
  background: var(--bb-canvas);
}
.ws-shell {
  max-width: 1450px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.bb-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--bb-muted);
  font-size: 10px;
}
.bb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.bb-mobile-only {
  display: none !important;
}
.bb-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--bb-side) !important;
  padding: 27px 17px 0;
  background: var(--bb-surface);
  border-right: 1px solid var(--bb-line);
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition:
    width 0.2s,
    transform 0.2s;
  color: var(--bb-text);
}
.bb-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin: 0 12px 25px;
}
.bb-brand {
  display: flex;
  align-items: center;
}
.bb-brand img {
  width: 151px;
  height: auto;
}
.dark .bb-brand {
  background: #fff;
  border-radius: 6px;
  padding: 5px 7px;
}
.bb-workspace-menu,
.bb-workspace-summary {
  margin-bottom: 26px;
  border: 1px solid var(--bb-line);
  border-radius: 9px;
  background: var(--bb-alt);
}
.bb-workspace-menu summary,
.bb-workspace-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  list-style: none;
  font-size: 12px;
  cursor: pointer;
}
.bb-workspace-menu summary::-webkit-details-marker {
  display: none;
}
.bb-workspace-menu summary > span:nth-child(2),
.bb-workspace-summary > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.bb-workspace-menu strong,
.bb-workspace-summary strong {
  display: block;
  font-weight: 600;
  white-space: nowrap;
}
.bb-workspace-menu small,
.bb-workspace-summary small {
  display: block;
  font-size: 10px;
  color: var(--bb-muted);
  margin-top: 1px;
}
.bb-workspace-menu summary > span:last-child .bb-icon {
  font-size: 9px;
  color: var(--bb-muted);
}
.bb-workspace-icon {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--bb-tint);
  color: var(--bb-accent);
  border-radius: 8px;
}
.bb-workspace-options {
  padding: 5px;
  border-top: 1px solid var(--bb-line);
}
.bb-workspace-options a {
  display: block;
  padding: 10px 6px;
  font-size: 12px;
  border-radius: 5px;
}
.bb-workspace-options a:hover {
  background: var(--bb-tint);
  color: var(--bb-accent);
}
.bb-workspace-options .bb-icon {
  margin-right: 7px;
}
.bb-nav-caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--bb-muted);
  margin: 0 13px 10px;
  white-space: nowrap;
}
.bb-secondary-caption {
  margin-top: 28px;
}
.bb-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 7px;
  margin-bottom: 4px;
  color: var(--bb-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.bb-nav a .bb-icon {
  width: 16px;
  text-align: center;
  font-size: 13px;
}
.bb-nav a:hover {
  background: var(--bb-alt);
  color: var(--bb-text);
}
.bb-nav a.is-active {
  background: var(--bb-tint);
  color: var(--bb-accent);
  font-weight: 600;
}
.bb-sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.bb-help-card {
  background: var(--bb-alt);
  border: 1px solid var(--bb-line);
  padding: 15px 13px;
  border-radius: 10px;
  margin-bottom: 17px;
}
.bb-help-card > span {
  display: block;
  color: var(--bb-accent);
  margin-bottom: 10px;
  font-size: 17px;
}
.bb-help-card strong {
  font-size: 12px;
}
.bb-help-card p {
  font-size: 11px;
  color: var(--bb-muted);
  line-height: 1.7;
  margin: 5px 0 10px;
}
.bb-help-card a {
  font-size: 11px;
  color: var(--bb-accent);
  font-weight: 600;
}
.bb-help-card a .bb-icon {
  margin-left: 5px;
  font-size: 9px;
}
.bb-sidebar-account {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--bb-line);
  padding: 17px 0;
}
.bb-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.bb-account-link > span:last-child {
  min-width: 0;
}
.bb-account-link strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bb-account-link small {
  display: block;
  font-size: 10px;
  color: var(--bb-muted);
}
.bb-avatar {
  object-fit: cover;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dcecef;
  color: #3c6972;
  font-weight: 600;
}
.bb-avatar-sm {
  height: 34px;
  width: 34px;
  font-size: 11px;
}
.bb-avatar-md {
  height: 42px;
  width: 42px;
  font-size: 13px;
}
.bb-collapse {
  background: none;
  border: 0;
  color: var(--bb-muted);
  padding: 7px;
  font-size: 12px;
}
.bb-sidebar-collapsed {
  --bb-side: 80px;
}
.bb-sidebar-collapsed .bb-brand-row {
  margin-left: 0;
  margin-right: 0;
}
.bb-sidebar-collapsed .bb-brand img {
  width: 46px;
}
.bb-sidebar-collapsed .bb-help-card {
  display: none;
}
.bb-sidebar-collapsed .bb-workspace-menu summary {
  padding: 8px 5px;
  justify-content: center;
}
.bb-sidebar-collapsed .bb-workspace-options {
  position: fixed;
  left: 80px;
  top: 100px;
  width: 200px;
  background: var(--bb-surface);
  box-shadow: 0 8px 30px #0002;
  border: 1px solid var(--bb-line);
  border-radius: 8px;
}
.bb-sidebar-collapsed .bb-nav a {
  padding: 12px 14px;
}
.bb-sidebar-collapsed .bb-sidebar-account {
  flex-direction: column;
}
.bb-sidebar-collapsed .bb-collapse {
  align-self: center;
}
.bb-topbar {
  position: fixed;
  top: 0;
  left: var(--bb-side);
  right: 0;
  height: var(--bb-top);
  background: var(--bb-surface);
  border-bottom: 1px solid var(--bb-line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 30;
}
.bb-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--bb-muted);
  font-size: 12px;
  min-width: 0;
}
.bb-breadcrumb > .bb-icon {
  font-size: 8px;
}
.bb-breadcrumb strong {
  font-weight: 500;
  color: var(--bb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bb-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bb-icon-button {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  color: var(--bb-muted);
  font-size: 12px;
}
.bb-icon-button:hover {
  border-color: var(--bb-accent);
  color: var(--bb-accent);
}
.bb-notifications {
  position: relative;
}
.bb-notifications > span {
  position: absolute;
  right: -6px;
  top: -7px;
  font-size: 8px;
  background: #087c8b;
  color: #fff;
  border: 2px solid var(--bb-surface);
  border-radius: 10px;
  padding: 1px 4px;
  min-width: 15px;
  text-align: center;
}
.bb-user-menu-wrap {
  position: relative;
}
.bb-user-menu-button {
  display: flex;
  border: 0;
  background: none;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--bb-line);
}
.bb-user-menu {
  position: absolute;
  right: 0;
  top: 46px;
  width: 292px;
  max-width: calc(100vw - 30px);
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: 12px;
  box-shadow: 0 16px 45px #162e3b18;
  overflow: hidden;
}
.bb-menu-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--bb-line);
}
.bb-menu-identity > div {
  min-width: 0;
}
.bb-menu-identity strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bb-menu-identity small {
  display: block;
  font-size: 10px;
  color: var(--bb-muted);
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.bb-menu-theme {
  padding: 15px 17px;
}
.bb-menu-theme > span {
  display: block;
  color: var(--bb-muted);
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.bb-theme-picker {
  display: flex;
  gap: 4px;
  background: var(--bb-alt);
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  padding: 3px;
}
.bb-theme-picker button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 4px;
  padding: 6px 2px;
  font-size: 11px;
  color: var(--bb-muted);
}
.bb-theme-picker button[aria-pressed='true'] {
  background: var(--bb-surface);
  color: var(--bb-text);
  box-shadow: 0 1px 4px #0001;
}
.bb-theme-picker .bb-icon {
  font-size: 10px;
  margin-right: 4px;
}
.bb-user-menu > a,
.bb-user-menu form > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 18px;
  font-size: 12px;
  text-align: left;
  color: var(--bb-text);
  border: 0;
  background: none;
}
.bb-user-menu > a:hover,
.bb-user-menu form > button:hover {
  background: var(--bb-alt);
}
.bb-user-menu form {
  border-top: 1px solid var(--bb-line);
  margin-top: 8px;
  padding: 4px 0;
}
.bb-user-menu form > button {
  color: var(--bb-red);
}
.bb-user-menu > a > .bb-icon {
  width: 14px;
  color: var(--bb-muted);
}
.bb-backdrop {
  position: fixed;
  inset: 0;
  background: #142d4470;
  z-index: 35;
}
.ws-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.ws-heading h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--bb-text);
}
.ws-heading p {
  font-size: 13px;
  color: var(--bb-muted);
  margin-top: 9px;
}
.ws-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bb-accent);
  font-weight: 600;
  margin-bottom: 9px;
}
.ws-muted {
  color: var(--bb-muted);
  font-size: 12px;
}
.ws-title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.25px;
  margin-bottom: 17px;
}
.ws-card {
  background: var(--bb-surface);
  border: 1px solid var(--bb-line);
  border-radius: 13px;
  padding: 23px;
  margin-bottom: 20px;
  min-width: 0;
  overflow: hidden;
}
.ws-card-flush {
  padding: 0;
}
.ws-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 23px;
}
.ws-card-head h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.25px;
}
.ws-card-head p {
  font-size: 11px;
  color: var(--bb-muted);
  margin-top: 4px;
}
.ws-card-head.ws-line {
  border-bottom: 1px solid var(--bb-line);
}
.ws-card-body {
  padding: 23px;
}
.ws-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 23px;
  border-top: 1px solid var(--bb-line);
  color: var(--bb-muted);
  font-size: 11px;
}
.ws-form-footer .bb-icon {
  margin-right: 5px;
}
.ws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.ws-grid > .ws-card {
  margin-bottom: 0;
}
.ws-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.ws-full {
  grid-column: 1/-1;
}
.ws-section {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 22px;
}
.ws-section > div,
.ws-section > aside {
  min-width: 0;
}
.ws-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.ws-btn {
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  background: var(--bb-surface);
  color: var(--bb-text);
  font-size: 12px !important;
  font-weight: 550;
  min-height: 36px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.ws-btn > .bb-icon {
  font-size: 11px;
}
.ws-btn:hover {
  border-color: var(--bb-accent);
  color: var(--bb-accent);
}
.ws-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.ws-primary {
  background: #087c8b;
  color: #fff;
  border-color: #087c8b;
}
.ws-primary:hover {
  background: #066775;
  color: white;
}
.ws-btn-small {
  padding: 6px 10px;
  font-size: 11px !important;
  min-height: 29px;
}
.ws-text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-accent);
  border: 0;
  background: none;
  padding: 0;
}
.ws-text-link .bb-icon {
  font-size: 10px;
  margin-left: 6px;
}
.ws-label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 7px;
}
.ws-field {
  display: block;
  margin-bottom: 20px;
  min-width: 0;
}
.ws-input {
  display: block;
  width: 100%;
  border: 1px solid var(--bb-line);
  background: var(--bb-surface);
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--bb-text);
  font: inherit;
  font-size: 13px;
  min-height: 39px;
}
.ws-input:focus {
  outline: 2px solid #49c0ce;
  outline-offset: 2px;
}
.ws-input:read-only {
  background: var(--bb-alt);
}
.ws-field .ws-muted {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.ws-field textarea {
  line-height: 1.8;
  resize: vertical;
}
.ws-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
  background: var(--bb-tint);
  color: var(--bb-accent);
}
.ws-badge[data-status='resolved'],
.ws-badge[data-status='succeeded'],
.ws-badge[data-status='active'] {
  background: var(--bb-green-tint);
  color: var(--bb-green);
}
.ws-badge[data-status='closed'],
.ws-badge[data-status='inactive'] {
  background: var(--bb-alt);
  color: var(--bb-muted);
}
.ws-badge[data-status='failed'],
.ws-badge[data-status='high'],
.ws-badge[data-status='suspended'] {
  background: var(--bb-red-tint);
  color: var(--bb-red);
}
.ws-badge[data-status='waiting'] {
  background: var(--bb-amber-tint);
  color: var(--bb-amber);
}
.ws-badge[data-status='open'] {
  background: var(--bb-blue-tint);
  color: var(--bb-blue);
}
.ws-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bb-tint);
  color: var(--bb-accent);
  padding: 15px 17px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.ws-notice[data-error='true'] {
  background: var(--bb-red-tint);
  color: var(--bb-red);
}
.ws-notice a {
  text-decoration: underline;
}
.ws-empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--bb-muted);
  font-size: 13px;
}
.ws-empty > .bb-icon {
  display: block;
  font-size: 25px;
  color: var(--bb-accent);
  margin-bottom: 14px;
}
.ws-table-wrap {
  overflow: auto;
}
.ws-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
.ws-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bb-muted);
  font-weight: 500;
  padding: 12px 21px;
  background: var(--bb-alt);
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
}
.ws-table td {
  padding: 15px 21px;
  border-bottom: 1px solid var(--bb-line);
  vertical-align: middle;
}
.ws-table tr:last-child td {
  border-bottom: 0;
}
.ws-table tbody tr:hover {
  background: var(--bb-alt);
}
.ws-table a {
  color: var(--bb-text);
  font-weight: 550;
}
.ws-table a:hover {
  color: var(--bb-accent);
}
.ws-table td .ws-muted {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.ws-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ws-person .bb-avatar {
  height: 30px;
  width: 30px;
  font-size: 10px;
}
.ws-person small {
  display: block;
  font-size: 10px;
  color: var(--bb-muted);
  margin-top: 3px;
}
.ws-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 21px;
  border-top: 1px solid var(--bb-line);
  font-size: 11px;
  color: var(--bb-muted);
}
.ws-pagination .ws-btn {
  min-height: 29px;
  padding: 5px 10px;
  font-size: 11px !important;
}
.ws-filter {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ws-filter .ws-field {
  margin: 0;
  flex: 1;
  min-width: 130px;
}
.ws-filter .ws-field:first-child {
  min-width: 220px;
  flex: 2;
}
.ws-filter .ws-label {
  font-size: 10px;
  color: var(--bb-muted);
}
.ws-filter .ws-input {
  font-size: 12px;
}
.ws-filter-panel {
  border: 1px solid var(--bb-line);
  background: var(--bb-surface);
  border-radius: 9px;
  padding: 15px 18px;
  margin-bottom: 20px;
}
.ws-filter-panel .ws-filter {
  margin-bottom: 0;
}
.ws-filter-panel summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--bb-muted);
  list-style: none;
}
.ws-filter-panel[open] summary {
  margin-bottom: 17px;
}
.ws-tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--bb-line);
  margin-bottom: 23px;
  overflow: auto;
}
.ws-tabs a {
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  color: var(--bb-muted);
  font-size: 12px;
}
.ws-tabs a.is-active {
  border-color: var(--bb-accent);
  color: var(--bb-accent);
  font-weight: 600;
}
.ws-tabs small {
  font-size: 10px;
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bb-alt);
  color: var(--bb-muted);
}
.ws-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.ws-stat-grid > .ws-card {
  margin: 0;
  padding: 20px;
}
.ws-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: var(--bb-muted);
  font-size: 12px;
}
.ws-stat-icon {
  height: 29px;
  width: 29px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  color: var(--bb-accent);
  font-size: 12px;
}
.ws-stat {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1.1px;
  margin: 12px 0 8px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.ws-stat-detail {
  color: var(--bb-muted);
  font-size: 11px;
}
.ws-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.ws-dashboard-grid .ws-card {
  margin-bottom: 0;
}
.ws-chart {
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 15px 25px 0;
  margin: 0 23px;
  border-bottom: 1px solid var(--bb-line);
}
.ws-chart-column {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 7px;
  position: relative;
  min-width: 0;
}
.ws-chart-column span {
  width: 100%;
  max-width: 30px;
  min-height: 4px;
  height: var(--bar-height);
  background: #d9ebed;
  border-radius: 4px 4px 0 0;
}
.ws-chart-column:last-child span,
.ws-chart-column:hover span,
.ws-chart-column:focus-visible span {
  background: #087c8b;
}
.ws-chart-column small {
  position: absolute;
  bottom: 100%;
  font-size: 10px;
  color: var(--bb-muted);
}
.ws-chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--bb-muted);
  font-size: 10px;
  padding: 10px 25px 20px;
  margin: 0 23px;
}
.ws-chart-summary {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 23px;
}
.ws-chart-summary strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.ws-chart-summary span {
  font-size: 11px;
  color: var(--bb-muted);
}
.ws-queue-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 23px;
  border-top: 1px solid var(--bb-line);
}
.ws-queue-copy {
  flex: 1;
}
.ws-queue-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.ws-queue-copy small {
  display: block;
  color: var(--bb-muted);
  font-size: 11px;
  margin-top: 3px;
}
.ws-queue-row > b {
  font-size: 21px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.ws-queue-footer {
  padding: 15px 23px;
  background: var(--bb-alt);
  font-size: 11px;
  color: var(--bb-muted);
}
.ws-periods {
  display: flex;
  gap: 4px;
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  padding: 3px;
  background: var(--bb-alt);
}
.ws-periods a {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--bb-muted);
  white-space: nowrap;
}
.ws-periods a[aria-current='true'] {
  background: var(--bb-surface);
  color: var(--bb-text);
  box-shadow: 0 1px 4px #0001;
}
.ws-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 22px;
}
.ws-avatar-editor {
  display: flex;
  align-items: center;
  gap: 21px;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--bb-line);
}
.ws-profile-avatar {
  height: 84px;
  width: 84px;
  border-radius: 21px;
  font-size: 25px;
}
.ws-avatar-editor h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.ws-avatar-editor p {
  font-size: 11px;
  color: var(--bb-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}
.ws-avatar-editor .ws-field {
  margin: 0;
}
.ws-avatar-editor input[type='file'] {
  font-size: 11px;
  max-width: 100%;
  margin-top: 8px;
}
.ws-avatar-remove {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--bb-muted);
  margin-top: 10px;
}
.ws-profile-overview {
  padding: 27px 23px;
  text-align: center;
}
.ws-profile-overview .bb-avatar {
  height: 64px;
  width: 64px;
  font-size: 21px;
  margin: 0 auto 13px;
}
.ws-profile-overview h2 {
  font-size: 17px;
  margin-bottom: 4px;
  font-weight: 600;
}
.ws-profile-overview p {
  color: var(--bb-muted);
  font-size: 12px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.ws-info-list {
  padding: 0 23px;
}
.ws-info-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--bb-line);
  font-size: 11px;
  gap: 10px;
}
.ws-info-list > div > span:first-child {
  color: var(--bb-muted);
}
.ws-security-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 0;
  border-bottom: 1px solid var(--bb-line);
}
.ws-security-row:last-child {
  border: 0;
  padding-bottom: 0;
}
.ws-security-row > .bb-icon {
  color: var(--bb-muted);
  font-size: 15px;
}
.ws-security-row > div {
  flex: 1;
  min-width: 0;
}
.ws-security-row strong {
  display: block;
  font-size: 12px;
}
.ws-security-row p {
  color: var(--bb-muted);
  font-size: 11px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.ws-theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 18px 0 3px;
}
.ws-theme-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.ws-theme-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ws-theme-choice > span {
  display: flex;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--bb-line);
  border-radius: 9px;
  padding: 16px;
  background: var(--bb-surface);
  font-size: 12px;
}
.ws-theme-choice > span > .bb-icon {
  color: var(--bb-muted);
  font-size: 17px;
}
.ws-theme-choice strong {
  font-size: 12px;
  font-weight: 550;
}
.ws-theme-choice small {
  display: block;
  color: var(--bb-muted);
  font-size: 10px;
  margin-top: 3px;
}
.ws-theme-choice > input:checked + span {
  border-color: var(--bb-accent);
  background: var(--bb-tint);
}
.ws-theme-choice > input:checked + span > .bb-icon {
  color: var(--bb-accent);
}
.ws-theme-choice > input:focus-visible + span {
  outline: 3px solid #49c0ce;
  outline-offset: 3px;
}
.ws-preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid var(--bb-line);
}
.ws-preference-row:last-child {
  border: 0;
}
.ws-preference-row h3 {
  font-size: 13px;
  font-weight: 550;
}
.ws-preference-row p {
  font-size: 12px;
  color: var(--bb-muted);
  margin-top: 5px;
  max-width: 460px;
}
.ws-preference-row > select {
  width: 220px;
  flex-shrink: 0;
}
.ws-switch {
  position: relative;
  display: block;
  height: 22px;
  width: 38px;
  flex-shrink: 0;
  cursor: pointer;
}
.ws-switch > input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.ws-switch > span {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--bb-line);
}
.ws-switch > span:before {
  content: '';
  height: 16px;
  width: 16px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.15s;
}
.ws-switch > input:checked + span {
  background: #087c8b;
}
.ws-switch > input:checked + span:before {
  transform: translateX(16px);
}
.ws-switch > input:focus-visible + span {
  outline: 3px solid #49c0ce;
  outline-offset: 3px;
}
.ws-ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 300px;
  gap: 20px;
}
.ws-message {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}
.ws-message-avatar {
  height: 31px;
  width: 31px;
  font-size: 10px;
}
.ws-message-main {
  flex: 1;
  min-width: 0;
}
.ws-message-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-bottom: 9px;
}
.ws-message-head time {
  font-size: 10px;
  color: var(--bb-muted);
}
.ws-message-body {
  background: var(--bb-alt);
  border: 1px solid var(--bb-line);
  border-radius: 0 9px 9px;
  padding: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.85;
  font-size: 13px;
}
.ws-message[data-internal='true'] .ws-message-body {
  background: var(--bb-amber-tint);
  border-color: transparent;
}
.ws-attachment {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--bb-line);
  border-radius: 7px;
  padding: 11px 13px;
  margin-top: 12px;
  background: var(--bb-surface);
  max-width: 380px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.ws-attachment > .bb-icon {
  font-size: 18px;
  color: var(--bb-accent);
}
.ws-attachment > span {
  flex: 1;
  min-width: 0;
}
.ws-attachment small {
  display: block;
  color: var(--bb-muted);
  font-size: 10px;
  margin-top: 3px;
}
.ws-attachment:hover {
  border-color: var(--bb-accent);
}
.ws-composer {
  border-top: 1px solid var(--bb-line);
  padding: 21px 23px;
}
.ws-composer textarea {
  min-height: 110px;
}
.ws-composer .ws-field {
  margin-bottom: 16px;
}
.ws-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--bb-muted);
  margin: 14px 0;
}
.ws-dropzone {
  display: block;
  padding: 21px 15px;
  text-align: center;
  border: 1px dashed #bfd2da;
  border-radius: 9px;
  background: var(--bb-alt);
  cursor: pointer;
  margin-bottom: 18px;
}
.ws-dropzone > .bb-icon {
  font-size: 21px;
  color: var(--bb-accent);
  display: block;
  margin-bottom: 10px;
}
.ws-dropzone strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.ws-dropzone small {
  display: block;
  color: var(--bb-muted);
  font-size: 11px;
  margin-top: 5px;
}
.ws-dropzone input {
  display: block;
  margin: 12px auto 0;
  max-width: 100%;
  font-size: 11px;
}
.ws-dropzone.is-dragging {
  border-color: var(--bb-accent);
  background: var(--bb-tint);
}
.ws-file-summary {
  font-size: 11px;
  color: var(--bb-muted);
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.ws-context {
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.ws-context summary {
  cursor: pointer;
  font-weight: 600;
}
.ws-context pre {
  white-space: pre-wrap;
  max-height: 22rem;
  overflow: auto;
  font-size: 11px;
  margin-top: 15px;
}
.ws-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 13px;
}
.ws-context-grid small {
  display: block;
  color: var(--bb-muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.ws-context-grid strong {
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.ws-context-note {
  padding: 14px 20px;
  border-top: 1px solid var(--bb-line);
  background: var(--bb-alt);
  color: var(--bb-muted);
  font-size: 10px;
}
.ws-activity {
  font-size: 12px;
  border-left: 1px solid var(--bb-line);
  padding: 0 0 18px 14px;
  margin-left: 4px;
  position: relative;
}
.ws-activity:before {
  content: '';
  position: absolute;
  top: 5px;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bb-muted);
}
.ws-activity time {
  display: block;
  color: var(--bb-muted);
  font-size: 10px;
  margin-top: 4px;
}
.ws-activity:last-child {
  padding-bottom: 0;
}
.ws-result-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px dashed #b5d8dd;
  background: var(--bb-tint);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0;
}
.ws-result-callout strong {
  display: block;
  font-size: 13px;
}
.ws-result-callout p {
  font-size: 12px;
  color: var(--bb-muted);
  margin-top: 5px;
}
.ws-dialog {
  border: 1px solid var(--bb-line);
  border-radius: 15px;
  padding: 0;
  background: var(--bb-surface);
  color: var(--bb-text);
  width: min(580px, calc(100% - 28px));
  max-height: 90vh;
  box-shadow: 0 25px 100px #071f3140;
}
.ws-dialog::backdrop {
  background: #102e3a69;
  backdrop-filter: blur(3px);
}
.ws-dialog-head {
  padding: 23px 25px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--bb-line);
}
.ws-dialog-head h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.ws-dialog-head p {
  font-size: 12px;
  color: var(--bb-muted);
  margin-top: 6px;
}
.ws-dialog-body {
  padding: 23px 25px;
}
.ws-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  padding: 17px 25px;
  border-top: 1px solid var(--bb-line);
  background: var(--bb-alt);
}
.ws-dialog .ws-notice {
  margin: 18px 25px 0;
}
.ws-dialog .ws-dialog-body .ws-notice {
  margin: 0 0 18px;
}
.ws-dialog-footer .ws-btn {
  margin: 0;
}
.bb-app [hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .bb-sidebar {
    transform: none !important;
  }
}
@media (max-width: 1200px) {
  .bb-app {
    --bb-side: 218px;
  }
  .bb-sidebar-collapsed {
    --bb-side: 80px;
  }
  .bb-app #main-content {
    padding: 28px 25px;
  }
  .bb-topbar {
    padding: 0 25px;
  }
  .ws-stat-grid > .ws-card {
    padding: 16px;
  }
  .ws-stat {
    font-size: 25px;
  }
  .ws-ticket-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .ws-table th,
  .ws-table td {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 980px) {
  .ws-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ws-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .ws-profile-layout {
    grid-template-columns: 1fr;
  }
  .ws-section {
    grid-template-columns: 1fr;
  }
  .ws-ticket-layout {
    grid-template-columns: 1fr;
  }
  .ws-heading h1 {
    font-size: 27px;
  }
  .ws-form-grid {
    gap: 0 15px;
  }
}
@media (max-width: 767px) {
  .bb-app,
  .bb-app.bb-sidebar-collapsed {
    --bb-side: 246px;
    --bb-top: 64px;
  }
  .bb-app #main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 25px 18px;
  }
  .bb-topbar {
    left: 0;
    padding: 0 18px;
    gap: 12px;
  }
  .bb-mobile-only {
    display: inline-flex !important;
  }
  .bb-sidebar {
    transform: translateX(-100%);
  }
  #sidebar.translate-x-0 {
    transform: translateX(0);
  }
  .bb-top-actions {
    gap: 10px;
  }
  .bb-breadcrumb {
    font-size: 11px;
    flex: 1;
  }
  .bb-breadcrumb > span,
  .bb-breadcrumb > .bb-icon {
    display: none;
  }
  .bb-sidebar-collapsed .sidebar-text.hidden {
    display: initial !important;
  }
  .bb-sidebar-collapsed .bb-help-card {
    display: block;
  }
  .bb-sidebar-collapsed .bb-brand img {
    width: 151px;
  }
  .bb-sidebar-collapsed .bb-brand-row {
    margin: 0 12px 25px;
  }
  .bb-sidebar-collapsed .bb-sidebar-account {
    flex-direction: row;
  }
  .bb-sidebar-collapsed .bb-workspace-menu summary {
    padding: 11px 10px;
    justify-content: flex-start;
  }
  .bb-sidebar-collapsed .bb-workspace-options {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--bb-line);
  }
  #sidebar-toggle {
    display: none;
  }
  .ws-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .ws-heading h1 {
    font-size: 27px;
  }
  .ws-heading p {
    font-size: 12px;
  }
  .ws-stat-grid {
    gap: 11px;
  }
  .ws-stat {
    font-size: clamp(18px, 4.8vw, 24px);
  }
  .ws-stat-top {
    font-size: 10px;
  }
  .ws-stat-icon {
    height: 25px;
    width: 25px;
    font-size: 11px;
  }
  .ws-stat-detail {
    font-size: 10px;
  }
  .ws-profile-layout {
    gap: 18px;
  }
  .ws-card-body,
  .ws-card {
    padding: 20px;
  }
  .ws-card-flush {
    padding: 0;
  }
  .ws-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ws-card-head {
    padding: 18px 20px;
  }
  .ws-form-footer {
    align-items: flex-start;
    padding: 17px 20px;
  }
  .ws-form-footer > span {
    max-width: 150px;
  }
  .ws-form-footer .ws-btn {
    white-space: normal;
  }
  .ws-avatar-editor {
    gap: 16px;
    align-items: flex-start;
  }
  .ws-profile-avatar {
    height: 68px;
    width: 68px;
    border-radius: 17px;
    font-size: 22px;
  }
  .ws-theme-options {
    gap: 8px;
  }
  .ws-theme-choice > span {
    padding: 12px 9px;
    gap: 8px;
  }
  .ws-theme-choice > span > .bb-icon {
    font-size: 13px;
  }
  .ws-theme-choice strong {
    font-size: 11px;
  }
  .ws-theme-choice small {
    font-size: 9px;
  }
  .ws-preference-row {
    gap: 15px;
  }
  .ws-preference-row > select {
    max-width: 155px;
    font-size: 12px;
  }
  .ws-filter .ws-field:first-child {
    min-width: 100%;
  }
  .ws-filter {
    gap: 12px;
  }
  .ws-tabs {
    gap: 20px;
  }
  .ws-result-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .bb-footer {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }
  .ws-dialog-footer {
    flex-wrap: wrap;
  }
  .ws-dialog-head {
    padding: 20px;
  }
  .ws-dialog-body {
    padding: 20px;
  }
  .ws-heading .ws-actions {
    width: 100%;
  }
  .ws-periods {
    max-width: 100%;
    overflow: auto;
  }
  .ws-grid {
    grid-template-columns: 1fr;
  }
  .ws-chart {
    gap: 8px;
  }
  .ws-notice {
    font-size: 11px;
  }
  .ws-pagination {
    align-items: flex-start;
  }
  .ws-pagination .ws-actions {
    gap: 5px;
  }
  .ws-pagination .ws-btn {
    font-size: 10px !important;
    padding: 5px 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bb-app * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ws-dashboard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.ws-card-flush > .ws-filter {
  padding: 20px 23px;
  margin: 0;
  border-bottom: 1px solid var(--bb-line);
}
.ws-context > details.ws-card-body {
  border-top: 1px solid var(--bb-line);
}
.ws-dialog[data-ticket-dialog] {
  width: min(660px, calc(100% - 28px));
}
.ws-dialog [data-ticket-composer] {
  padding: 20px;
}
.ws-dialog [data-ticket-composer] > .ws-card:last-child {
  margin-bottom: 0;
}
.ws-dialog [data-ticket-composer] .ws-card-head {
  padding: 17px;
}
.ws-dialog [data-ticket-composer] .ws-card-body {
  padding: 18px;
}
.ws-dialog[data-ticket-dialog] > .ws-notice {
  margin: 20px;
}
.bb-app main :target {
  scroll-margin-top: 20px;
}
@media (max-width: 767px) {
  .ws-dashboard-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .ws-dialog [data-ticket-composer] {
    padding: 12px;
  }
}
.ws-stat-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ws-page-action {
  display: flex;
  justify-content: flex-end;
  margin-top: -5px;
  margin-bottom: 22px;
}
.ws-account-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.ws-account-heading > .bb-avatar {
  height: 66px;
  width: 66px;
  font-size: 21px;
}
.ws-account-heading h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
}
@media (max-width: 767px) {
  .ws-stat-three {
    grid-template-columns: 1fr;
  }
  .ws-page-action {
    justify-content: flex-start;
  }
}
.bb-topbar .fa-solid {
  font-family: BackboneIcons;
  font-style: normal;
  font-weight: 900;
}

/* Accounting screens share the workspace dark surfaces. */
.dark .bb-legacy :is([class~='dark:bg-slate-900'], [class~='dark:bg-slate-900/60']) {
  background-color: var(--bb-surface);
}
.dark
  .bb-legacy
  :is(
    [class~='dark:bg-slate-700'],
    [class~='dark:bg-slate-800'],
    [class~='dark:bg-slate-800/40'],
    [class~='dark:bg-slate-800/50'],
    [class~='dark:bg-slate-800/60']
  ) {
  background-color: var(--bb-alt);
}
.dark .bb-legacy [class~='dark:bg-slate-950'] {
  background-color: var(--bb-canvas);
}
.dark
  .bb-legacy
  :is(
    [class~='dark:hover:bg-slate-800'],
    [class~='dark:hover:bg-slate-800/40'],
    [class~='dark:hover:bg-slate-800/60']
  ):hover {
  background-color: var(--bb-alt);
}
.dark .bb-legacy [class~='dark:hover:bg-slate-600']:hover {
  background-color: var(--bb-line);
}
.dark .bb-legacy :is([class~='dark:border-slate-700'], [class~='dark:border-slate-800']) {
  border-color: var(--bb-line);
}
.dark .bb-legacy [class~='dark:divide-slate-800'] > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--bb-line);
}

/* Profile photo picker: native selection, drop target and pending changes. */
.ws-avatar-editor {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  margin-bottom: 25px;
  border: 1px dashed var(--bb-line);
  border-radius: 12px;
  background: var(--bb-alt);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.ws-avatar-editor.is-dragging {
  border-color: var(--bb-accent);
  background: var(--bb-tint);
}
.ws-avatar-editor:focus-within {
  outline: 2px solid var(--bb-accent);
  outline-offset: 3px;
}
.ws-avatar-pick {
  display: block;
  position: relative;
  width: 96px;
  height: 96px;
  cursor: pointer;
}
.ws-avatar-pick > span:first-child {
  display: block;
}
.ws-avatar-editor .ws-profile-avatar {
  display: flex;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  font-size: 28px;
  border: 3px solid var(--bb-surface);
}
.ws-avatar-camera {
  position: absolute;
  right: -2px;
  bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--bb-alt);
  border-radius: 50%;
  background: var(--bb-accent);
  color: var(--bb-surface);
  font-size: 12px;
  pointer-events: none;
}
.ws-avatar-content {
  min-width: 0;
}
.ws-avatar-editor h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.ws-avatar-editor p {
  margin: 0 0 13px;
  font-size: 12px;
}
.ws-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ws-avatar-actions .ws-btn {
  min-height: 40px;
  cursor: pointer;
}
.ws-avatar-editor .ws-avatar-help {
  font-size: 11px;
  margin: 0 0 6px;
}
.ws-avatar-editor .ws-avatar-status {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--bb-muted);
}
.ws-avatar-status[data-error='true'] {
  color: var(--bb-red);
}
.ws-avatar-editor [hidden] {
  display: none !important;
}
.ws-avatar-editor .ws-avatar-remove {
  margin: 0 0 12px;
}
@media (max-width: 600px) {
  .ws-avatar-editor {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }
  .ws-avatar-actions .ws-btn {
    min-height: 44px;
  }
  .ws-avatar-camera {
    width: 32px;
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws-avatar-editor {
    transition: none;
  }
}
