/* ORION_APP_R19_2_IDENTITY_LAYOUT_COORDINATES_20260805 */
:root {
  --orion-control-height: 52px;
}
/* Preserve the approved R16.2 location-method grid in the consolidated release. */
#od-app-step-2-method-grid.has-coordinate-method {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

#od-app-step-2-method-grid.has-coordinate-method > .od-method-button:not([hidden]) {
  grid-column: span 2;
}

#od-app-step-2-method-grid.has-coordinate-method > .od-method-row-two:not([hidden]) {
  grid-column: span 3;
}

/* Network choices and the apply action occupy equal thirds. */
.od-coordinate-action-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.od-coordinate-system {
  display: contents;
}

.od-coordinate-system .od-segment-button,
#od-app-location-coordinate-apply-button {
  width: 100%;
  min-width: 0;
  min-height: var(--orion-control-height);
  height: var(--orion-control-height);
  padding: 5px 9px;
  border-radius: 10px;
  line-height: 1.15;
}

#od-app-location-coordinate-apply-icon {
  width: 22px;
  height: 22px;
}

#od-app-location-coordinate-help {
  white-space: normal;
}

/* Approved wide, compact step-6 customer dialog. */
#od-app-customer-dialog {
  width: min(920px, calc(100vw - 32px));
  overflow: hidden;
}

#od-app-customer-dialog .od-dialog-content {
  max-height: calc(100dvh - 32px);
  gap: 10px;
  padding: 18px 24px 20px;
  overflow-x: hidden;
  overflow-y: auto;
}

#od-app-customer-dialog-heading {
  gap: 3px;
  padding-inline: 42px;
}

#od-app-customer-dialog-heading .od-eyebrow {
  font-size: 10px;
  line-height: 1.1;
}

#od-app-customer-dialog-title {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.12;
}

#od-app-customer-dialog-message {
  line-height: 1.3;
}

#od-app-customer-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}

#od-app-customer-fields > :first-child {
  grid-column: auto;
}

#od-app-customer-fields > .od-field-block-wide {
  grid-column: 1 / -1;
}

#od-app-customer-fields > .od-field-block {
  grid-column: span 1;
  min-width: 0;
}

#od-app-customer-fields > .od-customer-code-field {
  grid-column: 1 / -1;
}

#od-app-customer-dialog .od-field-block {
  gap: 4px;
}

#od-app-customer-dialog .od-text-input,
#od-app-customer-dialog .od-textarea,
#od-app-customer-dialog select {
  min-height: 42px;
}

#od-app-customer-dialog .od-textarea {
  min-height: 62px;
  resize: vertical;
}

#od-app-customer-dialog .od-consent-row {
  min-height: 34px;
  padding-block: 2px;
}

#od-app-login-dialog {
  width: min(520px, calc(100vw - 32px));
}

#od-app-login-dialog .od-dialog-content {
  gap: 12px;
  padding: 26px;
}

#od-app-login-dialog .od-customer-brand-logo {
  width: 132px;
  max-height: 78px;
  object-fit: contain;
}

.od-login-form .od-text-input {
  min-height: var(--orion-control-height);
}

.od-code-input {
  direction: ltr;
  text-align: center;
  letter-spacing: .35em;
  font-variant-numeric: tabular-nums;
}

.od-login-secondary {
  min-height: 42px;
  border: 1px solid #d9cfe0;
  border-radius: 10px;
  background: #fff;
  color: #7800ab;
  font-weight: 700;
}

.od-login-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid #e4d8ea;
  border-radius: 12px;
  background: #f8f4fa;
}

.od-login-mode-button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5d5262;
  font-weight: 700;
}

.od-login-mode-button.is-active {
  background: #7800ab;
  color: #fff;
  box-shadow: 0 4px 12px rgba(120, 0, 171, .2);
}

.od-login-registration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.od-login-registration-grid[hidden] {
  display: none;
}

.od-login-address-optional {
  grid-column: span 1;
}

.od-login-address-optional label span,
#od-app-customer-full-address-optional {
  color: #786d7d;
  font-weight: 500;
}

.od-form-error:empty {
  display: none;
}

@media (max-width: 760px), (orientation: portrait) {
  #od-app-step-4 { gap: 8px; }
  #od-app-step-4-heading { margin-block-end: 2px; }
  #od-app-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
  }
  #od-app-services-grid .od-service-card {
    min-height: 0;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
  }
  #od-app-services-grid .od-service-header {
    min-height: 44px;
    padding: 7px 9px;
    gap: 6px;
  }
  #od-app-services-grid .od-service-body {
    min-height: 0;
    padding: 7px 9px 9px;
    gap: 6px;
  }
  #od-app-services-grid .od-service-card:not(.is-enabled) .od-service-body {
    display: none;
  }
  #od-app-services-grid .od-service-price,
  #od-app-services-grid .od-service-caption,
  #od-app-services-grid .od-format-note { font-size: 11px; line-height: 1.25; }
  #od-app-services-grid .od-format-chips { gap: 5px; }
  #od-app-services-grid .od-format-chip,
  #od-app-services-grid .od-mini-button { min-height: 36px; padding: 5px 8px; }
  #od-app-services-grid .od-textarea-small { min-height: 58px; max-height: 82px; }

  .od-login-registration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #od-app-step-2-method-grid.has-coordinate-method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #od-app-step-2-method-grid.has-coordinate-method > .od-method-button:not([hidden]) {
    grid-column: span 1;
  }

  #od-app-step-2-method-grid.has-coordinate-method > .od-method-row-two:last-child:not([hidden]) {
    grid-column: 1 / -1;
  }

  .od-coordinate-action-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .od-coordinate-system .od-segment-button,
  #od-app-location-coordinate-apply-button {
    min-height: var(--orion-control-height);
    height: var(--orion-control-height);
    padding: 6px;
  }

  #od-app-customer-dialog {
    width: calc(100vw - 20px);
  }

  #od-app-customer-dialog .od-dialog-content {
    padding: 14px 14px 16px;
  }

  #od-app-customer-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #od-app-services-grid { grid-template-columns: 1fr; gap: 7px; }
  #od-app-services-grid .od-service-header { min-height: 42px; }
  #od-app-customer-fields {
    grid-template-columns: 1fr;
  }

  .od-coordinate-action-row {
    grid-template-columns: 1fr;
  }

  .od-login-registration-grid {
    grid-template-columns: 1fr;
  }

  .od-login-address-optional {
    grid-column: auto;
  }

  #od-app-login-dialog,
  #od-app-customer-dialog {
    width: calc(100vw - 12px);
  }
}
/* ORION_R19_6_WORKFLOW_CLARITY_20260806 */
.od-step-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.od-dimension-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid color-mix(in srgb, var(--orion-purple, #7800ab) 55%, transparent);
  border-radius: 999px;
  color: var(--orion-purple, #7800ab);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.od-panel-shell,
.od-panel-content,
.od-step,
.od-step-heading,
.od-step-heading > *,
.od-summary-item,
.od-decision-copy {
  min-width: 0;
}

.od-panel-content p,
.od-step-heading p,
.od-summary-item span,
.od-decision-copy span,
.od-service-card p {
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
