:root {
  --primary: #2f6e38;
  --primary-dark: #24562c;
  --primary-soft: #5aa05f;
  --header-pill: #4d7a52;
  --header-pill-dark: #3f6b45;
  --ink: #1b1f1a;
  --muted: #4e5b50;
  --surface: #f3f5f2;
  --surface-strong: #ffffff;
  --accent: #cfe9cf;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(13, 28, 18, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 14px;
  background: #e9ece6;
}

a {
  color: inherit;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row::after {
  content: "";
  flex-basis: 0;
  width: 0;
}

.row > .card-panel,
.row > .card,
.row > .table-card {
  flex: 1 0 100%;
}

.col {
  padding: 0 8px;
  min-width: 0;
}

.s4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.s5 {
  flex: 0 0 41.6667%;
  max-width: 41.6667%;
}

.s6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.s7 {
  flex: 0 0 58.3333%;
  max-width: 58.3333%;
}

.s8 {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
}

.s10 {
  flex: 0 0 83.3333%;
  max-width: 83.3333%;
}

.s2 {
  flex: 0 0 16.6667%;
  max-width: 16.6667%;
}

.s12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.card-panel {
  background: #ffffff;
  padding: 12px;
}

.card-panel.row {
  width: 100%;
}

.card-panel.row > table {
  width: 100%;
}

.rules-section-title {
  background: linear-gradient(180deg, #2e5f37 0%, #24562c 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 8px;
}
.tabs {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
}

.tabs .tab {
  flex: 1;
  text-align: center;
}

.tabs .tab a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "sidebar topbar"
    "sidebar main";
  padding: 0;
}

.topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 0;
  background: linear-gradient(180deg, #3a6f44 0%, #2e5f37 100%);
  border: 1px solid rgba(24, 58, 32, 0.55);
  box-shadow: 0 10px 18px rgba(20, 42, 26, 0.18);
  position: sticky;
  top: 0;
  z-index: 800;
}

.topbar-actions a {
  pointer-events: auto;
}

.topbar--dark {
  background: #0b0b0b;
  color: #ffffff;
  border-color: #0b0b0b;
}

.brand-link {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--header-pill) 0%, var(--header-pill-dark) 100%);
  color: #ffffff;
  font-weight: 500;
}

.brand-link span {
  font-weight: 700;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-button {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.search-button {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.5);
}

.search-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.5);
}

.topbar .material-icons {
  font-size: 20px;
  color: #e6efe7;
}

.topbar {
  position: sticky;
}

.header-search {
  flex: 1;
  max-width: 520px;
  margin: 0 8px;
  display: none;
}

body.search-open .header-search {
  display: block;
}

body.search-open .brand {
  display: none;
}

body.search-open .topbar-actions .menu-button {
  display: none;
}

.header-search .select2-container {
  width: 100% !important;
}

.header-search .select2-container--default .select2-selection--single {
  height: 36px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.header-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  padding-left: 14px !important;
  color: #f6fbf7;
  font-weight: 500;
}

.header-search .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}

.header-search .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #e6efe7 transparent transparent transparent !important;
}

.search-area {
  grid-area: search;
  padding: 8px 12px;
  border-radius: 18px;
  background: #e4e8e3;
  border: 1px solid rgba(47, 110, 56, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.search-area--dark {
  background: #1b1b1b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sidenav {
  grid-area: sidebar;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #e9ece6;
  border-radius: 14px;
  border: 1px solid rgba(47, 110, 56, 0.2);
  box-shadow: 0 18px 30px rgba(20, 48, 28, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-color: #3a6f44;
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidenav li a {
  font-size: 0.92rem;
}

.sidenav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 900;
  pointer-events: none;
}

.sidenav-overlay.active,
.sidenav-overlay[style*="opacity: 1"],
.sidenav-overlay[style*="display: block"] {
  pointer-events: auto;
}

.sidenav li {
  margin: 0;
}

.sidenav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidenav > li:not(.no-padding):not(.sidenav-hero) > a {
  background: #ffffff;
  border: 1px solid rgba(24, 58, 32, 0.08);
  box-shadow: 0 8px 14px rgba(18, 32, 20, 0.08);
}

.sidenav-block {
  padding: 6px 4px 2px 4px;
  margin-bottom: 8px;
}

.sidenav-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidenav-block li a {
  background: #ffffff;
  border-radius: 0;
  border: 1px solid rgba(24, 58, 32, 0.08);
  box-shadow: none;
}

.sidenav-block li + li a {
  border-top: 0;
}

.sidenav-block li:first-child a {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.sidenav-block li:last-child a {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.sidenav li a:hover {
  background: rgba(154, 184, 122, 0.2);
}

.sidenav .subheader {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.sidenav-hero {
  background: linear-gradient(180deg, #3a6f44 0%, #2e5f37 100%);
  border-radius: 0 20px 0 0;
  padding: 12px 10px;
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}

.sidenav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--header-pill) 0%, var(--header-pill-dark) 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.sidenav-pill i {
  color: #ffffff;
}

.sidenav-pill-link {
  text-decoration: none;
  justify-content: center;
}

.sidenav-alert a {
  background: rgba(47, 110, 56, 0.12);
  border: 1px solid rgba(47, 110, 56, 0.2);
}

.sidenav .divider {
  margin: 10px 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.collapsible {
  list-style: none;
  margin: 0;
  padding: 0;
}

.collapsible > li {
  border-radius: 14px;
  overflow: hidden;
}

.collapsible-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
}

.collapsible-header.manager.card-panel {
  background: #ffffff !important;
}

.collapsible-header.manager.card-panel table {
  background: #ffffff;
}

.collapsible-body {
  display: none;
  padding: 6px 6px 10px;
}

.collapsible.expandable {
  width: 100%;
}

.collapsible.expandable > li {
  width: 100%;
}

.collapsible.expandable .collapsible-header,
.collapsible.expandable .collapsible-body {
  width: 100%;
}

.collapsible-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(24, 58, 32, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.collapsible-body li a {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collapsible-body li a i,
.collapsible-body li a .material-symbols-outlined {
  line-height: 20px;
  height: auto;
  min-width: 20px;
  width: 20px;
  flex: 0 0 20px;
}

.collapsible-body li a .new-icon-style {
  float: none;
  width: 20px;
  height: auto;
  line-height: 20px;
  margin: 0;
}

.collapsible-body li a span:not(.new-icon-style) {
  flex: 1;
}
.chevron {
  transition: transform 0.2s ease;
}

.collapsible > li.active .chevron {
  transform: rotate(-90deg);
}

.app-main {
  grid-area: main;
  background: transparent;
  border-radius: 24px;
  padding: 0px;
  box-shadow: none;
  border: none;
  min-height: 60vh;
  margin-top: 8px;
}

.card-panel,
.card {
  border-radius: 18px;
  border: 1px solid rgba(34, 72, 40, 0.12);
  box-shadow: 0 16px 26px rgba(18, 36, 22, 0.12);
}

.table-hero {
  background: linear-gradient(180deg, #2c7d36 0%, #1c6a27 100%);
  border-radius: 18px;
  padding: 16px;
  color: #ffffff;
  align-items: center;
  margin-bottom: 10px;
}

.table-hero .col:last-child {
  display: flex;
  justify-content: flex-end;
}

.table-hero .recipe-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.table-hero .select2-container--default .select2-selection--single {
  background: #ffffff;
  border-radius: 12px !important;
  height: 36px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.table-hero .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  color: #1f2a1f;
}

.table-hero .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}

.table-tabs {
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 6px 8px;
  box-shadow: 0 12px 20px rgba(18, 32, 20, 0.12);
  border: 1px solid rgba(24, 58, 32, 0.12);
  margin-top: 12px;
  height: auto !important;
  min-height: 44px;
}

.table-tabs .tab,
.table-tabs .tab.col {
  background: transparent !important;
  flex: 1 1 0;
}

.table-tabs .tab:last-child,
.table-tabs .tab.col:last-child {
  flex: 1.3 1 0;
}

.table-tabs .tab {
  line-height: 1;
}

.table-tabs .tab a {
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #6b746a;
  text-decoration: none;
  white-space: nowrap;
  margin: 2px 0;
}

.table-tabs .tab a.active,
.table-tabs .tab a:focus {
  background: #d6f0d6;
  color: #1b4c21;
}

.tabs .indicator {
  display: none;
}

.tab-panel {
  display: none;
}

.tab-panel.tab-panel-active {
  display: block;
}

.tab-panel.tab-panel-active.row {
  display: flex;
}

.table-card {
  border-radius: 18px;
  padding: 12px 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(24, 58, 32, 0.08);
  box-shadow: 0 12px 20px rgba(18, 32, 20, 0.1);
}

.table-wrap {
  overflow-x: auto;
}

.table-skin {
  width: 100%;
  border-collapse: collapse;
}

.table-skin thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9489;
  text-align: left;
  padding: 10px 12px;
}

.table-skin tbody td {
  padding: 10px 12px;
  border-top: 1px solid rgba(24, 58, 32, 0.08);
  font-size: 0.85rem;
  color: #2b3a2c;
}

.table-skin tbody tr:first-child td {
  border-top: 0;
}

.table-skin .num,
.table-skin .num-total {
  font-weight: 600;
}

.table-skin a {
  color: #2b7bbf;
  text-decoration: none;
  font-weight: 600;
}

.pos-badge {
  font-weight: 700;
  color: #1f2a1f;
}

.stripe-cl td:first-child,
.stripe-europa td:first-child,
.stripe-releg td:first-child {
  position: relative;
}

.stripe-cl td:first-child::before,
.stripe-europa td:first-child::before,
.stripe-releg td:first-child::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
}

.stripe-cl td:first-child::before {
  background: #2f7d39;
}

.stripe-europa td:first-child::before {
  background: #f0c04e;
}

.stripe-releg td:first-child::before {
  background: #e2554f;
}

.toggle-wrap {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f7f9f6;
  border: 1px solid rgba(24, 58, 32, 0.08);
}

.toggle-wrap label {
  font-size: 0.8rem;
  color: #5a645b;
  font-weight: 500;
}

.toggle-wrap input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.material-icons,
.material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-dark);
}

.select2-container--default .select2-selection--single {
  height: 40px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(47, 110, 56, 0.22) !important;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px !important;
  padding-left: 16px !important;
  color: var(--ink);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  right: 12px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.white-text {
  color: #ffffff !important;
}

.red-text {
  color: #c62828 !important;
}

.green-text {
  color: #1b5e20 !important;
}

.green {
  background-color: #1b5e20 !important;
}

.green.darken-3 {
  background-color: #1b5e20 !important;
  color: #ffffff !important;
}

.green.darken-4 {
  background-color: #0f3d1f !important;
  color: #ffffff !important;
}

.btn,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 2px;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgb(0, 137, 123);
  color: #ffffff;
  box-shadow: 0 10px 16px rgba(20, 42, 26, 0.18);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  max-height: 26px;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0;
  height: 26.4px;
  line-height: 26.4px;
}

.btn:hover,
.btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(20, 42, 26, 0.22);
  filter: brightness(1.03);
}

.btn:active,
.btn-small:active {
  transform: translateY(0);
  box-shadow: 0 8px 12px rgba(20, 42, 26, 0.18);
}

.btn:disabled,
.btn-small:disabled,
.btn.disabled,
.btn-small.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn .material-icons,
.btn-small .material-icons {
  color: inherit;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1;
  background: #e0e0e0;
  color: #111111;
}

.badge.green {
  color: #ffffff;
}

.badge.new::after {
  content: attr(data-badge-caption);
}

.graph-card {
  background: #ffffff;
  border: 1px solid rgba(24, 58, 32, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(18, 32, 20, 0.1);
  padding: 12px;
}

.material-tooltip {
  background: #1f2a1f;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 240px;
  z-index: 1200;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.material-tooltip .backdrop {
  background: rgba(0, 0, 0, 0.2);
}

.settings-group {
  display: grid;
  gap: 10px;
}

.settings-group .setting {
  background: #ffffff;
  border: 1px solid rgba(24, 58, 32, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 18px rgba(18, 32, 20, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.settings-group .setting span {
  display: block;
}

.settings-group .setting .col {
  padding: 0;
}

.settings-group .setting .col.s10 {
  flex: 0 0 83.3333%;
  max-width: 83.3333%;
  min-width: 0;
}

.settings-group .setting .col.s2 {
  flex: 0 0 16.6667%;
  max-width: 16.6667%;
  display: flex;
  justify-content: flex-end;
}

.settings-group .setting p {
  margin: 6px 0;
}

.settings-group .setting label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.settings-group .setting input.with-gap {
  margin: 0;
}

.settings-group .setting input.with-gap + span {
  font-size: 13px;
  color: #1f2a1f;
}

.settings-group .setting .tooltipped {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 10px;
}
.admin-settings-shell {
  margin: 0 10px 16px;
  display: grid;
  gap: 12px;
}

.admin-settings-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(24, 58, 32, 0.1);
  box-shadow: 0 16px 26px rgba(18, 36, 22, 0.12);
  padding: 12px;
}

.admin-settings-banner {
  background: linear-gradient(180deg, #2e5f37 0%, #24562c 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.admin-settings-note {
  background: #f6f8f5;
  border: 1px solid rgba(24, 58, 32, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #4f5c53;
}

.admin-settings-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 6px;
}

.settings-group .setting input[type="text"],
.settings-group .setting input[type="number"],
.settings-group .setting input[type="email"],
.settings-group .setting input[type="password"],
.settings-group .setting select,
.settings-group .setting textarea {
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(24, 58, 32, 0.12);
  padding: 0 12px;
  font-size: 14px;
  background: #ffffff;
  width: 100%;
}

.settings-group .setting textarea {
  height: auto;
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
}

.txtedit {
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(24, 58, 32, 0.12);
  padding: 0 8px;
  background: #ffffff;
}

.history-section-title {
  background: linear-gradient(180deg, #2e5f37 0%, #24562c 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 10px 8px;
}

.history-table-wrap {
  width: 100%;
  margin: 0 10px 16px;
}

.modal-overlay {
  background: rgba(0, 0, 0, 0.55);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.modal {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(24, 58, 32, 0.12);
  max-height: 85%;
  z-index: 1001;
  display: none;
  position: fixed;
  top: 10% !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(92vw, 640px) !important;
  overflow-y: auto;
  margin: 0;
}

.modal.open {
  display: block;
}

.modal .modal-content {
  padding: 16px;
}

.modal .modal-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(24, 58, 32, 0.08);
  background: #f7f9f6;
}

.progress {
  background-color: #e0e0e0;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.progress .indeterminate {
  background-color: rgb(0, 137, 123);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, "Oxygen-Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

table tbody {
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, "Oxygen-Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  vertical-align: middle;
}

table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

table td {
  padding: 15px 5px;
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, "Oxygen-Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  vertical-align: middle;
  border: 0;
}

table.centered {
  text-align: center;
}

table.centered td,
table.centered th {
  text-align: center;
}
table a {
  color: #039be5;
  text-decoration: none;
}

.green {
  background-color: rgb(76, 175, 80) !important;
}

.white-text {
  color: #ffffff !important;
}

.grey {
  background-color: rgb(245, 245, 245) !important;
}

.black-text {
  color: #000000 !important;
}

.yellow {
  background-color: rgb(255, 235, 59) !important;
}

.red {
  background-color: rgb(244, 67, 54) !important;
}

.amber {
  background-color: rgb(255, 193, 7) !important;
}

.darken-3 {
  color: #1b5e20 !important;
}

.darken-4 {
  color: #0f3d1f !important;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "topbar"
      "main";
    padding: 0;
  }

  .topbar {
    padding: 10px 14px;
    border-radius: 0;
  }

  .brand-link {
    font-size: 0.8rem;
    padding: 7px 14px;
  }

  .menu-button,
  .search-button {
    width: 34px;
    height: 34px;
  }

  .topbar .material-icons {
    font-size: 22px;
  }

  .header-search {
    margin: 0 6px;
  }

  .menu-button {
    display: inline-flex;
  }

  .sidenav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 320px);
    transform: translateX(-110%);
    border-radius: 0 24px 24px 0;
    padding-top: 0px;
    z-index: 1000;
  }

  .sidenav-overlay {
    background: rgba(9, 9, 9, 0.55);
  }
}

@media (min-width: 901px) {
  .menu-button {
    display: none;
  }

  .sidenav {
    position: sticky;
    top: 0px;
    height: calc(100vh - 32px);
    overflow-y: auto;
    transform: none !important;
    border-radius: 0;
  }

  .sidenav-hero {
    border-radius: 0;
  }
  .sidenav-overlay {
    display: none !important;
  }
}
