/* Public documents, purchasing forms and account pages. */
.document-head, .account-heading {
  padding: 0;
  border-bottom: 1px solid #dce4ec;
  background: #f4f7fa;
  color: #152536;
}
.document-head > .wrap, .account-heading > .wrap {
  padding-block: 16px clamp(27px, 3.4vw, 46px);
}
.document-crumb, .account-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin: 0 0 clamp(17px, 2.2vw, 27px);
  color: #556577;
  font-size: .875rem;
}
.document-crumb a:hover, .document-crumb a:focus-visible { color: #174fb6; text-decoration: underline; }
.document-crumb [aria-current], .account-breadcrumb [aria-current] { color: #152536; font-weight: 600; }
.document-head h1, .account-heading h1, .admin-area h1 {
  max-width: 28ch;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -.032em;
  line-height: 1.17;
  overflow-wrap: anywhere;
}
.document-head p {
  max-width: 46rem;
  margin-top: 12px;
  color: #556577;
  line-height: 1.75;
}
.document-head + .page-body, .account-page { padding-block: clamp(28px, 4vw, 54px) clamp(48px, 6vw, 84px); }
.document-link { color: #174fb6; padding: 4px 0; font-size: .94rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.document-link:hover { color: #152536; }
.company-profile, .business-contact, .question-sheet, .enquiry-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.85fr) minmax(250px, .9fr);
  gap: clamp(22px, 5vw, 80px);
}
.company-profile-main, .office-sheet, .contact-office { min-width: 0; }
.company-profile { grid-template-columns: minmax(0, 46.5rem) minmax(17.5rem, 22rem); justify-content: space-between; }
.company-intro { margin-bottom: clamp(27px, 3.4vw, 47px); }
.company-intro h2, .contact-office h2 { color: #152536; font-size: clamp(1.55rem, 2.45vw, 2.25rem); font-weight: 650; line-height: 1.24; letter-spacing: -.026em; }
.company-intro h2 { max-width: 30ch; text-wrap: balance; }
.company-intro p { margin-top: 14px; line-height: 1.85; color: #46596c; }
.company-intro p:first-of-type { margin-top: 19px; color: #243b50; font-size: clamp(1.04rem, 1.5vw, 1.24rem); line-height: 1.7; }
.profile-section { padding-block: clamp(22px, 2.9vw, 38px); border-top: 1px solid #dce4ec; }
.profile-section:first-of-type { border-color: #9eafc1; }
.profile-section:last-child { padding-bottom: 0; }
.profile-section h3 { margin: 0 0 12px; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 650; line-height: 1.38; color: #152536; }
.profile-section p { margin: 0; line-height: 1.85; color: #46596c; }
.profile-section p + p { margin-top: .8em; }
.profile-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 12px; }
.reading-row {
  display: grid;
  grid-template-columns: minmax(125px, .58fr) minmax(0, 1.6fr);
  gap: 16px clamp(20px, 3vw, 42px);
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.reading-row:first-child { border-color: var(--navy); }
.reading-row h2 { font-size: 1.13rem; font-weight: 670; line-height: 1.5; }
.reading-row p, .office-sheet > p { margin: 0; color: var(--muted); line-height: 1.85; }
.office-sheet, .enquiry-layout .sheet-summary, .account-help, .aligned-cart-grid .order-summary, .aligned-checkout .order-summary {
  padding: clamp(18px, 2.3vw, 32px);
  border: 1px solid #dce4ec;
  border-top: 3px solid #174fb6;
  border-radius: 6px;
  background: #f4f7fa;
}
.office-sheet h2, .sheet-summary h2, .sheet-block h2, .account-help h2 { margin: 0; color: var(--navy); font-size: 1.25rem; line-height: 1.45; font-weight: 650; }
.office-sheet > p { margin-block: 12px; }
.business-details { margin: 16px 0 22px; }
.business-details > div { display: grid; grid-template-columns: minmax(4.8em, max-content) minmax(0, 1fr); align-items: baseline; gap: 12px; padding-block: 11px; border-bottom: 1px solid #dce4ec; }
.business-details dt { color: #556577; font-size: .875rem; }
.business-details dd { margin: 0; color: #263d52; font-size: .975rem; font-weight: 550; overflow-wrap: anywhere; line-height: 1.6; }
.business-details a { color: #174fb6; text-decoration: underline; text-decoration-color: #a6bde5; text-underline-offset: 3px; }
.business-details a:hover { text-decoration-color: currentColor; }
.company-profile .office-sheet > .document-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 14px;
  border: 1px solid #b9cbed;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
}
.company-profile .office-sheet > .document-link:hover { background: #eaf1fb; }
.business-contact { grid-template-columns: minmax(16rem, .78fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 86px); }
.contact-office { margin-top: 4px; }
.contact-office .business-details { margin-top: 22px; }
.contact-office .business-details > div { padding-block: 14px; }
.reading-sheet { max-width: 1000px; }
.reading-actions { padding-top: 12px; }
.brand-group { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 22px; padding-block: 16px; border-top: 1px solid var(--line); }
.brand-group:first-child { border-color: var(--navy); }
.brand-group h2 { font-size: 1.65rem; color: var(--teal); font-weight: 600; }
.brand-group ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.brand-group a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding-block: 6px; min-height: 42px; }
.brand-group a:hover strong { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.brand-group strong { overflow-wrap: anywhere; font-size: 1rem; font-weight: 620; }
.brand-group small { color: var(--muted); white-space: nowrap; }
.inventory-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.inventory-toolbar strong { font-size: 1.12rem; }
.inventory-toolbar strong span { margin-left: .3em; font-variant-numeric: tabular-nums; }
.inventory-toolbar p { margin-top: 3px; color: var(--muted); font-size: .9rem; }
.inventory-sheet .stock-table-scroll { border: 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); border-radius: 0; }
.inventory-sheet .stock-table thead { background: #f4f7fa; }
.inventory-sheet .stock-table :is(th,td) { padding: 13px 15px; }
.inventory-sheet .stock-table tbody th, .quote-line > div > :is(a,strong), .parts-summary strong { font-family: Consolas, "Courier New", monospace; }
.inventory-sheet .stock-table :is(th,td):nth-last-child(-n+2) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inventory-sheet .stock-table tbody tr:hover { background: #f4f7fa; }
.admin-table tbody tr:hover { background: #f3f5ee; }
.enquiry-layout .sheet-block, .account-panel, .admin-panel {
  min-width: 0;
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  padding: 16px 0 8px;
  background: transparent;
}
.business-contact .sheet-block {
  min-width: 0;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  padding: clamp(18px, 2.65vw, 36px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(21, 37, 54, .055);
}
.business-contact .sheet-block > h2 { padding-bottom: 15px; border-bottom: 1px solid #dce4ec; }
.business-contact .fields-two { gap: 12px 17px; }
.business-contact .sheet-block > .actions { padding-top: 4px; }
.enquiry-layout { gap: clamp(22px, 5vw, 76px); }
.enquiry-layout > .form-stack { gap: 25px; min-width: 0; }
.enquiry-layout form.form-stack, .business-contact form.form-stack, .aligned-checkout .form-stack { gap: 16px; }
.enquiry-layout .sheet-block > h2 { margin: 0; }
.enquiry-layout .sheet-block > p { margin-top: 10px; }
.enquiry-layout h2 + .quote-lines { margin-top: 14px; }
.sheet-summary ol { padding-left: 19px; margin: 14px 0 20px; }
.sheet-summary ol li { margin-block: 8px; color: var(--muted); line-height: 1.65; }
.sheet-summary .actions { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
.parts-summary { margin: 14px 0; padding: 0; list-style: none; }
.parts-summary li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.parts-summary strong { overflow-wrap: anywhere; }
.parts-summary span, .summary-total { font-variant-numeric: tabular-nums; }
.sheet-block .field, .account-form .field, .aligned-checkout .field { gap: 7px; font-size: .9rem; }
.sheet-block :is(input,textarea), .account-form .field input, .aligned-checkout .field :is(input,textarea) {
  border-radius: 4px;
  border-color: #bccbd8;
}
.admin-area .field :is(input,select,textarea) {
  border-radius: 3px;
  border-color: #adbdb6;
}
.sheet-block input[readonly], .aligned-checkout input[readonly] { background: #f4f7fa; }
.sheet-block .request-delivery-note, .aligned-checkout .request-delivery-note { margin: 0; color: var(--muted); }
.request-delivery-note a { color: #174fb6; }
.sheet-block .actions { margin: 0; }
.question-sheet .faq { gap: 0; max-width: none; border-top: 2px solid var(--navy); }
.question-sheet details { border: 0; border-bottom: 1px solid var(--line); padding: 0; border-radius: 0; }
.question-sheet summary { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 17px 0; font-size: 1.03rem; font-weight: 600; list-style: none; }
.question-sheet summary::-webkit-details-marker { display: none; }
.question-sheet summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.question-sheet details[open] summary::after { content: "−"; }
.question-sheet details p { margin: 0 0 18px; line-height: 1.8; }
.account-layout { max-width: none; gap: clamp(24px, 6vw, 90px); }
.account-switch { margin-top: 2px; }
.admin-area { --accent-soft: #e6eee7; }
.admin-area .admin-tabs { gap: 14px; padding: 0; }
.admin-tabs button { border: 0; border-radius: 0; border-bottom: 2px solid transparent; background: transparent; }
.admin-tabs button[aria-pressed="true"], .admin-tabs button:hover { background: transparent; border-bottom-color: var(--teal); }
.admin-table-scroll, .admin-inquiry, .admin-photo, .admin-empty, .admin-status { border-radius: 2px; }
.admin-table-scroll { border-inline: 0; }
.admin-table thead th { background: #eef1e9; }
.admin-table td { font-variant-numeric: tabular-nums; }
.admin-gate { padding-top: 20px; }
.aligned-cart-grid .cart-table { border-inline: 0; border-top: 2px solid var(--navy); }
.aligned-cart-grid .cart-table thead { background: #eef1e9; }
.aligned-checkout .cart-empty-notice, .cart-empty-notice { background: #f0f3ec; }
.document-head + .prose h2 { padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.25rem; }
.document-head + .prose p { line-height: 1.85; }

@media (max-width: 810px) {
  .company-profile, .business-contact, .question-sheet, .enquiry-layout, .account-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .company-profile-main { max-width: 46.5rem; }
  .company-profile .office-sheet { max-width: 33rem; }
  .brand-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .document-head > .wrap, .account-heading > .wrap { padding-block: 14px 23px; }
  .document-crumb, .account-breadcrumb { margin-bottom: 16px; }
  .document-head p { margin-top: 9px; font-size: .95rem; }
  .reading-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 18px; }
  .office-sheet, .enquiry-layout .sheet-summary, .account-help { padding: 18px; }
  .business-contact .sheet-block { padding: 16px; }
  .profile-links { gap: 5px 16px; }
  .brand-group { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .brand-group ul, .sheet-block .fields-two { grid-template-columns: minmax(0, 1fr); }
  .inventory-sheet .stock-table :is(th,td) { padding: 10px 11px; }
}
