﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

:root {
  --gh-primary: #6C9446;
  --gh-primary-soft: #639A6B;
  --gh-primary-deep: #4B6245;
  --gh-accent: #006EA2;
  --gh-accent-soft: #4F81A3;
  --gh-earth: #796A56;
  --gh-surface: #F2EFEC;
  --gh-surface-soft: #EEECEA;
  --gh-surface-muted: #EAE7DF;
  --gh-border: #D3CAB8;
  --gh-text-strong: #1D2A1D;
  --gh-text: #3A4737;
  --gh-text-muted: #5F6757;
  --gh-white: #FFFFFF;
}

/* Provide sufficient contrast against light background */
a {
  color: var(--gh-accent);
}

.btn-primary {
  color: var(--gh-white);
  background-color: var(--gh-primary);
  border-color: var(--gh-primary-deep);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--gh-primary-deep) !important;
  border-color: var(--gh-primary-deep) !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: var(--gh-white);
  background-color: var(--gh-primary);
  border-color: var(--gh-primary-deep);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid var(--gh-border);
}
.border-bottom {
  border-bottom: 1px solid var(--gh-border);
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.text-muted,
.footer {
  color: var(--gh-text-muted) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gh-primary-soft);
  box-shadow: 0 0 0 0.2rem rgba(108, 148, 70, 0.18);
}

.form-control:focus ~ label,
.form-control:focus + label {
  color: var(--gh-primary-deep);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, var(--gh-surface), var(--gh-surface-soft));
  color: var(--gh-text-strong);
  zoom: .8;
}

.app-container {
  max-width: 1680px;
  padding-left: 20px;
  padding-right: 20px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.login-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: auto 1fr;
  gap: 24px 48px;
  width: min(900px, 100%);
  padding: 40px;
  background: var(--gh-white);
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 57, 32, .12);
}

.login-panel h1 {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.login-form {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.login-status-panel {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  min-height: 42px;
  padding: 10px 12px;
  border: 2px solid var(--gh-border);
  border-radius: 4px;
  background: var(--gh-surface);
  color: var(--gh-text);
  font-size: .95rem;
  line-height: 1.5;
}

.login-status-panel.is-error {
  border-color: #D35F5F;
  background: #FDECEC;
  color: #822B2B;
}

.login-status-panel ul {
  margin: 0;
  padding-left: 18px;
}

.login-status-panel li + li {
  margin-top: 2px;
}

.employee-preview-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: -24px;
  padding-top: 18px;
  border-top: 1px solid var(--gh-surface-muted);
  color: var(--gh-text);
  font-size: .95rem;
  line-height: 1.5;
}

.employee-preview-row strong {
  color: var(--gh-text-strong);
  font-weight: 700;
}

.employee-preview-row .redirect-note {
  margin-left: auto;
  color: var(--gh-accent);
  font-weight: 700;
}

.login-copy h1,
.status-page h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gh-text-strong);
}

.login-copy p {
  color: var(--gh-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.eyebrow {
  color: var(--gh-primary-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-page {
  max-width: 720px;
  margin: 80px auto;
  padding: 36px;
  background: var(--gh-white);
  border: 1px solid var(--gh-border);
  border-radius: 8px;
}

.offline-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.offline-panel {
  width: min(520px, 100%);
  padding: 32px;
  background: var(--gh-white);
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(35, 57, 32, .12);
}

.offline-panel h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.offline-panel p {
  color: var(--gh-text-muted);
  line-height: 1.7;
}

.token-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gh-surface-muted);
}

.token-summary dt {
  color: var(--gh-text-muted);
  font-size: .9rem;
}

.token-summary dd {
  margin: 6px 0 0;
  font-family: Consolas, "Courier New", monospace;
  word-break: break-all;
}

.ak-dashboard {
  padding: 22px 0 38px;
}

.ak-page-head,
.ak-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gh-border);
}

.ak-page-head h1,
.ak-toolbar h1 {
  margin: 0;
  color: var(--gh-text-strong);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ak-page-head .eyebrow {
  margin-bottom: 4px;
}

.ak-user-pill,
.ak-user-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 210px;
  width: max-content;
  padding: 10px 14px;
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
  color: var(--gh-text-muted);
  line-height: 1.45;
  text-align: right;
}

.ak-user-pill strong,
.ak-user-summary strong {
  color: var(--gh-text-strong);
}

.ak-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 10px;
}

.ak-head-actions .btn {
  min-width: 150px;
  font-weight: 700;
  white-space: nowrap;
}

.ak-logout-form {
  margin: 0;
}

.ak-logout-form .btn {
  min-width: 72px;
}

.ak-status-panel {
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  background: var(--gh-white);
  color: var(--gh-text);
}

.ak-status-panel.is-error {
  border-color: #D35F5F;
  background: #FDECEC;
  color: #822B2B;
}

.ak-status-panel.is-success {
  border-color: #6A9848;
  background: #EDF6E8;
  color: #304C24;
}

.ak-status-panel ul {
  margin: 0;
  padding-left: 18px;
}

.ak-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 20px 20px;
  background: rgba(0, 0, 0, 0.42);
}

.ak-dialog-backdrop[hidden] {
  display: none;
}

.ak-dialog {
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: calc(100vh - 96px);
  padding: 24px;
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.ak-dialog h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.ak-dialog-body {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  color: var(--gh-text);
}

.ak-dialog-body p {
  margin: 0;
  white-space: pre-line;
}

.ak-dialog-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.ak-dialog-actions .btn {
  min-width: 92px;
}

.ak-return-sign-dialog {
  width: min(620px, 100%);
}

.ak-dialog-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
}

.ak-dialog-field textarea {
  resize: vertical;
}

.ak-required-mark {
  margin-left: 4px;
  color: #a12622;
  font-size: .78rem;
}

.ak-return-sign-status {
  padding: 10px 12px;
  border-left: 3px solid #3f6f42;
  background: #f2f6f1;
}

.ak-return-sign-status.is-error {
  border-left-color: #b42318;
  background: #fff0ef;
  color: #8f1d18;
}

.ak-return-sign-reason-preview {
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  background: #f8f8f7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ak-return-target-list {
  max-height: 180px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  background: #f8f8f7;
  font-weight: 400;
}

.ak-return-target-list ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.ak-return-sign-confirm .ak-confirm-warning {
  margin-top: 12px;
  color: #9a3412;
  font-weight: 700;
}

.ak-overview-panel {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
}

.ak-summary-strip,
.ak-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.ak-summary-strip > div,
.ak-metric {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ak-summary-strip span,
.ak-metric span {
  display: block;
  color: var(--gh-text-muted);
  font-size: .92rem;
}

.ak-summary-strip strong,
.ak-metric strong {
  display: block;
  margin-top: 2px;
  color: var(--gh-text-strong);
  font-size: 1.35rem;
  line-height: 1;
}

.ak-workspace,
.ak-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.ak-category-strip {
  display: block;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid var(--gh-border);
}

.ak-category-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ak-category-head h2 {
  margin: 0;
  color: var(--gh-text-strong);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ak-category-head span {
  color: var(--gh-text-muted);
  font-size: .9rem;
}

.ak-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.ak-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--gh-surface-muted);
  border-radius: 8px;
  background: var(--gh-surface);
  color: var(--gh-text);
  font-size: .92rem;
  cursor: pointer;
}

.ak-category-chip:hover,
.ak-category-chip:focus {
  border-color: var(--gh-primary);
  color: var(--gh-text-strong);
}

.ak-category-chip.is-active {
  border-color: var(--gh-primary);
  background: var(--gh-primary-soft);
  color: var(--gh-text-strong);
  font-weight: 700;
}

.ak-category-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ak-category-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gh-primary);
  color: var(--gh-white);
  font-size: .82rem;
}

.ak-sidebar,
.ak-form-section,
.ak-empty {
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
}

.ak-sidebar {
  padding: 14px;
}

.ak-side-head,
.ak-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 28px;
  align-items: center;
}

.ak-sidebar h2,
.ak-empty h2,
.ak-section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.ak-side-head span {
  color: var(--gh-text-muted);
  font-size: .9rem;
  white-space: nowrap;
}

.ak-form-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ak-form-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--gh-surface-muted);
  border-radius: 6px;
  background: var(--gh-surface);
  color: var(--gh-text);
  font-size: .93rem;
}

.ak-form-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ak-form-list li strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  border-radius: 999px;
  background: var(--gh-primary);
  color: var(--gh-white);
  font-size: .85rem;
}

.ak-content {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  overflow: visible;
}

.ak-form-section {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.ak-section-heading {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gh-border);
  background: var(--gh-surface);
}

.ak-section-heading span {
  color: var(--gh-text-muted);
  white-space: nowrap;
}

.ak-section-title-row {
  display: block;
  min-width: 0;
}

.ak-filter-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ak-filter-primary-row,
.ak-filter-secondary-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-width: 0;
}

.ak-filter-secondary-row {
  gap: 8px 18px;
}

.ak-table-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--gh-border);
  background: transparent;
}

.ak-table-tab {
  min-width: 0;
  height: 38px;
  padding: 0 18px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--gh-text-muted);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
}

.ak-table-tab + .ak-table-tab {
  border-left: 1px solid var(--gh-border);
}

.ak-table-tab:hover,
.ak-table-tab:focus {
  color: var(--gh-text-strong);
  background: transparent;
}

.ak-table-tab.is-active {
  color: var(--gh-white);
  border-bottom-color: var(--gh-primary-deep);
  background: var(--gh-primary);
}

.ak-venue-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
}

.ak-venue-filter .form-control {
  width: 150px;
  height: 34px;
  color: var(--gh-text);
}

.ak-search-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--gh-text);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.ak-search-filter .form-control {
  width: 220px;
  min-width: 170px;
  height: 34px;
  color: var(--gh-text);
}

.ak-search-filter .btn {
  min-width: 58px;
  font-weight: 700;
}

.ak-disabled-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--gh-text);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.ak-disabled-toggle input {
  margin: 0;
}

.ak-section-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-self: end;
  align-self: start;
  padding-top: 5px;
}

.ak-section-spacer {
  display: none;
  min-width: 1px;
}

.ak-section-actions .btn {
  min-width: 86px;
  font-weight: 700;
}

.ak-section-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.ak-selected-total {
  color: var(--gh-text);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
}

.ak-selected-total strong {
  color: #0f2a1f;
}

.ak-maintenance-note {
  color: var(--gh-text-muted);
  font-size: .9rem;
}

.ak-template-input {
  width: 420px;
  min-height: 58px;
  resize: vertical;
}

.ak-table {
  margin-bottom: 0;
  color: var(--gh-text);
}

.ak-table-wrap {
  max-height: calc(100vh - 260px);
  min-height: 260px;
  overflow: auto;
}

#requestTableWrap {
  max-height: none;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.ak-request-table {
  width: max-content;
  min-width: 2040px;
  table-layout: fixed;
}

.ak-request-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--gh-white);
  border-bottom: 1px solid var(--gh-border);
}

.ak-table tbody tr.ak-row-detail-open > td {
  position: sticky;
  top: var(--ak-detail-sticky-top, 44px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 2px 0 rgba(108, 148, 70, .28), 0 5px 10px rgba(32, 46, 27, .08);
}

.ak-table tbody tr.ak-row-detail-open.ak-row-disabled > td {
  background: #f6f6f4;
}

.ak-table th {
  color: var(--gh-text-muted);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.ak-table th,
.ak-table td {
  padding: .42rem .5rem;
}

.ak-sort-button,
.ak-vendor-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.ak-sort-button::after,
.ak-vendor-sort-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: .38;
}

.ak-sort-button[data-sort-direction="asc"]::after,
.ak-vendor-sort-button[data-sort-direction="asc"]::after {
  border-bottom: 6px solid var(--gh-text-muted);
}

.ak-sort-button[data-sort-direction="desc"]::after,
.ak-vendor-sort-button[data-sort-direction="desc"]::after {
  border-top: 6px solid var(--gh-text-muted);
}

.ak-sort-button:hover,
.ak-sort-button:focus,
.ak-sort-button.is-active,
.ak-vendor-sort-button:hover,
.ak-vendor-sort-button:focus,
.ak-vendor-sort-button.is-active {
  color: var(--gh-text-strong);
}

.ak-maintenance-section {
  margin-top: 16px;
}

.ak-maintenance-entry {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--gh-border);
  white-space: nowrap;
}

.ak-maintenance-entry > span {
  color: var(--gh-text-muted);
  font-size: .82rem;
  font-weight: 700;
}

.ak-maintenance-tab {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  background: var(--gh-white);
  color: var(--gh-text);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.ak-maintenance-tab:hover,
.ak-maintenance-tab:focus,
.ak-maintenance-tab.is-active {
  border-color: var(--gh-accent);
  background: rgba(108, 148, 70, .12);
  color: var(--gh-text-strong);
}

.ak-maintenance-heading {
  grid-template-columns: minmax(120px, auto) minmax(320px, 1fr) minmax(280px, auto) auto;
}

.ak-maintenance-search {
  display: flex;
  flex-wrap: nowrap;
  justify-self: center;
  gap: 8px;
  width: min(660px, 100%);
}

.ak-maintenance-search .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.ak-maintenance-search .btn {
  flex: 0 0 auto;
  min-width: 72px;
  white-space: nowrap;
}

.ak-vendor-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: center;
  gap: 12px;
}

.ak-inline-control,
.ak-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.ak-vendor-venue-filter {
  width: 180px;
}

.ak-maintenance-count-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ak-maintenance-table-wrap {
  max-height: calc(100vh - 240px);
}

.ak-maintenance-table {
  width: max-content;
  min-width: 1900px;
  table-layout: fixed;
}

.ak-maintenance-table th,
.ak-maintenance-table td {
  vertical-align: middle;
}

.ak-maintenance-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--gh-white);
}

.ak-maintenance-table .form-control {
  min-height: 34px;
  padding: 5px 8px;
  font-size: .9rem;
}

.ak-maintenance-table .ak-vendor-new-row td {
  background: #f7fbf2;
}

.ak-maintenance-table .ak-inactive-row td {
  background: #f2f2f2;
  color: #7a7a7a;
}

.ak-maintenance-table .ak-inactive-row .form-control {
  background: #eeeeee;
  color: #6f6f6f;
}

.ak-scope-select {
  width: 128px;
}

.ak-venue-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 5px 8px;
  width: 330px;
  max-height: 112px;
  overflow: auto;
  padding: 6px 8px;
  border: 1px solid var(--gh-border);
  border-radius: 6px;
  background: var(--gh-white);
}

.ak-venue-select-all {
  grid-column: 1 / -1;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gh-border);
  font-weight: 700;
}

.ak-venue-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--gh-text);
  font-size: .86rem;
  line-height: 1.25;
}

.ak-venue-checkbox input {
  flex: 0 0 auto;
}

.ak-venue-checkbox span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-short-input {
  width: 66px;
}

.ak-code-input {
  width: 92px;
}

.ak-vendor-code-cell {
  position: relative;
  vertical-align: middle !important;
}

.ak-account-input {
  width: 168px;
}

.ak-tax-id-input {
  width: 104px;
}

.ak-code-choice {
  width: 108px;
}

.ak-code-description {
  position: absolute;
  right: auto;
  bottom: 18px;
  left: 8px;
  display: block;
  width: 92px;
  min-height: 1.2em;
  margin-top: 0;
  overflow: hidden;
  color: #557044;
  font-size: .72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-code-description.is-error {
  color: #b42318;
}

.ak-vendor-dirty-row td {
  background: #fffbed;
}

.ak-vendor-validation-error td {
  box-shadow: inset 0 2px 0 #c92a2a, inset 0 -2px 0 #c92a2a;
}

.ak-text-input {
  width: 240px;
}

.ak-maintenance-table .ak-preview-input {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-table td {
  font-size: .92rem;
  line-height: 1.45;
  white-space: nowrap;
}

.ak-select-col {
  width: 44px;
  min-width: 44px;
  text-align: center;
  vertical-align: middle !important;
}

.ak-select-col .form-check-input {
  position: static;
  margin: 0;
  cursor: pointer;
}

.ak-table td {
  vertical-align: middle;
}

.ak-request-table tbody tr:hover {
  background: rgba(108, 148, 70, .08);
}

.ak-request-table tbody tr.ak-row-disabled {
  background: #f7f7f7;
  color: var(--gh-text-muted);
}

.ak-request-table tbody tr.ak-row-disabled .ak-doc-link,
.ak-request-table tbody tr.ak-row-disabled .ak-form-name {
  color: var(--gh-text-muted);
}

.ak-form-name {
  width: 150px;
  color: var(--gh-text-strong);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ak-refund-error-note {
  color: #b42318;
  font-size: .82rem;
  line-height: 1.4;
  white-space: normal;
}

.ak-transfer-notice-list {
  border-top: 1px solid var(--gh-border);
}

.ak-transfer-notice-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--gh-border);
  background: var(--gh-white);
}

.ak-transfer-notice-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gh-accent);
  border-radius: 4px;
  color: var(--gh-accent-dark);
  font-weight: 700;
}

.ak-transfer-notice-item h3 {
  margin: 1px 0 6px;
  font-size: 1rem;
}

.ak-transfer-notice-item p {
  margin: 0;
  color: var(--gh-text);
}

.ak-transfer-notice-item ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--gh-text-muted);
}

.ak-transfer-notice-item li + li {
  margin-top: 5px;
}

.ak-doc-nbr {
  font-weight: 700;
  color: var(--gh-text-strong);
  white-space: nowrap;
}

.ak-doc-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ak-form-detail-toggle {
  min-width: 76px;
  padding: 3px 8px;
  font-size: .78rem;
}

.ak-form-detail-action-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ak-passbook-error-marker {
  flex: 0 0 auto;
  font-size: .95rem;
  line-height: 1;
}

.ak-passbook-error-marker[hidden] {
  display: none !important;
}

.ak-doc-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(48, 70, 42, .28);
  border-radius: 6px;
  background: #fff;
  color: var(--gh-text-strong);
  text-decoration: none;
}

.ak-doc-link:hover,
.ak-doc-link:focus {
  border-color: var(--gh-accent);
  background: rgba(108, 148, 70, .10);
  color: var(--gh-text-strong);
  text-decoration: none;
}

.ak-table .ak-form-detail-row > td {
  position: sticky;
  left: 0;
  padding: 0;
  border-top: 0;
  background: #f7f9f5;
  white-space: normal;
}

.ak-form-detail-row[hidden] {
  display: none !important;
}

.ak-form-detail-host {
  width: min(100%, calc(100vw - 56px));
  max-width: calc(100vw - 56px);
  min-height: 88px;
}

.ak-form-detail {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--gh-border);
  border-bottom: 1px solid var(--gh-border);
  color: var(--gh-text);
}

.ak-form-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  margin-bottom: 14px;
}

.ak-form-detail-header h2 {
  min-width: 0;
  margin: 0;
  color: var(--gh-text-strong);
  font-size: 1.05rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ak-form-detail-collapse-all {
  flex: 0 0 auto;
  white-space: nowrap;
}

.ak-form-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.ak-form-detail-section {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--gh-border);
  background: #fff;
  overflow: hidden;
}

.ak-form-detail-section--content {
  padding-left: 0;
}

.ak-form-detail-section--workflow {
  grid-column: 1;
  max-width: 100%;
  padding-top: 0;
  overflow-x: hidden;
}

.ak-form-detail-section-summary {
  padding: 10px 12px;
  color: var(--gh-text-strong);
  background: #f4f6f0;
  cursor: pointer;
  font-size: .94rem;
  font-weight: 800;
  list-style-position: inside;
}

.ak-form-detail-section[open] > .ak-form-detail-section-summary {
  border-bottom: 1px solid var(--gh-border);
}

.ak-form-detail-section--priority > .ak-form-detail-section-summary,
.ak-form-detail-section--passbook > .ak-form-detail-section-summary,
.ak-form-detail-section--workflow > .ak-form-detail-section-summary {
  background: #edf3e8;
}

.ak-form-detail-section-body {
  min-width: 0;
  padding: 12px;
}

.ak-passbook-review-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--gh-text-strong);
}

.ak-passbook-review-badge,
.ak-passbook-review-item-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: .78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.ak-passbook-review-badge.is-match,
.ak-passbook-review-item-result.is-match {
  color: #315f29;
  background: #edf6e8;
}

.ak-passbook-review-badge.is-mismatch,
.ak-passbook-review-item-result.is-mismatch {
  color: #b42318;
  background: #fff0ef;
}

.ak-passbook-review-badge.is-unknown,
.ak-passbook-review-item-result.is-unknown {
  color: #8a5d16;
  background: #fff8e8;
}

.ak-passbook-review-attachment {
  margin-top: 8px;
  color: var(--gh-text-muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.ak-passbook-review-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ak-passbook-review-item {
  display: grid;
  grid-template-columns: minmax(86px, .55fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--gh-border);
  background: #fff;
}

.ak-passbook-review-item > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ak-passbook-review-item small {
  grid-column: 2 / -1;
  color: var(--gh-text-muted);
}

.ak-form-detail-subheading {
  margin: 0 0 10px;
  color: var(--gh-text-strong);
  font-size: .94rem;
  font-weight: 800;
}

.ak-form-detail-subheading {
  margin-top: 18px !important;
}

.ak-form-detail-definition {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 0;
}

.ak-form-detail-definition dt {
  color: var(--gh-text-muted);
  font-size: .82rem;
  font-weight: 700;
}

.ak-form-detail-definition dd {
  min-width: 0;
  margin: 0;
  color: var(--gh-text-strong);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ak-form-detail-empty {
  margin: 0;
  color: var(--gh-text-muted);
  font-size: .86rem;
}

.ak-form-attachment-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ak-form-attachment-list a {
  display: inline-block;
  max-width: 100%;
  color: #315f29;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.ak-form-field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--gh-border);
  border-left: 1px solid var(--gh-border);
}

.ak-form-field-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  border-right: 1px solid var(--gh-border);
  border-bottom: 1px solid var(--gh-border);
}

.ak-form-field-row--wide {
  grid-column: 1 / -1;
  grid-template-columns: 160px minmax(0, 1fr);
}

.ak-form-field-label,
.ak-form-field-value {
  min-width: 0;
  padding: 7px 9px;
}

.ak-form-field-label {
  background: rgba(108, 148, 70, .07);
  color: var(--gh-text-muted);
  font-size: .82rem;
  font-weight: 700;
}

.ak-form-field-value {
  color: var(--gh-text-strong);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ak-form-grid-list {
  display: grid;
  gap: 12px;
}

.ak-form-grid-record {
  min-width: 0;
  border: 1px solid var(--gh-border);
  background: #fff;
}

.ak-form-grid-record-title {
  margin: 0;
  padding: 7px 10px;
  border-bottom: 1px solid var(--gh-border);
  background: rgba(108, 148, 70, .09);
  color: var(--gh-text-strong);
  font-size: .85rem;
  font-weight: 800;
}

.ak-form-grid-cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ak-form-grid-cell {
  min-width: 0;
  padding: 8px 10px;
  border-right: 1px solid var(--gh-border);
  border-bottom: 1px solid var(--gh-border);
}

.ak-form-grid-cell-label {
  margin-bottom: 3px;
  color: var(--gh-text-muted);
  font-size: .78rem;
  font-weight: 700;
}

.ak-form-grid-cell-value {
  color: var(--gh-text-strong);
  font-size: .86rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ak-form-workflow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ak-form-workflow-step {
  position: relative;
  min-width: 0;
  padding: 0 0 12px 18px;
  border-left: 2px solid rgba(108, 148, 70, .38);
}

.ak-form-workflow-step::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -6px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gh-accent);
}

.ak-form-workflow-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  max-width: 100%;
  gap: 4px 8px;
}

.ak-form-workflow-top strong {
  color: #315f29;
}

.ak-form-workflow-top strong.is-rejected {
  color: #B42318;
}

.ak-form-workflow-signer {
  min-width: 0;
  color: var(--gh-text-strong);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ak-form-workflow-meta {
  margin-top: 4px;
  color: var(--gh-text-muted);
  font-size: .78rem;
}

.ak-form-workflow-comment {
  margin-top: 6px;
  padding: 7px 9px;
  border-left: 3px solid rgba(108, 148, 70, .45);
  background: #fff;
  color: var(--gh-text-strong);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ak-form-detail-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px;
  color: var(--gh-text-muted);
}

.ak-form-detail-state.is-error {
  color: #B42318;
}

.ak-title-cell {
  width: 16em;
  max-width: 16em;
  white-space: normal;
}

.ak-title-text {
  width: 16em;
  max-width: 16em;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.ak-comment-input {
  width: 220px;
  min-width: 220px;
  min-height: 38px;
  resize: vertical;
  white-space: pre-wrap;
}

.ak-remittance-comment {
  display: grid;
  grid-template-columns: 220px minmax(430px, 1fr);
  align-items: start;
  gap: 8px 12px;
  min-width: 680px;
  min-height: 72px;
  white-space: normal;
}

.ak-remittance-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.ak-remittance-fields {
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr);
  gap: 8px;
  align-items: start;
}

.ak-inline-option {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 600;
}

.ak-remittance-reason-input {
  width: 150px;
  min-width: 150px;
}

.ak-signing-comment2-input {
  width: 100%;
  min-width: 260px;
  resize: vertical;
}

.ak-supervisor-pane {
  display: grid;
  gap: 14px;
}

.ak-supervisor-package {
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
  overflow: hidden;
}

.ak-supervisor-group {
  border: 1px solid var(--gh-border);
  border-radius: 8px;
  background: var(--gh-white);
  overflow: hidden;
}

.ak-supervisor-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gh-border);
  background: #f7faf4;
}

.ak-supervisor-group-head h3 {
  margin: 0;
  color: var(--gh-text-strong);
  font-size: 1rem;
  font-weight: 800;
}

.ak-supervisor-empty {
  padding: 16px 18px;
  color: var(--gh-muted);
  font-weight: 700;
}

.ak-supervisor-package-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, auto);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gh-border);
  background: #f7faf4;
}

.ak-package-select-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gh-text-strong);
  font-size: 1rem;
  font-weight: 800;
}

.ak-package-select-label .form-check-input {
  position: static;
  margin: 0;
}

.ak-package-summary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--gh-text);
  font-weight: 700;
}

.ak-package-summary span {
  min-width: 96px;
  text-align: right;
}

.ak-package-warning,
.ak-confirm-warning {
  color: #B42318;
  font-weight: 700;
}

.ak-supervisor-table-wrap {
  max-height: none;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.ak-workflow-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--gh-border);
  background: var(--gh-white);
}

.ak-workflow-pagination--top {
  border-top: 0;
  border-bottom: 1px solid var(--gh-border);
}

.ak-workflow-pagination[hidden] {
  display: none;
}

.ak-pagination-summary {
  flex: 0 0 auto;
  color: var(--gh-text-muted);
  font-weight: 700;
}

.ak-pagination-controls,
.ak-pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ak-pagination-page {
  min-width: 36px;
  height: 34px;
  padding: 4px 8px;
}

.ak-pagination-page.is-active {
  border-color: var(--gh-primary-deep);
  background: var(--gh-primary);
  color: var(--gh-white);
}

.ak-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 34px;
  color: var(--gh-text-muted);
}

.ak-supervisor-table {
  width: max-content;
  min-width: 1680px;
  table-layout: fixed;
  margin-bottom: 0;
}

.ak-supervisor-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--gh-white);
}

.ak-supervisor-table th:nth-child(1),
.ak-supervisor-table td:nth-child(1) {
  width: 56px;
}

.ak-supervisor-table th:nth-child(2),
.ak-supervisor-table td:nth-child(2) {
  width: 170px;
}

.ak-supervisor-table th:nth-child(3),
.ak-supervisor-table td:nth-child(3) {
  width: 130px;
}

.ak-supervisor-table th:nth-child(4),
.ak-supervisor-table td:nth-child(4) {
  width: 20em;
}

.ak-supervisor-table th:nth-child(5),
.ak-supervisor-table td:nth-child(5) {
  width: 150px;
}

.ak-supervisor-table th:nth-child(6),
.ak-supervisor-table td:nth-child(6) {
  width: 170px;
}

.ak-supervisor-table th:nth-child(7),
.ak-supervisor-table td:nth-child(7) {
  width: 170px;
}

.ak-supervisor-table th:nth-child(8),
.ak-supervisor-table td:nth-child(8) {
  width: 220px;
}

.ak-supervisor-table th:nth-child(9),
.ak-supervisor-table td:nth-child(9) {
  width: 150px;
}

.ak-supervisor-table th:nth-child(10),
.ak-supervisor-table td:nth-child(10) {
  width: 150px;
}

.ak-bank-number-cell,
.ak-sign-comment-bank-cell {
  color: var(--gh-text-strong);
  font-weight: 700;
}

.ak-supervisor-comment-input {
  width: 210px;
  min-width: 210px;
  resize: vertical;
}

.ak-supervisor-table td.ak-supervisor-title-cell {
  width: 20em;
  max-width: 20em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-break: strict;
}

.ak-supervisor-comment-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ak-supervisor-clear-button {
  padding: 2px 8px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.ak-bank-no-input {
  width: 170px;
  min-width: 170px;
}

.ak-bank-number-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ak-remittance-failure-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #D35F5F;
  border-radius: 4px;
  background: #FDECEC;
  color: #B42318;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.ak-comment-field {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.ak-bank-export-venue-field,
.ak-approval-comment-field {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.ak-bank-export-venue-field {
  align-items: center;
  width: fit-content;
  min-width: 0;
  max-width: 9em;
}

.ak-payment-venue-text {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: fit-content;
  max-width: 9em;
  padding: 4px 8px;
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  background: #fff;
  color: var(--gh-text-strong);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ak-comment-warning {
  flex: 0 0 auto;
  line-height: 1;
  cursor: help;
}

.ak-manual-venue-select {
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
}

.ak-comment-input.is-unresolved {
  color: #B42318;
  border-color: #D35F5F;
  background: #FDECEC;
  font-weight: 700;
}

.ak-payment-total-col,
.ak-payment-total {
  width: 120px;
  max-width: 120px;
  text-align: left;
}

.ak-payment-total {
  font-weight: 700;
  color: var(--gh-text-strong);
  vertical-align: middle;
  white-space: normal;
}

.ak-supervisor-table .ak-payment-total-col,
.ak-supervisor-table .ak-payment-total,
.ak-request-table.is-remittance-check .ak-payment-total-col,
.ak-request-table.is-remittance-check .ak-payment-total {
  width: 170px;
  max-width: 170px;
}

.ak-request-table.is-bank-export .ak-payment-total-col,
.ak-request-table.is-bank-export .ak-payment-total,
.ak-request-table.is-approval .ak-payment-total-col,
.ak-request-table.is-approval .ak-payment-total {
  width: 230px;
  max-width: 230px;
}

.ak-payment-total-primary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  white-space: nowrap;
}

.ak-payment-total-amount {
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ak-payment-total-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.ak-data-warning-badge,
.ak-merge-badge,
.ak-merge-payee-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.ak-data-warning-badge {
  border: 1px solid #D92D20;
  color: #B42318;
  background: #FEF3F2;
}

.ak-merge-badge {
  border: 1px solid #B7791F;
  color: #7C4A03;
  background: #FFF7E6;
}

.ak-merge-payee-badge {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #C9B8A1;
  color: #4C4032;
  background: #FFFDF8;
}

.ak-internal-transfer-select {
  display: inline-block;
  width: 230px;
  min-width: 230px;
  margin-left: 0;
  vertical-align: middle;
}

.ak-request-table th:nth-child(2),
.ak-request-table td:nth-child(2) {
  width: 170px;
}

.ak-request-table th:nth-child(3),
.ak-request-table td:nth-child(3) {
  width: 170px;
}

.ak-request-table th:nth-child(4),
.ak-request-table td:nth-child(4) {
  width: 16em;
}

.ak-request-table th:nth-child(5),
.ak-request-table td:nth-child(5) {
  width: 130px;
}

.ak-request-table th:nth-child(6),
.ak-request-table td:nth-child(6) {
  width: 130px;
}

.ak-request-table th:nth-child(7),
.ak-request-table td:nth-child(7) {
  width: 120px;
}

.ak-request-table.is-remittance-check th:nth-child(7),
.ak-request-table.is-remittance-check td:nth-child(7) {
  width: 170px;
}

.ak-request-table.is-bank-export th:nth-child(7),
.ak-request-table.is-bank-export td:nth-child(7),
.ak-request-table.is-approval th:nth-child(7),
.ak-request-table.is-approval td:nth-child(7) {
  width: 230px;
}

.ak-request-table.is-bank-export .ak-internal-transfer-select {
  width: 100%;
  min-width: 0;
}

.ak-request-table.is-remittance-check {
  min-width: 2180px;
}

.ak-request-table.is-remittance-check th,
.ak-request-table.is-remittance-check td {
  padding-left: .75rem;
  padding-right: .75rem;
}

.ak-request-table th:nth-child(8),
.ak-request-table td:nth-child(8) {
  width: 240px;
}

.ak-request-table.is-bank-export th:nth-child(8),
.ak-request-table.is-bank-export td:nth-child(8) {
  width: 150px;
}

.ak-request-table.is-bank-export .ak-comment-field {
  flex-wrap: wrap;
}

.ak-request-table th:nth-child(9),
.ak-request-table td:nth-child(9) {
  width: 720px;
}

.ak-request-table th:nth-child(10),
.ak-request-table td:nth-child(10) {
  width: 160px;
}

.ak-request-table th:nth-child(11),
.ak-request-table td:nth-child(11) {
  width: 150px;
}

.ak-confirm-dialog {
  width: min(460px, calc(100vw - 32px));
}

.ak-mono {
  font-family: Consolas, "Courier New", monospace;
  font-size: .9rem;
  word-break: break-all;
}

.ak-empty {
  padding: 28px;
}

.ak-empty p {
  margin: 8px 0 0;
  color: var(--gh-text-muted);
}

@media (max-width: 980px) {
  .ak-form-detail-layout {
    grid-template-columns: 1fr;
  }

  .ak-form-detail-section--content,
  .ak-form-detail-section--workflow {
    grid-column: 1;
    padding-top: 0;
    padding-left: 0;
  }

  .ak-form-field-list {
    grid-template-columns: 1fr;
  }

  .ak-form-field-row--wide {
    grid-column: 1;
  }

  .ak-passbook-review-item {
    grid-template-columns: 1fr;
  }

  .ak-passbook-review-item small {
    grid-column: 1;
  }
}

@media (max-width: 767.98px) {
  .login-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 28px;
  }

  .app-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .login-panel h1,
  .login-form,
  .login-status-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .employee-preview-row {
    margin-top: 0;
  }

  .employee-preview-row .redirect-note {
    width: 100%;
    margin-left: 0;
  }

  .ak-page-head,
  .ak-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ak-user-pill,
  .ak-user-summary {
    text-align: left;
    width: 100%;
  }

  .ak-summary-strip,
  .ak-metrics,
  .ak-category-strip,
  .ak-workspace,
  .ak-layout {
    grid-template-columns: 1fr;
  }

  .ak-form-detail-host {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .ak-form-detail {
    padding: 16px 14px 18px;
  }

  .ak-form-detail-definition {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .ak-form-field-row,
  .ak-form-grid-cells {
    grid-template-columns: 1fr;
  }

  .ak-form-field-row--wide {
    grid-template-columns: 1fr;
  }

  .ak-form-field-value {
    padding-top: 5px;
  }

  .ak-workflow-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .ak-pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ak-pagination-summary {
    text-align: center;
  }
}
