/* AUTH_LIGHT_ENTRY_STABLE: crm-auth-light-entry-1 */
:where(html.crm-auth-entry-pending) { --text:#202a34; --muted:#778391; --line:#d8e0e8; --line-strong:#bfc9d4; --blue:#2f74d0; --danger:#c43f3a; }
:where(html.crm-auth-entry-pending) * { box-sizing:border-box; }
:where(html.crm-auth-entry-pending) body { margin:0; min-height:100vh; background:#eef3f7; color:var(--text); font-family:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:13px; letter-spacing:0; }
html.crm-auth-entry-pending body > :not(#loginModal):not(#appStartupShell):not(script):not(template):not(noscript) { display:none !important; }
html.crm-auth-entry-pending [hidden] { display:none !important; }
html.crm-startup-resource-failed .app-startup-shell__panel::before { display:none; }
html.crm-startup-resource-failed .app-startup-shell__panel > button { min-height:36px; padding:6px 14px; border:1px solid #c1cbd6; border-radius:4px; background:#fff; color:#34485e; font:inherit; cursor:pointer; }
html.crm-startup-resource-failed .app-startup-shell__panel > button:hover { background:#f4f7fa; }
html.crm-auth-entry-pending #appStartupShell { position:fixed; inset:0; display:grid; place-items:center; font:14px/1.4 "Manrope",Arial,sans-serif; }
html.crm-auth-entry-pending .app-startup-shell__panel { display:grid; gap:8px; text-align:center; }
/* MOBILE_SPINNER_LOCATION_STABILITY_BETA: keep the verified mobile shell's geometry before styles.css arrives. */
@media (max-width:760px) {
  html.crm-mobile-spinner-location-stability-beta.crm-auth-entry-pending #appStartupShell {
    padding:max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    background:#edf3f8;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  }
  html.crm-mobile-spinner-location-stability-beta.crm-auth-entry-pending .app-startup-shell__panel {
    width:min(320px, 100%);
    min-height:132px;
    place-items:center;
    align-content:center;
    gap:10px;
    padding:28px;
    border:1px solid #cbd8e4;
    border-radius:20px;
    background:#fff;
    box-shadow:0 18px 60px rgba(26,40,55,.14);
  }
  html.crm-mobile-spinner-location-stability-beta.crm-auth-entry-pending .app-startup-shell__panel strong { color:#24517d; font-size:14px; }
  html.crm-mobile-spinner-location-stability-beta.crm-auth-entry-pending .app-startup-shell__panel span { color:var(--text); font-size:16px; font-weight:700; }
}
/* MOBILE_SPINNER_PERSISTENT_BETA: crm-mobile-spinner-persistent-1 */
html.crm-mobile-spinner-persistent-running .app-startup-shell__panel::before { display:none; }
html.crm-mobile-spinner-persistent-running .app-startup-shell__spinner { display:block; width:28px; height:28px; border:3px solid #d8e6f2; border-top-color:var(--blue); border-radius:50%; }
html.crm-auth-entry #appStartupShell { display:none !important; }
:where(html.crm-auth-entry) .mobile-auth-brand { display:none; }
:where(html.crm-auth-entry) button, :where(html.crm-auth-entry) input { font:inherit; }
:where(html.crm-auth-entry) button { cursor:pointer; }
:where(html.crm-auth-entry) input { height:31px; padding:0 9px; border:1px solid var(--line-strong); border-radius:3px; background:#fff; color:var(--text); }
:where(html.crm-auth-entry) .button { min-height:31px; padding:0 11px; border:1px solid var(--line-strong); border-radius:3px; background:linear-gradient(#fff,#f7f9fb); color:#2f3a45; line-height:1; }
:where(html.crm-auth-entry) .button:hover { border-color:#aeb8c3; }
:where(html.crm-auth-entry) .button--blue { border-color:#2f68c7; background:var(--blue); color:#fff; }
@font-face {
  font-family: "Manrope";
  /* IMPORT_EXPORT_COMPACT_ROLLOUT: crm-import-export-compact-1 cache-key parity. */
  /* IMPORT_COPY_SHORT_ROLLOUT: crm-import-copy-short-1 cache-key parity. */
  /* PRODUCT_FORM_COMPACT_ROLLOUT: crm-ns-warehouse-product-form-compact-2 */
  /* RECEIPT_ACTION_STABILITY_ROLLOUT: crm-ns-warehouse-receipt-action-stability-2 cache-key parity. */
  /* SETTINGS_TRUST_ROLLOUT: crm-settings-trust-permissions-1 */
  /* FINANCE_PAYROLL_SETTINGS_SINGLE_SOURCE_ROLLOUT: crm-finance-payroll-settings-single-source-2 */
  /* ISSUE_MIXED_RECIPIENT_ROLLOUT: crm-order-issue-mixed-recipient-1 */
  src: url("../assets/fonts/manrope/Manrope-VariableFont_wght.ttf?v=crm-admin-location-access-1") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:where(html.crm-auth-entry) .auth-modal[hidden] {
  display: none;
}
:where(html.crm-auth-entry) .auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}
:where(html.crm-auth-entry) .auth-login-screen {
  background: #edf3f8;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel {
  width: min(360px, 100%);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(26, 40, 55, 0.14);
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel h2 {
  margin-bottom: 14px;
  font-size: 20px;
  text-align: center;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel > p {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.35;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel form {
  gap: 10px;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel label {
  gap: 4px;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel input {
  height: 36px;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__status:empty {
  display: none;
}
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__actions {
  margin-top: 2px;
}
@media (min-width: 761px) {
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel {
    border-color: rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(circle at 28px 28px, rgba(79, 140, 255, 0.14), transparent 34px),
      linear-gradient(180deg, #121923 0%, #0f151d 52%, #0b1017 100%);
    color: #f4f7fa;
    box-shadow: 0 18px 60px rgba(16, 27, 38, 0.28);
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel h2 {
    color: #fff;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel label {
    color: #dce4ec;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__panel input {
    border-color: #aebac5;
    background: #fff;
    color: var(--text);
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-link-button {
    color: #9fc8fb;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-link-button:hover,
:where(html.crm-auth-entry) .auth-login-screen .auth-link-button:focus-visible {
    color: #c8e0ff;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__status {
    color: #c2ccd6;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__actions .button--blue {
    border-color: #4a8fe7;
    background: #397ed7;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__actions .button:not(.button--blue) {
    border-color: rgba(220, 228, 236, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f7fa;
  }
:where(html.crm-auth-entry) .auth-login-screen .auth-modal__actions .button:not(.button--blue):hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.14);
  }
}
:where(html.crm-auth-entry) .auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 39, 53, 0.38);
}
:where(html.crm-auth-entry) .auth-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid #ccd7e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(21, 34, 48, 0.24);
}
:where(html.crm-auth-entry) .auth-modal__panel--wide {
  width: min(620px, 100%);
}
:where(html.crm-auth-entry) .auth-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
:where(html.crm-auth-entry) .auth-modal__panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}
:where(html.crm-auth-entry) .auth-modal__panel form {
  display: grid;
  gap: 14px;
}
:where(html.crm-auth-entry) .auth-modal__panel label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
:where(html.crm-auth-entry) .auth-modal__panel input {
  height: 38px;
  padding: 0 10px;
}
:where(html.crm-auth-entry) .auth-link-button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f74d0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
:where(html.crm-auth-entry) .auth-link-button:hover,
:where(html.crm-auth-entry) .auth-link-button:focus-visible {
  color: #1f5fb8;
  text-decoration: underline;
}
:where(html.crm-auth-entry) .auth-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: #44576a;
  font-size: 20px;
  line-height: 1;
}
:where(html.crm-auth-entry) .auth-modal__status {
  min-height: 20px;
  color: var(--muted);
  line-height: 1.4;
}
:where(html.crm-auth-entry) .auth-modal__status.is-success {
  color: #227447;
}
:where(html.crm-auth-entry) .auth-modal__status.is-error {
  color: var(--danger);
}
:where(html.crm-auth-entry) .auth-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
