.athena-sidebar,
.athena-main {
  transition: margin-left .22s ease, width .22s ease, transform .22s ease;
}

.athena-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.athena-brand-link {
  min-width: 0;
}

.athena-brand-text {
  white-space: nowrap;
  overflow: hidden;
}

.athena-sidebar-controls {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.athena-nav-section + .athena-nav-section {
  margin-top: .75rem;
}

.athena-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: calc(100% - 1.5rem);
  margin: .75rem .75rem .35rem;
  padding: .35rem .45rem;
  appearance: none;
  border: 0;
  border-radius: var(--athena-radius);
  background: transparent;
  color: var(--athena-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.athena-nav-heading:hover,
.athena-nav-heading:focus-visible {
  background: var(--athena-surface-soft);
  color: var(--athena-text);
}

.athena-nav-heading .bi {
  font-size: .75rem;
}

.athena-nav-items {
  display: grid;
}

.athena-nav-items[hidden] {
  display: none !important;
}

html[data-athena-sidebar="closed"] .athena-sidebar,
.athena-sidebar-closed .athena-sidebar {
  transform: translateX(-100%);
}

html[data-athena-sidebar="closed"] .athena-main,
.athena-sidebar-closed .athena-main {
  margin-left: 0;
}

html[data-athena-sidebar="mini"],
.athena-sidebar-mini {
  --athena-sidebar-width: 4.75rem;
}

html[data-athena-sidebar="mini"] .athena-brand,
.athena-sidebar-mini .athena-brand {
  justify-content: center;
  padding-inline: .6rem;
}

html[data-athena-sidebar="mini"] .athena-brand-text,
html[data-athena-sidebar="mini"] .athena-nav-heading,
html[data-athena-sidebar="mini"] .athena-nav-link span,
html[data-athena-sidebar="mini"] .athena-sidebar-controls,
.athena-sidebar-mini .athena-brand-text,
.athena-sidebar-mini .athena-nav-heading,
.athena-sidebar-mini .athena-nav-link span,
.athena-sidebar-mini .athena-sidebar-controls {
  display: none;
}

html[data-athena-sidebar="mini"] .athena-nav,
.athena-sidebar-mini .athena-nav {
  padding-inline: .5rem;
}

html[data-athena-sidebar="mini"] .athena-nav-link,
.athena-sidebar-mini .athena-nav-link {
  justify-content: center;
  padding-inline: .65rem;
}

html[data-athena-sidebar="mini"] .athena-nav-link i,
.athena-sidebar-mini .athena-nav-link i {
  font-size: 1.15rem;
}

.athena-topbar-actions {
  margin-left: auto;
  justify-content: flex-end;
}

.athena-profile-button {
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid var(--athena-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--athena-surface-soft);
}

.athena-profile-button img {
  width: 100%;
  height: 100%;
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.badge.text-bg-info,
.badge.text-bg-warning {
  color: #fff !important;
}

.athena-app .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}

.badge[class*="badge-outline-"] {
  border: 1px solid currentColor;
  background: transparent;
}

.badge-outline-primary {
  color: var(--bs-primary-text-emphasis);
  border-color: var(--bs-primary-border-subtle);
}

.badge-outline-secondary {
  color: var(--bs-secondary-text-emphasis);
  border-color: var(--bs-secondary-border-subtle);
}

.badge-outline-success {
  color: var(--bs-success-text-emphasis);
  border-color: var(--bs-success-border-subtle);
}

.badge-outline-info {
  color: var(--bs-info-text-emphasis);
  border-color: var(--bs-info-border-subtle);
}

.badge-outline-warning {
  color: var(--bs-warning-text-emphasis);
  border-color: var(--bs-warning-border-subtle);
}

.badge-outline-danger {
  color: var(--bs-danger-text-emphasis);
  border-color: var(--bs-danger-border-subtle);
}

.badge-outline-light {
  color: var(--bs-light-text-emphasis);
  border-color: var(--bs-light-border-subtle);
}

.badge-outline-dark {
  color: var(--bs-dark-text-emphasis);
  border-color: var(--bs-dark-border-subtle);
}

.athena-code-section {
  margin-top: 1.5rem;
}

.athena-code-accordion .accordion-item {
  border-color: var(--athena-border);
  background: var(--athena-surface);
}

.athena-code-accordion .accordion-button {
  gap: .5rem;
  background: var(--athena-surface);
  color: var(--athena-text);
  font-weight: 700;
}

.athena-code-accordion .accordion-button:not(.collapsed) {
  color: var(--athena-text);
  background: var(--athena-surface-soft);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--athena-border);
}

.athena-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  color: var(--athena-muted);
  font-size: .8rem;
  font-weight: 700;
}

.athena-code-accordion pre {
  max-height: 28rem;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
  padding: 1rem;
  font-size: .8125rem;
}

.athena-code-accordion code {
  color: var(--athena-text);
  white-space: pre;
}

.athena-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}

.athena-link-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 4.5rem;
  padding: .9rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
  color: var(--athena-text);
  text-decoration: none;
}

.athena-link-card:hover {
  background: var(--athena-surface-soft);
}

.athena-link-card i {
  display: grid;
  place-items: center;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
  color: var(--bs-primary);
}

.athena-link-card small {
  display: block;
  color: var(--athena-muted);
  font-size: .78rem;
}

.athena-filter-bar {
  align-items: center;
}

.athena-filter-bar .btn-sm {
  line-height: 1.2;
  padding-block: .3rem;
}

.athena-number-stepper {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: stretch;
}

.athena-number-stepper .form-control {
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-radius: 0;
  appearance: textfield;
}

.athena-number-stepper .form-control::-webkit-outer-spin-button,
.athena-number-stepper .form-control::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.athena-number-stepper .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.athena-number-stepper .btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.athena-range-meter {
  position: relative;
  padding-top: 1.35rem;
}

.athena-range-output {
  position: absolute;
  top: 0;
  left: var(--athena-range-position, 50%);
  transform: translateX(-50%);
  min-width: 2rem;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: var(--bs-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}

.athena-range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--athena-muted);
  font-size: .78rem;
}

.athena-input-preview {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  margin-top: .45rem;
  padding: .25rem .55rem;
  border: 1px solid var(--athena-border);
  border-radius: 999px;
  background: var(--athena-surface-soft);
  color: var(--athena-text);
  font-size: .82rem;
}

.athena-multi-select option:checked,
.athena-multi-select option:checked:hover,
.athena-multi-select option:checked:focus,
.athena-multi-select:focus option:checked {
  background: #1d4ed8 !important;
  box-shadow: inset 0 0 0 9999px #1d4ed8;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.athena-validation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-table-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 13rem;
}

.athena-avatar-sm {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--athena-surface-soft);
}

.athena-table-user small,
.athena-address,
.athena-link-meta {
  display: block;
  color: var(--athena-muted);
  font-size: .8rem;
}

.athena-table-link {
  font-weight: 700;
  text-decoration: none;
}

.athena-table-link:hover {
  text-decoration: underline;
}

.athena-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
}

.athena-swatch {
  overflow: hidden;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
}

.athena-swatch-colour {
  min-height: 5rem;
}

.athena-swatch-body {
  padding: .85rem;
}

.athena-swatch-body code,
.athena-type-sample code {
  color: var(--athena-muted);
}

.athena-demo-frame {
  border: 1px dashed var(--athena-border);
  border-radius: var(--athena-radius-lg);
  background: var(--athena-surface-soft);
  padding: 1rem;
}

.athena-demo-box {
  display: grid;
  place-items: center;
  min-height: 4rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
  color: var(--athena-text);
  font-weight: 700;
}

.athena-type-scale {
  display: grid;
  gap: 1rem;
}

.athena-type-sample {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--athena-border);
}

.athena-check-list {
  list-style: none;
  padding-left: 0;
}

.athena-check-list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-bottom: .55rem;
}

.athena-check-list i {
  color: var(--bs-success);
}

.athena-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.athena-kanban-column {
  min-height: 28rem;
  padding: 1rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius-lg);
  background: var(--athena-surface-soft);
}

.athena-kanban-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.athena-kanban-list {
  display: grid;
  gap: .75rem;
  min-height: 22rem;
  align-content: start;
  border-radius: var(--athena-radius);
}

.athena-kanban-list.is-drop-target {
  outline: 2px dashed color-mix(in srgb, var(--bs-primary) 45%, transparent);
  outline-offset: .35rem;
}

.athena-kanban-card {
  cursor: grab;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .06);
}

.athena-kanban-card:active {
  cursor: grabbing;
}

.athena-kanban-card.is-dragging {
  opacity: .55;
}

.athena-kanban-card .card-body {
  padding: .9rem;
}

.athena-kanban-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .8rem;
}

.athena-chat {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) 1fr;
  min-height: 38rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius-lg);
  overflow: hidden;
  background: var(--athena-surface);
  box-shadow: var(--athena-shadow);
}

.athena-chat-list {
  border-right: 1px solid var(--athena-border);
  background: var(--athena-surface-soft);
  padding: .75rem;
}

.athena-chat-person {
  width: 100%;
  border: 0;
  border-radius: var(--athena-radius);
  background: transparent;
  color: var(--athena-text);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  text-align: left;
}

.athena-chat-person:hover,
.athena-chat-person.active {
  background: var(--athena-surface);
}

.athena-chat-person img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.athena-chat-person small {
  display: block;
  color: var(--athena-muted);
}

.athena-chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.athena-chat-panel header,
.athena-chat-compose {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--athena-border);
}

.athena-chat-compose {
  border-top: 1px solid var(--athena-border);
  border-bottom: 0;
}

.athena-chat-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.athena-message {
  position: relative;
  max-width: min(70%, 34rem);
  margin: .35rem 0 0 1.25rem;
  padding: .75rem 1rem;
  border-radius: 1rem;
}

.athena-message-avatar {
  position: absolute;
  top: -.55rem;
  left: -.9rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--athena-surface);
  border-radius: 999px;
  background: var(--athena-surface);
  box-shadow: 0 .25rem .65rem rgba(15, 23, 42, .16);
}

.athena-message.received {
  align-self: flex-start;
  background: var(--athena-surface-soft);
}

.athena-message.sent {
  align-self: flex-end;
  background: var(--bs-primary);
  color: #fff;
  margin-right: 0;
}

.athena-welcome-hero {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius-lg);
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--bs-primary) 16%, transparent), transparent 24rem),
    linear-gradient(135deg, var(--athena-surface), var(--athena-surface-soft));
  box-shadow: var(--athena-shadow);
}

.athena-welcome-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: .95;
}

.athena-welcome-actions,
.athena-welcome-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.athena-welcome-proof {
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--athena-muted);
}

.athena-welcome-proof li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.athena-welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.athena-feature-link {
  color: inherit;
  text-decoration: none;
}

.athena-feature-link:hover,
.athena-feature-link:focus-visible {
  border-color: color-mix(in srgb, var(--bs-primary) 50%, var(--athena-border));
}

.athena-feature-link i {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: var(--athena-radius);
  color: var(--bs-primary);
  background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
}

.athena-foi-command {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.athena-foi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.athena-foi-pill {
  padding: .9rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-foi-pill span,
.athena-case-card small,
.athena-ticket-item small,
.athena-ticket-meta {
  display: block;
  color: var(--athena-muted);
}

.athena-foi-pill strong {
  display: block;
  margin-top: .25rem;
  font-size: 1.35rem;
}

.athena-foi-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.athena-foi-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.athena-foi-lane {
  display: grid;
  gap: .75rem;
  align-content: start;
  min-height: 21rem;
  padding: .8rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-foi-lane h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0;
  font-size: .9rem;
}

.athena-case-card {
  padding: .8rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
  box-shadow: 0 .25rem .7rem rgba(15, 23, 42, .05);
  min-width: 0;
  overflow-wrap: anywhere;
}

.athena-deadline-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--athena-border);
}

.athena-deadline-row:last-child {
  border-bottom: 0;
}

.athena-deadline-date {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: var(--athena-radius);
  background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
  color: var(--bs-primary);
  font-weight: 700;
  text-align: center;
}

.athena-ticket-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 1rem;
  align-items: start;
}

.athena-ticket-list,
.athena-ticket-thread,
.athena-ticket-aside {
  display: grid;
  gap: .75rem;
}

.athena-ticket-item {
  width: 100%;
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface);
  color: var(--athena-text);
  text-align: left;
}

.athena-ticket-item:hover,
.athena-ticket-item.active {
  border-color: color-mix(in srgb, var(--bs-primary) 45%, var(--athena-border));
  background: color-mix(in srgb, var(--bs-primary) 7%, var(--athena-surface));
}

.athena-ticket-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
}

.athena-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.athena-ticket-message {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-sla-meter {
  display: grid;
  gap: .35rem;
}

.athena-sla-meter progress {
  width: 100%;
  height: .65rem;
  accent-color: var(--bs-primary);
}

.athena-kpi-hero,
.athena-dashboard-split,
.athena-project-shell,
.athena-security-shell,
.athena-content-shell {
  display: grid;
  gap: 1rem;
}

.athena-kpi-hero > *,
.athena-dashboard-split > *,
.athena-project-shell > *,
.athena-security-shell > *,
.athena-content-shell > *,
.athena-foi-command > *,
.athena-foi-grid > *,
.athena-ticket-shell > *,
.athena-project-board > *,
.athena-foi-pipeline > *,
.athena-content-stages > * {
  min-width: 0;
}

.athena-kpi-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-items: stretch;
}

.athena-kpi-score {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border: .65rem solid color-mix(in srgb, var(--bs-primary) 24%, var(--athena-border));
  border-right-color: var(--bs-primary);
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 800;
}

.athena-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.athena-kpi-card,
.athena-project-card,
.athena-security-finding,
.athena-content-tile {
  padding: .9rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-kpi-card strong,
.athena-project-card strong,
.athena-security-finding strong,
.athena-content-tile strong {
  display: block;
  font-size: 1.35rem;
}

.athena-dashboard-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, .45fr);
}

.athena-project-shell {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: start;
}

.athena-project-board,
.athena-content-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.athena-project-stage,
.athena-content-stage {
  display: grid;
  gap: .75rem;
  align-content: start;
  padding: .85rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-project-stage h3,
.athena-content-stage h3 {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin: 0;
  font-size: .9rem;
}

.athena-project-card,
.athena-content-tile {
  background: var(--athena-surface);
  min-width: 0;
  overflow-wrap: anywhere;
}

.athena-security-shell {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
}

.athena-attack-surface {
  display: grid;
  gap: .75rem;
}

.athena-security-finding {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
}

.athena-severity-dot {
  width: .85rem;
  height: .85rem;
  border-radius: 999px;
}

.athena-content-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}

.athena-content-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .5rem;
}

.athena-content-day {
  min-height: 5rem;
  padding: .65rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius-lg);
  overflow: hidden;
  background: var(--athena-surface);
}

.athena-month-head {
  padding: .75rem;
  font-weight: 700;
  color: var(--athena-muted);
  background: var(--athena-surface-soft);
  border-bottom: 1px solid var(--athena-border);
}

.athena-month-day {
  min-height: 7rem;
  padding: .65rem;
  border-right: 1px solid var(--athena-border);
  border-bottom: 1px solid var(--athena-border);
  display: grid;
  align-content: start;
  gap: .4rem;
}

.athena-month-day:nth-child(7n) {
  border-right: 0;
}

.athena-month-date {
  justify-self: start;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.athena-month-date.is-today {
  color: #fff;
  background: var(--bs-primary);
}

.athena-month-day.is-muted {
  color: var(--athena-muted);
  background: color-mix(in srgb, var(--athena-surface-soft) 55%, transparent);
}

.athena-calendar-event {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: .2rem .45rem;
  border-radius: .375rem;
  font-size: .75rem;
  line-height: 1;
  background: color-mix(in srgb, var(--bs-primary) 12%, var(--athena-surface));
  color: var(--athena-text);
}

.athena-inbox {
  display: grid;
  grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius-lg);
  overflow: hidden;
  background: var(--athena-surface);
  box-shadow: var(--athena-shadow);
}

.athena-inbox-list {
  background: var(--athena-surface-soft);
  border-right: 1px solid var(--athena-border);
  padding: .75rem;
}

.athena-inbox-item {
  width: 100%;
  border: 0;
  border-radius: var(--athena-radius);
  background: transparent;
  color: var(--athena-text);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  text-align: left;
}

.athena-inbox-item:hover,
.athena-inbox-item.active {
  background: var(--athena-surface);
}

.athena-initial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--bs-primary);
  box-shadow: 0 .35rem .8rem rgba(15, 23, 42, .16);
}

.athena-inbox-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 38rem;
}

.athena-inbox-header,
.athena-inbox-compose {
  padding: 1rem;
  border-bottom: 1px solid var(--athena-border);
}

.athena-inbox-body {
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.athena-mail-bubble {
  max-width: min(42rem, 100%);
  padding: 1rem;
  border-radius: var(--athena-radius-lg);
  background: var(--athena-surface-soft);
}

.athena-mail-bubble.sent {
  justify-self: end;
  color: #fff;
  background: var(--bs-primary);
}

.athena-inbox-compose {
  border-top: 1px solid var(--athena-border);
  border-bottom: 0;
}

.athena-search-results .badge,
.athena-notification-feed .badge,
.athena-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}

.athena-notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}

.athena-file-manager {
  display: grid;
  grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.6fr);
  gap: 1rem;
}

.athena-file-tree {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
}

.athena-file-tree ul {
  list-style: none;
  margin: .35rem 0 .35rem 1.35rem;
  padding: 0 0 0 .75rem;
  border-left: 1px solid var(--athena-border);
  display: grid;
  gap: .35rem;
}

.athena-file-tree a,
.athena-file-tree button {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .45rem .55rem;
  border: 0;
  border-radius: var(--athena-radius);
  background: transparent;
  color: var(--athena-text);
  text-decoration: none;
  text-align: left;
}

.athena-file-tree a:hover,
.athena-file-tree a.active,
.athena-file-tree button:hover,
.athena-file-tree button.active {
  background: var(--athena-surface-soft);
}

.athena-modal-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.athena-modal-demo-grid .athena-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.athena-span-full {
  grid-column: 1 / -1;
}

.athena-finance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 1rem;
  align-items: stretch;
}

.athena-bank-card {
  display: grid;
  gap: 1.25rem;
  min-height: 18rem;
  color: #fff;
  background: linear-gradient(135deg, #111827, #2563eb);
}

.athena-bank-card .athena-card-chip {
  width: 3rem;
  height: 2.1rem;
  border-radius: .45rem;
  background: linear-gradient(135deg, #facc15, #d97706);
}

.athena-bank-card-number {
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: .08em;
}

.athena-finance-ledger,
.athena-stock-ledger,
.athena-product-list {
  display: grid;
  gap: .75rem;
}

.athena-ledger-row,
.athena-stock-row,
.athena-product-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-ledger-icon,
.athena-stock-icon,
.athena-product-thumb,
.athena-hour-cell {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--athena-radius);
  background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
  color: var(--bs-primary);
}

.athena-warehouse-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.athena-warehouse-bin {
  min-height: 5.25rem;
  padding: .75rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--bs-primary) 9%, transparent), color-mix(in srgb, var(--bs-primary) 9%, transparent) .6rem, var(--athena-surface-soft) .6rem, var(--athena-surface-soft) 1.2rem);
}

.athena-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.athena-product-card {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--athena-border);
  border-radius: var(--athena-radius);
  background: var(--athena-surface-soft);
}

.athena-product-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}

.athena-product-image {
  display: grid;
  place-items: center;
  min-height: 8rem;
  border-radius: var(--athena-radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bs-primary) 18%, transparent), var(--athena-surface));
  font-size: 2.5rem;
  color: var(--bs-primary);
}

.athena-activity-heatmap {
  display: grid;
  grid-template-columns: 4rem repeat(24, minmax(0, 1fr));
  gap: .4rem;
  align-items: center;
}

.athena-hour-label,
.athena-day-label {
  color: var(--athena-muted);
  font-size: .78rem;
}

.athena-hour-label {
  text-align: center;
}

.athena-day-label {
  font-weight: 700;
}

.athena-hour-cell {
  width: 100%;
  min-height: 2rem;
  height: auto;
  font-size: .75rem;
  font-weight: 700;
  color: var(--athena-text);
}

.athena-hour-cell[data-level="1"] { background: color-mix(in srgb, var(--bs-primary) 12%, var(--athena-surface)); }
.athena-hour-cell[data-level="2"] { background: color-mix(in srgb, var(--bs-primary) 28%, var(--athena-surface)); }
.athena-hour-cell[data-level="3"] { background: color-mix(in srgb, var(--bs-primary) 46%, var(--athena-surface)); }
.athena-hour-cell[data-level="4"] { background: color-mix(in srgb, var(--bs-primary) 68%, var(--athena-surface)); color: #fff; }

.athena-credit-preview {
  border-radius: var(--athena-radius-lg);
  padding: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #111827, #0d6efd);
}

@media (max-width: 1199.98px) {
  .athena-kpi-hero,
  .athena-dashboard-split,
  .athena-project-shell,
  .athena-security-shell,
  .athena-content-shell,
  .athena-finance-hero,
  .athena-ticket-shell,
  .athena-foi-command,
  .athena-foi-grid {
    grid-template-columns: 1fr;
  }

  .athena-kpi-grid,
  .athena-content-stages,
  .athena-foi-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .athena-modal-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1599.98px) and (min-width: 1200px) {
  .athena-ticket-shell {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  }

  .athena-ticket-shell > .athena-ticket-aside {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .athena-sidebar {
    transform: translateX(-100%);
  }

  html[data-athena-sidebar="open"] .athena-sidebar,
  .athena-sidebar-open .athena-sidebar {
    transform: translateX(0);
  }

  html[data-athena-sidebar="closed"] .athena-sidebar,
  .athena-sidebar-closed .athena-sidebar {
    transform: translateX(-100%);
  }

  html[data-athena-sidebar="mini"],
  .athena-sidebar-mini {
    --athena-sidebar-width: 17rem;
  }

  html[data-athena-sidebar="mini"] .athena-brand-text,
  html[data-athena-sidebar="mini"] .athena-nav-heading,
  html[data-athena-sidebar="mini"] .athena-nav-link span,
  html[data-athena-sidebar="mini"] .athena-sidebar-controls,
  .athena-sidebar-mini .athena-brand-text,
  .athena-sidebar-mini .athena-nav-heading,
  .athena-sidebar-mini .athena-nav-link span,
  .athena-sidebar-mini .athena-sidebar-controls {
    display: initial;
  }

  .athena-chat {
    grid-template-columns: 1fr;
  }

  .athena-inbox,
  .athena-file-manager {
    grid-template-columns: 1fr;
  }

  .athena-kanban {
    grid-template-columns: 1fr;
  }

  .athena-welcome-grid,
  .athena-foi-command,
  .athena-foi-grid,
  .athena-dashboard-split,
  .athena-project-shell,
  .athena-security-shell,
  .athena-content-shell,
  .athena-ticket-shell {
    grid-template-columns: 1fr;
  }

  .athena-foi-pipeline,
  .athena-foi-strip,
  .athena-warehouse-map,
  .athena-catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .athena-chat-list {
    border-right: 0;
    border-bottom: 1px solid var(--athena-border);
  }

  .athena-inbox-list {
    border-right: 0;
    border-bottom: 1px solid var(--athena-border);
  }
}

@media (max-width: 575.98px) {
  .athena-search {
    display: none;
  }

  .athena-topbar-actions {
    gap: .25rem;
  }

  .athena-kpi-grid,
  .athena-project-board,
  .athena-content-stages,
  .athena-content-calendar,
  .athena-modal-demo-grid,
  .athena-ticket-shell > .athena-ticket-aside,
  .athena-warehouse-map,
  .athena-catalogue-grid {
    grid-template-columns: 1fr;
  }

  .athena-foi-pipeline,
  .athena-foi-strip {
    grid-template-columns: 1fr;
  }

  .athena-activity-heatmap {
    grid-template-columns: 3.5rem repeat(24, minmax(2.25rem, 1fr));
    overflow-x: auto;
  }

  .athena-month-calendar {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(7.5rem, 1fr));
  }

  .athena-month-day {
    min-height: 6rem;
  }

  .athena-inbox-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .athena-inbox-item > :last-child {
    grid-column: 2;
    justify-self: start;
  }
}
