:root {
  color-scheme: light;
  --canvas: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #162033;
  --muted: #667085;
  --line: #d8dee8;
  --line-soft: #eaecf0;
  --primary: #175cd3;
  --primary-dark: #124ba9;
  --success: #067647;
  --danger: #b42318;
  --focus: rgba(23, 92, 211, 0.16);
}

* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100%, 1440px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  font-weight: 850;
  letter-spacing: -0.03em;
}
.module-name {
  padding-left: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 0.9rem;
}
.environment {
  padding: 6px 10px;
  color: #344054;
  background: #f2f4f7;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
}
.settings-control {
  position: relative;
  flex: 0 0 auto;
  margin-left: 8px;
}
.settings-button {
  display: grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 9px;
  place-items: center;
  color: #344054;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.settings-button:hover {
  color: var(--primary);
  background: var(--surface-soft);
  border-color: #b9cdf2;
}
.settings-button:focus-visible {
  outline: 4px solid var(--focus);
  border-color: var(--primary);
}
.settings-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}
.settings-menu[hidden] {
  display: none;
}
.settings-menu-title {
  padding: 8px 10px 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.settings-menu-link {
  display: block;
  margin-top: 6px;
  padding: 10px 11px;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}
.settings-menu-link:hover,
.settings-menu-link:focus-visible {
  color: var(--primary);
  background: #eff6ff;
  outline: none;
}
.settings-menu .settings-logout {
  display: block;
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  padding: 9px 11px;
  color: var(--danger);
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
}
.settings-menu .settings-logout:hover,
.settings-menu .settings-logout:focus-visible {
  color: #912018;
  background: #fff1f0;
  border: 0;
  outline: none;
}
.pos-header .settings-button {
  color: #fff;
  background: #ffffff12;
  border-color: #ffffff50;
}
.pos-header .settings-button:hover,
.pos-header .settings-button:focus-visible {
  color: #fff;
  background: #ffffff20;
  border-color: #fff;
}
main {
  width: min(calc(100% - 32px), 1440px);
  margin: auto;
  padding: 42px 0 64px;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.master-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.master-heading-row .page-heading {
  margin: 0;
}
.master-heading-row .master-button-bar {
  flex: 0 0 auto;
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
}
.intro {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
form {
  display: grid;
  gap: 20px;
}
.form-card,
.lines-card,
.totals-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}
.form-section {
  display: block;
  margin: 0;
  padding: 26px 28px;
  border: 0;
}
.form-section + .form-section {
  border-top: 1px solid var(--line-soft);
}
.form-section h2,
.form-section summary {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 780;
}
.form-section summary {
  cursor: pointer;
  list-style-position: outside;
}
.form-section[open] summary {
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.full-width {
  grid-column: span 2;
}
label {
  font-size: 0.84rem;
  font-weight: 650;
}
.required {
  color: var(--danger);
}
input,
select {
  width: 100%;
  min-width: 88px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus);
}
input[readonly] {
  color: #344054;
  background: #f2f4f7;
}
.checkbox-field {
  align-self: end;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 3px;
}
.checkbox-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}
.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
}
th {
  padding: 11px 8px;
  color: #475467;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: uppercase;
}
td {
  padding: 8px;
  border-bottom: 1px solid var(--line-soft);
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:nth-child(1) {
  width: 42px;
}
td:nth-child(2),
td:nth-child(5) {
  width: 88px;
}
td:nth-child(3) {
  width: 110px;
}
td:nth-child(4) {
  min-width: 220px;
}
td:nth-child(n + 6):nth-child(-n + 10) {
  width: 125px;
}
.line-number {
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 750;
}
.icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  color: var(--danger);
  background: #fff;
  border: 1px solid #f1c7c3;
  border-radius: 7px;
  font-size: 1.25rem;
  line-height: 1;
}
.icon-button:hover {
  background: #fff5f4;
}
.totals-card {
  display: flex;
  justify-content: flex-end;
  padding: 24px 28px;
}
.totals-grid {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.totals-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.total-highlight {
  grid-column: 1 / -1;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.total-highlight span {
  color: var(--primary);
  font-size: 0.95rem;
}
.total-highlight input {
  font-size: 1.25rem;
  font-weight: 800;
}
.form-message {
  min-height: 24px;
  margin: 2px 0 -2px;
  color: var(--success);
  font-weight: 650;
}
.form-message-error {
  color: var(--danger);
}
.actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 -8px 30px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(12px);
}
button {
  min-width: 44px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 720;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.button-primary {
  color: #fff;
  background: var(--primary);
}
.button-primary:hover {
  background: var(--primary-dark);
}
.button-secondary {
  color: #344054;
  background: #fff;
  border-color: var(--line);
}
.button-secondary:hover {
  background: var(--surface-soft);
}
.button-update {
  color: var(--primary);
  border-color: #b9cdf2;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.35);
}
noscript {
  display: block;
  margin: 40px;
  text-align: center;
}

/* Shared operation result shown after form save/update/approve/delete requests. */
.toast {
  position: fixed;
  z-index: 10020;
  top: 18px;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  transform: translateX(-50%);
}
.toast[hidden] {
  display: none;
}
.toast-info {
  background: #2563eb;
  border-color: #1d4ed8;
}
.toast-success {
  background: #15803d;
  border-color: #166534;
}
.toast-error {
  background: #b91c1c;
  border-color: #991b1b;
}
.toast-validation {
  background: #d97706;
  border-color: #b45309;
}

@media (max-width: 1050px) {
  .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  main {
    width: min(calc(100% - 20px), 1440px);
    padding-top: 28px;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .full-width {
    grid-column: 1 / -1;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > button {
    display: none;
  }
  .master-heading-row {
    align-items: stretch;
    flex-direction: column;
  }
  .master-heading-row .master-button-bar {
    width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 520px) {
  .form-grid,
  .totals-grid {
    grid-template-columns: 1fr;
  }
  .full-width,
  .total-highlight {
    grid-column: auto;
  }
  .form-section,
  .section-heading,
  .totals-card {
    padding: 21px 18px;
  }
  .actions {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: 0.75fr 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }
  .actions button {
    width: 100%;
    min-width: 0;
    padding: 10px 7px;
    font-size: 0.82rem;
  }
  #sales-order-form {
    padding-bottom: 76px;
  }
  .environment {
    display: none;
  }
}
.module-home {
  min-height: calc(100vh - 72px);
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  gap: 20px;
}
.module-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 180px;
  padding: 26px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.module-card:hover {
  transform: translateY(-2px);
  border-color: #b9cdf2;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}
.module-card:focus-visible {
  outline: 4px solid var(--focus);
  border-color: var(--primary);
}
.module-card-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.module-card strong {
  margin-top: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.module-card > span:last-child {
  color: var(--muted);
  line-height: 1.5;
}
.formatted-date {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.formatted-date > input[type="text"] {
  padding-right: 12px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
}
.formatted-date-picker {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.date-picker-button {
  min-width: 44px;
  padding: 10px;
  color: var(--primary);
  background: #f5f8ff;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.76rem;
}
.date-picker-button:hover {
  background: #eaf1ff;
}

/* Shared GRN-sized table columns. Unclassified text columns divide remaining space. */
table.erp-standard-columns {
  width: 100% !important;
  table-layout: fixed !important;
}
table.erp-standard-columns .erp-col-hidden {
  display: none !important;
}
table.erp-standard-columns .erp-col-remove {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  padding-right: 6px !important;
  padding-left: 6px !important;
  text-align: center !important;
}
table.erp-standard-columns .erp-col-number {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  padding-right: 4px !important;
  padding-left: 4px !important;
  text-align: center !important;
}
table.erp-standard-columns .erp-col-select {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  text-align: center !important;
}
table.erp-standard-columns .erp-col-code {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
}
table.erp-standard-columns .erp-col-uom {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
}
table.erp-standard-columns .erp-col-qty {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  text-align: right !important;
}
table.erp-standard-columns .erp-col-tax {
  width: 135px !important;
  min-width: 135px !important;
  max-width: 135px !important;
}
table.erp-standard-columns .erp-col-money {
  width: 148px !important;
  min-width: 148px !important;
  max-width: 148px !important;
  text-align: right !important;
}
table.erp-standard-columns th:not([class*="erp-col-"]),
table.erp-standard-columns td:not([class*="erp-col-"]) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
table.erp-standard-columns td.erp-col-money input,
table.erp-standard-columns td.erp-col-qty input {
  text-align: right !important;
}

/* Shared editable-table standard. */
table
  td
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
    [readonly]
  ):not(:disabled),
table td textarea:not([readonly]):not(:disabled),
table td select:not(:disabled) {
  color: #172033 !important;
  background: #fff !important;
}
table
  th
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
    [readonly]
  ):not(:disabled),
table th textarea:not([readonly]):not(:disabled),
table th select:not(:disabled) {
  color: #172033 !important;
  background: #fff !important;
}
table input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
table input[type="number"]::-webkit-inner-spin-button,
table input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
table td input[readonly]:not([type="hidden"]),
table td input:disabled:not([type="checkbox"]):not([type="radio"]),
table td select:disabled,
table td textarea:disabled {
  padding-right: 0 !important;
  padding-left: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none;
  opacity: 1;
  cursor: default;
}
table .remove-cell,
table th.remove-cell {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  padding-right: 6px !important;
  padding-left: 6px !important;
  text-align: center !important;
}
table .remove-line-button {
  display: inline-flex;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fff;
}
table .remove-line-button img {
  width: 18px;
  height: 18px;
}
table .money-cell {
  position: relative;
}
table .money-cell .currency-code {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 10px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  pointer-events: none;
  transform: translateY(-50%);
}
table .money-cell input {
  padding-left: 42px !important;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
table .money-cell input[readonly],
table .money-cell input:disabled {
  padding-left: 42px !important;
}
.table-plain-control {
  display: none !important;
}
.table-cell-value {
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.money-cell .table-cell-value {
  padding-left: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.is-approved table .remove-line-button,
.is-locked table .remove-line-button {
  display: none;
}

table .table-toggle-input {
  position: relative !important;
  display: inline-block !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0;
  appearance: none;
  background: #cbd5e1 !important;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.15s;
}
table .table-toggle-input::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.3);
  content: "";
  transition: transform 0.15s;
}
table .table-toggle-input:checked {
  background: #2563eb !important;
}
table .table-toggle-input:checked::after {
  transform: translateX(16px);
}
table .table-toggle-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}
table .table-toggle-input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.api-processing {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(8, 20, 39, 0.42);
  backdrop-filter: blur(2px);
}
.api-processing[hidden] {
  display: none !important;
}
.api-processing-card {
  display: flex;
  min-width: 190px;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  border-radius: 17px;
  background: #fff;
  color: #172033;
  box-shadow: 0 20px 55px rgba(4, 17, 38, 0.3);
}
.api-processing-card strong {
  margin-top: 10px;
  font-size: 20px;
}
.api-processing-card small {
  margin-top: 3px;
  color: #64748b;
}
.api-spinner {
  width: 42px;
  height: 42px;
  border: 5px solid #d9e6f8;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: api-spin 0.75s linear infinite;
}
@keyframes api-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Shared unsaved-changes confirmation used by every ERP module. */
.erp-unsaved-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #14213d;
  box-shadow: 0 28px 80px rgba(8, 20, 39, 0.34);
}
.erp-unsaved-dialog::backdrop {
  background: rgba(8, 20, 39, 0.62);
  backdrop-filter: blur(5px);
}
.erp-unsaved-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #fff 70%, #fff8f1 100%);
}
.erp-unsaved-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef3f9;
  color: #5f6f86;
  font:
    400 28px/1 Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.erp-unsaved-close:hover,
.erp-unsaved-close:focus-visible {
  background: #e2eaf4;
  color: #14213d;
  outline: 3px solid rgba(37, 99, 235, 0.18);
  transform: scale(1.03);
}
.erp-unsaved-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
  background: #fff0e1;
  color: #dc5a18;
}
.erp-unsaved-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.erp-unsaved-copy {
  min-width: 0;
  padding: 2px 48px 0 0;
}
.erp-unsaved-copy small {
  display: block;
  margin-bottom: 7px;
  color: #d64d16;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
}
.erp-unsaved-copy h2 {
  margin: 0;
  color: #14213d;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.erp-unsaved-copy p {
  margin: 11px 0 0;
  color: #66758c;
  font-size: 15px;
  line-height: 1.55;
}
.erp-unsaved-actions {
  display: flex;
  grid-column: 1/-1;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #e4eaf2;
}
.erp-unsaved-actions button {
  min-width: 142px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font:
    800 14px/1 Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.erp-unsaved-actions button:hover {
  transform: translateY(-1px);
}
.erp-unsaved-stay {
  border: 1px solid #ccd8e7;
  background: #fff;
  color: #263a58;
}
.erp-unsaved-stay:hover,
.erp-unsaved-stay:focus-visible {
  border-color: #9fb2cb;
  background: #f6f9fc;
  outline: 3px solid rgba(37, 99, 235, 0.14);
}
.erp-unsaved-leave {
  border: 1px solid #d8531c;
  background: #e65b1f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 80, 24, 0.22);
}
.erp-unsaved-leave:hover,
.erp-unsaved-leave:focus-visible {
  border-color: #bd3f0c;
  background: #cf4711;
  outline: 3px solid rgba(230, 91, 31, 0.2);
}
@media (max-width: 560px) {
  .erp-unsaved-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }
  .erp-unsaved-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
  .erp-unsaved-icon svg {
    width: 29px;
    height: 29px;
  }
  .erp-unsaved-copy {
    padding-right: 34px;
  }
  .erp-unsaved-copy h2 {
    font-size: 22px;
  }
  .erp-unsaved-actions {
    flex-direction: column-reverse;
  }
  .erp-unsaved-actions button {
    width: 100%;
  }
}
