[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #4f89ba;
  outline-offset: 3px;
}
.page:focus:not(:focus-visible) {
  outline: none;
}
.access {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 22px;
}
.access-card {
  width: min(100%, 415px);
  background: white;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.access-card h1 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 4px 0 11px;
}
.access-mark {
  margin-bottom: 12px;
}
.access-card p {
  color: var(--muted);
}
.access-card form,
.access-card label {
  display: grid;
  gap: 8px;
}
.access-card form {
  gap: 14px;
  margin-top: 20px;
}
.access-card input,
.filter-field input,
.filter-field select {
  min-width: 0;
  font: inherit;
  min-height: 40px;
  border: 1px solid #c8d1da;
  border-radius: 7px;
  padding: 7px 10px;
  background: white;
  color: var(--ink);
}
.error {
  color: #9b362b !important;
}
.access-card .btn {
  justify-content: center;
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.plain-link,
.title-button {
  background: none;
  border: 0;
  color: var(--blue);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.title-button {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}
.title-button:hover,
.plain-link:hover {
  text-decoration: underline;
}
.table-wrap .data-table {
  width: 100%;
  min-width: 720px;
}
.data-table .job-col {
  width: 30%;
}
.data-table .price-col {
  width: 23%;
}
.table-wrap .data-table td {
  vertical-align: top;
}
.price-note,
.loc,
.detailtext {
  overflow-wrap: anywhere;
}
.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
  padding: 15px 19px 18px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.filter-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.filter-field.wide {
  grid-column: span 2;
}
.filter-form button {
  min-height: 40px;
  justify-content: center;
}
.filter-form .clear {
  font-size: 12px;
}
.pager,
.refresh-note {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.pager {
  padding: 13px 19px;
  color: var(--muted);
  font-size: 12px;
}
.pager div {
  display: flex;
  gap: 8px;
}
.refresh-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.drawer {
  display: none;
  margin: 0 0 0 auto;
  border: 0;
  height: 100dvh;
  max-height: none;
  max-width: 100%;
  width: min(575px, 100vw);
  padding: 0;
  box-shadow: 0 8px 45px #17283b26;
  transform: none;
}
.drawer[open] {
  display: flex;
  transform: none;
}
.drawer::backdrop {
  background: #10213366;
}
.drawer-body {
  min-height: 0;
  overflow: auto;
  overflow-wrap: anywhere;
}
.drawer-foot {
  flex-wrap: wrap;
}
.drawer-foot .btn {
  flex: 1 1 auto;
  justify-content: center;
}
.drawer a {
  color: var(--blue);
}
.drawer h3 {
  margin: 20px 0 5px;
}
.drawer p,
.drawer ul {
  margin: 5px 0 11px;
}
.drawer section + section {
  border-top: 1px solid var(--line);
  margin-top: 17px;
}
.attachment-list {
  padding-left: 19px;
}
.attachment-list li {
  margin: 7px 0;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-facts dt {
  color: var(--muted);
  font-size: 12px;
}
.detail-facts dd {
  margin: 3px 0 0;
  font-weight: 600;
}
.empty-state {
  padding: 26px 20px;
  color: var(--muted);
}
.status-line {
  margin-top: 5px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tone-money {
  color: var(--green);
}
.footer-note a {
  color: var(--blue);
}
.nav button[aria-current="page"] {
  color: white;
}
@media (max-width: 780px) {
  .sidebar {
    position: static;
  }
  .nav {
    padding-bottom: 3px;
  }
  .filter-form {
    grid-template-columns: 1fr 1fr;
    padding: 13px;
  }
  .filter-field.wide {
    grid-column: 1/-1;
  }
  .table-wrap .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table-wrap .data-table tbody tr {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 9px 12px;
    border-top: 1px solid var(--line);
    padding: 14px;
  }
  .table-wrap .data-table td {
    padding: 0;
    border: 0;
  }
  .table-wrap .data-table td:first-child {
    grid-column: 1/-1;
  }
  .data-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .data-table .job {
    font-size: 15px;
  }
  .data-table .status-cell {
    grid-column: 1/-1;
  }
  .data-table .small-action {
    margin-top: 3px;
  }
  .section-head .btn {
    flex-shrink: 0;
  }
  .refresh-note {
    align-items: flex-start;
  }
  .drawer-body {
    padding: 15px;
  }
  .drawer-foot {
    padding: 12px;
  }
  .activity-time {
    min-width: 61px;
  }
  .home-bottom .item-body {
    min-width: 0;
  }
  .filter-field input {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .metrics {
    gap: 7px;
  }
  .access-card {
    padding: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.metric-value,
.metric-foot {
  display: block;
}
.has-drawer {
  overflow: hidden;
}

.data-table .loc {
  display: block;
  margin-top: 3px;
}

.filter-disclosure > summary {
  display: none;
}
@media (max-width: 780px) {
  .sidebar .nav {
    display: grid;
    grid-template-columns: 0.86fr 1.45fr 0.84fr 0.68fr 1.1fr 0.94fr;
    gap: 2px;
    overflow: visible;
    padding: 0;
  }
  .sidebar .nav button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    gap: 4px;
    font-size: 10px;
    min-width: 0;
  }
  .filter-disclosure > summary {
    display: list-item;
    margin: 0;
    padding: 12px 15px;
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
  }
  .filter-disclosure:not([open]) > form {
    display: none;
  }
}
