@import url('/static/ui-fonts.css?v=noto-sans-v42');

/* Shared UI only. Signed documents and document-preview frames retain their typography. */
.customer-workspace-ui {
  --font-ui: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui-ink: #193e34;
  --ui-muted: #667b71;
  --ui-border: #d8e3dc;
  --ui-primary: #194b3c;
  --ui-primary-hover: #103d30;
  --ui-radius: 12px;
  --ui-focus: #8cb7a0;
  font-family: var(--font-ui);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.customer-workspace-ui body { font-family: var(--font-ui); }
.customer-workspace-ui :is(button, input, select, textarea) { font-family: var(--font-ui); }
.customer-workspace-ui :is(button, a, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
.customer-workspace-ui :is(button, .atlas-button, .google-button, .admin-nav-link) {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.customer-workspace-ui :is(button, a, select, input, textarea):focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 3px;
}
.customer-workspace-ui :is(button, .atlas-button):disabled { cursor: not-allowed; }
.customer-workspace-ui :is(.card, .customer-picker) h1 {
  font-family: var(--font-ui);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.8px;
}
.customer-workspace-ui .card { border-radius: 20px; box-shadow: 0 12px 40px #163e3310; }
.customer-workspace-ui .card h1 { font-size: clamp(26px, 3vw, 32px); }
.customer-workspace-ui .card .intro { line-height: 1.7; }
.customer-workspace-ui .card :is(.submit, .google-button) { min-height: 50px; border-radius: var(--ui-radius); font-weight: 600; }
.customer-workspace-ui .card .submit { background: var(--ui-primary); box-shadow: 0 3px 6px #194b3c16; }
.customer-workspace-ui .card .submit:hover:not(:disabled) { background: var(--ui-primary-hover); }
.customer-workspace-ui .card .password-wrap,
.customer-workspace-ui .card .password-row { border-radius: var(--ui-radius); }
.customer-workspace-ui .card .eyebrow { font-weight: 650; line-height: 1.6; }
.customer-workspace-ui :is(.admin-sidebar, .admin-app-header, .admin-nav-group h2, .admin-lock-button, .admin-icon-button) { font-family: var(--font-ui); }
.customer-workspace-ui .admin-nav-link { border-radius: 10px; }
.customer-workspace-ui .admin-lock-button { border-radius: 10px; min-height: 38px; }

.customer-choice { display: flex; align-items: center; gap: 9px; margin: 0; font: 500 12px/1.5 var(--font-ui); color: #536e60; }
.customer-choice[hidden] { display: none !important; }
.customer-choice select, .customer-picker select, .atlas-page select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23456053' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.customer-choice select { max-width: 210px; min-height: 40px; border: 1px solid var(--ui-border); border-radius: 10px; background-color: #f8fbf9; color: var(--ui-ink); padding-top: 8px; padding-bottom: 8px; padding-left: 12px; font: 600 13px/1.5 var(--font-ui); cursor: pointer; }
.customer-choice select:hover { border-color: #a8c2b3; background-color: #fff; }
.customer-badge { display: table; margin: 16px 0; padding: 6px 11px; border: 1px solid #dce9df; background: #eff6f1; color: #285d46; border-radius: 8px; font: 600 12px/1.6 var(--font-ui); }
.customer-back { display: inline-flex; margin: 0 0 20px; color: #386e55; font-size: 12px; font-weight: 500; text-underline-offset: 4px; }
.customer-note { color: #82551c; font-size: 12px; line-height: 1.7; margin: 14px 0; }
.customer-dev-notice { margin: 12px 16px; padding: 10px 14px; border: 1px solid #eadac0; border-radius: 10px; background: #fff9ed; color: #76521e; font: 500 12px/1.6 var(--font-ui); }

.customer-entry { background: #f4f7f4; color: var(--ui-ink); }
.customer-entry .header { background: #fff; height: 76px; border-color: #e1e8e2; }
.customer-entry-tag { color: #5b7466; background: #f2f7f3; border: 1px solid #e1ebe3; padding: 6px 11px; border-radius: 8px; font-size: 11px; font-weight: 600; letter-spacing: .6px; }
.customer-entry-main { width: min(100%, 1060px); margin: 0 auto; padding: clamp(32px, 6vh, 64px) 28px 40px; }
.customer-picker { display: grid; grid-template-columns: 1fr 1fr; align-items: start; background: #fff; border: 1px solid #dce6de; border-radius: 24px; box-shadow: 0 12px 48px #173e330b; overflow: hidden; }
.customer-introduction { align-self: stretch; padding: 44px 38px; background: #f7faf7; border-right: 1px solid #e3ebe4; }
.customer-entry-icon { display: grid; place-items: center; width: 48px; height: 48px; background: #e7f1e9; border: 1px solid #d8e7dc; border-radius: 14px; margin-bottom: 24px; color: #2f6a4e; }
.customer-entry-icon svg { width: 24px; height: 24px; }
.customer-eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 650; letter-spacing: 1.1px; color: #5a7a65; line-height: 1.7; }
.customer-picker h1 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 16px; }
.customer-entry-description { font-size: 14px; line-height: 1.8; color: #587064; margin: 0 0 6px; }
.customer-entry-english { font-size: 12px; line-height: 1.7; color: #738477; margin: 0; }
.customer-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.customer-steps li { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #61776a; line-height: 1.6; }
.customer-steps li > span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; background: #fff; color: #647d6d; border: 1px solid #d8e5db; border-radius: 50%; font-size: 11px; font-weight: 600; }
.customer-steps li[aria-current] { color: #1c4f3c; font-weight: 600; }
.customer-steps li[aria-current] > span { background: #194b3c; border-color: #194b3c; color: #fff; }
.customer-entry-panel { padding: 44px 38px 36px; min-width: 0; }
.customer-mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
.customer-picker .customer-mode-switch button {
  display: grid; justify-content: start; text-align: left; gap: 3px; min-height: 62px; margin: 0;
  padding: 8px 12px; color: var(--ui-primary); background: #fff; border-color: var(--ui-border); box-shadow: none;
}
.customer-picker .customer-mode-switch button[aria-pressed="true"] { color: #fff; background: var(--ui-primary); border-color: var(--ui-primary); }
.customer-picker .customer-mode-switch button:hover:not([aria-pressed="true"]) { color: var(--ui-primary); background: #f1f7f2; }
.customer-mode-switch small { font-size: 11px; font-weight: 450; }
.customer-picker #contractInviteUrl {
  width: 100%; min-height: 50px; border: 1px solid #cbdcd0; border-radius: var(--ui-radius);
  color: var(--ui-ink); padding: 11px 13px; font-size: 16px;
}
.customer-picker form[hidden], .customer-steps[hidden] { display: none; }
.customer-mode-hint, .customer-entry-error { font-size: 13px; line-height: 1.65; margin: 10px 0 0; }
.customer-mode-hint { color: var(--ui-muted); }
.customer-entry-error { color: #9b3730; }
.customer-sign-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.customer-sign-links .customer-back { min-height: 40px; align-items: center; margin-bottom: 6px; }
.customer-picker label { display: block; margin: 0 0 9px; color: #294d3c; font-size: 13px; font-weight: 600; }
.customer-picker select { display: block; width: 100%; min-height: 50px; border: 1px solid #cbdcd0; border-radius: var(--ui-radius); background-color: #fff; color: #264734; font: 400 14px/1.6 var(--font-ui); padding-top: 12px; padding-bottom: 12px; padding-left: 14px; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.customer-picker select:hover { border-color: #87ad96; }
#customerFlowWrap { margin-top: 22px; }
.customer-documents { position: relative; margin: 24px 0 0; padding: 16px 16px 16px 43px; background: #f4f8f4; border: 1px solid #e3ece4; border-radius: var(--ui-radius); color: #5b7463; font-size: 13px; line-height: 1.8; }
.customer-documents::before { content: ""; position: absolute; left: 17px; top: 19px; width: 13px; height: 16px; border: 1.5px solid #6d927b; border-radius: 3px; background: repeating-linear-gradient(#0000 0 4px, #c0d3c5 4px 5px, #0000 5px 7px) center 3px / 7px 9px no-repeat; }
.customer-picker button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 24px; padding: 13px 16px; border: 1px solid var(--ui-primary); border-radius: var(--ui-radius); background: var(--ui-primary); color: #fff; font: 600 14px/1.6 var(--font-ui); box-shadow: 0 3px 7px #194b3c19; cursor: pointer; }
.customer-picker button svg { width: 18px; height: 18px; flex: none; }
.customer-picker button:hover:not(:disabled) { background: var(--ui-primary-hover); border-color: var(--ui-primary-hover); box-shadow: 0 5px 12px #194b3c24; }
.customer-picker button:active:not(:disabled) { box-shadow: inset 0 2px 4px #071e3229; }
.customer-picker button:disabled { background: #e6ece7; border-color: #e0e7e1; color: #748276; box-shadow: none; cursor: not-allowed; }
.customer-picker #customerError { font-size: 13px; color: #9b3730; line-height: 1.6; }
.customer-entry-footnote { text-align: center; font-size: 11px; line-height: 1.8; color: #738579; margin: 22px 0 0; }

@media (max-width: 760px) {
  .customer-entry-main { padding: 24px 16px 32px; max-width: 540px; }
  .customer-picker { grid-template-columns: 1fr; border-radius: 20px; }
  .customer-introduction { padding: 26px 24px; border-right: 0; border-bottom: 1px solid #e3ebe4; }
  .customer-entry-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; }
  .customer-picker h1 { font-size: 27px; }
  .customer-steps { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
  .customer-steps li { display: grid; align-content: start; gap: 7px; font-size: 11px; }
  .customer-steps li small { display: none; }
  .customer-entry-panel { padding: 22px 24px 26px; }
  .customer-entry .header { height: 66px; padding: 0 18px; }
  .customer-entry .header img { width: 126px; height: 54px; }
}
@media (max-width: 600px) {
  .admin-header-actions { flex-wrap: nowrap; gap: 6px; }
  .admin-header-actions .customer-choice { font-size: 0; gap: 0; flex-wrap: nowrap; }
  .admin-header-actions .customer-choice select { font-size: 12px; min-height: 34px; max-width: 132px; padding: 6px 28px 6px 9px; background-position: right 5px center; }
  .admin-header-leading { flex: 1; min-width: 0; }
  .customer-choice select { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-workspace-ui :is(button, a, input, select, textarea) { transition: none; }
}
@media (forced-colors: active) {
  .customer-choice select, .customer-picker select, .atlas-page select { appearance: auto; background-image: none; padding-right: 12px; }
}
