/* Owner Hub. Port of the approved concept (assets/new/hub.css), tokens and type from base.css. Loaded only on the account page. */

.amber-t { color: #8A5300; }

/* Hero */
.hub-hero { position: relative; background: var(--ink); color: #fff; padding: 22px 0 18px; }
.hub-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); }
.hub-kicker { color: var(--red-on-dark); margin-bottom: 10px; display: block; }
.hub-sub { color: rgba(255,255,255,.65); margin-top: 10px; overflow-wrap: anywhere; }
.hub-sub .ok { color: #7FD6AE; white-space: nowrap; }
.hub-head { display: flex; flex-direction: column; gap: 12px; }
.hub-head > div:first-child { min-width: 0; }
.hub-since { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.hub-since .mono { color: rgba(255,255,255,.55); }
.hub-since b { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; }
.hub-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.hub-tile { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 10px 12px; }
a.hub-tile:hover { border-color: rgba(255,255,255,.4); }
.hub-tile .mono { color: rgba(255,255,255,.55); }
.hub-tile b { font-family: 'Funnel Display', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; }
.hub-tile b.small { font-size: 16px; line-height: 25px; letter-spacing: -0.02em; font-weight: 600; }

/* Layout */
.hub { background: var(--cream); }
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; padding-bottom: 48px; }
.hub-side { display: contents; }
.hub-nav { order: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--rule); }
.hub-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 2px; text-align: center; font-weight: 500; font-size: 13px; line-height: 16px; border-right: 1px solid var(--rule-light); border-bottom: 3px solid transparent; }
.hub-nav a:nth-of-type(3n), .hub-nav a:last-child { border-right: 0; }
.hub-nav a:nth-of-type(n+4) { border-top: 1px solid var(--rule-light); }
.hub-nav a[aria-current] { color: var(--red); font-weight: 600; border-bottom-color: var(--red); }
.hub-nav .side-title, .hub-nav .num { display: none; }
.hub-body { order: 2; min-width: 0; display: grid; gap: 28px; }
.hub-body > .woocommerce-notices-wrapper:empty { display: none; }
.hub-help { order: 3; background: #fff; border: 1px solid var(--rule); padding: 16px; text-align: center; }
.hub-help .mono { color: var(--ink-soft); display: block; margin-bottom: 8px; }
.hub-help a { display: inline-block; padding: 10px 0; font-weight: 500; }
.hub-help a:hover { color: var(--red); }
.hub-help p { margin: 0; }
.hub-hours { font-size: 12px; line-height: 18px; color: var(--ink-soft); }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.sec-head .a-link { color: var(--ink); padding: 12px 0; margin: -12px 0; }
.sec-head .a-link:hover { color: var(--red); }
.sec-note { color: var(--ink-soft); margin: -6px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* Cards */
.h-card { background: #fff; border: 1px solid var(--rule); padding: 16px; }
.h-card + .h-card { margin-top: 10px; }
.h-stack { display: grid; gap: 10px; }
.h-card h3 { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; }
.c-soft { color: var(--ink-soft); }
.muted-line { color: rgba(10,14,20,.75); }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill-ok { background: #E8F5EE; color: #076B43; }
.pill-wait { background: #FFF6DF; color: #8A5300; }
.pill-none { background: var(--rule-light); color: #55554F; }
.pill-red { background: #FBECEC; color: var(--red-dark); }
.chip-tss { display: inline-block; background: var(--ink); color: #fff; padding: 2px 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; line-height: 14px; letter-spacing: .08em; font-weight: 600; }
.chip-bob { display: inline-block; background: var(--red); color: #fff; padding: 2px 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; line-height: 14px; letter-spacing: .08em; font-weight: 600; }

/* Thumbs */
.th { position: relative; display: block; flex: none; width: 72px; height: 72px; background: #fff; border: 1px solid var(--rule-light); overflow: hidden; }
.th img { width: 100%; height: 100%; object-fit: contain; }
.th-none { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--cream); color: var(--ink-faint); font-size: 10px; line-height: 12px; padding: 4px; }

/* Warranty table */
.w-rows { display: grid; gap: 0; margin-top: 8px; }
.w-row { padding: 14px 0; border-top: 1px solid var(--rule-light); }
.w-row:first-child { border-top: 0; padding-top: 4px; }
.w-row .mono { display: block; color: var(--ink-soft); margin-bottom: 6px; }
.w-big { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 6px; }
.w-row .pill { margin-bottom: 8px; }
.period-t { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; margin-top: 8px; }
.period-t th, .period-t td { text-align: left; padding: 8px 0; border-top: 1px solid var(--rule-light); font-weight: 400; vertical-align: top; }
.period-t th { padding-right: 12px; }
.period-t td { font-weight: 600; white-space: nowrap; text-align: right; }

/* Details */
.fold { border-top: 1px solid var(--rule-light); }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; font-weight: 600; font-size: 15px; line-height: 20px; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s; }
.fold[open] summary::after { transform: rotate(-135deg); }
.fold-in { padding: 0 0 14px; color: rgba(10,14,20,.8); font-size: 14px; line-height: 21px; }
.fold-in li { padding-left: 14px; position: relative; margin-top: 6px; }
.fold-in li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--red); }
.acts { display: grid; gap: 8px; margin-top: 14px; }
.acts .cta-primary, .acts .cta-ghost { text-align: center; min-height: 48px; display: flex; align-items: center; justify-content: center; }

/* Facts list */
.kv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kv .mono { display: block; color: var(--ink-soft); margin-bottom: 3px; }
.kv-v { font-size: 15px; line-height: 21px; font-weight: 500; overflow-wrap: anywhere; }
.kv-v.none { color: var(--ink-soft); font-weight: 400; }
.text-link { color: var(--red); font-weight: 500; display: inline-block; padding: 6px 0; }
.text-link:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Choice row: which pump */
.ways { display: grid; gap: 8px; margin-top: 10px; }
.way { border: 1px solid var(--rule); padding: 12px; }
.way b { display: block; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 15px; line-height: 20px; margin-bottom: 4px; }
.way code { font-family: 'JetBrains Mono', monospace; font-size: 12px; white-space: nowrap; }

/* Orders */
.order-card { background: #fff; border: 1px solid var(--rule); padding: 14px; }
.order-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.order-num { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.order-num a { padding: 10px 0; margin: -10px 0; }
.order-num a, .order-num > span.n { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.order-num a:hover { color: var(--red); }
.order-meta { color: var(--ink-soft); margin-top: 4px; }
.order-items { display: flex; gap: 8px; margin-top: 12px; }
.order-items .th { width: 64px; height: 64px; }
.order-names { margin-top: 10px; font-size: 14px; line-height: 20px; color: rgba(10,14,20,.8); }
.order-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.order-acts a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; text-align: center; font-weight: 500; font-size: 14px; line-height: 18px; border: 1px solid var(--rule); }
.order-acts a:hover { border-color: var(--ink); }
.order-acts a.go { background: var(--ink); border-color: var(--ink); color: #fff; font-family: 'Funnel Display', sans-serif; font-weight: 600; }
.order-acts a.go:hover { background: #000; }
.filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--rule); margin-bottom: 12px; }
.filter a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 4px; border-right: 1px solid var(--rule-light); border-bottom: 3px solid transparent; font-weight: 500; font-size: 14px; line-height: 18px; text-align: center; }
.filter a:last-child { border-right: 0; }
.filter a[aria-current] { color: var(--red); font-weight: 600; border-bottom-color: var(--red); }
.order-note { color: var(--ink-soft); font-size: 14px; line-height: 20px; margin-top: 12px; }

/* Order status steps */
.steps { display: grid; gap: 0; margin-top: 14px; }
.step { position: relative; padding: 0 0 16px 26px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.step::after { content: ''; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 2px; background: var(--rule); }
.step:last-child::after { display: none; }
.step.unknown::before { background: #fff; border: 2px solid var(--ink-faint); }
.step b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.step span { display: block; color: var(--ink-soft); font-size: 14px; line-height: 20px; }

/* Order lines */
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule-light); }
.line:first-child { border-top: 0; padding-top: 0; }
.line:last-child { padding-bottom: 0; }
.line-name { display: block; padding: 3px 0; font-weight: 600; font-size: 15px; line-height: 20px; }
a.line-name:hover { color: var(--red); }
.line-price { font-family: 'Funnel Display', sans-serif; font-weight: 700; font-size: 16px; margin-top: 4px; }
.line-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.answers { margin-top: 8px; font-size: 13px; line-height: 19px; color: var(--ink-soft); }
.answers div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.answers b { font-weight: 500; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; line-height: 20px; }
.sum-row.total { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 12px; font-family: 'Funnel Display', sans-serif; font-weight: 700; font-size: 18px; }
.addr { font-size: 14px; line-height: 21px; color: rgba(10,14,20,.8); }
.split { display: grid; gap: 10px; }
.h3-mono { display: block; color: var(--ink-soft); margin-bottom: 8px; }

/* Doors */
.doors { display: grid; gap: 10px; }
.door { display: block; background: #fff; border: 1px solid var(--rule); padding: 14px; transition: border-color .2s, transform .2s; }
.door:hover { border-color: var(--ink); transform: translateY(-2px); }
.door b { display: block; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 17px; line-height: 22px; letter-spacing: -0.01em; }
.door span { display: block; color: var(--ink-soft); font-size: 14px; line-height: 20px; margin-top: 4px; }
.door em { display: block; font-style: normal; color: var(--red); font-weight: 500; font-size: 14px; margin-top: 8px; }

/* Empty and notices */
.empty { background: #fff; border: 1px dashed var(--ink-faint); padding: 20px 16px; }
.empty h3 { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.notice { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--red); padding: 14px; }
.notice b { display: block; font-weight: 600; margin-bottom: 4px; }

/* Sign in */
.signin-wrap { display: grid; gap: 16px; padding-top: 20px; padding-bottom: 48px; }
.signin-card { background: #fff; border: 1px solid var(--rule); padding: 18px 16px; min-width: 0; }
.fld { display: block; margin-top: 14px; }
.fld > span { display: block; font-weight: 600; font-size: 14px; line-height: 20px; margin-bottom: 6px; }
.fld input { display: block; width: 100%; height: 50px; padding: 0 14px; font-size: 16px; line-height: 24px; border: 1px solid var(--ink-faint); background: #fff; border-radius: 0; }
.fld input:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.fld input.code { letter-spacing: .4em; font-family: 'JetBrains Mono', monospace; font-size: 20px; text-align: center; }
.btn-full { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 14px; border: 0; cursor: pointer; }
.cta-ghost.btn-full { border: 1px solid var(--ink); }
.small-print { color: var(--ink-soft); font-size: 13px; line-height: 19px; margin-top: 12px; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; color: var(--ink-soft); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.steps-on [data-step]:not(.on) { display: none; }
.why-list li { position: relative; padding: 0 0 12px 18px; font-size: 14px; line-height: 21px; color: rgba(10,14,20,.8); }
.why-list li:last-child { padding-bottom: 0; }
.why-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--red); }
.why-list b { color: var(--ink); font-weight: 600; }

@media (min-width: 640px) {
  .hub-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .hub-since { text-align: right; }
  .hub-since b { font-size: 24px; }
  .hub-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acts { display: flex; flex-wrap: wrap; }
  .acts .cta-primary, .acts .cta-ghost { padding-left: 24px; padding-right: 24px; }
  .order-acts { display: flex; justify-content: flex-end; }
  .order-acts a { min-width: 130px; }
  .order-card { padding: 16px 18px; }
  .order-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
}
@media (min-width: 1024px) {
  .hub-hero { padding: 40px 0 36px; }
  .hub-tiles { gap: 12px; margin-top: 24px; }
  .hub-tile { gap: 8px; padding: 16px 18px; }
  .hub-tile b { font-size: 28px; }
  .hub-tile b.small { font-size: 18px; line-height: 32px; }
  .hub-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
  .hub-side { display: block; position: sticky; top: calc(16px + var(--bm-adminbar, 0px)); }
  .hub-nav { display: block; padding: 20px; }
  .hub-nav .side-title { display: block; color: var(--ink-soft); margin-bottom: 8px; }
  .hub-nav a { justify-content: space-between; text-align: left; min-height: 44px; padding: 8px 0; font-size: 15px; line-height: 20px; border-right: 0; border-bottom: 1px solid var(--rule-light); }
  .hub-nav a:last-child { border-bottom: 0; }
  .hub-nav a:nth-of-type(n+4) { border-top: 0; }
  .hub-nav a[aria-current] { border-bottom-color: var(--rule-light); }
  .hub-nav a:hover { color: var(--red); }
  .hub-nav .num { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-soft); font-weight: 500; }
  .hub-help { margin-top: 12px; }
  .hub-body { gap: 36px; }
  .h-card, .order-card { padding: 20px 24px; }
  .split { grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
  .signin-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
  .signin-card { padding: 28px; }
  .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w-rows-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .w-rows-2 .w-row:nth-child(2) { border-top: 0; padding-top: 4px; }
}

/* ===== Theme additions: real forms, stock Woo screens, states ===== */
/* site.css lays the stock account out as a two-column grid; here the templates bring their own layout. */
.woocommerce-account .woocommerce { display: block; }
.woocommerce-account .site-main, .woocommerce-account main { background: var(--cream); }
.hub-lead { margin-top: 10px; }
.hub-lead-note { margin-top: 12px; }
.hub-call { margin-top: 14px; }
.hub-big-top { margin-top: 10px; }
.hub-fold-top { margin-top: 12px; }
.hub-for { font-weight: 400; }
.hub-paid { margin-top: 8px; }
.hub-gone { margin-top: 6px; }
.hub-tips { padding: 3px 0; }
.hub-tips li:first-child { margin-top: 0; }
.hub-nav a.hub-out { color: var(--ink-soft); font-weight: 400; }
.hub-nav a.hub-out:hover { color: var(--red); }
.acts-top { margin-top: 12px; }
.signin-why h2 { margin: 28px 0 14px; }
.signin-why h2:first-child { margin-top: 0; }
.hub-nothing { margin-top: 12px; }
.hub-err { border-left-color: var(--red); margin-bottom: 14px; padding: 10px 14px; }
.notice-ok { border-left-color: #076B43; }
.signin-solo { max-width: none; }
.order-tools { display: grid; gap: 12px; margin-bottom: 12px; }
.order-tools .filter { margin-bottom: 0; }
.order-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.order-search .fld { margin-top: 0; }
.order-search .cta-ghost { min-height: 50px; padding-left: 20px; padding-right: 20px; cursor: pointer; }
.hub-pages { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.hub-pages .cta-ghost { display: flex; align-items: center; justify-content: center; min-height: 48px; padding-left: 20px; padding-right: 20px; }
.hub .form-row { margin-bottom: 12px; }
.hub label { font-size: 14px; font-weight: 600; }
.hub .fld > span { font-weight: 600; }
.hub form .woocommerce-privacy-policy-text p { font-size: 13px; line-height: 19px; color: var(--ink-soft); margin-top: 12px; }
.hub .woocommerce-Button, .hub .woocommerce-address-fields .button { width: 100%; min-height: 50px; }
/* Stock forms: details, addresses, password screens */
.hub-body > .woocommerce-EditAccountForm, .hub-body .woocommerce-address-fields, .hub-body .woocommerce-Addresses, .hub-body > form { background: #fff; border: 1px solid var(--rule); padding: 16px; }
.hub-body fieldset { margin-top: 16px; padding: 0; border: 0; }
.hub-body legend { font-family: 'Funnel Display', 'Funnel Display Fallback', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.hub-body .woocommerce-Address { padding: 0; }
.hub-body .woocommerce-Address-title a { color: var(--red); font-weight: 500; }
.hub-plain .woocommerce-ResetPassword { border: 0; padding: 0; margin-top: 14px; }
.hub-plain p { margin-bottom: 12px; }
.hub-plain .woocommerce-form-row { width: 100%; float: none; }
.hub-plain .woocommerce-Button { width: 100%; min-height: 50px; }
/* The green "Check your email for the reset link" and the red notices sat right under the H1: the same gap as the form gets (Egor, 10.11.2026). */
.hub-plain .woocommerce-message, .hub-plain .woocommerce-error, .hub-plain .woocommerce-info { margin-top: 14px; }
/* "This link has expired": a second way in under the form (inc/entry-screens.php). */
.hub-plain .or { margin-top: 18px; }
.hub-plain .cta-ghost.btn-full { text-decoration: none; }
.hub-body .woocommerce-message, .hub-body .woocommerce-error, .hub-body .woocommerce-info { margin-bottom: 12px; }

@media (min-width: 640px) {
  .order-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .order-tools .order-search:only-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .signin-solo { grid-template-columns: minmax(0, 620px); justify-content: center; }
  .hub-body > .woocommerce-EditAccountForm, .hub-body .woocommerce-address-fields, .hub-body .woocommerce-Addresses, .hub-body > form { padding: 24px; }
  .hub-body .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* site.css underlines every link in the stock account content. The hub's cards and buttons are links too. */
.hub-body.woocommerce-MyAccount-content a:not(.button) { text-decoration: none; }
.hub-body.woocommerce-MyAccount-content a.text-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Plate registration: /register/ and the same form in the account */
.fld textarea { display: block; width: 100%; padding: 12px 14px; font-size: 16px; line-height: 24px; border: 1px solid var(--ink-faint); background: #fff; border-radius: 0; }
.fld textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.fld input[readonly] { background: var(--cream); color: var(--ink-soft); }
.fld-hint { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-soft); font-weight: 400; }
.hub-serial { margin-top: 10px; }
.hub-serial img { max-width: 100%; height: auto; }
.hub-reg-card { max-width: none; }
.hub-reg .notice { margin-bottom: 12px; }
.reg-lead { color: rgba(255,255,255,.7); margin-top: 10px; }
.reg-done h2 { margin-bottom: 8px; }
@media (min-width: 1024px) {
  .hub-reg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .hub-reg > * { grid-column: 1 / -1; }
  .hub-reg > .fld { grid-column: auto; }
  .hub-reg > .fld:has(textarea), .hub-reg > .hub-serial { grid-column: 1 / -1; }
  .signin-wrap .hub-reg { display: block; }
}

/* Stock password fields and notices on our cards */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 64px; }
.show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 10px; background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.show-password-input::after { content: 'Show'; }
.show-password-input.display-password::after { content: 'Hide'; }
.hub-body .form-row-first, .hub-body .form-row-last { width: 100%; float: none; }
.hub-body .woocommerce-EditAccountForm em { font-style: normal; font-size: 13px; color: var(--ink-soft); }
.signin-card .woocommerce-error, .signin-card .woocommerce-message, .signin-card .woocommerce-info { margin-bottom: 14px; font-size: 14px; line-height: 20px; }

.hub-note + .hub-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-light); }
.hub-note .mono { display: block; color: var(--ink-soft); margin-bottom: 4px; }

/* site.css frames the stock login and registration forms. On our card there is already a frame. */
.signin-card .woocommerce-form-login, .signin-card .woocommerce-form-register { padding: 0; border: 0; }

/* ===== Variant A, the owner's file: My setup, big plate cards, shelves, compact orders. Port of reports/concepts/bobs/assets/new/hubr-base.css and hubr-a.css ===== */
.hub-tile em { font-style: normal; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.6); }
.hub-body { grid-template-columns: minmax(0, 1fr); }
.hub [hidden] { display: none !important; }
.hr-sec { min-width: 0; scroll-margin-top: 16px; }
.sec-head > div { min-width: 0; }
.sec-head .sec-note { margin: 4px 0 0; }
.hr-head-sm { margin-bottom: 10px; }
.hr-series { display: block; color: var(--red); margin-bottom: 6px; }
.hr-spec { color: var(--ink-soft); margin-top: 6px; overflow-wrap: anywhere; }
.hr-ico { width: 20px; height: 20px; flex: none; }
.hr-inline { padding: 3px 0; color: var(--red); font-weight: 500; }
.hr-inline:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.hr-go { color: var(--red); font-weight: 500; font-size: 14px; line-height: 20px; display: inline-flex; align-items: center; min-height: 32px; }
.hr-go:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.hr-yes { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; background: var(--ink); color: #fff; border: 0; cursor: pointer; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; white-space: nowrap; }
.hr-yes:hover { background: #000; }
.hr-setup-count { color: var(--ink-soft); white-space: nowrap; }
.none { color: var(--ink-soft); font-weight: 400; }
.is-busy { opacity: .55; pointer-events: none; }

/* My setup: five cells. data-state is set, suggest or empty. The flash answers the customer's tap and nothing moves by itself. */
.hr-setup-row { display: grid; gap: 0; background: #fff; border: 1px solid var(--rule); }
.hr-slot { position: relative; border-top: 1px solid var(--rule-light); display: flex; flex-direction: column; min-width: 0; }
.hr-slot:first-child { border-top: 0; }
.hr-slot-main { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 10px; text-align: left; padding: 12px 14px; width: 100%; }
.hr-slot-ico { grid-row: span 3; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--cream); color: var(--ink); }
.hr-slot .mono { color: var(--ink-soft); }
.hr-slot b { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 17px; line-height: 22px; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.hr-slot-n { color: var(--ink-soft); overflow-wrap: anywhere; }
.hr-slot-x { padding: 0 14px 12px 60px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hr-slot[data-state="empty"] b { color: var(--red); }
.hr-slot[data-state="empty"] .hr-slot-ico { background: #fff; border: 1px dashed var(--ink-faint); color: var(--ink-soft); }
.hr-slot[data-state="set"] .hr-slot-ico { background: var(--ink); color: #fff; }
.hr-slot-main:hover b { color: var(--red); }
@keyframes hr-flash { 0% { background-color: rgba(180,51,53,.22); } 100% { background-color: transparent; } }
.hr-flash { animation: hr-flash 1.1s ease-out; }
@media (prefers-reduced-motion: reduce) { .hr-flash { animation: none; } }
.hr-setup-err { margin-bottom: 10px; }

/* The editor opens under the row, by a plain link: #edit-boat. */
.hr-edit { background: #fff; color: var(--ink); border: 1px solid var(--ink); padding: 16px; margin-top: 10px; scroll-margin-top: 16px; }
.hr-edit:not(:target) { display: none; }
.hr-edit:focus { outline: none; }
#setup:has(#edit-boat:target) [data-slot="boat"], #setup:has(#edit-motor:target) [data-slot="motor"], #setup:has(#edit-plates:target) [data-slot="plates"], #setup:has(#edit-finder:target) [data-slot="finder"], #setup:has(#edit-transducers:target) [data-slot="transducers"] { background: var(--cream); }
.hr-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hr-edit-x { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0 0 12px; color: var(--ink-soft); font-size: 14px; }
.hr-edit-x:hover { color: var(--ink); }
.hr-edit-lead { color: rgba(10,14,20,.75); margin-top: 2px; }
.hr-edit-more { margin-top: 8px; }
.hr-edit-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hr-edit-acts .cta-primary, .hr-edit-acts .cta-ghost { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hr-edit-list { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; }
.hr-edit-list a { color: var(--red); font-weight: 500; display: inline-block; padding: 4px 0; }
.hr-sugg { display: grid; gap: 8px; margin-top: 10px; }
.hr-sugg-b { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--rule); padding: 10px 12px; cursor: pointer; min-height: 56px; }
.hr-sugg-b:hover { border-color: var(--ink); }
.hr-sugg-b b { display: block; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: -0.01em; }
.hr-sugg-b span { display: block; color: var(--ink-soft); font-size: 13px; line-height: 18px; margin-top: 2px; }
.hr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hr-chip { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; background: #fff; color: var(--ink); border: 1px solid var(--rule); cursor: pointer; font-weight: 500; font-size: 14px; line-height: 18px; }
.hr-chip:hover { border-color: var(--ink); }
.hub label.hr-chip { font-weight: 500; }
.hr-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hr-chip.is-on, .hr-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.hr-chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.hr-chip-soft { color: var(--ink-soft); }

/* Plate card */
.hr-plates { display: grid; gap: 12px; }
.hr-reg { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; }
.hr-plate { display: grid; background: #fff; border: 1px solid var(--rule); min-width: 0; }
.hr-plate-pic { display: block; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--rule-light); padding: 10px; }
.hr-plate-b { padding: 14px; min-width: 0; }
.hr-plate-top { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hr-plate-top > div { min-width: 0; }
.hr-plate-img { display: flex; align-items: center; justify-content: center; background: #fff; width: 100%; height: 100%; }
.hr-plate-img img { width: 100%; height: 100%; object-fit: contain; }
.hr-nophoto { color: var(--ink-faint); font-size: 13px; }
/* A registered plate has no product behind it, so no photo: the card closes up instead of showing an empty box. */
.hr-plate-pic:has(.hr-nophoto) { display: none; }
.hr-plate:has(.hr-nophoto) { grid-template-columns: minmax(0, 1fr) !important; }
.hr-plate-name { display: block; font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.hr-plate-name:hover { color: var(--red); }
.hr-grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 14px 0; margin-top: 14px; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.hr-grid4 .mono { display: block; color: var(--ink-soft); margin-bottom: 3px; }
.hr-gv { font-size: 14px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.hr-gv .text-link, .hr-gv .hr-inline, .kv-v .text-link, .kv-v .hr-inline { padding: 6px 0; margin: -6px 0; display: inline-block; }
.hr-acts4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.hr-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 8px 6px; border: 1px solid var(--rule); background: #fff; text-align: center; font-weight: 500; font-size: 14px; line-height: 18px; transition: border-color .2s; }
.hr-act:hover { border-color: var(--ink); }
.hr-act:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hr-act em { font-style: normal; font-size: 12px; line-height: 16px; color: var(--ink-soft); font-weight: 400; }
.hr-plate-big .kv { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-light); }

/* Product shelf: 2 on a phone, 4 from tablet up */
.hr-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hr-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); min-width: 0; transition: border-color .2s; }
.hr-card:hover { border-color: var(--ink); }
.hr-card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--rule-light); overflow: hidden; }
.hr-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hr-card-nophoto { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink-faint); font-size: 12px; }
.hr-card-b { display: flex; flex-direction: column; gap: 6px; padding: 10px; flex: 1; min-width: 0; }
.hr-card-tag { color: var(--ink-soft); font-size: 9px; letter-spacing: .1em; line-height: 13px; }
.hr-card-name { padding: 2px 0; font-weight: 600; font-size: 14px; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hr-card-name:hover { color: var(--red); }
.hr-card-buy { margin-top: auto; padding-top: 6px; display: grid; gap: 6px; }
.hr-card-buy b { font-family: 'Funnel Display', sans-serif; font-weight: 700; font-size: 16px; line-height: 20px; }
.hub-body a.hr-card-go, .hr-card-go { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; background: var(--ink); color: #fff; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 14px; line-height: 16px; text-align: center; }
.hub-body a.hr-card-go:hover, .hr-card-go:hover { background: #000; color: #fff; }

/* Orders, compact */
.hr-orders { display: grid; gap: 0; background: #fff; border: 1px solid var(--rule); }
.hr-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; border-top: 1px solid var(--rule-light); transition: background .15s; }
.hr-order:first-child { border-top: 0; }
.hr-order:hover { background: var(--cream); }
.hr-o-num { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hr-o-num b { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.hr-o-what { grid-column: 1 / -1; order: 3; font-size: 14px; line-height: 20px; color: rgba(10,14,20,.8); overflow-wrap: anywhere; }
.hr-o-date { order: 4; grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.hr-o-sum { order: 5; grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.hr-order .pill { order: 2; justify-self: end; align-self: start; }
.hr-o-go { display: none; }

/* Transducers */
.hr-shields { display: grid; gap: 0; background: #fff; border: 1px solid var(--rule); }
.hr-shield { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--rule-light); align-items: start; }
.hr-shield:first-child { border-top: 0; }
.hr-shield-img { grid-row: span 2; display: block; width: 72px; height: 54px; }
.hr-shield-img img { width: 100%; height: 100%; object-fit: contain; }
.hr-shield b { font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 16px; line-height: 20px; }
.hr-shield p { color: rgba(10,14,20,.8); overflow-wrap: anywhere; }
.hr-shield .hr-shield-m { color: var(--ink-soft); }
.hr-shield .pill { justify-self: start; }
.hr-link { color: var(--red); font-weight: 500; font-size: 14px; line-height: 20px; display: inline-flex; align-items: center; min-height: 36px; }
.hr-link:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 2px; }
.hr-new { margin-top: 18px; }
.hr-ask { background: var(--ink); color: #fff; padding: 20px 16px; display: grid; gap: 14px; }
.hr-ask p { color: rgba(255,255,255,.7); margin-top: 8px; }
.hub-body .hr-ask .hr-chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hub-body .hr-ask .hr-chip:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hub-body .hr-ask .hr-chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.hr-ask .hr-chips { margin-top: 0; }

/* A fresh order goes above everything */
.hr-fresh { background: #FFF6DF; border-bottom: 1px solid #EBDDB6; }
.hr-fresh-i { display: grid; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
.hr-fresh-t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.hr-fresh-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; background: var(--ink); color: #fff; font-family: 'Funnel Display', sans-serif; font-weight: 600; font-size: 14px; }
.hr-fresh-go:hover { background: #000; }

@media (min-width: 640px) {
  .hr-setup-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-slot:nth-child(2) { border-top: 0; }
  .hr-plate { grid-template-columns: 240px minmax(0, 1fr); }
  .hr-plate-pic { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--rule-light); min-height: 260px; }
  .hr-plate-top { flex-direction: row; justify-content: space-between; }
  .hr-plate-top .pill { flex: none; white-space: nowrap; }
  .hr-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hr-card-b { padding: 12px; }
  .hr-card-name { font-size: 15px; line-height: 20px; }
  .hr-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Three or four buttons always fill the row: a plate no longer sold has no Reorder. */
  .hr-acts4 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .hr-act:last-child:nth-child(odd) { grid-column: auto; }
  .hr-order { grid-template-columns: 170px minmax(0, 1fr) 96px 136px auto 44px; align-items: center; gap: 12px; }
  .hr-o-what, .hr-o-date, .hr-o-sum { grid-column: auto; order: 0; }
  .hr-order .pill { order: 0; justify-self: start; align-self: center; white-space: nowrap; }
  .hr-o-go { display: block; font-weight: 500; font-size: 14px; text-align: right; }
  .hr-order:hover .hr-o-go { color: var(--red); }
  .hr-sugg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-shield { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; }
  .hr-shield-img { grid-row: auto; width: 96px; height: 72px; }
  .hr-ask { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 28px; gap: 28px; }
  .hr-fresh-i { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
  .hr-fresh-t { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .hub-body { gap: 40px; }
  .hr-setup-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hr-slot { border-top: 0; border-left: 1px solid var(--rule-light); }
  .hr-slot:first-child { border-left: 0; }
  .hr-slot-main { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; height: 100%; }
  .hr-slot-ico { margin-bottom: 6px; }
  .hr-slot-x { padding: 0 16px 14px; }
  .hr-edit { padding: 20px 24px; }
  .hr-plate { grid-template-columns: 340px minmax(0, 1fr); }
  .hr-plate-pic { min-height: 320px; padding: 16px; }
  .hr-plate-b { padding: 22px 24px; }
  .hr-plate-name { font-size: 28px; }
  .hr-plate-big .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* site.css gives every paragraph in the stock account content a bottom margin. These blocks set their own rhythm. */
.hub-body .hr-spec, .hub-body .hr-shield p, .hub-body .hr-ask p, .hub-body .hr-edit-lead { margin-bottom: 0; }
