@supports not (inset: 0) {
  .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

.weigh-settings-panel {
  --ticket-ink: #17231d;
  --ticket-muted: #58655e;
  --ticket-green: #18763a;
  --ticket-surface: #f4f6f5;
  --ticket-line: #e3e9e5;
  --ticket-pad: 20px;
  box-sizing: border-box;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  border-radius: 16px;
  color: var(--ticket-ink);
}

.weigh-settings-panel::after {
  display: none;
}

.weigh-settings-panel .can-weigh-settings-header {
  padding: 12px var(--ticket-pad);
  gap: 10px;
  border-color: var(--ticket-line);
}

.can-weigh-settings-header h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.can-weigh-settings-header button,
.can-weigh-contact {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ticket-surface);
  color: var(--ticket-muted);
}

.can-weigh-settings-header button svg {
  width: 20px;
  height: 20px;
}

.can-weigh-settings-header button {
  border-radius: 50%;
}

.weigh-settings-body.can-weigh-form {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px var(--ticket-pad) 16px;
}

.can-weigh-form > * + * {
  border-top: 1px solid var(--ticket-line);
  padding-top: 12px;
}

.can-weigh-block,
.can-weigh-adjustment {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.can-weigh-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ticket-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.can-weigh-section-title svg {
  flex: none;
  color: var(--ticket-green);
}

[data-weigh-block="price"] .can-weigh-section-title svg {
  color: #855829;
}

[data-weigh-block="input"] .can-weigh-section-title svg {
  color: #3d6074;
}

.can-weigh-customer-row,
.can-weigh-commodity-editor,
.can-weigh-adjustments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.can-weigh-adjustments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.can-weigh-contact {
  background: #e7f2e9;
  color: var(--ticket-green);
}

.can-weigh-field {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--ticket-line);
  border-radius: 8px;
  background: var(--ticket-surface);
  color: var(--ticket-muted);
}

.can-weigh-field:focus-within {
  border-color: var(--ticket-green);
  background: #fff;
}

.weigh-settings-panel .can-weigh-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.can-weigh-field input,
input.can-weigh-field {
  align-self: stretch;
  color: var(--ticket-ink);
  font-size: 16px;
  font-weight: 600;
}

.can-weigh-field input::placeholder,
input.can-weigh-field::placeholder {
  color: #65726b;
  opacity: 1;
}

.can-weigh-field svg,
.can-weigh-field span {
  flex: none;
}

.can-weigh-price-field {
  min-height: 54px;
  background: #edf5ef;
}

.can-weigh-price-field input {
  font-size: 23px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.can-weigh-price-field input::placeholder {
  font-size: 16px;
  font-weight: 600;
}

.can-weigh-unit {
  min-width: 25px;
  border-radius: 4px;
  padding: 3px 5px;
  background: #e5edf2;
  color: #36566b;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.can-weigh-unit-money {
  background: #f3eadc;
  color: #76491d;
}

.can-weigh-heading-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.can-weigh-segments {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: var(--ticket-surface);
}

.can-weigh-segments button {
  min-height: 38px;
  min-width: 0;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--ticket-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.can-weigh-segments button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 3px #17231d20;
  color: var(--ticket-ink);
}

.can-weigh-heading-row .can-weigh-segments button {
  min-height: 34px;
}

.can-weigh-input-modes button {
  padding-inline: 2px;
  font-size: 13px;
}

.can-weigh-input-modes button[aria-pressed="true"] {
  background: var(--ticket-green);
  color: #fff;
}

.can-weigh-text-button {
  min-height: 32px;
  color: var(--ticket-green);
  font-weight: 700;
  padding-inline: 3px;
}

.can-weigh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.can-weigh-chip,
.can-weigh-add-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid #ccd5cf;
  border-radius: 999px;
  color: var(--ticket-ink);
  font-size: 14px;
  font-weight: 700;
}

.can-weigh-chip[data-selected="true"] {
  border-color: var(--ticket-green);
  background: var(--ticket-green);
  color: #fff;
}

.can-weigh-chip button,
.can-weigh-add-chip,
.can-weigh-custom {
  min-width: 0;
  min-height: 36px;
  padding: 6px 13px;
  overflow-wrap: anywhere;
}

.can-weigh-chip button:nth-child(2) {
  flex: none;
  padding-inline: 7px;
}

.can-weigh-add-chip {
  gap: 5px;
  border-style: dashed;
}

.can-weigh-fees {
  border-radius: 8px;
  background: var(--ticket-surface);
}

.can-weigh-fees > * + * {
  border-top: 1px solid var(--ticket-line);
}

.can-weigh-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  gap: 10px;
  padding: 8px 12px;
  color: var(--ticket-ink);
}

.can-weigh-fee-row strong,
.can-weigh-fee-row small {
  display: block;
}

.can-weigh-fee-row strong {
  font-size: 14px;
}

.can-weigh-fee-row small {
  color: var(--ticket-muted);
  font-size: 12px;
}

.can-weigh-fee-options {
  padding: 0 12px 12px;
}

.can-weigh-fee-options input,
.can-weigh-fee-options .bg-white,
.can-weigh-block[data-weigh-block="price"] .border-orange-300 {
  border-color: var(--ticket-line);
}

.can-weigh-switch {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  width: 44px;
  height: 28px;
  cursor: pointer;
}

.can-weigh-switch span {
  display: flex;
  align-items: center;
  width: 44px;
  height: 26px;
  padding: 3px;
  border-radius: 999px;
  background: #78877e;
}

.can-weigh-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.can-weigh-switch span::after {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #17231d3b;
  content: "";
}

.can-weigh-switch[aria-checked="true"] span,
.can-weigh-switch input:checked + span {
  justify-content: flex-end;
  background: var(--ticket-green);
}

.can-weigh-switch input:focus-visible + span,
.weigh-settings-panel button:focus-visible {
  outline: 2px solid var(--ticket-green);
  outline-offset: 2px;
}

.can-weigh-example {
  display: flex;
  min-height: 39px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #edf5ef;
  padding: 6px 12px;
  color: var(--ticket-muted);
  font-size: 13px;
}

.can-weigh-example strong:first-of-type {
  color: var(--ticket-ink);
}

.can-weigh-example strong:last-of-type,
.can-weigh-example span {
  color: var(--ticket-green);
}

.can-weigh-settings-footer {
  flex: none;
  border-top: 1px solid var(--ticket-line);
  background: #fff;
  padding: 12px var(--ticket-pad) max(12px, env(safe-area-inset-bottom));
}

.can-weigh-settings-footer button {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  background: var(--ticket-green);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}

.can-weigh-settings-footer button:hover {
  background: #135d2d;
}

.can-exchange-bar {
  --can-exchange-tabs: 93px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--can-exchange-tabs) 38px;
  align-items: center;
}

.can-exchange-trigger {
  grid-area: 1 / 1 / 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--can-exchange-tabs) 18px;
  align-items: center;
  gap: 6px;
  min-height: 68px;
  min-width: 0;
  padding: 9px 14px;
  color: #9a3412;
  text-align: left;
}

.can-exchange-trigger:hover {
  background: #9a34120b;
}

.can-exchange-trigger:focus-visible {
  outline: 2px solid #9a3412;
  outline-offset: -3px;
}

.can-exchange-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.can-exchange-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 750;
}

.can-exchange-title svg {
  flex: none;
}

.can-exchange-summary {
  color: #854d32;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.can-exchange-summary[data-has-returns="true"] {
  color: #9a3412;
}

.can-exchange-chevron {
  grid-column: 3;
  transform: rotate(90deg);
}

.can-exchange-trigger[aria-expanded="true"] .can-exchange-chevron {
  transform: rotate(-90deg);
}

.can-exchange-tabs {
  grid-area: 1 / 2;
  z-index: 1;
}

.can-exchange-tabs button {
  min-height: 34px;
  padding-inline: 4px;
}

@media (max-width: 480px) {
  .can-weigh-settings-backdrop {
    padding: 0;
  }

  .weigh-settings-panel {
    max-width: none;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }
}

@media (max-width: 375px) {
  .weigh-settings-panel {
    --ticket-pad: 14px;
  }
}

[data-compact-weigh-summary] .compact-weigh-cell {
  padding: 4px 2px !important;
}

[data-compact-weigh-summary] .compact-weigh-label {
  white-space: normal;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

[data-compact-weigh-summary] .compact-weigh-value {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

/* Reserve the row's exact size so skipping offscreen work cannot shift the grid. */
[data-long-weigh-grid] > [data-weigh-row] {
  block-size: 56px;
  content-visibility: auto;
  contain-intrinsic-block-size: 56px;
}

[data-long-weigh-grid] > [data-weigh-row]:focus-within {
  content-visibility: visible;
}

[data-weigh-input="true"],
[data-weigh-row="true"] {
  scroll-margin-top: 105px;
  scroll-margin-bottom: 16px;
}

[data-weigh-warning-slot] {
  block-size: 58px;
  padding: 6px 10px;
}

[data-weigh-payment-lines] {
  min-block-size: 76px;
}

[data-weigh-warning-slot][aria-hidden="true"],
[data-weigh-weight-row] .cell-bag-line-empty {
  visibility: hidden;
}

[data-weigh-weight-row] {
  block-size: 56px;
}

[data-weigh-weight-row] .cell-count-cage-line {
  flex: 0 0 27px;
  height: 27px;
  min-height: 27px;
  border-top-width: 1px;
}

[data-weigh-weight-row] .cell-bag-line {
  flex: 0 0 17px;
  height: 17px;
  min-height: 17px;
  border-top-width: 1px;
}

html[data-can-weigh-viewport],
html[data-can-weigh-viewport] body {
  overflow: hidden;
  overscroll-behavior: none;
}

html[data-can-weigh-viewport] body {
  position: fixed;
  inset: 0;
}

.app-shell[data-can-ticket-workspace] {
  --work-ink: #17241e;
  --work-muted: #51635b;
  --work-green: #1a7d53;
  --work-pale: #e4f2e9;
  --work-orange: #a34412;
  --work-orange-pale: #fff0e3;
  --work-surface: #eff3f1;
  --work-edge: #cfddd5;
  --work-label-size: 12px;
  --work-value-size: 17px;
  --work-heading-size: 16px;
  --work-width: 448px;
  --work-gutter: 14px;
  --work-nav: 62px;
  --work-safe: env(safe-area-inset-bottom, 0px);
  position: fixed;
  inset: 0 0 auto;
  height: var(--work-viewport-height, 100vh);
  min-height: 0;
  overflow: hidden;
  contain: paint;
  display: flex;
  flex-direction: column;
  background: #f1f4f2;
  color: var(--work-ink);
  padding: 0 !important;
}

[data-can-ticket-workspace] > .app-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 8px;
  flex: none;
  color: var(--work-ink);
  background: #f1f4f2;
  box-shadow: none;
  padding-inline: max(var(--work-gutter), calc((100% - var(--work-width)) / 2 + var(--work-gutter))) !important;
  padding-block: calc(12px + env(safe-area-inset-top, 0px)) 0 !important;
}

.can-ticket-brand,
.can-ticket-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--work-pale);
  color: var(--work-green);
}

.can-ticket-brand {
  width: 40px;
  height: 40px;
  background: var(--work-green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.can-ticket-title h1 {
  font-size: 21px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.can-ticket-title p {
  margin-top: 3px;
  color: var(--work-muted);
  font-size: 13px;
  line-height: 1.3;
}

.can-ticket-title p[data-editing="true"] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #78551f;
}

.can-ticket-title p[data-editing="true"]::before {
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #bc842a;
  content: "";
}

[data-can-ticket-workspace] .app-header button[aria-label="Cấu hình"] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px #213b2910;
}

[data-can-ticket-workspace] .app-header > [data-compact-weigh-summary] {
  grid-column: 1 / -1;
  min-width: 0;
}

[data-can-ticket-workspace] .can-ticket-stats {
  background: #fff;
}

.can-ticket-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  padding: 8px 8px 7px;
  border-radius: 16px 16px 0 0;
  border-block-end: 1px solid #e3ebe6;
  background: var(--work-surface);
}

[data-can-ticket-workspace] .compact-weigh-cell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  padding: 1px 2px !important;
  text-align: center;
}

.can-ticket-stats .compact-weigh-cell + .compact-weigh-cell {
  border-inline-start: 1px solid #dee7e2;
}

[data-can-ticket-workspace] .compact-weigh-label {
  color: var(--work-muted);
  font-size: var(--work-label-size) !important;
  font-weight: 500;
  line-height: 1.35 !important;
  text-transform: none;
  white-space: normal;
}

[data-can-ticket-workspace] .compact-weigh-value {
  color: var(--work-ink);
  font-family: inherit;
  font-size: var(--work-value-size) !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.compact-weigh-value small,
.can-ticket-payment-total small {
  color: var(--work-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

[data-can-ticket-workspace] > .app-main {
  display: flex;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  max-width: none;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  margin-top: 0;
  padding: 0 var(--work-gutter);
  padding-inline: max(var(--work-gutter), calc((100% - var(--work-width)) / 2 + var(--work-gutter))) !important;
}

.can-weigh-pad {
  flex: none;
  box-sizing: border-box;
  min-width: 0;
  padding: 3px max(12px, calc((100% - var(--work-width)) / 2 + 12px)) max(8px, var(--work-safe));
  border-top: 1px solid var(--work-edge);
  background: #edf3ef;
  color: var(--work-ink);
  user-select: none;
}

.weigh-settings-panel .can-weigh-pad {
  padding-inline: 12px;
}

.can-weigh-pad-bar {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 3px;
}

.can-weigh-pad-bar > span {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.can-weigh-pad button {
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  touch-action: manipulation;
}

.can-weigh-pad-bar button {
  flex: 0 0 44px;
  height: 40px;
  background: transparent;
  color: var(--work-green);
}

.can-weigh-pad-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 45px;
  gap: 5px;
}

.can-weigh-pad-keys button {
  background: #fff;
  border: 1px solid var(--work-edge);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.can-weigh-pad-keys button[aria-label="Xóa số cuối"],
.can-weigh-pad-keys button[aria-label="Dấu thập phân"] {
  background: #e0ebe3;
}

.can-weigh-pad-keys button:disabled {
  color: #809288;
  background: transparent;
}

.can-weigh-pad button:active:not(:disabled) { background: #cee4d6; }
.can-weigh-pad button:focus-visible { outline: 2px solid var(--work-green); outline-offset: -2px; }
input[data-can-pad-field] { caret-color: transparent; cursor: pointer; }

@media (max-height: 480px) {
  .can-weigh-pad-keys { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

[data-can-ticket-workspace] .can-weigh-settings-backdrop {
  position: absolute;
  min-height: 0;
}

[data-can-ticket-workspace] .weigh-settings-panel {
  max-height: 100%;
  min-height: 0;
}

.can-ticket-sections {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.can-ticket-payment,
.can-ticket-sections .weigh-section-card,
.can-ticket-sections .exchange-card {
  min-width: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 13px #213b290c;
}

.can-ticket-payment {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 8px;
  padding: 8px 13px 12px;
  border-radius: 0 0 16px 16px;
}

.can-ticket-payment-total {
  display: grid;
  grid-template-columns: minmax(85px,1fr) minmax(0,auto);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--work-pale);
  color: #195b41;
}

.can-ticket-payment-total h2 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.can-ticket-payment-total p {
  max-width: 12ch;
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: right;
}

.can-ticket-payment-total small {
  color: inherit;
  font-size: 16px;
}

.can-ticket-payment [data-weigh-payment-lines] {
  width: 100%;
  min-block-size: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.can-ticket-payment [data-weigh-payment-lines] :is(th, td) {
  padding: 4px 4px;
  text-align: right;
  vertical-align: baseline;
  overflow-wrap: anywhere;
}

.can-ticket-payment [data-weigh-payment-lines] th:first-child {
  padding-inline-start: 0;
  text-align: left;
}

.can-ticket-payment [data-weigh-payment-lines] :is(th, td):last-child {
  padding-inline-end: 0;
}

.can-ticket-payment [data-payment-column-labels] th {
  padding: 0;
}

.can-ticket-payment [data-payment-column-labels] span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.can-ticket-payment tbody th {
  color: var(--work-ink);
  font-size: 13px;
  font-weight: 650;
}

.can-ticket-payment-breakdown > div {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 8px;
  overflow-wrap: anywhere;
}

.can-ticket-payment-line > td,
.can-ticket-payment-counts {
  color: var(--work-muted);
  font-size: var(--work-label-size);
  font-weight: 500;
  line-height: 1.4;
}

.can-ticket-payment-counts {
  display: block;
  font-size: 11px;
}

.can-ticket-payment-line strong,
.can-ticket-payment-breakdown strong {
  color: var(--work-ink);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.can-ticket-payment-empty {
  padding: 4px 0;
  color: var(--work-muted);
  font-size: var(--work-label-size);
  font-weight: 500;
}

.can-ticket-payment-breakdown {
  display: grid;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #e3ebe6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.can-ticket-payment-breakdown small {
  color: var(--work-muted);
  font-size: 12px;
}

.can-ticket-payment-breakdown strong[data-negative="true"] {
  color: #96483f;
}

.can-ticket-sections .weigh-section-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.can-ticket-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.can-ticket-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--work-heading-size);
  color: var(--work-orange);
  font-weight: 650;
  line-height: 1.25;
}

.can-ticket-heading .can-ticket-icon {
  color: var(--work-orange);
  background: var(--work-orange-pale);
}

.can-ticket-tabs,
.can-ticket-sections .can-exchange-tabs {
  display: flex;
  min-width: 0;
  flex: none;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--work-surface);
}

.can-ticket-tabs.weigh-type-tabs {
  gap: 2px !important;
}

.can-ticket-tabs button,
.can-ticket-sections .can-exchange-tabs button {
  min-height: 33px;
  padding: 4px 9px !important;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--work-muted);
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.3 !important;
  text-transform: none;
  white-space: nowrap;
}

.can-ticket-tabs .weigh-type-tab {
  min-width: 40px;
}

.can-ticket-tabs button[aria-pressed="true"],
.can-ticket-sections .can-exchange-tabs button[aria-pressed="true"] {
  background: #fff;
  color: var(--work-green);
  box-shadow: 0 1px 4px #213b2920;
  font-weight: 600;
}

.can-ticket-tare .tare-control-grid > div,
.can-ticket-tare > .grid > div,
.weigh-type-card .kg-stats-grid > div,
.weigh-type-card .kg-config-grid > div,
.weigh-type-card > div > .grid-cols-2 > div {
  display: flex;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--work-surface);
  box-shadow: none;
}

.can-ticket-tare .tare-control-grid > div:nth-child(2),
.weigh-type-card .kg-config-grid > div:nth-child(-n+2) {
  animation: none;
  border-color: var(--work-edge);
}

.can-ticket-tare .control-label,
.weigh-type-card .kg-panel-label,
.can-ticket-tare > .grid > div > :first-child,
.weigh-type-card > div > .grid-cols-2 > div > :first-child {
  color: var(--work-muted);
  font-size: var(--work-label-size) !important;
  font-weight: 500;
  line-height: 1.25 !important;
  text-transform: none;
}

.can-ticket-tare .control-value,
.weigh-type-card .kg-stats-grid > div > :last-child,
.weigh-type-card .kg-config-grid input,
.can-ticket-tare .tare-control-grid input,
.can-ticket-tare > .grid > div > :nth-child(2),
.weigh-type-card > div > .grid-cols-2 > div > :nth-child(2) {
  color: var(--work-ink);
  font-size: var(--work-value-size) !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2 !important;
}

.can-ticket-tare .tare-control-grid > div:nth-child(2) > input,
.weigh-type-card .kg-stats-grid > div:nth-child(3) > :last-child,
.weigh-type-card .kg-config-grid > div:nth-child(-n+2) > input {
  color: #205f46;
}

.can-ticket-tare input,
.weigh-type-card input {
  background: transparent !important;
}

.can-ticket-sections [data-weigh-warning-slot] {
  order: 1;
  height: auto;
  margin: 8px 0 0;
}

.can-ticket-sections [data-weigh-warning-slot][aria-hidden="true"] {
  display: none;
}

.can-ticket-sections [data-weigh-row] {
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.05fr);
  gap: 6px;
  min-height: 54px;
}

.can-ticket-sections [data-long-weigh-grid] > [data-weigh-row] {
  min-height: 56px;
}

.can-ticket-sections [data-weigh-row] > div {
  border-color: var(--work-edge);
  border-radius: 12px;
  background: var(--work-surface);
}

.can-ticket-sections [data-weigh-row] > div:focus-within,
.can-ticket-sections .kg-config-grid > div:focus-within,
.can-ticket-tare .tare-control-grid > div:focus-within {
  border-color: var(--work-green);
  box-shadow: 0 0 0 2px #1a7d531e;
}

.can-ticket-sections .kg-config-grid > div[data-weigh-count-missing="true"],
.can-ticket-sections .tare-control-grid > div[data-weigh-count-missing="true"] {
  outline: 1px solid #b87526;
  outline-offset: -1px;
  background-color: #fff6e9;
  animation: can-weigh-count-reminder 2s ease-in-out infinite;
}

@keyframes can-weigh-count-reminder {
  50% { background-color: #ffe5bd; }
}

@media (prefers-reduced-motion: reduce) {
  .can-ticket-sections .kg-config-grid > div[data-weigh-count-missing="true"],
  .can-ticket-sections .tare-control-grid > div[data-weigh-count-missing="true"] {
    animation: none;
  }
}

.can-ticket-sections [data-weigh-row] > div > input {
  min-height: 26px;
  padding: 2px 1px !important;
  font-size: 16px !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2 !important;
}

.can-ticket-sections [data-weigh-weight-row] > div > input {
  font-size: 18px !important;
}

.can-ticket-sections [data-weigh-weight-row] > div:has(> :is(.cell-count-cage-line, .cell-bag-line):not(.cell-bag-line-empty)) > input {
  padding-block: 8px 0 !important;
}

.can-ticket-sections [data-weigh-weight-row] input[data-weight-width="long"] {
  font-size: 15px !important;
}

.can-ticket-sections [data-weigh-row] > div:has(.cell-bag-line-empty) > input,
.can-ticket-sections [data-weigh-row] > div > .count-cell-input {
  height: 100%;
}

.can-ticket-sections [data-weigh-row] > div > input::placeholder {
  color: #778b81;
  font-weight: 500;
}

.can-ticket-sections [data-weigh-weight-row] .cell-count-cage-line {
  flex-basis: 19px;
  height: 19px;
  min-height: 19px;
}

.can-ticket-sections .cell-override-field {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  color: #697971;
  font-size: 9px !important;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
}

.can-ticket-sections .cell-override-field > input {
  max-width: calc(100% - 1em);
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit !important;
  line-height: inherit !important;
}

.can-ticket-sections .cell-override-field > span {
  color: inherit;
  font: inherit;
}

.can-ticket-sections .cell-override-field input::placeholder {
  color: inherit;
  opacity: 1;
}

.can-ticket-sections .cell-override-field:has(> input.text-red-600) {
  color: #b42318;
  font-size: 10px !important;
  font-weight: 650;
}

.can-ticket-sections [data-weigh-row] > div:last-child {
  min-width: 0;
  padding: 1px;
  border-color: var(--work-green);
  background: var(--work-green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.can-ticket-sections .can-exchange-bar {
  --can-exchange-tabs: 75px;
}

.can-ticket-sections .can-exchange-trigger {
  min-height: 63px;
  color: var(--work-ink);
}

.can-ticket-sections .can-exchange-trigger:hover {
  background: #1a7d5309;
}

.can-ticket-sections .can-exchange-trigger:focus-visible {
  outline-color: var(--work-green);
}

.can-ticket-sections .can-exchange-copy {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 1px 8px;
  align-items: center;
}

.can-ticket-sections .can-exchange-copy .can-ticket-icon {
  grid-row: span 2;
}

.can-ticket-sections .can-exchange-title {
  font-size: var(--work-heading-size);
  font-weight: 700;
}

.can-ticket-sections .can-exchange-summary {
  color: var(--work-muted);
  font-size: var(--work-label-size);
  font-weight: 500;
  line-height: 1.3;
}

.can-ticket-sections #can-exchange-fields .font-black {
  font-size: var(--work-label-size);
  font-weight: 600;
  text-transform: none;
}

.can-ticket-sections #can-exchange-fields input {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.can-ticket-sections #can-exchange-fields input::placeholder {
  color: var(--work-muted);
  font-size: var(--work-label-size);
  font-weight: 500;
}

.can-ticket-sections .can-exchange-tabs {
  justify-content: center;
}

.can-ticket-sections .can-exchange-tabs button {
  flex: 1;
  padding-inline: 5px !important;
}

.can-ticket-dock {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 16px;
  background: #fff;
}

.can-ticket-dock .save-weigh-button {
  width: min(100%, 172px);
  min-height: 44px;
  padding-block: 4px !important;
  background: var(--work-green);
  box-shadow: none;
  font-size: 14px !important;
  font-weight: 700;
}

.can-ticket-dock .save-weigh-button svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.can-ticket-dock .save-weigh-button:disabled {
  background: #6c7b73;
}

.can-ticket-dock .can-ticket-edit-actions {
  flex: 1;
  min-width: 0;
}

.can-ticket-edit-actions button {
  min-height: 44px;
  padding: 4px 10px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 13px;
}

.can-ticket-edit-actions button:first-child {
  width: auto;
  min-width: 46px;
  background: var(--work-surface);
  color: var(--work-ink);
}

.can-ticket-edit-actions button:nth-child(2) {
  min-width: 0;
  flex: 1;
  background: var(--work-green);
}

.can-ticket-edit-actions button:nth-child(2):disabled {
  background: #6c7b73;
}

.can-ticket-edit-actions button svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.can-ticket-assistant {
  position: relative;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--work-pale);
  color: var(--work-green);
}

.can-ticket-assistant span {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c83842;
}

[data-can-ticket-workspace] > nav {
  position: relative;
  flex: none;
  border: 0;
  box-shadow: none;
  padding-bottom: var(--work-safe);
}

[data-can-ticket-workspace] > nav > div {
  height: var(--work-nav);
  padding: 3px 0 5px;
}

[data-can-ticket-workspace] > nav button {
  color: var(--work-muted);
}

[data-can-ticket-workspace] > nav button[aria-current="page"] {
  color: var(--work-green);
}

[data-can-ticket-workspace] > nav button:first-child > svg {
  width: 50px;
  height: 26px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--work-pale);
}

[data-can-ticket-workspace] > nav button > span {
  font-size: var(--work-label-size);
  font-weight: 500;
  text-transform: none;
}

[data-can-ticket-workspace] > nav button[aria-current="page"] > span {
  font-weight: 600;
}

@media (max-width: 360px) {
  .app-shell[data-can-ticket-workspace] {
    --work-gutter: 10px;
  }

  .can-ticket-sections .weigh-section-card {
    padding: 10px;
  }

  .can-ticket-payment {
    padding-inline: 10px;
  }

  .can-ticket-payment-total p {
    font-size: 24px;
  }

  .can-ticket-sections [data-weigh-weight-row] input[data-weight-width="wide"] {
    font-size: 15px !important;
  }

  .can-ticket-sections [data-weigh-weight-row] input[data-weight-width="long"] {
    font-size: 13px !important;
  }

  .can-ticket-heading {
    gap: 5px;
  }

  .can-ticket-heading .can-ticket-icon {
    width: 30px;
    height: 30px;
  }

  .can-ticket-tabs button {
    padding-inline: 5px !important;
    font-size: 12px !important;
  }

  .can-ticket-tabs .weigh-type-tab {
    min-width: 34px;
  }
}

[data-can-auth-captcha] {
  position: relative;
  pointer-events: auto;
  display: grid;
  justify-items: center;
  min-inline-size: 0;
  scroll-margin-block: 16px;
}

[data-can-auth-captcha]:empty {
  display: none;
}

[data-can-auth-captcha] iframe {
  pointer-events: auto;
}

.can-account-input { position: relative; }
.can-account-input [data-can-password-input] { padding-inline-end: 44px; }
.can-account-password-toggle {
  position: absolute;
  inset-inline-end: 0;
  inset-block: 0;
  inline-size: 44px;
  display: grid;
  place-items: center;
  color: #334155;
}

.can-password-match { color: #475569; font-size: 14px; font-weight: 600; }
.can-password-match[data-match="yes"] { color: #06734b; }
.can-password-match[data-match="no"] { color: #b91c1c; }

[data-can-password-actions] { position: sticky; inset-block-end: 0; background: white; padding-block-start: 4px; }
[data-can-password-actions] button { min-block-size: 44px; }
.can-account-confirm { background: #2563eb; color: white; min-block-size: 44px; }
.can-account-confirm:enabled:hover { background: #1d4ed8; }
.can-account-confirm:disabled { background: #e2e8f0; color: #475569; }
.can-auth-loading {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  color: #15231e;
  font: 16px system-ui, sans-serif;
  text-align: center;
}

.can-account-entry {
  min-height: 100dvh;
}

.can-entry-dial-code {
  width: 3.25rem;
}

.can-entry-phone {
  box-sizing: border-box;
  padding-inline: 0.75rem 2.25rem;
  font-size: 1.125rem;
}

.can-entry-phone:placeholder-shown {
  padding-inline-end: 0.75rem;
}

@media (max-width: 380px) {
  .can-entry-phone,
  .can-entry-phone:placeholder-shown {
    padding-inline: 0.5rem;
    font-size: 1rem;
  }

  .can-entry-clear-phone {
    display: none;
  }
}
.can-hub-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  background: #eef2f4;
  color: #182523;
}

.can-hub {
  display: flex;
  flex-direction: column;
  width: min(100%, 31rem);
  min-width: 0;
  min-height: 0;
  background: #f6f8f8;
  border-inline: 1px solid #e1e8e8;
}

.can-hub-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: max(10px, env(safe-area-inset-top)) 14px 10px;
  border-bottom: 1px solid #e1e8e8;
  background: #fff;
}

.can-hub-header h2 {
  flex: 1;
  min-width: 0;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 800;
  overflow-wrap: anywhere;
  margin: 0;
}

.can-hub-tool {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #46615b;
}

.can-hub-tool[data-back] svg { transform: rotate(180deg); }
.can-hub-tool:hover { background: #edf4f1; }

.can-hub-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px 14px max(24px, env(safe-area-inset-bottom));
}

.can-hub-body > :not(.can-hub-states) + :not(.can-hub-states) { margin-top: 16px; }

.can-hub-identity {
  width: 100%;
  min-height: 91px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce9e5;
  border-radius: 8px;
  background: #fff;
  text-align: start;
}

.can-hub-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  background: #dceee7;
  color: #17644c;
  font-weight: 800;
  font-size: 24px;
}

.can-hub-avatar img { width: 100%; height: 100%; object-fit: cover; }
.can-hub-identity-copy { min-width: 0; }
.can-hub-identity-copy strong { display: block; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.can-hub-identity-copy small,
.can-hub-row-copy small { display: block; margin-top: 3px; color: #4d5f5d; font-size: 12px; overflow-wrap: anywhere; }
.can-hub-identity > svg, .can-hub-row > svg { color: #647a75; }

.can-hub-verification {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  margin-top: 5px;
  color: #67501b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.can-hub-verification[data-verified="true"] { color: #156449; }
.can-hub-verification svg { flex-shrink: 0; }
.can-hub-group h3 { font-size: 12px; margin: 0 2px 6px; font-weight: 750; color: #4d5f5d; }
.can-hub-list { background: #fff; border-block: 1px solid #e1e8e8; }
.can-hub-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 47px;
  padding: 6px 10px;
  text-align: start;
  border-bottom: 1px solid #e8eeed;
}

.can-hub-row:last-child { border-bottom: 0; }
.can-hub-row-copy strong { font-size: 14px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.can-hub-row:hover, .can-hub-identity:hover { background: #f1f8f5; }
.can-hub-icon { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 8px; background: #e9f1fb; color: #245893; }
.can-hub-row[data-tone="green"] .can-hub-icon { background: #e5f3eb; color: #15724e; }
.can-hub-row[data-tone="orange"] .can-hub-icon { background: #f8ede0; color: #975119; }
.can-hub-row[data-tone="teal"] .can-hub-icon { background: #e2f2f1; color: #16646b; }
.can-hub-row[data-tone="violet"] .can-hub-icon { background: #f0edf7; color: #63448b; }
.can-hub-row[data-tone="red"] { color: #a42432; }
.can-hub-row[data-tone="red"] .can-hub-icon { background: #fbecee; color: #a42432; }
.can-hub-signout { margin-top: 22px !important; }

.can-hub-form { display: grid; gap: 14px; }
.can-hub-field { display: grid; gap: 5px; min-width: 0; }
.can-hub-field label, .can-hub-toggle { font-size: 14px; font-weight: 650; }
.can-hub-field input, .can-hub-field select, .can-hub-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cbd9d6;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.can-hub-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.can-hub-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #147153;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.can-hub-action[data-kind="secondary"] { color: #23584a; border-color: #cbd9d6; background: #fff; }
.can-hub-action[data-kind="danger"] { background: #a42432; }
.can-hub-action:disabled { color: #51635f; background: #e3ebe8; }
.can-hub-profile-photo { display: flex; align-items: center; gap: 12px; }
.can-hub-profile-photo label { width: auto; position: relative; cursor: pointer; }
.can-hub-profile-photo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.can-hub button:focus-visible,
.can-hub input:focus-visible,
.can-hub select:focus-visible,
.can-hub textarea:focus-visible,
.can-hub summary:focus-visible,
.can-hub-profile-photo label:focus-within { outline: 2px solid #217355; outline-offset: 2px; }
.can-hub-toggle { display: flex; gap: 10px; min-height: 44px; align-items: center; justify-content: space-between; }
.can-hub-toggle input { flex: none; accent-color: #147153; width: 20px; height: 20px; }
.can-hub-note, .can-hub-inset-text, .can-hub-info p { color: #4b5d58; font-size: 14px; line-height: 1.55; }
.can-hub-erasure h3, .can-hub-erasure-alternative h3 { font-size: 16px; font-weight: 700; margin: 0; }
.can-hub-erasure h3 { display: flex; align-items: center; gap: 8px; color: #9c2534; }
.can-hub-erasure h3 svg { flex: 0 0 20px; }
.can-hub-erasure ul { padding-inline-start: 20px; list-style: disc; margin: 10px 0 0; color: #4b5d58; font-size: 14px; line-height: 1.55; }
.can-hub-erasure li + li { margin-top: 6px; }
.can-hub-erasure-alternative { display: grid; gap: 8px; border-top: 1px solid #dce6e2; padding-top: 16px; }
.can-hub-erasure-receipt { overflow-wrap: anywhere; }

.can-email-entry { min-height: 100dvh; max-width: 448px; margin-inline: auto; background: #f7faf9; color: #162721; }
.can-email-entry header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #dce6e2; font-weight: 700; }
.can-email-entry header img { border-radius: 7px; }
.can-email-form { display: grid; gap: 12px; padding: 24px 20px; }
.can-email-form h1 { margin: 0 0 6px; font-size: 22px; font-weight: 750; line-height: 1.3; }
.can-email-form p { overflow-wrap: anywhere; line-height: 1.5; }
.can-email-field { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.can-email-field input { min-width: 0; min-height: 46px; border: 1px solid #b8cbc3; border-radius: 8px; padding: 10px 12px; background: #fff; font-size: 16px; }
.can-email-consent { display: flex; align-items: start; gap: 9px; line-height: 1.5; font-size: 14px; }
.can-email-consent input { accent-color: #087454; margin-top: 3px; }
.can-email-primary, .can-email-alternative { min-height: 44px; width: 100%; border-radius: 8px; padding: 9px 12px; font-weight: 700; text-align: center; }
.can-email-primary { background: #087454; color: #fff; }
.can-email-alternative { background: #ebf4f0; color: #135b44; }
.can-email-primary:disabled, .can-email-alternative:disabled { opacity: .65; }
.can-email-error { color: #a42432; }

.can-login-screen {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 448px;
  margin-inline: auto;
  background: #fff;
  color: #172922;
}
.can-login-welcome {
  padding: 22px 24px 30px;
  background: #145539;
  color: #fff;
  text-align: center;
}
.can-login-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; }
.can-login-brand img { flex: none; border-radius: 7px; }
.can-login-welcome h1 { margin: 8px 0 0; font-size: 28px; font-weight: 750; line-height: 1.2; }
.can-login-body {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: -8px;
  padding: 20px 24px 28px;
  border-radius: 8px 8px 0 0;
  background: #fff;
}
.can-login-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 8px; background: #eff2f1; }
.can-login-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #46554f;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.can-login-tabs button svg { flex: none; }
.can-login-tabs button[aria-pressed="true"] { background: #fff; color: #125d3d; box-shadow: 0 1px 3px #17292220; }
.can-login-form, .can-login-social { display: grid; gap: 10px; }
.can-login-form label { font-size: 14px; font-weight: 650; }
.can-login-phone-field { display: flex; align-items: stretch; min-height: 46px; border: 1px solid #b8cbc3; border-radius: 8px; }
.can-login-phone-field:focus-within, .can-login-form input:focus-visible { outline: 2px solid #167451; outline-offset: 1px; }
.can-login-dial-code { display: grid; place-items: center; flex: 0 0 48px; border-inline-end: 1px solid #e2e8e5; font-size: 14px; font-weight: 700; }
.can-login-phone-field input { flex: 1; min-width: 0; padding: 10px 12px; outline: none !important; font-size: 16px; }
.can-login-phone-field button { display: grid; place-items: center; flex: 0 0 44px; color: #46554f; }
.can-login-social .can-email-consent { color: #4d5e57; font-size: 13px; line-height: 1.45; }
.can-login-form .can-email-primary { min-height: 48px; }
.can-signup-prompt {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 5px 8px 5px 12px;
  background: #eef5f2;
  border: 1px solid #d8e7df;
  border-radius: 8px;
  color: #274036;
  font-size: 14px;
  line-height: 1.4;
}
.can-signup-icon { color: #166444; }
.can-signup-prompt button { min-height: 44px; padding-inline: 9px; color: #135a3d; font-weight: 750; }
.can-signup-prompt button:hover:enabled { background: #dfeee6; border-radius: 6px; }
.can-login-divider { display: flex; align-items: center; gap: 12px; color: #63736c; font-size: 13px; }
.can-login-divider::before, .can-login-divider::after { content: ""; flex: 1; height: 1px; background: #dce6e2; }
.can-login-google { min-height: 46px; border: 1px solid #cbd9d3; border-radius: 8px; padding: 8px 14px; color: #182622; font-weight: 700; }
.can-login-google:enabled:hover, .can-login-tabs button:enabled:hover { background: #f4f8f6; }
.can-login-screen button:focus-visible { outline: 2px solid #167451; outline-offset: 2px; }
.can-login-screen button:disabled { cursor: not-allowed; }
.can-auth-step {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 448px;
  margin-inline: auto;
  background: #16643c;
  color: #172320;
}
.can-step-header { min-height: 292px; padding: 53px 26px 48px; color: #fff; }
.can-auth-step[data-can-auth-step^="register-"] .can-step-header { min-height: 234px; padding-block-start: 38px; }
.can-step-header h1 { margin: 16px 0 9px; font-size: 32px; line-height: 1.16; font-weight: 750; overflow-wrap: anywhere; }
.can-step-header p { max-width: 34ch; color: #edf7ee; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.can-step-back { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ffffff24; }
.can-step-back svg { transform: rotate(180deg); }
.can-step-sheet {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin-top: -12px;
  border-radius: 26px 26px 0 0;
  padding: 26px 23px 22px;
  background: #fff;
}
.can-step-stack { display: grid; gap: 15px; min-width: 0; }
.can-step-field { display: grid; gap: 7px; min-width: 0; }
.can-step-field label { color: #303d3a; font-size: 15px; font-weight: 650; }
.can-step-input {
  display: flex;
  min-height: 54px;
  min-width: 0;
  align-items: stretch;
  border: 1px solid #c9d2ce;
  border-radius: 14px;
  background: #fff;
}
.can-step-input input { flex: 1; min-width: 0; border: 0; padding: 10px 13px; background: transparent; font-size: 16px; outline: none; }
.can-step-input input::placeholder { color: #68746e; opacity: 1; }
.can-step-input button { display: grid; flex: 0 0 48px; place-items: center; color: #56625d; }
.can-step-input:focus-within { border-color: #147440; box-shadow: 0 0 0 3px #d1e8d8; }
.can-step-input[data-invalid="true"] { border-color: #a42432; }
.can-step-prefix { align-self: center; border-inline-end: 1px solid #dce6e2; padding-inline: 13px; font-weight: 720; }
.can-step-field-icon { flex: none; align-self: center; margin-inline-start: 13px; color: #546560; }
.can-step-hint { margin-top: -7px; color: #52605b; font-size: 14px; line-height: 1.45; }
.can-step-identity { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 12px; background: #f0f1f2; border-radius: 12px; }
.can-step-identity strong { overflow-wrap: anywhere; font-size: 16px; }
.can-step-link { min-height: 44px; color: #12653b; font-weight: 700; }
.can-step-password-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.can-step-password-actions button:first-child { text-align: left; }
.can-step-password-actions button:last-child { text-align: right; }
.can-step-signup-hint { color: #52605b; font-size: 14px; line-height: 1.45; }
.can-step-resend { justify-self: start; }
.can-step-primary { min-height: 54px; border-radius: 14px; padding: 10px 14px; background: #12633c; color: #fff; font-size: 17px; font-weight: 750; box-shadow: 0 8px 18px #146d432b; }
.can-step-primary:disabled { background: #e5eeea; box-shadow: none; color: #4a5c53; }
.can-step-footer { text-align: center; color: #53615b; font-size: 14px; line-height: 1.5; }
.can-step-terms { color: #4c5b55; }
.can-step-valid { color: #13663c; }
.can-step-otp { position: relative; }
.can-step-otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.can-step-otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; pointer-events: none; }
.can-step-otp-cells span { display: grid; min-height: 55px; place-items: center; border: 1px solid #c9d2ce; border-radius: 13px; font-size: 23px; font-weight: 750; }
.can-step-otp:focus-within [data-current="true"] { border-color: #147440; box-shadow: 0 0 0 3px #d1e8d8; }
.can-step-strength { display: flex; align-items: center; gap: 12px; color: #45534e; font-size: 13px; }
.can-step-strength-meter { display: grid; flex: 1; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.can-step-strength-meter i { height: 4px; border-radius: 3px; background: #e1e6e3; }
.can-step-strength-meter i[data-filled="true"] { background: #197947; }
.can-step-strength-meter[data-score="1"] i[data-filled="true"] { background: #a35a20; }
.can-auth-step button:focus-visible { outline: 2px solid #168851; outline-offset: 2px; }
.can-step-back:focus-visible { outline-color: #fff !important; }
@media (max-height: 720px) {
  .can-step-header { min-height: 232px; padding-block: 29px 38px; }
  .can-auth-step[data-can-auth-step^="register-"] .can-step-header { min-height: 196px; padding-block-start: 25px; }
}
@media (max-width: 360px) {
  .can-login-welcome, .can-login-body { padding-inline: 16px; }
  .can-login-welcome h1 { font-size: 26px; }
  .can-step-header, .can-step-sheet { padding-inline: 17px; }
  .can-step-header h1 { font-size: 29px; }
  .can-step-otp-cells { gap: 5px; }
}
.can-hub-inset-text { padding: 12px; }
.can-hub-info h3 { margin-bottom: 5px; font-weight: 750; }
.can-hub-counts { background: #fff; padding: 0 12px; border-block: 1px solid #e1e8e8; }
.can-hub-counts div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; border-bottom: 1px solid #e8eeed; font-size: 14px; }
.can-hub-counts div:last-child { border-bottom: none; }
.can-hub-counts dd { font-weight: 750; font-variant-numeric: tabular-nums; }
.can-hub-faq { padding: 9px 0; border-bottom: 1px solid #dfe7e5; }
.can-hub-faq summary { font-weight: 700; cursor: pointer; font-size: 14px; }
.can-hub-faq p { font-size: 14px; line-height: 1.55; margin-top: 7px; color: #4b5d58; }
.can-hub-about { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 0; }
.can-hub-about h3 { font-size: 20px; font-weight: 800; }
.can-hub-about p { color: #4b5d58; font-size: 14px; }
.can-hub-states:empty { display: none; }
.can-hub-states:not(:empty) { margin-bottom: 12px; }
.can-hub-states p { padding: 8px 0; font-size: 14px; font-weight: 700; color: #176449; }
.can-hub-states [data-error] { color: #a42432; }
