.admin-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 32px 12px;
  min-height: calc(100dvh - 210px);
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -1.8px;
  text-wrap: balance;
}
h2 {
  letter-spacing: -0.7px;
  font-size: 27px;
}
p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ie-muted);
}
.primary,
.secondary,
.text-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 4px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition:
    background-color 140ms,
    border-color 140ms;
}
.primary {
  background: var(--ie-yellow);
  color: var(--ie-ink);
}
.primary span {
  font-size: 19px;
  line-height: 1;
}
.secondary {
  background: #fff;
  border-color: #ccc;
  color: var(--ie-ink);
}
.text-button,
.back-button {
  background: transparent;
  padding: 9px 0;
}
.text-button {
  font-size: 11px;
}
.page-status {
  margin-bottom: 20px;
}
.page-status:empty,
.error:empty,
.form-status:empty {
  display: none;
}
.login-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 1080px;
  margin: 16px auto;
  border: 1px solid var(--ie-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.login-intro {
  padding: 52px 44px 34px;
  background: #1c1c1b;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.login-intro .eyebrow {
  font-size: 9px;
  color: var(--ie-yellow);
  margin-bottom: 32px;
}
.login-intro h1 {
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
}
.login-intro em {
  color: var(--ie-yellow);
  font-style: normal;
}
.login-intro p {
  color: #c3c3bb;
  max-width: 35ch;
  font-size: 13px;
}
.intro-foot {
  margin-top: auto;
  padding-top: 55px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  line-height: 1.6;
  color: #cacac6;
}
.intro-mark {
  display: grid;
  place-items: center;
  background: var(--ie-yellow);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--ie-ink);
  font-weight: 800;
}
.login-panel {
  padding: 52px 48px;
}
.login-panel .eyebrow {
  color: var(--ie-muted);
  margin-bottom: 20px;
}
.login-panel h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.login-panel form {
  margin-top: 28px;
}
.login-panel form .primary {
  width: 100%;
  margin-top: 12px;
  justify-content: space-between;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
input,
select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  margin-bottom: 19px;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #ccccc6;
  border-radius: 4px;
  background: #fff;
  color: var(--ie-ink);
  font-size: 14px;
  font-weight: 400;
}
input::placeholder {
  color: #8a8a83;
}
input[readonly] {
  background: #f6f6f3;
}
label small,
.field-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #74746c;
  line-height: 1.65;
}
label small {
  margin: -9px 0 18px;
}
.error,
.form-status.is-error {
  color: #a32822;
  font-size: 12px;
  line-height: 1.65;
}
.notice {
  padding: 14px;
  background: var(--ie-selected);
  border-left: 3px solid #c8b900;
  color: #514b08;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 4px 0 30px;
}
.page-heading .eyebrow {
  margin-bottom: 16px;
  color: #74746c;
}
.page-heading p {
  margin: 0;
}
.page-heading button {
  flex-shrink: 0;
}
.customer-toolbar {
  border-top: 1px solid var(--ie-line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.customer-toolbar p {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.search-label {
  width: min(340px, 55%);
}
.search-label input {
  margin: 0;
  font-size: 12px;
  background: transparent;
}
.empty-state {
  text-align: center;
  padding: 52px 24px;
  border: 1px dashed #c8c8c0;
  background: #fff;
  border-radius: 6px;
}
.empty-state img {
  margin-bottom: 22px;
}
.empty-state h2 {
  font-size: 25px;
}
.empty-state p {
  max-width: 56ch;
  margin: 0 auto 26px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ie-line);
  border-radius: 6px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #ecece8;
  font-size: 10px;
  color: #6a6a61;
  font-weight: 600;
  white-space: nowrap;
  padding: 14px 18px;
}
td {
  padding: 20px 18px;
  border-top: 1px solid #e8e8e2;
  font-size: 12px;
  vertical-align: middle;
}
td strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #87877e;
  overflow-wrap: anywhere;
}
.account-number {
  font-variant-numeric: tabular-nums;
}
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  white-space: nowrap;
}
.connection-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #4a7550;
  border-radius: 50%;
}
.connection-status.is-disabled::before {
  background: #99998d;
}
.connection-status.is-unavailable::before {
  background: #ad4a30;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
.row-actions button {
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 2px;
  white-space: nowrap;
}
.row-actions button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.dashboard-note {
  display: grid;
  grid-template-columns: 1fr 1.6fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  margin-top: 14px;
}
.dashboard-note strong {
  font-size: 12px;
}
.dashboard-note p {
  font-size: 11px;
  margin: 0;
}
.dashboard-note a {
  font-size: 11px;
  font-weight: 600;
}
.empty-search {
  padding: 32px;
  text-align: center;
}
.back-button {
  padding: 0;
  margin-bottom: 28px;
  color: #64645c;
  font-weight: 500;
}
.steps {
  display: flex;
  gap: 34px;
  list-style: none;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--ie-line);
  margin: 0 0 28px;
}
.steps li {
  color: #87877d;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps span {
  font-size: 10px;
  color: #88887d;
  border: 1px solid #d6d6ce;
  padding: 5px 6px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.steps [aria-current="step"] {
  color: #20201d;
}
.steps [aria-current="step"] span {
  background: var(--ie-yellow);
  border-color: var(--ie-yellow);
  color: #20201d;
}
.connection-form {
  max-width: 800px;
}
.form-panel {
  min-width: 0;
  border: 1px solid var(--ie-line);
  padding: 28px 32px;
  margin: 0;
  background: #fff;
  border-radius: 6px;
}
.form-panel legend {
  padding: 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.panel-intro {
  font-size: 12px;
  margin-bottom: 25px;
  max-width: 65ch;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
}
.wide {
  grid-column: 1/-1;
}
.password-field {
  display: flex;
  gap: 12px;
  align-items: center;
}
.password-field input {
  flex: 1;
}
.password-field button {
  align-self: flex-start;
  margin-top: 8px;
  min-width: 46px;
}
.advanced {
  margin: 10px 0 20px;
  font-size: 11px;
}
.advanced summary {
  cursor: pointer;
  min-height: 40px;
}
.advanced label {
  margin-top: 10px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.form-section-heading {
  font-size: 14px;
  margin: 14px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5df;
  letter-spacing: -0.2px;
}
.parcel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.verification-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  background: #f5f5f0;
  padding: 15px 16px;
  line-height: 1.65;
}
.verification-note span {
  color: #69695f;
}
.form-status {
  padding: 16px 4px;
}
dialog {
  border: 1px solid #c5c5bc;
  border-radius: 8px;
  padding: 32px;
  max-height: 90dvh;
  overflow: auto;
  width: min(620px, calc(100% - 32px));
  color: var(--ie-ink);
}
dialog::backdrop {
  background: rgb(18 18 16 / 55%);
}
dialog h2 {
  font-size: 27px;
  margin: 14px 0;
}
dialog h3 {
  font-size: 13px;
}
.dialog-kicker {
  color: #6c6500;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}
.key-dialog input {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.key-warning {
  background: var(--ie-selected);
  padding: 12px;
  font-size: 11px;
  color: #635e20;
  margin: 20px 0;
}
.integration-steps {
  border-top: 1px solid var(--ie-line);
  padding-top: 20px;
}
.integration-steps p {
  font-size: 11px;
}
.integration-steps a {
  font-size: 11px;
}
pre {
  padding: 16px;
  border-radius: 4px;
  background: #f2f2ee;
  font:
    11px/1.75 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
code {
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .login-panel,
  .login-intro {
    padding: 36px 28px;
  }
  .dashboard-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .row-actions {
    flex-wrap: wrap;
    gap: 7px;
  }
}
@media (max-width: 650px) {
  .admin-main {
    padding: 28px 20px 0;
  }
  .login-shell {
    grid-template-columns: 1fr;
    margin: 0;
  }
  .login-intro {
    padding: 28px;
  }
  .login-intro h1 {
    font-size: 36px;
  }
  .login-intro .eyebrow {
    margin-bottom: 18px;
  }
  .intro-foot {
    display: none;
  }
  .login-panel {
    padding: 28px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .steps {
    gap: 12px;
  }
  .steps li {
    font-size: 10px;
    align-items: flex-start;
  }
  .steps span {
    display: none;
  }
  .form-panel {
    padding: 22px 18px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .parcel-grid {
    grid-template-columns: 1fr 1fr;
  }
  input,
  select {
    font-size: 16px;
  }
  .customer-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .search-label {
    width: 100%;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .primary {
    flex: 1;
  }
  dialog {
    padding: 24px 20px;
  }
}
