:root {
  --fabim-navy-950: #0d1722;
  --fabim-navy-900: #122235;
  --fabim-navy-800: #1a2d41;
  --fabim-navy-700: #263e56;
  --fabim-bronze: #c4b19f;
  --fabim-bronze-strong: #dbc8b5;
  --fabim-steel: #9aa7b0;
  --fabim-canvas: #101923;
  --fabim-surface: #172535;
  --fabim-surface-raised: #1c3044;
  --fabim-surface-soft: #21374d;
  --fabim-line: rgba(154, 167, 176, 0.22);
  --fabim-line-strong: rgba(196, 177, 159, 0.42);
  --fabim-text: #f5f7f8;
  --fabim-muted: #aeb9c0;
  --fabim-success: #3ddc97;
  --fabim-warning: #f2a93b;
  --fabim-danger: #ff647c;
  --sidebar-width: 236px;
  --workspace-header-height: 72px;
  --content-gutter: clamp(18px, 2vw, 34px);
  --enterprise-shadow: 0 18px 45px rgba(4, 10, 18, 0.2);
}

html.light {
  --fabim-canvas: #eef2f5;
  --fabim-surface: #ffffff;
  --fabim-surface-raised: #f8fafb;
  --fabim-surface-soft: #eef3f6;
  --fabim-line: rgba(26, 45, 65, 0.16);
  --fabim-line-strong: rgba(126, 103, 84, 0.36);
  --fabim-text: #182737;
  --fabim-muted: #60717f;
  --enterprise-shadow: 0 18px 42px rgba(26, 45, 65, 0.09);
}

body {
  background: var(--fabim-canvas);
  color: var(--fabim-text);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 650;
}

button svg,
.button-secondary svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
  padding: 0;
}

/* Login */
.login-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: stretch;
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
  background: var(--fabim-canvas);
}

.login-view > .brand {
  display: grid;
  place-items: center;
  padding: 48px;
  background: var(--fabim-navy-800);
  border-right: 1px solid var(--fabim-line-strong);
}

.login-view > .brand::after {
  display: none;
}

.login-view .brand-logo {
  width: min(240px, 65%);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

.login-view .login-form {
  width: min(410px, calc(100% - 48px));
  align-self: center;
  justify-self: center;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--fabim-line);
  border-radius: 8px;
  background: var(--fabim-surface);
  box-shadow: var(--enterprise-shadow);
}

.login-form h1 {
  margin: 3px 0 26px;
  font-size: 26px;
  line-height: 1.2;
}

.login-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

/* Application shell */
#dashboard-view:not([hidden]) {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: var(--fabim-canvas);
}

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 16px;
  overflow: hidden;
  border-right: 1px solid var(--fabim-line);
  background: var(--fabim-navy-800);
  box-shadow: 12px 0 34px rgba(4, 10, 18, 0.12);
}

.sidebar-brand {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 22px;
  border-bottom: 1px solid rgba(196, 177, 159, 0.22);
}

.sidebar-brand .brand-logo {
  width: 126px;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

.sidebar-brand > span {
  color: var(--fabim-steel);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.view-tabs.sidebar-nav {
  position: static;
  z-index: auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  margin: 22px 0 12px;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sidebar-nav .view-tab {
  position: relative;
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #aeb9c0;
  font-size: 13px;
  font-weight: 620;
  text-align: left;
  box-shadow: none;
}

.sidebar-nav .view-tab svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 1.8;
}

.sidebar-nav .view-tab::after {
  display: none;
}

.sidebar-nav .view-tab:hover {
  border-color: rgba(196, 177, 159, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

.sidebar-nav .view-tab.is-active {
  border-color: rgba(196, 177, 159, 0.26);
  background: rgba(196, 177, 159, 0.11);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--fabim-bronze);
}

.sidebar-nav .view-tab.is-active svg {
  color: var(--fabim-bronze-strong);
}

.sidebar-nav .view-tab:disabled {
  opacity: 0.42;
}

.sidebar-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(196, 177, 159, 0.2);
  color: #e6eaed;
}

.sidebar-footer strong,
.sidebar-footer small {
  display: block;
}

.sidebar-footer strong {
  font-size: 11px;
}

.sidebar-footer small {
  margin-top: 2px;
  color: var(--fabim-steel);
  font-size: 9px;
}

.sidebar-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--fabim-success);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.11);
}

.app-workspace {
  min-width: 0;
  min-height: 100vh;
  background: var(--fabim-canvas);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-height: var(--workspace-header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px var(--content-gutter);
  border-bottom: 1px solid var(--fabim-line);
  background: color-mix(in srgb, var(--fabim-surface) 94%, transparent);
  box-shadow: 0 5px 22px rgba(4, 10, 18, 0.08);
  backdrop-filter: blur(16px);
}

.topbar::after {
  display: none;
}

.page-context {
  min-width: 0;
}

.page-context p {
  margin: 0 0 2px;
  color: var(--fabim-bronze);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.page-context h1 {
  margin: 0;
  overflow: hidden;
  color: var(--fabim-text);
  font-size: 20px;
  font-weight: 680;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-nav-button {
  display: none;
}

.icon-button,
.theme-btn,
.alerts-button {
  position: relative;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--fabim-line);
  border-radius: 6px;
  background: var(--fabim-surface-raised);
  color: var(--fabim-muted);
}

.icon-button:hover,
.theme-btn:hover,
.alerts-button:hover {
  border-color: var(--fabim-line-strong);
  background: var(--fabim-surface-soft);
  color: var(--fabim-bronze-strong);
}

.icon-button svg,
.theme-btn svg,
.alerts-button svg {
  width: 18px;
  height: 18px;
}

.account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.account-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 3px;
  padding-left: 4px;
}

.account-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(196, 177, 159, 0.38);
  border-radius: 50%;
  background: rgba(196, 177, 159, 0.12);
  color: var(--fabim-bronze-strong);
  font-size: 11px;
  font-weight: 750;
}

#user-name {
  max-width: 160px;
  overflow: hidden;
  color: var(--fabim-text);
  font-size: 13px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  min-height: 38px;
  padding: 7px 11px;
}

.alerts-button span {
  top: -6px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 1px 5px;
  border: 2px solid var(--fabim-surface);
  background: var(--fabim-bronze);
  color: var(--fabim-navy-950);
  font-size: 10px;
  line-height: 14px;
}

.alerts-panel {
  top: calc(100% - 4px);
  right: var(--content-gutter);
  z-index: 100;
  width: min(430px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 96px));
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--fabim-line-strong);
  border-radius: 8px;
  background: var(--fabim-surface);
  box-shadow: 0 24px 60px rgba(4, 10, 18, 0.34);
}

.alerts-panel-header strong {
  color: var(--fabim-text);
}

.alert-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--fabim-line);
  border-radius: 6px;
  background: var(--fabim-surface-raised);
  color: var(--fabim-text);
}

.alert-item svg {
  width: 16px;
  height: 16px;
  color: var(--fabim-bronze);
}

.alert-item svg:last-child {
  color: var(--fabim-muted);
}

.dashboard-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px var(--content-gutter) 42px;
}

.app-view {
  width: 100%;
  min-width: 0;
  max-width: 1760px;
  margin: 0 auto;
}

.app-view > .view-heading {
  min-height: 48px;
  align-items: center;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.app-view > .view-heading::before {
  display: none;
}

.app-view > .view-heading > div:first-child {
  flex: 1 1 auto;
}

.app-view > .view-heading .eyebrow,
.app-view > .view-heading h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.view-heading .muted {
  margin: 0;
  color: var(--fabim-muted);
  font-size: 13px;
}

.view-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.view-actions .status-message {
  flex-basis: 100%;
}

/* Operational surfaces */
.entries-panel,
.entry-form,
.consultation-filters,
.project-card,
.request-card,
.first-access-notice {
  border: 1px solid var(--fabim-line);
  border-radius: 8px;
  background: var(--fabim-surface);
  box-shadow: 0 10px 30px rgba(4, 10, 18, 0.08);
}

.entries-panel {
  padding: 16px;
}

.table-header {
  min-height: 48px;
  align-items: end;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0;
}

.table-header h2,
.form-title-row h2 {
  color: var(--fabim-text);
  font-size: 16px;
  font-weight: 680;
}

.filters {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 180px);
  align-items: end;
  gap: 8px;
}

label,
.recipient-field > span {
  color: var(--fabim-muted);
  font-size: 11px;
  font-weight: 620;
}

input,
select,
textarea {
  min-height: 38px;
  border: 1px solid var(--fabim-line);
  border-radius: 5px;
  background: var(--fabim-surface-raised);
  color: var(--fabim-text);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(196, 177, 159, 0.4);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--fabim-bronze);
  box-shadow: 0 0 0 3px rgba(196, 177, 159, 0.13);
}

.table-wrap {
  max-height: calc(100vh - 246px);
  border: 1px solid var(--fabim-line);
  border-radius: 6px;
  background: var(--fabim-surface-raised);
}

table {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--fabim-text);
}

thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 42px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--fabim-line-strong);
  background: var(--fabim-navy-700);
  color: #f4e7da;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

tbody td {
  height: 46px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--fabim-line);
  color: var(--fabim-text);
  font-size: 12px;
}

tbody tr:nth-child(odd) td {
  background: color-mix(in srgb, var(--fabim-surface-raised) 93%, var(--fabim-navy-700));
}

tbody tr:nth-child(even) td {
  background: var(--fabim-surface);
}

tbody tr:hover td {
  background: var(--fabim-surface-soft);
}

.hours-table th:last-child,
.hours-table td:last-child,
.deliveries-table th:last-child,
.deliveries-table td:last-child,
.users-table th:last-child,
.users-table td:last-child {
  width: 1%;
  min-width: max-content;
  white-space: nowrap;
}

td button,
.status-button {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 11px;
}

.status-badge {
  min-height: 28px;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 5px;
}

.status-icon,
.status-icon svg {
  width: 16px;
  height: 16px;
}

.status-badge.complete {
  border-color: rgba(61, 220, 151, 0.55);
  background: rgba(61, 220, 151, 0.1);
  color: var(--fabim-success);
}

.status-badge.pending {
  border-color: rgba(242, 169, 59, 0.6);
  background: rgba(242, 169, 59, 0.1);
  color: var(--fabim-warning);
}

.status-badge.rejected {
  border-color: rgba(255, 100, 124, 0.58);
  background: rgba(255, 100, 124, 0.1);
  color: var(--fabim-danger);
}

.consultation-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(140px, 0.8fr)) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--fabim-line-strong);
  border-radius: 8px;
  background: var(--fabim-surface);
  box-shadow: 0 32px 90px rgba(4, 10, 18, 0.48);
}

dialog .entry-form {
  padding: 22px;
  border: 0;
  box-shadow: none;
}

dialog::backdrop {
  background: rgba(5, 12, 20, 0.7);
  backdrop-filter: blur(4px);
}

.form-title-row {
  margin: -2px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fabim-line);
}

.form-grid {
  gap: 13px;
}

.requests-layout,
.settings-layout,
.admin-layout {
  align-items: start;
  gap: 18px;
}

.request-form,
.settings-form,
.admin-layout > .entry-form {
  position: sticky;
  top: calc(var(--workspace-header-height) + 18px);
}

.recipient-picker {
  border-color: var(--fabim-line);
  background: var(--fabim-surface-raised);
}

.request-recipients-summary {
  display: flex;
  align-items: center;
  gap: 7px;
}

.request-recipients-summary svg {
  width: 15px;
  height: 15px;
  color: var(--fabim-bronze);
}

.recipient-avatar,
.settings-avatar {
  background: rgba(196, 177, 159, 0.13);
  color: var(--fabim-bronze-strong);
}

/* Dashboard alignment */
.fabim-report-shell {
  max-width: 1760px;
  color: var(--fabim-text);
}

.report-dashboard {
  min-height: auto;
  background: transparent;
}

.report-topbar {
  position: sticky;
  top: var(--workspace-header-height);
  z-index: 35;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: -24px calc(var(--content-gutter) * -1) 24px;
  padding-block: 10px;
  padding-inline: max(var(--content-gutter), calc((100vw - var(--sidebar-width) - 1420px) / 2));
  border: 0;
  border-bottom: 1px solid var(--fabim-line);
  background: color-mix(in srgb, var(--fabim-surface) 96%, transparent);
  box-shadow: 0 8px 24px rgba(4, 10, 18, 0.08);
  backdrop-filter: blur(16px);
}

.report-nav {
  justify-self: start;
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--fabim-line);
  border-radius: 7px;
  background: var(--fabim-surface-raised);
}

.report-nav button {
  min-height: 32px;
  padding: 5px 12px;
  border: 0;
  background: transparent;
  color: var(--fabim-muted);
  font-size: 11px;
}

.report-nav button.is-active {
  border: 1px solid var(--fabim-line-strong);
  background: var(--fabim-surface-soft);
  color: var(--fabim-text);
  box-shadow: inset 0 -2px 0 var(--fabim-bronze);
}

.report-period {
  justify-self: end;
  min-width: 0;
}

.report-period-control {
  align-items: end;
}

.report-period-control label {
  min-width: 112px;
}

.report-period-control input {
  min-height: 34px;
}

.report-period-control button {
  min-height: 34px;
}

.report-period-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
}

.report-tab-content {
  padding: 0;
}

.report-hero,
.report-week-hero {
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(196, 177, 159, 0.1), rgba(79, 142, 247, 0.04) 54%, rgba(45, 212, 191, 0.06));
}

.report-hero h1,
.report-week-hero h1 {
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.report-kpi,
.report-panel,
.report-chart-card,
.report-person-card,
.report-client-card,
.report-delivery-week {
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(4, 10, 18, 0.09);
}

.report-kpi-icon {
  display: grid;
  place-items: center;
}

.report-kpi-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.report-status b {
  display: inline-grid;
  place-items: center;
}

.report-status b svg {
  width: 14px;
  height: 14px;
}

.mobile-nav-backdrop {
  display: none;
}

html.light .app-sidebar {
  color-scheme: dark;
}

html.light .view-tabs.sidebar-nav {
  background: transparent;
}

html.light .sidebar-nav .view-tab {
  background: transparent;
  color: #aeb9c0;
}

html.light .sidebar-nav .view-tab:hover {
  border-color: rgba(196, 177, 159, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

html.light .sidebar-nav .view-tab.is-active {
  border-color: rgba(196, 177, 159, 0.26);
  background: rgba(196, 177, 159, 0.11);
  color: #ffffff;
}

html.light .topbar,
html.light .report-topbar {
  background: rgba(255, 255, 255, 0.93);
}

html.light thead th {
  background: #324a61;
  color: #fff7ef;
}

@media (max-width: 1380px) {
  :root {
    --sidebar-width: 216px;
  }

  .report-topbar {
    grid-template-columns: minmax(460px, 1fr);
  }

  .report-period {
    justify-self: start;
  }

  .consultation-filters {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .filter-actions {
    grid-column: span 3;
  }
}

@media (max-width: 1100px) {
  .account-identity #user-name,
  .logout-button span {
    display: none;
  }

  .logout-button {
    width: 38px;
    min-width: 38px;
    padding: 0;
  }

  .filters {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .requests-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .request-form,
  .admin-layout > .entry-form {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --workspace-header-height: 66px;
  }

  #dashboard-view:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    position: fixed;
    left: 0;
    width: min(286px, calc(100vw - 46px));
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  #dashboard-view.mobile-nav-open .app-sidebar {
    transform: translateX(0);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: none;
    border: 0;
    border-radius: 0;
    background: rgba(5, 12, 20, 0.68);
  }

  #dashboard-view.mobile-nav-open .mobile-nav-backdrop {
    display: block;
  }

  .mobile-nav-button {
    display: inline-flex;
  }

  .topbar {
    padding-inline: 14px;
  }

  .dashboard-content {
    padding: 18px 14px 34px;
  }

  .report-topbar {
    top: var(--workspace-header-height);
    grid-template-columns: minmax(0, 1fr);
    margin: -18px -14px 18px;
    padding: 10px 14px;
  }

  .report-nav,
  .report-period {
    width: 100%;
    overflow-x: auto;
  }

  .report-nav {
    justify-content: flex-start;
  }

  .report-nav button {
    flex: 0 0 auto;
  }

  .report-period {
    flex-wrap: nowrap;
  }

  .report-period-control {
    flex: 0 0 auto;
  }

  .consultation-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-actions {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .login-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    padding: 24px;
  }

  .login-view > .brand {
    min-height: 150px;
    padding: 24px;
    border: 0;
    border-radius: 8px 8px 0 0;
  }

  .login-view > .brand::after {
    display: none;
  }

  .login-view .brand-logo {
    width: 150px;
  }

  .login-view .login-form {
    width: 100%;
    padding: 24px;
    border-radius: 0 0 8px 8px;
  }

  .page-context p {
    display: none;
  }

  .page-context h1 {
    font-size: 17px;
  }

  .account-avatar,
  #user-name {
    display: none;
  }

  .topbar {
    gap: 8px;
  }

  .account {
    gap: 5px;
  }

  .consultation-filters,
  .filters {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .table-header {
    align-items: stretch;
  }

  .view-heading {
    align-items: flex-start;
  }

  .view-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .report-period-badge {
    display: none;
  }

  .report-period-control label {
    min-width: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-sidebar {
    transition: none;
  }
}
