@font-face {
  font-family: Inter;
  src: url("/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  color: #152a40;
  background: #f6f8fb;
  --blue: #1675e0;
  --line: #dce6ef;
  --muted: #5b7084;
  --green: #17835d;
  --layout-content-max: 1560px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
#root {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}
button,
a,
input,
textarea,
summary {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #2088de;
}
a {
  color: #1267bc;
}
button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #a9c5dc;
  background: white;
  color: #245b83;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.3;
}
button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
button.danger {
  color: #a52b37;
  border-color: #dbabb1;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  filter: brightness(0.96);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, Inter, Arial, sans-serif;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
h3 {
  font-size: 17px;
  margin-bottom: 14px;
}
p {
  line-height: 1.6;
}
header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--layout-content-max), 92vw);
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
header img {
  width: 136px;
  height: 46px;
  object-fit: contain;
}
.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:190px;text-decoration:none;color:inherit}
.brand span{color:#607482;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap}
nav {
  margin-left: auto;
  display: flex;
  padding: 4px;
  background: #f4f7fa;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
  gap: 2px;
  align-items: center;
}
nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #5a7084;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
nav a[aria-current]{background:white;border-color:#c8dbea;color:#1268c4}
.test-strip {
  background: #fff3d8;
  border-bottom: 1px solid #e7cb91;
  color: #76521b;
  text-align: center;
  padding: 9px 18px;
  font-size: 13px;
}
main {
  width: min(var(--layout-content-max), 92vw);
  flex: 1;
  min-width: 0;
  margin: 32px auto 48px;
}
.intro {
  margin-bottom: 24px;
}
.intro p { max-width: 760px; margin-bottom: 0; }
.muted,
small {
  color: var(--muted);
  line-height: 1.5;
}
small {
  font-size: 13px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(var(--step-count), minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 16px;
  color: #647c8c;
  font-size: 14px;
  min-width: 0;
  border-bottom: 3px solid transparent;
}
.steps li[aria-current] {
  color: #116bc2;
  border-bottom-color: var(--blue);
  font-weight: 700;
}
.steps b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  background: #e4edf5;
  border-radius: 4px;
}
section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.form {
  width: 100%;
}
.form > section:first-child { border-top: 0; padding-top: 0; }
.form > details { margin-top: 0; }
.form > section > .check:first-child { margin: 0; }
.form > section > .check + .grid { margin-top: 20px; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid > * { min-width: 0; }
.grid .wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.field-hint { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; }
.field-error { display: block; margin-top: 6px; color: #a52b37; font-weight: 500; }
.mac-entry { max-width: 480px; }
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid #b4cbdc;
  background: white;
  color: #18354a;
  border-radius: 5px;
  font-size: 16px;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
input[readonly] {
  background: #edf2f6;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  margin: 20px 0;
  line-height: 1.55;
}
.check input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
details .grid {
  margin-top: 22px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 11px;
  --status-bg: #eaf3ff;
  --status-border: #a8c9eb;
  --status-ink: #15599b;
  background: var(--status-bg);
  border: 1px solid var(--status-border);
  color: var(--status-ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.status svg { width: 16px; height: 16px; flex-shrink: 0; }
.status > span { min-width: 0; }
.status-compact { min-height: 30px; padding: 5px 8px; gap: 6px; font-size: 12px; }
.status-compact svg { width: 14px; height: 14px; }
.status[data-state="blvs_review"],
.status[data-state="documents"],
.status[data-state="requester_correction"],
.status[data-state="approval_required"],
.status[data-state="verify_required"],
.status[data-state="invitation_required"],
.status[data-state="mail_uncertain"] { --status-bg: #fff2d3; --status-border: #dfb252; --status-ink: #79500a; }
.status[data-state="completed"],
.status[data-state="signed"],
.status[data-state="mail_sent"] { --status-bg: #e4f5ec; --status-border: #7dbb99; --status-ink: #14613c; }
.status[data-state="declined"],
.status[data-state="delivery_issue"] { --status-bg: #ffedef; --status-border: #d89099; --status-ink: #a02b3d; }
.status[data-state="in_review"],
.status[data-state="sent"] { --status-bg: #e2f4f5; --status-border: #7ab8bf; --status-ink: #145e66; }
.status[data-state="mail_expired"] { --status-bg: #edf0f3; --status-border: #bcc7d1; --status-ink: #526474; }
.status-note { margin: 12px 0 24px; color: var(--muted); font-size: 13px; }
.notice > .status { display: flex; margin-bottom: 12px; }
.login > .status { margin-bottom: 16px; }
.decision-result h2 .status { min-height: 44px; font-size: 18px; }
.notice,
.error,
.success {
  padding: 15px 18px;
  border-left: 4px solid #ddaa3b;
  background: #fff4d9;
  line-height: 1.55;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.error {
  background: #fff0f1;
  border-color: #bd3449;
  color: #922536;
}
.success {
  background: #eaf7f0;
  border-color: #18805c;
  color: #155f48;
}
.login {
  width: min(100%, 480px);
  margin: 30px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
}
.login label {
  margin: 20px 0;
}
.bot {
  margin: 16px 0;
  max-width: 100%;
}
.bot-widget { width: min(100%, 400px); min-height: 65px; }
.board {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 32px;
}
.board > * {
  min-width: 0;
}
.request-list {
  padding: 0;
  border-top: 0;
}
.request-list button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  min-height: 94px;
  padding: 18px;
  margin-bottom: 10px;
  border-left-width: 4px;
}
.request-list button[aria-current] {
  background: #eaf3fc;
  border-color: #2683d5;
}
.request-list button > .status { margin-top: 12px; }
.request-list small {
  display: block;
  margin-top: 7px;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
}
.request-list .request-project { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.title-row > .actions { margin-top: 0; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.summary-grid dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.summary-grid dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.history {
  padding-left: 22px;
}
.history li {
  padding: 0 0 18px 10px;
  line-height: 1.5;
}
.history small {
  display: block;
  margin-top: 5px;
}
.message {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.message h3,
.message .muted {
  overflow-wrap: anywhere;
}
.message pre {
  font:
    14px/1.6 Inter,
    Arial,
    Helvetica,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.reply-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.reply-heading h3 { margin-bottom: 0; font-size: 16px; }
.reply-heading time,
.reply-verification { color: var(--muted); font-size: 12px; }
.reply-text pre { font-size: 16px; margin: 18px 0; }
.reply-details { margin: 12px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
.reply-details summary { font-size: 13px; color: var(--blue); }
.reply-details[open] summary { margin-bottom: 18px; }
.email-help { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 16px 0; }
.master-lookup { margin: 20px 0 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.master-lookup h3 { margin-bottom: 8px; font-size: 16px; }
.master-lookup > p:last-child { margin-bottom: 0; }
.master-values { margin: 16px 0; }
.master-note { padding-left: 12px; border-left: 3px solid #ddaa3b; font-size: 13px; color: var(--muted); }
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 12px;
  color: var(--muted);
}
td {
  overflow-wrap: anywhere;
}
.signature {
  display: block;
  width: 100%;
  max-width: 760px;
  height: 200px;
  touch-action: none;
  background: white;
  border: 1px solid #8faec6;
  border-radius: 5px;
  margin: 16px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.honeypot {
  position: absolute;
  left: -10000px;
}
footer {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.linkbox {
  padding: 15px;
  background: #eaf3fc;
  overflow-wrap: anywhere;
  margin-top: 20px;
}
.loading {
  padding: 40px;
  text-align: center;
}
.empty {
  padding: 32px 0;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .board { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .request-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; max-height: 220px; overflow-y: auto; }
  .request-list button { margin: 0; min-height: 80px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner {
    padding-block: 8px;
    gap: 10px 16px;
    flex-wrap: wrap;
  }
  header img {
    width: 116px;
    height: 39px;
  }
  nav {
    margin-left: 0;
  }
  nav a {
    font-size: 12px;
  }
  main {
    margin: 24px auto 40px;
  }
  h1 {
    font-size: 25px;
  }
  .grid,
  .summary-grid,
  .board {
    grid-template-columns: 1fr;
  }
  .board {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .steps {
    gap: 12px;
    margin-bottom: 20px;
  }
  .steps li {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }
  .steps b {
    min-width: 23px;
    height: 23px;
  }
  .request-list {
    max-height: 280px;
  }
  .request-list button {
    min-height: 74px;
    padding: 14px;
  }
  .login {
    margin: 24px auto;
    padding: 22px;
  }
  .actions button {
    flex: 1 1 auto;
  }
  .grid {
    gap: 18px;
  }
  .test-strip {
    font-size: 12px;
  }
  .signature {
    height: 180px;
  }
  .bot {
    margin-left: 0;
    max-width: 100%;
  }
  td {
    min-width: 105px;
  }
}
