* { box-sizing: border-box; }
html { scroll-padding-block: 24px calc(var(--jh-navigation-height, var(--jh-mobile-nav-height)) + 16px); }
body { margin: 0; color: var(--jh-text); background: var(--jh-canvas); font: 400 var(--jh-text-base)/var(--jh-line) var(--jh-font); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
a { color: var(--jh-brand); text-underline-offset: 4px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--jh-focus); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font: 400 var(--jh-title)/1.12 var(--jh-display-font); letter-spacing: -.025em; }
h2 { font-size: var(--jh-text-lg); line-height: 1.3; font-weight: 600; }
h3 { font-size: var(--jh-text-base); font-weight: 600; }
p { max-width: 66ch; overflow-wrap: anywhere; }
strong { font-weight: 600; }
small, .small { font-size: var(--jh-text-sm); }
.muted { color: var(--jh-text-secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 50; background: var(--jh-surface); padding: 12px; }
.skip:focus { top: 8px; }
.review-bar { padding: 8px 24px; min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; background: var(--jh-surface-subtle); border-bottom: 1px solid var(--jh-border); font-size: var(--jh-text-sm); }
.review-bar label { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.review-bar select { min-height: 44px; width: auto; padding: 4px 24px 4px 8px; background: var(--jh-surface); }
.text-enlarged .review-bar label { flex-wrap: wrap; white-space: normal; max-width: 100%; }
.text-enlarged .review-bar select { max-width: 100%; }
.shell { position: relative; display: grid; grid-template-columns: var(--jh-rail-width) minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 100dvh; }
.shell::before { content: ""; position: absolute; inset-block: 0; left: calc(var(--jh-rail-width) - 1px); border-left: 1px solid var(--jh-border); pointer-events: none; }
.brand { grid-column: 1; padding: 40px 22px 32px; border-right: 0; }
.brand a { text-decoration: none; color: var(--jh-text); font: 400 25px/1.2 var(--jh-display-font); letter-spacing: -.025em; }
.brand span { display: block; margin-top: 8px; font: 400 12px/1.5 var(--jh-font); letter-spacing: 0; color: var(--jh-text-secondary); }
.navigation { position: sticky; top: 24px; align-self: start; grid-column: 1; padding: 0 12px; border-right: 0; }
.navigation a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; color: var(--jh-text-secondary); text-decoration: none; border-radius: var(--jh-radius-control); margin-bottom: 4px; font-size: var(--jh-text-sm); font-weight: 500; }
.navigation a[aria-current] { color: var(--jh-brand); background: var(--jh-brand-soft); font-weight: 600; }
.navigation-icon { display: grid; place-items: center; flex: 0 0 auto; }
.navigation-icon .icon { grid-area: 1 / 1; }
.navigation-icon .icon-solid, .navigation-marker { display: none; }
.icon.icon-solid { fill: currentColor; stroke: none; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.marker .icon { width: 16px; height: 16px; }
.shell-footer { grid-column: 1; padding: 32px 24px; border-right: 0; font-size: var(--jh-text-sm); }
.shell-footer a { display: flex; align-items: center; min-height: 44px; }
.shell-footer span { display: block; color: var(--jh-text-secondary); margin-top: 16px; font-size: 12px; }
main { grid-column: 2; grid-row: 1 / 4; width: 100%; max-width: calc(var(--jh-content-width) + 96px); padding: 40px 48px 64px; outline: none; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.page-head p { margin-top: 12px; color: var(--jh-text-secondary); }
.eyebrow { display: block; color: var(--jh-text-secondary); font-size: var(--jh-text-sm); margin-bottom: 12px; }
.back { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: var(--jh-text-sm); text-decoration: none; margin: -8px 0 16px; }
.stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
.tight { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.columns { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,1fr); gap: 32px; align-items: start; }
.order-layout { grid-template-areas: 'assessment quote' 'journey shipping'; }
.order-assessment { grid-area: assessment; }
.order-quote { grid-area: quote; }
.order-journey { grid-area: journey; }
.order-shipping { grid-area: shipping; }
.section-heading { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-heading a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--jh-text-sm); }
.group { background: var(--jh-surface); border-radius: var(--jh-radius-group); overflow: hidden; }
.group.outlined { border: 1px solid var(--jh-border); }
.group > .row + .row { position: relative; }
.group > .row + .row::before { content: ''; position: absolute; inset: 0 20px auto; height: 1px; background: var(--jh-border); }
.row { display: flex; gap: 16px; align-items: center; min-height: 72px; padding: 16px 20px; color: var(--jh-text); text-decoration: none; width: 100%; text-align: left; border: 0; background: transparent; }
.row > .row-copy { min-width: 0; flex: 1; }
.row strong, .row small { display: block; overflow-wrap: anywhere; }
.row small { color: var(--jh-text-secondary); margin-top: 4px; }
.row .trailing { color: var(--jh-text-secondary); flex-shrink: 0; }
.data { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 12px 0; }
.data > :first-child { color: var(--jh-text-secondary); }
.data > :last-child { text-align: right; overflow-wrap: anywhere; }
.data + .data { border-top: 1px solid var(--jh-border); }
.inset { padding: 20px; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.total { border-top: 1px solid var(--jh-border); padding-top: 20px; margin-top: 8px; font-size: var(--jh-text-lg); }
.total > :first-child { color: var(--jh-text); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--jh-control-height); padding: 12px 20px; text-align: center; border: 1px solid transparent; border-radius: var(--jh-radius-control); background: var(--jh-brand); color: var(--jh-on-brand); font-weight: 600; font-size: var(--jh-text-sm); line-height: 1.4; text-decoration: none; transition: background var(--jh-motion-fast), color var(--jh-motion-fast); }
.button.secondary { background: var(--jh-surface); border-color: var(--jh-control-border); color: var(--jh-text); }
.button.quiet { background: transparent; color: var(--jh-brand); padding-inline: 8px; }
.button.danger { background: var(--jh-error); }
.button:active { transform: translateY(1px); }
.full { width: 100%; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--jh-attention); font-size: var(--jh-text-sm); font-weight: 500; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status.success { color: var(--jh-success); }
.next-step { background: var(--jh-surface); border-radius: var(--jh-radius-group); padding: 24px; display: grid; gap: 16px; }
.next-step .eyebrow { margin: 0; }
.next-step p { color: var(--jh-text-secondary); }
.next-step .actions { margin-top: 4px; }
.notice { padding: 16px 20px; background: var(--jh-brand-soft); border-radius: var(--jh-radius-control); font-size: var(--jh-text-sm); }
.notice.error { color: var(--jh-error); background: var(--jh-error-soft); }
.notice.success { color: var(--jh-success); background: var(--jh-success-soft); }
.notice p + p { margin-top: 8px; }
.note { color: var(--jh-text-secondary); font-size: var(--jh-text-sm); margin-top: 12px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; position: relative; padding-bottom: 24px; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; width: 1px; background: var(--jh-border); left: 11px; top: 26px; bottom: 4px; }
.timeline .marker { width: 24px; height: 24px; border: 1px solid var(--jh-control-border); border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.timeline .done .marker { background: var(--jh-brand); color: white; border-color: var(--jh-brand); }
.timeline .current .marker { border: 2px solid var(--jh-brand); color: var(--jh-brand); }
.timeline strong { display: block; font-weight: 400; }
.timeline small { display: block; color: var(--jh-text-secondary); margin-top: 4px; }
.readable { max-width: var(--jh-account-width); }
.form-width { max-width: var(--jh-form-width); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: var(--jh-text-lg); font-weight: 600; padding: 0; margin-bottom: 12px; }
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 20px; }
.stack > .field + .field, .tight > .field + .field { margin-top: 0; }
.save-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.field label, .field-label { font-weight: 500; }
legend.field-label { font-size: var(--jh-text-base); }
input:not([type=checkbox],[type=radio]), select, textarea { display: block; width: 100%; min-width: 0; border: 1px solid var(--jh-control-border); border-radius: var(--jh-radius-control); background-color: var(--jh-surface); min-height: var(--jh-control-height); padding: 12px 16px; line-height: 1.5; transition: border-color var(--jh-motion-fast), background-color var(--jh-motion-fast); }
select:not([multiple]):not([size]) { appearance: none; padding-inline-end: 48px; background-image: url('../icons/expand.svg'); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
input::placeholder, textarea::placeholder { color: var(--jh-text-muted); opacity: 1; }
input:disabled, select:disabled, textarea:disabled { background-color: var(--jh-surface-subtle); color: var(--jh-text-secondary); cursor: not-allowed; opacity: 1; }
input[readonly], textarea[readonly] { background-color: var(--jh-surface-subtle); }
input:not([type=checkbox],[type=radio]):focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--jh-focus); outline-offset: 2px; }
.field-help { color: var(--jh-text-secondary); font-size: var(--jh-text-sm); }
textarea { resize: vertical; min-height: 112px; }
input[type=file] { max-width: 100%; font-size: var(--jh-text-sm); padding: 8px; }
input::file-selector-button { border: 0; padding: 8px; margin-right: 8px; background: var(--jh-brand-soft); color: var(--jh-brand); border-radius: var(--jh-radius-control); font: inherit; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--jh-brand); flex-shrink: 0; margin: 0; }
.choice { cursor: pointer; }
.choice:has(input:checked) { background: var(--jh-brand-soft); }
.field-error { color: var(--jh-error); font-size: var(--jh-text-sm); }
[aria-invalid=true] { border-color: var(--jh-error) !important; }
.check-label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: var(--jh-text-sm); cursor: pointer; min-height: 44px; }
.check-label input { margin-top: 2px; }
.switch { appearance: none; width: 44px !important; height: 28px !important; border-radius: 16px; border: 1px solid var(--jh-control-border); background: var(--jh-surface-subtle); position: relative; }
.switch::before { content: ''; position: absolute; background: var(--jh-text-secondary); width: 20px; height: 20px; border-radius: 50%; left: 3px; top: 3px; transition: transform var(--jh-motion-fast); }
.switch:checked { background: var(--jh-brand); border-color: var(--jh-brand); }
.switch:checked::before { background: white; transform: translateX(16px); }
.search { margin-bottom: 24px; max-width: 480px; }
.empty { padding: 40px 0; display: grid; gap: 16px; }
.empty .actions { margin-top: 8px; }
details { background: var(--jh-surface); border-radius: var(--jh-radius-control); }
details + details { margin-top: 8px; }
summary { position: relative; cursor: pointer; min-height: 56px; padding: 16px 56px 16px 20px; font-weight: 500; list-style: none; overflow-wrap: anywhere; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 20px; top: 18px; width: 20px; height: 20px; background: var(--jh-text-secondary); mask: url('../icons/expand.svg') center / contain no-repeat; transition: transform var(--jh-motion-fast); }
details[open] > summary::after { transform: rotate(180deg); }
details > p { padding: 0 20px 20px; color: var(--jh-text-secondary); }
dialog { max-width: 480px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: var(--jh-radius-dialog); box-shadow: var(--jh-shadow-overlay); color: var(--jh-text); background: var(--jh-surface); }
dialog::backdrop { background: var(--jh-overlay); }
dialog h2 { margin-bottom: 16px; }
dialog .actions { margin-top: 24px; }
dialog p { color: var(--jh-text-secondary); }
.skeleton { height: 72px; background: var(--jh-surface-subtle); border-radius: var(--jh-radius-control); margin: 12px 0; }
@media (hover: hover) {
  a.row:hover, button.row:hover, .navigation a:hover, .choice:hover { background: var(--jh-brand-soft); }
  .button:hover:not(:disabled) { background: var(--jh-brand-hover); }
  .button.secondary:hover, .button.quiet:hover { background: var(--jh-brand-soft); }
}
@media (max-width: 1150px) { main { padding-inline: 32px; } .columns { grid-template-columns: 1fr; } .order-layout { grid-template-areas: 'assessment' 'quote' 'journey' 'shipping'; } }
@media (max-width: 959px) {
  .shell::before { display: none; }
  .shell { display: block; min-height: auto; padding-bottom: calc(var(--jh-navigation-height, calc(var(--jh-mobile-nav-height) + env(safe-area-inset-bottom))) + 16px); }
  .brand { padding: 24px; border: 0; }
  .brand span { margin-top: 4px; }
  main { padding: 24px 24px 32px; max-width: 900px; }
  .navigation { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(var(--jh-navigation-count,4),minmax(0,1fr)); padding: 2px max(6px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); min-height: calc(var(--jh-mobile-nav-height) + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--jh-border); background: var(--jh-surface); }
  .navigation a { position: relative; min-width: 0; flex-direction: column; justify-content: center; min-height: max(var(--jh-hit-area), calc(var(--jh-mobile-nav-height) - 6px)); padding: 4px 2px; margin: 0; gap: 2px; border-radius: 0; font-size: var(--jh-text-xs); line-height: 1.333333; text-align: center; transition: color var(--jh-motion-fast), background var(--jh-motion-fast); }
  .navigation a[aria-current] { background: transparent; }
  .navigation a > span:last-child { white-space: nowrap; }
  .navigation .navigation-icon .icon { width: 24px; height: 24px; }
  .navigation a[aria-current] .icon-outline { display: none; }
  .navigation a[aria-current] .icon-solid { display: block; }
  .navigation a[aria-current] .navigation-marker { display: block; position: absolute; top: -2px; left: calc(50% - var(--jh-mobile-nav-rail-width) / 2); width: var(--jh-mobile-nav-rail-width); height: var(--jh-mobile-nav-rail-height); border-radius: 0 0 2px 2px; background: var(--jh-brand); pointer-events: none; }
  .navigation a:focus-visible { outline-offset: -3px; }
  .navigation a:active { background: var(--jh-brand-soft); color: var(--jh-brand-hover); }
  .navigation.navigation--enlarged { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 4px; }
  @media (hover: hover) { .navigation a:hover { background: var(--jh-brand-soft); color: var(--jh-brand-hover); } }
  .shell-footer { padding: 0 24px 16px; border: 0; }
  .shell-footer span { display: none; }
  .columns { grid-template-columns: minmax(0,1.3fr) minmax(240px,1fr); gap: 24px; }
  .order-layout { grid-template-areas: 'assessment quote' 'journey shipping'; }
}
@media (max-width: 719px) { .columns { grid-template-columns: 1fr; } .order-layout { grid-template-areas: 'assessment' 'quote' 'journey' 'shipping'; } .page-head { flex-direction: column; gap: 16px; } }
@media (max-width: 599px) {
  .review-bar { padding: 8px 16px; flex-wrap: wrap; gap: 4px; }
  .review-bar > span { width: 100%; font-size: 12px; }
  .review-bar select { min-height: 44px; }
  .brand { padding: 24px 16px 16px; }
  main { padding: 16px 16px 32px; }
  .shell-footer { padding-inline: 16px; }
  .page-head { margin-bottom: 24px; }
  .row { padding: 16px; gap: 12px; }
  .group > .row + .row::before { inset-inline: 16px; }
  .inset { padding: 16px; }
  .actions > .button { flex-grow: 1; }
  .next-step { padding: 20px; }
  .data { gap: 16px; }
  dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) {
  select:not([multiple]):not([size]) { appearance: auto; background-image: none; }
  summary::after { background: CanvasText; }
}
