/* Opt-in sample estimator, used only on index-3d-test.html. */
#sample-orders[data-fee-preview] {
  background: radial-gradient(ellipse at 50% 0, #482a1729, transparent 55%), #100e0b;
  padding: 100px 24px !important;
}
#sample-orders[data-fee-preview] .container { max-width: 1320px; padding: 0; }
#sample-orders .fee-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 35px; }
#sample-orders .fee-section-heading .section-label { justify-content: flex-start; margin-bottom: 18px; }
#sample-orders .fee-section-heading h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); color: #faf3e9; line-height: 1.13; font-weight: 750; letter-spacing: -.045em; margin: 0; }
#sample-orders .fee-section-heading h2 em { color: #f49a58; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
#sample-orders .fee-section-intro { max-width: 330px; padding-bottom: 5px; }
#sample-orders .fee-section-intro p { color: #b5ada0; font-size: .92rem; line-height: 1.75; margin: 0 0 14px; }
#sample-orders .fee-section-intro > span { color: #d5c7b2; font-size: .72rem; }
#sample-orders .fee-section-intro i { color: #ed935b; margin-right: 5px; }
#sample-orders .fee-section-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; padding-top: 22px; border-top: 1px solid #ffffff10; }
#sample-orders .fee-section-toolbar p { font-size: .76rem; color: #b5ada0; margin: 0; }
#sample-orders .fee-live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8fcbb0; margin: 0 7px 1px 0; }
#sample-orders #fee-reset { color: #cab9a6; background: transparent; border: 1px solid #ffffff1c; border-radius: 8px; padding: 9px 12px; font: 500 .72rem 'Inter', sans-serif; cursor: pointer; white-space: nowrap; }
#sample-orders #fee-reset:hover { background: #ffffff08; color: #fff; }
#sample-orders[data-fee-preview] .sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: none !important; gap: 18px !important; align-items: stretch; }
#sample-orders[data-fee-preview] .sample-card {
  --fee-accent: #9cd9b1;
  display: flex !important; padding: 0 !important; gap: 0 !important; min-width: 0;
  background: #1b1b15 !important; border: 1px solid #ffffff16 !important;
  border-radius: 18px !important; overflow: hidden; box-shadow: 0 10px 28px #0002 !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
#sample-orders[data-fee-preview] .sample-card--zone2 { --fee-accent: #ffb77e; background: #211b16 !important; }
#sample-orders[data-fee-preview] .sample-card--outside { --fee-accent: #a0cbd8; background: #171e1e !important; }
#sample-orders[data-fee-preview] .sample-card:hover { transform: none !important; border-color: #ffffff36 !important; }
#sample-orders[data-fee-preview] .sample-card:focus-within { border-color: var(--fee-accent) !important; }
#sample-orders .fee-card-head { padding: 23px 23px 20px; border-top: 2px solid var(--fee-accent); }
#sample-orders .fee-card-eyebrow { display: flex; justify-content: space-between; align-items: center; color: var(--fee-accent); font-size: .63rem; letter-spacing: .12em; font-weight: 650; margin-bottom: 17px; }
#sample-orders .fee-card-eyebrow b { color: #a7a296; font-weight: 500; padding-right: 8px; margin-right: 8px; border-right: 1px solid #ffffff25; }
#sample-orders .fee-card-eyebrow > i { font-size: 1.1rem; }
#sample-orders[data-fee-preview] .sample-card-title { font-size: 1.16rem !important; line-height: 1.3; color: #f7efdf !important; margin: 0 0 6px; }
#sample-orders .fee-card-description { font-size: .75rem; line-height: 1.5; color: #aaa698; margin: 0; min-height: 2.25em; }
#sample-orders .fee-amount { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 18px; }
#sample-orders .fee-amount output { color: var(--fee-accent); font-size: clamp(2rem, 3.1vw, 2.9rem); font-weight: 650; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1; }
#sample-orders .fee-amount > span { color: #aaa698; font-size: .64rem; line-height: 1.5; }
#sample-orders .fee-formula { color: #c6bfb0; font-size: .7rem; margin: 10px 0 0; min-height: 1.5em; }
#sample-orders .fee-map-panel { padding: 0 15px; }
#sample-orders[data-fee-preview] .sample-map { height: 150px; border-radius: 10px; border: 1px solid #ffffff1c; width: 100%; }
#sample-orders[data-fee-preview] .sample-map .leaflet-tile { filter: saturate(.5) brightness(.9); }
#sample-orders .fee-route-caption { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 10px 1px; font-size: .61rem; color: #a8a697; }
#sample-orders .fee-route-caption > span:first-child { white-space: nowrap; }
#sample-orders .fee-route-caption > span:last-child { text-align: right; }
#sample-orders .fee-route-caption i { color: var(--fee-accent); margin-right: 3px; }
#sample-orders .fee-card-controls { padding: 18px 23px; display: flex; flex-direction: column; gap: 15px; min-height: 256px; flex: 1; }
#sample-orders .fee-field { min-width: 0; }
#sample-orders .fee-field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #d8cfc0; font-size: .72rem; font-weight: 500; margin: 0 0 12px; }
#sample-orders .fee-field-label output { color: var(--fee-accent, #ffb77e); font-size: .82rem; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
#sample-orders[data-fee-preview] .sample-range {
  display: block; height: 6px !important; margin: 5px 0 0; padding: 0;
  background: linear-gradient(to right, var(--fee-accent, #ffb77e) var(--range-fill, 0%), #ffffff16 var(--range-fill, 0%)) !important;
  transition: none !important;
}
#sample-orders[data-fee-preview] .sample-range::-webkit-slider-thumb { background: #f6eee2 !important; width: 18px !important; height: 18px !important; border: 3px solid var(--fee-accent, #ffb77e) !important; box-shadow: 0 1px 5px #0007 !important; }
#sample-orders[data-fee-preview] .sample-range::-moz-range-thumb { background: #f6eee2; width: 13px; height: 13px; border: 3px solid var(--fee-accent, #ffb77e); }
#sample-orders .fee-preset-row { display: flex; align-items: center; gap: 5px; margin-top: 13px; }
#sample-orders .fee-preset-row button { padding: 5px 8px; border: 1px solid #ffffff17; border-radius: 5px; background: #ffffff04; color: #b6b0a4; font: 500 .63rem 'Inter', sans-serif; cursor: pointer; }
#sample-orders .fee-preset-row button:hover, #sample-orders .fee-preset-row button[aria-pressed="true"] { color: var(--fee-accent); border-color: var(--fee-accent); }
#sample-orders .fee-preset-row > span { margin-left: auto; font-size: .6rem; color: #88887a; white-space: nowrap; }
#sample-orders .fee-benefit { display: flex; gap: 10px; padding: 13px; border: 1px solid #9cd9b120; border-radius: 8px; background: #9cd9b106; margin-top: 5px; }
#sample-orders .fee-benefit > i { color: var(--fee-accent); margin-top: 2px; font-size: .85rem; }
#sample-orders .fee-benefit strong { display: block; color: #cad9c3; font-size: .72rem; font-weight: 600; }
#sample-orders .fee-benefit p { font-size: .69rem; line-height: 1.65; color: #9fae99; margin: 5px 0 0; }
#sample-orders .fee-price-note { color: #b1a894; font-size: .66rem; line-height: 1.6; margin: 0; }
#sample-orders .sample-toggle { width: 100%; display: flex; padding: 3px; margin: 0; border-radius: 8px; background: #0002; flex-shrink: 0; }
#sample-orders .sample-toggle-btn { flex: 1; min-width: 0; font-size: .69rem; border-radius: 5px; padding: 7px 4px; line-height: 1.4; }
#sample-orders .sample-toggle-btn > span { display: block; font-size: .59rem; opacity: .75; }
#sample-orders .sample-toggle-btn.is-active { background: #f49a5826; color: #ffb77e; border-color: #ffb77e42; box-shadow: none; }
#sample-orders .sample-range-ticks { margin-top: 10px; font-size: .58rem; }
#sample-orders .sample-select { min-width: 0; width: 100%; font-size: .73rem; padding: 10px; border-radius: 7px; background: #ffffff04; margin-top: -12px; }
#sample-orders .sample-select option { background: #182020; }
#sample-orders .fee-capacity-track { height: 5px; background: #ffffff10; border-radius: 5px; overflow: hidden; margin-bottom: 7px; }
#sample-orders .fee-capacity-track > span { display: block; width: 100%; height: 100%; transform-origin: left; background: var(--fee-accent); }
#sample-orders .fee-buffer-note { padding: 8px; margin: 0; border: 1px solid #f5ba6940; border-radius: 6px; background: #f5ba6909; color: #ddc192; font-size: .65rem; }
#sample-orders .fee-receipt { margin: 0 15px; padding: 15px; background: #eee5d5; color: #49463e; border-radius: 9px; position: relative; }
#sample-orders .fee-receipt-title { display: flex; align-items: center; gap: 6px; margin-bottom: 13px; color: #7b7567; font-size: .6rem; text-transform: uppercase; letter-spacing: .07em; }
#sample-orders .fee-receipt-title > span { margin-left: auto; font-family: monospace; font-size: .65rem; }
#sample-orders .fee-receipt-row { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; padding: 4px 0; }
#sample-orders .fee-receipt-row strong { color: #373b31; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
#sample-orders .fee-receipt-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed #b7ae9a; margin-top: 10px; padding-top: 12px; font-size: .72rem; font-weight: 650; }
#sample-orders .fee-receipt-total output { font-size: 1.13rem; letter-spacing: -.025em; font-weight: 750; color: #20281f; white-space: nowrap; font-variant-numeric: tabular-nums; }
#sample-orders .fee-card-foot { font-size: .62rem; color: #b6ad9b; padding: 16px 20px; display: flex; align-items: center; gap: 7px; }
#sample-orders .fee-card-foot i { color: var(--fee-accent); }
#sample-orders .fee-refund-example { margin-top: 22px; border: 1px solid #ffffff15; border-radius: 12px; background: #161a16; }
#sample-orders .fee-refund-example summary { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 19px 22px; list-style: none; }
#sample-orders .fee-refund-example summary::-webkit-details-marker { display: none; }
#sample-orders .fee-refund-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #a5cfac29; border-radius: 9px; color: #a5cfac; background: #a5cfac08; flex-shrink: 0; }
#sample-orders .fee-refund-example summary strong { display: block; color: #d6ddce; font-size: .82rem; font-weight: 550; }
#sample-orders .fee-refund-example summary small { display: block; color: #94a28e; font-size: .69rem; margin-top: 4px; }
#sample-orders .fee-details-arrow { color: #9ba895; margin-left: auto; font-size: .7rem; }
#sample-orders .fee-refund-example[open] .fee-details-arrow { transform: rotate(180deg); }
#sample-orders .fee-refund-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; padding: 24px; border-top: 1px solid #ffffff0c; }
#sample-orders .fee-refund-input p { color: #99a08e; font-size: .66rem; margin: 16px 0 0; }
#sample-orders .fee-refund-equation { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #818b79; }
#sample-orders .fee-refund-equation > div { display: flex; flex-direction: column; gap: 8px; }
#sample-orders .fee-refund-equation small { font-size: .65rem; color: #a3ac9b; }
#sample-orders .fee-refund-equation strong, #sample-orders .fee-refund-equation output { font-size: 1.25rem; font-weight: 600; color: #e3e7dc; font-variant-numeric: tabular-nums; }
#sample-orders .fee-refund-equation .fee-refund-result output { color: #9cd9b1; }
#sample-orders .fee-section-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; }
#sample-orders .fee-section-footer p { max-width: 750px; color: #8e8a7f; font-size: .69rem; line-height: 1.8; margin: 0; }
#sample-orders .fee-section-footer p strong { color: #c4bba9; font-weight: 500; }
#sample-orders .fee-section-footer p i { margin-right: 4px; }
#sample-orders .fee-section-footer a { padding: 12px 20px; border-radius: 8px; background: #e77832; color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
#sample-orders .fee-section-footer a:hover { background: #f08843; }
#sample-orders .fee-section-footer a i { margin-left: 10px; }
#sample-orders[data-fee-preview] [hidden] { display: none !important; }
#sample-orders[data-fee-preview] button:focus-visible, #sample-orders[data-fee-preview] input:focus-visible, #sample-orders[data-fee-preview] select:focus-visible, #sample-orders[data-fee-preview] summary:focus-visible { outline: 2px solid #ffd2a0 !important; outline-offset: 4px; }
@media (max-width: 1050px) and (min-width: 761px) {
  #sample-orders .fee-card-head { padding: 19px 16px; }
  #sample-orders .fee-card-controls { padding: 18px 16px; min-height: 285px; }
  #sample-orders .fee-amount output { font-size: 2.15rem; }
  #sample-orders .fee-preset-row button { padding: 5px; }
  #sample-orders .fee-preset-row > span { display: none; }
  #sample-orders .fee-route-caption { font-size: .56rem; }
  #sample-orders .fee-receipt { padding: 12px; margin: 0 10px; }
  #sample-orders .fee-receipt-row { font-size: .65rem; }
  #sample-orders .fee-receipt-total { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  #sample-orders[data-fee-preview] { padding: 65px 18px !important; }
  #sample-orders .fee-section-heading { flex-direction: column; align-items: flex-start; gap: 22px; }
  #sample-orders .fee-section-heading h2 { font-size: clamp(2rem, 7vw, 2.8rem); }
  #sample-orders .fee-section-intro { max-width: 100%; }
  #sample-orders .fee-section-intro p { font-size: .85rem; }
  #sample-orders .fee-section-toolbar { align-items: flex-start; }
  #sample-orders .fee-section-toolbar p { max-width: 195px; font-size: .68rem; line-height: 1.7; }
  #sample-orders #fee-reset { padding: 8px; font-size: .65rem; }
  #sample-orders[data-fee-preview] .sample-grid { grid-template-columns: 1fr !important; max-width: 520px !important; gap: 24px !important; }
  #sample-orders .fee-amount output { font-size: 2.8rem; }
  #sample-orders .fee-card-description { min-height: 0; }
  #sample-orders .fee-card-controls { min-height: 0; padding: 20px 23px; }
  #sample-orders .fee-refund-example summary { padding: 16px; gap: 10px; }
  #sample-orders .fee-refund-example summary strong { font-size: .77rem; }
  #sample-orders .fee-refund-content { grid-template-columns: 1fr; padding: 20px 16px; gap: 25px; }
  #sample-orders .fee-refund-equation { gap: 6px; }
  #sample-orders .fee-refund-equation strong, #sample-orders .fee-refund-equation output { font-size: .95rem; }
  #sample-orders .fee-refund-equation small { font-size: .6rem; }
  #sample-orders .fee-section-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #sample-orders[data-fee-preview] .sample-card { transition: none !important; }
}
