/* Minification failed. Returning unminified contents.
(232,25): run-time error CSS1030: Expected identifier, found '.'
(232,42): run-time error CSS1031: Expected selector, found ')'
(232,42): run-time error CSS1025: Expected comma or open brace, found ')'
(264,23): run-time error CSS1030: Expected identifier, found ':'
(264,31): run-time error CSS1031: Expected selector, found ')'
(264,31): run-time error CSS1025: Expected comma or open brace, found ')'
(348,25): run-time error CSS1030: Expected identifier, found '['
(348,26): run-time error CSS1030: Expected identifier, found 'data-lots-on'
(348,38): run-time error CSS1031: Expected selector, found ']'
(348,38): run-time error CSS1025: Expected comma or open brace, found ']'
(349,24): run-time error CSS1030: Expected identifier, found '['
(349,25): run-time error CSS1030: Expected identifier, found 'data-who-any'
(349,37): run-time error CSS1031: Expected selector, found ']'
(349,37): run-time error CSS1025: Expected comma or open brace, found ']'
(389,49): run-time error CSS1030: Expected identifier, found '.'
(389,50): run-time error CSS1030: Expected identifier, found 'ctr-x'
(389,55): run-time error CSS1031: Expected selector, found ')'
(389,55): run-time error CSS1025: Expected comma or open brace, found ')'
(1240,27): run-time error CSS1030: Expected identifier, found '>'
(1240,54): run-time error CSS1031: Expected selector, found ')'
(1240,54): run-time error CSS1025: Expected comma or open brace, found ')'
 */
/* ===== Contracts step 1 (card "facilitating contracts (lead gen)") - ALL the contracts pages' CSS, one stylesheet for
   every build of step 1. Everything else is the site's /css/core bundle. Copied from the design pass's reference
   implementation (qa-evidence/2026-10-12-contracts-step1-design/contracts.css, spec contracts-step-1-SPEC.md), less the
   mockup's frame and email-preview classes; the Build A additions are at the end. ===== */
/* page */
.ctr-page { max-width: 1040px; margin: 0 auto; padding: 24px 15px 40px; }
.ctr-page--narrow { max-width: 720px; }
.ctr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 18px; }
.ctr-head h1 { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 26px; line-height: 1.2; margin: 0; color: #333; }
.ctr-head__actions { display: flex; align-items: center; gap: 16px; }
.ctr-lead { font-size: 16px; line-height: 1.5; color: #555; margin: -8px 0 20px; max-width: 640px; text-wrap: pretty; }
.ctr-sub { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 17px; line-height: 1.3; margin: 26px 0 10px; color: #333; }
.ctr-sub:first-child { margin-top: 0; }
.ctr-note { font-size: 15px; line-height: 1.45; color: #666; margin: 8px 0 0; text-wrap: pretty; }
.ctr-note a, .ctr-note a:visited { color: #367a00; text-decoration: underline; }
.ctr-empty { font-size: 15px; color: #666; padding: 18px 0 6px; }
/* buttons */
.ctr-btn, .ctr-btn:visited { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border-radius: 4px; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.ctr-btn--primary, .ctr-btn--primary:visited { background: #52b400; border-color: #469b00; color: #fff; }
.ctr-btn--primary:hover, .ctr-btn--primary:focus { background: #469b00; color: #fff; text-decoration: none; }
.ctr-btn--outline, .ctr-btn--outline:visited { background: #fff; border-color: #b7d79a; color: #367a00; }
.ctr-btn--outline:hover, .ctr-btn--outline:focus { background: #52b400; border-color: #52b400; color: #fff; text-decoration: none; }
.ctr-btn--default, .ctr-btn--default:visited { background: #fff; border-color: #ccc; color: #333; }
.ctr-btn--default:hover { background: #f5f5f5; text-decoration: none; }
.ctr-btn--block { width: 100%; }
.ctr-btn--sm { min-height: 36px; padding: 0 16px; font-size: 15px; }
.ctr-btn[disabled], .ctr-btn--disabled { opacity: .55; pointer-events: none; }
.ctr-quiet, .ctr-quiet:visited { font-size: 15px; color: #767676; text-decoration: none; padding: 9px 0; display: inline-block; }
.ctr-quiet:hover { color: #333; text-decoration: underline; }
.ctr-link, .ctr-link:visited { color: #367a00; text-decoration: none; }
.ctr-link:hover { text-decoration: underline; }
/* cards */
.ctr-card { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 22px 24px; margin: 0 0 18px; }
.ctr-card--accent { border-color: #52b400; border-width: 1px; }
.ctr-card__title { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 24px; line-height: 1.25; margin: 0 0 6px; color: #333; }
.ctr-card__sub { font-size: 15px; line-height: 1.45; color: #666; margin: 0 0 18px; text-wrap: pretty; }
/* key/value rows (listing-page style) */
.ctr-kv { margin: 0; }
.ctr-kv__row { display: flex; gap: 16px; padding: 9px 0; border-top: 1px solid #eee; font-size: 15px; line-height: 1.45; }
.ctr-kv__row:first-child { border-top: 0; padding-top: 0; }
.ctr-kv__k { flex: 0 0 150px; color: #666; }
.ctr-kv__v { flex: 1 1 auto; min-width: 0; color: #333; overflow-wrap: anywhere; text-wrap: pretty; }
.ctr-note strong, .ctr-item__main strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.ctr-kv__v small { color: #666; font-size: 14px; }
.ctr-kv__v strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
/* chips and status */
.ctr-chip { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 13px; line-height: 1.5; white-space: nowrap; background: #f1f1f1; color: #555; vertical-align: middle; }
.ctr-chip--green { background: #e8f6da; color: #2f6b00; }
.ctr-chip--amber { background: #fff3d6; color: #8a5a00; }
.ctr-chip--blue { background: #e3f1ff; color: #205d9e; }
.ctr-chip--grey { background: #eee; color: #555; }
.ctr-chip--red { background: #fde6e6; color: #a30000; }
/* form */
.ctr-form .ctr-field { margin: 0 0 18px; }
.ctr-form label.ctr-label { display: block; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; line-height: 1.3; margin: 0 0 6px; color: #333; }
.ctr-form .ctr-label small { font-family: "Gotham Narrow Light","Helvetica Neue",Helvetica,Arial,sans-serif; color: #767676; font-size: 14px; margin-left: 6px; }
.ctr-form .form-control { height: 42px; font-size: 16px; box-shadow: none; }
.ctr-form .form-control::placeholder { color: #9a9a9a; }
.ctr-form textarea.form-control { height: auto; min-height: 64px; }
@media (max-width: 767px) { .ctr-form textarea.form-control { min-height: 92px; } }
.ctr-form .ctr-help { font-size: 14px; color: #767676; margin: 6px 0 0; line-height: 1.4; }
.ctr-form .ctr-error { font-size: 15px; margin-bottom: 8px; color: #c00404; margin: 6px 0 0; line-height: 1.4; }
.ctr-form .has-error .form-control { border-color: #c00404; }
.ctr-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ctr-inline .form-control { width: auto; }
.ctr-inline__unit { font-size: 15px; color: #555; }
/* spec v5.1 3.1: the request form's "bbl" unit at field text size (mock v4.css) */
.ctr-reqform .ctr-inline__unit { font-size: 16px; color: #333; }
.ctr-w-120 { width: 120px !important; }
.ctr-w-160 { width: 160px !important; }
.ctr-w-200 { width: 200px !important; }
.ctr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ctr-chipbtn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid #ccc; background: #fff; color: #333; font-size: 15px; cursor: pointer; }
.ctr-chipbtn--filter { border-color: #333; color: #333; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-chipbtn--on { border-color: #52b400; background: #e8f6da; color: #2f6b00; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: #333; margin: 0; }
.ctr-check input { margin: 4px 0 0; width: 16px; height: 16px; flex: 0 0 auto; }
.ctr-radio { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.45; color: #333; margin: 0 0 8px; }
.ctr-radio input { margin: 0; width: 16px; height: 16px; flex: 0 0 auto; }
.ctr-radio__inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ctr-radio__inline .form-control { height: 36px; font-size: 15px; }
.ctr-group { border-top: 1px solid #eee; padding-top: 18px; margin-top: 6px; }
.ctr-group:first-of-type { border-top: 0; padding-top: 0; }
.ctr-group__title { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 19px; margin: 0 0 16px; color: #333; }
.ctr-group { padding-top: 24px; margin-top: 10px; }
.ctr-indent { margin-left: 26px; }
.ctr-break { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 10px 0 0; }
.ctr-break + .ctr-break { margin-top: 18px; }
.ctr-break__f { display: inline-flex; gap: 8px; align-items: center; }
.ctr-break__f select.form-control { min-width: 220px; }
.ctr-total--big { font-size: 17px; margin-top: 8px; }
.ctr-total--big strong { font-size: 20px; }
.ctr-x { width: 36px; height: 36px; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #555; font-size: 20px; line-height: 1; cursor: pointer; }
.ctr-x--plain { border: 0; background: transparent; color: #767676; font-size: 24px; }
.ctr-x--plain:hover { color: #333; }
.ctr-m--wrap { white-space: normal; }
.ctr-item__meta { font-size: 15px; }
.ctr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ctr-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 20px; }
.ctr-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.ctr-actions--end { justify-content: flex-end; }
.ctr-addlink { font-size: 15px; }
.ctr-strip { background: #f6f6f6; border: 1px solid #e7e7e7; border-radius: 4px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: #333; }
.ctr-strip strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.ctr-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.ctr-file__name { color: #333; }
/* variety rows on the request */
.ctr-vrow { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 10px 16px; align-items: start; margin: 0 0 10px; }
.ctr-vrow__lb { display: flex; align-items: center; gap: 8px; }
.ctr-vrow__lb .form-control { width: 100px; }
/* match block */
.ctr-match { border: 1px solid #52b400; border-radius: 4px; padding: 16px 18px; margin: 6px 0 22px; background: #fbfff7; }
.ctr-match__title { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; margin: 0 0 4px; color: #2f6b00; }
.ctr-match__sub { font-size: 14px; color: #666; margin: 0 0 12px; }
.ctr-offer { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-top: 1px solid #e7e7e7; }
.ctr-offer:first-of-type { border-top: 0; }
.ctr-offer__who { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; color: #333; }
.ctr-offer__who small { font-family: "Gotham Narrow Light","Helvetica Neue",Helvetica,Arial,sans-serif; color: #666; font-size: 14px; }
.ctr-offer__price { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 18px; color: #333; margin: 2px 0; }
.ctr-offer__price small { font-family: "Gotham Narrow Light","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; color: #666; }
.ctr-offer__meta { font-size: 14px; color: #666; line-height: 1.45; }
.ctr-offer__act { grid-column: 2; grid-row: 1 / span 3; }
/* lists / rows */
.ctr-list { margin: 0; padding: 0; list-style: none; border: 1px solid #ddd; border-radius: 4px; background: #fff; }
.ctr-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 16px; align-items: center; padding: 14px 18px; border-top: 1px solid #e7e7e7; }
.ctr-item:first-child { border-top: 0; }
.ctr-item__main { font-size: 16px; color: #333; line-height: 1.35; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; overflow-wrap: anywhere; }
.ctr-item__meta { grid-column: 1; font-size: 14px; color: #666; line-height: 1.45; }
.ctr-item__meta .ctr-chip { margin-left: 2px; }
.ctr-item__act { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.ctr-item__act .ctr-link, .ctr-offer__act .ctr-link, .ctr-item__act .ctr-quiet { display: inline-block; padding: 8px 0; }
.ctr-item--attn { background: #fbfff7; }
.ctr-list--tap .ctr-item { cursor: pointer; }
.ctr-list--tap .ctr-item:hover { background: #fafafa; }
.ctr-m { white-space: nowrap; }
.ctr-m:not(:last-child)::after { content: " ·"; color: #aaa; }
.ctr-form label.ctr-label--ghost { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ctr-suffix { display: inline-flex; align-items: center; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; }
.ctr-suffix .form-control { border: 0; border-radius: 0; width: 90px; }
.ctr-break .ctr-suffix .form-control { width: 76px; }
.ctr-break { flex-wrap: nowrap; }
.ctr-suffix > span { padding: 0 10px; color: #555; background: #f6f6f6; align-self: stretch; display: flex; align-items: center; font-size: 15px; }
.ctr-docs { display: flex; flex-direction: column; gap: 4px; }
.ctr-panel.ctr-panel--grey { border-color: #ccc; }
.ctr-panel--grey .ctr-panel__body:empty { display: none; }
.ctr-panel.ctr-panel--grey .ctr-panel__hdr { background: #767676; }
input[type=radio], input[type=checkbox] { accent-color: #52b400; }
.ctr-quiet, .ctr-quiet:visited { color: #367a00; }
.ctr-item__chev { color: #aaa; font-size: 26px; line-height: 1; padding: 0 4px; }
.ctr-optional { border-top: 1px solid #eee; padding-top: 14px; margin: 4px 0 20px; font-size: 15px; color: #555; }
.ctr-optional .ctr-check { color: #555; }
.ctr-vrow--more { margin-top: 4px; }
.ctr-vrow__lb .ctr-x { margin-left: 4px; }
/* request card (merchant view) */
.ctr-req__hdr { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #666; margin: 0 0 6px; }
.ctr-req__main { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 22px; line-height: 1.25; color: #333; margin: 0 0 4px; }
.ctr-req__line { font-size: 15px; color: #333; margin: 0 0 4px; line-height: 1.45; }
.ctr-req__quote { font-size: 15px; color: #555; font-style: italic; margin: 8px 0 0; line-height: 1.45; }
.ctr-facts { margin: 16px 0 18px; padding: 12px 14px; background: #f6f6f6; border-radius: 4px; font-size: 15px; line-height: 1.5; color: #333; }
.ctr-facts__t { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; margin-right: 6px; }
.ctr-dot { color: #aaa; margin: 0 6px; }
/* accept / progress panels reuse panel-primary */
.ctr-panel { border: 1px solid #52b400; border-radius: 4px; overflow: hidden; margin: 0 0 18px; background: #fff; }
.ctr-panel__hdr { background: #52b400; color: #fff; font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; padding: 9px 16px; }
.ctr-panel__body { padding: 16px; }
.ctr-total { font-size: 15px; color: #555; margin: 6px 0 0; }
.ctr-total strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #333; }
.ctr-status { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 20px; margin: 0 0 4px; color: #333; }
.ctr-status--ok { color: #2f6b00; }
.ctr-status--muted { color: #666; }
.ctr-status--bad { color: #a30000; }
.ctr-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.ctr-num { text-align: center; padding: 10px 6px; background: #f6f6f6; border-radius: 4px; }
.ctr-num__v { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 22px; line-height: 1.1; color: #333; }
.ctr-num__v--green { color: #2f6b00; }
.ctr-num__l { font-size: 13px; color: #666; margin-top: 3px; }
.ctr-twocol { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 20px; align-items: start; }
.ctr-twocol > * { min-width: 0; }
.ctr-twocol--left { grid-template-columns: 340px minmax(0,1fr); }
/* table */
.ctr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctr-table th { text-align: left; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #666; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #ddd; }
.ctr-table td { padding: 10px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.ctr-table td.ctr-r, .ctr-table th.ctr-r { text-align: right; white-space: nowrap; }
/* nudge lines */
.ctr-nudge { font-size: 15px; line-height: 1.5; color: #555; margin: 12px 0 0; text-wrap: pretty; }
.ctr-nudge a, .ctr-nudge a:visited { color: #367a00; text-decoration: underline; }
.ctr-status { color: #333; }
.ctr-status--ok { color: #333; }
.ctr-nudge--card { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 14px 18px; margin: 16px 0 0; }
/* listing contract chip */
.ctr-lchip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px; border-radius: 16px; background: #e8f6da; color: #2f6b00; font-size: 13px; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
/* phone */
@media (max-width: 767px) {
  .ctr-page { padding: 16px 16px 32px; }
  .ctr-card { padding: 18px 16px; }
  .ctr-head h1 { font-size: 23px; }
  .ctr-head__actions { width: 100%; justify-content: space-between; }
  .ctr-head__actions .ctr-btn { flex: 1 1 auto; }
  .ctr-kv__row { flex-direction: column; gap: 2px; }
  .ctr-kv__k { flex-basis: auto; font-size: 13px; }
  .ctr-row2, .ctr-row3 { grid-template-columns: 1fr; }
  .ctr-vrow { grid-template-columns: 1fr; }
  .ctr-offer { grid-template-columns: 1fr; }
  .ctr-offer__act { grid-column: 1; grid-row: auto; }
  .ctr-offer__act .ctr-btn { width: 100%; }
  .ctr-item { grid-template-columns: 1fr; }
  .ctr-item__act { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .ctr-list--tap .ctr-item { grid-template-columns: minmax(0,1fr) auto; }
  .ctr-list--tap .ctr-item__chev { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .ctr-table td, .ctr-table th { padding-left: 6px; padding-right: 6px; }
  .ctr-table td:first-child, .ctr-table th:first-child { padding-left: 0; }
  .ctr-twocol, .ctr-twocol--left { grid-template-columns: 1fr; }
  /* repeating rows (pack-size price, volume discount, lot option): first control full width, second control + remove on the next line */
  .ctr-break { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 10px; padding-left: 10px; border-left: 3px solid #b7d79a; align-items: center; }
  .ctr-break .ctr-break__f { display: flex; min-width: 0; width: 100%; }
  .ctr-break .ctr-break__f:first-child { grid-column: 1 / -1; }
  .ctr-break .ctr-break__f select.form-control, .ctr-break .ctr-break__f > .form-control { width: 100%; min-width: 0; }
  .ctr-break .ctr-suffix { width: 100%; }
  .ctr-break .ctr-suffix .form-control { flex: 1 1 auto; width: auto; min-width: 0; }
  .ctr-break .ctr-x { grid-column: 2; }
  .ctr-twocol { display: flex; flex-direction: column; }
  .ctr-twocol > * { width: 100%; }
  .ctr-item--attn .ctr-item__act, .ctr-item--attn .ctr-item__act .ctr-btn { width: 100%; }
  .ctr-page--narrow { padding-left: 0; padding-right: 0; }
  .ctr-vrow { grid-template-columns: 1fr; gap: 14px; }
  .ctr-vrow--more { border-top: 1px solid #eee; padding-top: 12px; margin-top: 8px; }
  .ctr-form label.ctr-label--ghost { display: none; }
  .ctr-vrow__lb .form-control { width: 110px; }
  .ctr-item__act .ctr-btn { width: 100%; }
  .ctr-twocol > div:has(.ctr-panel--first) { order: -1; }
  .ctr-head__actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .ctr-head__actions .ctr-link { text-align: left; padding: 8px 0; }

  .ctr-actions { flex-direction: column-reverse; align-items: stretch; }
  .ctr-actions .ctr-btn { width: 100%; }
  .ctr-actions .ctr-quiet { text-align: center; }
  .ctr-btn { min-height: 46px; }
  .ctr-chipbtn { min-height: 40px; }
  .ctr-quiet { padding: 10px 0; }
  .ctr-nums { gap: 6px; }
  .ctr-num__v { font-size: 19px; }
}
/* touch widths (phones and tablets): every text action is at least 36 px tall */
@media (max-width: 1024px) {
  .ctr-item__act .ctr-link, .ctr-offer__act .ctr-link, .ctr-item__act .ctr-quiet, .ctr-nudge a, .ctr-note a, .ctr-addlink a, .ctr-link, .ctr-quiet { display: inline-block; padding: 10px 0; margin: -6px 0; }
  .ctr-kv__v .ctr-link, .ctr-docs .ctr-link { padding: 8px 0; margin: -4px 0; }
}
/* offload spec v1.3 3.3: the feedback invite, one quiet line after the last list of a Contracts page (after the touch-width rule so
   these win); a narrow screen breaks between its two sentences; the link keeps a 44 px tap height without moving a pixel */
.ctr-page > .oi-invite { margin: 28px 0 0; }
.oi-invite > span { display: inline-block; }
.oi-invite a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (min-width: 768px) and (max-width: 991px) {
  .ctr-twocol { grid-template-columns: minmax(0,1fr) 300px; }
}


/* ===== Build A additions ===== */
/* real controls inside the design's chips: a checkbox or radio in a label, visually hidden, the label is the chip */
label.ctr-chipbtn { position: relative; margin: 0; font-weight: normal; max-width: 100%; user-select: none; }
.ctr-chipbtn input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ctr-chipbtn:has(input:checked) { border-color: #52b400; background: #e8f6da; color: #2f6b00; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-chipbtn:focus-within { outline: 2px solid #367a00; outline-offset: 2px; }
.ctr-chipbtn:hover { border-color: #999; }
a.ctr-chipbtn, a.ctr-chipbtn:visited { text-decoration: none; color: #333; }
a.ctr-chipbtn:hover { text-decoration: none; }
/* the Form field (decision 13): the forms every brand makes, then the brand products behind one disclosure */
.ctr-forms__brands { margin: 12px 0 0; }
.ctr-forms__brands > summary { display: inline-block; cursor: pointer; color: #367a00; font-size: 15px; padding: 9px 0; list-style: none; }
.ctr-forms__brands > summary::-webkit-details-marker { display: none; }
.ctr-forms__brands > summary:hover { text-decoration: underline; }
.ctr-forms__brands[open] > summary { color: #555; }
.ctr-forms__group { margin: 10px 0 0; }
.ctr-forms__group-t { font-size: 13px; color: #666; margin: 0 0 6px; line-height: 1.4; }
/* the empty slot Build B fills with the instant-match block, directly under Form (spec 3.3) */
.ctr-match-slot:empty { display: none; }
/* plain buttons that read as the design's text links (Close request, Send one daily email instead) */
button.ctr-link, button.ctr-quiet { background: none; border: 0; padding: 9px 0; font: inherit; font-size: 15px; color: #367a00; cursor: pointer; line-height: 1.4; }
button.ctr-link:hover, button.ctr-quiet:hover { text-decoration: underline; }
button.ctr-btn { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-inline-form { display: inline; margin: 0; }
.ctr-vrow[hidden], .ctr-addlink[hidden] { display: none; }
.ctr-saved { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 4px; background: #e8f6da; color: #2f6b00; font-size: 15px; }
.ctr-form .ctr-error--top { margin: 0 0 16px; }
/* the merchant's chosen varieties: removable chips plus one picker */
.ctr-picked { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ctr-picked .ctr-chipbtn { padding-right: 6px; gap: 2px; cursor: default; }
.ctr-picked .ctr-x--plain { width: 36px; height: 36px; font-size: 20px; margin: -2px -4px -2px 0; }
.ctr-picker { max-width: 360px; }
/* the merchant's request page: the closed and own-request states */
.ctr-req__hdr .ctr-chip { margin-left: 8px; }
/* the no-login request-email page */
.ctr-card--center { text-align: center; padding: 30px 24px; }
.ctr-card--center .ctr-card__sub { max-width: 440px; margin-left: auto; margin-right: auto; }
.ctr-or { margin: 12px 0 0; text-align: center; font-size: 15px; }
.ctr-or .ctr-inline-form + .ctr-dot, .ctr-or .ctr-link + .ctr-dot { margin: 0 4px; }
@media (max-width: 767px) {
  .ctr-forms__brands > summary { padding: 10px 0; }
  .ctr-card--center { padding: 24px 16px; }
}
/* the request form's chip groups are fieldsets (one label for a set of checkboxes) */
.ctr-form fieldset.ctr-field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ctr-form legend.ctr-label { display: block; width: auto; border: 0; padding: 0; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; line-height: 1.3; margin: 0 0 6px; color: #333; }
/* a long fragment may wrap inside itself (the design's .ctr-m rule comes later in this file and would otherwise win) */
.ctr-m.ctr-m--wrap { white-space: normal; }
/* touch widths: radios and checkboxes are whole-row targets at least 36 px tall */
@media (max-width: 1024px) {
  .ctr-radio { min-height: 40px; margin: 0; }
  .ctr-check { min-height: 40px; align-items: center; }
  .ctr-check input { margin: 0; }
}
/* separator dots that never end or start a line (design review, Build A rounds 1-3): the dot trails its fragment,
   joined by a no-break space so it can never begin a line, and Scripts/contracts.js marks the fragment that ENDS each
   line, whose dot is then invisible. Invisible, not removed: the dot keeps its width, so marking it cannot reflow the
   line and the marks cannot go stale (hiding it outright let the next fragment move up, round 3). */
.ctr-frags > .ctr-m::before { content: none; }
.ctr-frags > .ctr-m::after { content: "\00a0\00b7"; color: #aaa; }
.ctr-frags > .ctr-m:last-child::after { content: none; }
.ctr-frags > .ctr-m.ctr-m--end::after { visibility: hidden; }
/* the brand-product disclosure says what it does, and its groups read as groups */
.ctr-forms__brands > summary::before { content: "+ "; }
.ctr-forms__brands[open] > summary::before { content: "\2212  "; }
.ctr-forms__group { margin: 18px 0 0; }
.ctr-forms__group-t { color: #555; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0 0 8px; }
/* the phone's repeating-row rule is neutral: green is for what the viewer can act on */
@media (max-width: 767px) { .ctr-break { border-left-color: #e3e3e3; } }
/* a lot-option row with its error: the error takes its own line, the fields keep their width */
.ctr-break.has-error { flex-wrap: wrap; }
/* more air between variety rows than inside one (design review round 2) */
@media (min-width: 768px) { .ctr-vrow--more { margin-top: 16px; } }


/* ===== Build B additions (quotes: spec 3.3, 3.7, 3.8, 3.9) ===== */
/* a group label that is not a <label> (a set of fields, the document line) reads as one */
.ctr-form .ctr-label--block { display: block; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; line-height: 1.3; margin: 0 0 6px; color: #333; }
/* the repeating price and discount rows: each row and its error are one block */
.ctr-break-wrap[hidden], .ctr-discounts[hidden], [data-qrow-add][hidden] { display: none; }
.ctr-break-wrap > .ctr-break { margin-top: 10px; }
.ctr-break-wrap:first-of-type > .ctr-break { margin-top: 0; }
.ctr-discounts { margin-top: 18px; }
.ctr-break__f--grow { flex: 1 1 220px; }
.ctr-break__f--grow .form-control { width: 100%; }
/* the request repeated on the quote form */
.ctr-strip__line { display: block; color: #666; }
/* lot selection: the options show only when "Offered" is chosen; who can accept: the limits only for "Any buyer" */
.ctr-lots:not(:has(input[data-lots-on]:checked)) .ctr-lots__more { display: none; }
.ctr-who:not(:has(input[data-who-any]:checked)) .ctr-who__open { display: none; }
.ctr-who__open { margin-top: 8px; }
.ctr-check--row { margin: 0 0 8px; }
.ctr-oneoff { margin-top: 4px; }
/* the contract PDF: a real file input, hidden, opened by its label (Upload PDF / Replace) */
.ctr-file { position: relative; }
.ctr-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; left: 0; bottom: 0; }
/* keyboard focus only: focus stays on the input after the picker closes, which drew a box round Replace (practice run, 2026-11-12) */
.ctr-file__input:focus-visible ~ .ctr-file__pick { outline: 2px solid #367a00; outline-offset: 2px; }
.ctr-file__name[hidden] { display: none; }
label.ctr-btn { margin: 0; font-weight: normal; }
label.ctr-link { margin: 0; font-weight: normal; cursor: pointer; color: #367a00; }
label.ctr-link:hover { text-decoration: underline; }
/* Your quotes: the title opens the quote; Open quotes: the whole row is the link (spec section 3: rows are tappable) */
.ctr-item__title, .ctr-item__title:visited { color: inherit; text-decoration: none; }
.ctr-item__title:hover { text-decoration: underline; color: inherit; }
.ctr-item--link { position: relative; }
.ctr-item__cover { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.ctr-item__cover:focus { outline: 2px solid #367a00; outline-offset: -2px; }
/* the accept box before Build C wires it: drawn, not usable */
.ctr-form[aria-disabled="true"] .form-control[disabled] { background: #f7f7f7; cursor: not-allowed; }
@media (max-width: 767px) {
  .ctr-break__f--grow { flex: 1 1 auto; }
}
/* a further line inside a terms row (another pack size's price, a discount, a lot option) */
.ctr-kv__line { display: block; }
/* on a phone or tablet a terms row's label sits right above its value: a link's touch padding must not reach up into the label */
@media (max-width: 991px) { .ctr-kv__v > a.ctr-link { margin: 0 0 -8px; } }
/* the instant-match cards' cells never grow past the block */
.ctr-offer > * { min-width: 0; }
/* a unit add-on ("/lb off", "/lb per month") never breaks inside itself */
.ctr-suffix > span { white-space: nowrap; }
/* an error inside a repeating row marks its own field: the boxed $ add-on carries the red border */
.ctr-form .has-error .ctr-suffix { border-color: #c00404; }
/* the quote page at tablet widths: the terms column is narrow beside the panel, so each label sits above its value as on a phone */
@media (min-width: 768px) and (max-width: 991px) {
  .ctr-kv__row { flex-direction: column; gap: 2px; }
  .ctr-kv__k { flex-basis: auto; font-size: 13px; }
}
/* a repeating row with no remove button (the first pack size) gives its second field the whole width on a phone */
@media (max-width: 767px) { .ctr-break:not(:has(.ctr-x)) .ctr-break__f { grid-column: 1 / -1; } }

/* Build C: the LEx contract terms page (decision 8) */
.ctr-terms p { margin: 0 0 22px; line-height: 1.55; color: #333; }
/* each clause's number and title on a line of its own, so the twelve clauses scan as headings (design review) */
.ctr-terms p strong { display: block; margin: 0 0 4px; font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #222; }
.ctr-terms .ctr-card__sub { margin-bottom: 18px; }
/* Build C: the contract page's two documents stack as two whole tap targets that overlap neither each other nor the row label */
@media (max-width: 1024px) {
  .ctr-docs { gap: 0; }
  .ctr-docs .ctr-link { margin: 0; }
}
/* Build D: the Mark ready form - each further lot is set off from the one above (spec 3.12 "+ Add another lot") */
[data-ctr-lot-row] + [data-ctr-lot-row] { border-top: 1px solid #eee; padding-top: 16px; }
/* Build D: the Progress heading never leaves "up to" or a lone number on a line of its own (design review, round 1) */
[data-ctr-progress] .ctr-status { text-wrap: balance; }

/* ===== Contracts: tax-certificate gate (spec contracts-tax-certificate-gate-SPEC.md). ===== */
.cg-steps { list-style: none; margin: 0; padding: 0; }
.cg-foot { border-top: 1px solid #e3e3e3; margin: 0; padding: 14px 0 0; font-size: 15px; color: #666; }
.cg-step { padding: 14px 0; border-top: 1px solid #e3e3e3; }
.cg-step:first-child { border-top: 0; padding-top: 2px; }
.cg-step__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cg-chip { font-size: 13px; line-height: 1; padding: 5px 9px; white-space: nowrap; }
.cg-email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.cg-step__t { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; color: #333; line-height: 1.35; }
.cg-step--done .cg-step__t { color: #555; }
.cg-step__d { font-size: 15px; line-height: 1.45; color: #555; margin: 4px 0 0; text-wrap: pretty; }
.cg-step__d strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #333; }
.cg-step__m { font-size: 14px; color: #767676; margin: 6px 0 0; line-height: 1.4; }
.cg-step .ctr-btn { margin: 12px 0 6px; }
.cg-step__a { font-size: 15px; margin: 8px 0 0; line-height: 1.4; }
.cg-attach { border: 1px solid #e3e3e3; border-radius: 4px; padding: 10px 14px; margin: 0 0 16px; font-size: 15px; line-height: 1.4; background: #fafafa; }
.cg-attach__k { display: block; font-size: 13px; color: #767676; margin-bottom: 2px; }
.cg-attach__v { color: #333; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .cg-step__m a { display: inline-block; padding: 10px 0; margin: -6px 0; }
}

/* /account/payment-methods */
.pm-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid #ececec; }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ececec; font-size: 16px; }
.pm-row__t small { color: #767676; font-size: 14px; }
.pm-row strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.pm-flash { background: #e8f6da; color: #2f6b00; border-radius: 4px; padding: 10px 14px; margin: 0 0 16px; font-size: 15px; }
.pm-form { padding-top: 2px; }
.pm-form--rule { border-top: 1px solid #ececec; padding-top: 18px; }
.pm-form--busy .ctr-field { opacity: .55; pointer-events: none; }
.pm-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; margin: 0 8px -2px 0; }
.pm-form .ctr-field { margin: 0 0 18px; }
.pm-form .ctr-label { display: block; margin: 0 0 6px; }
.pm-form .ctr-row2 .ctr-field { margin-bottom: 18px; }
.pm-form .ctr-btn--block { margin-top: 6px; }
.pm-error { background: #fdeaea; color: #a30000; border-left: 3px solid #a30000; border-radius: 4px; padding: 10px 14px; margin: 6px 0 16px; font-size: 15px; line-height: 1.4; }
.cg-send { margin: 0; }
/* the Payment methods page shows and hides its parts with the hidden attribute (Scripts/payment-methods.js); .ctr-btn--block
   and friends set display, which beats the browser's own [hidden] rule, so it is restated here (found by the build screenshots) */
[data-pm] [hidden] { display: none !important; }

/* ===== Contracts step 3: deadlines, storage, release (spec contracts-step-3-SPEC.md). Goes into HopsLocker/sass/contracts.css. ===== */
.s3-due { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: #555; margin: 0 0 14px; }
.s3-due strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #333; }
.s3-due--soon strong { color: #8a5a00; }
.s3-due--past strong { color: #a30000; }
.s3-notice { background: #fff8e8; border: 1px solid #f1dfae; border-radius: 4px; padding: 10px 14px; margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: #5a4300; text-wrap: pretty; }
.s3-notice--grey { background: #f6f6f6; border-color: #e7e7e7; color: #555; }
/* the date: the bold face, as every other strong here - Chromium draws no synthetic bold over Gotham Narrow Light (gate, k8c) */
.s3-notice strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.s3-storage { border-top: 1px solid #e3e3e3; margin: 18px 0 0; padding: 14px 0 0; }
.s3-storage__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 6px; }
.s3-storage__t { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; color: #333; }
.s3-storage__amt { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; color: #333; white-space: nowrap; }
.s3-storage__d { font-size: 15px; color: #666; line-height: 1.45; margin: 0; text-wrap: pretty; }
.s3-storage .ctr-btn { margin: 12px 0 0; }
.s3-storage__links { font-size: 15px; margin: 10px 0 0; }
.s3-rows { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid #eee; }
.s3-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee; font-size: 15px; color: #333; }
.s3-rows li span:last-child { white-space: nowrap; }
.s3-rows li small { color: #767676; font-size: 14px; }
.s3-total { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 16px; }
.s3-total strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; font-size: 18px; }
.s3-muted { color: #767676; }
.s3-card-tile { border: 1px solid #52b400; border-radius: 4px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 15px; margin: 14px 0 0; background: #fff; }
.s3-card-tile__brand { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; }
.s3-card-tile__check { width: 18px; height: 18px; border-radius: 50%; background: #52b400; color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.s3-ok { background: #e8f6da; color: #2f6b00; border-radius: 4px; padding: 10px 14px; margin: 0 0 16px; font-size: 15px; }
.ctr-nums--4 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .s3-due { flex-wrap: wrap; } .s3-storage__links a { display: inline-block; padding: 8px 0; } }
/* round 3: spacing and emphasis from the r2 review */
.s3-due--soon span { color: #8a5a00; }
.s3-storage .ctr-btn { margin: 12px 0 4px; }
.s3-storage + .ctr-sub { margin-top: 22px !important; }
.s3-storage__links { margin: 10px 0 6px; }
.s3-mt { margin-top: 22px; }
.ctr-email .s3-rows { margin: 4px 0 0; }
.ctr-email .s3-total { padding: 10px 0 4px; }
.ctr-page input.form-control { color: #333; }
/* round 4 */
.s3-disabled { opacity: .5; pointer-events: none; }
.s3-due--soon span:last-child { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-table td.ctr-r, .ctr-table th.ctr-r { padding-left: 16px; }
/* the build (step 3): the merchant's storage levers are POST forms laid out as quiet links, side by side */
.s3-inline-form { display: inline-block; margin: 0 18px 0 0; }
.s3-inline-form:last-child { margin-right: 0; }
.s3-storage__links button.ctr-link { padding: 6px 0; }
/* the contracts redesign (contracts-redesign-SPEC.md 3.5, 5.1-5.3; ported from the design pass's redesign.css + step2.css):
   the lot line as two lines so no separator can dangle; a passed call-off date is a cost, not an error (amber, like the
   14-day state) and its right-hand label never splits; the merchant's Ready panel ends on its lot line; the offered lines'
   Withdraw is a POST laid out as a link; the Offer boxes form's error line is shown and hidden by script */
.s2-line { display: block; }
.s3-due--past strong { color: #8a5a00; }
.s3-due--past span:last-child { color: #8a5a00; font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; white-space: nowrap; }
.rd-lastline { margin: 0 0 4px !important; }
[data-ctr-offered] .s3-inline-form { display: block; margin: 0; }
[data-ctr-offered] button.ctr-link { padding: 0; margin: 0; background: none; border: 0; }
@media (max-width: 1024px) { [data-ctr-offered] button.ctr-link { display: inline-block; padding: 8px 0; } }
[data-ctr-offer-form] [hidden] { display: none !important; }
[data-ctr-offer-form] button[disabled] { opacity: .5; cursor: default; }
/* the storage charge pay page (spec 4.9, p1/p2): one narrow card */
.s3-pay { max-width: 560px; margin: 0 auto; }
.s3-pay .ctr-card__title { margin: 0 0 4px; }
.s3-pay #checkout .panel { border: 0; box-shadow: none; background: transparent; margin: 0; }
.s3-pay #checkout .panel-body { padding: 0; }
.s3-pay .s3-pay__method { margin: 18px 0 0; }
.s3-pay .s3-pay__error { margin: 12px 0 0; }
/* the merchant's storage links (Cancel this charge, Waive storage charges): side by side, wrapping as whole items, never
   overlapping - the touch-width rule above gives every .ctr-link a negative margin, which pulled two wrapped rows onto
   each other (visual gate, k9a2 at 375 and 768) - and at touch widths each one at least 36 px tall like every text action */
.s3-storage__links { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
.s3-storage__links .s3-inline-form { margin: 0; }
.s3-storage__links button.ctr-link { margin: 0; }
@media (max-width: 1024px) { .s3-storage__links button.ctr-link { display: inline-block; padding: 10px 0; margin: 0; } }
/* ===== Contracts redesign, ready by variety (contracts-redesign-SPEC.md 3.2, 3.3; pictures m1, m2, m3): the Mark ready page
   (Views/Contracts/Ready.cshtml), one narrow card, phone first; and the merchant's variety rows on the Contracts page. One
   block at the end of the file so the other redesign edits elsewhere in it merge cleanly. ===== */
.cv-card { max-width: 680px; margin: 0 auto 18px; }
.cv-card .ctr-card__sub { margin-bottom: 22px; }
.cv-rows__label { margin: 4px 0 6px; }
.cv-rows { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid #ddd; border-radius: 4px; }
.cv-row { position: relative; padding: 14px 18px; border-top: 1px solid #e7e7e7; }
.cv-row:first-child { border-top: 0; }
.cv-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }
.cv-row__buyer { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; line-height: 1.35; color: #333; overflow-wrap: anywhere; }
.cv-row__facts { font-size: 15px; line-height: 1.45; color: #666; margin: 4px 0 0; }
.cv-row .ctr-field { margin: 12px 0 0; }
/* "Use a different lot" / "Use the main lot": a checkbox and its label, so the row's lot field opens without script */
.cv-own { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.cv-own__link { font-size: 15px; white-space: nowrap; }
.cv-own__close, .cv-own__field { display: none; }
.cv-own:checked ~ .cv-row__head .cv-own__open { display: none; }
.cv-own:checked ~ .cv-row__head .cv-own__close { display: inline; }
.cv-own:checked ~ .cv-own__field { display: block; }
.cv-own:focus-visible ~ .cv-row__head .cv-own__link { outline: 2px solid #52b400; outline-offset: 2px; }
.cv-rows--confirm .cv-row__buyer .ctr-m:last-child { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; }
.cv-final { font-size: 15px; color: #555; margin: 0 0 14px; }
.cv-final strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.cv-card .ctr-note { margin: 10px 0 0; }
.cv-cancel { text-align: center; margin: 10px 0 0; font-size: 16px; }
.cv-cancel .ctr-link, .cv-cancel button.ctr-link { font-size: 16px; padding: 10px 12px; }
/* the merchant's Contracts page (m1): a late variety's date and "6 days ago" in amber; the one-line notice above the lists */
.ctr-m.ctr-m--late { color: #8a5a00; }
.ctr-vnotice { margin: 0 0 16px; }
@media (max-width: 767px) {
  .cv-card { padding: 18px 16px; }
  .cv-row { padding: 14px; }
  .cv-own__link { padding: 8px 0; margin: -8px 0; }
}
/* gate fix 1: a link on a line of its own in the panel (the lot line's "View listing #812", the offered lines' "View listing #913",
   the merchant's "See the offered boxes") reads like every other quiet link there ("Withdraw the offer", "Offer more boxes",
   "Waive storage charges"): green, underlined on hover only. Links inside a sentence keep .ctr-note's underline. */
.ctr-note .s2-line > a.ctr-link, .ctr-note .s2-line > a.ctr-link:visited { text-decoration: none; }
.ctr-note .s2-line > a.ctr-link:hover { text-decoration: underline; }
/* gate fix 3: short blocks never end on one word ("off.", "time.", "yourself.", "LEx.") nor split a price after its slash
   ("$9.50/" | "lb"): text-wrap: pretty where the engine has it (Chromium, WebKit), balance where it does not (Firefox). Not the
   amber notice in Firefox: balanced, it splits "$0.05/" | "lb" at 768 (its short endings are held by no-break spaces instead). */
.ctr-kv__v, .ctr-help, .s2-line { text-wrap: pretty; }
@supports not (text-wrap: pretty) {
  .ctr-kv__v, .s3-storage__d, .ctr-note, .ctr-help, .s2-line { text-wrap: balance; }
}
/* visual gate B (redesign build): the confirmation row reads "Old Brewing Co · 440 lb" (Ready.cshtml) and a 50-character lot
   breaks inside its row; the row link "Use a different lot" keeps one place on every row - top right from 768px, under the
   row's facts on a phone - so a long name keeps its width; it is set in the face of every other quiet link (a <label> gets
   the site's Extra Light) */
/* v6 (PM44 on review B3): the lot ("Lot P91-KUVG10262") never breaks at its hyphen; only an over-long one (the view marks a fact over
   30 characters ctr-m--wrap) breaks inside its row */
.cv-rows--confirm .cv-row__facts .ctr-m--wrap:first-child { white-space: normal; overflow-wrap: anywhere; }
.cv-row__head { flex-wrap: nowrap; }
.cv-row__head .cv-row__buyer { flex: 1 1 auto; min-width: 0; }
.cv-own__link { flex: none; font-family: "Gotham Narrow Light","Helvetica Neue",Helvetica,Arial,sans-serif; }
@media (max-width: 767px) {
  .cv-row { display: flex; flex-direction: column; }
  .cv-row__head { display: contents; }
  .cv-row__head .cv-row__buyer { order: 1; }
  .cv-row > .cv-row__facts { order: 2; }
  .cv-own__link { order: 3; align-self: flex-start; margin: -2px 0 -8px; }
  .cv-own__field { order: 4; }
  .cv-chosen { order: 5; }
}

/* contracts redesign, second build: the expected-date note grows with what is typed (field-sizing where supported, two
   rows elsewhere); an offer's View listing and Withdraw share one line with a dot, centred like Offer more boxes; and on
   touch screens the panel's quiet links get a 44 px tap target (design review relayed by PM36) */
.ctr-form textarea.ctr-grow { resize: vertical; min-height: 64px; max-height: 168px; field-sizing: content; }
[data-ctr-offered] .s3-offer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 2px; }
[data-ctr-offered] .s3-offer-actions .s3-inline-form { display: inline-block; margin: 0; }
[data-ctr-offered] .s3-offer-actions .ctr-dot { margin: 0 8px; }
@media (pointer: coarse) {
  .ctr-panel .ctr-quiet, .ctr-panel .s3-offer-actions .ctr-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ===== Phone layout pass (lexdev 1.5.5.5 visual gate, https://trello.com/c/fyOIyynS): LAYOUT ONLY - every element,
   label and button stays; narrow widths are restyled in place. ===== */
/* Pay page (StorageCharge.cshtml): the shared Finix saved-card row (Finix_Plaid.cshtml, styled by bluesnap.css for
   checkout) sized to this card only. The card tile takes the row, the remove box is a fixed square at the tile's own
   height (WebKit drew it taller than the tile), and the masked number never breaks inside itself. */
.s3-pay .instrument-list { margin: 0; padding: 0; }
.s3-pay .instrument-list li.existing-instrument { align-items: stretch; gap: 8px; margin: 0 0 4px; }
.s3-pay .existing-instrument .existing-item { flex: 1 1 auto; width: auto; min-width: 0; padding: 12px 14px; border-radius: 4px; text-align: left; }
.s3-pay .existing-item .selected-icon, .s3-pay .existing-item .unselected-icon { flex: none; margin-right: 12px; }
.s3-pay .card-item > div.item-name { min-width: 0; margin-right: 10px; }
.s3-pay .card-item > div.item-name > div:nth-child(2) { flex-wrap: wrap; column-gap: 12px; white-space: nowrap; }
.s3-pay .card-item .card-exp { margin-left: 0; color: #767676; }
.s3-pay .existing-item img { flex: none; margin-left: auto; }
.s3-pay .existing-instrument .remove-btn { flex: none; align-self: stretch; width: 48px; min-height: 48px; height: auto; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 4px; border-color: #ddd; color: #767676; }
.s3-pay .instrument-list li.new-payment-buttons { margin: 6px 0 0; align-items: center; }
.s3-pay .instrument-list li.new-payment-buttons .btn { min-height: 44px; }

/* Merchant Requests, every width: "Send a quote" is the row's secondary action, a plain green link like Withdraw and
   Close request (spec section 6: one solid green button per panel, secondary actions as plain green links) */
[data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline,
[data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline:visited { width: auto; padding: 0; border: 0; background: none; color: #367a00; justify-content: flex-start; font-family: inherit; font-size: 15px; font-weight: normal; }
[data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline:hover,
[data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline:focus { background: none; color: #2f6b00; text-decoration: underline; }
/* Contracts home, every width: the attention rows' buttons share one minimum width so the action column lines up */
[data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item__act .ctr-btn { min-width: 120px; }
/* Contracts home (Buyer.cshtml, Merchant.cshtml), every width: every Needs your attention row's button is outline - Order now,
   Pay, Review and sign, Mark ready alike, the first row included (John, contracts tour 2026-12-01: "I just want it to be the way
   it should be."; replaces spec section 6's solid first row) */
[data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item .ctr-btn--primary,
[data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item .ctr-btn--primary:visited { background: #fff; border-color: #b7d79a; color: #367a00; }
[data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item .ctr-btn--primary:hover,
[data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item .ctr-btn--primary:focus { background: #52b400; border-color: #52b400; color: #fff; }

@media (max-width: 767px) {
  /* Contracts home (Buyer.cshtml, Merchant.cshtml): the header's text action beside the title, the page button under it */
  [data-ctr-page^="contracts-"] .ctr-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px 16px; }
  [data-ctr-page^="contracts-"] .ctr-head__actions { display: contents; }
  [data-ctr-page^="contracts-"] .ctr-head h1 { grid-column: 1; grid-row: 1; }
  [data-ctr-page^="contracts-"] .ctr-head__actions .ctr-btn { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  [data-ctr-page^="contracts-"] .ctr-head__actions .ctr-link { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 2px; }

  /* Needs your attention: each row keeps its button, sized to its label under the text - not a full-width block -
     every row's outline alike (John, contracts tour 2026-12-01) */
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item__act,
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item__act .ctr-btn { width: auto; }
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item__act { margin-top: 6px; }
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item__act .ctr-btn { min-height: 44px; min-width: 120px; padding: 0 20px; }

  /* Merchant Requests: "Send a quote" is the row's action, shown as a green text action (spec section 6: secondary
     actions as plain green links), so a long list is not a column of buttons; still a 44 px tap target */
  [data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act { margin-top: 2px; }
  [data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline,
  [data-ctr-page="contracts-merchant"] .ctr-list[data-ctr-section="requests"] .ctr-item__act .ctr-btn--outline:visited { min-height: 44px; margin: -6px 0 -8px; }

  /* Your contracts (_Contracts.cshtml, both Contracts home pages): the status pill always on its own line under the meta,
     never on the meta line in one row and wrapped below it in the next */
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="your-contracts"] .ctr-item__meta .ctr-chip { display: table; margin: 6px 0 0; }

  /* Merchant variety filter: the chips wrap inside the card column, left-aligned, one height, the same 8 px gap across
     and down (round 3: a sideways-scrolling row hid chips with no sign that it scrolled) */
  [data-ctr-page="contracts-merchant"] .ctr-chips[role="navigation"] { flex-wrap: wrap; justify-content: flex-start; gap: 8px; max-width: 100%; overflow: visible; padding: 0; }
  [data-ctr-page="contracts-merchant"] .ctr-chips[role="navigation"] .ctr-chipbtn { flex: none; min-height: 44px; max-width: 100%; padding: 0 12px; border-radius: 22px; white-space: nowrap; }
}
/* offload spec v1.3 3.1-3.2 (John 2026-11-28): "Offer boxes to other buyers" is the site's neutral button (.ctr-btn--default) on the
   contract page, 10 px under Order now, and beside Order now on a Needs your attention row. From 1024 px the row's pair sits side by
   side, Order now at the right; below 1024 it stacks, Order now first, both 232 px wide in every such row. The every-row-outline rule
   above targets .ctr-btn--primary only, so it leaves the neutral button alone. */
.ctr-panel__body > .ctr-btn[data-ctr-offer-boxes] { margin: 10px 0 4px; }
.ctr-item--offer .ctr-item__act { gap: 10px; }
@media (max-width: 1023px) {
  [data-ctr-page^="contracts-"] .ctr-list[data-ctr-section="attention"] .ctr-item--offer .ctr-item__act { flex-direction: column-reverse; align-items: stretch; gap: 8px; width: 232px; max-width: 100%; }
}

/* ===== Contracts tour spec v5.1 3.1 (the design pass's mock/v4.css + mock/v5.css "3.1 request form", "one caret" and "Pounds is
   a labelled line"): the request form. ONE row shape for every product - Variety | Product type | Quantity | Packaging | Pounds
   | x. Product type is as wide as its longest name (214 px of text), Packaging as the longest pack name (171 px), Variety takes
   the rest. From 992 px the card is 1000 px wide, the labels show once in the header row (each line's own stay for screen
   readers) and lines sit 10 px apart. Below 992 px every line carries its labels, lines are separated by a hairline and, from
   two lines, each starts with "Line n" with its x at the right. ===== */
@media (min-width: 992px) { .ctr-page--narrow.ctr-page--req { max-width: 1000px; } }
.ctr-page--req .ctr-card__title { margin-bottom: 18px; }
.ctr-lrow { display: grid; grid-template-columns: minmax(0,1fr) 258px 64px 214px 70px 28px; gap: 0 12px; align-items: start; margin: 0 0 10px; }
/* the hidden caption and x: [hidden] must beat the grid and flex displays here */
.ctr-lrow[hidden], .ctr-lrow [hidden] { display: none !important; }
/* the type-to-search variety picker at the form's control height; a name too long for its column ends in an ellipsis (the
   list and the picker's title show it whole) */
.ctr-lrow .bootstrap-select > .dropdown-toggle { height: 42px; padding-top: 9px; padding-bottom: 9px; }
.ctr-reqform .bootstrap-select .filter-option { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.ctr-form .ctr-lrow > .ctr-field { margin: 0; }
.ctr-lrow > .ctr-lrow__pounds { grid-column: 5; }
.ctr-lrow > .ctr-lrow__x { grid-column: 6; grid-row: 1; }
.ctr-lrow__no { display: none; }
.ctr-form .ctr-lrow__count { width: 100%; }
.ctr-form .ctr-lrow__unit { width: 100%; padding-left: 12px; }
/* Pounds is a VALUE at field text size (16 px, #333), "264 lb"; a quiet dash until Quantity is a number */
.ctr-lrow__pounds > .ctr-label { display: block; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; line-height: 1.3; margin: 0 0 6px; color: #333; }
.ctr-eq { display: block; font-size: 16px; line-height: 42px; color: #333; white-space: nowrap; }
.ctr-eq.ctr-eq--none { color: #767676; }
/* a quantity error stays on one line: it may run under the Packaging menu beside it */
.ctr-lrow__qty { min-width: 0; }
.ctr-lrow__qty > .ctr-error { white-space: nowrap; width: 0; overflow: visible; }
.ctr-lrow__x { width: 28px; height: 42px; margin: 0; padding: 0; position: relative; }
.ctr-lrow__x::before { content: ""; position: absolute; left: -8px; right: -8px; top: -1px; bottom: -1px; }
/* one caret for the three menus of a line (the picker's), and one text size: the native arrows differ per browser and from
   the picker beside them */
.ctr-reqform .ctr-lrow select.form-control, .ctr-arow select.form-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 30px; font-size: 16px;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Cpath d='M0 0h8L4 4z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ctr-lhead { display: none; }
@media (min-width: 992px) {
  .ctr-lhead { display: grid; grid-template-columns: minmax(0,1fr) 258px 64px 214px 70px 28px; gap: 0 12px; margin: 0 0 6px;
    font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 15px; line-height: 1.3; color: #333; }
  .ctr-lrow .ctr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 991px) {
  /* a phone or tablet: every line shows its labels. Variety, Product type, then Quantity + Packaging + Pounds */
  .ctr-page--req .ctr-card__title { margin-bottom: 2px; }
  .ctr-lrow { display: flex; flex-wrap: wrap; gap: 12px 10px; position: relative; margin: 0; padding: 16px 0 18px; }
  .ctr-lrow + .ctr-lrow { border-top: 1px solid #e7e7e7; }
  .ctr-lrow > .ctr-lrow__variety, .ctr-lrow > .ctr-lrow__product { flex: 0 0 100%; }
  .ctr-lrow > .ctr-lrow__qty { flex: 0 0 64px; }
  .ctr-lrow > .ctr-lrow__pack { flex: 1 1 auto; min-width: 0; }
  .ctr-lrow > .ctr-lrow__pack .ctr-lrow__unit { width: auto; min-width: 100%; }
  .ctr-lrow > .ctr-lrow__pounds { flex: 0 0 auto; min-width: 62px; }
  .ctr-form .ctr-lrow .ctr-field > .ctr-label { display: block; width: -moz-fit-content; width: fit-content; line-height: 20px; margin: 0 0 8px; }
  .ctr-lrow > .ctr-lrow__x { position: absolute; top: 4px; right: -10px; width: 44px; height: 44px; }
  .ctr-lrow__x::before { content: none; }
  /* the line's number (the duplicate error names a line, and thirty stacked lines cannot be counted) */
  .ctr-lrow__no { display: block; flex: 0 0 100%; font-size: 14px; line-height: 20px; color: #555; margin: 0 0 -2px; }
}
@media (min-width: 600px) and (max-width: 991px) {
  /* a tablet: Variety and Product type share the first row; Quantity, Packaging and Pounds the second */
  .ctr-lrow > .ctr-lrow__variety { flex: 1 1 0; min-width: 0; }
  .ctr-form .ctr-lrow > .ctr-lrow__product { flex: 0 0 258px; margin-right: 34px; }
  .ctr-lrow::after { content: ""; flex: 0 0 100%; order: 1; height: 0; margin-top: -12px; }
  .ctr-lrow > .ctr-lrow__qty, .ctr-lrow > .ctr-lrow__pack, .ctr-lrow > .ctr-lrow__pounds { order: 2; }
  .ctr-lrow > .ctr-lrow__pack { flex: 0 0 214px; }
}
@media (max-width: 599px) {
  /* a phone: Quantity and Packaging always share a row (the longest pack name still fits beside a 62 px Quantity); then
     Pounds as a labelled line of its own, label and value side by side, in the same place on EVERY line */
  .ctr-lrow { gap: 12px 8px; }
  .ctr-lrow > .ctr-lrow__qty { flex: 0 0 62px; }
  .ctr-reqform .ctr-lrow select.ctr-lrow__unit { padding-left: 10px; padding-right: 26px; background-position: right 9px center; }
  .ctr-form .ctr-lrow__count { padding-left: 8px; padding-right: 6px; }
  .ctr-lrow > .ctr-lrow__pack { flex: 1 1 0; min-width: 0; }
  .ctr-lrow > .ctr-lrow__pack .ctr-lrow__unit { width: 100%; min-width: 0; }
  .ctr-form .ctr-lrow > .ctr-lrow__pounds { flex: 0 0 100%; display: flex; align-items: baseline; gap: 10px; min-width: 0; margin-top: -2px; }
  .ctr-form .ctr-lrow > .ctr-lrow__pounds > .ctr-label { margin: 0; width: auto; }
  .ctr-lrow > .ctr-lrow__pounds .ctr-eq { line-height: 24px; }
}
.ctr-error--top { margin: 0 0 14px; }

/* the request as a merchant sees it (spec 3.2): one row per line, its action on the right */
.ctr-lines { list-style: none; margin: 6px 0 16px; padding: 0; }
.ctr-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.ctr-line:first-child { border-top: 1px solid #eee; }
.ctr-line__main { min-width: 0; color: #222; }
.ctr-line__side { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: #555; font-size: 14px; white-space: nowrap; }
@media (max-width: 480px) {
  .ctr-line { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Contracts tour fixes (contracts-tour-fixes-SPEC.md v3 3.6; v4 3.8, mock v4.css:102-106): the way back to Contracts, in the space
   above the card - absolute, so nothing below it moves - 6 px higher (11 px on a phone), its tap area 45 px high. PR C visual gate:
   #367a00, the site's link green, meets WCAG AA on white (5.33:1; the mock's #4a8f12 is 4.02:1); hover and focus go darker. */
.ctr-page { position: relative; }
.ctr-back { position: absolute; top: -6px; left: 15px; font-size: 15px; line-height: 17px; color: #367a00; text-decoration: none; }
.ctr-back:hover, .ctr-back:focus { text-decoration: underline; color: #2b6200; }
.ctr-back::before { content: ""; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
@media (max-width: 767px) {
  /* 16 px above the card here: the link sits higher and on a 15 px line, so it clears the card's border */
  .ctr-back { top: -11px; left: 16px; line-height: 15px; }
  .ctr-back::before { top: -15px; bottom: -15px; }
}

/* ===== Spec v5.1 3.7.1 (the design pass's mock/v4.css "3.6 Your requests" + mock/v5.css "3.7"): Your requests, ONE list in the
   page's own list style, one row per requested hop - the hop text bold, "Sent Nov 10 · {state}" under it, the quiet links Edit then
   Cancel request on the right, 22 px apart. Cancel request opens its question in place (white, under the title lines); the links
   hide while it or the editor is open. The hop's live quotes are the form's quote rows (merchant | price | WHAT | WHEN), indented
   on a grey hairline. A phone: the hop text full width, the links on the "Sent" line, right-aligned, and the state on a line of its
   own under it. ===== */
.ctr-item.ctr-rq { grid-template-columns: minmax(0,1fr) auto; row-gap: 2px; }
.ctr-rq [hidden] { display: none !important; }
.ctr-rq .ctr-item__main { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-item.ctr-rq .ctr-rq__act { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 22px; }
.ctr-rq .ctr-rq__act .ctr-rq__link, .ctr-rq .ctr-rq__btns .ctr-rq__link { display: inline-block; font-size: 15px; line-height: 20px; padding: 12px 0; margin: -6px 0; }
.ctr-rq .ctr-rq__meta .ctr-m.ctr-rq__bad, .ctr-rq__state.ctr-rq__bad { color: #333; }
.ctr-rq__state { display: none; }
.ctr-rq__confirm { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid #e7e7e7; }
.ctr-rq__q { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; font-size: 16px; color: #333; margin: 0; }
.ctr-rq__note { font-size: 14px; color: #666; margin: 2px 0 0; }
.ctr-rq__btns { display: flex; align-items: center; gap: 18px; margin: 0 0 0 auto; }
.ctr-rq__quotes { grid-column: 1 / -1; list-style: none; margin: 8px 0 -6px; padding: 0; }
.ctr-rq__quotes .ctr-oq, .ctr-rq__quotes .ctr-oq:visited { border-top-color: #eee; padding-left: 14px; }
.ctr-rq__quotes .ctr-oq:hover, .ctr-rq__quotes .ctr-oq:focus { background: #fafafa; }
/* spec v5.1 3.7.2 step 6: the one line a refused edit leaves above the hop's quotes, in body colour */
.ctr-rq__msg { grid-column: 1 / -1; font-size: 15px; color: #333; margin: 8px 0 0; }
.ctr-rq__editor { grid-column: 1 / -1; margin-top: 10px; padding-top: 14px; border-top: 1px solid #e7e7e7; }
@media (max-width: 767px) {
  .ctr-rq .ctr-item__main { grid-column: 1 / -1; }
  .ctr-item.ctr-rq .ctr-rq__act { grid-column: 2; grid-row: 2; align-self: start; gap: 18px; }
  /* the links keep their place on the "Sent" line while the question or the editor is open (as the mock: hidden, not removed) */
  .ctr-item.ctr-rq .ctr-rq__act[hidden] { display: flex !important; visibility: hidden; }
  .ctr-rq .ctr-rq__meta { grid-column: 1; grid-row: 2; align-self: start; padding-top: 6px; }
  /* the state leaves the "Sent" line for a line of its own */
  .ctr-rq--state .ctr-rq__meta .ctr-m + .ctr-m { display: none; }
  .ctr-rq--state .ctr-rq__meta .ctr-frags > .ctr-m::after { content: none; }
  .ctr-rq__state { display: block; grid-column: 1 / -1; grid-row: 3; font-size: 14px; color: #666; margin-top: 2px; }
  .ctr-rq--state.ctr-item--link .ctr-rq__state { padding-right: 28px; }
  .ctr-rq__confirm { margin-top: 8px; padding-top: 10px; gap: 6px 20px; }
  /* Keep request and the button together on the left, in the desktop's order */
  .ctr-rq__btns { margin-left: 0; width: 100%; justify-content: flex-start; }
  .ctr-rq__quotes .ctr-oq, .ctr-rq__quotes .ctr-oq:visited { padding-left: 10px; }
  .ctr-rq__quotes .ctr-oq__what--none { display: none; }
}

/* ===== Spec v5.1 3.7.2 (mock/v5.css "Edit"): the editor in place - the request form's line with its labels (Variety | Product
   type | Quantity | Packaging | Pounds, the form's widths, one row from 992 px), then Discard changes (link) and Save changes (the
   row's one button), right-aligned; on a phone the form's stacked line and the two on the left. ===== */
.ctr-ed .ctr-ed__form { margin: 0; }
.ctr-ed__row { display: grid; grid-template-columns: minmax(0,1fr) 258px 64px 214px 70px; gap: 0 12px; align-items: start; }
.ctr-ed .ctr-ed__row > .ctr-field { margin: 0; min-width: 0; }
.ctr-ed__row .ctr-label { display: block; margin: 0 0 6px; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; font-size: 15px; line-height: 1.3; color: #333; }
.ctr-ed__row .bootstrap-select { width: 100%; }
.ctr-ed__row .bootstrap-select > .dropdown-toggle { height: 42px; padding-top: 9px; padding-bottom: 9px; }
.ctr-ed__row .bootstrap-select .filter-option { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.ctr-ed__row select.form-control, .ctr-ed__row input.form-control { width: 100%; height: 42px; font-size: 16px; }
/* the form's one caret for the line's menus */
.ctr-ed__row select.form-control { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-left: 12px; padding-right: 30px;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Cpath d='M0 0h8L4 4z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ctr-ed__row .has-error select.form-control, .ctr-ed__row .has-error input.form-control { border-color: #c00404; }
.ctr-ed__qty > .ctr-error { white-space: nowrap; width: 0; overflow: visible; }
.ctr-ed__btns { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 14px; }
.ctr-ed__btns .ctr-ed__discard { display: inline-block; font-size: 15px; line-height: 20px; padding: 12px 0; margin: -6px 0; }
@media (max-width: 991px) {
  .ctr-ed__row { display: flex; flex-wrap: wrap; gap: 12px 10px; }
  .ctr-ed__row > .ctr-ed__variety { flex: 1 1 0; }
  .ctr-ed__row > .ctr-ed__product { flex: 0 0 258px; }
  .ctr-ed__row > .ctr-ed__qty { flex: 0 0 64px; }
  .ctr-ed__row > .ctr-ed__pack { flex: 0 0 214px; }
  .ctr-ed__row::after { content: ""; flex: 0 0 100%; order: 1; height: 0; margin-top: -12px; }
  .ctr-ed__row > .ctr-ed__qty, .ctr-ed__row > .ctr-ed__pack, .ctr-ed__row > .ctr-ed__pounds { order: 2; }
}
@media (max-width: 599px) {
  /* a phone: Variety, Product type, then Quantity + Packaging, then Pounds as a labelled line of its own */
  .ctr-ed__row { gap: 12px 8px; }
  .ctr-ed__row > .ctr-ed__variety, .ctr-ed__row > .ctr-ed__product { flex: 0 0 100%; }
  .ctr-ed__row::after { content: none; }
  .ctr-ed__row > .ctr-ed__qty { flex: 0 0 62px; }
  .ctr-ed__row > .ctr-ed__pack { flex: 1 1 0; min-width: 0; }
  .ctr-ed__row > .ctr-ed__pack select.form-control { width: 100%; min-width: 0; padding-left: 10px; padding-right: 26px; background-position: right 9px center; }
  .ctr-ed__row > .ctr-ed__qty input.form-control { padding-left: 8px; padding-right: 6px; }
  .ctr-ed .ctr-ed__row > .ctr-ed__pounds { flex: 0 0 100%; display: flex; align-items: baseline; gap: 10px; min-width: 0; margin-top: -2px; }
  .ctr-ed__row > .ctr-ed__pounds > .ctr-label { margin: 0; width: auto; }
  .ctr-ed__row > .ctr-ed__pounds .ctr-eq { line-height: 24px; }
  .ctr-ed__btns { justify-content: flex-start; }
}

/* ===== Contracts tour spec v5.1 3.1.2 (the design pass's mock/v5.css "quotes already open"): under the crop-year chips, one
   block per requested hop (the existing green-outlined block), each quote a row link (it opens the quote in a new tab) in four
   fixed slots so the rows line up - merchant and price in the medium face | WHAT (product, packaging, minimum) | WHEN
   (available, accept by) - and a chevron. A phone: merchant and price; then WHAT; then WHEN, the same three lines on every row
   (a WHAT with nothing to say is not drawn). ===== */
.ctr-match-slot { margin: 2px 0 20px; }
.ctr-match-slot .ctr-match { margin: 0 0 12px; padding: 14px 18px 6px; }
.ctr-match-slot .ctr-match__title { margin: 0 0 8px; }
.ctr-match__rows { list-style: none; margin: 0; padding: 0; }
.ctr-oq, .ctr-oq:visited { display: grid; grid-template-columns: minmax(0,1.1fr) 84px minmax(0,1.15fr) minmax(0,1.5fr) 16px; align-items: center; gap: 0 14px; min-height: 44px; padding: 6px 0; border-top: 1px solid #dcebcf; color: #333; text-decoration: none; font-size: 15px; line-height: 1.35; }
.ctr-oq:hover, .ctr-oq:focus { background: #f3fbe9; color: #333; text-decoration: none; }
.ctr-oq__who, .ctr-oq__price { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-oq__what, .ctr-oq__when { color: #555; min-width: 0; }
.ctr-oq__chev { color: #aaa; font-size: 26px; line-height: 1; padding: 0 0 0 4px; }
@media (max-width: 767px) {
  .ctr-oq, .ctr-oq:visited { grid-template-columns: minmax(0,1fr) auto 16px; gap: 0 10px; }
  .ctr-oq__what, .ctr-oq__when { grid-column: 1 / 3; font-size: 14px; }
  .ctr-oq__what:empty { display: none; }
  .ctr-oq .ctr-oq__chev { grid-column: 3; grid-row: 1 / span 3; }
}

/* ===== Spec v5.1 3.3 (mock/v4.css "3.2 merchant request page"): a hop's state on the right is grey text or a quiet link, one
   solid button at most (Review and sign, or the page's only Send a quote). The header chip is gone. ===== */
.ctr-lines--merchant .ctr-line__main { color: #333; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-line__state { color: #666; }
.ctr-side-link, .ctr-side-link:visited { color: #367a00; font-size: 15px; display: inline-block; padding: 12px 0; margin: -12px 0; }
.ctr-lines--merchant .ctr-line__side { font-size: 15px; gap: 14px; }
@media (max-width: 480px) {
  /* a phone: the right side under the hop text, left-aligned; a button keeps its own width */
  .ctr-lines--merchant .ctr-line { gap: 0; }
  .ctr-lines--merchant .ctr-line__side { margin-top: 6px; }
  .ctr-side-link, .ctr-side-link:visited { padding: 12px 0; margin: -6px 0 -12px; }
  .ctr-lines--merchant .ctr-line__side .ctr-btn { margin-top: 2px; width: auto; }
  .ctr-lines--merchant .ctr-line__side > .ctr-btn--primary:only-child { margin-top: 4px; }
}

/* ===== Spec v5.1 3.3 (mock/v4.css + v5.css "the merchant's Requests list"): ONE item per request; its open hops are rows inside,
   each with the request page's right side (Send a quote, or the small grey "Quote sent · $9.40/lb" then View quote); the buyer
   line once under them. ===== */
.ctr-list .ctr-item.ctr-mreq { display: block; }
.ctr-mreq__hop { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 44px; }
.ctr-mreq .ctr-item__meta { margin-top: 6px; }
.ctr-mreq__hop .ctr-item__act { grid-row: auto; flex: 0 0 auto; display: flex; align-items: center; gap: 14px; font-size: 15px; margin-top: 0; }
.ctr-mreq__hop .ctr-line__state { color: #666; font-size: 15px; }
/* PR B gate fix 10: View quote keeps a 44 px tap area (.ctr-item__act .ctr-link's padding outranks .ctr-side-link); pixels unchanged */
.ctr-mreq__hop .ctr-item__act .ctr-side-link { padding: 12px 0; margin: -12px 0; }
@media (max-width: 767px) { .ctr-mreq__hop .ctr-item__act .ctr-side-link { margin: -8px 0; } }
@media (max-width: 767px) {
  .ctr-mreq__hop { flex-direction: column; align-items: flex-start; }
  .ctr-mreq__hop + .ctr-mreq__hop { margin-top: 12px; }
  .ctr-mreq__hop .ctr-item__act .ctr-btn { width: auto; }
}

/* ===== Spec v5.1 3.4 (mock/v4.css "3.3 quote form", v5.css "3.4 quote form"): no sub-line, so the title keeps its distance from
   what follows; "= 6 boxes (4x11 lb)" beside Pounds at field text size; the buyer-changed sentence under the title in body
   colour at body size (not a tint, not small print). ===== */
.ctr-card[data-ctr-state="f1"] > .ctr-card__title, .ctr-card[data-ctr-state="f2"] > .ctr-card__title { margin-bottom: 18px; }
.ctr-inline__packs { font-size: 16px; line-height: 42px; color: #333; white-space: nowrap; margin-left: 2px; }
.ctr-inline__packs[hidden] { display: none; }
.ctr-changed { margin: 0 0 14px; font-size: 15px; color: #333; }

/* ===== Spec v5.1 3.5 (mock/v5.css "3.5", "the open-quote panel", "the sign panels' hop line"; v4.css "the partial-quote line"): the
   accept panel. A quote open to any buyer: the request form's row in the panel - Quantity | Packaging | Pounds - with the grey
   range under it. The hop line is regular weight in every engine: no <strong>, the body's regular face (a <strong> over the Light
   face is bold in WebKit and Firefox and regular in Chromium). ===== */
.ctr-panel--first .ctr-req__line--hops { font-family: inherit; font-weight: normal; }
.ctr-panel .ctr-form p.ctr-note.ctr-linenote { margin: 0 0 12px; color: #333; }
.ctr-arow { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start; }
.ctr-arow .ctr-field { margin: 0; }
.ctr-arow .ctr-label { display: block; margin: 0 0 6px; font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; font-size: 15px; line-height: 1.3; color: #333; }
.ctr-arow .ctr-eq { line-height: 42px; }
.ctr-arow__qty { flex: 0 0 64px; }
.ctr-arow__pack { flex: 0 1 auto; min-width: 0; }
.ctr-arow__pack select { width: auto; min-width: 0; }
.ctr-arow__pounds { flex: 0 0 auto; min-width: 62px; }
.ctr-form .ctr-help.ctr-arow__range { margin: 6px 0 12px; }
.ctr-arow__range[hidden] { display: none; }
.ctr-arow + .ctr-error { margin: 6px 0 12px; }

/* ===== Spec v5.1 3.6 (mock/v5.css "3.6", v4.css "the merchant's panel"): the contract page's panels. Withdraw my signature is a
   quiet link under the waiting line; its question opens in the panel's place - Keep my signature (link) then Withdraw signature
   (outline button) on one line; in a panel too narrow for both (a phone, a 768 px side panel) the line wraps upward: the button,
   then the link under it. The merchant's Approve panel names the hops in regular weight, then the buyer's summary. ===== */
[data-ctr-withdraw] [hidden] { display: none !important; }
.ctr-wd { margin: 6px 0 -12px; }
.ctr-wd .ctr-wd__link, .ctr-wd__btns .ctr-wd__keep { display: inline-block; font-size: 16px; line-height: 20px; padding: 12px 0; white-space: nowrap; }
.ctr-wd__btns { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 6px 18px; margin-top: 10px; }
.ctr-wd__btns .ctr-inline-form { display: block; }
.ctr-approve .ctr-req__line--hops { margin: 0 0 10px; }

/* ===== PR C visual gate (spec v5.1 3.5, 3.6; v4 3.6) ===== */
/* the status panel's "View contract" keeps 20 px below its sentence at touch widths (a3) */
@media (max-width: 1024px) { .ctr-panel__body > .ctr-note + a.ctr-link { margin-top: 0; } }
/* the contract page's Signed row: a signature stays whole when it fits a line of its own; the date wraps under it (k1-k4) */
.ctr-sig .ctr-m { display: inline-block; max-width: 100%; vertical-align: top; }
.ctr-sig .ctr-m.ctr-m--wrap { white-space: normal; }
/* Withdraw my signature: the question takes focus when it opens; no ring on a heading (k1w) */
.ctr-wd__box .ctr-status:focus { outline: 0; }

/* ---- contracts v6, merchant side (spec contracts-v6-merchant-SPEC.md v6.4; John #4-#7, #13, #14) ---------------------------------- */
/* the quote form: the page's full width (1040), each group a title column and a fields column from 992 px (John #6), stacked below */
.v6-form .ctr-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 32px; border-top: 1px solid #eee; padding-top: 24px; margin-top: 10px; }
.v6-form .ctr-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.ctr-strip + .v6-form, .ctr-card__title + .v6-form { margin-top: 20px; }
.v6-form .ctr-group__title { margin: 0; padding-top: 2px; }
.v6-form .ctr-field { margin: 0 0 18px; min-width: 0; }
.v6-form .ctr-row2 { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 0 20px; }
.v6-form fieldset.ctr-field .ctr-chips { flex-wrap: wrap; }
.v6-form select.form-control { max-width: min(360px, 100%); }
/* a field alone on its row (the class line's Product type): its menu takes its readable width, not a 220 px column (review B10) */
.v6-form .v6-wide select.form-control { width: 360px; max-width: 100%; }
.v6-form .ctr-radio, .v6-form .ctr-who label { font-weight: normal; }
/* every new link a 44 px tap target (12 + 20 + 12) */
.v6-form .ctr-link, .v6-doc .ctr-link, .v6-foot .ctr-link { display: inline-block; padding: 12px 0; margin: 0; line-height: 20px; }
.v6-form .ctr-addlink { margin: 0; }
.v6-form .ctr-addlink .ctr-link { padding: 12px 0; }
/* a price row: packaging, price, its own count (John #4), and x */
.v6-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.v6-price select.form-control { width: 260px; max-width: 100%; }
.v6-price .ctr-suffix .form-control { width: 76px; }
.v6-price__count { font-size: 15px; color: #333; white-space: nowrap; }
.v6-price .ctr-x { margin-left: -4px; }
.v6-price .v6-bad, .v6-price .ctr-suffix.v6-bad { border-color: #c00404; }
.ctr-break-wrap + .ctr-break-wrap > .v6-price { border-top: 1px solid #f0f0f0; padding-top: 10px; }
/* lot selection: the saved ways one per line, then the add row */
.v6-ways { margin: 0; padding: 0; list-style: none; }
.v6-ways li { padding: 7px 0; }
.v6-ways label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: normal; font-size: 15px; line-height: 1.45; color: #333; cursor: pointer; }
.v6-ways input { margin: 4px 0 0; width: 16px; height: 16px; flex: 0 0 auto; }
.v6-ways__m { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; }
.v6-addway { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.v6-addway[hidden] { display: none; }
.v6-addway select.form-control { width: 220px; }
.v6-addway input.form-control { flex: 1 1 220px; min-width: 0; }
.v6-addway.has-error input.form-control { border-color: #c00404; }
/* your terms: the file line (John #7) */
.v6-doc { gap: 8px 14px; }
.v6-doc__name { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; overflow-wrap: anywhere; }
.v6-doc__meta { color: #767676; white-space: nowrap; }
.v6-doc [hidden] { display: none; }
/* the footer: Cancel then the button, right-aligned; the terms line under it */
.v6-foot { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #eee; }
.v6-foot .ctr-link { padding: 12px 0; }
.v6-terms { text-align: right; margin-top: 10px; font-size: 14px; }
@media (max-width: 991px) {
  /* minmax(0, ...): a long product name in a menu never widens the column past the card (round-2 review, q8) */
  .v6-form .ctr-group { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v6-form .ctr-group__title { margin: 0 0 14px; }
}
@media (max-width: 767px) {
  .v6-form .ctr-row2 { grid-template-columns: minmax(0, 1fr); }
  /* a price row on a phone (PM44 on review B8): [packaging | x], then the price, then its count on its own line - the x at the
     right end of its row, the count never against the card edge */
  .v6-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 10px 0 12px; margin: 0; border-bottom: 1px solid #eee; }
  .ctr-break-wrap:first-of-type > .v6-price { padding-top: 0; }
  .ctr-break-wrap + .ctr-break-wrap > .v6-price { border-top: 0; padding-top: 12px; }
  .v6-price select.form-control { width: 100%; grid-column: 1; grid-row: 1; }
  .v6-price select.form-control:nth-last-child(3) { grid-column: 1 / -1; }
  .v6-price .ctr-x { grid-column: 2; grid-row: 1; margin: 0; }
  .v6-price .ctr-suffix { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .v6-price__count { grid-column: 1 / -1; grid-row: 3; margin: 0; white-space: normal; }
  .v6-price__count:empty { display: none; }
  .v6-addway select.form-control { width: 100%; }
  .v6-addway input.form-control { flex: 1 1 0; }
  .v6-foot { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .v6-foot .ctr-btn { width: 100%; }
  .v6-foot .ctr-link { text-align: center; }
  .v6-terms { text-align: center; }
}

/* the merchant's Requests list (round-2 review, h1): only the hops lead in the Medium face; product, pounds and the pack phrase in
   the body face, so a line reads in two at 375 ("2027 US Cluster · T90 Pellet · 132 lb" / "3 boxes of 44 lbs (4x11 lbs bags)") */
.ctr-mreq .ctr-item__main .ctr-frags > .ctr-m:not(:first-child) { font-family: "Gotham Narrow Light","Helvetica Neue",Helvetica,Arial,sans-serif; }
.ctr-mreq .ctr-item__main .ctr-frags > .ctr-m { overflow-wrap: normal; }

/* Mark ready (John #13): a narrow field, one contract as one line, several as a bordered row each */
.cv-narrow { max-width: 360px; }
.cv-single { margin: 0 0 18px; }
.cv-single__facts { font-size: 15px; line-height: 1.45; color: #333; }
.cv-row__name { font-family: "Gotham Narrow Medium","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 16px; line-height: 1.35; color: #333; overflow-wrap: anywhere; min-width: 0; }
.cv-rows.v6-rows { border: 0; border-radius: 0; }
.v6-rows .cv-row { border: 1px solid #ddd; border-radius: 4px; padding: 14px 16px; margin: 0 0 12px; }
/* the step-1 rows: the head carries the 44 px "Use a different lot" link, so the row's top padding is smaller */
.cv-rows.v6-rows:not(.cv-rows--confirm) .cv-row { padding-top: 4px; }
.v6-rows .cv-row:first-child { border-top: 1px solid #ddd; }
.v6-rows .cv-row__head { flex-wrap: nowrap; align-items: center; }
.v6-rows .cv-own__link { display: inline-block; padding: 12px 0; margin: 0; line-height: 20px; flex: 0 0 auto; }
.cv-card .cv-cancel .ctr-link { display: inline-block; padding: 12px 0; margin: 0; line-height: 20px; }
.cv-chosen select.form-control, .cv-narrow select.form-control { max-width: 360px; }
/* the confirmation: the one danger block on the contracts screens (John #14: "red/danger type of warnings") and a red button */
.v6-danger { border: 1px solid #e0b4b4; background: #fff5f5; border-radius: 4px; padding: 12px 14px; color: #8a1f1f; font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.v6-danger strong { white-space: nowrap; font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; }
.ctr-btn--danger, .ctr-btn--danger:visited { background: #c9302c; border-color: #ac2925; color: #fff; }
.ctr-btn--danger:hover, .ctr-btn--danger:focus, .ctr-btn--danger:active { background: #ac2925; border-color: #8f1f1c; color: #fff; text-decoration: none; }
.cv-rows--confirm.v6-rows .cv-row { margin-bottom: 10px; }

/* ===== Contracts v6 buyer side (John's Now run, 2026-11-11; spec qa-evidence/2026-11-11-now-run-feedback/design-buyer/contracts-v6-buyer-SPEC.md v6.5, its mock/v6.css) ===== */

/* A. first visit: the explainer is the existing .ctr-lead line; its first sentence in the Bold face (Chromium has no synthetic bold) */
.ctr-lead strong { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; color: #333; }

/* B. request form: Quantity x Packaging = Pounds (John #2). Two operator cells join the grid; the remove control is the site's
   bordered .ctr-x so it cannot be read as the multiply sign. */
.ctr-op { display: block; font-size: 18px; line-height: 42px; color: #767676; text-align: center; width: 16px; flex: 0 0 auto; }
.ctr-v6line .ctr-lhead, .ctr-v6line .ctr-lrow--v6 { grid-template-columns: minmax(0,1fr) 258px 64px 16px 214px 96px 36px; gap: 0 10px; }
.ctr-v6line .ctr-lhead .ctr-lhead__pounds { padding-left: 26px; }
.ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds { grid-column: 6; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ctr-v6line .ctr-lrow--v6 > .ctr-lrow__x { grid-column: 7; grid-row: 1; width: 36px; height: 36px; margin-top: 3px; }
.ctr-v6line .ctr-lrow--v6 > .ctr-lrow__x::before { content: ""; position: absolute; left: -4px; right: -4px; top: -4px; bottom: -4px; }
@media (max-width: 991px) {
  /* every line carries its labels; the x sits on the fields' baseline under the labels; the Pounds cell is "= 440 lb" */
  .ctr-v6line .ctr-lrow--v6 > .ctr-op { align-self: flex-end; order: 2; }
  /* air between a line's field groups (reviewer B r1: a label sat on the select above it) */
  .ctr-v6line .ctr-lrow--v6 { row-gap: 16px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__no { margin-bottom: -6px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__x { border: 0; background: transparent; font-size: 24px; color: #767676; width: 44px; height: 44px; margin: 0; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; min-width: 0; align-self: flex-end; }
}
@media (max-width: 599px) {
  /* a phone: Quantity x Packaging on one row, then "= 440 lb" on its own line (the row does not fit at 375) */
  .ctr-v6line .ctr-lrow--v6 > .ctr-op { order: 0; }
  .ctr-form .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds, .ctr-form .ctr-lrow.ctr-lrow--v6 > .ctr-lrow__pounds { flex: 0 0 100%; align-self: auto; margin-top: 2px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds .ctr-op { line-height: 24px; width: auto; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds .ctr-eq { line-height: 24px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__qty { flex: 0 0 62px; }
}

/* D. a quote row under a request: the row stays the link; from 768 px its last cell says where it goes (John #8); on a phone the
   chevron (the phone convention), darker than today's #aaa so it reads as a control */
.ctr-oq--v6, .ctr-oq--v6:visited { grid-template-columns: minmax(0,1.1fr) 84px minmax(0,1.15fr) minmax(0,1.5fr) auto; }
.ctr-oq__view { color: #367a00; font-size: 15px; white-space: nowrap; padding-right: 4px; }
.ctr-oq--v6:hover .ctr-oq__view, .ctr-oq--v6:focus .ctr-oq__view { text-decoration: underline; }
.ctr-oq__chev--v6, .ctr-item__chev--v6 { display: none; color: #767676; }
@media (max-width: 767px) {
  .ctr-oq--v6, .ctr-oq--v6:visited { grid-template-columns: minmax(0,1fr) auto 16px; }
  .ctr-oq--v6 .ctr-oq__view, .ctr-item--v6 .ctr-item__view { display: none; }
  .ctr-oq--v6 .ctr-oq__chev--v6 { display: block; grid-column: 3; grid-row: 1 / span 3; }
  .ctr-list--tap .ctr-item--v6 .ctr-item__chev--v6 { display: flex; grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* E. the attention row's quiet link to the contract (John #18): the last fragment of the meta line, 44 px tall; on a phone, where the
   meta wraps, its own line so its tap box never reaches the line above */
.ctr-attn__link { display: inline-block; padding: 12px 0; margin: -8px 0; }
@media (max-width: 767px) {
  .ctr-attn__link { display: block; padding: 10px 0 0; margin: 0 0 -2px; min-height: 44px; box-sizing: border-box; line-height: 20px; }
  /* the link is a line of its own, so the fragment before it ends no line with a dot */
  .ctr-item--attn .ctr-item__meta .ctr-frags > .ctr-m:nth-last-child(2)::after { content: none; }
}

/* F. a tappable contract row: "View contract" in the chevron's cell from 768 px */
.ctr-item__view .ctr-link { display: inline-block; font-size: 15px; white-space: nowrap; padding: 8px 0; }
.ctr-item--v6:hover .ctr-item__view .ctr-link { text-decoration: underline; }

/* I. decline: the two actions side by side, named on both (the withdraw panel's pattern) */
.ctr-dq__btns { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; margin: 2px 0 0; }
.ctr-dq__btns .ctr-wd__keep { display: inline-block; padding: 12px 0; margin: -6px 0; }

/* K. Decline, the entry under the Accept panel's primary action (John, 2026-11-11: "the UI for declining should be better"):
   a dark text link, left-aligned with the panel's copy, named for its outcome, 44 px tall (12 + 20 + 12); green stays on Accept alone */
.ctr-decline { margin: 4px 0 -8px; }
.ctr-decline .ctr-decline__a, .ctr-decline .ctr-decline__a:visited { display: inline-block; font-size: 15px; line-height: 20px; padding: 12px 0; margin: 0; color: #333; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #999; text-underline-offset: 2px; }
.ctr-decline .ctr-decline__a:hover, .ctr-decline .ctr-decline__a:focus { color: #000; text-decoration-color: #000; }

/* J. merchant Next step panel, state N1 (design-merchant/NEXT_STEP_PANEL.md): two quiet links, each 44 px tall */
.ctr-ns__links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.ctr-ns__links .ctr-quiet { display: inline-block; padding: 10px 0; margin: 0; }

/* touch heights (44 px) for the links this pass adds or touches, and a fix the probe found: Bootstrap's bold label leaks into the
   "optional" small (no Bold face at that weight in Chromium) */
.ctr-form .ctr-label small { font-weight: normal; }
@media (max-width: 1024px) {
  .ctr-docs .ctr-link { padding: 11px 0; margin: 0; }
  .ctr-ns__links .ctr-quiet { padding: 12px 0; }
  .ctr-nudge a { padding: 13px 0; margin: -9px 0; }
}
.ctr-ns__links .ctr-quiet { padding: 12px 0; }
.ctr-nudge a { display: inline-block; padding: 13px 0; margin: -9px 0; }

/* F. a Ready contract under Your contracts keeps its Order now (reviewer A r1: ordering is the year-long job); the button sits above
   the row's cover link */
.ctr-item--order .ctr-item__order { position: relative; z-index: 2; }

/* F. the Ready row: the row's text link and its button share the action cell from 768 px; a phone shows the button full width and the chevron */
.ctr-item--order .ctr-item__order { gap: 18px; }
.ctr-item--order .ctr-item__viewtext { display: inline-block; font-size: 15px; white-space: nowrap; padding: 8px 0; }
@media (max-width: 767px) {
  .ctr-item--order .ctr-item__viewtext { display: none; }
  .ctr-list--tap .ctr-item--order .ctr-item__order { grid-column: 1; grid-row: auto; }
  .ctr-list--tap .ctr-item--order .ctr-item__chev--v6 { display: flex; grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
/* E. from 768 px the attention link's 44 px tap box must not reach the title line above (WebKit/Firefox line boxes differ from
   Chromium's): 4 px more above the meta line, and the box extends downward into the row's padding instead */
@media (min-width: 768px) {
  .ctr-item--attn .ctr-item__meta { padding-top: 4px; }
  .ctr-attn__link { margin: -8px 0 -16px; }
}

/* D. the waiting-to-sign request row (a .ctr-rq row that is a cover link): the text cell from 768 px, the chevron on a phone; the
   .ctr-rq act rules outrank the generic ones, so these carry the row's own classes */
.ctr-item.ctr-rq.ctr-item--v6 .ctr-item__chev--v6 { display: none; }
@media (max-width: 767px) {
  .ctr-item.ctr-rq.ctr-item--v6 .ctr-item__view { display: none; }
  .ctr-item.ctr-rq.ctr-item--v6 .ctr-item__chev--v6 { display: flex; grid-column: 2; grid-row: 1 / span 2; margin: 0; color: #767676; }
}

/* B. 992-1199 px: the one-row grid leaves Variety ~110 px (second adversarial read, F12), so the request line uses the tablet
   layout there (labels on every line; Variety + Product type on one row; Quantity x Packaging = Pounds on the next) and the
   one-row grid starts at 1200 px */
@media (min-width: 992px) and (max-width: 1199px) {
  .ctr-v6line .ctr-lhead { display: none; }
  .ctr-v6line .ctr-lrow--v6 { display: flex; flex-wrap: wrap; gap: 16px 10px; position: relative; margin: 0; padding: 16px 0 18px; }
  .ctr-v6line .ctr-lrow--v6 + .ctr-lrow--v6 { border-top: 1px solid #e7e7e7; }
  .ctr-v6line .ctr-lrow--v6 .ctr-label { position: static; width: -moz-fit-content; width: fit-content; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; line-height: 20px; margin: 0 0 8px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__variety { flex: 1 1 0; min-width: 0; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__product { flex: 0 0 258px; margin-right: 34px; }
  .ctr-v6line .ctr-lrow--v6::after { content: ""; flex: 0 0 100%; order: 1; height: 0; margin-top: -12px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__qty { flex: 0 0 64px; order: 2; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-op { order: 2; align-self: flex-end; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pack { flex: 0 0 214px; order: 2; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__pounds { flex: 0 0 auto; order: 2; align-self: flex-end; display: flex; align-items: center; gap: 10px; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__x { position: absolute; top: 4px; right: -10px; width: 44px; height: 44px; margin: 0; border: 0; background: transparent; font-size: 24px; color: #767676; }
  .ctr-v6line .ctr-lrow--v6 > .ctr-lrow__no { display: block; flex: 0 0 100%; font-size: 14px; line-height: 20px; color: #555; margin: 0 0 -6px; }
  .ctr-v6line .ctr-form .ctr-lrow__count, .ctr-v6line .ctr-form .ctr-lrow__unit { width: 100%; }
}

/* reviewer B r7: the one-pack summary (name included) puts "= $4,180.00" on its own line; the Ready row's phone button stays compact
   like the attention rows'; the waiting-to-sign row keeps its title first on a phone */
.ctr-total--stack > span { display: block; margin-top: 2px; }
@media (max-width: 767px) {
  .ctr-item--order .ctr-item__order, .ctr-item--order .ctr-item__order .ctr-btn { width: auto; }
  .ctr-item.ctr-rq.ctr-item--v6 .ctr-item__main { grid-row: 1; }
  .ctr-item.ctr-rq.ctr-item--v6 .ctr-item__chev--v6 { grid-row: 1 / span 3; align-self: center; }
}

/* B. the line editor on /contracts reads as the form (spec 3.2): x and = in their own narrow cells, on the fields' line under the labels */
.ctr-ed__row { grid-template-columns: minmax(0,1fr) 258px 64px 16px 214px 16px 70px; }
.ctr-ed__row > .ctr-ed__op { margin-top: 26px; }
@media (max-width: 991px) {
  .ctr-ed__row > .ctr-ed__op { order: 2; align-self: flex-end; margin-top: 0; }
}

/* practice-run PR A: request quantity unit */
/* Spec v2 3.1 (John 1; qa-evidence/2026-11-12-contracts-practice-run-design/mock/pr.css section 1): the empty Quantity field's
   placeholder is the pack's unit (boxes / packs); nothing else on the line changes. Below the one-row grid the x stays on the
   field's line when an error sits under Quantity (it was bottom-aligned and dropped beside the error text, reviewer B r4). */
@media (max-width: 1199px) {
  .ctr-v6line .ctr-lrow--v6 > .ctr-op { align-self: flex-start; margin-top: 28px; }
}
/* room for the placeholder "boxes" in the 64 px Quantity field (41 px of text; 40 px at the old padding) */
.ctr-form .ctr-lrow--v6 .ctr-lrow__count, .ctr-form .ctr-ed__row input[name="Line.Quantity"] { padding-left: 10px; padding-right: 6px; }

/* practice-run spec v2.2 3.4: the line note hides while the chosen pack's pounds are what she asked */
.ctr-linenote[hidden] { display: none; }

/* contracts-price-hint-and-admin-copies-SPEC.md 7, 12.5: the quote form's card-fee hint; the settings page's teammates' quotes row
   (a 44 px tap height, layout unchanged) and its two scope labels, the organization's under a heavier rule. The title rule is
   scoped to the settings card (s1): unscoped it also matched the request form and the Ready page. Kept above the lot-pick block,
   whose test reads from its comment to the end of the file. */
.ctr-form .v6-price__hint { margin: -2px 0 10px; }
.ctr-group--row { padding-bottom: 14px; }
.ctr-check--tap { padding: 11px 0; margin: -11px 0; }
.ctr-scope { font-family: "Gotham Narrow Bold","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: normal; font-size: 13px; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; color: #555; margin: 0 0 12px; }
[data-ctr-state="s1"] > .ctr-card__title + .ctr-form { margin-top: 20px; }
.ctr-form .ctr-group.ctr-group--zone { border-top: 2px solid #d9d9d9; padding-top: 26px; }
/* practice run PR C: lot selection pick */
/* the Accept panel's lot-selection radios, directly above Your name (contracts-practice-run-SPEC.md v2.1 3.4): legend as the form's
   other legends, each option a whole-row target at least 44 px tall, no dividers; method in the Medium face (.v6-ways__m) */
.ctr-lotpick { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.ctr-lotpick[hidden] { display: none; }
.ctr-form .ctr-lotpick > legend.ctr-label { margin: 0 0 2px; }
.ctr-lotpick .ctr-check { padding: 11px 0; min-height: 44px; align-items: flex-start; cursor: pointer; font-weight: normal; }
.ctr-lotpick .ctr-check input { margin: 3px 0 0; }
.ctr-lotpick .ctr-error { margin: 2px 0 0; }

/* practice-run PR B: lot selection options (spec v2.1 3.3; the design's EV/mock/pr.css sections 2/3, .pr-opts named .v6-opts) */
.v6-opts__none { margin: 2px 0 0; }
.v6-opts .v6-addway + .v6-addway { margin-top: 10px; }
.v6-opts .ctr-error { margin: 6px 0 0; }
.v6-opts [data-opt-remove][hidden] { display: none; }
@media (max-width: 599px) {
  /* a phone: the method menu and its x on one row, the line full width under it; 24 px between options, 8 px inside one */
  .v6-opts .v6-addway { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 6px; align-items: center; }
  .v6-opts .v6-addway select.form-control { grid-column: 1; grid-row: 1; width: 100%; }
  .v6-opts .v6-addway:has(> [data-opt-remove][hidden]) select.form-control { grid-column: 1 / -1; }
  .v6-opts .v6-addway [data-opt-remove] { grid-column: 2; grid-row: 1; }
  .v6-opts .v6-addway input.form-control { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .v6-opts .v6-addway + .v6-addway, .v6-opts .ctr-error + .v6-addway { margin-top: 24px; }
}
/* only the empty line is marked, not the method menu beside it */
.ctr-form .v6-opts .v6-addway.has-error select.form-control { border-color: #ccc; }
/* the remove control's 44 px hit area (the site's .ctr-x pattern) */
.v6-opts [data-opt-remove] { position: relative; }
.v6-opts [data-opt-remove]::before { content: ""; position: absolute; left: -4px; right: -4px; top: -4px; bottom: -4px; }

