/*
 * iLiberty Backoffice — content surface aligned with UniConecta
 *
 * Header / sidebar / mobile tab bar stay on the shared shell.
 * Main canvas follows UniConecta DNA: Inter, slate page bg, white
 * bordered cards, solid brand CTAs — refined spacing and hierarchy
 * without a separate “glass” look.
 */

/* ========== Canvas (main only) ========== */
.app-main-wrap--canvas {
  --bg: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 4px 12px rgb(15 23 42 / 0.08);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8fafc;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.5rem 1.75rem 2.75rem;
  animation: view-in 0.28s ease;
}
.view-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Page header — UniConecta app-page-header language */
.view-head {
  position: relative;
  align-items: flex-end;
  margin-bottom: 0;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--border);
}
.view-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.75rem;
  height: 2px;
  border-radius: 99px;
  background: var(--brand-primary);
}
.view-title,
.view-head h1 {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  line-height: 1.2;
}
.view-subtitle {
  margin-top: 0.3rem;
  max-width: 48rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}
.view-head-actions {
  gap: 0.55rem;
}

/* ========== Actions ========== */
.app-main-wrap .btn,
.auth-hero .btn {
  min-height: 2.4rem;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.app-main-wrap .btn:hover:not(:disabled),
.auth-hero .btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.app-main-wrap .btn-primary,
.app-main-wrap .btn-primary:visited,
.auth-hero .btn-primary,
.auth-hero .btn-primary:visited {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}
.app-main-wrap .btn-primary:hover:not(:disabled),
.auth-hero .btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-md);
}
.app-main-wrap .btn-ghost,
.auth-hero .btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.app-main-wrap .btn-ghost:hover,
.auth-hero .btn-ghost:hover {
  background: #f8fafc;
  border-color: var(--border-strong);
  color: var(--brand-dark);
}
.app-main-wrap .btn-sm,
.auth-hero .btn-sm {
  min-height: 2.05rem;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
}

/* ========== Command surfaces ========== */
.bo-workspace {
  gap: 1rem;
}
.bo-dash {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.bo-toolbar,
.bo-period,
.bo-command {
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.bo-command {
  display: flex;
  flex-direction: column;
}
.bo-command__filters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bo-toolbar--command {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bo-toolbar > .bo-toolbar__actions,
.bo-toolbar--command > .bo-toolbar__actions {
  margin-left: auto;
}
.view-body > .bo-period {
  margin-bottom: 0;
}
.view-body > .bo-period + .bo-workspace > .bo-command:first-child,
.view-body > .bo-period + .bo-command {
  margin-top: 0;
}
.view-body > .bo-command + .bo-workspace {
  margin-top: 0;
}

.bo-search {
  min-height: 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding-inline: 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bo-search:focus-within {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgb(0 182 214 / 0.18);
}
.bo-search input {
  color: var(--text);
}
.bo-search input::placeholder {
  color: #94a3b8;
}
.bo-search .material-icons {
  color: #64748b;
}
.bo-period__label {
  color: var(--text-muted);
  font-weight: 600;
}
.bo-period__active {
  color: var(--brand-dark);
  font-weight: 700;
}
.bo-chiprail {
  gap: 0.4rem;
  padding-block: 0.1rem;
}
.bo-filter {
  min-height: 2.1rem;
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bo-filter:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--text);
}
.bo-filter--on {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: none;
  color: #fff;
}
.bo-segment {
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: #f1f5f9;
}
.bo-segment button {
  min-height: 2.05rem;
  border-radius: 9999px;
  color: var(--text-muted);
  font-weight: 600;
}
.bo-segment button.on,
.bo-segment button[aria-selected="true"] {
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}

/* ========== Dashboard nav ========== */
.bo-dashnav {
  margin: 0;
}
.bo-dashnav__list {
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.bo-dashnav__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.bo-dashnav__icon {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: #64748b;
}
.bo-dashnav__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.bo-dashnav__label {
  font-size: 0.84rem;
}
.bo-dashnav__desc {
  display: none;
  margin-top: 0.1rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}
.bo-dashnav__item:hover {
  color: var(--brand-dark);
  background: #f8fafc;
}
.bo-dashnav__item--on {
  color: var(--brand-dark);
  background: #eff6ff;
  box-shadow: inset 3px 0 0 var(--brand-primary);
}
.bo-dashnav__item--on .bo-dashnav__icon {
  color: var(--brand-primary);
}
@media (min-width: 1100px) {
  .bo-dashnav__desc {
    display: block;
  }
  .bo-dashnav__item {
    min-height: 3.1rem;
    padding: 0.5rem 0.8rem;
  }
}

/* ========== KPI tiles ========== */
.bo-kpis,
.agent-kpi-grid {
  gap: 0.875rem;
}
.stat-tile,
a.stat-tile--interactive {
  position: relative;
  overflow: hidden;
  min-height: 7.75rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.stat-tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--brand-primary);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.stat-tile:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.stat-tile--interactive:hover::before,
.stat-tile--interactive:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}
.stat-tile__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
}
.stat-tile__label {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.stat-tile__value {
  color: var(--brand-dark);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.stat-tile__hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}
.stat-tile--success .stat-tile__value {
  color: #059669;
}
.stat-tile--danger .stat-tile__value {
  color: #dc2626;
}
.stat-tile--warning .stat-tile__value {
  color: #d97706;
}

/* ========== Cards / panels / alerts ========== */
.panel-card,
.card,
.bo-card,
.bo-table-wrap,
.bo-detail__hero,
.bo-contract__hero,
.bo-detail__section,
.bo-block,
.bo-calc__controls,
.bo-calc__rows,
.bo-calc__saved {
  border-color: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
}
.panel-card__head {
  margin-bottom: 0.9rem;
}
.panel-card__title {
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.panel-card__subtitle {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.panel-card__head > .material-icons {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #ecfeff;
  color: #0e7490;
}
.bo-alerts {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 900px) {
  .bo-alerts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bo-alert {
  border-radius: var(--radius);
  border-width: 1px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.bo-alert:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.bo-panel-portals {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.bo-panel-portal {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.bo-panel-portal:hover,
.bo-panel-portal:focus-visible {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.bo-panel-portal__icon {
  border-radius: 8px;
}

/* ========== Tables & lists ========== */
.bo-toolbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}
.bo-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bo-icon-btn .material-icons {
  font-size: 1.2rem;
}
.bo-icon-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: var(--border-strong, #cbd5e1);
  color: var(--brand-dark);
}
.bo-icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.bo-listmeta {
  min-height: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.bo-listmeta--warn {
  padding: 0.55rem 0.75rem;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  background: #fffbeb;
}
.bo-listmeta b {
  color: var(--text);
}
/* Primary CTA no longer needs auto-margin when wrapped in actions */
.bo-toolbar__actions > .btn-primary {
  margin-left: 0;
}
.bo-table-scroller,
.bo-table-wrap {
  border-radius: var(--radius);
  background: #fff;
}
.bo-table-wrap {
  border: 1px solid var(--border);
  overflow: hidden;
}
.bo-table {
  border-collapse: separate;
  border-spacing: 0;
}
.bo-table thead th {
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bo-table td {
  padding: 0.95rem 1rem;
  border-bottom-color: #f1f5f9;
  color: var(--text);
}
.bo-table--rows tbody tr {
  transition: background 0.12s ease;
}
.bo-table--rows tbody tr:hover {
  background: #f0fdfa;
  box-shadow: inset 3px 0 0 var(--brand-primary);
}
.bo-rowlink b {
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bo-rowlink small,
.bo-table td small {
  color: var(--text-muted);
}
.bo-th-sort {
  color: inherit;
  font-weight: inherit;
}
.bo-card {
  border-radius: var(--radius);
  border-color: var(--border);
}
.bo-card__link {
  padding: 1rem;
}
.bo-card__title {
  color: var(--brand-dark);
  font-weight: 600;
}
.bo-card__stats {
  border-top-color: #f1f5f9;
}
.bo-pagination {
  margin-top: 0.15rem;
}
.bo-pagination__btn,
.bo-pagination__num,
.bo-pagination__select {
  border-radius: 6px;
  border-color: var(--border);
}
.bo-pagination__num--on {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
.chip {
  border-radius: 9999px;
  font-weight: 600;
}

/* ========== Kanban ========== */
.bo-kb-variant-toolbar {
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.bo-kb-variant-toolbar__hint {
  display: none;
}
.bo-kb-variant-toolbar__stat {
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 600;
}
.bo-kanban-hub--v2 .bo-kb-board--v2 {
  gap: 0.85rem;
  padding: 0.15rem 0 1rem;
}
.bo-kanban-hub--v2 .bo-kb-col--v2 {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: none;
}
.bo-kanban-hub--v2 .bo-kb-col--v2::before {
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.bo-kanban-hub--v2 .bo-kb-col-head--v2 {
  padding: 0.85rem;
  border-bottom-color: var(--border);
}
.bo-kb-col-title {
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bo-kb-col-count {
  background: #fff;
  border-color: var(--border);
  color: var(--text-muted);
  font-weight: 600;
}
.bo-kb-col-subtitle {
  color: #94a3b8;
}
.bo-kanban-hub--v2 .bo-kb-col-body {
  padding: 0.7rem;
}
.bo-kanban-hub--v2 .bo-kb-card--v2 {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.bo-kanban-hub--v2 .bo-kb-card--v2:hover {
  border-color: #99f6e4;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.bo-kb-title--v2 {
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.bo-kb-card-v2__amount {
  color: #059669;
  font-weight: 700;
}
.bo-kb-meta-chip {
  background: #f1f5f9;
  color: var(--text-muted);
}
.bo-kb-colnav__chip {
  border-color: var(--border);
  background: #fff;
  color: var(--text-muted);
}
.bo-kb-colnav__chip--active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

/* ========== Detail / calculator / contracts ========== */
.bo-proposal-workspace {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bo-statusbar {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.bo-detail__hero,
.bo-contract__hero {
  border: 1px solid #a5f3fc;
  background:
    linear-gradient(135deg, #ecfeff 0%, #f0fdfa 55%, #f8fafc 100%);
}
.bo-detail__hero-value,
.bo-contract__hero-main strong {
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.bo-calc__verdict {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.bo-calc__row {
  border-bottom-color: #f1f5f9;
}
.bo-calc__row input,
.bo-calc__row select,
.bo-field input,
.bo-field select,
.bo-field textarea,
.bo-inline-input {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}
.bo-notice {
  border-radius: var(--radius-sm);
  border-color: #a5f3fc;
  background: #ecfeff;
  color: #155e75;
}
.bo-notice--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.bo-notice--bad {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.bo-summary-strip {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 40rem;
  margin: 0.25rem 0 1rem;
  padding: 1.75rem 1.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: #ecfeff;
  color: #0e7490;
  font-size: 1.4rem;
}
.empty-state__title {
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.empty-state__text {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.bo-sheet-backdrop {
  background: rgb(15 23 42 / 0.45);
  backdrop-filter: blur(2px);
}
.bo-sheet {
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 50px rgb(15 23 42 / 0.2);
}
@media (min-width: 760px) {
  .bo-sheet {
    border-radius: 12px;
  }
}
.bo-sheet__head {
  border-bottom-color: var(--border);
}
.bo-sheet__title {
  color: var(--brand-dark);
  letter-spacing: -0.015em;
}
.bo-fab {
  box-shadow: 0 10px 24px rgb(0 191 154 / 0.28);
}

/* ========== Charts ========== */
.bo-funnel__bar,
.bo-cols__bar,
.bo-rank__bar > span {
  border-radius: 6px;
}
.bo-funnel__row,
.bo-rank__row {
  border-radius: 8px;
}

/* ========== Auth ========== */
.auth-hero {
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f8fafc;
}
.auth-hero__panel {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 182, 214, 0.32), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(0, 191, 154, 0.26), transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #002b49 100%);
}
.auth-hero__eyebrow {
  margin: 0 0 0.35rem;
  color: rgb(165 243 252 / 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-hero__panel h1 {
  letter-spacing: -0.025em;
}
.auth-hero__card {
  background: #fff;
  box-shadow: inset 1px 0 0 rgb(15 23 42 / 0.06);
}
.auth-card-kicker {
  margin: 0 0 0.4rem;
  color: var(--brand-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-card-title {
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  font-weight: 700;
}

/* ========== Feedback (content only) ========== */
.app-main-wrap :where(a, button, input, select, textarea):focus-visible,
.auth-hero :where(a, button, input, select, textarea):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(0 182 214 / 0.2);
}
@media (prefers-reduced-motion: reduce) {
  .app-main-wrap *,
  .app-main-wrap *::before,
  .app-main-wrap *::after,
  .auth-hero *,
  .auth-hero *::before,
  .auth-hero *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== Responsive ========== */
@media (min-width: 1500px) {
  .view {
    padding-inline: 2.25rem;
  }
  .bo-kpis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .view {
    gap: 1.15rem;
    padding: 1.1rem 1rem 6.5rem;
  }
  .view-body {
    gap: 1rem;
  }
  .view-head {
    align-items: flex-start;
    padding-bottom: 1rem;
  }
  .view-head-actions {
    width: 100%;
  }
  .view-head-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .bo-toolbar,
  .bo-period,
  .bo-command {
    padding: 0.9rem 1rem;
  }
  .bo-toolbar > .btn-primary {
    margin-left: 0;
  }
  .stat-tile,
  a.stat-tile--interactive {
    min-height: 7.1rem;
  }
  .bo-kb-variant-toolbar__hint {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .view-title,
  .view-head h1 {
    font-size: 1.35rem;
  }
  .bo-toolbar {
    align-items: stretch;
  }
  .bo-search {
    flex-basis: 100%;
  }
  .bo-period,
  .bo-command {
    padding: 0.85rem 0.9rem;
  }
  .bo-period__clear {
    margin-left: 0;
  }
  .bo-dashnav__list {
    border-radius: 8px;
  }
  .panel-card {
    padding: 1rem;
  }
}
