@font-face {
  font-family: 'Inter';
  src: url('assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #131611;
  --muted: #666b62;
  --subtle: #83877f;
  --line: #dddfd8;
  --paper: #fff;
  --surface: #f5f6f2;
  --surface-strong: #eceee7;
  --accent: #a6ff2e;
  --accent-dark: #426800;
  --page-width: 1544px;
  --gutter: clamp(22px, 3.6vw, 64px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select, input[type='checkbox'] { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
svg { max-width: 100%; }
button svg { flex: none; }
button, a { touch-action: manipulation; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 2px solid #426800; outline-offset: 5px; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #426800;
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; z-index: 100; top: 12px; left: 22px; padding: 12px 18px; background: var(--ink); color: white; font-size: 12px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 92px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 16px; flex: none; text-decoration: none; }
.brand img { width: 102px; height: auto; }
.brand span { font-size: 10px; letter-spacing: .18em; font-weight: 500; }
.top-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.top-nav a { text-decoration: none; font-size: 12px; font-weight: 500; padding: 12px 0; }
.top-nav a:hover { text-decoration: underline; }
.top-nav .text-button { min-height: auto; padding: 12px 0; font-size: 12px; text-decoration: none; }
.top-nav .text-button:hover { text-decoration: underline; }
.edition { font-size: 10px; color: var(--muted); letter-spacing: .07em; white-space: nowrap; }
.edition::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--accent); border-radius: 50%; vertical-align: 1px; }
#catalog-view, #product-view { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 32px 0 30px; }
.intro > div { min-width: 0; }
.eyebrow { margin: 0 0 18px; font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; }
.intro .eyebrow { margin-bottom: 10px; }
.intro h1 { max-width: 900px; margin: 0; font-size: clamp(31px, 3.2vw, 48px); font-weight: 550; letter-spacing: -.055em; line-height: 1.12; }
.intro h1 span { color: var(--accent-dark); }
.intro .category-description { flex: 0 1 280px; max-width: 280px; margin: 0; padding-bottom: 3px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.catalog-toolbar { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.family-tabs { display: flex; align-items: center; gap: 4px; min-width: 0; }
.family-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 12px 15px; background: transparent; border: 1px solid transparent; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .16s, color .16s; }
.family-tabs button small, .family-tabs button span.count { font-size: 9px; opacity: .6; }
.family-tabs button:hover { background: var(--surface); }
.family-tabs button[aria-pressed='true'] { background: var(--ink); color: white; }
.family-tabs button[aria-pressed='true'] small { color: var(--accent); opacity: 1; }
.search-area { position: relative; flex: 1 1 330px; max-width: 420px; min-width: 0; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 15px; min-height: 46px; border: 1px solid var(--line); background: var(--paper); }
.search-box:focus-within { border-color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.search-box svg { width: 17px; height: 17px; flex: none; }
.search-box input { min-width: 0; width: 100%; height: 44px; padding: 0; color: var(--ink); border: 0; background: transparent; border-radius: 0; font-size: 12px; outline: none; cursor: text; }
.search-box input::placeholder { color: #7e8279; opacity: 1; }
.search-box button { padding: 6px; border: 0; background: transparent; }
.search-box kbd { padding: 2px 5px; border: 1px solid var(--line); font-family: inherit; font-size: 9px; color: var(--subtle); }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-results { display: flex; flex-direction: column; position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; width: max(100%, 420px); max-width: calc(100vw - var(--gutter) * 2); max-height: min(530px, 65dvh); overflow: hidden; overscroll-behavior: contain; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 32px #13161118; }
.search-results.opens-above { top: auto; bottom: calc(100% + 7px); }
#search-options { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.search-heading, .search-all, .search-empty, .search-hint { flex: none; }
.search-heading { margin: 0; padding: 15px 16px 11px; color: var(--muted); font-size: 10px; font-weight: 500; }
.search-result { display: grid; grid-template-columns: 54px minmax(0, 1fr) 14px; align-items: center; gap: 12px; min-height: 80px; padding: 11px 16px; border-top: 1px solid var(--line); text-decoration: none; }
.search-result:hover, .search-result[aria-selected='true'] { background: var(--surface-strong); }
.search-result[aria-selected='true'] { box-shadow: inset 3px 0 var(--accent-dark); }
.search-result img { width: 54px; height: 54px; object-fit: contain; background: var(--surface); }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-size: 12px; line-height: 1.5; font-weight: 550; }
.search-result small { margin-top: 4px; font-size: 10px; line-height: 1.55; color: var(--muted); }
.search-result span { min-width: 0; overflow-wrap: anywhere; }
.search-result b { font-size: 14px; font-weight: 400; }
.search-all { display: block; width: 100%; min-height: 44px; border: 0; border-top: 1px solid var(--line); padding: 13px 16px; color: var(--ink); background: var(--surface); text-align: left; font-size: 11px; line-height: 1.5; }
.search-all:hover { background: var(--surface-strong); }
.search-empty { padding: 5px 16px 16px; margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.search-hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.5; color: var(--muted); }


.subcategory-tabs { display: flex; align-items: center; gap: 7px; margin-top: 18px; padding: 3px 0 5px; overflow-x: auto; scrollbar-width: thin; }
.subcategory-tabs button { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 38px; padding: 9px 13px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; white-space: nowrap; }
.subcategory-tabs button:hover:not(:disabled) { background: var(--surface); }
.subcategory-tabs button[aria-pressed='true'] { border-color: var(--ink); background: var(--surface-strong); font-weight: 550; }
.subcategory-tabs small { font-size: 9px; font-weight: 400; color: var(--muted); }
.subcategory-tabs:empty { display: none; }
.subcategory-tabs[aria-busy='true']:empty { display: flex; min-height: 46px; }

.catalog-layout { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 38px; padding-top: 29px; padding-bottom: 84px; }
.filters { align-self: start; min-width: 0; }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; min-height: 30px; }
.filter-head h2 { margin: 0; font-size: 11px; font-weight: 600; }
.filter-head > button { border: 0; background: none; padding: 7px 0; font-size: 10px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
#facets details { padding: 17px 0; border-top: 1px solid var(--line); }
#facets summary { position: relative; cursor: pointer; list-style: none; padding-right: 24px; font-size: 11px; line-height: 1.45; font-weight: 600; }
#facets summary::-webkit-details-marker { display: none; }
#facets summary::after { content: '+'; position: absolute; right: 1px; top: -2px; color: var(--muted); font-size: 16px; font-weight: 400; }
#facets details[open] summary::after { content: '−'; }
#facets details[open] summary { margin-bottom: 13px; }
.filter-option { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 30px; cursor: pointer; color: #52574d; font-size: 11px; line-height: 1.5; }
.filter-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--ink); }
.filter-option small { min-width: 14px; text-align: right; font-size: 10px; color: var(--subtle); }
.filter-option:hover, .filter-option:has(input:checked) { color: var(--ink); }
.filter-option:has(input:checked) > span { font-weight: 600; }
.filter-option:has(input:disabled) { opacity: .45; cursor: default; }
.filter-note { margin-top: 24px; font-size: 10px; color: var(--muted); line-height: 1.65; }
.mobile-filter-toggle, .mobile-filter-toggle.secondary, #close-filters { display: none; }
.filter-option.unavailable { opacity: .45; cursor: default; }
.filter-option.unavailable:has(input:disabled) { opacity: .45; }
.catalog-content { min-width: 0; }
.result-bar { display: flex; align-items: center; gap: 16px; min-height: 30px; margin: 0 0 21px; }
#result-count { margin: 0 auto 0 0; font-size: 11px; color: var(--muted); }
#result-count strong { color: var(--ink); font-weight: 600; }
.view-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.view-switch button { display: grid; place-items: center; min-width: 31px; height: 30px; padding: 7px; border: 0; background: transparent; color: var(--muted); }
.view-switch button svg { width: 15px; height: 15px; }
.view-switch button[aria-pressed='true'] { background: var(--surface-strong); color: var(--ink); }
#sort { max-width: 185px; min-height: 31px; padding: 6px 25px 6px 10px; border: 1px solid var(--line); background: white; border-radius: 0; font-size: 10px; color: var(--ink); }
#active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#active-filters:not(:empty) { margin: -4px 0 22px; }
.filter-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 29px; padding: 6px 9px; border: 1px solid var(--line); background: var(--surface); font-size: 10px; }
.filter-chip:hover { background: var(--surface-strong); }
.filter-chip button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.catalog-skeleton { min-width: 0; }
.catalog-skeleton > span { display: block; height: 13px; margin-top: 16px; background: var(--surface); }
.catalog-skeleton > span:first-child { width: 100%; height: auto; margin: 0; aspect-ratio: 1; }
.catalog-skeleton > span:nth-child(2) { width: 72%; }
.catalog-skeleton > span:nth-child(3) { width: 54%; }
html.catalog-initial-product #catalog-view:not([hidden]) { display: none; }
#product-loading { display: none; }
html.catalog-initial-product #product-loading { display: block; min-height: 100svh; max-width: var(--page-width); margin: 0 auto; padding: 42px var(--gutter); font-size: 12px; color: var(--muted); }
.product-card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-image { position: relative; display: block; background: var(--surface); overflow: hidden; }
.product-image > a { display: block; text-decoration: none; }
.product-image img { width: 100%; height: auto; padding: 0; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.product-tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 5px 7px; background: rgba(255,255,255,.92); color: #545a4d; font-size: 8px; letter-spacing: .04em; line-height: 1.2; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 0 7px; }
.sku { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.compare-toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 5px 0 5px 7px; background: none; border: 0; font-size: 9px; color: var(--muted); white-space: nowrap; }
.compare-toggle svg { width: 12px; height: 12px; }
.compare-toggle:hover { color: var(--ink); }
.compare-toggle[aria-pressed='true'] { color: var(--accent-dark); font-weight: 600; }
.product-card h2 { margin: 0; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; letter-spacing: -.035em; line-height: 1.35; }
.product-card h2 a { text-decoration: none; }
.product-card h2 a:hover { text-decoration: underline; }
.card-subtitle { margin: 7px 0 16px; font-size: 10px; color: var(--muted); line-height: 1.65; }
.card-specs { margin: auto 0 0; }
.card-specs dl, dl.card-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 16px; }
.card-specs dl { margin: 0; }
.card-specs dl > div, dl.card-specs > div { min-width: 0; }
.card-specs dt { margin-bottom: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.card-specs dd { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.45; }
.card-footer { margin-top: 20px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.card-footer:has(.project-add) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.card-footer .project-add { padding: 5px 0; min-height: 28px; font-size: 10px; white-space: nowrap; }
.view-list .card-footer:has(.project-add) { align-items: flex-start; flex-direction: column; }
.card-footer a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-size: 10px; font-weight: 500; }
.arrow { display: inline-block; font-size: 16px; line-height: 1; transition: transform .16s; }
.card-footer a:hover .arrow { transform: translateX(4px); }
.view-list.product-grid, .view-list .product-grid { grid-template-columns: 1fr; gap: 0; }
.view-list .card-body { display: contents; }
.view-list .product-card { display: grid; grid-template-columns: 148px minmax(0, 1.25fr) minmax(160px, 1fr) 100px; grid-template-rows: auto auto auto; gap: 0 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.view-list .product-card:first-child { padding-top: 0; }
.view-list .product-image { grid-column: 1; grid-row: 1 / 4; align-self: start; }
.view-list .product-tag { left: 6px; bottom: 6px; font-size: 7px; padding: 4px; }
.view-list .card-head { grid-column: 2; grid-row: 1; margin: 4px 0 8px; align-self: start; }
.view-list .product-card h2 { grid-column: 2; grid-row: 2; align-self: center; }
.view-list .card-subtitle { grid-column: 2; grid-row: 3; margin-bottom: 5px; align-self: start; }
.view-list .card-specs { grid-column: 3; grid-row: 1 / 4; margin: 0; align-self: center; }
.view-list .card-footer { grid-column: 4; grid-row: 1 / 4; margin: 0; border: 0; padding: 0; align-self: center; }
.view-list .card-footer a { gap: 12px; line-height: 1.6; }
#empty-state { padding: 76px 28px; background: var(--surface); text-align: center; }
#empty-state h2 { margin: 0 0 12px; font-size: 26px; letter-spacing: -.04em; font-weight: 450; }
#empty-state p { max-width: 460px; margin: 0 auto 22px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.collection-note { margin: 33px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.65; color: var(--muted); }

.primary, .secondary, .text-button, .icon-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; border-radius: 0; font-weight: 500; line-height: 1.4; transition: background .16s, border-color .16s; }
.primary { min-height: 44px; padding: 12px 19px; background: var(--accent); color: var(--ink); border: 1px solid var(--accent); font-size: 11px; }
.primary:hover { background: #98ef22; border-color: #98ef22; }
.secondary { min-height: 44px; padding: 12px 19px; background: transparent; color: var(--ink); border: 1px solid var(--line); font-size: 11px; }
.secondary:hover { border-color: var(--ink); background: var(--surface); }
.text-button { min-height: 36px; padding: 8px 0; background: none; border: 0; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.icon-button { flex: none; width: 38px; height: 38px; padding: 9px; background: transparent; border: 1px solid var(--line); font-size: 20px; }
.icon-button:hover { background: var(--surface); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 25px 0; font-size: 10px; color: var(--muted); line-height: 1.6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb > :last-child { color: var(--ink); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(36px, 5.5vw, 90px); align-items: start; padding: 0 0 54px; }
.product-visual { background: var(--surface); min-width: 0; }
.visual-tabs { display: flex; gap: 5px; padding: 15px 17px; border-bottom: 1px solid #e3e6dc; }
.visual-tabs button { min-height: 33px; padding: 8px 12px; border: 1px solid transparent; font-size: 10px; color: var(--muted); background: transparent; }
.visual-tabs button[aria-pressed='true'], .visual-tabs button[aria-selected='true'] { color: var(--ink); background: white; border-color: var(--line); }
.visual-tabs button:hover { color: var(--ink); }
#visual-stage { display: grid; place-items: center; min-height: 0; padding: 0; }
#visual-stage > img { width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
#visual-stage > svg { width: 100%; height: auto; max-height: 375px; overflow: visible; }
#visual-stage svg text { font-family: 'Inter', sans-serif; }
#visual-stage .drawing-unavailable { max-width: 330px; text-align: center; font-size: 13px; line-height: 1.8; color: var(--muted); }
.visual-caption { margin: 0; padding: 14px 21px; border-top: 1px solid #e3e6dc; font-size: 9px; line-height: 1.6; color: var(--muted); }
.product-intro { padding-top: 10px; }
.product-intro .eyebrow { color: var(--muted); margin-bottom: 20px; }
.product-intro h1 { margin: 0; font-size: clamp(32px, 3.1vw, 48px); font-weight: 450; letter-spacing: -.055em; line-height: 1.08; }
.product-lead { margin: 20px 0 26px; max-width: 530px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.key-specs { margin: 0; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.key-specs dl, dl.key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.key-specs dl { margin: 0; }
.key-specs dt { margin-bottom: 6px; font-size: 10px; color: var(--muted); line-height: 1.5; }
.key-specs dd { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; }
.product-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 24px; }
.product-actions > .primary { flex: 1; }
.product-actions .compare-toggle { padding: 12px 19px; border: 1px solid var(--line); min-height: 44px; font-size: 11px; }
.product-status { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.product-intro > [data-copy-link] { margin-top: 8px; font-size: 10px; }
.product-subnav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 32px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.product-subnav a, .product-subnav button { padding: 20px 0; text-decoration: none; font-size: 11px; font-weight: 500; white-space: nowrap; }
.product-subnav button { border: 0; background: transparent; }
.product-subnav a:hover, .product-subnav button:hover { box-shadow: inset 0 -2px 0 var(--ink); }
.detail-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 5vw, 78px); padding: 58px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 82px; }
.section-heading .eyebrow { margin-bottom: 13px; font-size: 9px; color: var(--muted); }
.section-heading h2 { margin: 0 0 15px; font-size: 30px; font-weight: 450; letter-spacing: -.05em; line-height: 1.18; }
.section-heading p:not(.eyebrow) { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.8; }
.specification-table { min-width: 0; }
.specification-table table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.6; }
.specification-table th, .specification-table td { padding: 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.specification-table tr:first-child th, .specification-table tr:first-child td { padding-top: 0; }
.specification-table tr:last-child th, .specification-table tr:last-child td { border-bottom: 0; }
.specification-table th { width: 43%; padding-right: 28px; font-size: 11px; font-weight: 400; color: var(--muted); }
.specification-table td { overflow-wrap: anywhere; }
.spec-group + .spec-group { margin-top: 29px; }
.spec-group > h3 { margin: 0 0 18px; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 500; letter-spacing: -.02em; }
.system-grid, .documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
.system-card { display: flex; flex-direction: column; align-items: flex-start; padding: 23px 20px; border: 1px solid var(--line); min-width: 0; }
.system-card .step, .system-card > .eyebrow { margin: 0 0 32px; color: var(--muted); font-size: 10px; }
.system-card h3 { margin: 0 0 10px; font-weight: 500; font-size: 17px; letter-spacing: -.035em; line-height: 1.3; }
.system-card p { margin: 0 0 22px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.system-card button, .system-card > a { margin-top: auto; text-align: left; justify-content: flex-start; font-size: 10px; }
.system-card .secondary { padding: 10px 12px; width: 100%; }
.system-note { grid-column: 1 / -1; margin: 3px 0 0; font-size: 10px; line-height: 1.7; color: var(--muted); }
.documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.document-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 180px; padding: 23px; background: var(--surface); border: 1px solid transparent; color: var(--ink); text-align: left; text-decoration: none; }
.document-card h3, .document-card strong { margin: 0 0 10px; font-size: 16px; font-weight: 500; letter-spacing: -.03em; }
.document-card p, .document-card span { margin: 0 0 18px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.document-card button, .document-card a { margin-top: auto; font-size: 10px; }
a.document-card:hover, button.document-card:hover { border-color: var(--ink); }
.document-card > .arrow { margin-top: auto; color: var(--ink); }
.document-note { grid-column: 2; margin: -25px 0 0; font-size: 9px; line-height: 1.7; color: var(--muted); }
details.source-note { margin: 30px 0 52px; max-width: 920px; font-size: 10px; line-height: 1.8; color: var(--muted); }
details.source-note summary { cursor: pointer; width: fit-content; color: #52584b; }
details.source-note p { margin: 12px 0 0; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 29px var(--gutter); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 10px; line-height: 1.7; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer img { width: 82px; height: auto; margin-bottom: 14px; }
.site-footer small { font-size: 9px; color: var(--subtle); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
body:has(#compare-tray:not([hidden])) .site-footer { padding-bottom: 115px; }

#compare-tray { position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(1110px, calc(100% - 44px)); display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #171b14; border-bottom: 2px solid var(--accent); color: white; box-shadow: 0 12px 44px rgba(0,0,0,.16); }
.compare-items { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; }
.compare-chip { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 12px; border-right: 1px solid #474b41; font-size: 10px; line-height: 1.5; }
.compare-chip:last-child { border-right: 0; }
.compare-chip img { width: 40px; height: 40px; padding: 4px; object-fit: contain; background: white; }
.compare-chip strong { display: block; font-size: 11px; font-weight: 500; }
.compare-chip span { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b6bdae; font-size: 9px; }
.compare-chip span strong { color: white; }
.compare-chip small { display: block; overflow: hidden; text-overflow: ellipsis; font-size: inherit; }
.compare-chip button { flex: none; width: 25px; height: 28px; border: 0; background: none; color: #d2d9c9; font-size: 16px; }
#compare-tray > .primary { flex: none; min-height: 41px; font-size: 10px; }
#compare-tray > .secondary, #compare-tray > .text-button { flex: none; min-height: 41px; color: #dde3d6; border-color: #606858; font-size: 10px; }
#compare-tray > .secondary:hover, #compare-tray > .text-button:hover { background: #2b3125; }
dialog { border: 0; padding: 30px; margin: auto; width: min(1260px, calc(100% - 48px)); max-height: calc(100dvh - 64px); background: white; color: var(--ink); box-shadow: 0 20px 80px #0002; }
dialog::backdrop { background: rgba(18,22,15,.5); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; margin-bottom: 24px; }
.dialog-head h2 { margin: 0; font-size: 30px; font-weight: 450; letter-spacing: -.045em; line-height: 1.2; }
.dialog-head p { margin: 8px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.dialog-head > button:not(.icon-button) { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); background: white; font-size: 20px; }
.compare-tools { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 20px; font-size: 11px; color: var(--muted); }
.compare-tools label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.compare-tools input { accent-color: var(--ink); margin: 0; }
.comparison-scroll { overflow: auto; overscroll-behavior-x: contain; }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 11px; line-height: 1.6; }
.comparison-table th, .comparison-table td { min-width: 190px; padding: 15px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th:first-child, .comparison-table td:first-child { position: sticky; left: 0; z-index: 1; width: 190px; min-width: 150px; font-weight: 400; color: var(--muted); background: white; padding-left: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table thead th { font-weight: 500; }
.comparison-table thead img { width: 100%; height: 132px; object-fit: contain; padding: 10px; background: var(--surface); margin: 0 0 17px; }
.comparison-table thead .sku { display: block; margin-bottom: 5px; }
.comparison-table thead th > span { display: block; margin-bottom: 5px; font-size: 10px; }
.comparison-table thead th > small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; }
.comparison-table thead h3, .comparison-table thead a { margin: 4px 0; font-size: 14px; font-weight: 500; letter-spacing: -.025em; text-decoration: none; }
.comparison-table tr.different td { background: #f4faeb; }
.comparison-table tr.different th { color: var(--ink); }
.comparison-table .unavailable { color: var(--subtle); }
#guide-dialog { max-width: 780px; }
#guide-dialog > p, #guide-content > p, #guide-dialog li { font-size: 13px; line-height: 1.8; color: var(--muted); }
#guide-content > a { font-size: 12px; }
#guide-dialog h3 { margin: 28px 0 9px; font-size: 17px; font-weight: 500; letter-spacing: -.03em; }
#guide-dialog .system-card h3 { margin: 0 0 10px; }
#guide-dialog ul, #guide-dialog ol { padding-left: 22px; }
#guide-dialog li + li { margin-top: 8px; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 80; width: max-content; max-width: calc(100% - 36px); padding: 15px 22px; background: var(--ink); color: white; box-shadow: 0 6px 28px #0002; font-size: 12px; line-height: 1.6; text-align: center; pointer-events: none; }
body:has(#compare-tray:not([hidden])) .toast { bottom: 118px; }

@media (min-width: 1700px) {
  .site-header, .site-footer { padding-left: max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))); }
}
@media (max-width: 1200px) {
  :root { --gutter: 32px; }
  .site-header { gap: 28px; }
  .top-nav { gap: 22px; }
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .family-tabs button { padding-left: 10px; padding-right: 10px; font-size: 11px; }
  .catalog-toolbar { gap: 18px; }
  .search-area { max-width: 340px; }
  .product-grid { gap: 28px 17px; }
  .product-card h2 { font-size: 16px; }
  .card-specs dl, dl.card-specs { gap: 9px 10px; }
  .view-list .product-card { grid-template-columns: 120px minmax(0, 1fr) 150px; gap: 0 18px; }
  .view-list .card-footer { grid-column: 2 / 4; grid-row: 4; margin-top: 14px; }
  .view-list .card-footer a { justify-content: flex-start; }
  .product-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr); }
  .detail-section { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
  .system-grid { gap: 10px; }
  .system-card { padding: 20px 16px; }
  .compare-chip span { max-width: 105px; }
}
@media (max-width: 1000px) {
  .edition { display: none; }
  .catalog-toolbar { flex-wrap: wrap; align-items: stretch; gap: 14px; }
  .family-tabs { flex: 1 1 100%; }
  .family-tabs button { padding-left: 17px; padding-right: 17px; }
  .search-area { max-width: none; }
  .catalog-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; gap: 7px 15px; align-items: start; }
  .system-card .step, .system-card > .eyebrow { grid-column: 1; grid-row: 1 / 3; margin: 2px 0 0; }
  .system-card h3 { grid-column: 2; margin: 0; }
  .system-card p { grid-column: 2; margin: 0; }
  .system-card button, .system-card > a { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; max-width: 150px; }
  .view-list .product-card { grid-template-columns: 100px minmax(0, 1fr); gap: 0 17px; }
  .view-list .product-image { grid-row: 1 / 4; }
  .view-list .card-specs { grid-column: 2; grid-row: 4; margin-top: 13px; }
  .view-list .card-specs dl, .view-list dl.card-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-list .card-footer { grid-column: 2; grid-row: 5; }
  .compare-chip img { display: none; }
  .compare-chip span { max-width: 115px; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 76px; gap: 20px; padding-top: 17px; padding-bottom: 17px; }
  .brand img { width: 85px; }
  .brand span { display: none; }
  .top-nav { gap: 17px; }
  .top-nav a { font-size: 10px; }
  .top-nav .text-button { font-size: 10px; }
  .intro { display: block; padding: 26px 0 24px; }
  .intro .eyebrow { margin-bottom: 8px; font-size: 9px; }
  .intro h1 { max-width: 560px; font-size: 34px; }
  .intro .category-description { max-width: 490px; margin-top: 12px; padding-bottom: 0; font-size: 12px; }
  .catalog-toolbar { gap: 15px; padding-bottom: 17px; }
  .family-tabs { overflow: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .family-tabs::-webkit-scrollbar { display: none; }
  .family-tabs button { padding: 11px 14px; min-height: 40px; font-size: 11px; }
  .search-area { flex-basis: calc(100% - 104px); }
  .search-box { min-height: 43px; padding: 0 12px; }
  .search-results { left: 0; right: auto; width: 100%; max-width: 100%; }
  .search-box input { height: 42px; font-size: 11px; }
  .mobile-filter-toggle, .mobile-filter-toggle.secondary { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 32px; padding: 7px 11px; border: 1px solid var(--line); background: white; font-size: 10px; }
  .mobile-filter-toggle[aria-expanded='true'] { background: var(--ink); color: white; border-color: var(--ink); }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 21px; padding-bottom: 50px; }
  .filters { display: none; }
  .filters.is-open { display: block; padding: 18px 20px 4px; margin-bottom: 25px; border: 1px solid var(--line); background: var(--surface); }
  #close-filters { display: flex; justify-content: center; width: 100%; padding: 12px 16px; margin: 16px 0 14px; background: var(--ink); color: white; border: 1px solid var(--ink); font-size: 11px; }
  .filter-head { margin-bottom: 11px; }
  #facets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  #facets details { padding: 15px 0; }
  #facets summary { font-size: 11px; }
  .filter-option { min-height: 33px; }
  .result-bar { gap: 11px; margin-bottom: 19px; }
  #result-count { font-size: 10px; }
  #sort { max-width: 185px; font-size: 9px; }
  .product-grid { column-gap: 17px; row-gap: 29px; }
  .product-card h2 { font-size: 17px; }
  .card-subtitle { font-size: 10px; }
  .card-specs dd { font-size: 11px; }
  .breadcrumb { padding: 19px 0; font-size: 9px; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 35px; }
  .product-visual { max-width: none; }
  #visual-stage > svg { max-height: 310px; }
  .product-intro { padding-top: 0; }
  .product-intro .eyebrow { margin-bottom: 15px; font-size: 10px; }
  .product-intro h1 { max-width: 560px; font-size: 38px; }
  .product-lead { max-width: none; font-size: 12px; margin: 17px 0 21px; line-height: 1.8; }
  .key-specs { padding: 20px 0; }
  .key-specs dl, dl.key-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 28px; }
  .key-specs dd { font-size: 16px; }
  .product-actions { padding-top: 20px; }
  .product-subnav { gap: 28px; overflow: auto; scrollbar-width: none; }
  .product-subnav::-webkit-scrollbar { display: none; }
  .product-subnav a, .product-subnav button { padding: 18px 0; font-size: 10px; }
  .detail-section { grid-template-columns: 1fr; gap: 25px; padding: 34px 0; scroll-margin-top: 65px; }
  .section-heading h2 { margin-bottom: 11px; font-size: 29px; }
  .section-heading p:not(.eyebrow) { max-width: 490px; }
  .section-heading .eyebrow { margin-bottom: 10px; }
  .specification-table table { font-size: 11px; }
  .specification-table th { font-size: 10px; }
  .benchmark-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .benchmark-source-grid { grid-template-columns: 1fr; gap: 15px; }
  .system-card { padding: 20px; }
  .document-card { min-height: 169px; padding: 20px; }
  .document-note { grid-column: 1; margin: -10px 0 0; }
  details.source-note { margin: 25px 0 35px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 23px; padding-bottom: 25px; font-size: 9px; }
  #compare-tray { bottom: 0; width: 100%; padding: 13px var(--gutter); gap: 12px; flex-wrap: wrap; }
  .compare-items { flex-basis: 100%; gap: 7px; }
  .compare-chip { flex: 1; gap: 5px; padding-right: 7px; }
  .compare-chip span { max-width: 135px; font-size: 8px; }
  .compare-chip strong { font-size: 10px; }
  .compare-chip button { margin-left: auto; }
  #compare-tray > .primary { min-height: 36px; padding: 8px 15px; flex: 1; }
  #compare-tray > .secondary, #compare-tray > .text-button { min-height: 36px; padding: 8px 13px; }
  body:has(#compare-tray:not([hidden])) .site-footer { padding-bottom: 160px; }
  body:has(#compare-tray:not([hidden])) .toast { bottom: 141px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 28px); padding: 20px; }
  .dialog-head { gap: 18px; margin-bottom: 20px; }
  .dialog-head h2 { font-size: 26px; }
  .comparison-table th, .comparison-table td { min-width: 178px; padding: 12px; }
  .comparison-table th:first-child, .comparison-table td:first-child { min-width: 123px; width: 123px; font-size: 10px; }
  .comparison-table thead img { height: 115px; }
}
@media (max-width: 480px) {
  .top-nav { gap: 13px; }
  .top-nav a { font-size: 9px; }
  .top-nav .text-button { font-size: 9px; }
  .intro h1 { font-size: 32px; }
  .family-tabs button { padding-left: 13px; padding-right: 13px; }
  .search-area { flex-basis: calc(100% - 98px); }
  .search-box input { font-size: 10px; }
  .mobile-filter-toggle { padding-left: 10px; padding-right: 10px; }
  .result-bar { flex-wrap: wrap; gap: 8px; }
  #result-count { flex: 1; }
  #sort { max-width: 185px; }
  .product-grid { grid-template-columns: 1fr; gap: 33px; }
  .product-tag { left: 15px; bottom: 15px; font-size: 9px; }
  .card-head { margin-top: 16px; margin-bottom: 5px; }
  .sku { font-size: 12px; }
  .compare-toggle { font-size: 10px; min-height: 31px; }
  .product-card h2 { font-size: 21px; }
  .card-subtitle { font-size: 11px; margin: 8px 0 20px; }
  .card-specs dl, dl.card-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
  .card-specs dt { font-size: 10px; }
  .card-specs dd { font-size: 12px; }
  .card-footer { margin-top: 18px; padding-top: 13px; }
  .card-footer a { font-size: 11px; }
  #facets { gap: 0 15px; }
  .filter-option { gap: 6px; font-size: 10px; }
  .filter-option small { font-size: 9px; }
  .filters.is-open { padding-left: 14px; padding-right: 14px; }
  .view-list .product-card { grid-template-columns: 90px minmax(0, 1fr); gap: 0 15px; }
  .view-list .product-card h2 { font-size: 16px; }
  .view-list .card-head { display: block; margin-bottom: 4px; }
  .view-list .compare-toggle { display: flex; padding-left: 0; min-height: 23px; font-size: 8px; }
  .view-list .card-subtitle { font-size: 9px; margin-top: 5px; }
  .view-list .card-specs dt { font-size: 8px; }
  .view-list .card-specs dd { font-size: 10px; }
  .view-list .product-tag { font-size: 6px; }
  .product-intro h1 { font-size: 35px; }
  .product-actions { gap: 8px; }
  .product-actions .primary, .product-actions .secondary, .product-actions .compare-toggle { padding-left: 14px; padding-right: 14px; font-size: 10px; }
  .product-subnav { gap: 23px; }
  .system-card { grid-template-columns: 25px minmax(0, 1fr); gap: 6px 12px; padding: 18px; }
  .system-card h3 { font-size: 17px; }
  .system-card button, .system-card > a { grid-column: 2; grid-row: auto; margin-top: 10px; width: fit-content; max-width: none; }
  .documents-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 160px; }
  .compare-chip span { max-width: 74px; }
  .compare-chip button { width: 18px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  :root { color: black; --gutter: 0; font-size: 10pt; }
  html, body { background: white; min-width: 0; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, .site-footer, #catalog-view, .breadcrumb, .product-subnav, .product-actions,
  .visual-tabs, #compare-tray, dialog, .toast, .source-note, .document-card button,
  .document-card a, .system-card button, .system-card > a, #product-view .text-button, .skip-link { display: none !important; }
  #product-view { padding: 0; max-width: none; }
  #product-view:not([hidden]) { display: block; }
  .product-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9mm; padding-bottom: 7mm; }
  .product-visual { align-self: start; border: 1px solid #ddd; background: #fafafa; }
  #visual-stage { min-height: 0; height: 58mm; padding: 4mm; }
  #visual-stage > img, #visual-stage > svg { height: 49mm; max-height: 49mm; }
  .visual-caption { padding: 3mm; font-size: 6pt; }
  .product-intro { padding: 0; }
  .product-intro .eyebrow { margin-bottom: 3mm; font-size: 7pt; }
  .product-intro h1 { font-size: 24pt; line-height: 1.1; }
  .product-lead { margin: 3mm 0; font-size: 8pt; line-height: 1.6; }
  .key-specs { padding: 3mm 0; }
  .key-specs dl, dl.key-specs { gap: 3mm 5mm; }
  .key-specs dt { font-size: 6.5pt; margin-bottom: 1mm; }
  .key-specs dd { font-size: 9pt; }
  .detail-section { display: block; padding: 6mm 0; break-inside: avoid; }
  .section-heading { margin-bottom: 4mm; }
  .section-heading .eyebrow { display: none; }
  .section-heading h2 { margin-bottom: 2mm; font-size: 17pt; }
  .section-heading p:not(.eyebrow) { max-width: none; font-size: 7pt; line-height: 1.5; }
  .specification-table table { font-size: 8pt; }
  .specification-table th, .specification-table td { padding: 2mm 0; }
  .specification-table th { font-size: 7pt; }
  .spec-group + .spec-group { margin-top: 4mm; }
  .spec-group > h3 { font-size: 9pt; margin-bottom: 3mm; padding-bottom: 2mm; }
  .system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; }
  .system-card { display: block; padding: 3mm; }
  .system-card .step { margin-bottom: 2mm; }
  .system-card h3 { font-size: 10pt; }
  .system-card p { font-size: 7pt; line-height: 1.5; margin: 2mm 0 0; }
  .system-note { font-size: 6.5pt; }
  .documents-grid { display: none; }
  .detail-section:has(.documents-grid) { display: none; }
  a { text-decoration: none; }
  tr, img, svg { break-inside: avoid; }
}
/* A visualização ampliada mantém cotas legíveis também em telas estreitas. */
#visual-stage.is-dimensions{position:relative;min-height:0;aspect-ratio:auto;display:block;padding:0 0 42px}
#visual-stage.is-dimensions>svg{display:block;width:100%;height:auto;max-height:none}
.drawing-expand{position:absolute;bottom:13px;right:22px}
#guide-dialog.drawing-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px}
.drawing-scroll{overflow-x:auto;background:#f6f7f3}
.drawing-scroll svg{display:block;width:100%;min-width:640px;height:auto}
@media print{.drawing-expand{display:none!important}#visual-stage.is-dimensions{padding:0}}

/* PDP: imagens fluidas, na proporção original, e três vistas por referência. */
.visual-tabs { align-items: center; justify-content: space-between; min-height: 53px; }
.visual-tabs > span { color: var(--muted); font-size: 10px; letter-spacing: .035em; }
.visual-tabs button { flex: none; }
#visual-stage:not(.is-dimensions) { width: 100%; aspect-ratio: auto; max-height: none; min-height: 0; padding: 0; }
#visual-stage:not(.is-dimensions) > img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: normal; }
.visual-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0 16px 16px; }
.visual-thumbnails button { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px; border: 1px solid #dce1d6; background: white; text-align: left; cursor: pointer; }
.visual-thumbnails button[aria-pressed='true'] { border-color: #365c23; box-shadow: inset 0 0 0 1px #365c23; }
.visual-thumbnails button:hover { border-color: #365c23; }
.visual-thumbnails img { flex: none; width: 60px; height: 60px; object-fit: contain; }
.visual-thumbnails span { min-width: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.product-draft { display: inline-block; margin: 0 0 18px; padding: 10px 12px; background: #eef6e5; color: #415238; font-size: 10px; line-height: 1.5; }
.description-copy { max-width: 760px; color: var(--ink); font-size: 13px; line-height: 1.8; }
.description-copy p { margin: 0 0 15px; }
.description-copy > p:first-child { font-size: 17px; font-weight: 500; line-height: 1.5; }
.description-copy ul { margin: 12px 0 0; padding-left: 19px; }
.description-copy li { margin: 5px 0; }
.description-copy strong { font-weight: 600; }
.pending-value { color: #78613c; }
.field-note { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.logistics-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.data-details { margin-top: 24px; border-top: 1px solid var(--line); }
.data-details summary { cursor: pointer; padding: 16px 0; font-size: 11px; font-weight: 500; }
.data-details summary:hover { color: #365c23; }
.data-details h3 { margin: 20px 0 14px; font-size: 12px; }
.review-list { margin: 0; padding: 0; list-style: none; }
.review-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.65; }
.review-list li:first-child { border-top: 1px solid var(--line); }
.review-list li::before { content: '•'; position: absolute; left: 3px; color: #608b35; }

@media (max-width: 1200px) {
  .visual-thumbnails button { flex-direction: column; align-items: flex-start; }
  .visual-thumbnails img { width: 100%; height: 70px; }
}
@media (max-width: 760px) {
  .visual-thumbnails { gap: 7px; padding: 0 10px 10px; }
  .visual-thumbnails button { padding: 6px; }
  .visual-thumbnails img { height: 70px; }
  .visual-thumbnails span { font-size: 9px; }
  .description-copy { font-size: 12px; }
  .description-copy > p:first-child { font-size: 15px; }
  .review-list li { font-size: 11px; }
}
@media (max-width: 480px) {
  .visual-tabs { gap: 8px; padding: 12px; }
  .visual-tabs > span { font-size: 9px; }
  .visual-tabs button { padding: 7px; font-size: 9px; }
  .visual-thumbnails img { height: 56px; }
  .visual-thumbnails span { font-size: 8px; }
}
@media print {
  .visual-thumbnails, .data-details summary, .source-note summary { display: none !important; }
  .source-note { display: block !important; }
  #visual-stage:not(.is-dimensions) { max-height: 58mm; aspect-ratio: auto; }
  #visual-stage:not(.is-dimensions) > img { position: static; inset: auto; width: 100%; height: 49mm; }
}

.proposal-tag{display:inline-block;margin:0 0 14px;padding:5px 8px;background:#eef5e7;color:#425933;font-size:11px;}

.buying-summary { padding-top: 6px; }
.buying-summary dl { margin: 0; }
.buying-summary dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.buying-summary dt { font-size: 10px; line-height: 1.7; color: var(--muted); }
.buying-summary dd { margin: 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.buying-summary dd small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.buying-check { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; margin: 0; padding: 14px 0 0; font-size: 11px; line-height: 1.7; }
.buying-check strong { font-size: 10px; font-weight: 500; }
.buying-check > span { color: var(--muted); }
@media (max-width: 760px) {
  .buying-summary dl > div, .buying-check { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}
@media print {
  .buying-summary dl > div, .buying-check { grid-template-columns: 26mm minmax(0, 1fr); gap: 3mm; padding: 2mm 0; }
  .buying-summary dd { font-size: 8pt; }
  .buying-summary dt, .buying-summary dd small, .buying-check, .buying-check strong { font-size: 7pt; }
}

#visual-stage > .image-expand { position: relative; display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.image-expand > img { display: block; width: 100%; height: auto; object-fit: contain; }
.image-expand > span { position: absolute; right: 16px; bottom: 16px; padding: 10px 12px; border: 1px solid var(--line); background: #fffffff2; color: var(--ink); font-size: 11px; }
.image-expand:focus-visible { outline-offset: -4px; }
#image-dialog { width: min(1120px, calc(100% - 32px)); height: min(920px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow: hidden; }
#image-dialog[open] { display: flex; flex-direction: column; }
#image-dialog .dialog-head { flex: none; gap: 20px; margin-bottom: 18px; }
#image-dialog .dialog-head > div { min-width: 0; }
#image-dialog .dialog-head h2 { font-size: clamp(19px, 2.2vw, 28px); }
#image-dialog .dialog-head .eyebrow { margin: 0 0 8px; font-size: 10px; }
#image-dialog .icon-button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 0; background: white; font-size: 20px; }
.image-zoom-stage { position: relative; flex: 1 1 300px; min-height: 100px; overflow: auto; overscroll-behavior: contain; background: var(--surface); }
.image-zoom-stage.is-zoomed { cursor: grab; }
.image-zoom-stage.is-dragging { cursor: grabbing; }
.image-zoom-canvas { width: calc(100% * var(--image-zoom, 1)); height: calc(100% * var(--image-zoom, 1)); min-width: 100%; min-height: 100%; }
.image-zoom-canvas > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; user-select: none; }
.image-zoom-error { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
.image-zoom-controls { display: flex; flex: none; justify-content: space-between; gap: 10px 20px; padding: 12px 0; }
.image-zoom-navigation, .image-zoom-tools { display: flex; align-items: center; gap: 10px; }
#image-gallery-status { min-width: 112px; font-size: 11px; text-align: center; }
.image-zoom-tools output { min-width: 40px; font-size: 12px; text-align: center; }
.image-zoom-tools .text-button { min-height: 44px; padding: 8px; font-size: 11px; }
.image-zoom-thumbnails { display: flex; flex: none; gap: 9px; overflow-x: auto; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.image-zoom-thumbnails > button { flex: 0 0 92px; padding: 7px; border: 1px solid var(--line); background: white; text-align: left; }
.image-zoom-thumbnails > button[aria-pressed='true'] { border-color: #365c23; box-shadow: inset 0 0 0 1px #365c23; }
.image-zoom-thumbnails img { width: 100%; height: 52px; object-fit: contain; }
.image-zoom-thumbnails span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.image-zoom-hint { flex: none; margin: 6px 0 0; font-size: 10px; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) {
  #image-dialog { width: calc(100% - 20px); height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); padding: 14px; }
  #image-dialog .dialog-head { margin-bottom: 12px; gap: 12px; }
  .image-zoom-controls { flex-wrap: wrap; justify-content: center; padding: 8px 0; gap: 6px; }
  .image-zoom-navigation, .image-zoom-tools { justify-content: center; }
  .image-zoom-navigation { flex: 1 1 100%; }
  .image-expand > span { right: 12px; bottom: 12px; font-size: 10px; }
}
@media (max-height: 520px) {
  #image-dialog { padding: 10px; }
  #image-dialog .dialog-head { margin-bottom: 8px; }
  #image-dialog .dialog-head h2 { font-size: 17px; }
  #image-dialog .dialog-head .eyebrow { margin-bottom: 4px; }
  .image-zoom-thumbnails img, .image-zoom-hint { display: none; }
  .image-zoom-thumbnails > button { min-height: 36px; }
  .image-zoom-thumbnails span { margin: 0; }
}
@media (max-height: 520px) and (min-width: 600px) {
  .image-zoom-controls { flex-wrap: nowrap; justify-content: space-between; }
  .image-zoom-navigation { flex: none; }
}
@media print {
  #visual-stage > .image-expand { height: 49mm; }
  .image-expand > img { height: 49mm; }
  .image-expand > span { display: none !important; }
}

.technical-content { min-width: 0; }
.logistics-benchmark { margin-top: 28px; border: 1px solid var(--line); background: var(--surface); }
.logistics-benchmark summary { cursor: pointer; padding: 17px 19px; font-size: 11px; font-weight: 500; }
.logistics-benchmark summary:hover { color: #365c23; }
.benchmark-content { padding: 0 19px 19px; font-size: 10px; line-height: 1.75; }
.benchmark-disclaimer { margin: 0 0 18px; padding: 11px 13px; background: #f0f2eb; color: #444a3d; }
.benchmark-facts { margin: 0; }
.benchmark-facts > div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.5fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.benchmark-facts dt { color: var(--muted); }
.benchmark-facts dd { margin: 0; overflow-wrap: anywhere; }
.benchmark-facts dd small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.benchmark-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.benchmark-source-grid h4 { margin: 0 0 8px; font-size: 10px; }
.benchmark-source-grid p, .benchmark-sources { margin: 0; }
.benchmark-sources { padding-left: 17px; }
.benchmark-sources li + li { margin-top: 6px; }
.benchmark-sources a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.benchmark-status { margin: 18px 0 0; color: var(--muted); font-size: 9px; }
.technical-panel { margin-bottom: 32px; border: 1px solid var(--line); }
.technical-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.technical-panel-head h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.technical-panel-head > span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.technical-panel-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .85fr); }
.technical-figure { min-width: 0; align-self: start; }
.technical-figure > svg { display: block; width: 100%; height: auto; }
.technical-actions { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 10px 20px; border-top: 1px solid var(--line); }
.technical-actions .text-button { min-height: 40px; padding: 8px 0; font-size: 11px; }
.technical-dimensions { min-width: 0; padding: 24px; border-left: 1px solid var(--line); }
.technical-dimensions h4, .technical-pending h4 { margin: 0 0 18px; font-size: 12px; font-weight: 500; }
.technical-dimensions dl { margin: 0; }
.technical-dimensions dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.technical-dimensions dt { color: var(--muted); }
.technical-dimensions dd { margin: 0; overflow-wrap: anywhere; }
.dimension-status { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.dimension-status-pendente, .dimension-status-proposto { color: #765532; }
.technical-dimensions > p { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.technical-empty { padding: 32px 24px; background: var(--surface); }
.technical-empty > span { display: block; margin-bottom: 18px; color: var(--subtle); font-size: 38px; }
.technical-empty h4 { margin: 0 0 12px; font-size: 17px; font-weight: 450; letter-spacing: -.025em; }
.technical-empty p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.technical-pending { padding: 24px; border-top: 1px solid var(--line); }
.technical-pending h4 { margin-bottom: 12px; }
.technical-pending ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.technical-pending li + li { margin-top: 4px; }
.technical-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.technical-files > div { padding: 20px 24px; }
.technical-files > div + div { border-left: 1px solid var(--line); }
.technical-files strong, .technical-files span { display: block; font-size: 11px; line-height: 1.65; }
.technical-files strong { margin-bottom: 5px; font-weight: 500; }
.technical-files span { color: var(--muted); font-size: 10px; }
@media (max-width: 760px) {
  .technical-panel-head { padding: 18px; }
  .technical-panel-grid, .technical-files { grid-template-columns: minmax(0, 1fr); }
  .technical-dimensions { border-left: 0; border-top: 1px solid var(--line); padding: 22px 18px; }
  .technical-actions { padding: 8px 18px; }
  .technical-pending, .technical-files > div { padding: 20px 18px; }
  .technical-files > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media print {
  .technical-actions { display: none !important; }
  .technical-panel { break-inside: avoid; }
}

/* Meus projetos: the existing catalog remains the layout baseline. */
.system-context, .system-selection-note { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.system-selection-note { margin: 18px 0 0; }
.system-selection-note .text-button { font-size: inherit; padding: 0; min-height: 30px; }
.system-product-card { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid var(--line); }
.system-product-image { display: block; margin-bottom: 18px; background: var(--surface); }
.system-product-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.system-product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.system-product-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.system-product-card h3 a { text-decoration: none; }
.system-product-card h3 a:hover { text-decoration: underline; }
.system-product-reason, .system-product-validation { margin: 0 0 16px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.system-product-validation { padding-top: 12px; border-top: 1px solid var(--line); }
.system-product-validation span { display: block; margin-bottom: 4px; font-weight: 500; color: var(--ink); }
.system-product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; margin-top: auto; }
.system-product-actions .text-button { min-height: 36px; padding: 5px 0; font-size: 11px; }
.system-empty { grid-column: 1 / -1; padding: 24px; border: 1px solid var(--line); }
.system-empty h3 { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.system-empty p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
@media (min-width: 481px) and (max-width: 1000px) {
  .system-product-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0 20px; }
  .system-product-image { grid-column: 1; grid-row: 1 / 6; margin-bottom: 0; align-self: start; }
  .system-product-card > :not(.system-product-image) { grid-column: 2; }
}
@media print {
  .system-product-image { max-width: 32mm; }
  .system-product-actions, .system-selection-note { display: none !important; }
}
.project-entry { white-space: nowrap; }
#project-count { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; margin-left: 4px; padding: 0 4px; border-radius: 50%; background: var(--surface-strong); font-size: 10px; }
#project-dialog { width: min(820px, calc(100% - 48px)); }
#project-intro, #project-storage, .project-footer > p, #project-quote > p { font-size: 12px; color: var(--muted); line-height: 1.65; }
.project-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) 94px; gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-item > img { width: 88px; height: 88px; object-fit: contain; background: var(--surface); }
.project-item h3 { margin: 7px 0; font-size: 15px; font-weight: 500; line-height: 1.45; }
.project-item h3 a { text-decoration: none; }
.project-item h3 a:hover { text-decoration: underline; }
.project-item p { margin: 5px 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.project-item .text-button { min-height: 30px; padding: 5px 0; font-size: 11px; }
.project-quantity { display: grid; gap: 8px; font-size: 10px; color: var(--muted); }
.project-quantity input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-size: 14px; cursor: text; }
.project-quantity input:invalid { border-color: #af350e; }
.project-empty { padding: 35px 15px; text-align: center; background: var(--surface); }
.project-empty h3 { font-size: 20px; font-weight: 450; }
.project-empty p { font-size: 12px; line-height: 1.65; color: var(--muted); }
.project-footer { padding-top: 14px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
#project-dialog .project-actions .primary, #project-dialog .project-actions .secondary { min-width: 0; text-align: center; }
#project-storage { font-size: 10px; }
#project-quote { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
#project-quote h3 { font-size: 23px; letter-spacing: -.04em; font-weight: 450; }
#project-summary { display: block; width: 100%; min-height: 240px; padding: 15px; resize: vertical; border: 1px solid var(--line); color: var(--ink); background: var(--surface); font-size: 12px; line-height: 1.7; }
#project-copy-status { min-height: 20px; color: var(--ink); }
@media (max-width: 760px) {
  #project-dialog { width: calc(100% - 24px); }
  .project-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .project-item > img { width: 64px; height: 64px; }
  .project-quantity { grid-column: 2; display: flex; align-items: center; justify-content: space-between; }
  .project-quantity input { max-width: 85px; font-size: 16px; }
  #project-summary { font-size: 16px; }
}
@media (max-width: 480px) {
  .site-header:has(.project-entry) { gap: 12px; }
  .top-nav:has(.project-entry) { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  #project-count { min-width: 16px; height: 16px; margin-left: 2px; font-size: 9px; }
  #project-dialog .project-actions > * { flex: 1 1 100%; }
}

/* Image feedback preserves the original photo dimensions and the card layout. */
[data-image-state] { position: relative; }
[data-image-state='loading'] [data-feedback-image],
[data-image-state='error'] [data-feedback-image] { opacity: 0; }
.image-loading, .image-failure { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--surface); color: var(--muted); text-align: center; font-size: 11px; line-height: 1.5; }
.image-loading { pointer-events: none; background: linear-gradient(105deg, var(--surface) 25%, #fafbf8 42%, var(--surface) 65%); background-size: 250% 100%; animation: image-shimmer 1.8s linear infinite; }
.image-loading i { display: block; width: 24px; height: 24px; border: 1px solid var(--line); border-top-color: var(--accent-dark); border-radius: 50%; animation: image-spin 1s linear infinite; }
.image-failure strong { color: var(--ink); font-size: 12px; font-weight: 550; }
.image-failure p { margin: 0; }
.image-failure button { flex: none; margin-top: 3px; background: var(--paper); }
#visual-stage .image-expand:disabled { opacity: 1; cursor: default; }
#visual-stage[data-image-state='loading'] .image-expand > span,
#visual-stage[data-image-state='error'] .image-expand > span { visibility: hidden; }
.view-list .image-failure { gap: 5px; padding: 8px; }
.view-list .image-failure p { display: none; }
.view-list .image-failure strong { font-size: 10px; }
.view-list .image-failure button { min-height: 32px; padding: 5px 7px; font-size: 9px; }
.view-list .product-image[data-image-state='error'] { min-height: 110px; }
@keyframes image-shimmer { to { background-position: -250% 0; } }
@keyframes image-spin { to { transform: rotate(360deg); } }
@media print { .image-loading, .image-failure { display: none !important; } }

/* Approved improvements 11–20 retain the catalog's existing composition. */
.copy-sku { border: 0; background: none; padding: 3px 6px; color: var(--muted); font: inherit; font-size: 13px; margin-left: 4px; min-height: 28px; cursor: pointer; }
.product-copy-sku { margin-left: 12px; font-size: 9px; letter-spacing: 0; }
.result-bar:has(.share-selection) { flex-wrap: wrap; }
.share-selection { font-size: 10px; padding: 8px 0; }
.top-nav:has(.recent-entry) { flex-wrap: wrap; }
.recent-entry { font-size: 10px; }
.product-variants { padding: 14px 0; margin: 12px 0 20px; border-block: 1px solid var(--line); }
.product-variants h3 { font-size: 11px; margin: 0 0 10px; font-weight: 500; }
.product-variants > div { display: flex; gap: 8px; flex-wrap: wrap; }
.product-variants .secondary { font-size: 10px; padding: 8px 12px; min-height: 38px; }
.product-variants [aria-pressed=true] { border-color: var(--ink); background: var(--surface); font-weight: 600; }
.product-variants p { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; }
.search-recovery { padding: 22px 18px; background: #edf5e3; border: 1px solid #c5d8aa; margin: 0 0 22px; text-align: left; }
.search-recovery h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.search-recovery .secondary { font-size: 11px; margin: 8px 8px 0 0; }
.search-recovery p { font-size: 11px !important; margin: 10px 0 !important; max-width: none !important; }
.technical-term { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #849376; border-radius: 50%; width: 20px; height: 20px; min-width: 20px; background: white; color: #315213; font-size: 11px; line-height: 1; vertical-align: middle; margin-left: 6px; padding: 0; cursor: pointer; }
.catalog-help-dialog { max-width: 760px; width: calc(100% - 36px); padding: 24px; max-height: 90vh; overflow: auto; }
.catalog-help-dialog::backdrop { background: #10141080; }
.catalog-help-dialog h2 { font-size: 23px; }
.catalog-help-dialog p { font-size: 12px; color: var(--muted); line-height: 1.75; }
.catalog-help-dialog textarea { width: 100%; padding: 12px; font: inherit; font-size: 12px; border: 1px solid var(--line); margin-top: 12px; }
.recent-products { display: grid; gap: 8px; margin: 20px 0; }
.recent-products button { display: flex; align-items: center; gap: 16px; text-align: left; background: white; border: 1px solid var(--line); padding: 12px; font: inherit; color: var(--ink); cursor: pointer; }
.recent-products img { width: 64px; height: 64px; object-fit: contain; background: var(--surface); }
.recent-products span { flex: 1; min-width: 0; font-size: 12px; line-height: 1.6; }
.recent-products strong { display: block; font-size: 10px; color: var(--muted); }
.recent-products b { font-weight: 400; }
.recent-storage-note { font-size: 10px !important; }
.technical-definition { font-size: 14px !important; }
.strip-calculator { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.strip-calculator h3 { font-size: 17px; font-weight: 500; letter-spacing: -.03em; margin: 0 0 9px; }
.strip-calculator > p { font-size: 11px; line-height: 1.65; color: var(--muted); }
.strip-calculator > label { display: flex; align-items: center; gap: 16px; font-size: 11px; margin-top: 15px; }
.strip-calculator input { width: 90px; padding: 10px; border: 1px solid var(--line); font: inherit; color: var(--ink); }
#strip-calculation dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; background: var(--surface); margin: 16px 0; }
#strip-calculation dl div { min-width: 0; }
#strip-calculation dt { font-size: 9px; color: var(--muted); }
#strip-calculation dd { margin: 7px 0 0; font-size: 20px; }
#strip-calculation, #project-pdf-status { font-size: 12px; }
.calculator-note { font-size: 10px !important; line-height: 1.7; }
@media (max-width: 520px) {
  .catalog-help-dialog { padding: 18px; width: calc(100% - 22px); }
  .strip-calculator > label { flex-wrap: wrap; }
  .product-variants .secondary { font-size: 9px; }
  .catalog-help-dialog .dialog-head { gap: 10px; }
}
@media print { .copy-sku, .product-copy-sku, .technical-term, .share-selection, .recent-entry { display: none !important; } }

/* Saved selections use the existing toolbar and native project dialogs. */
.result-bar:has(.saved-search-tools) { flex-wrap: wrap; }
.saved-search-tools { display: flex; gap: 14px; flex-wrap: wrap; }
.saved-search-tools .text-button { font-size: 10px; padding: 8px 0; }
#save-search-form label, .project-import-field { display: grid; gap: 9px; font-size: 12px; margin: 18px 0; }
#saved-search-name { width: 100%; padding: 12px; border: 1px solid var(--line); font: inherit; color: var(--ink); background: var(--paper); }
.saved-search-list article { display: flex; gap: 16px; align-items: start; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.saved-search-list article > div { min-width: 0; }
.saved-search-list h3 { font-size: 15px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.saved-search-list p, .saved-search-summary { overflow-wrap: anywhere; }
.saved-search-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.saved-search-actions .secondary, .saved-search-actions .text-button { font-size: 11px; min-width: 0; }
.project-import-field input { max-width: 100%; font: inherit; }
#project-import-text { resize: vertical; margin: 0; }
.import-table-scroll { max-width: 100%; overflow-x: auto; margin: 18px 0; }
.import-table-scroll table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 12px; text-align: left; }
.import-table-scroll th, .import-table-scroll td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.import-table-scroll th { font-weight: 500; }
.import-table-scroll small { display: block; font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
@media (max-width: 520px) {
  .saved-search-list article { flex-direction: column; }
  #saved-search-name, #project-import-text { font-size: 16px; }
}
@media print { .saved-search-tools { display: none !important; } }

.visual-light-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;font-size:12px}.visual-light-controls[hidden]{display:none}.visual-light-controls>span{margin-right:6px;color:#62665c}.visual-light-controls button{border:1px solid #cfd3c9;background:#fff;color:#111;padding:10px 14px;cursor:pointer;font:inherit}.visual-light-controls button[aria-pressed=true]{background:#a6ff2e;border-color:#111}.visual-light-controls button:focus-visible{outline:2px solid #111;outline-offset:3px}
