* {
  box-sizing: border-box;
}
.moreactions {
  width: auto;
  max-width: 100%;
  min-height: 36px;
}
.toolbar label {
  flex: 1;
}
.toolbar .sample {
  margin-inline-start: auto;
}
.customerproof img {
  background: #2b2d31;
  padding: 6px 10px;
  border-radius: 3px;
}
.customerproof h2 {
  margin: 0.75rem 0;
}
.path {
  white-space: pre-wrap;
}
.toolbar {
  column-gap: 1.2rem;
}
@media print {
  body.print-proof #root,
  body.print-proof #feedback,
  body.print-proof .modalhead {
    display: none !important;
  }
  body.print-proof .modal {
    position: static;
    border: none;
    max-height: none;
    width: 100%;
    margin: 0;
  }
  body.print-proof .modal::backdrop {
    background: transparent;
  }
}
html {
  font:
    16px/1.5 Inter,
    'Segoe UI',
    Tahoma,
    Arial,
    sans-serif;
  color: #242a31;
  background: #f6f6f4;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: #8b400a;
}
button {
  border: 1px solid #d3d3ce;
  border-radius: 7px;
  background: #fff;
  color: #242a31;
  padding: 0.5rem 0.8rem;
}
button:hover {
  border-color: #ae6833;
  background: #fff7ef;
}
button.primary {
  background: #eb7011;
  border-color: #b45409;
  color: #1c1710;
  font-weight: 700;
}
button.primary:hover {
  background: #ff8729;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.16;
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.04rem;
}
small,
.muted {
  color: #59636d;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(19rem, 42%) 1fr;
}
.identity {
  background: #292c2e;
  color: white;
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.identity img,
.logo img {
  width: min(100%, 230px);
  object-fit: contain;
  display: block;
}
.identity h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 8em;
}
.desk-title {
  display: grid;
  gap: 1rem;
}
.identity .desk-seal {
  width: 80px;
  height: 80px;
}
.identity p {
  max-width: 29rem;
  color: #d4d7d8;
  margin-top: 1rem;
}
.signin {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem;
}
.signin form {
  width: min(100%, 25rem);
  display: grid;
  gap: 1.05rem;
}
.signin .language {
  margin-bottom: 1.5rem;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a24c0e;
}
.identity .eyebrow {
  color: #ff9c4f;
  margin-bottom: 0.8rem;
}
.layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
}
aside {
  background: #292c2f;
  color: #f5f5f4;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0.85rem;
  gap: 1.3rem;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: auto;
}
.logo {
  padding: 0 0.35rem 0.95rem;
  border-bottom: 1px solid #494c4e;
}
.logo img {
  max-height: 52px;
  max-width: 183px;
}
.logo span {
  display: block;
  color: #ccc;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
nav {
  display: grid;
  gap: 0.25rem;
}
nav button {
  border: 0;
  border-radius: 6px;
  color: #dadcdb;
  background: transparent;
  padding: 0.64rem 0.75rem;
  text-align: start;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
}
nav button:hover {
  background: #363a3c;
  border: 0;
}
nav button[aria-current='page'] {
  background: #45403a;
  color: #ffb473;
  box-shadow: inset 3px 0 #ff811d;
}
nav i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  font-size: 1.12rem;
}
.profile {
  margin-top: auto;
  border-top: 1px solid #494c4e;
  padding: 0.85rem 0.3rem 0;
  font-size: 0.88rem;
}
.profile button {
  margin-top: 0.5rem;
}
.workspace {
  min-width: 0;
}
.toolbar {
  padding: 0.8rem clamp(0.9rem, 3.2vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: white;
  border-bottom: 1px solid #dfdfda;
}
.toolbar input {
  max-width: 26rem;
}
.toolbar label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.language {
  width: auto;
}
.sample {
  border: 1px solid #e3c7a9;
  padding: 0.18rem 0.58rem;
  border-radius: 1rem;
  font-size: 0.76rem;
  color: #8b4412;
  white-space: nowrap;
  background: #fff6e9;
}
.content {
  padding: clamp(1.15rem, 3vw, 2.8rem);
  max-width: 1540px;
  margin: auto;
}
.pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.pagehead p {
  margin: 0.4rem 0 0;
  color: #55616b;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.metric,
.panel,
.tile {
  background: #fff;
  border: 1px solid #dadcd9;
  border-radius: 10px;
}
.metric {
  padding: 1.05rem;
  text-align: start;
  color: #40484d;
  min-width: 0;
}
.metric strong {
  display: block;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  letter-spacing: -0.04em;
  font-weight: 650;
  color: #202930;
  margin: 0.28rem 0 0;
  overflow-wrap: anywhere;
}
.panel {
  margin: 1rem 0;
  overflow: hidden;
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  gap: 0.8rem;
}
.panelhead small {
  white-space: normal;
}
.inside {
  padding: 0 1.15rem 1.15rem;
}
.twocol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1rem;
}
.twocol .panel {
  margin: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem;
}
.actions button,
.tabs button {
  font-size: 0.9rem;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tabs button[aria-current='page'] {
  background: #2c3339;
  color: white;
}
.scroll {
  overflow: auto;
  max-height: 32rem;
}
.record-label,
.record-toggle,
.table-swipe {
  display: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
  text-align: start;
}
th {
  text-align: start;
  background: #f1f2ef;
  color: #4a565d;
  font-size: 0.78rem;
  font-weight: 600;
  position: sticky;
  top: 0;
}
th,
td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #ededeb;
  vertical-align: top;
}
td {
  max-width: 27rem;
  overflow-wrap: anywhere;
}
.empty {
  display: block;
  padding: 1rem 1.15rem;
  color: #656d73;
}
.linkbtn {
  background: none;
  border: 0;
  color: #90410c;
  padding: 0;
  text-align: start;
  font-weight: 600;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  border-top: 1px solid #eee;
  padding: 0.75rem 1.15rem;
}
.list li small {
  display: block;
}
.info {
  padding: 0.8rem 1rem;
  background: #faf3e9;
  border-inline-start: 3px solid #db741c;
}
.reviewform {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
}
.reviewform button {
  justify-self: start;
}
.reviewnotes article {
  padding-block: 0.4rem;
  border-block-end: 1px solid #d9dddd;
  overflow-wrap: anywhere;
}
.reviewtext {
  white-space: pre-wrap;
}
.formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}
label {
  font-size: 0.9rem;
  display: grid;
  gap: 0.32rem;
  font-weight: 550;
}
input,
select,
textarea {
  background: white;
  color: #21272c;
  width: 100%;
  border: 1px solid #bfc5c7;
  border-radius: 6px;
  padding: 0.46rem 0.62rem;
  min-height: 39px;
}
textarea {
  resize: vertical;
  min-height: 74px;
}
.formgrid .wide,
.wide {
  grid-column: 1/-1;
}
.modal {
  border: 1px solid #c4c8c7;
  border-radius: 12px;
  width: min(92vw, 720px);
  max-height: 90dvh;
  padding: 0;
  color: inherit;
}
.modal::backdrop {
  background: #1a2029a6;
}
.modalhead,
.modalfooter {
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
}
.modalfooter {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  justify-content: flex-end;
  background: white;
  position: sticky;
  bottom: 0;
}
.modalbody {
  padding: 1.2rem;
  overflow: auto;
}
.modalbody .info {
  margin-bottom: 1rem;
}
.error {
  color: #9e271d;
  font-size: 0.95rem;
  white-space: pre-wrap;
}
.inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.rows {
  display: grid;
  gap: 0.5rem;
}
.splitrow {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(5em, 0.65fr) auto;
  gap: 0.4rem;
}
.splitrow button {
  padding: 0.25rem 0.45rem;
}
.path {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.badge {
  display: inline-block;
  font-size: 0.8rem;
  color: #33484a;
  border-radius: 0.4rem;
  padding: 0.08rem 0.45rem;
  background: #e8eeee;
}
.back {
  margin-bottom: 1rem;
}
#feedback:not(:empty) {
  position: fixed;
  bottom: 1rem;
  inset-inline-end: 1rem;
  color: #fff;
  background: #25322d;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  z-index: 10;
}
summary {
  cursor: pointer;
  padding: 0.5rem;
}
details {
  margin: 0.5rem 0;
}
.subtle {
  font-size: 0.85rem;
  color: #59636d;
}
.report-switch {
  margin: 1.2rem 0;
}
.divider {
  border: 0;
  border-top: 1px solid #e0e1de;
  margin: 1rem 0;
}
.chip {
  font-size: 0.8rem;
  display: inline-block;
  background: #eceeec;
  border-radius: 5px;
  padding: 0.1rem 0.35rem;
}
.mobiletitle {
  display: none;
}
html[dir='rtl'] nav button[aria-current='page'] {
  box-shadow: inset -3px 0 #ff811d;
}
html[dir='rtl'] {
  line-height: 1.8;
}
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 178px minmax(0, 1fr);
  }
  aside {
    padding: 1rem 0.5rem;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .signin {
    padding: 1.25rem;
  }
}
@media (max-width: 650px) {
  .layout,
  .login {
    display: block;
  }
  .identity {
    padding: 1.2rem 1.3rem;
    gap: 1rem;
  }
  .identity img {
    max-width: 160px;
  }
  .identity h1 {
    font-size: 2.2rem;
  }
  .desk-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  .identity .desk-seal {
    width: 48px;
    height: 48px;
    flex: none;
  }
  .identity .eyebrow,
  .identity p {
    display: none;
  }
  .signin {
    padding: 2rem 1.2rem;
  }
  .layout aside {
    position: static;
    height: auto;
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
    display: block;
  }
  .logo,
  .profile {
    display: none;
  }
  .mobiletitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 0.35rem;
  }
  .mobiletitle button {
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.15rem 0.5rem;
  }
  .layout nav {
    display: flex;
    overflow-x: auto;
    gap: 0.3rem;
  }
  .layout nav button {
    white-space: nowrap;
    flex: none;
    min-height: 44px;
    padding: 0.4rem 0.55rem;
  }
  .layout nav i {
    display: none;
  }
  .toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem 0.75rem;
    padding: 0.55rem 0.8rem;
  }
  .toolbar label {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .toolbar input {
    max-width: none;
  }
  .toolbar .sample {
    justify-self: start;
    margin-inline-start: 0;
  }
  .content {
    padding: 0.9rem;
  }
  .pagehead {
    align-items: start;
    flex-direction: column;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .modal {
    width: 96vw;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 0.7rem;
  }
  .panelhead {
    align-items: start;
    flex-direction: column;
  }
  .toolbar .language {
    justify-self: end;
  }
  .workspace :is(input, select, textarea),
  .modal :is(input, select, textarea),
  .signin :is(input, select) {
    min-width: 0;
    max-width: 100%;
    font-size: 1rem;
    min-height: 44px;
  }
  .splitrow {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .splitrow select {
    grid-column: 1 / -1;
  }
  .actions {
    gap: 0.35rem;
  }
  .actions button {
    min-height: 44px;
    padding: 0.4rem 0.55rem;
  }
  th,
  td {
    padding: 0.55rem 0.6rem;
  }
}
@media screen and (max-width: 650px) {
  .twocol > .panel {
    min-width: 0;
  }
  .record-list {
    max-height: none;
    overflow: visible;
  }
  .record-list table,
  .record-list tbody {
    display: block;
  }
  .record-list thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .record-list thead .record-toggle {
    display: table-cell;
  }
  .record-list tbody tr {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.3rem;
    border-top: 1px solid #dadcd9;
  }
  .record-list tbody td {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: baseline;
    gap: 0.7rem;
    padding: 0;
    border: 0;
    max-width: none;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }
  .record-list .record-label {
    display: block;
    color: #57626a;
    font-size: 0.83rem;
  }
  .record-value,
  .record-value .linkbtn {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .record-list tbody .record-primary {
    display: block;
    order: -1;
    margin-bottom: 0.2rem;
    color: #242a31;
    font-size: 1.05rem;
    font-weight: 650;
  }
  .record-primary .record-label {
    font-weight: 500;
  }
  .record-list tbody .record-extra {
    display: none;
    order: 2;
  }
  .record-list .record-open .record-extra {
    display: grid;
  }
  .record-list tbody .record-toggle {
    display: block;
    order: 1;
  }
  .record-toggle button {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 44px;
    padding: 0 0.35rem;
    background: transparent;
    border: 0;
    color: #90410c;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .record-toggle button::after {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .record-toggle button[aria-expanded='true']::after {
    transform: translateY(2px) rotate(225deg);
  }
  .column-list {
    max-width: 100%;
  }
  .column-list th,
  .column-list td {
    min-width: 7.5rem;
    padding: 0.65rem 0.8rem;
  }
  .column-list td {
    font-size: 0.94rem;
  }
  .table-swipe {
    display: block;
    margin: 0;
    padding: 0.25rem 1rem 0.65rem;
    color: #57626a;
    font-size: 0.82rem;
  }
}
@media print {
  aside,
  .toolbar,
  button,
  .sample,
  .actions,
  .tabs,
  #feedback {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .content {
    padding: 0;
    max-width: 100%;
  }
  .scroll {
    overflow: visible;
    max-height: unset;
  }
  .panel {
    break-inside: avoid;
    border: 1px solid #bbb;
  }
  .modal[open] {
    position: static;
    width: 100%;
    max-height: none;
  }
  .modalfooter {
    display: none;
  }
}
