/* Exact visual language of ocean-inquiry-redesign.html, scoped to the H5 ocean inquiry screen. */
.ocean-redesign-screen {
  flex: 1;
  min-height: 0;
  background: #f5f7fa;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.ocean-redesign-screen *,
.ocean-redesign-screen *::before,
.ocean-redesign-screen *::after { box-sizing: border-box; }
.ocean-redesign-body {
  padding: 0 !important;
  background: #f5f7fa !important;
}
.or-page {
  position: relative;
  width: 100%;
  max-width: 414px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 82px;
  background: #f5f7fa;
}
.or-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 48px;
  padding: env(safe-area-inset-top, 0px) 16px 0;
  border-bottom: 1px solid #f2f4f7;
  background: #fff;
}
.or-navbar .or-back {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: inherit;
  line-height: 1;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.or-navbar .or-back svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.or-navbar .or-title {
  min-width: 0;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  white-space: nowrap;
}
.or-navbar .or-placeholder { width: 44px; height: 44px; }
.or-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0c32c4 0%, #1e4fd6 100%);
  color: #fff;
}
.or-hero-orb {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.or-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.or-hero-copy { flex: 1; min-width: 0; }
.or-hero-kicker {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: .55;
}
.or-hero h1 {
  margin: 0 0 2px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
}
.or-hero-sub {
  margin-bottom: 0;
  font-size: 10px;
  opacity: .6;
}
.or-metrics { display: flex; align-items: center; }
.or-metric {
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.or-metric + .or-metric { padding: 0 10px; }
.or-metric:last-child {
  padding-right: 0;
  padding-left: 10px;
  border-right: 0;
}
.or-metric b {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.or-metric span {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  opacity: .6;
}
.or-hero-ship {
  width: 72px;
  height: 52px;
  flex: 0 0 72px;
  margin-left: 8px;
  opacity: .85;
}
.or-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 12px 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: #eef3fc;
}
.or-summary-bar > div { min-width: 0; }
.or-summary-bar > div:last-child { text-align: right; }
.or-summary-label {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.or-summary-value {
  max-width: 250px;
  overflow: hidden;
  color: #0c32c4;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.or-card {
  margin: 10px 12px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.or-card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.or-card-stack .or-card { margin: 0 12px; }
.or-card-stack [data-ocean-card="1"] { order: 1; }
.or-card-stack [data-ocean-card="2"] { order: 2; }
.or-card-stack [data-ocean-card="3"] { order: 3; }
.or-card-stack [data-ocean-card="4"] { order: 4; }
.or-card-stack [data-ocean-card="5"] { order: 5; }
.or-card-title {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  cursor: pointer;
}
.or-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: #0c32c4;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.or-card-title h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.or-card-summary {
  max-width: 170px;
  margin: 0 8px 0 auto;
  overflow: hidden;
  color: #999;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.or-card-done {
  display: none;
  flex: 0 0 auto;
  margin-left: 6px;
  color: #16824f;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.or-card.is-complete .or-card-done { display: inline; }
.or-card.is-complete .or-card-num { background: #16824f; }
.or-card-collapse {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #999;
  transition: transform .2s;
}
.or-card.is-collapsed .or-card-collapse { transform: rotate(-90deg); }
.or-card-body {
  max-height: 1800px;
  overflow: hidden;
  transition: max-height .25s ease;
}
.or-card.is-collapsed .or-card-body { max-height: 0; }
.or-card.is-collapsed .or-card-desc { display: none; }
.or-card-desc {
  margin: 0 0 10px 30px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}
.or-label {
  display: block;
  margin: 10px 0 6px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}
.or-required::before {
  content: "*";
  margin-right: 2px;
  color: #e74c3c;
}
.or-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.or-tag {
  min-height: 0;
  padding: 7px 12px;
  border: 1px solid #e0e4ea;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  cursor: pointer;
  transition: all .15s;
}
.or-tag.is-active {
  border-color: #0c32c4;
  background: #0c32c4;
  color: #fff;
}
.or-tag:active { opacity: .8; }
.or-tag:disabled,
.or-tag.is-disabled { opacity: .36; cursor: not-allowed; }
.or-search-box { position: relative; margin: 8px 0; }
.or-search-box svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #0c32c4;
  transform: translateY(-50%);
  pointer-events: none;
}
.ocean-redesign-screen .or-search-box input {
  width: 100%;
  height: 36px;
  min-height: 0;
  padding: 10px 12px 10px 38px;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  outline: none;
  background: #f8f9fb;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
}
.or-search-box input:focus { border-color: #0c32c4; }
.or-port-selected-pin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 7px 9px;
  border-left: 3px solid #0c32c4;
  border-radius: 4px;
  background: #eef3fc;
}
.or-port-selected-pin span { color: #666; font-size: 11px; line-height: 1.5; }
.or-port-selected-pin b {
  overflow: hidden;
  color: #0c32c4;
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.or-port-list {
  height: 180px;
  max-height: 180px;
  overflow-y: auto;
}
.or-port-list::-webkit-scrollbar { width: 4px; }
.or-port-list::-webkit-scrollbar-track { border-radius: 2px; background: #f0f0f0; }
.or-port-list::-webkit-scrollbar-thumb { border-radius: 2px; background: #0c32c4; }
.or-port-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  flex: 0 0 60px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  cursor: pointer;
}
.or-port-item:last-child { border-bottom: 0; }
.or-port-item.is-selected { background: #f0f5ff; }
.or-port-name { display: block; color: #1a1a1a; font-size: 14px; }
.or-port-item.is-selected .or-port-name { color: #0c32c4; font-weight: 600; }
.or-port-en { display: block; margin-top: 2px; color: #999; font-size: 11px; }
.or-port-code {
  flex: 0 0 auto;
  margin-left: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  background: #eef3fc;
  color: #0c32c4;
  font-size: 12px;
}
.or-empty {
  padding: 18px 4px;
  color: #999;
  font-size: 12px;
  text-align: center;
}
.or-tip {
  margin-top: 6px;
  padding: 7px 9px;
  border-radius: 4px;
  background: #f8f9fb;
  color: #999;
  font-size: 11px;
  line-height: 1.5;
}
.ocean-redesign-screen .or-input,
.ocean-redesign-screen .or-select {
  width: 100%;
  height: 36px;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
}
.ocean-redesign-screen .or-select { height: 38px; }
.ocean-redesign-screen .or-origin-select,
.ocean-redesign-screen .or-date-input { margin-top: 4px; }
.ocean-redesign-screen .or-date-input { height: 41px; }
.or-picker-button,
.or-date-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  margin-top: 4px;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
  text-align: left;
  cursor: pointer;
}
.or-origin-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}
.or-origin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: #0c32c4;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.or-origin-pill i {
  margin-right: 2px;
  color: #ffd1d1;
  font-style: normal;
}
.or-origin-inline .or-picker-button {
  width: auto;
  min-width: 0;
  flex: 1;
  margin-top: 0;
}
.or-picker-button.has-value {
  border-color: #0c32c4;
  border-radius: 4px;
  background: #0c32c4;
  color: #fff;
}
.or-picker-button.has-value span { color: #fff; }
.or-picker-button.has-value svg { color: #fff; }
.or-picker-button span,
.or-date-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.or-picker-button span.is-placeholder { color: #999; }
.or-picker-button svg,
.or-date-button svg { width: 16px; height: 16px; flex: 0 0 16px; color: #7b8494; }
.ocean-redesign-screen .or-date-button { height: 41px; }
.or-native-date {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.or-origin-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(17,24,39,.42);
}
.or-origin-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 414px;
  max-height: 82vh;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 -12px 32px rgba(17,24,39,.12);
}
.or-origin-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.or-origin-head b { flex: 1; color: #1a1a1a; font-size: 16px; font-weight: 600; text-align: center; }
.or-origin-head button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7b8494;
  font-size: 22px;
  cursor: pointer;
}
.or-origin-head button:last-child { visibility: hidden; }
.or-origin-search { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; }
.or-origin-search input {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  outline: none;
  background: #f8f9fb;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
}
.or-origin-options {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px calc(12px + env(safe-area-inset-bottom));
}
.or-origin-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.or-origin-option > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.or-origin-option b { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.or-origin-option small { color: #8a94a6; font-size: 12px; }
.or-origin-radio {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #c9ced8;
  border-radius: 50%;
}
.or-origin-option.is-selected .or-origin-radio {
  border: 6px solid #0c32c4;
}
.or-origin-option.is-selected b { color: #0c32c4; }
.or-input:focus,
.or-select:focus { border-color: #0c32c4; }
.or-input-row { display: flex; gap: 10px; margin-top: 8px; }
.or-input-row .or-input-item { flex: 1; min-width: 0; }
.or-input-item > label {
  display: block;
  margin-bottom: 4px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}
.or-unit { position: relative; }
.or-unit .or-input { padding-right: 44px; }
.ocean-redesign-screen input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
.ocean-redesign-screen input[type="number"]::-webkit-outer-spin-button,
.ocean-redesign-screen input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.or-number-stepper { position: relative; width: 100%; }
.or-number-stepper > input,
.or-number-stepper > .or-input { width: 100%; padding-right: 44px; }
.or-stepper-controls {
  position: absolute;
  top: 50%;
  right: 5px;
  display: flex;
  flex-direction: column;
  width: 24px;
  overflow: hidden;
  border-radius: 4px;
  transform: translateY(-50%);
}
.or-stepper-controls button {
  display: grid;
  width: 24px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #eef2f8;
  color: #7b8494;
  font-size: 9px;
  line-height: 17px;
  cursor: pointer;
  place-items: center;
}
.or-stepper-controls button + button { border-top: 1px solid #fff; }
.or-stepper-controls button:active { background: #dfe6f2; }
.or-number-stepper .or-unit-suffix { right: 36px; }
.or-unit-suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #999;
  font-size: 12px;
  pointer-events: none;
  transform: translateY(-50%);
}
.or-picked {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: #0c32c4;
  font-size: 11px;
}
.or-picked svg { width: 12px; height: 12px; }
.or-manual-link {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0c32c4;
  font-family: inherit;
  font-size: 11px;
  line-height: 16.5px;
  cursor: pointer;
}
.or-manual-fields {
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  background: #f0f4ff;
}
.or-manual-fields .or-input-row { margin-top: 0; }
.or-manual-fields .or-input-item + .or-input-item { margin-top: 8px; }
.or-region-picker-input { cursor: pointer; background: #fff; }
.or-address-shell { position: relative; }
.or-address-shell .or-input { padding-right: 40px; }
.or-address-map {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0c32c4;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}
.or-address-map svg { width: 18px; height: 18px; }
.or-dg-fields {
  margin-top: 12px;
  padding: 12px;
  border-left: 3px solid #0c32c4;
  border-radius: 6px;
  background: #f0f4ff;
}
.or-dg-title {
  margin-bottom: 10px;
  color: #0c32c4;
  font-size: 12px;
  font-weight: 600;
}
.or-footer-tip {
  padding: 16px;
  color: #bbb;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.or-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 40;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 414px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  transform: translateX(-50%);
}
.or-btn {
  flex: 1;
  min-height: 44px;
  padding: 13px;
  border: 0;
  border-radius: 6px;
  color: #333;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}
.or-btn-outline {
  border: 1px solid #0c32c4;
  background: #fff;
  color: #0c32c4;
}
.or-btn-primary {
  flex: 2;
  background: #0c32c4;
  color: #fff;
}
.or-btn-primary:disabled {
  background: #c8d4f5;
  color: #fff;
  cursor: not-allowed;
}
.or-btn-primary.is-disabled {
  background: #c8d4f5;
  color: #fff;
}
.or-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0,0,0,.4);
}
.or-overlay.show { display: block; }
.or-confirm-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 101;
  width: 100%;
  max-width: 414px;
  max-height: 85vh;
  overflow-y: auto;
  padding-bottom: 20px;
  border-radius: 0;
  background: #fff;
  transform: translateX(-50%) translateY(100%);
  transition: transform .25s ease;
}
.or-confirm-sheet.show { transform: translateX(-50%) translateY(0); }
.or-confirm-handle {
  width: 36px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: #ddd;
}
.or-confirm-header {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}
.or-confirm-header h3 { margin: 0; font-size: 16px; font-weight: 600; }
.or-confirm-header p { margin: 4px 0 0; color: #999; font-size: 12px; }
.or-confirm-body { padding: 16px; }
.or-confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.or-confirm-row:last-child { border-bottom: 0; }
.or-confirm-row .or-k { width: 90px; flex: 0 0 90px; color: #999; }
.or-confirm-row .or-v {
  flex: 1;
  margin-left: 12px;
  color: #1a1a1a;
  text-align: right;
}
.or-confirm-row .or-v.highlight { color: #0c32c4; font-weight: 600; }
.or-confirm-actions { display: flex; gap: 12px; padding: 12px 16px; }
.or-confirm-actions .or-btn { flex: 1; }
.or-confirm-actions .or-btn-cancel { background: #f5f5f5; color: #666; }
.or-confirm-actions .or-btn-confirm { flex: 2; background: #0c32c4; color: #fff; }
.ocean-redesign-screen button:focus-visible,
.ocean-redesign-screen .or-tag:focus-visible,
.ocean-redesign-screen .or-port-item:focus-visible { outline: none; }
