html[data-design="workbench"] {
  --ink: #202521;
  --navy: #1b211e;
  --muted: #50594e;
  --line: #bdc0b5;
  --paper: #f6f5ef;
  --yellow: #ffda3f;
  --orange: #26473c;
  --action: #26473c;
  --gutter: max(clamp(20px, 5vw, 82px), calc((100% - 1360px) / 2));
  --display: "Bahnschrift SemiCondensed", "Arial Narrow", Rubik, Arial, sans-serif;
}
body { background: var(--paper); }
.masthead, .inspection-header, .account-header {
  background: #191d1b;
  border-bottom: 1px solid #414742;
  color: #fff;
}
.masthead .head-inner, .footer-inner { width: auto; margin-inline: var(--gutter); }
.masthead .head-inner { min-height: 66px; }
.brand { font-family: Rubik, Arial, sans-serif; }
.brand-mark img { width: 33px; height: 33px; }
.masthead .primary-nav a { color: #eceee8; }
.head-actions .account-link, .head-actions [data-global-search], .head-actions .saved-control, .head-actions .menu-control {
  border: 1px solid #636b63;
  border-radius: 3px;
}
[data-global-search] b { background: var(--yellow); color: var(--ink); }
.cart-control { background: #e9ebe2; color: var(--ink); }
#top.wrap { width: 100%; max-width: none; margin: 0; }
html[data-design="workbench"] .hero:has(.task-start) {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  height: auto;
  min-height: 0;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-bottom: 3px solid var(--yellow);
  background: #17201b;
  color: #fbfaf5;
}
html[data-design="workbench"] .hero:has(.task-start) .showroom {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 0;
  background: #17201b;
}
.hero:has(.task-start) .showroom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 53%;
}
.hero .showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111a16fa 0%, #111a16e8 33%, #111a1682 58%, transparent 83%);
}
html[data-design="workbench"] .hero:has(.task-start) .hero-copy {
  width: min(46rem, 59%);
  height: auto;
  min-width: 0;
  margin-left: var(--gutter);
  padding: clamp(36px, 4.2vw, 68px) 0;
  background: transparent;
}
.hero .rental-intro {
  max-width: 42rem;
}
.hero #rental-intro-title {
  max-width: none;
  text-wrap: balance;
  margin: 0;
  color: #fffdf7;
  font: 700 clamp(2.6rem, 4.8vw, 4.9rem)/1.02 var(--display);
  letter-spacing: -.045em;
  text-transform: none;
}
.hero #rental-intro-title span { color: var(--yellow); }
.hero .rental-intro p {
  max-width: min(var(--intro-measure), calc(100% - .75rem));
  margin: clamp(12px, 1.2vw, 18px) 0 0;
  color: #f5f4ed;
  font: 400 clamp(1rem, 1.2vw, 1.125rem)/1.45 Arial, sans-serif;
  letter-spacing: normal;
}
.hero .rental-intro .rental-promise {
  border-left: 3px solid var(--yellow);
  padding-left: 14px;
  color: #e1e5dc;
}
html[data-design="workbench"] .hero:has(.task-start) #hero-title {
  margin: clamp(22px, 2.3vw, 34px) 0 9px;
  color: #fffdf7;
  font: 700 clamp(1.5rem, 2.35vw, 2.1rem)/1.2 Rubik, Arial, sans-serif;
  text-transform: none;
  letter-spacing: -.025em;
}
.task-start {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  border-radius: 4px;
  background: #fbfaf5;
  box-shadow: 0 3px 18px #0003;
}
.task-start:focus-within { outline: 2px solid var(--yellow); outline-offset: 4px; }
.task-box { align-items: center; flex: 1; min-width: 0; min-height: clamp(64px, 6vw, 84px); gap: 12px; padding: 14px clamp(14px, 1.8vw, 26px); background: transparent; border: 0; }
.task-box:focus-within { outline: none; }
.task-field { font-size: clamp(1.125rem, 1.65vw, 1.4rem); }
.task-badge { color: #26392e; background: #e5e9dc; font: 700 .8rem/1.4 monospace; padding: 3px 5px; }
.task-start button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin: 6px;
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  flex-shrink: 0; background: var(--yellow); padding-inline: clamp(12px, 1.6vw, 24px); border-radius: 2px;
}
.task-object { display: inline; }
.task-arrow { font-family: Arial,sans-serif; font-size: 1.4rem; line-height: 1; }
.task-examples { gap: 8px 17px; margin: 13px 0 0; }
.task-examples button { font-size: .87rem; line-height: 1.5; color: #f2f1e8; border-bottom-color: #aeb2a2; }
.task-examples button:hover { color: var(--yellow); }
.catalog { background: #ffdc4d; color: var(--ink); padding: clamp(32px, 4.1vw, 68px) var(--gutter); }
.catalog .catalog-heading { display: block; }
.catalog h2, .pickup-section h2, .partners h2, .schedule-head h2 {
  font: 700 clamp(1.9rem, 3.6vw, 3.65rem)/1 var(--display);
  color: var(--ink); letter-spacing: -.045em;
}
.catalog .search { background: #ffea89; border: 1px solid #8a782b; border-radius: 2px; }
.catalog .search input::placeholder { color: #51491f; }
.catalog .result-count { color: #4e451a; }
.category-grid { grid-template-columns: minmax(0,1fr); gap: clamp(28px, 4vw, 52px); }
.type-section { min-width: 0; border-top: 2px solid #333526; padding-top: 0; }
.type-heading {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
}
.type-heading h3 { margin: 0; font: 700 clamp(1.25rem,2vw,1.9rem)/1.1 var(--display); overflow-wrap: anywhere; }
.type-heading img {
  order: -1; width: 78px; height: 54px; padding: 3px; object-fit: contain; background: #fff; border-radius: 3px;
}
.type-section h3, .model-entry h3 { color: #2b2a1a; }
.type-section nav { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.3vw,20px); }
.type-section a {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0; padding: 0; border: 1px solid #b59c3a; border-radius: 4px; background: #fff3b3; color: #292b21;
}
.type-thumbnail {
  display: block; height: clamp(132px, 12vw, 178px); padding: 9px;
  background: #fff; border-radius: 3px 3px 0 0;
}
.type-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.type-caption {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 10px 12px; border-top: 1px solid #ddcd89; overflow-wrap: anywhere;
}
.type-caption strong { font-weight: 600; line-height: 1.2; }
.type-caption small { margin-top: auto; }
.type-section a:hover, .type-section a:focus-visible { background: #ffe878; }
.type-section small, .model-entry p { color: #51491f; }
.model-entry { border-color: #a08a33; }
.model-entry a, #back-to-categories { color: #243e33; }
#schedule, #pickup, #partners { padding: clamp(32px,4vw,66px) var(--gutter); margin: 0; }
#schedule {
  padding-block: clamp(28px, 3.6vw, 56px);
  background: #f6f5ef;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
#schedule .schedule-head { margin-bottom: clamp(17px, 2vw, 28px); }
#schedule .schedule-head h2 {
  font: 700 clamp(1.85rem, 3.1vw, 3rem)/1.08 Rubik, Arial, sans-serif;
  letter-spacing: -.05em;
}
.preview-book, .hero-action, .partners button { background: #26473c; color: white; }
.preview-book:hover, .hero-action:hover, .partners button:hover { background: #183c2f; }
.pickup-card { border-color: var(--line); }
.catalog .inventory, .catalog .model-entry { margin-top: 12px; }
.gs-dialog { background: #fafaf5; border: 1px solid #4e5650; border-top: 5px solid var(--yellow); color: var(--ink); }
.gs-dialog::backdrop { background: #121a16b8; }
.gs-field button { background: #ffda3f; color: #21251b; }
.gs-results a { color: #244c3c; }
.gs-result { align-items: flex-start; }
.gs-result img { flex: none; background: #fff; border-radius: 3px; }
.gs-result-info { flex: 1; min-width: 0; }
.gs-result-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; column-gap: 12px; }
.gs-result-summary a { min-width: 0; font-weight: 700; }
.gs-result-summary strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gs-result-info p { margin: 5px 0; color: var(--ink); }
.gs-results .gs-result-checklist { color: var(--muted); font-size: .875rem; }
.gs-clarify { background: #eef2e8; border-color: #72855c; }
.inspection-page { color: #18343d; background: #e4eeef; }
.inspection-header, .account-header { border-bottom-color: #4d5b51; }
.inspection-main h1 { font-family: var(--display); color: #203a40; }
.inspection-layout aside { border: 1px solid #aabfc1; border-radius: 2px; }
#inspection-sheet { border: 1px solid #96b1b5; border-radius: 2px; }
.inspection-product {
  padding: 15px; border-bottom: 1px solid #9cb6bb;
  background-color: #edf5f4;
  background-image: linear-gradient(#728d971a 1px,transparent 1px),linear-gradient(90deg,#728d971a 1px,transparent 1px);
  background-size: 15px 15px;
}
.inspection-product img { mix-blend-mode: multiply; }
.inspection-layout fieldset label:has(:checked) { background: #edf4e8; color: #23452c; }
.inspection-layout fieldset label { transition: background-color .22s; }
.account-header + .account-layout #workspace { background: var(--paper); }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: no-preference) {
  .task-arrow { transition: transform .16s ease-out; }
  .task-start button:is(:hover,:focus-visible) .task-arrow { transform: translateX(3px); }
}
@media (max-width: 1230px) {
  .masthead .head-inner { justify-content: space-between; }
  .primary-nav:not(.is-open) { display: none; }
  .primary-nav.is-open { display: flex; position: absolute; inset: 100% 0 auto; width: 100%; background: var(--navy); padding: 16px var(--gutter); flex-wrap: wrap; }
  .head-actions .menu-control { display: inline-flex; }
}
@media (max-width: 1099px) {
  .type-section nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  html[data-design="workbench"] .hero:has(.task-start) .hero-copy {
    width: auto;
    margin-inline: var(--gutter);
    padding: clamp(22px, 6vw, 38px) 0;
  }
  .hero:has(.task-start) .showroom img { object-position: 76% top; }
  .hero .showroom::after {
    background: linear-gradient(0deg, #111a16fc 1%, #111a16ee 30%, #111a16b5 62%, #111a1650 100%),
      linear-gradient(90deg, #101713b8 2%, #10171355 66%, #10171330 100%);
  }
  .hero #rental-intro-title { font-size: clamp(2rem, 7.8vw, 3.5rem); }
  .hero .rental-intro p { margin-top: 10px; font-size: 1rem; line-height: 1.4; }
  .hero .rental-intro .rental-promise { padding-left: 11px; }
  html[data-design="workbench"] .hero:has(.task-start) #hero-title { margin: 20px 0 8px; }
  .task-start button { min-width: 46px; }
  .task-box { flex-basis: auto; }
  .masthead .head-inner { margin-inline: 14px; padding-block: 10px; }
  .head-actions .cart-label { display: none; }
  .head-actions { gap: 5px; }
  .type-section nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .type-thumbnail { height: clamp(100px,25vw,145px); padding: 6px; }
  .type-caption { padding: 8px 9px; }
  .type-heading img { width: 62px; height: 45px; }
  .catalog .search { width: 100%; }
}
@media (max-width: 540px) {
  .masthead .head-inner { gap: 6px; }
  .head-actions .account-link { font-size: .8rem; padding: 8px 6px; }
  .head-actions .saved-control, .head-actions .cart-control, .head-actions .menu-control { padding: 6px; }
  .masthead [data-global-search] { padding: 6px; gap: 3px; font-size: .8rem; }
  .task-start { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; background: transparent; box-shadow: none; }
  .task-box { padding: 12px; gap: 8px; background: #fbfaf5; border-radius: 4px; }
  .task-start button { width: 100%; margin: 0; min-height: 56px; border-radius: 4px; }
  .task-start:focus-within { outline: none; }
  .task-box:focus-within, .task-start button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .gs-result { gap: 9px; }
  .gs-result img { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .task-arrow, .inspection-layout fieldset label, .gs-dialog { animation: none; transition: none; }
}

.account-header nav {align-items:center;flex-wrap:wrap;gap:8px 14px;}
.account-header nav > :is(a,button) {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 10px;line-height:1.2;}
.receipt-range {border:0;padding:0;margin:0;display:grid;grid-template-columns:minmax(8.4rem,1.35fr) repeat(2,minmax(5.6rem,1fr));gap:6px;}
.receipt-range legend {font-weight:700;font-size:.9rem;margin-bottom:6px;}
.receipt-range label {font-size:.82rem;min-width:0;}
.receipt-range input {min-width:0;font-size:.95rem;}
@media(min-width:1041px){.schedule-fields {grid-template-columns:minmax(220px,1fr) minmax(200px,.8fr) minmax(345px,1.1fr);}}
@media(min-width:681px) and (max-width:1040px){.receipt-range {grid-column:1/-1;max-width:32rem;}}
@media(max-width:420px){.receipt-range {grid-template-columns:repeat(2,minmax(0,1fr));}.receipt-range label:first-of-type{grid-column:1/-1;}.account-header nav {gap:4px;}.account-header nav > :is(a,button){padding-inline:6px;}}
.ac-main[href] {display:flex;align-items:center;justify-content:center;text-decoration:none;}

@media (max-width: 359px) {
  html[data-design="workbench"] .hero:has(.task-start) .hero-copy {
    margin-inline: 16px;
    padding-block: 18px;
  }
  .hero #rental-intro-title { font-size: 1.9rem; }
  .hero .rental-intro p { line-height: 1.35; }
  html[data-design="workbench"] .hero:has(.task-start) #hero-title { margin-top: 16px; }
}

/* Main task search on the first screen. */
html[data-design="workbench"] .hero:has(.task-start) {
  min-height: clamp(32rem, 76svh, 51rem);
  align-items: center;
}
html[data-design="workbench"] .hero:has(.task-start) .hero-copy {
  width: min(58rem, 76%);
}
.hero .rental-intro { max-width: 52rem; }
.hero #rental-intro-title { font-size: clamp(3.4rem, 5.8vw, 6rem); }
.hero {
  --intro-size: clamp(1.1rem, 1.5vw, 1.3rem);
  --intro-measure: 53ch;
}
.hero .rental-intro p { font-size: var(--intro-size); }
.hero-search { width: 100%; max-width: 52rem; }
@media (min-width: 741px) {
  .hero-search { zoom: .8; }
  .hero-search .task-start button { min-height: 55px; }
}
@media (max-width: 740px) {
  html[data-design="workbench"] .hero:has(.task-start) #hero-title { font-size: 1.35rem; }
  .hero-search .task-field, .hero-search button { font-size: 1rem; }
  .hero-search .task-box { min-height: 52px; padding: 0 12px; }
  .hero-search button { min-height: 46px; padding: 10px 14px; }
}
/* The document already offsets anchor navigation for the sticky masthead. */
#top > :is(#schedule, #catalog, #pickup) { scroll-margin-top: 0; }
#schedule [hidden] { display: none; }
#preview-route { display: block; margin-top: .3rem; }
#preview-note, #quick-result { font-variant-numeric: tabular-nums; }
#quick-result { padding: 1rem; background: #e6efe5; color: #193d2d; }
@media(max-width: 740px) {
  html[data-design="workbench"] .hero:has(.task-start) { min-height: clamp(28rem, 74svh, 39rem); }
  html[data-design="workbench"] .hero:has(.task-start) .hero-copy { width: auto; }
  .hero #rental-intro-title { font-size: clamp(2.25rem, 8.3vw, 3.75rem); }
  .hero { --intro-size: 1.05rem; --intro-measure: 48ch; }
}

#quick-result[data-error] { background: #fff1e5; color: #723516; }

/* Make the task input itself fill the search surface. */
.hero-search .task-box { padding-block: 0; }
.hero-search .task-field { align-self: stretch; display: grid; align-items: stretch; }
.hero-search #task-entry { min-height: max(44px, 100%); }
.hero-search .task-placeholder { top: 50%; bottom: auto; transform: translateY(-50%); }
@media (min-width: 741px) {
  .hero-search #task-entry { min-height: max(55px, 100%); }
}

#preview-route:empty, #quick-order-dialog #preview-note:empty { display: none; }

#pickup .pickup-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 4px 8px;
}
#pickup .pickup-card h3, #pickup .pickup-card p { margin: 0; }
#pickup .point-actions {
  grid-row: 3;
  grid-column: 1 / -1;
  align-self: end;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 8px;
}
#pickup .point-actions a { display: inline-flex; align-items: center; min-height: 44px; }

#top + footer .footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 20px;
  color: white;
}
#top + footer .footer-inner :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  margin: 0;
  text-align: start;
  color: inherit;
}
@media (max-width: 740px) {
  #top + footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    padding-block: 16px;
  }
  #top + footer .footer-inner > span { order: 0; }
}
@media (max-width: 560px) {
  #top, #top + footer { --gutter: 16px; }
}

/* Quick order uses one grid for each stage, with aligned field and action rows. */
#schedule .schedule-head h2 { margin: 0; }
#rental-planner {
  --order-columns: repeat(3, minmax(0, 1fr)) minmax(11.5rem, 1fr);
  display: block;
  border: 1px solid #cdd2c9;
  border-radius: 6px;
  background: #fffefa;
}
#rental-planner[hidden] { display: none; }
.order-group {
  display: grid;
  grid-template-columns: minmax(7rem, .65fr) minmax(0, 4fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 2vw, 32px);
}
.order-group + .order-group { border-top: 1px solid #dce0d6; }
.order-group h3 {
  margin: 0;
  font: 700 1.15rem/1.35 Rubik, Arial, sans-serif;
  letter-spacing: -.025em;
}
.order-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: var(--order-columns);
  align-items: start;
  gap: 16px;
}
.order-fields > * { min-width: 0; }
.order-fields :is(.tool-field, .preview-modes, .quick-destination),
.order-fields .quick-field:has(#preview-name) { grid-column: span 2; }
.order-fields .quick-field, .order-fields .receipt-range label {
  display: grid;
  align-content: end;
  gap: 6px;
}
.order-fields :is(.preview-label, .quick-field, .preview-modes legend, .receipt-range label) {
  color: #252c27;
  font: 700 .9rem/1.35 Arial, sans-serif;
}
.order-fields :is(.preview-label, .preview-modes legend) { margin: 0 0 6px; padding: 0; }
.order-fields .planner-input {
  height: 46px;
  min-width: 0;
  font: 400 1rem/1.2 Arial, sans-serif;
}
.order-fields .preview-modes { margin: 0; }
#rental-planner .preview-modes :is(label, label > span) { min-height: 46px; }
.order-fields .receipt-range {
  grid-column: 1 / -1;
  max-width: none;
  grid-template-columns: var(--order-columns);
  gap: 16px;
}
.order-fields .receipt-range label:first-of-type { grid-column: span 2; }
.order-fields .receipt-range legend { margin: 0; }
.order-fields #preview-book { align-self: end; }
.order-fields #preview-book { width: 100%; min-height: 46px; margin: 0; }
.order-fields #preview-note { grid-column: 1 / -1; margin: 0; }
.order-fields #preview-note:empty { display: none; }
@media (max-width: 960px) {
  .order-group { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 680px) {
  .order-group { padding: 18px 14px; }
  .order-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .order-fields .receipt-range { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .order-fields .receipt-range label:first-of-type { grid-column: 1 / -1; }
  .order-fields :is(.quick-field:has(#preview-phone), #preview-book) { grid-column: 1 / -1; }
}
