@charset "UTF-8";
:root {
  color-scheme: light;
  --background: #f7f7f5;
  --ink: #111111;
  --secondary: #62625e;
  --hairline: #e5e5e2;
  --surface: #ffffff;
  --stage: #eeeee9;
  --lime: #d6fa44;
  --next-surface: #eef3d8;
  --next-ink: #414c1b;
  --next-border: #dce4b5;
  --danger: #a12b23;
  --gutter: clamp(22px, 4.2vw, 72px);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0b0b0b;
  --ink: #f5f5f2;
  --secondary: #a0a09a;
  --hairline: #292929;
  --surface: #141414;
  --stage: #20201e;
  --danger: #fc9b8c;
  --next-surface: #2c321d;
  --next-ink: #e0ebbc;
  --next-border: #495430;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
button, input, select, textarea { border-radius: 0; }
button { border: 0; background: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lime); outline-offset: 5px;
}
::selection { background: var(--lime); color: #111; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; }
h1, h2, h3, .cover-type { overflow-wrap: anywhere; }
img { display: block; width: 100%; height: 100%; object-fit: contain; }
[hidden] { display: none !important; }
.wordmark { font-size: 32px; font-weight: 850; letter-spacing: -2px; line-height: 1; }
.site-header { height: 101px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hairline); }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.site-header nav a.active { text-decoration: underline; text-underline-offset: 7px; }
.nav-add { background: var(--ink); color: var(--background); padding: 0 20px; border-radius: 30px; }
.plus { font-size: 23px; font-weight: 300; line-height: 1; }
.nav-mobile { display: none; }
#main { min-height: 65vh; outline: none; }
.page { max-width: 1512px; margin: 0 auto; padding: 0 var(--gutter) 100px; }
.eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 1.7px; line-height: 1.5; }
.muted { color: var(--secondary); }
.page-intro { padding: 68px 0 56px; }
.page-intro h1 { font-size: clamp(46px, 6vw, 88px); letter-spacing: -.035em; line-height: 1.02; margin: 15px 0 20px; }
.page-intro p { color: var(--secondary); line-height: 1.6; font-size: 16px; }
.intro-bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-button { padding: 8px 0; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; line-height: 1.5; }
.text-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 17px 25px; min-height: 54px; border-radius: 30px; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--background); }
.primary-button:hover { opacity: .83; }
.lime-button { background: var(--lime); color: #111; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hairline); padding: 13px 22px; border-radius: 30px; min-height: 46px; font-size: 14px; }
.sample-notice { padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--hairline); font-size: 12px; color: var(--secondary); }
.sample-notice a { color: var(--ink); font-weight: 600; }
.sample-label { display: inline-flex; align-items: center; gap: 8px; }
.sample-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.journey-cover { display: block; position: relative; min-height: 500px; height: min(43vw, 640px); background: var(--stage); overflow: hidden; }
.journey-cover .cover-type { position: absolute; left: 5%; top: 15%; font-size: clamp(55px, 9vw, 144px); font-weight: 760; letter-spacing: -.04em; line-height: .95; color: var(--ink); z-index: 1; max-width: 58%; overflow-wrap: anywhere; }
.journey-cover .image-frame { position: absolute; right: 3%; width: 62%; height: 78%; top: 12%; z-index: 2; transition: transform .25s; }
.journey-cover:hover .image-frame { transform: scale(1.025) rotate(-1deg); }
.cover-caption { position: absolute; left: 5.5%; bottom: 10%; z-index: 3; max-width: 28%; line-height: 1.6; font-size: 13px; }
.cover-index { position: absolute; top: 25px; left: 5.5%; color: var(--secondary); }
.journey-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0 39px; }
.journey-meta > div:first-child { min-width: 0; }
.journey-card-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.journey-meta h2 { font-size: 26px; letter-spacing: -.9px; }
.journey-meta p { color: var(--secondary); font-size: 13px; margin-top: 7px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.journey-grid .journey-cover { height: 360px; min-height: auto; }
.journey-grid .cover-type { font-size: 65px; }
.new-journey-line { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--hairline); padding: 29px 0; }
.new-journey-line p { font-size: 23px; letter-spacing: -.7px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--secondary); margin-top: 30px; min-height: 32px; }
a.back-link::before, button.back-link::before { content: "←"; font-size: 18px; line-height: 1; }
.journey-intro { padding-top: 30px; padding-bottom: 34px; }
.journey-intro h1 { font-size: clamp(56px, 7.3vw, 106px); }
.journey-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--hairline); padding-top: 6px; margin-bottom: 54px; overflow-x: auto; }
.journey-tabs a { flex-shrink: 0; padding: 18px 0; font-size: 13px; color: var(--secondary); }
.journey-tabs a:first-child { color: var(--ink); border-bottom: 2px solid var(--ink); }
.journey-tabs span { font-size: 10px; margin-left: 5px; vertical-align: super; }
.section-heading { display: flex; gap: 20px; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.section-heading h2 { font-size: 25px; letter-spacing: -.8px; line-height: 1.2; }
.section-heading p { font-size: 14px; color: var(--secondary); }
.product-section { padding-bottom: 40px; scroll-margin-top: 24px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.product-tile { display: block; min-width: 0; }
.image-frame { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; min-height: 0; }
.image-frame > img { min-width: 0; min-height: 0; flex: 0 1 100%; object-fit: contain; object-position: center; }
.image-frame > img.small-original, .product-tile .image-frame > img.small-original { width: auto; height: auto; max-width: 100%; max-height: 100%; flex: 0 1 auto; }
.product-tile .image-frame { height: 350px; background: var(--stage); overflow: hidden; }
.product-tile .image-frame img { width: 100%; height: 100%; padding: 18px; transition: transform .25s ease; }
.product-tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.tile-info { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-top: 19px; }
.tile-info h3 { font-size: 18px; letter-spacing: -.35px; margin: 5px 0 8px; line-height: 1.35; }
.tile-info .eyebrow { font-size: 10px; color: var(--secondary); letter-spacing: 1.2px; }
.status-label { font-size: 12px; font-weight: 550; line-height: 1.4; color: var(--ink); background: var(--stage); border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 10px; display: inline-flex; align-items: center; }
/* A quiet cue in the caption, never a tint or overlay on the object. */
.status-label[data-status="want"], .status-control[data-status="want"] { color: var(--next-ink); background: var(--next-surface); border-color: var(--next-border); }
.journey-composition { display: grid; gap: 36px; }
.role-orbit { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr); gap: 24px; align-items: start; }
.role-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.role-products > :only-child { grid-column: 1 / -1; width: 100%; max-width: 780px; }
.role-primary .image-frame { height: clamp(300px, 32vw, 440px); }
.role-primary .tile-info h3 { font-size: 20px; line-height: 1.3; }
.role-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.role-satellites { display: grid; gap: 30px; max-width: 250px; width: 100%; margin-inline: auto; }
.accessory-panel { min-width: 0; scroll-margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.journey-browser-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.journey-browser-toolbar label { display: grid; gap: 8px; font-size: 13px; width: min(100%, 420px); }
.journey-browser-toolbar > span { font-size: 12px; padding-bottom: 13px; }
.journey-browser-toolbar input, .accessory-panel-heading input { width: 100%; min-height: 44px; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 13px; background: var(--surface); color: var(--ink); }
.item-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 22px 0; font-size: 13px; }
.page-range { color: var(--secondary); font-variant-numeric: tabular-nums; }
.page-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.page-buttons button { min-width: 36px; min-height: 40px; border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 11px; background: var(--background); }
.page-buttons button[aria-current="page"] { background: var(--ink); color: var(--background); border-color: var(--ink); }
.page-buttons button:disabled { opacity: .35; cursor: default; }
.page-buttons > span { color: var(--secondary); }
.many-accessories { align-items: start; }
.journey-large .role-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.journey-large .role-products > :only-child { grid-column: auto; max-width: none; }
.journey-large .role-products .image-frame { height: auto; aspect-ratio: 1; }
.journey-large .role-products h3 { font-size: 15px; }
.journey-large .role-products .tile-info { padding-top: 12px; }
.many-accessories > .role-primary { position: sticky; top: 24px; }
.many-accessories .role-satellites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; max-width: none; }
.many-accessories .role-accessory { --accessory-size: 104px; }
.many-accessories .role-accessory h3 { font-size: 13px; }
.many-accessories .role-accessory .eyebrow, .many-accessories .accessory-caption { display: none; }
.accessory-panel-heading { margin-bottom: 22px; }
.accessory-panel-heading h3 { font-size: 15px; margin-bottom: 12px; }
.accessory-panel .item-pagination, .arrange-page .item-pagination { font-size: 12px; }
.accessory-panel .page-buttons, .arrange-page .page-buttons { gap: 3px; }
.accessory-panel .page-buttons button, .arrange-page .page-buttons button { min-width: 30px; padding: 7px 9px; }
@media (max-width: 1000px) {
  .journey-large .role-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
}
@media (max-width: 680px) {
  .journey-browser-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .journey-browser-toolbar label { width: 100%; }
  .journey-browser-toolbar > span { font-size: 11px; }
  .page-buttons { gap: 3px; }
  .page-buttons button { padding: 8px; min-width: 32px; }
  .many-accessories > .role-primary { position: static; }
  .many-accessories .role-satellites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.role-accessories { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px; }
.role-accessory { --accessory-size: 180px; }
/* Match the white photo canvas so rectangular source backgrounds disappear.
   Keep contain (not cover) and a small inset; no source-image edits or tinting. */
.product-tile.role-accessory .image-frame { width: min(100%, var(--accessory-size)); height: auto; aspect-ratio: 1; border-radius: 50%; margin-inline: auto; background: #fff; }
.product-tile.role-accessory .image-frame.image-missing { background: var(--stage); }
.role-accessory .image-frame img { padding: 8px; }
.role-accessory .tile-info { padding-top: 12px; gap: 8px; }
.role-accessory .tile-info h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.15px; margin: 4px 0 7px; }
.role-accessory .tile-info .eyebrow { font-size: 9px; letter-spacing: 1px; }
.accessory-caption { color: var(--secondary); font-size: 11px; }
.role-accessory .image-fallback { padding: 18px; }
.role-accessory .image-fallback strong { font-size: 17px; letter-spacing: -.3px; }
.role-accessory .image-fallback small { display: none; }
.feature-product { position: relative; display: grid; grid-template-columns: 40% 60%; min-height: 530px; background: var(--stage); overflow: hidden; }
.feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 45px 0 45px 48px; z-index: 1; }
.feature-copy h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; margin: 14px 0 20px; overflow-wrap: break-word; }
.feature-copy p { color: var(--secondary); font-size: 14px; line-height: 1.65; max-width: 245px; margin-bottom: 38px; }
.feature-product .image-frame { height: 530px; }
.feature-product img { width: 100%; height: 100%; padding: 24px; transition: transform .25s; }
.feature-product:hover img { transform: scale(1.025); }
.featured-note { margin-top: 14px; font-size: 12px; color: var(--secondary); }
.order-strip { display: grid; grid-template-columns: 100px 1fr auto; gap: 25px; align-items: center; padding: 12px 25px 12px 10px; background: var(--stage); }
.order-strip .image-frame { height: 105px; }
.order-strip h3 { font-size: 18px; margin: 6px 0; letter-spacing: -.3px; }
.journey-list { border-top: 1px solid var(--hairline); }
.journey-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.journey-item .image-frame { height: 68px; background: var(--stage); padding: 4px; overflow: hidden; }
.journey-item .image-fallback { padding: 4px; }
.journey-item .image-fallback strong { font-size: 11px; line-height: 1.3; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.journey-item .image-fallback small { display: none; }
.journey-item h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.2px; margin-bottom: 5px; }
.journey-item .year { color: var(--secondary); font-size: 13px; }
.journey-add-line { padding: 20px 0; border-top: 0; gap: 20px; }
.journey-add-line p { font-size: 18px; letter-spacing: -.3px; }
.journey-add-line .text-button { font-size: 15px; }
.image-fallback { padding: 30px; color: var(--secondary); text-align: center; display: flex; flex-direction: column; gap: 12px; max-width: 100%; overflow-wrap: anywhere; }
.image-fallback strong { font-size: clamp(25px, 3vw, 50px); letter-spacing: -.05em; color: var(--ink); }
.image-fallback small { font-size: 12px; }
.image-frame.image-missing img { display: none; }
.image-frame .image-fallback { display: none; }
.image-frame.image-missing .image-fallback { display: flex; }
.empty-state { padding: 95px 0 120px; max-width: 640px; }
.empty-state h2 { font-size: clamp(43px, 6vw, 80px); letter-spacing: -.035em; line-height: 1; margin-bottom: 22px; }
.empty-state p { color: var(--secondary); margin: 0 0 28px; font-size: 17px; line-height: 1.6; }
.product-hero { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); align-items: start; margin-top: 24px; margin-bottom: 32px; }
.product-hero .image-frame { background: var(--stage); height: min(43vw, 580px); min-height: 300px; padding: 20px; }
.product-gallery, .product-media { min-width: 0; }
.photo-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 8px; }
.photo-thumbnails button { flex: 0 0 72px; height: 72px; background: var(--stage); border: 1px solid transparent; padding: 5px; }
.photo-thumbnails button[aria-pressed="true"] { border-color: var(--ink); }
.photo-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.price-snapshot p { margin: 0 0 7px; font-size: 25px; letter-spacing: -.7px; }
.price-snapshot small { color: var(--secondary); font-size: 11px; line-height: 1.65; }
.hero-copy { padding: 24px 0 24px 36px; min-width: 0; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.hero-copy .eyebrow { color: var(--secondary); letter-spacing: 2px; }
.hero-copy h1 { font-size: clamp(27px, 2.5vw, 36px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; margin: 12px 0 20px; overflow-wrap: break-word; }
.hero-copy h1.long-product-title { font-size: clamp(25px, 2vw, 30px); line-height: 1.25; }
.hero-copy .product-note { font-size: 15px; line-height: 1.6; max-width: 300px; margin: 18px 0; color: var(--secondary); }
.status-control { position: relative; display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: 28px; padding: 0 15px; }
.status-control select { color: inherit; background: transparent; border: 0; padding: 11px 22px 11px 0; font-size: 13px; font-weight: 550; min-height: 44px; cursor: pointer; }
.status-control select option { background: var(--background); color: var(--ink); }
.hero-actions { display: flex; gap: 8px 22px; margin-top: 20px; flex-wrap: wrap; }
.product-content { max-width: 1040px; margin: 0 auto; }
.detail-section { padding: 24px 0; border-top: 1px solid var(--hairline); }
.detail-section > h2 { font-size: 16px; margin-bottom: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.product-detail { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; }
.product-detail > h2 { margin: 8px 0 0; }
.detail-body { min-width: 0; }
.about-text { font-size: 17px; line-height: 1.65; white-space: pre-line; overflow-wrap: break-word; }
.feature-list { padding-left: 20px; margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.feature-list li { padding-left: 3px; margin: 5px 0; }
.spec-table { margin: 0; }
.spec-table:empty { display: none; }
.spec-row { display: grid; grid-template-columns: minmax(140px, 36%) minmax(0, 1fr); gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--hairline); line-height: 1.55; font-size: 16px; overflow-wrap: anywhere; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--secondary); }
.spec-row dd { margin: 0; white-space: pre-wrap; }
summary { cursor: pointer; font-size: 15px; padding: 10px 0; }
.more-specs { margin-top: 6px; }
.more-specs summary, .identifier-details summary { font-size: 15px; font-weight: 500; min-height: 44px; }
.product-detail summary span { color: var(--secondary); font-size: 13px; margin-left: 5px; }
.history-entry { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; padding: 8px 0; font-size: 16px; line-height: 1.55; }
.history-entry time { color: var(--secondary); font-size: 14px; }
.form-page { max-width: 680px; margin: 0 auto; padding: 65px 0 25px; }
.form-page h1 { font-size: clamp(45px, 6vw, 70px); line-height: 1; letter-spacing: -.035em; margin: 16px 0 23px; }
.form-intro { color: var(--secondary); line-height: 1.6; margin-bottom: 37px; max-width: 440px; font-size: 15px; }
.form-tabs { display: flex; border-bottom: 1px solid var(--hairline); margin: 36px 0; gap: 30px; }
.form-tabs button { padding: 12px 0; color: var(--secondary); font-size: 14px; }
.form-tabs .active { color: var(--ink); border-bottom: 2px solid var(--ink); }
.form-tabs { flex-wrap: wrap; }
.add-page { max-width: 720px; padding: 40px 0 20px; }
.add-page h1 { font-size: clamp(32px, 3.4vw, 42px); letter-spacing: -.045em; margin: 8px 0; }
.add-page .form-intro { margin: 0; font-size: 16px; }
.add-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border: 1px solid var(--hairline); background: var(--stage); border-radius: 12px; padding: 4px; margin: 24px 0; }
.add-tabs button { border: 0; border-radius: 8px; font-size: 15px; min-height: 44px; padding: 8px; }
.add-tabs button.active { background: var(--ink); color: var(--background); border: 0; }
.add-page fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.add-page .field { gap: 8px; margin-bottom: 12px; }
.add-page .field > span, .field-label { font-size: 15px; font-weight: 500; }
.field-label { margin-bottom: 8px; }
.add-page .field input, .add-page .field select { min-height: 48px; padding: 12px 14px; font-size: 16px; border-radius: 6px; }
.add-page .form-hint { font-size: 14px; line-height: 1.5; }
.add-destination { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.add-destination > .text-button { padding-top: 0; font-size: 14px; }
.add-page .form-actions { margin-top: 20px; gap: 24px; }
.add-page .primary-button { min-height: 48px; padding: 13px 24px; font-size: 15px; }
.catalog-picker { border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); margin-bottom: 10px; }
.catalog-picker > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; list-style: none; min-height: 52px; font-size: 16px; }
.catalog-picker > summary::-webkit-details-marker { display: none; }
.picker-chevron { font-size: 22px; line-height: 1; color: var(--secondary); }
.catalog-picker[open] .picker-chevron { transform: rotate(180deg); }
[data-catalog-selection] { display: flex; gap: 12px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
[data-catalog-selection] .image-frame { width: 42px; height: 38px; flex-shrink: 0; }
.catalog-panel { border-top: 1px solid var(--hairline); }
.catalog-filter { padding: 12px 12px 0; }
.catalog-filter .field > span { font-size: 13px; color: var(--secondary); }
.catalog-count { font-size: 12px; color: var(--secondary); padding: 0 14px 8px; }
.catalog-results { max-height: 290px; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 6px; }
.catalog-result { display: grid; grid-template-columns: 54px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px 8px; width: 100%; text-align: left; border-radius: 5px; border-bottom: 1px solid var(--hairline); }
.catalog-result:hover, .catalog-result[aria-pressed="true"] { background: var(--stage); }
.catalog-result:focus-visible { outline-offset: -3px; }
.catalog-result .image-frame { height: 48px; background: var(--stage); padding: 3px; }
.catalog-result .image-fallback { padding: 0; }
.catalog-result .image-fallback strong { font-size: 11px; letter-spacing: 0; }
.catalog-result .image-fallback small { display: none; }
.catalog-result-copy { min-width: 0; }
.catalog-result strong { display: block; font-size: 15px; font-weight: 550; line-height: 1.4; overflow-wrap: anywhere; }
.catalog-result-copy > span { display: block; font-size: 12px; color: var(--secondary); margin-top: 3px; }
.catalog-check { color: var(--secondary); }
.catalog-more { width: 100%; justify-content: center; min-height: 44px; }
.catalog-empty { padding: 18px 12px; font-size: 15px; line-height: 1.5; }
.catalog-empty > span { display: block; font-size: 13px; color: var(--secondary); margin-top: 5px; }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.field > span { font-size: 13px; }
.field input, .field select, .field textarea, .spec-editor input {
  width: 100%; min-height: 53px; background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); padding: 14px 15px; font-size: 15px;
}
.field input::placeholder, .field textarea::placeholder, .spec-editor input::placeholder { color: var(--secondary); opacity: .8; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field small, .form-hint { font-size: 12px; color: var(--secondary); line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.entry-options { grid-template-columns: 1.2fr 1fr 1fr; }
.form-actions { display: flex; align-items: center; gap: 26px; margin-top: 35px; }
.form-error { font-size: 14px; color: var(--danger); line-height: 1.5; padding: 0 0 20px; }
.form-error:empty { display: none; }
.error-actions { display: block; margin-top: 10px; }
.error-actions .text-button { font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
[aria-invalid="true"] { border-color: var(--danger); }
.danger-button { color: var(--danger); }
.form-divider { margin: 40px 0 24px; border-top: 1px solid var(--hairline); padding-top: 28px; }
.form-divider h2 { font-size: 21px; letter-spacing: -.5px; }
.spec-editor { display: grid; grid-template-columns: 1fr 1.3fr 35px; gap: 10px; margin-top: 12px; align-items: center; }
.spec-editor button { font-size: 22px; min-height: 44px; color: var(--secondary); }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; min-height: 620px; padding-top: 65px; }
.auth-art { background: var(--stage); position: relative; overflow: hidden; }
.auth-art h2 { font-size: clamp(46px, 6.3vw, 86px); letter-spacing: -.07em; line-height: .96; padding: 40px; position: relative; z-index: 2; }
.auth-art .image-frame { position: absolute; bottom: -8%; right: -14%; width: 110%; height: 86%; }
.auth-layout .form-page { max-width: 440px; padding: 50px 0; width: 100%; }
.auth-layout .form-page h1 { font-size: 53px; }
.auth-layout .primary-button { width: 100%; }
.auth-switch { margin-top: 28px; font-size: 13px; line-height: 1.8; color: var(--secondary); }
.auth-switch a { color: var(--ink); border-bottom: 1px solid; }
.profile-email { font-size: 18px; padding: 0 0 30px; color: var(--secondary); }

/* Public Journeys have their own owner-attributed cover, not the account view. */
.profile-avatar { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--stage); color: var(--ink); border: 1px solid var(--hairline); }
.profile-avatar > span { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-photo-form { margin: 0 0 28px; padding: 24px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); }
.profile-photo-row { display: flex; align-items: flex-start; gap: 24px; }
.profile-photo-copy { flex: 1; min-width: 0; }
.profile-photo-copy h2 { font-size: 20px; margin-bottom: 6px; }
.profile-photo-copy > p { font-size: 14px; line-height: 1.5; color: var(--secondary); }
.profile-photo-copy .field { margin: 18px 0 8px; }
.profile-photo-copy input[type="file"] { max-width: 100%; width: 100%; padding: 10px; font-size: 13px; }
.profile-photo-copy input::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--background); color: var(--ink); cursor: pointer; }
.profile-photo-form .form-actions { margin-top: 16px; gap: 16px; flex-wrap: wrap; }
.profile-photo-form .form-error:empty { display: none; }
.profile-photo-form .form-hint { margin-top: 8px; }
.shared-nav-label { font-size: 13px; color: var(--secondary); }
.shared-journey-page { max-width: 1440px; }
.shared-journey-hero { padding: 34px 0 32px; }
.shared-owner { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.shared-owner-copy { min-width: 0; }
.shared-owner .eyebrow { font-size: 11px; margin-bottom: 8px; }
.shared-owner-name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.shared-readonly { margin-left: auto; padding: 9px 13px; border: 1px solid var(--hairline); border-radius: 20px; font-size: 12px; color: var(--secondary); white-space: nowrap; }
.shared-journey-hero h1 { font-size: clamp(36px, 5.8vw, 80px); letter-spacing: -.035em; line-height: 1.06; max-width: 1000px; }
.shared-introduction { max-width: 720px; margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--secondary); overflow-wrap: anywhere; white-space: pre-line; }
.shared-summary { margin-top: 20px; font-size: 13px; color: var(--secondary); overflow-wrap: anywhere; }
.shared-journey-page .journey-tabs { margin-bottom: 32px; }
.shared-journey-page .product-section { margin-top: 32px; }
.shared-journey-page .section-heading { margin-bottom: 22px; }
.shared-journey-page .product-tile:hover .image-frame img { transform: none; }
.shared-item { position: relative; }
.shared-item-trigger { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border-radius: 10px; cursor: pointer; }
.shared-item-trigger:focus-visible { outline-offset: 4px; }
.shared-colophon { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 20px; color: var(--secondary); font-size: 13px; overflow-wrap: anywhere; }
.shared-empty { border-block: 1px solid var(--hairline); padding: 36px 0; font-size: 17px; line-height: 1.6; color: var(--secondary); }
@media (max-width: 680px) {
  .profile-photo-form { padding: 18px; }
  .profile-photo-row { flex-direction: column; gap: 16px; }
  .profile-photo-copy { width: 100%; }
  .shared-journey-hero { padding-top: 20px; }
  .shared-owner { gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
  .shared-owner .profile-avatar { width: 72px; height: 72px; }
  .shared-owner-copy { flex: 1; }
  .shared-readonly { margin-left: 86px; margin-top: -4px; padding: 0; border: 0; flex-basis: 100%; }
  .shared-introduction { font-size: 16px; }
  .shared-summary { font-size: 12px; }
  .shared-colophon { flex-direction: column; gap: 8px; }
  .shared-nav-label { display: none; }
}
.theme-options { display: flex; gap: 10px; margin-top: 20px; }
.theme-options button[aria-pressed="true"] { background: var(--lime); color: #111; border-color: var(--lime); }
.site-footer { display: flex; align-items: center; gap: 30px; margin: 0 var(--gutter); border-top: 1px solid var(--hairline); min-height: 115px; color: var(--secondary); font-size: 12px; }
.site-footer .wordmark { font-size: 24px; color: var(--ink); letter-spacing: -1.4px; }
.site-footer button { margin-left: auto; font-size: 12px; }
.toast { position: fixed; z-index: 30; bottom: 30px; left: 50%; transform: translate(-50%, 16px); background: var(--ink); color: var(--background); padding: 14px 24px; border-radius: 30px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 36px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.gotem-moment { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; pointer-events: none; font-size: clamp(100px, 20vw, 280px); font-weight: 850; letter-spacing: -.085em; opacity: 0; background: var(--lime); color: #111; }
.gotem-moment.visible { animation: gotem 1.25s ease both; }
@keyframes gotem { 0%, 100% { opacity: 0; transform: scale(.98); } 15%, 75% { opacity: .98; transform: scale(1); } }
dialog { max-width: 520px; width: calc(100vw - 36px); border: 0; background: var(--background); color: var(--ink); padding: 40px; }
dialog::backdrop { background: #0008; backdrop-filter: blur(3px); }
dialog h2 { font-size: 38px; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 22px; }
dialog p { font-size: 15px; line-height: 1.7; color: var(--secondary); }
.dialog-close { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; font-size: 26px; }
.loading { padding: 90px var(--gutter); color: var(--secondary); }
.skip-link { position: absolute; z-index: 50; transform: translateY(-200%); background: var(--lime); color: #111; padding: 15px; left: 20px; }
.skip-link:focus { transform: translateY(0); }
/* Public introduction and illustrated examples. */
.guest-header { height: 86px; border-bottom: 0; }
.guest-header nav { flex: 1; margin-left: 48px; justify-content: space-between; }
.guest-browse, .guest-account { display: flex; align-items: center; gap: 32px; }
.landing-page { max-width: 1600px; padding-bottom: 30px; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: 28px; padding: 42px 0 50px; }
.landing-copy .eyebrow { color: var(--secondary); }
.landing-copy h1 { font-size: clamp(50px, 6.1vw, 92px); letter-spacing: -.04em; line-height: .98; font-weight: 750; margin: 24px 0; }
.landing-intro { font-size: 16px; color: var(--secondary); line-height: 1.65; }
.landing-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.landing-cta .primary-button { min-height: 48px; padding: 13px 26px; }
.landing-visual { min-width: 0; }
.landing-demo-note { color: var(--secondary); font-size: 11px; line-height: 1.6; margin-top: 25px; }
.auth-art > .demo-frame { position: relative; width: 100%; height: auto; margin-top: 20px; }
@media (max-width: 1000px) {
  .landing-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .landing-copy h1 { font-size: clamp(48px, 6.5vw, 65px); }
}
@media (max-width: 680px) {
  .guest-header nav { flex: 0 1 auto; margin-left: 16px; }
  .guest-browse { display: none; }
  .guest-account { gap: 14px; }
  .landing-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 30px 0; }
  .landing-copy h1 { font-size: clamp(40px, 10.8vw, 70px); margin: 18px 0; }
  .landing-intro { font-size: 14px; }
  .landing-cta { gap: 12px 22px; margin-top: 20px; }
  .landing-cta .primary-button { padding-inline: 20px; font-size: 13px; }
  .landing-cta .text-button { font-size: 13px; }
  .landing-visual { max-width: 450px; width: 100%; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .site-header { height: 85px; }
  .feature-copy { padding-left: 30px; }
  .feature-product, .feature-product .image-frame { min-height: 420px; height: 420px; }
  .product-tile .image-frame { height: 300px; }
  .hero-copy { padding-left: 28px; }
  .journey-cover { min-height: 420px; }
  .cover-caption { max-width: 32%; }
}
@media (max-width: 680px) {
  .site-header { height: 77px; }
  .wordmark { font-size: 29px; }
  .site-header nav { gap: 20px; font-size: 12px; }
  .site-header nav .nav-journeys { display: none; }
  .nav-add { padding: 0 13px; }
  .nav-add .nav-label { display: none; }
  .nav-mobile { display: inline; }
  .sample-notice { font-size: 10px; gap: 10px; padding-top: 11px; padding-bottom: 11px; }
  .page { padding-bottom: 60px; }
  .page-intro { padding-top: 42px; padding-bottom: 32px; }
  .page-intro h1 { font-size: 52px; }
  .page-intro p { font-size: 14px; }
  .intro-bottom { align-items: start; flex-direction: column; gap: 16px; }
  .journey-cover { min-height: 460px; height: 117vw; max-height: 540px; }
  .journey-cover .cover-type { font-size: clamp(36px, 12.5vw, 52px); left: 7%; top: 15%; max-width: 90%; }
  .journey-cover .image-frame { width: 94%; height: 60%; right: 3%; top: 37%; }
  .cover-index { left: 7%; }
  .cover-caption { top: 30%; bottom: auto; left: 7%; max-width: 68%; font-size: 11px; }
  .journey-meta { padding: 20px 0 35px; }
  .journey-meta h2 { font-size: 23px; }
  .journey-grid { grid-template-columns: 1fr; gap: 10px; }
  .journey-grid .journey-cover { height: 400px; }
  .new-journey-line { align-items: start; gap: 20px; }
  .new-journey-line p { font-size: 19px; }
  .new-journey-line .text-button { padding: 0; white-space: nowrap; font-size: 12px; }
  .journey-intro { padding-top: 15px; }
  .journey-intro h1 { font-size: 58px; }
  .journey-tabs { gap: 25px; margin-bottom: 36px; }
  .journey-tabs a { font-size: 12px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading p { font-size: 13px; max-width: 45%; text-align: right; line-height: 1.5; }
  .product-grid { grid-template-columns: 1fr; gap: 35px; }
  .product-tile .image-frame { height: 95vw; max-height: 450px; }
  .role-orbit, .role-products { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .role-primary .image-frame { height: min(80vw, 370px); }
  .role-primary .tile-info h3 { font-size: 19px; }
  .role-satellites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: none; padding-left: 30px; }
  .role-accessories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .role-accessory { --accessory-size: 130px; }
  .role-accessory .image-frame img { padding: 6px; }
  .product-section { padding-bottom: 32px; }
  .feature-product { display: flex; flex-direction: column-reverse; height: auto; min-height: 0; }
  .feature-product .image-frame { height: 90vw; min-height: 0; max-height: 390px; }
  .feature-product img { width: 100%; height: 100%; margin: 0; }
  .feature-copy { padding: 0 28px 35px; }
  .feature-copy h3 { font-size: 27px; margin-bottom: 18px; }
  .feature-copy p { margin: 22px 0; max-width: 90%; }
  .feature-copy .text-button { margin-top: 10px; }
  .order-strip { grid-template-columns: 75px 1fr 20px; gap: 14px; padding-right: 20px; }
  .order-strip h3 { font-size: 17px; }
  .order-strip .image-frame { height: 95px; }
  .journey-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
  .journey-item h3 { font-size: 16px; }
  .journey-item .image-frame { height: 64px; }
  .product-hero { grid-template-columns: 1fr; margin-top: 17px; margin-bottom: 36px; }
  .product-hero .image-frame { height: 90vw; min-height: 0; max-height: 450px; padding: 12px; }
  .hero-copy { padding: 24px 0 8px; }
  .hero-copy h1 { font-size: 28px; max-width: 100%; }
  .hero-copy h1.long-product-title { font-size: 25px; }
  .hero-copy .product-note { max-width: 100%; }
  .about-text { font-size: 16px; }
  .detail-section { padding: 20px 0; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .product-detail > h2 { margin-top: 0; }
  .spec-row { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px; font-size: 15px; }
  .history-entry { grid-template-columns: 115px minmax(0, 1fr); gap: 14px; font-size: 15px; }
  .history-entry time { font-size: 13px; }
  .form-page { padding-top: 45px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .add-page { padding-top: 28px; }
  .add-tabs { margin: 20px 0; }
  .add-tabs button { font-size: 13px; padding: 8px 5px; }
  .catalog-results { max-height: 260px; }
  .journey-add-line p { font-size: 16px; }
  .form-actions { flex-wrap: wrap; }
  .auth-layout { display: block; padding-top: 0; min-height: auto; }
  .auth-art { display: none; }
  .auth-layout .form-page { padding-top: 55px; }
  .site-footer { flex-wrap: wrap; gap: 18px; min-height: 110px; }
  .site-footer span:nth-child(2) { font-size: 10px; }
  .site-footer button { font-size: 10px; }
  dialog { padding: 35px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .gotem-moment.visible { opacity: 1; }
}

/* Primary Journey tools are always visible; destructive actions live in the list. */
.journey-actions { display: flex; flex-direction: column; align-items: end; gap: 5px; flex-shrink: 0; }
.journey-primary-actions { display: flex; align-items: stretch; gap: 10px; }
.journey-primary-actions > * { min-height: 48px; padding: 13px 21px; font-size: 14px; }
.journey-primary-actions .journey-share-icon { width: 60px; height: 60px; min-height: 60px; padding: 0; flex: 0 0 60px; }
.journey-share-icon svg { display: block; }
.journey-primary-actions .secondary-button { border-color: var(--secondary); }
.journey-primary-actions .secondary-button:hover { background: var(--stage); }
.journey-edit { font-size: 12px; color: var(--secondary); min-height: 44px; }
.journey-overflow { position: relative; flex-shrink: 0; }
.journey-overflow > summary { cursor: pointer; list-style: none; border: 1px solid var(--hairline); border-radius: 50%; width: 44px; height: 44px; font-size: 27px; font-weight: 650; display: grid; place-items: center; }
.journey-overflow > summary::-webkit-details-marker { display: none; }
.journey-overflow > summary:hover, .journey-overflow[open] > summary { background: var(--stage); }
.journey-overflow-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; width: 220px; padding: 7px; background: var(--background); border: 1px solid var(--hairline); box-shadow: 0 12px 30px #00000012; border-radius: 10px; }
.journey-overflow-menu > * { display: block; width: 100%; text-align: left; min-height: 44px; padding: 13px 12px; font-size: 14px; border-radius: 5px; }
.journey-overflow-menu > *:hover { background: var(--stage); }
.journey-overflow-menu > :last-child { border-top: 1px solid var(--hairline); border-radius: 0; margin-top: 5px; }
.arrange-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 24px 0 18px; }
.arrange-heading h1 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.04em; margin: 10px 0; }
.arrange-heading p:not(.eyebrow), .arrange-panel > p, .arrange-note { font-size: 14px; line-height: 1.65; color: var(--secondary); }
.arrange-heading .form-actions { flex-shrink: 0; margin: 0; }
.arrange-page .primary-button { font-size: 14px; padding: 14px 22px; }
.arrange-note { padding: 14px 18px; border: 1px solid var(--hairline); border-radius: 8px; }
.arrange-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; margin: 24px 0; }
.arrange-panel { min-width: 0; border: 1px solid var(--hairline); padding: 22px; border-radius: 12px; }
.arrange-panel h2 { font-size: 19px; letter-spacing: -.35px; margin: 0 0 10px; }
.arrange-panel .field { margin: 18px 0 10px; }
.arrange-panel .field span { font-size: 12px; }
.arrange-panel .field input { font-size: 14px; padding: 12px 14px; min-height: 44px; }
.arrange-panel > p { min-height: 46px; overflow-wrap: anywhere; }
.arrange-results { max-height: 540px; overflow-y: auto; overscroll-behavior: contain; }
.arrange-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--hairline); padding: 12px 0; min-width: 0; }
.arrange-row .image-frame, .match-select .image-frame { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 6px; background: #fff; overflow: hidden; }
.arrange-row .image-frame.image-missing, .match-select .image-frame.image-missing { background: var(--stage); }
.arrange-row .image-frame img, .match-select .image-frame img { width: 100%; height: 100%; padding: 4px; }
.arrange-row .image-fallback, .match-select .image-fallback { padding: 5px; }
.arrange-row .image-fallback strong, .match-select .image-fallback strong { font-size: 9px; line-height: 1.1; letter-spacing: 0; }
.arrange-row .image-fallback small, .match-select .image-fallback small { display: none; }
.arrange-row-copy { flex: 1; min-width: 0; }
.arrange-row strong, .match-select strong { display: block; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.arrange-row small, .match-select small { display: block; color: var(--secondary); font-size: 11px; margin: 4px 0; }
.arrange-row .text-button { font-size: 12px; min-height: 44px; flex-shrink: 0; padding: 4px; }
.arrange-empty { font-size: 13px; line-height: 1.65; color: var(--secondary); padding: 18px 0; }
.main-product-picker > summary { cursor: pointer; padding: 12px 15px; border: 1px solid var(--hairline); border-radius: 6px; font-size: 14px; }
.main-product-picker .arrange-results { max-height: 250px; }
.match-group { margin-top: 16px; padding: 14px; border: 1px solid var(--hairline); border-radius: 8px; }
.match-group.selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.match-group-heading { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.match-select { display: flex; gap: 12px; align-items: center; min-width: 0; text-align: left; flex: 1; }
.match-group-heading > .text-button { font-size: 11px; max-width: 65px; min-height: 44px; }
.matched-accessories { margin: 12px 0 0 18px; border-left: 1px solid var(--hairline); padding-left: 14px; }
.matched-accessories .arrange-row:last-child { border-bottom: 0; }
.matched-accessories .arrange-row .image-frame { width: 40px; height: 40px; flex-basis: 40px; }
.group-empty { text-align: center; padding: 35px 20px; }
.group-empty strong { color: var(--ink); }
.share-state { border-block: 1px solid var(--hairline); padding: 18px 0; margin: 18px 0; font-size: 14px; }
.share-state input { font-size: 13px; }
@media (max-width: 900px) {
  .arrange-columns { grid-template-columns: 1fr 1fr; gap: 16px; }
  .arrange-panel { padding: 16px; }
  .arrange-row { flex-wrap: wrap; }
  .arrange-row > button { margin-left: auto; }
  .arrange-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  .journey-actions { align-items: stretch; width: 100%; }
  .journey-primary-actions { display: grid; grid-template-columns: 60px minmax(0, 1fr); }
  .journey-primary-actions > * { padding: 13px 10px; font-size: 13px; }
  .journey-edit { align-self: end; }
  .journey-card-actions > .text-button { display: none; }
  .arrange-columns { display: flex; flex-direction: column; }
  .arrange-panel { width: 100%; }
  .arrange-results { max-height: 330px; }
  .arrange-panel > p { min-height: 0; }
  .arrange-heading .form-actions { width: 100%; justify-content: space-between; }
  .arrange-row { flex-wrap: nowrap; }
  .match-group { padding: 10px; }
}

/* Application component families: clear controls and consistent photo stages. */
:root { --control-radius: 8px; --overlay-radius: 12px; --photo-surface: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: var(--ink); }
.text-button, summary, .dialog-close { min-height: 44px; }
.dialog-close { min-width: 44px; }
.field input, .field select, .field textarea, .journey-browser-toolbar input, .accessory-panel-heading input, .arrange-panel .field input {
  min-height: 50px; padding: 13px 14px; font-size: 16px; line-height: 1.4; border: 1px solid var(--secondary); border-radius: var(--control-radius); background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 110px; }
.primary-button, .secondary-button { min-height: 48px; padding: 12px 22px; gap: 10px; }
.secondary-button { border-color: var(--secondary); }
.form-page h1, .empty-state h2 { letter-spacing: -.035em; }
.form-intro { margin-bottom: 24px; }
.home-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px 0 30px; }
.home-heading h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.035em; }
.journey-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.journey-index-card { min-width: 0; }
.journey-index-cover { display: flex; align-items: center; justify-content: center; height: 200px; background: var(--photo-surface); border: 1px solid var(--hairline); }
.journey-index-cover .image-frame { width: 100%; height: 100%; padding: 16px; }
.journey-index .journey-meta { padding: 16px 0; align-items: start; gap: 12px; }
.journey-index h2 { font-size: 22px; letter-spacing: -.025em; }
.journey-index-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-page .empty-state { padding: 32px 0 80px; }
.home-page .empty-state h2 { font-size: 32px; line-height: 1.2; }
.back-link { margin-top: 16px; min-height: 44px; }
.journey-intro { padding: 12px 0 20px; }
.journey-intro h1 { font-size: clamp(38px, 4.7vw, 64px); margin: 4px 0 12px; }
.journey-tabs, .shared-journey-page .journey-tabs { gap: 20px; margin-bottom: 24px; padding-top: 0; padding-inline: 4px; }
.journey-tabs button { flex-shrink: 0; min-height: 48px; font-size: 14px; padding: 12px 0; border-bottom: 2px solid transparent; color: var(--secondary); }
.journey-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.journey-tabs span { font-size: 12px; vertical-align: baseline; margin-left: 7px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2 { font-size: 20px; letter-spacing: -.02em; }
.journey-composition { gap: 30px; }
.role-orbit { align-items: start; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); padding-bottom: 28px; border-bottom: 1px solid var(--hairline); gap: 24px; }
.role-satellites { max-width: none; gap: 18px; margin: 0; }
.role-products { align-items: start; }
.product-tile .image-frame, .product-hero .image-frame, .product-tile.role-accessory .image-frame, .photo-thumbnails button { background: var(--photo-surface); border-radius: 0; border: 1px solid var(--hairline); }
.product-tile .image-frame { height: clamp(240px, 25vw, 340px); padding: 16px; }
.image-frame > img, .product-tile .image-frame > img, .product-tile .image-frame > img.small-original { width: auto; height: auto; max-width: 100%; max-height: 100%; flex: 0 1 auto; padding: 0; transform: none; }
.product-tile:not(.role-accessory) .image-frame[data-proportion="wide"], .product-hero .image-frame[data-proportion="wide"] { height: clamp(150px, 16vw, 230px); min-height: 0; aspect-ratio: auto; }
.product-tile .image-frame[data-proportion="tall"] { height: 350px; }
.product-tile .image-frame.image-missing { background: var(--stage); }
.role-accessory { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; }
.product-tile.role-accessory .image-frame { width: 110px; height: 110px; aspect-ratio: 1; padding: 8px; margin: 0; }
.role-accessory .tile-info { padding: 4px 0 0; }
.role-accessory .image-fallback strong { font-size: 12px; letter-spacing: 0; }
.role-accessory .image-fallback { padding: 5px; }
.role-primary .tile-info h3 { font-size: 20px; }
.grouped-reference { font-size: 12px; color: var(--secondary); line-height: 1.5; }
.many-accessories > .role-primary { position: static; }
.many-accessories .role-satellites { grid-template-columns: 1fr; }
.journey-large .role-products .image-frame { height: 210px; aspect-ratio: auto; }
.journey-large .role-products .image-frame[data-proportion="wide"] { height: 140px; }
.journey-large .role-products .image-frame[data-proportion="tall"] { height: 260px; }
.image-fallback strong { font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.image-fallback small { font-size: 13px; }
.status-control { border-radius: var(--control-radius); padding: 0; min-width: 200px; border-color: var(--secondary); background: var(--surface); }
.status-control select { width: 100%; padding: 13px 16px; min-height: 50px; font-size: 16px; }
.price-snapshot p { font-size: 16px; letter-spacing: 0; margin: 0 0 4px; }
.price-snapshot small { font-size: 13px; }
.about-text { font-size: 16px; line-height: 1.65; }
.product-variant { font-size: 15px; margin-bottom: 8px; }
.source-options { margin-top: 10px; }
.source-options .text-button { color: var(--secondary); }
.import-notice, .import-progress { font-size: 14px; line-height: 1.6; padding: 14px 16px; border: 1px solid var(--hairline); margin-top: 18px; border-radius: var(--control-radius); }
.import-progress::before { content: ''; display: inline-block; width: 12px; height: 12px; border: 2px solid var(--hairline); border-top-color: var(--ink); border-radius: 50%; margin-right: 9px; animation: import-spin 1s linear infinite; }
@keyframes import-spin { to { transform: rotate(360deg); } }
.form-error .secondary-button { margin-top: 12px; color: var(--ink); }
.shared-journey-hero { padding: 30px 0 22px; }
.shared-journey-hero h1 { font-size: clamp(38px, 4.7vw, 64px); }
.shared-owner { gap: 10px; margin: 16px 0 0; }
.shared-owner .profile-avatar { width: 48px; height: 48px; }
.shared-owner .profile-avatar > span { font-size: 18px; }
.shared-owner-name { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.shared-introduction { margin-top: 12px; font-size: 16px; }
.shared-summary { margin-top: 8px; }
.shared-journey-page .product-section { margin-top: 0; }
.shared-item-trigger { border-radius: 0; text-align: right; display: flex; align-items: end; justify-content: end; }
.shared-item-trigger > span { font-size: 12px; padding: 6px 8px; background: var(--background); color: var(--secondary); }
.shared-item .tile-info { padding-bottom: 28px; }
.shared-item-trigger:hover > span { color: var(--ink); text-decoration: underline; }
dialog { max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid var(--hairline); border-radius: var(--overlay-radius); box-shadow: 0 16px 60px #0003; }
dialog h2 { font-size: 30px; letter-spacing: -.03em; line-height: 1.2; margin-top: 8px; }
.shared-item-preview { width: min(640px, calc(100vw - 32px)); max-width: 640px; padding: 52px 32px 32px; }
.shared-item-preview:not([open]) { display: none; }
.shared-item-preview [data-preview-image] .image-frame { height: 230px; padding: 20px; background: var(--photo-surface); margin: 16px 0; border: 1px solid var(--hairline); }
.shared-item-preview h2 { margin: 8px 0 10px; }
.shared-item-preview h3 { font-size: 15px; margin: 22px 0 8px; }
.shared-item-preview .about-text { color: var(--ink); }
.share-state:empty { display: none; }
.share-state { border: 0; margin: 16px 0; padding: 0; }
.share-fields { border-top: 1px solid var(--hairline); margin-top: 22px; padding-top: 8px; }
.share-fields p { font-size: 13px; margin: 8px 0; }
.preview-notice { padding: 8px var(--gutter); border-bottom: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 14px; }
.draft-state { font-size: 13px; margin: 14px 0; color: var(--secondary); }
.composition-preview { border: 1px solid var(--hairline); padding: 22px; margin-top: 18px; }
.composition-preview > h2 { font-size: 17px; margin-bottom: 20px; }
.composition-preview .role-orbit { border: 0; padding: 0; max-width: 860px; }
.composition-preview .role-primary .image-frame { height: 220px; }
.composition-preview .role-satellites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.composition-preview .role-accessory { display: block; }
.composition-preview .role-accessory .image-frame { width: 100%; height: 90px; }
.composition-preview .role-primary h3 { font-size: 17px; }
.composition-preview .role-accessory h3 { font-size: 13px; }
.arrange-heading .form-actions { position: sticky; top: 12px; }
.arrange-row .text-button { max-width: 130px; text-align: left; font-size: 12px; }
@media (max-width: 1000px) { .journey-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .home-heading { padding: 26px 0; align-items: start; flex-wrap: wrap; }
  .journey-index { grid-template-columns: 1fr; gap: 20px; }
  .journey-index-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--hairline); padding-bottom: 20px; }
  .journey-index-cover { height: 110px; }
  .journey-index .journey-meta { padding: 0; gap: 8px; }
  .journey-index h2 { font-size: 19px; }
  .journey-intro { padding: 8px 0 16px; }
  .journey-intro h1 { font-size: 42px; }
  .journey-tabs { gap: 20px; }
  .journey-tabs button { font-size: 13px; }
  .role-orbit { grid-template-columns: 1fr; gap: 16px; }
  .role-orbit > .accessory-panel { border-left: 2px solid var(--hairline); padding-left: 16px; margin-left: 8px; }
  .role-satellites { grid-template-columns: 1fr; padding-left: 0; gap: 16px; }
  .role-accessory { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
  .product-tile.role-accessory .image-frame { width: 90px; height: 90px; }
  .product-tile .image-frame { height: 280px; }
  .product-tile:not(.role-accessory) .image-frame[data-proportion="wide"], .product-hero .image-frame[data-proportion="wide"] { height: 150px; }
  .journey-large .role-products .image-frame { height: 165px; padding: 8px; }
  .journey-large .role-products .image-frame[data-proportion="tall"] { height: 210px; }
  .composition-preview { padding: 16px; }
  .composition-preview .role-satellites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .composition-preview .role-accessory .image-frame { width: 100%; }
  .arrange-row { flex-wrap: wrap; }
  .arrange-row > button { margin-left: 64px; }
  .shared-item-preview { padding: 52px 24px 24px; }
  .shared-item-preview [data-preview-image] .image-frame { height: 190px; }
  .preview-notice { flex-wrap: wrap; gap: 0; }
  .empty-state h2 { font-size: 38px; }
}

/* A personal journey: open surfaces, visible chapters, quieter maintenance. */
.journey-filter { position: relative; width: fit-content; margin: 0 0 24px auto; z-index: 4; }
.journey-filter > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; line-height: 1; font-size: 13px; color: var(--secondary); list-style: none; }
.journey-filter > summary::-webkit-details-marker { display: none; }
.journey-filter > summary::after { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.journey-filter[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.journey-filter-options { position: absolute; top: 100%; right: 0; width: 245px; padding: 8px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--background); box-shadow: 0 12px 35px #0002; }
.journey-filter-options button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 4px; text-align: left; font-size: 14px; }
.journey-filter-options button:hover, .journey-filter-options button[aria-pressed="true"] { background: var(--stage); }
.journey-filter-options span { font-size: 12px; color: var(--secondary); }
.product-section + .product-section { border-top: 1px solid var(--hairline); padding-top: 32px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 .muted { font-weight: 400; font-size: 13px; margin-left: 8px; }
.role-orbit { border-bottom: 0; padding-bottom: 12px; gap: 40px; align-items: center; }
.role-products { gap: 36px 52px; }
.product-tile .image-frame, .product-hero .image-frame, .product-tile.role-accessory .image-frame, .journey-index-cover, .shared-item-preview [data-preview-image] .image-frame { border: 0; background: transparent; }
.product-tile .image-frame { padding: 8px; }
.image-frame img { border-radius: 3px; }
.image-frame[data-surface="cutout"] img, .demo-frame img { mix-blend-mode: multiply; }
:root[data-theme="dark"] .image-frame[data-surface="cutout"], :root[data-theme="dark"] .demo-frame { background: #fff; border-radius: 5px; }
:root[data-theme="dark"] .image-frame img { mix-blend-mode: normal; }
.image-frame[data-surface="photograph"] { padding: 0; }
.image-frame[data-surface="photograph"] img { border-radius: 5px; }
.journey-index-cover { border-bottom: 1px solid var(--hairline); }
.hero-copy > .status-label { display: table; margin: 18px 0 10px; font-size: 13px; }
.status-control { display: inline-flex; width: min(100%, 310px); max-width: 100%; margin-bottom: 8px; background: var(--ink); color: var(--background); border-color: var(--ink); }
.status-control[data-status] { background: var(--ink); color: var(--background); border-color: var(--ink); }
.status-control select { color: inherit; background: transparent; }
.status-control option { color: var(--ink); background: var(--background); }
.hero-actions .text-button { font-size: 13px; color: var(--secondary); }
.hero-copy .product-note { margin-block: 12px; }
.retailer-title { margin-top: 10px; }
.retailer-title summary, .source-options summary { font-size: 13px; color: var(--secondary); display: flex; align-items: center; cursor: pointer; }
.retailer-title summary::after, .source-options summary::after { content: '+'; margin-left: 10px; }
.journey-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 16px; }
.journey-suggestions .secondary-button { min-height: 44px; padding: 8px 12px; font-size: 12px; border-color: var(--hairline); }
.journey-description { margin-bottom: 14px; }
.journey-description summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--secondary); font-size: 14px; color: var(--ink); list-style: none; }
.journey-description summary::-webkit-details-marker { display: none; }
.journey-description summary::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; margin-right: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.journey-description[open] summary::after { transform: translateY(2px) rotate(225deg); }
.journey-description summary:hover, .journey-description summary:focus-visible { border-bottom-color: var(--ink); }
.journey-description[open] > .field { margin-top: 16px; }
.gotem-moment { inset: auto 24px 24px auto; display: block; padding: 20px 30px; border-radius: 12px; font-size: 42px; letter-spacing: -.055em; box-shadow: 0 8px 32px #0002; }
.gotem-moment.visible { animation: personal-gotem 1.25s ease both; }
@keyframes personal-gotem { 0% { opacity: 0; transform: translateY(10px) scale(.97); } 18%, 78% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-5px); } }
@media (max-width: 680px) {
  .role-orbit { align-items: start; gap: 22px; }
  .role-products { gap: 30px; }
  .journey-filter { margin-bottom: 14px; }
  .section-heading { margin-bottom: 20px; }
  .product-section + .product-section { padding-top: 25px; }
  .gotem-moment { right: 16px; bottom: 16px; font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .gotem-moment.visible { animation: none; opacity: 1; } }

.shared-point-of-view { margin-bottom: 16px; color: var(--secondary); }

/* The public landing has one composition, lightweight examples, and a quiet footer. */
.landing-view .site-footer > span:nth-child(2) { display: none; }
.landing-view .site-footer { margin-top: 0; }
.landing-journey { container-type: inline-size; border: 1px solid var(--hairline); border-radius: 16px; padding: clamp(18px, 2.2vw, 30px); }
.landing-journey-heading { margin-bottom: 24px; }
.landing-journey-heading p { color: var(--secondary); font-size: .8125rem; line-height: 1.5; margin-bottom: 8px; }
.landing-journey-heading h2 { font-size: 1.5rem; letter-spacing: -.035em; line-height: 1.2; }
.landing-import { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; }
.landing-import .field { min-width: 0; margin: 0; gap: 8px; }
.landing-import .field > span { font-size: .875rem; }
.landing-import input { min-width: 0; font-size: 1rem; text-overflow: ellipsis; }
.landing-import .primary-button { min-height: 50px; font-size: .9375rem; padding: 12px 18px; }
.landing-import button:disabled { background: var(--stage); color: var(--secondary); opacity: 1; cursor: default; }
.landing-import > p { grid-column: 1 / -1; color: var(--secondary); font-size: .8125rem; line-height: 1.5; }
.landing-journey-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.landing-object { min-width: 0; margin: 0; }
.landing-object .image-frame { height: clamp(170px, 16vw, 215px); background: transparent; border: 0; border-radius: 0; padding: 0; }
.landing-object figcaption { margin-top: 12px; }
.landing-object h3 { font-size: 1rem; line-height: 1.4; font-weight: 550; margin-bottom: 8px; }
.landing-object .status-label { font-size: .875rem; min-height: 44px; padding: 8px 12px; }
.landing-object .landing-status { position: relative; display: inline-flex; gap: 14px; width: auto; min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px; border-radius: var(--control-radius); font-size: .875rem; font-weight: 550; line-height: 1.4; background: var(--surface); color: var(--ink); border-color: var(--secondary); }
.landing-object .landing-status[data-status="want"] { background: var(--next-surface); color: var(--next-ink); border-color: var(--next-ink); }
.landing-status select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px; opacity: 0; }
.landing-status:has(select:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.landing-status-chevron { font-size: .875rem; }
.landing-example-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 44px; margin-top: 20px; }
.landing-example-footer p { flex: 1 1 180px; color: var(--secondary); font-size: .875rem; line-height: 1.5; }
.landing-example-footer .text-button { color: var(--secondary); font-size: .875rem; padding-inline: 0; }
.landing-example-footer .landing-acquired { flex-basis: 100px; color: var(--ink); font-size: 1.25rem; font-weight: 750; letter-spacing: -.04em; }
.landing-object-added { animation: landing-object-enter .2s ease-out; }
@keyframes landing-object-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@container (max-width: 430px) {
  .landing-import { grid-template-columns: minmax(0, 1fr); }
  .landing-import .primary-button { grid-row: 3; justify-self: start; }
  .landing-journey-items { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .landing-object .image-frame { height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .landing-object-added { animation: none; } }
.landing-examples { padding: 30px 0 35px; border-top: 1px solid var(--hairline); scroll-margin-top: 24px; }
.landing-examples h2 { font-size: 13px; line-height: 1.5; color: var(--secondary); font-weight: 450; margin-bottom: 16px; }
.landing-examples nav { display: flex; flex-wrap: wrap; column-gap: 40px; row-gap: 8px; }
.landing-examples a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.landing-examples a:hover { text-decoration: underline; text-underline-offset: 5px; }
.landing-examples .landing-demo-note { margin-top: 20px; }
@media (max-width: 680px) {
  .landing-examples { padding-block: 25px; }
  .landing-examples nav { column-gap: 30px; row-gap: 4px; }
}

/* Optional analytics consent: equal choices, available after refusal too. */
.analytics-consent { position: fixed; bottom: 16px; left: 16px; z-index: 80; max-width: min(570px, calc(100vw - 32px)); }
.analytics-consent[hidden] { display: none; }
.analytics-consent-open { padding: 20px; border: 1px solid var(--line, #ddd); border-radius: 16px; background: var(--surface, #fff); color: var(--ink, #222); box-shadow: 0 8px 40px #0002; }
.analytics-consent p { font-size: 13px; line-height: 1.5; margin: 8px 0 16px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-consent > .text-button { padding: 5px 10px; font-size: 11px; background: var(--surface, #fff); border-radius: 8px; }

.auth-forgot { margin-top: 18px; font-size: 13px; text-align: right; }
.auth-forgot a { border-bottom: 1px solid; }
.auth-notice { padding: 16px; margin: 0 0 24px; background: var(--stage); color: var(--ink); font-size: 14px; line-height: 1.6; border-left: 2px solid var(--ink); }

.remember-choice { display:flex; gap:12px; align-items:center; margin:8px 0 24px; }
.remember-choice input { width:20px; height:20px; min-height:20px; }
.photo-recovery { margin:16px 0; font-size:14px; }
.photo-recovery .text-button { margin-right:16px; }

.photo-editor-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:12px 0; padding:8px 0; border-bottom:1px solid var(--hairline); }
.photo-editor-row img { width:70px; height:70px; object-fit:contain; background:white; }
.upload-preview { display:block; max-width:100%; max-height:240px; margin:16px 0; object-fit:contain; }
.upload-preview[hidden] { display:none; }
.site-footer nav { display:flex; gap:16px; flex-wrap:wrap; }
.support-page h1 { margin-bottom: 2rem; }
.support-page h2 { margin: 2rem 0 .75rem; font-size: 1.25rem; line-height: 1.3; }
.support-page p { margin: .75rem 0; color: var(--secondary); line-height: 1.65; }
.support-page .back-link { margin-top: 2rem; }
.form-divider > h2 { margin-bottom: 1rem; }
