:root {
  --navy: #102c40;
  --ink: #163449;
  --muted: #647783;
  --ocean: #087d83;
  --orange: #c95019;
  --orange-light: #f7e4d8;
  --bg: #f4f6f7;
  --line: #dce4e7;
  --white: #fff;
  --danger: #b42b2b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a,
button,
input,
textarea,
select {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ocean);
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -1px;
}
h2 {
  font-size: 25px;
  line-height: 1.4;
}
h3 {
  font-size: 19px;
  line-height: 1.4;
}
small {
  font-size: 12px;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 36px;
}
.utility {
  background: var(--navy);
  color: #d4e4eb;
  font-size: 11px;
  padding: 7px 0;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.main-header {
  background: white;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 23px;
  padding-bottom: 23px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 25px;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.4px;
  margin-top: 9px;
}
.header-search {
  margin-left: auto;
  display: flex;
  max-width: 540px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.header-search input {
  border: 0;
  min-width: 0;
  flex: 1;
  padding: 12px 15px;
  background: #f9fafb;
}
.header-search button {
  border: 0;
  background: var(--navy);
  color: white;
  padding: 0 24px;
}
.language {
  background: none;
  border: 0;
  font-size: 13px;
  min-height: 44px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--orange);
  color: white;
  border: 1px solid var(--orange);
  padding: 12px 23px;
  border-radius: 4px;
  font-weight: 600;
  min-height: 46px;
  font-size: 14px;
}
.button:hover {
  background: #a84012;
  border-color: #a84012;
}
.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}
.button.dark {
  background: var(--navy);
  border-color: var(--navy);
}
.button.compact {
  padding: 9px 16px;
  white-space: nowrap;
}
.main-nav {
  background: white;
  border-top: 1px solid #edf1f3;
  border-bottom: 1px solid var(--line);
}
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 52px;
}
.main-nav a {
  padding: 14px 0;
  font-size: 13px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav a.active {
  color: var(--ocean);
  border-bottom-color: var(--ocean);
  font-weight: 600;
}
.nav-spacer {
  flex: 1;
}
main {
  min-height: 65vh;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 700;
}
.hero {
  position: relative;
  overflow: hidden;
  background: #13354b;
  color: white;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 460px;
  position: relative;
}
.hero-copy {
  padding: 56px 0;
  max-width: 580px;
  z-index: 2;
}
.hero .eyebrow {
  color: #85c8c8;
}
.hero h1 {
  font-size: 49px;
  margin: 18px 0 22px;
  line-height: 1.24;
  max-width: 530px;
}
.hero p {
  color: #c0d4df;
  max-width: 480px;
  font-size: 16px;
  margin-bottom: 30px;
}
.hero-art {
  position: absolute;
  width: 58%;
  height: 100%;
  right: -4%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero .secondary {
  background: transparent;
  color: white;
  border-color: #6a8c9e;
}
.hero-caption {
  position: absolute;
  bottom: 25px;
  right: 40px;
  color: #8caab9;
  letter-spacing: 3px;
  font-size: 10px;
}
.hero-rule {
  margin-top: 34px;
  display: flex;
  gap: 20px;
  color: #a9c6d2;
  font-size: 11px;
  letter-spacing: 1px;
}
.hero-rule span + span {
  border-left: 1px solid #557383;
  padding-left: 20px;
}
.section {
  padding: 45px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0 0 5px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.text-link {
  color: var(--ocean);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  position: relative;
  min-height: 156px;
  transition: 150ms;
}
.category-card:hover {
  border-color: var(--ocean);
  transform: translateY(-2px);
}
.category-card svg {
  width: 35px;
  height: 35px;
  stroke: var(--ocean);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 13px;
}
.category-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.category-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  max-width: 210px;
}
.category-card .arrow {
  position: absolute;
  right: 20px;
  top: 28px;
  color: #91a9b4;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 150ms;
}
.product-card:hover {
  border-color: #79adb1;
}
.card-image {
  height: 180px;
  position: relative;
  background: #e9eff1;
  display: block;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffffeb;
  padding: 3px 8px;
  font-size: 10px;
  border-radius: 2px;
}
.card-content {
  padding: 17px 17px 0;
}
.card-cert {
  display: flex;
  gap: 5px;
  margin-bottom: 9px;
}
.badge {
  display: inline-flex;
  align-items: center;
  background: #eaf4f1;
  border: 1px solid #cfdfd8;
  color: #17644c;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.card-title {
  display: block;
  font-size: 15px;
  font-weight: 650;
  min-height: 48px;
  line-height: 1.5;
}
.card-supplier {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-price {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
}
.card-price small {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e9eef0;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.card-bottom a {
  padding: 10px 4px 10px 15px;
  color: var(--ocean);
  font-size: 22px;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}
.trust-strip {
  background: white;
  border-block: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 30px;
}
.trust-item {
  display: flex;
  gap: 17px;
  align-items: center;
}
.trust-symbol {
  font-size: 24px;
  font-weight: 500;
  color: var(--ocean);
  border: 1px solid #c6d9db;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-item h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.trust-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.quote-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-left: 4px solid var(--ocean);
  background: #e5eff0;
  padding: 28px 32px;
}
.quote-banner h2 {
  font-size: 23px;
  margin: 0 0 6px;
}
.quote-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
footer {
  background: var(--navy);
  color: #c1d0d8;
  margin-top: 35px;
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  font-size: 24px;
  letter-spacing: 2px;
  color: white;
  font-weight: 750;
}
.footer-brand span {
  font-size: 13px;
  margin-left: 15px;
  font-weight: 400;
}
.footer-grid p {
  font-size: 12px;
  margin-top: 10px;
}
.footer-grid h4 {
  color: white;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer-grid > div > a:not(.footer-brand) {
  display: block;
  font-size: 12px;
  margin: 6px 0;
}
.footer-bottom {
  border-top: 1px solid #355164;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 30px;
  padding-top: 20px;
  gap: 20px;
}
.page-intro {
  padding: 32px 0 24px;
}
.page-intro h1 {
  font-size: 31px;
  margin-bottom: 10px;
}
.page-intro p {
  color: var(--muted);
  margin: 0;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 25px 0 17px;
}
.breadcrumb a {
  color: var(--ocean);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 25px;
}
.filters {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 21px;
  height: fit-content;
}
.filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.filter-top h3 {
  font-size: 15px;
  margin: 0;
}
.link-button {
  border: 0;
  background: none;
  color: var(--ocean);
  padding: 5px;
  font-size: 12px;
  min-height: 40px;
}
.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child {
  border: 0;
  padding-bottom: 0;
}
.filter-group h4 {
  font-size: 13px;
  margin: 0 0 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 12px;
  cursor: pointer;
}
.check input {
  accent-color: var(--ocean);
  width: 16px;
  height: 16px;
}
.filter-group select {
  width: 100%;
  padding: 8px;
  font-size: 12px;
}
.range {
  display: flex;
  gap: 7px;
}
.range input {
  min-width: 0;
  width: 50%;
  font-size: 12px;
  padding: 8px;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  padding: 13px 17px;
  border-radius: 4px;
  margin-bottom: 20px;
  gap: 12px;
}
.catalog-toolbar select {
  font-size: 12px;
  padding: 8px;
}
.catalog-layout .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.count {
  color: var(--muted);
  font-size: 12px;
}
.count b {
  font-size: 17px;
  color: var(--ink);
  margin-right: 5px;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 30px 0;
}
.pagination button {
  padding: 9px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 3px;
}
.pagination button.active {
  background: var(--navy);
  color: white;
}
.empty {
  text-align: center;
  padding: 70px 20px;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 5px;
  width: 100%;
}
.empty-icon {
  color: var(--ocean);
  font-size: 40px;
}
.empty h2 {
  font-size: 22px;
}
.empty p {
  color: var(--muted);
}
.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.gallery-main {
  background: #e6eef0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1.36;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.thumbnails button {
  border: 1px solid var(--line);
  padding: 0;
  background: white;
  border-radius: 3px;
  width: 88px;
  overflow: hidden;
}
.thumbnails button.selected {
  border: 2px solid var(--ocean);
}
.detail-info h1 {
  font-size: 30px;
  margin: 12px 0 18px;
}
.price-panel {
  background: #edf3f4;
  padding: 22px;
  margin: 23px 0;
  border-radius: 4px;
}
.price-panel .price {
  font-size: 32px;
  color: var(--navy);
  font-weight: 750;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.detail-trade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 23px 0;
}
.detail-trade small {
  display: block;
  color: var(--muted);
}
.detail-trade strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}
.full-width {
  width: 100%;
}
.detail-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 25px;
  margin-top: 32px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 26px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.param-table th,
.param-table td {
  text-align: left;
  border-bottom: 1px solid #e8eef0;
  padding: 12px 15px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.param-table th {
  background: #f7f9fa;
  font-weight: 400;
  color: var(--muted);
  width: 40%;
}
.cert-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cert-button {
  background: #f4faf7;
  border: 1px solid #cdddce;
  padding: 12px 16px;
  border-radius: 4px;
  color: #17644c;
  text-align: left;
}
.cert-button small {
  display: block;
  margin-top: 5px;
}
.compliance-panel {
  background: #fffaf2;
  border-color: #e6cfa8;
}
.warning {
  background: #f9e9d3;
  color: #845019;
  padding: 13px 16px;
  border-radius: 4px;
  margin-bottom: 17px;
  font-size: 13px;
}
.supplier-card .supplier-mark {
  width: 52px;
  height: 52px;
  background: #e5eff0;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--ocean);
  border-radius: 5px;
  margin-bottom: 17px;
}
.supplier-card p {
  font-size: 13px;
  color: var(--muted);
}
.supplier-card h3 {
  font-size: 19px;
}
.supplier-card .button {
  margin-top: 15px;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 27px;
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 8px;
}
.field label b {
  color: var(--danger);
}
input,
select,
textarea {
  border: 1px solid #cbd8df;
  background: white;
  color: var(--ink);
  border-radius: 4px;
  padding: 10px 12px;
  min-height: 44px;
  max-width: 100%;
}
.field input,
.field select,
.field textarea {
  width: 100%;
}
textarea {
  min-height: 115px;
  resize: vertical;
}
.error {
  display: block;
  min-height: 17px;
  color: var(--danger);
  margin-top: 4px;
  font-size: 12px;
}
.invalid {
  border-color: var(--danger);
  background: #fffafa;
}
.form-note {
  padding: 18px 20px;
  background: #eaf2f3;
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
}
.form-note h3 {
  font-size: 14px;
  color: var(--ink);
}
.form-note p:last-child {
  margin: 0;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 25px;
}
.steps span {
  border-left: 2px solid var(--ocean);
  padding-left: 12px;
  font-size: 13px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 5px 0 25px;
}
.upload {
  display: block;
  border: 1px dashed #a9c3ce;
  border-radius: 4px;
  background: #f7fafb;
  padding: 20px;
  text-align: center;
}
.upload input {
  max-width: 100%;
  background: white;
}
.previews {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.preview {
  position: relative;
  width: 100px;
}
.preview img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 3px;
}
.preview small {
  display: block;
  font-size: 10px;
}
.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 1fr 44px;
  gap: 12px;
  margin-bottom: 12px;
}
.dynamic-row.cert {
  grid-template-columns: 100px 1fr 1fr 44px;
}
.remove {
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
  color: var(--danger);
  min-height: 44px;
  font-size: 22px;
}
.context {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #e9f1f3;
  border: 1px solid #d2e1e6;
  border-radius: 5px;
  padding: 17px;
  margin-bottom: 25px;
}
.context img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 3px;
}
.context h3 {
  font-size: 18px;
  margin: 6px 0;
}
.context p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.context-symbol {
  font-size: 35px;
  color: var(--ocean);
  padding: 10px;
}
.file-item {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.file-item small {
  display: block;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: 7px;
  max-width: 620px;
  width: calc(100% - 32px);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 20px 90px #102c4040;
}
dialog::backdrop {
  background: #09233499;
}
.modal-body {
  padding: 35px;
}
.modal-body p {
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.success-icon {
  color: var(--ocean);
  background: #e7f3ef;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 20px;
}
.inbox-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}
.metrics {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 18px 24px;
  border-radius: 4px;
  min-width: 160px;
}
.metric strong {
  font-size: 28px;
  color: var(--ocean);
  display: block;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.inquiry-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 180px 100px;
  gap: 22px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 12px;
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.inquiry-item img {
  width: 80px;
  height: 66px;
  object-fit: cover;
  border-radius: 3px;
}
.inquiry-item h3 {
  font-size: 16px;
  margin: 0 0 4px;
}
.inquiry-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.status {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 3px;
  display: inline-flex;
  white-space: nowrap;
}
.status.submitted {
  color: #9a4b16;
  background: #ffefdc;
}
.status.viewed {
  color: #536a78;
  background: #eef2f5;
}
.status.replied {
  color: #11684b;
  background: #e4f4eb;
}
.drawer {
  margin-right: 0;
  height: 100vh;
  max-height: 100vh;
  width: min(640px, 100%);
  max-width: none;
  border-radius: 0;
  padding: 28px;
  overflow: auto;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.drawer-header h2 {
  margin: 0;
}
.reply-block {
  padding: 15px;
  background: #edf7f2;
  border-left: 3px solid var(--ocean);
  margin: 20px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 10px;
  z-index: 10;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.mobile-filter-button {
  display: none;
}
.supplier-list .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.section-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ocean);
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-tag:before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--ocean);
}
@media (min-width: 1450px) {
  .hero .container {
    min-height: 500px;
  }
}
@media (max-width: 1000px) {
  .container {
    padding-inline: 24px;
  }
  .header-row {
    gap: 16px;
  }
  .brand {
    font-size: 21px;
  }
  .header-search {
    max-width: 350px;
  }
  .main-nav .container {
    gap: 24px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-art {
    right: -18%;
    width: 80%;
    opacity: 0.55;
  }
  .hero-copy {
    max-width: 510px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
  }
  .catalog-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-grid {
    gap: 15px;
  }
  .trust-item {
    gap: 10px;
  }
  .detail-bottom {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .detail-top {
    gap: 25px;
  }
  .detail-info h1 {
    font-size: 25px;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .inquiry-item {
    grid-template-columns: 70px minmax(0, 1fr) 140px 80px;
    gap: 15px;
  }
  .dynamic-row.cert {
    grid-template-columns: 80px 1fr 44px;
  }
  .dynamic-row.cert .cert-file {
    grid-column: 1/3;
  }
  .dynamic-row.cert .remove {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 14px;
  }
  .container {
    padding-inline: 18px;
  }
  .utility .container > span:first-child {
    display: none;
  }
  .utility {
    font-size: 9px;
  }
  .header-row {
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
    margin-right: auto;
  }
  .brand small {
    font-size: 8px;
  }
  .brand svg {
    width: 30px;
  }
  .language {
    font-size: 12px;
  }
  .header-row > .button {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 40px;
  }
  .header-search {
    order: 4;
    max-width: none;
    flex-basis: 100%;
    margin: 0;
  }
  .header-search input {
    font-size: 13px;
  }
  .header-search button {
    font-size: 13px;
    padding: 0 17px;
  }
  .main-nav .container {
    overflow-x: auto;
    gap: 24px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .nav-spacer {
    display: none;
  }
  .hero .container {
    min-height: 475px;
    display: block;
  }
  .hero-copy {
    padding: 42px 0 60px;
  }
  .hero h1 {
    font-size: 37px;
    max-width: 310px;
  }
  .hero p {
    font-size: 14px;
    max-width: 320px;
    color: #d0dfe6;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .hero-art {
    width: 125%;
    right: -50%;
    opacity: 0.3;
  }
  .hero-caption {
    right: 18px;
    font-size: 8px;
  }
  .hero-rule {
    font-size: 9px;
    gap: 10px;
  }
  .hero-rule span + span {
    padding-left: 10px;
  }
  .section {
    padding-block: 30px;
  }
  .section-head {
    align-items: start;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head p {
    font-size: 12px;
  }
  .text-link {
    font-size: 11px;
  }
  .category-grid {
    gap: 10px;
  }
  .category-card {
    padding: 17px;
    min-height: 150px;
  }
  .category-card h3 {
    font-size: 15px;
  }
  .category-card p {
    font-size: 11px;
  }
  .category-card .arrow {
    right: 15px;
    top: 20px;
  }
  .product-grid,
  .catalog-layout .product-grid,
  .supplier-list .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-image {
    height: 130px;
  }
  .card-content {
    padding: 13px 12px 0;
  }
  .card-title {
    font-size: 13px;
    min-height: 59px;
  }
  .card-price {
    font-size: 18px;
  }
  .card-price small {
    display: block;
    font-size: 10px;
  }
  .card-supplier {
    font-size: 10px;
  }
  .image-label {
    font-size: 8px;
    top: 8px;
    left: 8px;
    padding: 2px 5px;
  }
  .badge {
    font-size: 9px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 25px;
  }
  .quote-banner {
    padding: 22px;
    display: block;
  }
  .quote-banner h2 {
    font-size: 20px;
  }
  .quote-banner .button {
    margin-top: 18px;
  }
  .quote-banner p {
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }
  .page-intro h1 {
    font-size: 27px;
  }
  .page-intro {
    padding-top: 25px;
  }
  .page-intro p {
    font-size: 13px;
  }
  .catalog-layout {
    display: block;
  }
  .filters {
    margin-bottom: 20px;
  }
  .mobile-filter-button {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }
  .filters:not(.open) {
    display: none;
  }
  .catalog-toolbar {
    padding: 10px 12px;
  }
  .catalog-toolbar select {
    max-width: 170px;
    font-size: 11px;
  }
  .detail-top,
  .detail-bottom,
  .form-layout {
    grid-template-columns: 1fr;
  }
  .detail-top {
    gap: 20px;
  }
  .detail-info h1 {
    font-size: 27px;
  }
  .detail-trade {
    gap: 10px;
  }
  .detail-trade strong {
    font-size: 13px;
  }
  .detail-bottom {
    margin-top: 20px;
    gap: 0;
  }
  .panel {
    padding: 20px;
    margin-bottom: 17px;
  }
  .param-table th,
  .param-table td {
    padding: 10px;
    font-size: 12px;
  }
  .form-aside {
    order: -1;
  }
  .steps {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .steps span {
    font-size: 11px;
    padding-left: 8px;
  }
  .form-aside .form-note {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .field.full {
    grid-column: auto;
  }
  .context {
    padding: 13px;
    gap: 12px;
  }
  .context img {
    width: 80px;
    height: 75px;
  }
  .context h3 {
    font-size: 16px;
  }
  .context .eyebrow {
    font-size: 9px;
  }
  .form-actions {
    justify-content: stretch;
  }
  .form-actions .button {
    flex: 1;
    font-size: 12px;
    padding-inline: 10px;
  }
  .inbox-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    min-width: 0;
    flex: 1;
    padding: 15px 20px;
  }
  .inquiry-item {
    grid-template-columns: 55px minmax(0, 1fr) 70px;
    gap: 12px;
    padding: 15px;
  }
  .inquiry-item img {
    width: 55px;
    height: 55px;
  }
  .inquiry-item h3 {
    font-size: 14px;
  }
  .inquiry-item .inquiry-meta {
    grid-column: 2;
    grid-row: 2;
  }
  .inquiry-item .status-cell {
    grid-column: 3;
    grid-row: 1;
  }
  .drawer {
    padding: 18px;
  }
  .modal-body {
    padding: 25px;
  }
  .dynamic-row {
    grid-template-columns: 1fr 1fr 40px;
    gap: 7px;
  }
  .dynamic-row input {
    font-size: 12px;
    padding: 9px;
  }
  .section-tag {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.hero h1 {
  white-space: pre-line;
}
.section.container {
  padding-inline: 36px;
}
@media (max-width: 1000px) {
  .section.container {
    padding-inline: 24px;
  }
}
@media (max-width: 700px) {
  .section.container {
    padding-inline: 18px;
  }
}
/* Account and supplier profile surfaces */
.supplier-information {
  border-top: 3px solid var(--teal, #267b87);
}
.supplier-information .section-head {
  align-items: flex-start;
  margin-bottom: 12px;
}
.identity-strip {
  padding: 13px 16px;
  background: #edf6f6;
  border-left: 3px solid #287c86;
  margin: 16px 0;
  color: #183447;
}
.auth-container {
  max-width: 1100px;
  padding-bottom: 65px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  gap: 30px;
  align-items: start;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #d9e3e9;
  margin-bottom: 28px;
  gap: 20px;
}
.auth-tabs button {
  background: none;
  border: 0;
  padding: 13px 20px;
  cursor: pointer;
  font: inherit;
  color: #426071;
  border-bottom: 3px solid transparent;
}
.auth-tabs button.selected {
  color: #176876;
  border-bottom-color: #176876;
  font-weight: 700;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.check-label input,
.category-checks input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.category-checks {
  border: 1px solid #d9e3e9;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.category-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-checks legend {
  padding: 0 5px;
  font-weight: 600;
}
.auth-extras,
.oauth-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}
.auth-extras + .muted {
  font-size: 13px;
}
.oauth-buttons {
  justify-content: flex-start;
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.account-nav > a {
  font-size: 13px;
}
.account-menu {
  position: relative;
}
.account-menu summary {
  cursor: pointer;
  padding: 10px;
  font-size: 14px;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.account-menu summary small {
  display: block;
  color: #637989;
  font-size: 11px;
}
.account-menu > div {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 220px;
  max-width: 280px;
  background: white;
  padding: 15px;
  box-shadow: 0 8px 35px #18344722;
  z-index: 40;
  border: 1px solid #d9e3e9;
}
.account-menu > div > a,
.account-menu > div > button {
  display: block;
  padding: 8px 0;
  font-size: 14px;
}
.company-container {
  max-width: 1100px;
  padding-bottom: 65px;
}
.company-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}
.company-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #e6f0f2;
  color: #1d6672;
  font-size: 30px;
  font-weight: 700;
}
.company-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.company-container h3 {
  margin: 25px 0 12px;
}
.previews figure {
  margin: 0;
  max-width: 160px;
  overflow-wrap: anywhere;
}
.previews figure img {
  width: 140px;
  height: 100px;
  object-fit: cover;
}
.previews figcaption {
  font-size: 12px;
  margin-top: 7px;
}
.company-cert {
  margin: 16px 0;
}
@media (max-width: 850px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .main-nav .container {
    flex-wrap: wrap;
  }
  .account-nav {
    margin-left: 0;
    flex-wrap: wrap;
    width: 100%;
  }
  .company-heading {
    flex-wrap: wrap;
  }
  .company-actions {
    margin-left: 0;
  }
  .supplier-information .section-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  .company-cert {
    grid-template-columns: 1fr;
  }
  .account-menu > div {
    right: auto;
    left: 0;
  }
  .company-heading h2 {
    overflow-wrap: anywhere;
  }
  .company-container > .form-actions {
    flex-wrap: wrap;
  }
}
/* Marine workflow refinement: navy identity, quiet fields, clear actions. */
input:focus, select:focus, textarea:focus { outline: 3px solid #087d8320; border-color: var(--ocean); }
.field .error:empty { display: none; }
.field input, .field select, .field textarea { transition: border-color .15s, box-shadow .15s; }
body[data-page="buyer-auth"] .page-intro,
body[data-page="supplier-auth"] .page-intro { margin: 26px 0 22px; }
.auth-container { max-width: 1130px; }
.auth-layout { grid-template-columns: minmax(260px, .85fr) minmax(0, 1.3fr); gap: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px #102c400a; border: 1px solid var(--line); background: white; }
.auth-panel { grid-column: 2; grid-row: 1; border: 0; border-radius: 0; margin: 0; padding: 30px 36px; }
.auth-story { grid-column: 1; grid-row: 1; background: var(--navy); color: #d7e7ed; padding: 42px 32px; align-self: stretch; }
.auth-story .eyebrow { color: #7dd4cf; font-size: 10px; letter-spacing: 1.7px; }
.auth-story h2 { font-size: 30px; line-height: 1.35; color: white; margin: 35px 0 18px; letter-spacing: -.6px; }
.auth-story p { font-size: 14px; line-height: 1.9; }
.auth-story ul { list-style: none; padding: 0; margin: 30px 0; font-size: 13px; }
.auth-story li { border-top: 1px solid #ffffff20; padding: 16px 0; }
.auth-story li::before { content: '↗'; color: #7dd4cf; margin-right: 10px; }
.auth-demo-note { border-top: 1px solid #ffffff20; padding-top: 20px; font-size: 12px; color: #9db7c4; }
.marine-route { display: flex; align-items: center; margin-top: 40px; }
.marine-route span { width: 12px; height: 12px; border: 2px solid #7dd4cf; border-radius: 50%; }
.marine-route span:last-child { background: #7dd4cf; }
.marine-route i { border-top: 1px dashed #7dd4cf80; flex: 1; }
.auth-tabs { margin-bottom: 18px; gap: 4px; }
.auth-tabs button { flex: 1; padding: 10px 18px; }
.auth-tabs button.selected { background: #eff7f7; border-radius: 6px 6px 0 0; }
.auth-panel .form-grid { gap: 16px 18px; }
.form-required { color: var(--muted); font-size: 11px; margin: 0 0 14px; }
.auth-group-title { grid-column: 1/-1; font-size: 13px; margin: 6px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.auth-panel .check-label { display: flex; font-weight: 400; margin-bottom: 8px; }
.check-label input, .category-checks input { min-height: 18px; accent-color: var(--ocean); }
.password-control { display: flex; position: relative; }
.password-control input { padding-right: 62px; }
.password-control button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 8px; background: white; border: 0; color: var(--ocean); font-size: 12px; border-radius: 3px; }
.input-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.auth-return { font-size: 12px; padding: 10px 12px; background: #eff7f7; border-left: 3px solid var(--ocean); }
.auth-panel .full-width { margin-top: 12px; min-height: 46px; }
.auth-panel .oauth-buttons { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 0; }
.auth-panel .oauth-buttons .button { flex: 1; font-size: 12px; }
.demo-register-link { display: block; font-size: 12px; margin-top: 18px; }
body[data-page="publish"] .form-layout { grid-template-columns: minmax(0, 1fr) 250px; }
body[data-page="publish"] .panel, .company-container .panel { border-radius: 8px; box-shadow: 0 3px 14px #102c4003; }
body[data-page="publish"] .panel { scroll-margin-top: 24px; }
body[data-page="publish"] .form-aside { position: sticky; top: 24px; }
.steps { gap: 5px; }
.steps a { display: block; padding: 12px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13px; border-radius: 0 5px 5px 0; }
.steps a:hover, .steps a.active { color: var(--ocean); background: #e9f3f4; border-left-color: var(--ocean); }
.steps a.active { font-weight: 650; }
.publish-actions, #company-form > .form-actions { position: sticky; bottom: 0; z-index: 5; background: #fffffff5; border: 1px solid var(--line); border-radius: 8px 8px 0 0; padding: 14px 18px; box-shadow: 0 -6px 24px #102c4008; align-items: center; }
.save-state { margin-right: auto; min-width: 0; }
.save-state strong { display: block; font-size: 12px; color: var(--ocean); font-weight: 550; }
.save-state small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.company-heading { border-top: 3px solid var(--ocean); }
.company-container .param-table th { width: 24%; }
@media(max-width: 850px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-panel { grid-column: 1; padding: 24px; }
  .auth-story { display: none; }
  body[data-page="publish"] .form-layout { grid-template-columns: 1fr; }
  body[data-page="publish"] .form-aside { position: static; order: -1; }
  body[data-page="publish"] .form-aside > .form-note, body[data-page="publish"] .form-aside > a { display: none !important; }
  .steps { flex-direction: row; flex-wrap: wrap; margin-bottom: 0; }
  .steps a { padding: 8px 10px; font-size: 12px; border-left: 0; border-bottom: 2px solid var(--line); border-radius: 4px 4px 0 0; }
  .steps a.active { border-bottom-color: var(--ocean); }
  .publish-actions { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .save-state { flex: 0 0 100%; }
  .save-state small { display: none; }
}
@media(max-width: 540px) {
  .auth-panel { padding: 20px; }
  .auth-container { padding-bottom: 30px; }
  .auth-panel .form-grid { grid-template-columns: 1fr; }
  .auth-group-title { grid-column: 1; }
  .company-container .param-table th { width: 34%; }
}
@media(prefers-reduced-motion: reduce) { input, select, textarea { transition: none; } }
.auth-identities { display: inline-flex; padding: 4px; gap: 4px; background: #e7edf0; border-radius: 6px; margin-top: 8px; }
.auth-identities a { font-size: 12px; padding: 7px 18px; color: var(--muted); border-radius: 4px; }
.auth-identities a.active { background: white; color: var(--ocean); box-shadow: 0 1px 4px #102c4010; font-weight: 650; }
body[data-page="buyer-auth"] .page-intro,
body[data-page="supplier-auth"] .page-intro { padding: 0; margin: 24px 0; }
.auth-panel button.text-link { background: none; border: 0; padding: 0; text-align: left; font: inherit; font-size: 12px; color: var(--ocean); }
.auth-panel button.text-link:hover { text-decoration: underline; }
.auth-panel #auth-error:empty { display: none; }

/* Role-specific actions are removed from layout as well as accessibility. */
[hidden] { display: none !important; }
.buyer-inquiries { padding-bottom: 45px; }
.buyer-inquiry-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.buyer-inquiries .inquiry-item:hover { border-color: var(--ocean); box-shadow: 0 3px 16px #102c4008; }
.buyer-inquiries .inquiry-item h3, .buyer-inquiries .inquiry-item p { overflow-wrap: anywhere; }
.buyer-inquiry-context { margin-top: 18px; }
#buyer-inquiry-drawer .param-table td { overflow-wrap: anywhere; }
#buyer-inquiry-drawer .drawer-header { gap: 12px; }
#buyer-inquiry-drawer .drawer-header h2 { font-size: 21px; }
#buyer-inquiry-drawer .drawer-header button { flex-shrink: 0; }
.inquiry-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.buyer-reply { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 8px; }
.waiting-reply { background: #f1f6f7; padding: 16px; border-left: 3px solid var(--ocean); color: var(--muted); }
@media(max-width: 768px) {
  .buyer-inquiry-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; }
  .buyer-inquiry-toolbar > a { grid-column: 1/-1; }
  .buyer-inquiries .inquiry-item { grid-template-columns: 55px minmax(0, 1fr) 70px; gap: 12px; padding: 15px; }
  .buyer-inquiries .inquiry-item img { width: 55px; height: 55px; }
  .buyer-inquiries .inquiry-item .inquiry-meta { grid-column: 2/-1; grid-row: 2; }
  .buyer-inquiries .inquiry-item .status-cell { grid-column: 3; grid-row: 1; }
}

/* Site-localized form controls, independent of the browser's UI language. */
.localized-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  min-height: 46px;
  border: 1px solid #cbd8df;
  border-radius: 4px;
  background: white;
  text-align: left;
}
.file-select-button {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid #cbd8df;
  border-radius: 3px;
  background: #edf4f5;
  color: var(--ink);
  font-weight: 600;
}
.file-select-button:hover { background: #dfeef0; }
.file-selection-status {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.localized-date { position: relative; }
.localized-date > input { width: 100%; padding-right: 48px; }
.date-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-left: 1px solid #e0e8ec;
  border-radius: 0 3px 3px 0;
}
.date-toggle:hover { background: #edf4f5; }
.date-calendar {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  width: 300px;
  max-width: calc(100vw - 40px);
  padding: 12px;
  border: 1px solid #cbd8df;
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 32px #102d4026;
}
.date-calendar[hidden] { display: none; }
.calendar-above .date-calendar { top: auto; bottom: calc(100% + 6px); }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.calendar-header strong { font-size: 14px; }
.date-calendar button { border: 0; border-radius: 4px; background: transparent; color: var(--ink); min-height: 34px; }
.calendar-header button { width: 34px; font-size: 24px; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.calendar-weekdays { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.calendar-days button { font-size: 13px; }
.date-calendar button:hover { background: #eaf2f3; }
.calendar-days button[aria-current="date"] { box-shadow: inset 0 0 0 1px #00818b; }
.calendar-days button[aria-pressed="true"] { background: var(--ink); color: white; }
.calendar-footer { display: flex; justify-content: space-between; border-top: 1px solid #e0e8ec; margin-top: 10px; padding-top: 6px; }
.calendar-footer button { padding: 4px 10px; color: #007d87; font-size: 12px; }

/* Multi-industry B2B portal */
.industry-nav { background: white; border-bottom: 1px solid var(--line); }
.industry-nav .container { display: flex; align-items: center; gap: 24px; min-height: 46px; overflow-x: auto; }
.industry-nav a { flex-shrink: 0; font-size: 13px; padding: 14px 0; }
.industry-nav a:hover { color: var(--ocean); }
.industry-nav .industry-nav-all { font-weight: 700; padding-right: 20px; border-right: 1px solid var(--line); }
.platform-home { padding-top: 22px; padding-bottom: 30px; }
.portal-top { display: grid; grid-template-columns: 240px minmax(0,1fr) 248px; gap: 16px; align-items: stretch; }
.industry-directory { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.industry-directory h2 { font-size: 15px; padding: 16px; margin: 0; border-bottom: 1px solid var(--line); }
.industry-directory > a { display: flex; gap: 10px; padding: 12px 14px; align-items: center; min-height: 56px; }
.industry-directory > a:hover { background: #edf5f6; }
.industry-directory > a + a { border-top: 1px solid #f0f3f5; }
.industry-directory svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--ocean); }
.industry-directory > a > span { font-size: 13px; line-height: 1.5; font-weight: 600; min-width: 0; }
.industry-directory a small span { font-size: inherit; font-weight: inherit; }
.industry-directory a small { display: block; font-size: 10px; line-height: 1.5; color: var(--muted); font-weight: 400; margin-top: 3px; }
.industry-directory b { margin-left: auto; color: var(--muted); }
.portal-center { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.portal-banner { position: relative; overflow: hidden; flex: 1; padding: 28px; background: #e7eff3; border: 1px solid #d5e2e8; border-radius: 6px; }
.portal-banner .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
.portal-banner h1 { font-size: clamp(25px,2.5vw,36px); line-height: 1.3; letter-spacing: -.7px; white-space: pre-line; margin: 14px 0; position: relative; z-index: 1; }
.portal-banner p { color: #405e70; font-size: 13px; max-width: 90%; position: relative; z-index: 1; }
.portal-search { position: relative; z-index: 1; display: flex; margin-top: 22px; border: 1px solid #8caebb; border-radius: 4px; overflow: hidden; background: white; }
.portal-search input { width: 100%; min-width: 0; border: 0; border-radius: 0; font-size: 13px; }
.portal-search button { flex-shrink: 0; white-space: nowrap; padding: 0 20px; background: var(--navy); color: white; border: 0; font-weight: 600; }
.hot-search { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; font-size: 11px; }
.hot-search span { color: var(--muted); }
.hot-search a { text-decoration: underline; text-underline-offset: 3px; }
.portal-art { position: absolute; right: -35px; top: 12px; opacity: .09; display: flex; transform: rotate(-12deg); gap: 15px; pointer-events: none; }
.portal-art svg { width: 105px; height: 105px; }
.focus-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); background: white; border-radius: 6px; }
.focus-strip small { font-size: 10px; font-weight: 700; color: var(--ocean); letter-spacing: 1px; }
.focus-strip p { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.focus-strip a { flex-shrink: 0; font-size: 12px; }
.portal-workspace { padding: 24px 20px; background: white; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; align-items: stretch; }
.workspace-avatar { display: grid; place-items: center; width: 42px; height: 42px; background: #e6eff2; border-radius: 50%; color: var(--navy); font-size: 22px; margin-bottom: 14px; }
.portal-workspace h2 { font-size: 18px; margin: 0 0 10px; }
.portal-workspace p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.portal-workspace .button { font-size: 13px; padding: 11px; margin-bottom: 10px; }
.workspace-shortcuts { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; font-size: 12px; }
.workspace-shortcuts a { color: var(--ocean); }
.supplier-entry { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.platform-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 18px; padding: 18px 24px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.platform-benefits > div { display: flex; align-items: center; gap: 14px; }
.platform-benefits > div > span { font-size: 26px; color: var(--ocean); }
.platform-benefits p { margin: 0; }
.platform-benefits strong { display: block; font-size: 13px; }
.platform-benefits small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.platform-section { margin-top: 32px; }
.platform-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.platform-section-head h2 { font-size: 22px; margin: 0; }
.platform-section-head p { color: var(--muted); font-size: 13px; margin: 7px 0 0; }
.platform-section-head > a { font-size: 13px; flex-shrink: 0; }
.industry-channel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.industry-channel { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; gap: 18px; align-items: center; }
.industry-channel:hover { border-color: #8aabb6; box-shadow: 0 4px 12px #102d4009; }
.industry-channel-icon { width: 58px; height: 58px; display: grid; place-items: center; background: #edf4f6; border-radius: 6px; flex-shrink: 0; color: var(--ocean); }
.industry-channel-icon svg { width: 38px; height: 38px; }
.industry-channel h3 { font-size: 16px; margin: 0 0 6px; }
.industry-channel p { color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.industry-channel small { font-size: 11px; color: var(--ocean); }
.floor-groups { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.floor-groups a, .industry-chips a { background: white; border: 1px solid var(--line); padding: 7px 13px; border-radius: 4px; font-size: 12px; }
.floor-groups a:hover, .industry-chips a:hover { border-color: var(--ocean); color: var(--ocean); }
.marine-floor .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.marine-floor .card-image { height: 180px; }
.marine-floor .card-content { padding: 16px; }
.marine-floor .card-title { font-size: 15px; min-height: 40px; }
.marine-floor .card-price { font-size: 22px; }
.empty-industry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.empty-industry { background: white; border: 1px solid var(--line); padding: 20px; display: flex; align-items: flex-start; gap: 14px; border-radius: 6px; }
.empty-industry-icon { flex-shrink: 0; width: 40px; color: var(--ocean); }
.empty-industry-icon svg { width: 40px; height: 40px; }
.empty-industry h3 { font-size: 17px; margin: 4px 0 8px; }
.empty-industry small { font-size: 10px; color: var(--muted); }
.empty-industry p { font-size: 12px; color: var(--muted); }
.empty-industry > a { font-size: 11px; margin-left: auto; flex-shrink: 0; }
.industry-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.industry-chips a { padding: 5px 8px; font-size: 10px; }
.portal-supplier-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.portal-supplier { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.supplier-avatar { width: 40px; height: 40px; background: #e8eff3; display: grid; place-items: center; border-radius: 4px; font-size: 21px; color: var(--navy); margin-bottom: 16px; }
.portal-supplier h3 { font-size: 15px; min-height: 44px; margin-bottom: 10px; }
.portal-supplier p { font-size: 12px; color: var(--muted); }
.supplier-category { font-size: 11px; color: var(--ocean); margin: 12px 0 18px; }
.portal-supplier > a { font-size: 12px; }
.platform-home .quote-banner { padding: 25px; }
.platform-home .quote-banner h2 { font-size: 21px; }
@media (max-width: 1100px) {
  .portal-top { grid-template-columns: 220px minmax(0,1fr); }
  .portal-workspace { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px 20px; align-items: center; }
  .portal-workspace .workspace-avatar { grid-row: 1 / 3; margin: 0; }
  .portal-workspace h2, .portal-workspace p { margin: 0; }
  .portal-workspace .button { margin: 0; }
  .portal-workspace .supplier-entry { border: 0; padding: 0; }
  .industry-channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-supplier-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .industry-nav .container { gap: 18px; }
  .platform-home { padding-top: 14px; }
  .portal-top { display: flex; flex-direction: column; }
  .portal-center { order: -1; }
  .portal-banner { padding: 22px 18px; }
  .portal-banner h1 { font-size: 27px; }
  .portal-banner p { max-width: 100%; font-size: 13px; }
  .portal-art { top: 35px; }
  .industry-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .industry-directory h2 { grid-column: 1/-1; padding: 12px; }
  .industry-directory > a { padding: 12px; }
  .industry-directory a small { display: none; }
  .portal-workspace { display: block; padding: 20px; }
  .portal-workspace .workspace-avatar { display: none; }
  .portal-workspace h2 { margin-bottom: 8px; }
  .portal-workspace p { margin-bottom: 14px; }
  .portal-workspace .button { margin-bottom: 10px; }
  .platform-benefits { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .platform-section-head { align-items: flex-start; }
  .platform-section-head h2 { font-size: 20px; }
  .platform-section-head p { font-size: 12px; }
  .platform-section-head > small { display: none; }
  .industry-channel-grid, .empty-industry-grid { grid-template-columns: 1fr; }
  .industry-channel { padding: 16px; }
  .marine-floor .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .marine-floor .card-image { height: 135px; }
  .marine-floor .card-content { padding: 12px; }
  .marine-floor .card-title { font-size: 13px; min-height: 54px; }
  .marine-floor .card-price { font-size: 18px; }
  .empty-industry { padding: 16px; }
  .empty-industry > a { display: none; }
  .portal-supplier-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .portal-supplier { padding: 15px; }
  .portal-supplier h3 { font-size: 13px; }
}
.industry-preview { background: white; border: 1px solid var(--line); padding: 20px; border-radius: 6px; }
.industry-preview .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.industry-preview .platform-section-head h3 { font-size: 18px; }

/* Platform interaction polish: readable industry highlights and predictable controls. */
:root { --motion-fast: 160ms; --motion-view: 320ms; --panel-shadow: 0 8px 26px #102c4010; }
.button, .text-link, .floor-groups a, .industry-chips a { transition: background-color var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast); }
.button:active { transform: scale(.985); }
.header-search:focus-within, .portal-search:focus-within { box-shadow: 0 0 0 3px #087d831c; border-color: var(--ocean); }
.main-nav a { position: relative; transition: color var(--motion-fast); }
.main-nav a:hover { color: var(--ocean); }
.main-nav a.active { font-weight: 650; }
.account-menu > div { box-shadow: 0 10px 34px #102c4024; animation: menu-in 150ms ease-out; }
.panel { box-shadow: 0 3px 16px #102c4006; transition: border-color var(--motion-fast); }
.panel:focus-within { border-color: #a2bec7; }
.field:focus-within > label { color: var(--ocean); }
.product-card, .portal-supplier, .industry-channel { transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease; }
.product-card:hover, .product-card:focus-within, .portal-supplier:hover, .portal-supplier:focus-within, .industry-channel:focus-visible { border-color: #8aabb6; box-shadow: var(--panel-shadow); }
.card-image img { transition: transform 450ms ease; }
.product-card:hover .card-image img { transform: scale(1.035); }
.card-title:hover { color: var(--ocean); }
.industry-channel:hover { transform: translateY(-2px); }
.portal-supplier > a::after { content: ''; display: block; width: 0; height: 1px; background: currentColor; transition: width 200ms; }
.portal-supplier:hover > a::after { width: 44px; }
.platform-section-head h2 { letter-spacing: -.35px; }
.portal-center { gap: 12px; }
.portal-carousel { overflow: hidden; border: 1px solid #203f52; border-radius: 8px; background: #123447; min-width: 0; color: white; box-shadow: 0 8px 22px #102c4012; }
.carousel-window { min-height: 300px; position: relative; touch-action: pan-y; }
.carousel-slide { position: relative; overflow: hidden; padding: 28px 26px; min-height: 300px; isolation: isolate; animation: slide-in 350ms ease-out; }
.slide-platform { background: #123447; }
.slide-precision { background: #163c48; }
.slide-agriculture { background: #254a40; }
.carousel-art { position: absolute; width: 48%; height: 90%; right: -2%; bottom: -4%; object-fit: contain; opacity: .65; z-index: -1; pointer-events: none; }
.slide-copy { max-width: 75%; }
.slide-copy .eyebrow { font-size: 10px; color: #a0d9df; letter-spacing: 1.5px; }
.slide-copy h2 { font-size: clamp(25px,2.2vw,32px); font-weight: 750; letter-spacing: -.7px; line-height: 1.24; white-space: pre-line; margin: 17px 0 14px; text-wrap: balance; color: white; }
.slide-copy p { color: #d5e4e9; font-size: 13px; line-height: 1.65; max-width: 90%; margin-bottom: 22px; }
.slide-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 42px; padding: 9px 15px; border: 1px solid #a6c1cb73; border-radius: 4px; font-size: 12px; font-weight: 650; color: white; background: #1234476e; transition: background-color 160ms, border-color 160ms; }
.slide-cta:hover { background: #ffffff18; border-color: #c5e1e8; }
.slide-cta span { transition: transform 180ms; }
.slide-cta:hover span { transform: translateX(3px); }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; padding: 3px 12px; gap: 8px; background: #0d2c3c; border-top: 1px solid #ffffff17; }
.carousel-dots, .carousel-arrows { display: flex; align-items: center; gap: 3px; }
.carousel-controls button { background: none; border: 0; color: #a9bdc7; cursor: pointer; min-height: 40px; border-radius: 3px; }
.carousel-controls button:hover { background: #ffffff10; color: white; }
.carousel-dots button { display: flex; align-items: center; gap: 7px; padding: 7px; font-size: 10px; }
.carousel-dots button[aria-pressed=true] { color: white; }
.dot-mark { width: 6px; height: 6px; background: #728c9b; border-radius: 4px; transition: width 180ms, background-color 180ms; }
[aria-pressed=true] > .dot-mark { width: 17px; background: #f29460; }
.carousel-arrows button { min-width: 30px; font-size: 22px; padding: 0 6px; }
.carousel-arrows [data-carousel=pause] { font-size: 14px; }
.portal-sourcing { border: 1px solid var(--line); border-radius: 6px; background: white; padding: 16px 20px; }
.portal-sourcing .portal-search { margin-top: 0; }
.portal-sourcing .hot-search { margin-top: 10px; }
.portal-workspace { box-shadow: 0 2px 12px #102c4005; }
.industry-directory { position: relative; overflow: visible; }
.directory-entry { display: flex; align-items: center; border-top: 1px solid #eff3f5; transition: background-color 160ms; }
.directory-entry > a { display: flex; align-items: center; flex: 1; gap: 10px; padding: 11px 0 11px 14px; min-width: 0; }
.directory-entry > a > span { font-size: 13px; line-height: 1.5; font-weight: 600; min-width: 0; }
.directory-entry small { font-size: 10px; line-height: 1.45; }
.directory-entry .directory-toggle { width: 32px; align-self: stretch; flex-shrink: 0; border: 0; background: none; color: var(--muted); font-size: 21px; border-radius: 0; }
.directory-entry .directory-toggle:hover, .directory-entry.expanded { background: #edf5f6; color: var(--ocean); }
.directory-entry:last-child { border-radius: 0 0 6px 6px; }
.industry-flyout { position: absolute; top: 0; left: 100%; z-index: 35; width: 485px; max-width: calc(100vw - 310px); min-height: 100%; padding: 24px; background: white; border: 1px solid #bccfd6; border-radius: 0 6px 6px 0; box-shadow: 10px 8px 25px #102c4024; animation: menu-in 180ms ease-out; }
.flyout-head { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.flyout-head h3 { font-size: 18px; margin: 0; }
.flyout-head > a { font-size: 12px; flex-shrink: 0; }
.flyout-group { margin-top: 18px; }
.flyout-group-name { color: var(--ink); font-size: 13px; font-weight: 650; }
.flyout-group > div { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.flyout-group > div > a { color: var(--muted); font-size: 12px; padding-block: 4px; }
.flyout-group a:hover { color: var(--ocean); text-decoration: underline; text-underline-offset: 3px; }
.active-filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; }
.filter-chip-label { color: var(--muted); font-size: 12px; margin-right: 5px; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #bfd5dc; background: #eef5f6; border-radius: 4px; padding: 5px 9px; min-height: 34px; font-size: 12px; color: #245464; max-width: 235px; }
.filter-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-chip b { font-size: 16px; font-weight: 400; }
.filter-chip:hover { border-color: var(--ocean); background: #e3eff1; }
.filter-top-actions { display: flex; align-items: center; gap: 8px; }
.filter-close, .filter-apply { display: none; }
.back-top { position: fixed; right: 22px; bottom: 24px; width: 44px; height: 44px; display: grid; place-items: center; z-index: 45; background: white; color: var(--ocean); border: 1px solid #b7cdd4; border-radius: 6px; box-shadow: 0 4px 20px #102c4015; animation: menu-in 180ms ease-out; }
.back-top:hover { background: #eef5f6; }
.section-enter { opacity: 0; transform: translateY(10px); transition: opacity var(--motion-view) ease-out, transform var(--motion-view) ease-out; }
.section-visible { opacity: 1; transform: none; }
@keyframes slide-in { from { opacity: .3; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) and (min-width: 768px) {
  .carousel-window, .carousel-slide { min-height: 315px; }
  .carousel-dots .dot-label { display: none; }
  .carousel-dots button { min-width: 35px; justify-content: center; }
  .slide-copy { max-width: 80%; }
}
@media (max-width: 767px) {
  .carousel-window, .carousel-slide { min-height: 295px; }
  .carousel-slide { padding: 22px 20px; }
  .slide-copy { max-width: 92%; }
  .slide-copy h2 { font-size: 27px; }
  .slide-copy p { max-width: 95%; font-size: 12px; }
  .carousel-art { width: 48%; height: 80%; right: -12%; opacity: .23; }
  .carousel-dots .dot-label { display: none; }
  .carousel-dots button { min-width: 32px; min-height: 44px; justify-content: center; }
  .carousel-arrows button { min-width: 36px; min-height: 44px; }
  .portal-sourcing { padding: 14px; }
  .portal-sourcing .hot-search { gap: 7px 12px; font-size: 11px; }
  .directory-entry { position: relative; flex-wrap: wrap; border-right: 1px solid #eff3f5; }
  .directory-entry > a { padding: 14px 0 14px 12px; }
  .directory-entry > a > span { font-size: 12px; }
  .directory-entry .directory-toggle { width: 34px; min-height: 54px; }
  .industry-flyout { position: static; flex-basis: 100%; min-width: 0; width: 100%; max-width: none; padding: 12px; min-height: auto; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--line); }
  .flyout-head { display: block; padding-bottom: 10px; }
  .flyout-head h3 { font-size: 14px; margin-bottom: 8px; }
  .flyout-group { margin-top: 10px; }
  .flyout-group > div { gap: 2px 10px; }
  .flyout-group > div > a { min-height: 38px; display: inline-flex; align-items: center; }
  .active-filters { gap: 6px; }
  .filter-chip { min-height: 42px; max-width: 190px; }
  .filter-open { overflow: hidden; }
  .filter-backdrop { position: fixed; inset: 0; z-index: 80; background: #102c4080; }
  .filters.open { position: fixed; inset: 0 0 0 auto; z-index: 81; width: min(90vw,380px); max-height: 100dvh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 0; padding: 18px; margin: 0; box-shadow: -8px 0 35px #102c4024; animation: slide-in 220ms ease-out; }
  .filter-top { position: sticky; top: -18px; z-index: 2; background: white; padding: 12px 0; }
  .filter-close { display: inline-grid; place-items: center; width: 40px; height: 44px; border: 0; color: var(--ink); background: none; font-size: 26px; }
  .filter-apply { display: block; width: 100%; position: sticky; bottom: 0; margin-top: 16px; box-shadow: 0 -8px 14px white; }
  .back-top { right: 14px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .section-enter { opacity: 1; transform: none; }
  .industry-channel:hover, .button:active, .product-card:hover .card-image img, .slide-cta:hover span { transform: none; }
}
/* Keep the slide viewport steady across languages and slide changes. */
.portal-carousel { display: flex; flex-direction: column; flex: 1; }
.carousel-window { display: grid; flex: 1; min-height: 320px; }
.carousel-slide { grid-area: 1 / 1; min-height: 320px; }
@media (max-width: 1100px) and (min-width: 768px) {
  .carousel-window, .carousel-slide { min-height: 345px; }
}
@media (max-width: 767px) {
  .carousel-window, .carousel-slide { min-height: 320px; }
}
@media (max-width: 767px) {
  .main-nav .container { gap: 0 16px; overflow: visible; padding-block: 2px; }
  .catalog-layout { display: block; }
  .mobile-filter-button { display: block; width: 100%; margin-bottom: 12px; }
  .filters:not(.open) { display: none; }
  .main-nav a { padding-block: 10px; font-size: 12px; }
  .account-nav { width: auto; margin-left: auto; gap: 8px; flex-wrap: nowrap; }
  .account-nav > a { font-size: 12px; }
  .account-menu summary { font-size: 12px; padding: 8px 0; max-width: 190px; }
  .account-menu > div { right: 0; left: auto; }
  .carousel-arrows button, .carousel-dots button { min-width: 44px; min-height: 44px; }
  .directory-entry .directory-toggle { width: 44px; }
}
/* NORTHLINK information portal: compact sourcing, editorial and events. */
body[data-page="home"] .industry-nav { display: none; }
body[data-page="home"] .main-header .container { padding-top: 26px; padding-bottom: 24px; }
.brand { color: #153c53; }
.portal-service-nav { background: #fff; border-bottom: 1px solid var(--line); }
.portal-service-nav .container { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; }
.portal-service-nav a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 4px; font-size: 14px; font-weight: 650; }
.portal-service-nav a > .service-icon { width: 40px; height: 40px; border-radius: 50%; background: #f0f4f7; color: #153c53; font-size: 25px; display: grid; place-items: center; font-weight: 400; }
.portal-service-nav a:hover { color: var(--orange); }
.portal-service-nav a:hover > .service-icon { background: #fff0e8; color: var(--orange); }
.portal-top { background: #fff; padding: 18px; border: 1px solid var(--line); grid-template-columns: 220px minmax(0,1fr) 248px; gap: 18px; }
.portal-center { align-self: stretch; }
.industry-directory { border: 0; border-radius: 0; }
.industry-directory h2 { padding: 8px 12px 16px; font-size: 18px; }
.directory-entry > a { padding: 16px 8px; }
.portal-workspace { border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 12px 0 12px 18px; }
.workspace-label { font-size: 11px; letter-spacing: .08em; color: var(--ocean); margin-bottom: 10px; font-weight: 700; }
.portal-workspace h2 { font-size: 21px; }
.portal-workspace p { margin-bottom: 18px; }
#quick-request { display: grid; gap: 8px; }
#quick-request label { font-size: 12px; font-weight: 600; }
#quick-request input, #quick-request select { width: 100%; min-width: 0; min-height: 42px; margin-bottom: 4px; }
#quick-request .button { margin-top: 8px; font-size: 12px; }
.carousel-window, .carousel-slide { min-height: 430px; }
.carousel-slide .slide-copy { max-width: 88%; }
.carousel-art { width: 62%; opacity: .7; }
.slide-copy { padding: 32px 28px; }
.carousel-slide h2 { font-size: clamp(26px,2.3vw,36px); }
.carousel-controls { padding: 7px 12px; }
.carousel-dots .dot-label { display: none; }
.carousel-dots button { min-width: 42px; min-height: 32px; }
.carousel-arrows { gap: 10px; }
.workspace-inquiries { margin-bottom: 14px; }
.workspace-inquiries a { display: grid; gap: 5px; padding: 11px 0; border-top: 1px solid var(--line); }
.workspace-inquiries strong { font-size: 13px; }
.workspace-inquiries span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.workspace-inquiries small { font-size: 11px; color: var(--ocean); }
.workspace-empty { padding: 25px 0; border-top: 1px solid var(--line); }
.editorial-home { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 24px; }
.editorial-news,.editorial-events { min-width: 0; background: #fff; border: 1px solid var(--line); padding: 22px; }
.editorial-home .platform-section-head { margin-bottom: 20px; gap: 12px; align-items: start; }
.editorial-home h2 { font-size: 21px; }
.editorial-home .platform-section-head p { font-size: 12px; }
.editorial-home .text-link { font-size: 12px; white-space: nowrap; }
.news-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-featured { grid-row: span 2; }
.news-home-card h3 { font-size: 16px; line-height: 1.5; margin: 7px 0; }
.news-home-card p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 10px; }
.news-home-card small { font-size: 11px; color: var(--ocean); }
.news-home-card:hover h3,.event-home-card:hover h3 { color: var(--ocean); }
.editorial-tag { display: inline-block; font-size: 10px; font-weight: 500; color: #6a7782; background: #f2f5f7; padding: 3px 6px; line-height: 1.5; }
.editorial-art { background: #133a50; display: block; overflow: hidden; }
.editorial-art img { width: 100%; height: 100%; object-fit: cover; }
.news-featured .editorial-art { height: 150px; margin-bottom: 12px; }
.event-home-card { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.event-home-card h3 { font-size: 16px; line-height: 1.5; margin: 7px 0; }
.event-home-card p { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.event-home-card small { color: var(--ocean); font-size: 11px; }
.event-calendar { flex-shrink: 0; background: #edf5f6; width: 68px; height: 76px; text-align: center; display: flex; flex-direction: column; justify-content: center; color: var(--ocean); border-top: 3px solid var(--ocean); }
.event-calendar strong { font-size: 28px; line-height: 1.3; }
.event-calendar small { font-size: 10px; }
.lead-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.lead-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ocean); padding: 22px; }
.lead-card h3 { font-size: 17px; margin: 12px 0; }
.lead-card p { font-size: 13px; color: var(--muted); }
.lead-card small { color: var(--ocean); }
.content-shell { padding-top: 32px; padding-bottom: 64px; }
.content-list-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 20px 0; }
.content-list-toolbar form { width: min(100%,560px); }
.content-disclaimer { background: #f1f5f7; border-left: 3px solid var(--ocean); color: var(--muted); font-size: 12px; padding: 12px 16px; margin: 18px 0 26px; }
.content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.content-card { background: #fff; border: 1px solid var(--line); }
.content-card > div { padding: 22px; }
.content-card .editorial-art { height: 200px; }
.content-card h2 { font-size: 20px; line-height: 1.5; margin: 12px 0; }
.content-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.content-card small { display: block; color: var(--muted); margin-bottom: 20px; }
.content-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; margin-top: 24px; }
.article-body { padding: 36px; }
.article-body h1 { font-size: clamp(26px,3vw,36px); line-height: 1.4; margin: 16px 0; }
.article-meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.article-cover { height: 300px; margin: 24px 0; background: #143b50; }
.article-cover img { object-fit: contain; }
.article-intro { font-weight: 600; line-height: 1.9; font-size: 17px; }
.article-paragraphs p { line-height: 2; margin: 22px 0; color: #415767; font-size: 16px; }
.content-aside { align-self: start; padding: 24px; }
.content-aside h2 { font-size: 20px; }
.content-aside p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.content-aside .button { margin: 20px 0; }
.related-story { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.related-story small { color: var(--muted); }
.event-facts { display: flex; flex-wrap: wrap; gap: 24px; padding: 22px; margin: 24px 0; background: #f4f7f8; }
.event-facts dt { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.event-facts dd { margin: 0; font-weight: 600; }
@media (min-width:768px) and (max-width:1100px) {
 .portal-top { grid-template-columns: 200px minmax(0,1fr); }
 .portal-workspace { grid-column:1/-1; display:block; border-left:0; border-top:1px solid var(--line); padding:20px 0 0; }
 #quick-request { grid-template-columns: repeat(3,1fr); align-items: end; }
 #quick-request label { grid-row:1; }
 #quick-request input,#quick-request select { grid-row:2; }
 #quick-request button { grid-column:1/-1; }
 .editorial-home { grid-template-columns:1fr; }
 .content-grid { grid-template-columns:repeat(2,1fr); }
 .content-detail-grid { grid-template-columns:minmax(0,1fr) 240px; }
}
@media (max-width:767px) {
 body[data-page="home"] .main-header .container { padding-top:16px; padding-bottom:16px; }
 .portal-service-nav .container { display:flex; overflow:auto; gap:22px; }
 .portal-service-nav a { flex-shrink:0; font-size:12px; padding:14px 0; }
 .portal-top { padding:12px; gap:16px; }
 .portal-center { width:100%; }
 .carousel-window,.carousel-slide { min-height:330px; }
 .carousel-slide .slide-copy { max-width:100%; padding:24px 20px; }
 .carousel-slide h2 { font-size:28px; }
 .portal-workspace { border:0; border-top:1px solid var(--line); padding:20px 4px; }
 .editorial-home,.news-home-grid,.content-grid,.content-detail-grid,.lead-grid { grid-template-columns:1fr; }
 .editorial-news,.editorial-events { padding:18px; }
 .news-featured { grid-row:auto; }
 .news-home-card:not(.news-featured) { border-top:1px solid var(--line); padding-top:16px; }
 .news-featured .editorial-art { height:180px; }
 .content-shell { padding-top:20px; }
 .content-list-toolbar { flex-wrap:wrap; }
 .article-body { padding:22px; }
 .article-cover { height:220px; }
 .content-aside { padding:22px; }
 .event-facts { padding:18px; gap:18px; }
}
body[data-page="home"] .main-header .header-search { position: relative; margin-top:22px; }
.search-scope-nav { position:absolute; bottom:100%; left:0; display:flex; gap:22px; padding-bottom:8px; white-space:nowrap; }
.search-scope-nav a { font-size:13px; color:var(--muted); }
.search-scope-nav a.active,.search-scope-nav a:hover { color:var(--ocean); }
body[data-page="home"] .main-nav .container > a:nth-child(-n+6) { display:none; }
body[data-page="home"] .main-nav .container { min-height:36px; }
body[data-page="home"] .main-nav a { padding-block:8px; font-size:12px; }
@media(max-width:767px) {
 .search-scope-nav { gap:18px; }
 .search-scope-nav a { font-size:12px; }
 body[data-page="home"] .main-nav .container { justify-content:flex-end; }
}

body[data-page="home"] .main-header .header-search { overflow:visible; }
.carousel-slide { padding:0; }
@media(max-width:767px) {
 .carousel-slide h2 { font-size:27px; }
 .carousel-slide .slide-copy { width:100%; }
}
.workspace-stat { display:flex; flex-direction:column; gap:6px; margin:15px 0 25px; background:#f2f7f8; padding:20px; }
.workspace-stat strong { font-size:32px; color:var(--ocean); }
.workspace-stat span { font-size:12px; color:var(--muted); }
.received-strip { margin-top:18px; background:#eef6f7; border:1px solid #cde3e6; border-left:4px solid var(--ocean); padding:20px; }
.received-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:14px; }
.received-heading h2 { font-size:18px; margin:0; }
.unread-badge { display:inline-block; font-size:11px; color:#fff; background:var(--ocean); padding:4px 8px; border-radius:3px; margin-left:8px; vertical-align:middle; }
.received-list { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.received-list a { display:grid; gap:6px; font-size:13px; line-height:1.7; }
.received-list a:hover strong { color:var(--ocean); }
.received-list span,.received-list small { color:var(--muted); }
.received-list small { font-size:11px; }
.news-category-links { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.news-category-links a { padding:5px 10px; background:#edf3f5; color:var(--ocean); font-size:12px; border:1px solid transparent; }
.news-category-links a[aria-current],.news-category-links a:hover { border-color:var(--ocean); }
@media(max-width:767px) {
 .received-list { grid-template-columns:1fr; gap:14px; }
 .received-list a + a { border-top:1px solid #cde3e6; padding-top:14px; }
 .received-heading { flex-wrap:wrap; }
}
/* A centered search column, with tabs in normal flow instead of floating above it. */
body[data-page="home"] .header-row { display:grid; grid-template-columns:220px minmax(0,1fr) auto; gap:32px; align-items:center; }
body[data-page="home"] .main-header .container { padding-block:22px; }
.home-search-group { min-width:0; display:grid; gap:10px; }
.home-search-group .search-scope-nav { position:static; padding:0; gap:24px; }
.home-search-group .search-scope-nav a { font-size:13px; padding-bottom:5px; border-bottom:2px solid transparent; }
.home-search-group .search-scope-nav a.active { border-bottom-color:var(--ocean); font-weight:600; }
body[data-page="home"] .main-header .header-search { width:100%; max-width:none; margin:0; overflow:hidden; border:1px solid #b6cbd5; border-radius:6px; min-height:50px; box-shadow:0 2px 6px #16394d05; }
body[data-page="home"] .main-header .header-search input { background:#fff; padding:14px 18px; font-size:14px; }
body[data-page="home"] .main-header .header-search button { min-width:88px; }
.home-header-actions { display:flex; align-items:center; gap:16px; padding-top:24px; }
.home-header-actions .language { padding:8px 0; }
body[data-page="home"] .main-nav .container { min-height:32px; }
@media(min-width:768px) and (max-width:1100px) {
 body[data-page="home"] .header-row { grid-template-columns:190px minmax(0,1fr) auto; gap:22px; }
 .home-header-actions { flex-direction:column; gap:8px; padding-top:0; }
 .home-header-actions .button { font-size:12px; padding:9px 12px; }
}
@media(max-width:767px) {
 body[data-page="home"] .header-row { grid-template-columns:minmax(0,1fr) auto; gap:18px 14px; }
 body[data-page="home"] .main-header .container { padding-block:18px; }
 .home-search-group { grid-column:1/-1; grid-row:2; gap:8px; }
 .home-header-actions { padding-top:0; gap:10px; flex-direction:column; align-items:flex-end; }
 .home-header-actions .button { font-size:11px; padding:7px 10px; min-height:32px; }
 .home-header-actions .language { padding:4px 0; }
 .home-search-group .search-scope-nav { gap:22px; }
 .home-search-group .search-scope-nav a { font-size:12px; }
 body[data-page="home"] .main-header .header-search { min-height:46px; }
 body[data-page="home"] .main-header .header-search input { font-size:13px; padding:12px; }
 body[data-page="home"] .main-header .header-search button { min-width:70px; padding:0 14px; }
 body[data-page="home"] .brand { font-size:23px; }
}
body[data-page="home"] .brand small { white-space:nowrap; font-size:8px; letter-spacing:1.1px; }

/* Account access belongs beside language and publishing actions on the home header. */
.home-header-actions { flex-wrap:wrap; justify-content:flex-end; max-width:260px; }
.home-header-actions .account-nav { display:flex; align-items:center; gap:8px; margin:0; }
.home-header-actions .account-nav > a { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 14px; border:1px solid #cbd9df; border-radius:5px; font-size:13px; font-weight:600; color:var(--navy); text-decoration:none; transition:background 160ms,border-color 160ms; }
.home-header-actions .account-nav > a:hover { background:#edf5f6; border-color:var(--ocean); }
.home-header-actions .account-nav > a:last-child { background:var(--navy); color:#fff; border-color:var(--navy); }
.home-header-actions .account-nav > a:last-child:hover { background:var(--ocean); border-color:var(--ocean); }
.home-header-actions .account-menu > div { z-index:30; }
@media(max-width:1100px) { .home-header-actions { max-width:190px; } }
@media(max-width:767px) {
 .home-header-actions { flex-direction:row; max-width:200px; gap:8px; }
 .home-header-actions .account-nav { gap:6px; }
 .home-header-actions .account-nav > a { min-height:34px; padding:6px 10px; font-size:12px; }
}

@media(max-width:767px) { body[data-page="home"] .brand small { font-size:6px; letter-spacing:.7px; } }

/* Public supplier directory: company identity, industries and actual listings. */
.supplier-directory-page { padding-block:36px 64px; }
.directory-intro { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:26px; }
.directory-intro h1 { margin:8px 0 12px; font-size:32px; }
.directory-intro p { color:var(--muted); margin:0; }
.supplier-search-panel { display:grid; grid-template-columns:minmax(220px,1fr) minmax(180px,.6fr) auto auto; align-items:end; gap:20px; padding:24px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.supplier-search-panel .field { margin:0; }
.supplier-search-panel > button { min-height:44px; }
.supplier-result-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:30px 0 18px; }
.supplier-result-heading h2 { margin:0; font-size:20px; }
.supplier-result-heading h2 span { margin-left:8px; color:var(--ocean); }
.supplier-result-heading small { color:var(--muted); }
.supplier-directory-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.directory-company { min-width:0; background:#fff; border:1px solid var(--line); border-radius:8px; padding:26px; }
.directory-company-heading { display:flex; align-items:center; gap:16px; }
.directory-company-heading .supplier-avatar { flex-shrink:0; margin:0; }
.directory-company-heading h3 { font-size:18px; margin:0 0 6px; }
.directory-company-heading p { margin:0; font-size:13px; color:var(--muted); }
.directory-company .supplier-category { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 10px; }
.directory-company .supplier-category a { background:#eef5f6; padding:5px 10px; border-radius:4px; font-size:12px; color:var(--ocean); }
.directory-company-status { font-size:12px; color:var(--muted); }
.supplier-product-preview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.supplier-product-preview img { width:100%; height:100px; object-fit:cover; border-radius:4px; background:#edf3f5; }
.directory-company-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding-top:18px; font-size:13px; }
.directory-company-footer span { color:var(--muted); }
.supplier-directory-empty { text-align:center; padding:56px 20px; border:1px solid var(--line); background:#fff; border-radius:8px; }
.supplier-directory-empty p { color:var(--muted); }
@media(max-width:767px) {
 .supplier-directory-page { padding-block:24px 40px; }
 .directory-intro { align-items:flex-start; flex-direction:column; gap:12px; }
 .directory-intro h1 { font-size:26px; }
 .supplier-search-panel { grid-template-columns:1fr 1fr; gap:14px; padding:18px; }
 .supplier-search-panel .field { grid-column:1/-1; }
 .supplier-directory-grid { grid-template-columns:1fr; }
 .supplier-result-heading { flex-direction:column; align-items:flex-start; gap:8px; }
 .directory-company { padding:20px; }
 .directory-company-footer { flex-wrap:wrap; }
}

.supplier-search-panel > .text-link { border:0; background:transparent; cursor:pointer; font:inherit; color:var(--ocean); }

/* Small-screen navigation and comfortable touch targets. */
.mobile-menu-toggle { display:none; }
@media(max-width:767px) {
 body:not([data-page="home"]) .header-row { display:flex; flex-wrap:wrap; gap:12px; }
 body:not([data-page="home"]) .header-row .brand { min-width:0; }
 body:not([data-page="home"]) .header-row .brand small { font-size:7px; letter-spacing:1px; }
 body:not([data-page="home"]) .header-row .language { min-height:44px; }
 .mobile-menu-toggle { display:inline-flex; gap:7px; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:5px; background:#fff; color:var(--ink); font:inherit; font-size:12px; cursor:pointer; }
 .mobile-menu-toggle[aria-expanded="true"] { background:#edf5f6; border-color:var(--ocean); }
 body:not([data-page="home"]) .main-nav:not(.mobile-open) { display:none; }
 body:not([data-page="home"]) .main-nav.mobile-open .container { display:grid; grid-template-columns:1fr 1fr; gap:4px 10px; padding-block:12px; }
 body:not([data-page="home"]) .main-nav a { min-height:44px; padding:10px 12px; border-radius:4px; }
 body:not([data-page="home"]) .main-nav a.active { background:#edf5f6; border-bottom:0; }
 body:not([data-page="home"]) .main-nav .account-nav { grid-column:1/-1; margin:6px 0 0; width:100%; padding-top:10px; border-top:1px solid var(--line); }
 body:not([data-page="home"]) .main-nav .account-menu { width:100%; }
 body:not([data-page="home"]) .main-nav .account-menu summary { max-width:100%; min-height:44px; }
 .industry-nav .container { gap:16px; scrollbar-width:thin; }
 .industry-nav a { min-height:44px; }
 .portal-service-nav .container { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px 8px; overflow:visible; padding-block:10px; }
 .portal-service-nav a { min-width:0; padding:10px 2px; font-size:11px; line-height:1.4; gap:6px; }
 .portal-service-nav a > .service-icon { width:34px; height:34px; font-size:21px; }
 .home-header-actions .account-nav > a { min-height:40px; }
 .supplier-search-panel input,.supplier-search-panel select,.form-grid input:not([type="checkbox"]):not([type="radio"]),.form-grid select,.form-grid textarea { font-size:16px; }
 .supplier-search-panel .button,.supplier-search-panel > .text-link { min-height:48px; }
 .directory-company-heading { align-items:flex-start; gap:12px; }
 .directory-company-heading h3 { font-size:16px; overflow-wrap:anywhere; }
 .directory-company-footer .text-link { display:inline-flex; align-items:center; min-height:44px; }
 .supplier-product-preview img { height:82px; }
 .pagination { flex-wrap:wrap; gap:8px; }
 .pagination button { min-width:44px; min-height:44px; }
}
@media(max-width:359px) {
 body[data-page="home"] .header-row { grid-template-columns:1fr; gap:12px; }
 body[data-page="home"] .home-header-actions { justify-content:flex-start; max-width:none; }
 body[data-page="home"] .home-search-group { grid-row:3; }
 body[data-page="home"] .brand small { font-size:7px; }
 .supplier-search-panel { padding:14px; }
 .directory-company { padding:16px; }
 .supplier-product-preview { gap:6px; }
}
@media(max-width:359px) {
 body:not([data-page="home"]) .header-row { gap:8px; }
 body:not([data-page="home"]) .header-row .brand { font-size:18px; }
 body:not([data-page="home"]) .header-row .brand small { font-size:6px; letter-spacing:.7px; }
 body:not([data-page="home"]) .header-row .brand svg { width:26px; }
 .mobile-menu-toggle { width:44px; padding:8px; }
 .mobile-menu-toggle > [data-i18n] { display:none; }
}
@media(max-width:450px) {
 .portal-supplier-grid { grid-template-columns:1fr; }
 .portal-supplier .text-link,.directory-company-footer .text-link { white-space:normal; }
}

/* Keep signed-in home actions together, with work links inside the account menu. */
.home-header-actions { flex-wrap:nowrap; max-width:none; gap:12px; }
.home-header-actions .account-nav { flex-shrink:0; }
.account-menu summary { display:flex; align-items:center; gap:10px; list-style:none; border:1px solid var(--line); border-radius:6px; background:#fff; padding:9px 12px; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-avatar { display:grid; place-items:center; width:32px; height:32px; flex-shrink:0; border-radius:50%; background:#eaf3f4; color:var(--ocean); font-size:14px; font-weight:700; }
.account-identity { min-width:0; display:block; }
.account-name { display:block; max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:600; }
.account-menu summary small { font-size:10px; line-height:1.4; }
.account-chevron { color:var(--muted); font-size:16px; }
.account-menu[open] summary { border-color:var(--ocean); }
.account-menu > div { margin-top:8px; border-radius:6px; }
@media(min-width:768px) and (max-width:1100px) {
 body[data-page="home"] .header-row { grid-template-columns:180px minmax(0,1fr); }
 .home-header-actions { grid-column:1/-1; flex-direction:row; justify-content:flex-end; padding:0; }
}
@media(max-width:767px) {
 .home-header-actions { flex-wrap:wrap; justify-content:flex-end; max-width:200px; }
 .home-header-actions .account-menu summary { padding:7px 9px; max-width:200px; }
 .account-name { max-width:115px; }
 .account-avatar { width:28px; height:28px; }
 body[data-page="home"] .header-row:has(.account-menu) { grid-template-columns:1fr; gap:12px; }
 body[data-page="home"] .header-row:has(.account-menu) .home-header-actions { grid-column:1; grid-row:2; max-width:none; padding:0; justify-content:flex-start; }
 body[data-page="home"] .header-row:has(.account-menu) .home-search-group { grid-row:3; }
}
@media(max-width:767px) {
 body[data-page="home"] .header-row:has(.account-menu) { position:relative; }
 body[data-page="home"] .header-row:has(.account-menu) .home-header-actions { display:grid; grid-template-columns:auto minmax(0,1fr); width:100%; gap:10px; }
 body[data-page="home"] .header-row:has(.account-menu) .home-header-actions .language { position:absolute; top:18px; right:18px; }
 body[data-page="home"] .header-row:has(.account-menu) .account-nav { min-width:0; }
 body[data-page="home"] .header-row:has(.account-menu) .account-menu { width:100%; }
 body[data-page="home"] .header-row:has(.account-menu) .account-menu summary { max-width:none; gap:7px; }
 body[data-page="home"] .header-row:has(.account-menu) .account-identity { flex:1; }
 body[data-page="home"] .header-row:has(.account-menu) .account-name { max-width:100%; }
 body[data-page="home"] .header-row:has(.account-menu) .account-menu > div { max-width:calc(100vw - 36px); }
}

/* Editorial listing: a compact heading and a single aligned search/filter panel. */
.content-list-page { padding-top:32px; }
.content-list-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.content-list-heading .page-intro { margin:0; padding:0; }
.content-list-heading h1 { margin:6px 0 10px; font-size:32px; }
.content-list-heading .page-intro p { margin:0; }
.content-demo-note { color:var(--muted); font-size:12px; padding:7px 12px; background:#eaf1f4; border-radius:4px; flex-shrink:0; }
.content-discovery { background:#fff; border:1px solid var(--line); border-radius:8px; padding:22px 24px 0; margin-bottom:26px; }
.content-discovery .content-list-toolbar { margin:0 0 18px; gap:24px; }
.content-discovery .header-search { order:0; margin:0; width:100%; max-width:660px; min-width:0; border-radius:5px; overflow:hidden; }
.content-discovery .header-search input { padding:13px 16px; background:#fff; }
.content-discovery .header-search button { padding-inline:26px; }
.content-discovery .content-list-toolbar > .muted { flex-shrink:0; font-size:13px; }
.content-discovery .news-category-links { margin:0; padding:14px 0; border-top:1px solid var(--line); gap:10px; }
.content-discovery .news-category-links a { border-radius:4px; padding:7px 16px; min-height:36px; font-size:13px; background:transparent; color:var(--muted); }
.content-discovery .news-category-links a[aria-current] { background:#eaf4f4; color:var(--ocean); border-color:#c6dfe0; font-weight:600; }
.content-discovery .news-category-links a:hover { color:var(--ocean); background:#f1f7f7; }
.content-list-page .content-card { display:flex; flex-direction:column; overflow:hidden; border-radius:8px; transition:box-shadow 180ms,border-color 180ms; }
.content-list-page .content-card:hover { border-color:#b7cfd7; box-shadow:0 8px 24px #102c400c; }
.content-list-page .content-card > div { display:flex; flex-direction:column; align-items:flex-start; flex:1; padding:22px; }
.content-list-page .content-card h2 { font-size:19px; margin:12px 0 10px; }
.content-list-page .content-card p { margin:0 0 18px; }
.content-list-page .content-card small { margin-top:auto; }
.content-list-page .content-card .text-link { min-height:36px; display:inline-flex; align-items:center; }
.content-list-page .content-grid > .empty { grid-column:1/-1; }
@media(max-width:767px) {
 .content-list-page { padding-top:24px; }
 .content-list-heading { flex-direction:column; align-items:flex-start; gap:12px; margin-bottom:20px; }
 .content-list-heading h1 { font-size:27px; }
 .content-demo-note { font-size:11px; white-space:normal; }
 .content-discovery { padding:16px 16px 0; margin-bottom:20px; }
 .content-discovery .content-list-toolbar { gap:12px; margin-bottom:14px; }
 .content-discovery .header-search { flex-basis:100%; min-height:48px; }
 .content-discovery .header-search input { font-size:16px; padding:12px; }
 .content-discovery .header-search button { padding-inline:16px; }
 .content-discovery .news-category-links { gap:6px; }
 .content-discovery .news-category-links a { min-height:44px; padding:9px 12px; }
 .content-list-page .content-card .editorial-art { height:180px; }
 .content-list-page .content-card > div { padding:20px; }
 .content-list-page .content-card .text-link { min-height:44px; }
}
