:root {
  --bo-bg: #f6f8ff;
  --bo-panel: #fbfcff;
  --bo-panel-soft: #eef2ff;
  --bo-panel-muted: #f4f6ff;
  --bo-ink: #0f172a;
  --bo-muted: #5b6476;
  --bo-line: #e3e7f2;
  --bo-accent: #5b7cfa;
  --bo-accent-strong: #435fd6;
  --bo-accent-soft: rgba(91, 124, 250, 0.1);
  --bo-success: #10b981;
  --bo-success-strong: #0d8f57;
  --bo-warning: #f59e0b;
  --bo-warning-strong: #94620c;
  --bo-danger: #ef3b5b;
  --bo-danger-strong: #b13a3a;
  --bo-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
  --bo-shell-shadow: 0 32px 90px rgba(15, 23, 42, 0.12);
  --bo-radius-xl: 30px;
  --bo-radius-lg: 24px;
  --bo-radius-md: 18px;
  --bo-content-max: 1360px;
  --bo-desktop-sticky-offset: 108px;
  --bo-font-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --bo-font-display: "Aptos Display", "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--bo-font-body);
  color: var(--bo-ink);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(91, 124, 250, 0.14), transparent 55%),
    radial-gradient(800px 460px at 90% 0%, rgba(239, 59, 91, 0.1), transparent 55%),
    var(--bo-bg);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.bo-main {
  padding: 24px 0 0;
}

.bo-module {
  display: grid;
  gap: 20px;
}

.bo-page {
  max-width: var(--bo-content-max);
  margin: 0 auto;
}

.bo-page > * {
  animation: bo-rise 0.42s ease both;
}

.bo-page > :nth-child(2) {
  animation-delay: 0.04s;
}

.bo-page > :nth-child(3) {
  animation-delay: 0.08s;
}

.bo-page > :nth-child(4) {
  animation-delay: 0.12s;
}

.bo-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(227, 231, 242, 0.92);
  border-radius: var(--bo-radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(251, 252, 255, 0.96) 55%, rgba(238, 242, 255, 0.92) 100%);
  box-shadow: var(--bo-shadow);
}

.bo-page-head__kicker {
  margin: 0;
  color: var(--bo-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.bo-page-head__title {
  margin: 8px 0 6px;
  font-family: var(--bo-font-display);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.bo-page-head__subtitle {
  margin: 0;
  color: var(--bo-muted);
  font-size: 14px;
  max-width: 700px;
}

.bo-page-head__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bo-panel {
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(244, 246, 255, 0.98));
  border: 1px solid rgba(227, 231, 242, 0.94);
  border-radius: var(--bo-radius-lg);
  box-shadow: var(--bo-shadow);
}

.bo-panel__body {
  padding: 22px;
}

.bo-section {
  display: grid;
  gap: 18px;
}

.bo-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.bo-section__title {
  margin: 0;
  font-family: var(--bo-font-display);
  font-size: 18px;
}

.bo-section__subtitle {
  margin: 5px 0 0;
  color: var(--bo-muted);
  font-size: 13px;
}

.bo-section__meta {
  margin-top: 2px;
  color: var(--bo-muted);
  font-size: 13px;
  font-weight: 700;
}

.bo-muted {
  color: var(--bo-muted);
}

.bo-shell-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--bo-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--bo-muted);
  font-size: 12px;
  font-weight: 700;
}

.bo-shell-chip--accent {
  background: var(--bo-accent-soft);
  border-color: rgba(91, 124, 250, 0.22);
  color: var(--bo-accent-strong);
}

:is(.bo-request-filters-panel, .bo-team-filters-panel, .bo-client-filters-panel, .bo-report-desk-card, .bo-settings-console) {
  position: relative;
  overflow: hidden;
}

:is(.bo-request-filters-panel, .bo-team-filters-panel, .bo-client-filters-panel, .bo-report-desk-card, .bo-settings-console)::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(91, 124, 250, 0.9), rgba(91, 124, 250, 0.08));
  pointer-events: none;
}

:is(.bo-request-filters-panel, .bo-team-filters-panel, .bo-client-filters-panel) .bo-section__head,
.bo-report-desk-bar,
.bo-settings-console__bar {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bo-line);
}

.bo-module-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(227, 231, 242, 0.92);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.94), rgba(251, 252, 255, 0.96));
  box-shadow: var(--bo-shadow);
}

.bo-module-banner--alt {
  background: linear-gradient(135deg, rgba(244, 246, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.bo-module-banner__copy {
  display: grid;
  gap: 6px;
}

.bo-module-banner__eyebrow {
  margin: 0;
  color: var(--bo-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.bo-module-banner__title {
  margin: 0;
  font-family: var(--bo-font-display);
  font-size: 17px;
}

.bo-module-banner__text {
  margin: 0;
  color: var(--bo-muted);
  font-size: 13px;
}

.bo-module-banner__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.bo-pill--blue {
  color: #3f57c8;
  background: #e8edff;
}

.bo-pill--green {
  color: #0e7d59;
  background: #dcf8ee;
}

.bo-pill--amber {
  color: #94620c;
  background: #fff1d1;
}

.bo-pill--red {
  color: #c1324f;
  background: #ffe4eb;
}

.bo-pill--gray {
  color: #68758d;
  background: #edf0f8;
}

.bo-btn,
.bo-btn-secondary,
.bo-btn-ghost,
.bo-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.bo-btn:hover,
.bo-btn-secondary:hover,
.bo-btn-ghost:hover,
.bo-btn-danger:hover {
  transform: translateY(-1px);
}

.bo-btn {
  color: #ffffff;
  background: linear-gradient(180deg, var(--bo-accent) 0%, var(--bo-accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(91, 124, 250, 0.2);
}

.bo-btn-secondary {
  color: var(--bo-ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--bo-line);
}

.bo-btn-ghost {
  color: var(--bo-accent-strong);
  background: var(--bo-accent-soft);
}

.bo-btn-danger {
  color: var(--bo-danger);
  background: rgba(239, 59, 91, 0.08);
  border-color: rgba(239, 59, 91, 0.22);
}

.bo-empty {
  padding: 34px 28px;
  text-align: center;
  color: var(--bo-muted);
  border: 1px dashed var(--bo-line);
  border-radius: var(--bo-radius-md);
  background: linear-gradient(180deg, rgba(244, 246, 255, 0.98), rgba(251, 252, 255, 0.98));
}

.bo-empty--compact {
  padding: 22px;
}

.bo-empty h3 {
  margin: 0 0 8px;
  color: var(--bo-ink);
  font-family: var(--bo-font-display);
  font-size: 16px;
}

.bo-empty p {
  margin: 0;
}

@keyframes bo-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .bo-main {
    padding-top: 18px;
  }

  .bo-page-head {
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .bo-page-head__title {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .bo-module-banner {
    flex-direction: column;
  }
}
