/* Buyers ordering: /account/checkout/{month} and the cancel box on their order page (app/buyer.php) */
.co-cols { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.co-sec { display: flex; flex-direction: column; gap: 14px; }
.co-h { display: flex; align-items: center; gap: 12px; }
.co-h h2 { margin: 0; font: 700 18px/1.25 var(--head); }
.co-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font: 800 15px/1 var(--head); }
.co-tiles { margin: 0; }
.co-tiles .val { font-size: 24px; }
.co-dates { margin: 0; padding: 0; }
.co-dates li { grid-template-columns: 20px 132px minmax(0, 1fr); }
.co-dates .t b { display: block; color: var(--text); font-weight: 600; margin-bottom: 1px; }
.co-docs { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.co-docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--border); }
.co-docs li:first-child { border-top: 0; }
.co-docs li:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.co-docs .check { margin: 0; }
.co-docs .err-text { grid-column: 1 / -1; margin: 0; }
.co-read { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.co-disclose { margin: 0; }
.co-side { position: sticky; top: 20px; }
.co-sum { display: flex; flex-direction: column; gap: 14px; }
.co-sum h2 { margin: 0; font: 700 16px/1.3 var(--head); }
.co-sum .kv > div { grid-template-columns: 112px minmax(0, 1fr); padding: 10px 14px; }
.co-total { font: 800 20px/1.2 var(--head); }
.co-after { margin: 0; text-align: center; }
.co-help { margin: 10px 0 0; }
.co-cancel { margin: 0 0 16px; }
.co-cancel .adm-p { margin: 0 0 12px; }
.inv-order-btn { margin-top: 10px; }
.rows.inv-cyc.inv-cyc-order > li { grid-template-columns: 150px minmax(0, 1fr) 150px 124px; }
.cart-add { display: inline-flex; margin: 0; }
.inv-cyc-order .cart-add .btn { width: 100%; }
.rows.buy-ord > li { grid-template-columns: 170px minmax(0, 1fr) 130px 130px; }
.rows.buy-ord .w .pill { justify-self: start; }
@media (max-width: 1024px) {
  .co-cols { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
}
@media (max-width: 640px) {
  .co-docs li { grid-template-columns: minmax(0, 1fr); }
  .co-dates li { grid-template-columns: 18px minmax(0, 1fr); gap: 4px 10px; }
  .co-dates .d, .co-dates .t { grid-column: 2; }
  .co-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows.inv-cyc.inv-cyc-order > li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows.buy-ord > li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .rows.buy-ord > li.head { display: none; }
  .rows.buy-ord .w { border-left: 0; padding-left: 0; }
  .rows.buy-ord .w[data-l]::before { content: none; }
  .rows.buy-ord .w[data-l="Card"] { grid-column: 1 / -1; grid-row: 2; }
  .rows.buy-ord .w[data-l="Total"] { grid-row: 3; }
  .rows.buy-ord .w[data-l="Status"] { grid-row: 1; grid-column: 2; }
}

/* Buyers' cart (/account/cart, buyer-cart.php) and the cards in checkout */
.bc-block { margin-bottom: 16px; }
.rows.co-lines { margin: 0; }
.rows.co-lines > li { grid-template-columns: minmax(0, 1fr) 128px 112px 92px; }

/* "How you'll pay": one card per method */
.pm-pick { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pm-pick legend { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.pm-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.pm-opt:hover { border-color: var(--gold-line); }
.pm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pm-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.pm-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pm-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 800 17px/1 var(--head); color: #fff; }
.pm-zelle { background: #6D1ED4; } .pm-cashapp { background: #00C244; } .pm-bitcoin { background: #F7931A; }
.pm-t { display: grid; gap: 1px; }
.pm-t b { font-size: 14px; font-weight: 600; }
.pm-t small { font-size: 12px; color: var(--text-3); }
.cart-sum .pm-pick { grid-template-columns: 1fr; }

@media (max-width: 640px) {
  .rows.co-lines > li.head { display: none; }
  .rows.co-lines .w { border-left: 0; padding-left: 0; }
  .rows.co-lines > li { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .rows.co-lines .m { grid-column: 1 / -1; }
  .pm-pick { grid-template-columns: 1fr; }
}

/* The order page's payment box: the method's mark in the heading, a long bitcoin address, "Rather pay another way?" */
.zl .box-h h2 { display: flex; align-items: center; gap: 10px; }
.zl-ico { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.zl-addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; overflow-wrap: anywhere; word-break: break-all; }
.zl-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.zl-switch .linklike { font-size: 13px; font-weight: 600; }
.ui-pay-ref { overflow-wrap: anywhere; }

/* ---------- the buyer's cart (buyer-cart.php): one panel like tradelinesupply.com's cart ---------- */
.bc-panel { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.bc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.bc-table th { padding: 11px 14px; background: var(--surface-2); text-align: left; font: 700 10.5px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.bc-table th:first-child { border-radius: 12px 0 0 12px; }
.bc-table th:last-child { border-radius: 0 12px 12px 0; }
.bc-table td { padding: 16px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); font-size: 14.5px; white-space: nowrap; }
.bc-table tbody tr:last-child td { border-bottom: 0; }
.bc-table .bc-r { text-align: right; }
.bc-x { width: 36px; padding-right: 0 !important; }
.bc-x form { margin: 0; }
.bc-rm { width: 30px; height: 30px; border: 1px solid transparent; border-radius: 8px; display: grid; place-items: center; background: transparent; color: var(--err); cursor: pointer; }
.bc-rm:hover { background: color-mix(in srgb, var(--err) 12%, transparent); border-color: color-mix(in srgb, var(--err) 30%, transparent); }
.bc-bank a { font-weight: 600; color: var(--text); }
.bc-bank a:hover { color: var(--gold); }
.bc-bank span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); white-space: normal; }
.bc-price { font: 700 15.5px/1.2 var(--head); }
.bc-off td { color: var(--text-3); }
.bc-why-row td { padding-top: 0; }
.bc-why { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-size: 13px; white-space: normal; }
/* coupon code and store credit (store credit shown, not in use yet) */
.bc-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bc-box { min-width: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.bc-lbl { display: block; margin-bottom: 8px; font: 700 10.5px/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.bc-cp-f { margin: 0; }
.bc-cp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.bc-cp-row input { height: 44px; min-width: 0; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
  font: 600 14.5px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.bc-cp-row input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-3); }
.bc-cp-row input:focus { outline: none; border-color: var(--gold); box-shadow: var(--focus); }
.bc-cp-row input[aria-invalid="true"] { border-color: var(--err); }
.bc-cp-row .btn { height: 44px; min-width: 96px; }
.bc-coupon .err-text { margin: 6px 0 0; }
.bc-cp-on { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.bc-cp-on b { letter-spacing: .04em; }
.bc-cp-on span { color: var(--text-2); font-size: 13.5px; }
.bc-cp-on form { margin-left: auto; }
.bc-cp-x { font-size: 13px; color: var(--text-3); }
.bc-cp-x:hover { color: var(--err); }
.bc-credit { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bc-credit b { font: 700 17px/1.2 var(--head); color: var(--text); }
.bc-credit .bc-lbl { margin-bottom: 4px; }
.bc-credit .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.bc-off-amt { color: var(--ok) !important; }
.co-off { color: var(--ok); font-weight: 700; }
.bc-totals { margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.bc-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.bc-totals > div + div { border-top: 1px solid var(--border); }
.bc-totals dt { font: 700 12px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bc-totals dd { margin: 0; font: 700 17px/1.2 var(--head); color: var(--text); }
.bc-totals .bc-due { background: var(--gold-soft); }
.bc-totals .bc-due dt, .bc-totals .bc-due dd { color: var(--gold); }
.bc-totals .bc-due dd { font-size: 20px; }
.bc-actions { display: flex; justify-content: flex-end; gap: 10px; }
.bc-actions .btn { min-width: 190px; }
.bc-note { margin: -6px 0 0; text-align: right; font-size: 13px; color: var(--text-3); }
.bc-disclose { margin-top: 18px; }
@media (max-width: 1100px) {
  .bc-table th, .bc-table td { padding-left: 10px; padding-right: 10px; }
}
/* tablets and phones: each card is a small box with the same facts, two per row */
@media (max-width: 900px) {
  .bc-panel { min-width: 0; padding: 14px; border-radius: 16px; }
  .bc-table, .bc-table tbody { display: block; }
  .bc-table thead { display: none; }
  .bc-table tr { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; }
  .bc-table tr + tr { margin-top: 10px; }
  .bc-table td { display: block; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .bc-table td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 3px; font: 700 10.5px/1.4 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  .bc-bank { grid-column: 1; grid-row: 1; }
  .bc-table .bc-price { grid-column: 2; grid-row: 1; text-align: right; padding-right: 38px; font-size: 17px; }
  .bc-x { position: absolute; top: 10px; right: 10px; width: auto; }
  .bc-table td[data-l="Reporting period"] { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--border); }
  .bc-why-row { border: 0 !important; padding: 0 4px !important; margin-top: -4px !important; }
  .bc-why-row td:first-child { display: none; }
  .bc-why-row td { grid-column: 1 / -1; }
  .bc-extras { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bc-actions { flex-direction: column-reverse; }
  .bc-actions .btn { width: 100%; min-width: 0; }
  .bc-note { text-align: center; margin-top: -4px; }
}

/* ---------- checkout steps (buyer.php co_steps_html()): our own look ----------
   Owner, Oct 2026: tradelinesupply.com's steps and content, never their fonts or styling. Montserrat headings, Inter
   text, sentence case. One column of section cards. */
.co-head2 { display: grid; gap: 18px; max-width: 920px; margin: 0 0 22px; }
.co-head2:has(~ .co-layout) { margin-inline: auto; }   /* one-column steps sit in the middle, so wide screens have no empty strip on one side */
.co-head2 h1 { margin: 0; font: 800 30px/1.15 var(--head); letter-spacing: -.01em; color: var(--text); }
.co-steps ol { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.co-steps li { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }   /* auto: every line gets the same length, however long its label */
.co-steps li:last-child { flex: 0 0 auto; }
.co-steps li::after { content: ""; flex: 1 1 auto; min-width: 20px; height: 2px; margin: 0 14px; border-radius: 2px; background: var(--border); }
.co-steps li:last-child::after { display: none; }
.co-steps li.is-done::after { background: color-mix(in srgb, var(--ok) 55%, transparent); }
.co-steps li > a, .co-step-in { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text-3); text-decoration: none; }
.co-sn { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border); background: var(--surface);
  font: 700 13.5px/1 var(--head); color: var(--text-3); font-variant-numeric: tabular-nums; }
.co-st { display: grid; gap: 1px; min-width: 0; font-weight: 600; font-size: 14px; white-space: nowrap; }
.co-st small { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.co-steps li.is-on .co-sn { border-color: var(--gold); background: var(--grad); color: var(--on-gold); box-shadow: 0 4px 12px var(--btn-glow); }
.co-steps li.is-on .co-st { color: var(--text); }
.co-steps li.is-done .co-sn { border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: var(--ok-soft); color: var(--ok); }
.co-steps li.is-done .co-st { color: var(--text-2); }
.co-steps li.is-done a:hover .co-st { color: var(--gold); }
.co-steps-cap { display: none; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); }

/* Owner, Oct 2026 ("look how well aligned theirs is… ours is messy"): one card per section with a thin divider under
   its title, no boxes inside boxes, underlined fields on one four-column grid so every field starts on the same line. */
.co-layout { max-width: 920px; margin: 0 auto; }
.co-head2 + .form-errors:has(+ .co-layout) { max-width: 920px; margin: 0 auto 18px; }
.co-main { display: grid; gap: 18px; min-width: 0; }
.co-sec2 { padding: 26px 32px 30px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); min-width: 0; }
.co-sec2-h { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.co-sec2-h h2 { margin: 0 0 4px; font: 700 18px/1.3 var(--head); color: var(--text); }
.co-sec2-h p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }

/* the grid: most fields take two of four columns, State and ZIP one each */
.co-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 32px; align-items: start; }
.co-c1 { grid-column: span 1; min-width: 0; }
.co-c2 { grid-column: span 2; min-width: 0; }
.co-c4 { grid-column: 1 / -1; min-width: 0; }

/* underlined fields */
.co-main .field { gap: 2px; }
.co-main .field label, .co-yn legend { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.co-main .field input, .co-main .field select { min-height: 40px; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent;
  font-size: 15px; color: var(--text); box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.co-main .field input::placeholder { color: var(--text-3); opacity: .7; }
.co-main .field input:hover, .co-main .field select:hover { border-color: var(--text-3); }
.co-main .field input:focus, .co-main .field select:focus { border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.co-main .field.has-error input, .co-sel.has-error select { border-color: var(--err); }
.co-main .field select { appearance: none; padding-right: 22px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239EA18C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; }
.co-main .field select option { background: var(--surface); color: var(--text); }
.co-main .field .hint { margin-top: 6px; }
.co-main .err-text { margin: 6px 0 0; font-size: 12.5px; }
.co-sel .err-text { margin-top: 6px; }

/* who it's for: two options side by side */
.co-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; padding: 0; border: 0; }
.co-choice-b { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.co-choice-b input { position: absolute; opacity: 0; pointer-events: none; }
.co-choice-b b { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.co-choice-b small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.co-choice-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); }
.co-choice-b:hover { border-color: var(--text-3); }
.co-choice-b:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.co-choice-b:has(input:checked) .co-choice-dot { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 45%, transparent 50%); }
.co-choice-b:has(input:focus-visible) { box-shadow: var(--focus); }

/* authorized user: "Same as billing details", then date of birth, SSN and citizenship */
.co-same { position: relative; display: inline-grid; grid-template-columns: 40px auto; gap: 14px; align-items: center; margin: 0 0 26px; cursor: pointer; }
.co-same input { position: absolute; opacity: 0; pointer-events: none; }
.co-same-sw { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--border); transition: background-color .15s ease; }
.co-same-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .15s ease; }
.co-same input:checked + .co-same-sw { background: var(--gold); }
.co-same input:checked + .co-same-sw::after { transform: translateX(18px); background: var(--on-gold); }
.co-same input:focus-visible + .co-same-sw { box-shadow: var(--focus); }
.co-same b { display: block; font-weight: 600; color: var(--text); }
.co-same small { display: block; font-size: 12.5px; color: var(--text-3); }
.co-au-contact { margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.co-au-contact[hidden] { display: none; }
.co-copy { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 13.5px; font-weight: 600; color: var(--gold); }
.co-ssn-row { display: grid; grid-template-columns: 3fr auto 2fr auto 4fr; align-items: center; gap: 10px; }
.co-ssn-row > span { color: var(--text-3); }
.co-ssn-row input { min-width: 0; height: 40px; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--text);
  font: 600 15px var(--sans); letter-spacing: .12em; text-align: center; font-variant-numeric: tabular-nums; transition: border-color .15s ease, box-shadow .15s ease; }
.co-ssn-row input::placeholder { color: var(--text-3); opacity: .7; font-weight: 400; letter-spacing: .08em; }
.co-ssn-row input:hover { border-color: var(--text-3); }
.co-ssn-row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.co-ssn.has-error .co-ssn-row input { border-color: var(--err); }
.co-ssn .hint, .co-ident .hint { display: flex; align-items: center; gap: 6px; }
.co-yn { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.co-yn legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; }
.co-yn-opts { clear: both; display: inline-flex; justify-self: start; padding: 3px; border: 1px solid var(--border); border-radius: 10px; }
.co-yn-opts label { position: relative; cursor: pointer; }
.co-yn-opts input { position: absolute; opacity: 0; pointer-events: none; }
.co-yn-opts span { display: block; min-width: 72px; padding: 7px 14px; border-radius: 7px; text-align: center; font-weight: 600; font-size: 14px; color: var(--text-2); }
.co-yn-opts input:checked + span { background: var(--gold-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--gold-line); }
.co-yn-opts input:focus-visible + span { box-shadow: var(--focus); }
.co-yn.has-error .co-yn-opts { border-color: var(--err); }

/* payment */
.co-sec2 .pm-pick { margin: 0 0 22px; gap: 12px 16px; }
.co-sec2 .pm-pick legend { font-size: 12.5px; font-weight: 500; color: var(--text-3); margin-bottom: 10px; }
.co-ticks { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.co-ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.co-ticks .ic { margin-top: 2px; color: var(--ok); }
.co-agree { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 20px; border-top: 1px solid var(--border); cursor: pointer; }
.co-agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.co-agree span { font-size: 13.5px; line-height: 1.6; color: var(--text); }
.co-agree.has-error input { outline: 1px solid var(--err); outline-offset: 1px; }
.co-sec2 > .err-text { margin: 8px 0 0 30px; }

.co-actions { display: flex; justify-content: space-between; gap: 12px; }
.co-actions .btn { min-width: 160px; }
.co-actions .btn-gold .ic { margin-left: 8px; }
.co-actions .co-back .ic { margin-right: 8px; transform: rotate(180deg); }

/* step 2: documents, one row each: the file line under its title is the row's only line */
.co-docs2 { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.co-up { display: grid; gap: 12px; }
.co-up-h { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.co-up-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.co-up-t { display: grid; gap: 2px; min-width: 0; }
.co-up-t b { font-weight: 600; font-size: 15px; color: var(--text); }
.co-up-t span { font-size: 13px; color: var(--text-3); }
.co-later { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.co-later input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.co-file { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; margin-left: 50px; border-bottom: 1px solid var(--border); cursor: pointer; }
.co-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.co-file:hover { border-color: var(--text-3); }
.co-file:focus-within { border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.co-file-n { flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-file-b { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--text-2); }
.co-file:hover .co-file-b { border-color: var(--gold-line); color: var(--gold); }
.co-up.has-file .co-up-ic { color: var(--ok); background: var(--ok-soft); }
.co-up.has-file .co-file-n, .co-file-n.is-picked { color: var(--ok); }
.co-up.has-error .co-file { border-color: var(--err); }
.co-up .err-text, .co-file-view { margin: 0 0 0 50px; }
.co-file-view { justify-self: start; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.co-up.is-later .co-file { opacity: .45; }
.co-note { display: flex; gap: 8px; align-items: flex-start; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.5; color: var(--text-3); }
.co-note .ic { flex: none; margin-top: 2px; }

@media (max-width: 760px) {
  .co-st small { display: none; }
  .co-steps li::after { margin: 0 8px; }
}
@media (max-width: 640px) {
  .co-head2 h1 { font-size: 26px; }
  .co-steps .co-st { display: none; }
  .co-steps-cap { display: block; }
  .co-sec2 { padding: 20px 18px 22px; border-radius: 16px; }
  .co-sec2-h { margin-bottom: 20px; padding-bottom: 14px; }
  .co-choice { grid-template-columns: minmax(0, 1fr); }
  .co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .co-c2 { grid-column: 1 / -1; }
  .co-gap { display: none; }
  .co-up-h { grid-template-columns: 36px minmax(0, 1fr); }
  .co-later { grid-column: 2; }
  .co-file, .co-up .err-text, .co-file-view { margin-left: 0; }
  .co-sec2 > .err-text { margin-left: 0; }
  .co-actions { flex-direction: column-reverse; }
  .co-actions .btn { width: 100%; }
}
}
.co-h .co-edit { margin-left: auto; font-size: 13.5px; font-weight: 600; }

/* ---------- step 3: the Tradeline User Agreement, signed by typing and drawing (checkout-agreement.php) ---------- */
.ag-read { max-height: 440px; overflow-y: auto; margin: -6px 0 0; padding: 4px 18px 8px 0; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.ag-read:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.ag-read .cnt-prose, .ag-copy .cnt-prose { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.ag-read .cnt-prose h2, .ag-copy .cnt-prose h2 { margin: 22px 0 8px; font: 700 15px/1.35 var(--head); color: var(--text); }
.ag-read .cnt-prose > :first-child { margin-top: 0; }
.ag-read .cnt-prose strong, .ag-copy .cnt-prose strong { color: var(--text); }
.ag-lbl { font-size: 12.5px; font-weight: 500; color: var(--text-3); }

/* the order it covers: one row per card, columns that line up, then three fact tiles */
.ag-lines { display: grid; margin: 0; padding: 0; list-style: none; }
.ag-lines li { display: grid; grid-template-columns: minmax(0, 1fr) 200px 110px; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.ag-lines li.head { padding: 0 0 8px; border-top: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ag-lines li > div { display: grid; gap: 2px; min-width: 0; }
.ag-lines b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ag-lines li:not(.head) span { font-size: 13px; color: var(--text-3); }
.ag-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.ag-facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ag-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; color: var(--text); }
.ag-facts dd small { display: block; margin-top: 2px; font-weight: 400; font-size: 12.5px; color: var(--text-3); }

/* sign: three tick lines, name and date on the grid, then the signature pad */
.ag-ticks { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.ag-tick { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.ag-tick input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.ag-tick span { font-size: 14px; line-height: 1.55; color: var(--text); }
.ag-tick a { white-space: nowrap; font-weight: 600; }
.ag-tick a .ic { vertical-align: -1px; }
.ag-ticks .err-text { margin: 4px 0 0 30px; }
.ag-who { margin-bottom: 26px; }
.ag-date { margin: 0; min-height: 40px; padding: 8px 0 9px; border-bottom: 1px dashed var(--border); font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ag-sig-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ag-sig-top .linklike { font-size: 13px; font-weight: 600; }
.sig-pad { position: relative; height: 190px; border: 1px dashed var(--text-3); border-radius: 14px; background: var(--surface-2); color: var(--text); }
.sig-pad canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: inherit; touch-action: none; cursor: crosshair; }
.sig-pad::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 48px; border-bottom: 1px solid var(--border); pointer-events: none; }
.sig-x { position: absolute; left: 30px; bottom: 54px; font-size: 18px; line-height: 1; color: var(--text-3); pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--text-3); pointer-events: none; transition: opacity .15s ease; }
.sig-pad.has-ink .sig-hint { opacity: 0; }
.sig-pad:focus-within, .sig-pad:hover { border-color: var(--gold); }
.ag-sig.has-error .sig-pad { border-color: var(--err); }
.ag-sig .err-text { margin-top: 6px; }

/* a saved signature: dark ink, so always on a light card */
.sig-img { display: block; width: 240px; max-width: 100%; height: 80px; padding: 6px 12px; object-fit: contain; object-position: left center; border-radius: 10px; background: #FBFBF6; border: 1px solid var(--border); }
.ag-signed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 20px; align-items: center; }
.ag-signed b { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.ag-signed b .ic { color: var(--ok); }
.ag-signed span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }

/* the signed copy (order-agreement.php), also for printing */
.ag-crumb { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto 16px; }
.ag-crumb a { font-weight: 600; font-size: 14px; }
.ag-crumb .btn .ic { margin-right: 6px; }
.ag-copy { max-width: 860px; margin: 0 auto; padding: 36px 44px 40px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.ag-copy-h { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.ag-copy-h h1 { margin: 6px 0 4px; font: 800 26px/1.2 var(--head); color: var(--text); }
.ag-copy-h p { margin: 0; font-size: 13px; color: var(--text-3); }
.ag-copy > h2 { margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--border); font: 700 17px/1.3 var(--head); color: var(--text); }
.ag-agreed { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ag-agreed li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 14px; color: var(--text); }
.ag-agreed .ic { margin-top: 3px; color: var(--ok); }
.ag-sigblock { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; align-items: end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.ag-sigblock p { margin: 4px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--text); }
.ag-sigblock .sig-img { margin-top: 6px; }
.ag-typed { font-style: italic; }
.ag-esign { margin: 22px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.ord-signed { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; font-size: 14px; color: var(--text-2); }
.ord-signed .ic { color: var(--text-3); }
.ord-signed a { font-weight: 600; }

@media (max-width: 640px) {
  .ag-read { max-height: 360px; padding-right: 10px; }
  .ag-lines li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .ag-lines li.head { display: none; }
  .ag-lines li.head + li { padding-top: 0; border-top: 0; }
  .ag-lines li > div:first-child { grid-column: 1 / -1; }
  .ag-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-pad { height: 170px; }
  .ag-signed { grid-template-columns: minmax(0, 1fr); }
  .ag-copy { padding: 22px 18px 26px; border-radius: 16px; }
  .ag-sigblock { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  body:has(.ag-copy) * { visibility: hidden; }
  body:has(.ag-copy) .ag-copy, body:has(.ag-copy) .ag-copy * { visibility: visible; }
  body:has(.ag-copy) { background: #fff; }
  .ag-copy { position: absolute; left: 0; top: 0; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: #fff; }
  .ag-copy, .ag-copy * { color: #000 !important; border-color: #bbb !important; }
}

/* ---------- step 4: the Disclaimer (checkout-disclaimer.php): big numbers, one point per row, "I agree" ---------- */
.dc-lead { margin: 0; padding-bottom: 14px; font-weight: 600; color: var(--text); }
.dc-points { display: grid; margin: 0; padding: 0; list-style: none; }
.dc-points li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); }
.dc-n { font: 800 44px/1 var(--head); color: var(--gold); text-align: center; font-variant-numeric: tabular-nums; }
.dc-points p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.dc-agree { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.dc-agree .co-same { margin: 0; }
.dc-agree .err-text { margin: 0; }
.dc-agree.has-error .co-same-sw { box-shadow: 0 0 0 2px var(--err); }

/* ---------- step 5: Review order (checkout.php) ---------- */
.rv-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rv-change { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13.5px; font-weight: 600; }
.rv-lines li { grid-template-columns: minmax(0, 1fr) 170px 130px 100px; }
.rv-total { display: grid; margin: 4px 0 22px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.rv-total > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.rv-total > div:first-child { border-top: 0; }
.rv-total dt { font-size: 13.5px; color: var(--text-2); }
.rv-total dd { margin: 0; font-weight: 600; color: var(--text); }
.rv-total .rv-off { color: var(--ok); }
.rv-total .rv-due { background: var(--gold-soft); }
.rv-total .rv-due dt { font-weight: 600; color: var(--text); }
.rv-total .rv-due dd { font: 800 22px/1 var(--head); color: var(--gold); }
.rv-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.rv-two h3 { margin: 0 0 6px; font: 700 15px/1.3 var(--head); color: var(--text); }
.rv-kv { display: grid; margin: 0; }
.rv-kv > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.rv-kv > div:last-child { border-bottom: 0; }
.rv-kv dt { font-size: 13px; color: var(--text-3); }
.rv-kv dd { margin: 0; min-width: 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.rv-pay { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; }
.rv-pay b { display: block; font-weight: 600; color: var(--text); }
.rv-pay span:not(.pm-ico) { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.rv-docs { display: grid; margin: 0; padding: 0; list-style: none; }
.rv-docs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--text); }
.rv-docs li:first-child { padding-top: 0; border-top: 0; }
.rv-agreed { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.co-sec2 .ag-ticks:last-of-type { margin-bottom: 18px; }

@media (max-width: 640px) {
  .dc-points li { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .dc-n { font-size: 34px; }
  .rv-lines li { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-two { grid-template-columns: minmax(0, 1fr); }
  .rv-kv > div { grid-template-columns: 100px minmax(0, 1fr); }
  .co-actions .btn-gold { white-space: nowrap; }
}

/* the order page right after checkout: "Thank you. Your order has been received." */
.ty { display: grid; justify-items: center; gap: 10px; margin: 0 0 26px; padding: 30px 20px 28px; border-bottom: 1px solid var(--border); text-align: center; }
.ty > .ic { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.ty h1 { margin: 4px 0 0; font: 800 34px/1.15 var(--head); letter-spacing: -.01em; color: var(--text); }
.ty p { margin: 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 640px) { .ty { padding: 18px 4px 22px; } .ty h1 { font-size: 26px; } }

/* ---------- My orders (orders.php, buyers): one list, like the Newest uploads list ---------- */
.ol-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 0 14px; padding: 0 2px 0 0; border-bottom: 1px solid var(--border); color: var(--text-3); }
.ol-search:focus-within { border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.ol-search input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0; border: 0; background: transparent; font: 15px var(--sans); color: var(--text); }
.ol-search input:focus { outline: none; }
.ol-search input::placeholder { color: var(--text-3); }
.ol-search a { font-size: 13px; font-weight: 600; }
.ol-none { margin: 0 0 16px; color: var(--text-3); }
.ol-list { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.ol-list > li { display: grid; grid-template-columns: 130px 150px minmax(0, 1fr) 110px 120px 64px; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--border); }
.ol-list > li:nth-child(odd):not(.head) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.ol-list > li.head { padding-block: 11px; border-top: 0; background: var(--surface-2); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ol-list > li > div, .ol-o { display: grid; gap: 2px; min-width: 0; }
.ol-list b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ol-list > li span:not(.pill):not(.sr-only), .ol-cards li span { font-size: 12.5px; color: var(--text-3); }
.ol-o a { text-decoration: none; }
.ol-o a b { color: var(--text); }
.ol-o a:hover b { color: var(--gold); }
.ol-cards { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 16px; margin: 0; padding: 0; list-style: none; }
ul.ol-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
ul.ol-cards > li { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 16px; align-items: center; }
ul.ol-cards > li > div { display: grid; gap: 1px; min-width: 0; }
ul.ol-cards > li.is-gone, .ol-list > li.is-gone ul.ol-cards, .ol-list > li.is-gone > [data-l="Total"] { opacity: .55; }
.ol-list > li.is-gone > [data-l="Total"] b { text-decoration: line-through; }
li.head .ol-cards span { font-size: inherit; color: inherit; }
.ol-list .pill { justify-self: start; }
.ol-view { display: inline-flex; align-items: center; gap: 6px; justify-self: end; font-size: 13px; font-weight: 600; text-decoration: none; }
.ol-view .ic { color: var(--gold); }
@media (max-width: 900px) {
  .ol-list > li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; }
  .ol-list > li.head { display: none; }
  .ol-list > li > div[data-l="Authorized user"] { grid-column: 1; grid-row: 2; }
  .ol-list > li > [data-l="Status"] { grid-column: 2; grid-row: 1; justify-self: end; }
  ul.ol-cards { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed var(--border); }
  ul.ol-cards > li { grid-template-columns: minmax(0, 1fr) auto; }
  .ol-list > li > [data-l="Total"] { grid-column: 1; }
  .ol-view { grid-column: 2; align-self: center; }
}
.ol-how { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.ol-how > .ic { flex: none; color: var(--text-3); }
.ol-how > span { flex: 1 1 320px; min-width: 0; }
.ol-how b { font-weight: 600; color: var(--text); }
.ol-how a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }

/* ---------- one order (order.php): the checkout look, one centred column (owner, Oct 2026) ---------- */
.od .co-main { gap: 18px; }
.od .ty { margin-bottom: 8px; }
.od-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.od-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.od-back .ic { transform: rotate(180deg); }
.od-head h1 { margin: 0; font: 800 30px/1.15 var(--head); letter-spacing: -.01em; color: var(--text); }
.od-head p { margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.od-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.od-sent.is-later .od-act { justify-content: flex-start; margin-top: 14px; }
.od-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; }
.od-facts > div { display: grid; gap: 4px; padding: 18px 24px; border-left: 1px solid var(--border); min-width: 0; }
.od-facts > div:first-child { border-left: 0; }
.od-facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.od-facts dd { margin: 0; font: 800 24px/1.2 var(--head); color: var(--text); }
.od-facts dd:first-of-type.num { color: var(--gold); }
.od-facts dd.is-ok { color: var(--ok); }
.od-facts small { font-size: 12.5px; color: var(--text-3); }

/* pay: the title with the method's icon, then label | value | copy rows, then "I sent it" */
.od-paysec .co-sec2-h h2 { display: flex; align-items: center; gap: 10px; }
.od-ico { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
.rv-h > .pill { flex: none; margin-top: 2px; }
.od-pay { display: grid; margin: 0; }
.od-pay > div { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 56px; padding: 10px 0; border-top: 1px solid var(--border); }
.od-pay > div:first-child { padding-top: 0; border-top: 0; }
.od-pay dt { font-size: 13px; color: var(--text-3); }
.od-pay dd { display: grid; gap: 2px; margin: 0; min-width: 0; }
.od-pay dd b { font-size: 17px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.od-pay dd small { font-size: 12.5px; color: var(--text-3); }
.od-addr { font: 600 15px/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace !important; letter-spacing: .01em; }
.od-step { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.od-step h3 { margin: 0 0 18px; font: 700 15px/1.3 var(--head); color: var(--text); }
.od-sent .co-file { margin-left: 0; }
.od-sent .field { gap: 2px; }
.od-sent .field label, .od-sent .ag-lbl { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.od-sent .field input:not([type=file]) { min-height: 44px; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
.od-sent .field input:not([type=file]):focus { border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.od-sent .hint { margin-top: 6px; }
.od-act { display: flex; justify-content: flex-end; margin-top: 18px; }
.od-act .btn-gold { min-width: 160px; }
.zl-done + .od-sent { margin-top: 18px; }
.od-other { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-3); }
.od-other .linklike { font-size: 13.5px; font-weight: 600; }

/* a section that is only a header (refund, cancel) */
.od-slim .co-sec2-h { margin: 0; padding: 0; border: 0; align-items: center; }

/* the cards, then the signed agreement */
.od-lines li { grid-template-columns: minmax(0, 1fr) 150px 150px 90px 110px; }
.od-lines li.is-gone { opacity: .55; }
.od-lines .pill { justify-self: start; }
.od-doc { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.od-doc > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.od-doc b { display: block; font-weight: 600; color: var(--text); }
.od-doc span { display: block; font-size: 12.5px; color: var(--text-3); }
.od-note-t { margin: 0; color: var(--text-2); }
.od-help { margin: 0; padding-top: 0; border-top: 0; }

@media (max-width: 640px) {
  .od { padding-bottom: 64px; }   /* room for the Chat button */
  .od-head h1 { font-size: 24px; }
  .od-facts { grid-template-columns: minmax(0, 1fr); }
  .od-facts > div { padding: 14px 18px; border-left: 0; border-top: 1px solid var(--border); }
  .od-facts > div:first-child { border-top: 0; }
  .od-facts dd { font-size: 20px; }
  .od-pay > div { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .od-pay dt { grid-column: 1 / -1; }
  .od-act .btn-gold { width: 100%; }
  .od-lines li { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-slim .co-sec2-h { flex-direction: column; align-items: flex-start; gap: 12px; }
  .od-doc { grid-template-columns: 36px minmax(0, 1fr); }
  .od-doc .btn { grid-column: 1 / -1; justify-self: start; }
}

/* the order's documents: one row each; a "Needed" one has its own file line and Send it */
.od-docs { display: grid; margin: 0; padding: 0; list-style: none; }
.od-docs > li { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.od-docs > li:first-child { padding-top: 0; border-top: 0; }
.od-doc-h { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.od-doc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.od-docs .is-in .od-doc-ic { background: var(--ok-soft); color: var(--ok); }
.od-doc-h b { display: block; font-weight: 600; color: var(--text); }
.od-doc-h > div > span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.od-doc-up { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-left: 50px; }
.od-doc-up .co-file { margin-left: 0; }
.od-needs { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
.ol-need { display: block; margin-top: 4px; font-size: 12px !important; font-weight: 600; color: var(--warn) !important; }
@media (max-width: 640px) {
  .od-doc-h { grid-template-columns: 36px minmax(0, 1fr); }
  .od-doc-h .pill { grid-column: 2; justify-self: start; }
  .od-doc-up { margin-left: 0; grid-template-columns: minmax(0, 1fr); }
  .od-doc-up .btn { justify-self: start; }
}
