/* @site-style
style: B2B commodity-data platform, warm orange accent
styleId: industrial-data
type: layout
primary: #f5870a
accents: #14161a, #f6f7f9, #fff8f0
confirmed: 2026-11-23
*/

:root {
  --brand: #f5870a;
  --brand-dark: #c96a05;
  --brand-soft: #fff1e0;
  --search-accent: #f37021;
  --search-accent-dark: #d95f12;
  --search-accent-soft: rgba(243, 112, 33, .18);
  --ink: #1b1f24;
  --ink-2: #3d454e;
  --muted: #66707c;
  --line: #e5e7eb;
  --line-strong: #d3d8de;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-alt: #fbfcfd;
  --dark: #14161a;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .06);
  --shadow-md: 0 8px 24px rgba(20, 22, 26, .08);
  --container: 1200px;
  --font-sans: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand span { color: var(--brand); }

.brand:hover { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease;
}

.nav-link:hover { background: var(--brand-soft); color: var(--brand-dark); }

.nav-link.is-active { color: var(--brand-dark); background: var(--brand-soft); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}

.menu-toggle:hover { border-color: var(--brand); color: var(--brand-dark); }

.menu-toggle:active { transform: translateY(1px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}

.btn:hover { background: var(--brand-dark); color: #fff; }

.btn:active { transform: translateY(1px); }

.btn[disabled] { opacity: .6; cursor: not-allowed; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand); }

.btn-sm { padding: 7px 12px; font-size: 13px; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.chip:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.page-chips { margin-top: 16px; }

.chip.is-current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.chip.is-current:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}

.tag-muted { background: #eef1f4; color: var(--muted); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- layout blocks ---------- */
.section { padding: 44px 0; }

.section-tight { padding: 28px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 { font-size: 24px; margin: 0; }

.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* toolbar above data tables */
.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

/* workbench-only blocks: hidden on the public site, shown in the workspace preview */
[data-workbench-only] { display: none; }

html.is-workbench [data-workbench-only] { display: flex; }

.more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .18s ease, color .18s ease;
}

.more-link:hover { gap: 8px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.panel-flat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: 16px; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- data tables ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
}

.table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }

.table-wrap::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .35); border-radius: 999px; }

.table-wrap::-webkit-scrollbar-track { background: transparent; }

.news-item-title { font-size: 18px; line-height: 1.35; margin-bottom: 6px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table thead th {
  background: var(--surface-alt);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody tr { transition: background-color .15s ease; scroll-margin-top: 96px; }

.data-table tbody tr:hover { background: #fffaf4; }

.data-table tbody tr.is-search-hit,
.data-table tbody tr.is-search-hit:hover { background: #fde9d4; }

.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table td.num,
.data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.price-strong { color: var(--brand-dark); font-size: 18px; }

.muted { color: var(--muted); }

.small { font-size: 13px; }

.mono { font-variant-numeric: tabular-nums; }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card h3 { font-size: 16px; margin-bottom: 6px; }

.card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cat-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.cat-card .cat-name { font-size: 17px; font-weight: 650; }

.cat-card .cat-meta { font-size: 13px; color: var(--muted); }

.cat-card .cat-go { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--brand-dark); }

.metric-row { display: flex; flex-wrap: wrap; gap: 28px; }

.metric { min-width: 120px; }

.metric b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }

.metric span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- breadcrumb ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0 4px;
  font-size: 13px;
  color: var(--muted);
}

.crumb a { color: var(--muted); transition: color .18s ease; }

.crumb a:hover { color: var(--brand-dark); }

.crumb .sep { color: var(--line-strong); }

.crumb .current { color: var(--ink-2); }

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field.wide { grid-column: 1 / -1; }

.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b9c1c9; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(245, 135, 10, .16);
}

.form-status { font-size: 13px; color: var(--muted); min-height: 20px; }

.form-status.is-ok { color: #1a7f4b; }

.form-status.is-error { color: #c0392b; }

/* ---------- search component (shared) ---------- */
.search-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--search-accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.search-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--search-accent-dark);
  margin-bottom: 8px;
}

.search-field { display: flex; gap: 8px; align-items: stretch; }

.search-field input,
input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--search-accent);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.search-field input:hover,
input[type="search"]:hover {
  border-color: var(--search-accent-dark);
  background: #fffaf5;
}

.search-field input:focus,
input[type="search"]:focus {
  outline: none;
  border-color: var(--search-accent-dark);
  box-shadow: 0 0 0 3px var(--search-accent-soft);
}

.search-field .btn {
  border-color: var(--search-accent);
  color: var(--search-accent-dark);
  white-space: nowrap;
}

.search-field .btn:hover {
  background: var(--search-accent);
  border-color: var(--search-accent);
  color: #fff;
}

.search-status { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* results panel: sits directly under the field on every search box */
.search-results {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 342px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .35) transparent;
}

.search-results[hidden] { display: none; }

.search-results::-webkit-scrollbar { width: 8px; }

.search-results::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .35); border-radius: 999px; }

.search-results::-webkit-scrollbar-track { background: transparent; }

.search-results li + li { border-top: 1px solid var(--line); }

.search-item { display: flex; align-items: stretch; }

.search-item .search-hit { flex: 1; min-width: 0; }

.search-hit {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.search-hit:hover { background: #fff7ef; }

.search-hit:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 0; }

.hit-grade { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }

.hit-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.hit-price { color: var(--brand-dark); font-weight: 600; font-variant-numeric: tabular-nums; }

.hit-doc {
  align-self: center;
  flex: none;
  margin-right: 12px;
  padding: 4px 10px;
  border: 1px solid var(--search-accent);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--search-accent-dark);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.hit-doc:hover { background: var(--search-accent); border-color: var(--search-accent); color: #fff; }

.hit-doc:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.search-count {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.search-empty { padding: 12px; font-size: 13px; color: var(--muted); }

.search-note { padding: 10px 12px; font-size: 12.5px; color: var(--muted); background: var(--surface-alt); }

@media (max-width: 640px) {
  .search-results { max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .search-hit,
  .hit-doc { transition: none; }
}

.search-hint { margin: 4px 0 0; }

.is-empty-row td { color: var(--muted); font-size: 13.5px; padding: 18px 14px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  color: #c3c8ce;
  margin-top: 56px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 44px 0 32px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 750;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.footer-brand span { color: var(--brand); }

.footer-col h3,
.footer-col .footer-title {
  display: block;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.footer-col a { color: #c3c8ce; transition: color .18s ease; }

.footer-col a:hover { color: var(--brand); }

.footer-contact { display: grid; gap: 6px; font-size: 13px; color: #a9b0b8; }

.footer-contact a { color: #c3c8ce; }

.footer-bottom {
  border-top: 1px solid #2a2f36;
  padding: 16px 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 12.5px;
  color: #8f979f;
}

.footer-bottom a { color: #a9b0b8; }

.footer-bottom a:hover { color: var(--brand); }

.footer-crawl { display: inline-flex; gap: 14px; }

.footer-sep { color: #3a4048; }

/* ---------- pager ---------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.pager a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }

.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.pager .disabled { color: #b7bec6; background: #f4f5f7; }

/* ---------- misc ---------- */
.notice {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: #5a4526;
}

.notice p:last-child { margin-bottom: 0; }

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-alt);
}

.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.list-plain li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }

.kv { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }

.kv dt { color: var(--muted); }

.kv dd { margin: 0; color: var(--ink); }

/* reveal on scroll: only active when JS marks the document */
.js .reveal { opacity: 0; transform: translateY(14px); }

.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { transition: none; }
  .card:hover,
  .cat-card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .header-bar { gap: 14px; }
  .nav { gap: 0; }
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .header-actions { display: none; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open { display: flex; }

  .nav-link { padding: 11px 12px; }

  .header-actions { display: none; }

  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .form-grid { grid-template-columns: 1fr; }

  .section { padding: 32px 0; }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }

  h1 { font-size: 28px; }

  .footer-bottom { font-size: 12px; }
}
