:root {
  --ink: #17201d;
  --muted: #68756f;
  --line: #dce3df;
  --soft: #f3f6f4;
  --green: #087a5b;
  --green-dark: #045b44;
  --green-soft: #e5f4ee;
  --cyan: #14849a;
  --blue: #376a9b;
  --amber: #ad711a;
  --amber-soft: #fff3d9;
  --red: #b6403b;
  --red-soft: #fdebea;
  --white: #fff;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #eef2ef;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #eef2ef; }
body { margin: 0; min-height: 100vh; background: #eef2ef; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 15px; color: #d8e6df; background: #172923; border-right: 1px solid #273b34; z-index: 20; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 7px 24px; border-bottom: 1px solid #2d413a; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 13px; font-weight: 900; letter-spacing: 0; }
.brand-lockup strong, .brand-lockup span { display: block; letter-spacing: 0; }
.brand-lockup strong { color: #fff; font-size: 14px; }
.brand-lockup div > span { margin-top: 3px; color: #89a098; font-size: 9px; text-transform: uppercase; }
.side-nav { display: grid; gap: 5px; margin-top: 22px; }
.nav-button { min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-left: 2px solid transparent; color: #a8bbb4; background: transparent; text-align: left; font-size: 12px; font-weight: 650; }
.nav-button:hover { color: #fff; background: #21362f; }
.nav-button.active { color: #fff; background: #244039; border-left-color: #35c598; }
.nav-icon { width: 20px; color: #70aa96; font-size: 15px; text-align: center; }
.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 16px 9px 0; border-top: 1px solid #2d413a; color: #91a69e; font-size: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #45d39f; box-shadow: 0 0 0 4px rgba(69, 211, 159, .08); }

.main-shell { min-width: 0; }
.topbar { min-height: 86px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 15px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.topbar > div:nth-child(2) { min-width: 0; }
.topbar h1 { margin: 2px 0 0; font-size: 23px; line-height: 1.2; letter-spacing: 0; }
.eyebrow { margin: 0; color: var(--green); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sync-label { color: var(--muted); font-size: 10px; white-space: nowrap; }
.primary-button, .secondary-button, .text-button, .product-detail-button { min-height: 36px; border: 1px solid transparent; padding: 0 14px; font-size: 11px; font-weight: 800; }
.primary-button { color: #fff; background: var(--green); }
.primary-button:hover { background: var(--green-dark); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.secondary-button { color: var(--green); background: #fff; border-color: #bfcfc8; }
.secondary-button:hover { border-color: var(--green); }
.text-button { padding: 0; color: var(--green); background: transparent; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: #45534d; background: #fff; font-size: 16px; }
.menu-button { display: none; }

.view { display: none; padding: 26px clamp(20px, 3vw, 40px) 48px; }
.view.active { display: block; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); background: #fff; }
.metric { min-width: 0; position: relative; display: grid; gap: 4px; padding: 18px 20px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric::after { width: 3px; position: absolute; inset: 0 auto 0 0; background: var(--green); content: ""; }
.metric-2::after { background: var(--cyan); }.metric-3::after { background: var(--blue); }.metric-4::after { background: var(--amber); }
.metric span, .metric small { color: var(--muted); font-size: 10px; }
.metric strong { font-size: 26px; line-height: 1; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr); gap: 18px; margin-top: 18px; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--line); }
.panel-head { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2, .toolbar h2, .settings-panel h2 { margin: 3px 0 0; font-size: 16px; letter-spacing: 0; }
.legend { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.position-map { height: 365px; position: relative; overflow: hidden; margin: 18px 24px 26px 46px; border-left: 1px solid #9ba9a3; border-bottom: 1px solid #9ba9a3; background: linear-gradient(to right, transparent calc(50% - .5px), #e8ecea 50%, transparent calc(50% + .5px)), linear-gradient(to top, transparent calc(50% - .5px), #e8ecea 50%, transparent calc(50% + .5px)); }
.position-map::before, .position-map::after { position: absolute; color: #82908a; font-size: 9px; }
.position-map::before { content: "基础便携"; left: 9px; bottom: 8px; }.position-map::after { content: "轻量高防护"; right: 9px; top: 8px; }
.position-map[data-mode="catalog"]::before { content: "清单起点"; }
.position-map[data-mode="catalog"]::after { content: "清单末项"; }
.mobile-position-list { display: none; }
.axis-y { position: absolute; left: -43px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: top left; color: var(--muted); font-size: 9px; white-space: nowrap; }
.axis-x { position: absolute; right: 0; bottom: -21px; color: var(--muted); font-size: 9px; }
.map-bubble { width: 52px; height: 52px; position: absolute; transform: translate(-50%, 50%); display: grid; place-items: center; padding: 6px; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 5px 18px rgba(18, 50, 39, .16); text-align: center; }
.map-bubble:hover { z-index: 2; transform: translate(-50%, 50%) scale(1.08); }
.map-bubble span { font-size: 10px; font-weight: 900; }.map-bubble small { max-width: 54px; font-size: 7px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble-1 { background: #39769e; }.bubble-2 { background: #16839a; }.bubble-3 { background: #9b6b25; }.bubble-4 { background: #80619a; }.bubble-5 { background: #4c7568; }

.watch-list { display: grid; }
.watch-item { width: 100%; min-height: 87px; display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 11px; align-items: start; padding: 15px 17px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: #fff; text-align: left; }
.watch-item:hover { background: #f8faf9; }
.watch-item strong { display: block; font-size: 11px; line-height: 1.4; }.watch-item p { display: -webkit-box; margin: 5px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.watch-item time { color: #87938e; font-size: 8px; white-space: nowrap; }
.severity-dot { width: 8px; height: 8px; display: inline-block; margin-top: 3px; border-radius: 50%; background: #9aa6a0; }.severity-dot.high { background: var(--red); }.severity-dot.medium { background: var(--amber); }.severity-dot.low { background: var(--blue); }.severity-dot.baseline { background: var(--green); }
.capability-chart { padding: 16px 18px 20px; }
.chart-legend { display: flex; justify-content: flex-end; gap: 13px; margin-bottom: 12px; color: var(--muted); font-size: 8px; }.chart-legend span { display: flex; align-items: center; gap: 4px; }.chart-legend i { width: 8px; height: 4px; }
.capability-row { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 11px; align-items: center; margin: 9px 0; }.capability-row strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.capability-bars { display: grid; gap: 3px; }.capability-bars i { height: 5px; display: block; }
.bar-resolution { background: var(--green); }.bar-fov { background: var(--cyan); }.bar-workflow { background: var(--amber); }
.evidence-status { padding: 16px 18px; }.evidence-row { margin-bottom: 13px; }.evidence-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 9px; }.evidence-row span { color: var(--muted); }.progress-track { height: 5px; overflow: hidden; background: #e6ebe8; }.progress-track i { height: 100%; display: block; background: var(--green); }.evidence-note { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.55; }

.toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.search-box { width: min(440px, 100%); min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: #fff; }.search-box span { color: var(--muted); }.search-box input { width: 100%; border: 0; outline: 0; font-size: 11px; }
select, input, textarea { width: 100%; border: 1px solid #cdd7d2; background: #fff; color: var(--ink); outline: 0; }.toolbar select { width: 180px; min-height: 40px; padding: 0 10px; font-size: 11px; }.result-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.product-grid { display: grid; gap: 22px; }
.brand-group { min-width: 0; }
.brand-group-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 3px 11px; border-bottom: 2px solid var(--ink); }.brand-group-head p { margin: 0 0 3px; color: var(--green); font-size: 8px; font-weight: 900; }.brand-group-head h2 { margin: 0; font-size: 19px; }.brand-group-head > span { color: var(--muted); font-size: 9px; font-weight: 800; }
.brand-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding-top: 14px; }
.product-card { min-width: 0; display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.product-image { min-height: 250px; height: 250px; align-self: start; position: relative; display: grid; place-items: center; padding: 18px; background: #f2f5f3; }.product-image img { width: 100%; height: 100%; max-height: 230px; object-fit: contain; }.verification { position: absolute; top: 11px; right: 11px; padding: 5px 7px; color: var(--amber); background: var(--amber-soft); font-size: 8px; font-weight: 850; }.verification.verified { color: var(--green); background: var(--green-soft); }.image-source { position: absolute; right: 9px; bottom: 8px; left: 9px; color: #6f7c76; font-size: 7px; text-align: center; }
.product-card-body { min-width: 0; display: flex; flex-direction: column; padding: 15px 18px 17px; }.product-brand { display: flex; justify-content: flex-end; color: var(--green); font-size: 9px; font-weight: 850; }.product-brand span { color: var(--muted); font-weight: 700; }.product-card h3 { margin: 3px 0 1px; font-size: 18px; }.card-parameter-summary { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }.card-parameter-summary div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }.card-parameter-summary dt { color: var(--muted); font-size: 8px; }.card-parameter-summary dd { margin: 0; font-size: 9px; font-weight: 750; line-height: 1.45; }.pending-value { color: #8d6b27; font-weight: 650 !important; }.product-evidence-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin-top: 13px; background: var(--line); }.product-evidence-summary span { padding: 8px; color: var(--muted); background: var(--soft); font-size: 8px; }.product-evidence-summary strong { margin-right: 3px; color: var(--green); font-size: 11px; }.product-detail-button { width: 100%; margin-top: 14px; padding-top: 12px; color: var(--green); border-color: #bdd0c7; background: #fff; }.product-detail-button:hover { color: #fff; background: var(--green); }

.segmented { display: flex; border: 1px solid var(--line); background: #fff; }.segmented button { min-height: 34px; padding: 0 13px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 10px; }.segmented button:last-child { border-right: 0; }.segmented button.active { color: #fff; background: var(--green); }
.event-list { max-width: 980px; }.event-card { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; }.event-timeline { display: grid; grid-template-rows: auto 1fr; justify-items: center; }.event-timeline i { width: 1px; height: 100%; background: var(--line); }.event-body { margin-bottom: 15px; padding: 17px 19px; border: 1px solid var(--line); background: #fff; }.event-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; }.event-meta span { color: var(--green); font-weight: 850; }.event-meta b { padding: 3px 6px; background: var(--soft); font-weight: 750; }.event-meta time { margin-left: auto; }.event-body h3 { margin: 10px 0 6px; font-size: 14px; }.event-body > p { margin: 0; color: #53615a; font-size: 10px; line-height: 1.65; }.event-recommendations { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }.event-recommendations span { padding: 5px 7px; border-left: 2px solid var(--green); background: var(--green-soft); color: #315849; font-size: 9px; }.event-body a { color: var(--green); font-size: 9px; font-weight: 850; text-decoration: none; }.event-source { display: grid; gap: 5px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }.event-source strong { color: var(--muted); font-size: 9px; }.event-source a { overflow-wrap: anywhere; word-break: break-word; font-weight: 650; line-height: 1.5; }

.source-list { display: grid; border: 1px solid var(--line); background: #fff; }.source-row { min-height: 77px; display: grid; grid-template-columns: minmax(220px,1.4fr) 80px minmax(170px,1fr) auto; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }.source-row:last-child { border-bottom: 0; }.source-id, .source-health { min-width: 0; display: flex; align-items: center; gap: 11px; }.source-id > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid #bfd0c8; color: var(--green); background: #f6faf8; font-size: 8px; font-weight: 900; }.source-id strong, .source-health strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.source-id p, .source-health p { margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.source-type { width: max-content; padding: 4px 7px; background: var(--soft); color: #53615b; font-size: 8px; font-weight: 800; }.source-status { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #9aa6a0; }.source-status.active { background: var(--green); }.source-status.error { background: var(--red); }.source-row > a { color: var(--green); font-size: 9px; font-weight: 850; text-decoration: none; white-space: nowrap; }

.workflow-board { min-width: 880px; display: grid; grid-template-columns: repeat(4,minmax(210px,1fr)); gap: 12px; }.view[data-view-panel="workflow"] { overflow-x: auto; }.workflow-column { background: #e8eeea; border-top: 3px solid #9eaaa4; }.workflow-column:nth-child(2) { border-color: var(--blue); }.workflow-column:nth-child(3) { border-color: var(--amber); }.workflow-column:nth-child(4) { border-color: var(--green); }.workflow-column-head { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #d1dad5; }.workflow-column-head strong { font-size: 10px; }.workflow-column-head span { width: 22px; height: 22px; display: grid; place-items: center; background: #fff; font-size: 9px; }.workflow-column-body { min-height: 430px; padding: 10px; }.idea-card { margin-bottom: 9px; padding: 13px; border: 1px solid var(--line); background: #fff; }.idea-theme { color: var(--green); font-size: 8px; font-weight: 850; }.idea-card h3 { margin: 6px 0; font-size: 12px; line-height: 1.4; }.idea-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.idea-footer { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 7px; color: var(--muted); font-size: 8px; }.column-empty { margin: 20px 0; color: #8a9690; text-align: center; font-size: 9px; }

.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 1000px; }.settings-panel { padding: 21px; }.settings-panel > p:not(.eyebrow) { color: var(--muted); font-size: 10px; }.settings-panel form { display: flex; align-items: end; gap: 10px; margin-top: 19px; }.settings-panel label, .dialog-form label, .editable-grid label { display: grid; gap: 6px; color: #4a5751; font-size: 9px; font-weight: 750; }.settings-panel input { min-height: 37px; padding: 0 10px; }.button-row { display: flex; gap: 8px; margin-top: 19px; }.file-button { display: grid; place-items: center; }.file-button input { display: none; }.full-span { grid-column: 1 / -1; }.rule-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 17px; background: var(--line); }.rule-grid div { min-height: 110px; padding: 16px; background: var(--soft); }.rule-grid strong { display: block; margin-bottom: 7px; font-size: 10px; }.rule-grid span { color: var(--muted); font-size: 9px; line-height: 1.6; }

.dialog { width: min(720px, calc(100vw - 28px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; border: 0; background: #fff; box-shadow: 0 24px 70px rgba(15,35,27,.3); }.dialog::backdrop { background: rgba(14, 31, 25, .6); }.dialog-close { width: 34px; height: 34px; position: sticky; top: 10px; float: right; z-index: 2; margin: 10px 10px -44px 0; border: 1px solid var(--line); color: #4b5852; background: #fff; font-size: 20px; }.dialog-form { display: grid; gap: 13px; padding: 27px; }.dialog-form h2 { margin: 4px 0 7px; }.dialog-form input, .dialog-form select { min-height: 38px; padding: 0 10px; }.dialog-form textarea { min-height: 90px; padding: 9px 10px; resize: vertical; }.dialog-form .primary-button { margin-top: 7px; }
.product-dialog { width: min(1080px, calc(100vw - 28px)); }.product-detail-head { min-height: 240px; display: grid; grid-template-columns: minmax(280px,.9fr) minmax(320px,1.1fr); align-items: center; border-bottom: 1px solid var(--line); background: #eef3f0; }.detail-image { height: 240px; display: grid; place-items: center; padding: 24px; }.detail-image img { width: 100%; height: 100%; object-fit: contain; }.product-detail-head > div:last-child { padding: 30px 38px; }.product-detail-head h2 { margin: 7px 0; font-size: 29px; }.product-detail-head p:not(.eyebrow) { color: var(--muted); font-size: 11px; }.detail-status-line { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 2px; }.detail-status-line span { padding: 5px 7px; color: #315c4c; background: #dfece6; font-size: 8px; font-weight: 800; }.evidence-source-link { width: max-content; display: inline-flex; align-items: center; color: var(--green); font-size: 9px; font-weight: 850; line-height: 1.45; text-decoration: none; }.evidence-source-link:hover { text-decoration: underline; }.evidence-source-link.manual { color: #255f72; }.evidence-source-link.regulatory { color: #1e6652; }.evidence-source-link.baseline { color: #8a6421; }.product-detail-head .evidence-source-link { margin-top: 13px; font-size: 10px; }.evidence-sections { background: #fff; }.evidence-section { border-bottom: 1px solid var(--line); }.evidence-section > summary { min-height: 70px; display: grid; grid-template-columns: minmax(0,1fr) auto 24px; gap: 17px; align-items: center; padding: 0 27px; cursor: pointer; list-style: none; }.evidence-section > summary::-webkit-details-marker { display: none; }.evidence-section > summary span { font-size: 15px; font-weight: 850; }.evidence-section > summary small { color: var(--muted); font-size: 10px; font-weight: 750; }.evidence-section > summary i { color: var(--green); font-size: 23px; font-style: normal; text-align: center; transition: transform .18s ease; }.evidence-section[open] > summary i { transform: rotate(45deg); }.evidence-section[open] > summary { border-bottom: 1px solid var(--line); }.evidence-section-body { padding: 22px 27px 26px; }.parameter-evidence-list { margin: 0; }.parameter-evidence-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 110px; gap: 16px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); }.parameter-evidence-row:first-child { padding-top: 0; }.parameter-evidence-row:last-child { padding-bottom: 0; border-bottom: 0; }.parameter-evidence-row dt { color: var(--muted); font-size: 9px; }.parameter-evidence-row dd { margin: 0; font-size: 10px; line-height: 1.55; }.parameter-evidence-row > div { display: flex; justify-content: flex-end; }.advantage-evidence-list { margin: 0; padding: 0; list-style: none; }.advantage-evidence-list li { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }.advantage-evidence-list li:last-child { border-bottom: 0; }.advantage-evidence-list span { color: #435149; font-size: 10px; line-height: 1.55; }.registration-record { padding: 18px 0 0; }.registration-record:first-child { padding-top: 0; }.registration-record + .registration-record { margin-top: 22px; border-top: 1px solid var(--line); }.registration-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }.registration-head span { display: block; margin-bottom: 9px; color: #4d6158; font-size: 11px; font-weight: 800; }.registration-head a { color: var(--green); font-size: 15px; font-weight: 900; text-decoration: none; }.registration-head b { padding: 6px 9px; color: #23604b; background: var(--green-soft); font-size: 8px; white-space: nowrap; }.registration-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 30px; margin: 20px 0 0; }.registration-fields div { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 10px; }.registration-fields dt { color: var(--muted); font-size: 9px; }.registration-fields dd { margin: 0; font-size: 10px; line-height: 1.45; }.registration-record > p { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.6; }.manual-records { display: grid; gap: 0; }.manual-record { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }.manual-record:last-child { border-bottom: 0; }.manual-record strong { display: block; margin-bottom: 7px; font-size: 11px; }.manual-record span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }.manual-record span b { padding: 4px 7px; color: var(--green); background: var(--green-soft); font-size: 8px; }.manual-record small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }.section-empty { padding: 5px 0; }.section-empty strong { display: block; font-size: 11px; }.section-empty p { margin: 8px 0 12px; color: var(--muted); font-size: 9px; line-height: 1.6; }.evidence-status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-bottom: 18px; background: var(--line); }.evidence-status-grid div { min-width: 0; padding: 12px; background: var(--soft); }.evidence-status-grid span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 8px; }.evidence-status-grid strong { display: block; overflow-wrap: anywhere; font-size: 10px; line-height: 1.45; }.evidence-box { padding: 14px 16px; border-left: 3px solid var(--green); background: var(--green-soft); }.evidence-box strong { font-size: 10px; }.evidence-box p { margin: 7px 0 10px; color: #3e5e51; font-size: 9px; line-height: 1.65; }.editable-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); }.editable-grid > form { display: grid; align-content: start; gap: 11px; padding: 23px; background: #fff; }.editable-grid h3 { margin: 0 0 15px; font-size: 14px; }.editable-grid form > p, .editable-grid small { margin: -8px 0 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }.editable-grid input { min-height: 37px; padding: 0 9px; }.editable-grid textarea { min-height: 68px; padding: 8px 9px; resize: vertical; }
.evidence-image { margin: 14px 0 0; padding: 9px; border: 1px solid var(--line); background: var(--soft); }.evidence-image img { width: 100%; max-height: 180px; display: block; object-fit: contain; background: #fff; }.evidence-image figcaption { margin-top: 7px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.card-parameter-summary dt { font-size: 9px; }.card-parameter-summary dd { font-size: 10px; }.product-evidence-summary span { font-size: 9px; }.product-evidence-summary strong { font-size: 12px; }
.evidence-source-link { width: fit-content; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.detail-evidence-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 18px; border: 1px solid #d2dfd9; background: #d2dfd9; }
.detail-evidence-overview div { min-width: 0; padding: 10px 11px; background: rgba(255,255,255,.72); }
.detail-evidence-overview strong { display: block; color: var(--green); font-size: 15px; line-height: 1.2; }
.detail-evidence-overview span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.parameter-evidence-row dt { font-size: 10px; }.parameter-evidence-row dd { font-size: 11px; }.parameter-evidence-row .evidence-source-link { font-size: 10px; }
.registration-fields dd { font-size: 11px; }.registration-actions { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.manual-record strong { font-size: 12px; }.manual-record span { font-size: 10px; }.manual-record small { font-size: 9px; }

/* Reference-style desktop shell: a dark green masthead with a horizontal information architecture. */
@media (min-width: 761px) {
  body { background: #f5f8f6; }
  .app-shell { display: block; }
  .sidebar { width: 100%; height: 112px; position: relative; display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 2.2fr) auto; align-items: center; gap: 24px; padding: 14px clamp(20px, 6vw, 94px); border-right: 0; background: #14231e; }
  .brand-lockup { padding: 0; border-bottom: 0; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; background: #3b795f; font-size: 18px; }
  .brand-lockup strong { font-size: 21px; letter-spacing: .02em; }
  .brand-lockup div > span { color: #9cb7aa; font-size: 11px; }
  .side-nav { display: flex; justify-content: space-between; align-self: stretch; gap: 6px; margin: 0; }
  .nav-button { min-height: 100%; justify-content: center; padding: 0 22px; border-left: 0; border-bottom: 3px solid transparent; color: #b3c7bd; font-size: 15px; white-space: nowrap; }
  .nav-button:hover { background: #254638; }
  .nav-button.active { background: #365d4b; border-bottom-color: #58b88c; }
  .nav-icon { display: none; }
  .sidebar-foot { margin: 0; padding: 0; border-top: 0; font-size: 10px; white-space: nowrap; }
  .topbar { min-height: 82px; padding: 15px clamp(20px, 6vw, 94px); background: #fff; }
  .view { max-width: 1440px; margin: 0 auto; padding: 30px clamp(20px, 6vw, 94px) 56px; }
}

.product-map-expanded { display: grid; gap: 11px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.product-map-expanded section { min-width: 0; }
.product-map-expanded h4 { margin: 0 0 6px; color: var(--green-dark); font-size: 10px; }
.product-map-expanded dl { display: grid; gap: 0; margin: 0; }
.product-map-expanded dl > div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 8px; padding: 5px 0; border-bottom: 1px solid #edf1ee; }
.product-map-expanded dt { color: var(--muted); font-size: 8px; }
.product-map-expanded dd { margin: 0; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }
.product-map-expanded ul { display: grid; gap: 4px; margin: 0; padding-left: 16px; color: #435149; font-size: 9px; line-height: 1.45; }
.map-records { display: flex; flex-wrap: wrap; gap: 6px; }
.map-records span, .map-records a { padding: 5px 7px; color: #315c4c; background: var(--green-soft); font-size: 8px; text-decoration: none; }
.map-records a:hover { text-decoration: underline; }
.manuals-inline { margin-top: 7px; }
.evidence-section-heading { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 27px; border-bottom: 1px solid var(--line); }
.evidence-section-heading span { font-size: 15px; font-weight: 850; }
.evidence-section-heading small { color: var(--muted); font-size: 10px; font-weight: 750; }

.toolbar-note { max-width: 620px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.brand-resource-grid { display: grid; gap: 16px; }
.brand-resource-card { border: 1px solid var(--line); background: #fff; }
.brand-resource-card > header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.brand-resource-card h2 { margin: 3px 0 0; font-size: 18px; }
.brand-resource-card > header > span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.resource-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--line); }
.resource-columns section { min-width: 0; padding: 15px; background: #fff; }
.resource-columns h3 { margin: 0 0 9px; color: var(--green-dark); font-size: 11px; }
.resource-link { display: grid; gap: 5px; margin-bottom: 8px; padding: 9px 10px; border-left: 2px solid var(--green); background: var(--green-soft); color: #315c4c; text-decoration: none; }
.resource-link:hover { background: #d5eee4; }
.resource-link span { font-size: 10px; line-height: 1.4; }
.resource-link b { width: max-content; color: var(--green); font-size: 8px; }
.resource-link small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.resource-link.pending { border-left-color: var(--amber); background: var(--amber-soft); color: #765b27; }
.resource-link.pending b { color: #946d1e; }
.resource-empty { margin: 0; color: var(--muted); font-size: 9px; }

@media (max-width: 760px) {
  .sidebar { z-index: 30; }
  .brand-lockup strong { font-size: 14px; }
  .brand-lockup div > span { font-size: 9px; }
  .product-map-expanded { gap: 12px; }
  .product-map-expanded dl > div { grid-template-columns: 72px minmax(0,1fr); }
  .evidence-section-heading { min-height: 62px; padding: 0 16px; }
  .evidence-section-heading span { font-size: 13px; }
  .resource-columns { grid-template-columns: 1fr; }
  .brand-resource-card > header { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .sidebar { grid-template-columns: 205px minmax(0,1fr); gap: 12px; padding-inline: 24px; }
  .sidebar-foot { display: none; }
  .nav-button { padding-inline: 10px; font-size: 12px; }
  .brand-lockup strong { font-size: 17px; }
}
.toast { max-width: min(390px, calc(100vw - 30px)); position: fixed; right: 20px; bottom: 20px; z-index: 100; padding: 11px 14px; color: #fff; background: #193b30; font-size: 10px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }.empty-state { padding: 30px; color: var(--muted); font-size: 10px; text-align: center; }

.login-page { background: #14241e; }.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.2fr minmax(360px,.8fr); }.login-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 34px 42px; color: #d5e4de; background: #182b24; }.login-visual::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; content: ""; }.login-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 800; }.login-visual > p { position: relative; z-index: 2; color: #8fa69d; font-size: 10px; }.scan-stage { width: min(540px, 70vw); aspect-ratio: 1; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }.scan-orbit { position: absolute; inset: 12%; border: 1px solid rgba(65,213,163,.18); border-radius: 50%; }.orbit-two { inset: 26%; border-color: rgba(65,213,163,.35); }.scan-beam { width: 1px; height: 45%; position: absolute; left: 50%; top: 5%; transform-origin: bottom; background: linear-gradient(transparent, #4be5b0); box-shadow: 0 0 18px #4be5b0; animation: scan 5s linear infinite; }.scanner-silhouette { width: 42%; height: 25%; position: absolute; left: 34%; top: 37%; border: 10px solid #3b6355; border-radius: 28px 58px 58px 28px; background: #dbe7e2; transform: rotate(-8deg); }.scanner-silhouette::before { width: 44%; aspect-ratio: 1; position: absolute; left: -41%; top: 50%; transform: translateY(-50%); border: 13px solid #34594c; border-radius: 50%; background: #172f27; content: ""; }.scanner-silhouette::after { width: 30%; height: 48%; position: absolute; right: 13%; top: 22%; border-radius: 8px; background: #17362b; box-shadow: inset 0 0 0 6px #54cba4; content: ""; }.scanner-silhouette span { width: 33%; height: 110%; position: absolute; left: 38%; top: 73%; border-radius: 0 0 18px 18px; background: #294b3f; transform: skew(-7deg); }.scanner-silhouette span::after { width: 48%; height: 34%; position: absolute; left: 24%; top: 22%; border-radius: 6px; background: #4bd0a1; content: ""; }
@keyframes scan { to { transform: rotate(360deg); } }
.login-form-wrap { display: grid; place-items: center; padding: 30px; background: #fff; }.login-form { width: min(360px, 100%); display: grid; gap: 15px; }.login-form h1 { margin: 2px 0 0; font-size: 28px; line-height: 1.25; }.login-intro { margin: -3px 0 8px; color: var(--muted); font-size: 11px; }.login-form label { display: grid; gap: 7px; color: #4d5a54; font-size: 10px; font-weight: 750; }.login-form input { min-height: 42px; padding: 0 11px; }.login-form button { min-height: 42px; border: 0; color: #fff; background: var(--green); font-weight: 850; }.form-error { min-height: 18px; margin: 0; color: var(--red); font-size: 10px; }

@media (max-width: 1050px) {
  .brand-product-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: minmax(0,1fr); }.watch-panel { grid-row: 2; }
  .source-row { grid-template-columns: minmax(220px,1fr) 70px minmax(150px,1fr); }.source-row > a { grid-column: 3; justify-self: end; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }.sidebar { width: 230px; position: fixed; left: -240px; transition: left .2s ease; box-shadow: 10px 0 30px rgba(0,0,0,.2); }.sidebar.open { left: 0; }
  .menu-button { display: grid; }.topbar { min-height: 73px; padding: 12px 14px; }.topbar h1 { font-size: 17px; }.topbar .eyebrow { display: none; }.sync-label { display: none; }.top-actions { gap: 6px; }.primary-button { padding: 0 10px; }
  .view { padding: 15px 12px 35px; }.metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.metric { padding: 14px; }.metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.metric:nth-child(4) { border-top: 1px solid var(--line); }.metric strong { font-size: 22px; }
  .position-map { height: 330px; margin-right: 15px; }.panel-head { padding: 13px 14px; }.legend { display: none; }
  .toolbar { align-items: stretch; flex-wrap: wrap; }.search-box { flex: 1 1 100%; }.toolbar select { flex: 1; width: auto; }.result-count { align-self: center; }.product-card { grid-template-columns: 1fr; }.product-image { min-height: 230px; }.product-image img { max-height: 210px; }
  .source-list { border: 0; background: transparent; }.source-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-bottom: 10px; padding: 13px; border: 1px solid var(--line); background: #fff; }.source-health { grid-column: 1 / -1; }.source-row > a { grid-column: 1 / -1; justify-self: start; }
  .settings-grid { grid-template-columns: 1fr; }.full-span { grid-column: auto; }.rule-grid { grid-template-columns: 1fr; }.settings-panel form { align-items: stretch; flex-direction: column; }
  .detail-image { height: 215px; }.product-detail-head > div:last-child { padding: 22px; }.product-detail-head h2 { font-size: 23px; }.editable-grid { grid-template-columns: 1fr; }.evidence-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .login-shell { grid-template-columns: 1fr; }.login-visual { min-height: 230px; padding: 23px; }.scan-stage { width: 260px; }.login-form-wrap { padding: 34px 22px; }
}

@media (max-width: 420px) {
  .topbar { gap: 8px; }.top-actions .primary-button { min-width: 72px; font-size: 9px; }.icon-button { width: 34px; height: 34px; }.topbar h1 { font-size: 15px; }
  .metrics { grid-template-columns: 1fr 1fr; }.metric span, .metric small { font-size: 8px; }.position-map { height: 300px; margin-left: 39px; }.map-bubble { width: 38px; height: 38px; padding: 3px; }.map-bubble span { font-size: 7px; }.map-bubble small { display: none; }
  .brand-group-head h2 { font-size: 17px; }.product-card dd { min-height: 20px; }.product-evidence-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }.event-meta { flex-wrap: wrap; }.event-meta time { width: 100%; margin-left: 0; }.product-detail-head { grid-template-columns: 1fr; }.detail-evidence-overview div { padding: 9px 7px; }.detail-evidence-overview strong { font-size: 13px; }.detail-evidence-overview span { font-size: 7px; }.evidence-section > summary { min-height: 62px; grid-template-columns: minmax(0,1fr) auto 20px; gap: 10px; padding: 0 16px; }.evidence-section > summary span { font-size: 13px; }.evidence-section-body { padding: 18px 16px 22px; }.parameter-evidence-row { grid-template-columns: 82px minmax(0,1fr); gap: 8px 12px; }.parameter-evidence-row > div { grid-column: 2; justify-content: flex-start; }.advantage-evidence-list li { align-items: flex-start; flex-direction: column; gap: 7px; }.registration-head { align-items: flex-start; flex-direction: column; gap: 11px; }.registration-fields { grid-template-columns: 1fr; }.registration-fields div { grid-template-columns: 80px minmax(0,1fr); }.manual-record { align-items: flex-start; flex-direction: column; gap: 10px; }.evidence-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Mobile catalog tuning: keep product imagery prominent while allowing the full evidence rows to wrap. */
.product-card-body { overflow: hidden; }
.product-image-wide { width: 100%; min-height: 250px; height: 250px; aspect-ratio: auto; }
.product-image-wide img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.image-vatech-ezray-air-portable img { object-position: 38% center; }
.image-siger-siray-smart { background: #25184d; }
.image-siger-siray-smart img { object-position: 67% center; }
.image-lanyu-ray98p img, .image-runyes-ray98p img, .image-runyes-poct22 img { object-position: center center; }

@media (max-width: 760px) {
  .topbar { gap: 8px; }
  .top-actions { min-width: 0; }
  .top-actions .primary-button { min-width: 0; padding-inline: 10px; }
  .toolbar { gap: 8px; margin-bottom: 14px; }
  .toolbar select { min-width: 0; }
  .product-grid { gap: 26px; }
  .brand-product-grid { gap: 12px; padding-top: 12px; }
  .brand-group-head { min-height: 52px; padding-bottom: 9px; }
  .brand-group-head h2 { font-size: 16px; }
  .product-image { height: 200px; min-height: 200px; padding: 12px; }
  .product-image img { max-height: 190px; }
  .product-image-wide { height: 190px; min-height: 190px; aspect-ratio: 16 / 9; padding: 0; }
  .product-image-wide img { max-height: none; }
  .product-card-body { padding: 15px 14px 16px; }
  .product-card h3 { font-size: 17px; }
  .product-map-expanded { gap: 12px; margin-top: 12px; padding-top: 12px; }
  .product-map-expanded h4 { font-size: 10px; }
  .product-map-expanded dl > div { grid-template-columns: 68px minmax(0,1fr); gap: 8px; padding: 7px 0; }
  .product-map-expanded dt, .product-map-expanded dd { font-size: 10px; }
  .product-map-expanded dd { line-height: 1.55; }
  .product-map-expanded ul { font-size: 10px; line-height: 1.55; }
  .product-detail-button { min-height: 40px; margin-top: 14px; }
}

@media (max-width: 420px) {
  .product-image { height: 184px; min-height: 184px; }
  .product-image-wide { height: 174px; min-height: 174px; }
  .product-card-body { padding-inline: 12px; }
  .product-map-expanded dl > div { grid-template-columns: 64px minmax(0,1fr); }
  .product-map-expanded dt, .product-map-expanded dd { font-size: 9px; }
}

/* Mobile readability pass: keep the catalogue scan-friendly without hiding evidence. */
@media (max-width: 760px) {
  /* A positioned bubble chart obscures product names on a phone. Keep the desktop
     chart intact, but expose the same products as a tap-friendly reading list. */
  .position-map {
    height: auto;
    overflow: visible;
    margin: 0;
    border: 0;
    background: none;
  }
  .position-map::before, .position-map::after,
  .position-map > .axis-y, .position-map > .axis-x,
  .position-map > .matrix-grid, .position-map > .map-bubble { display: none; }
  .mobile-position-list { display: grid; grid-template-columns: 1fr; }
  .mobile-position-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    align-items: baseline;
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    text-align: left;
  }
  .mobile-position-row:first-child { border-top: 1px solid var(--line); }
  .mobile-position-row span { min-width: 0; color: var(--green); font-size: 10px; font-weight: 850; }
  .mobile-position-row strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; text-align: right; }
  .mobile-position-row small { grid-column: 1 / -1; color: var(--muted); font-size: 9px; line-height: 1.45; }
  .topbar {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 64px;
    padding: 9px 12px;
  }
  .topbar h1 { overflow: hidden; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .top-actions { margin-left: 0; gap: 5px; }
  .top-actions .primary-button { min-height: 34px; padding-inline: 8px; font-size: 9px; }
  .view { padding: 13px 10px 30px; }
  .panel-head { min-height: 56px; padding: 11px 13px; }
  .panel-head h2, .toolbar h2 { font-size: 15px; }
  .metrics { border-radius: 0; }
  .metric { min-height: 82px; padding: 12px; }
  .metric strong { font-size: 23px; }
  .overview-grid { gap: 12px; margin-top: 12px; }
  .toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 12px; }
  .toolbar > div:first-child:not(.search-box) { grid-column: 1 / -1; }
  .search-box { grid-column: 1 / -1; min-height: 42px; }
  .search-box input { min-width: 0; font-size: 12px; }
  .toolbar select { width: 100%; min-height: 42px; padding-inline: 11px; font-size: 11px; }
  .result-count { align-self: center; justify-self: end; font-size: 10px; }
  .brand-product-grid { gap: 11px; padding-top: 10px; }
  .brand-group { padding-bottom: 5px; }
  .brand-group-head { min-height: 48px; align-items: flex-end; padding-bottom: 8px; }
  .brand-group-head p { font-size: 8px; }
  .brand-group-head h2 { font-size: 17px; }
  .brand-group-head > span { padding-bottom: 2px; font-size: 9px; }
  .product-card { border-color: #ccd8d2; }
  .product-image { height: 208px; min-height: 208px; padding: 10px; }
  .product-image-wide { height: 192px; min-height: 192px; }
  .verification { top: 8px; right: 8px; padding: 5px 6px; }
  .image-source { right: 7px; bottom: 6px; left: 7px; font-size: 8px; }
  .product-card-body { padding: 14px 13px 15px; }
  .product-brand { justify-content: flex-start; font-size: 10px; }
  .product-card h3 { margin-top: 4px; font-size: 18px; line-height: 1.3; }
  .card-parameter-summary { margin-top: 7px; }
  .card-parameter-summary div { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 9px 0; }
  .card-parameter-summary dt { font-size: 10px; line-height: 1.45; }
  .card-parameter-summary dd { font-size: 11px; line-height: 1.5; }
  .product-evidence-summary { grid-template-columns: 1fr; gap: 1px; margin-top: 11px; }
  .product-evidence-summary span { min-height: 34px; display: flex; align-items: center; padding: 8px 9px; font-size: 9px; }
  .product-detail-button { min-height: 42px; margin-top: 12px; font-size: 11px; }
  .product-map-expanded { gap: 13px; margin-top: 13px; padding-top: 13px; }
  .product-map-expanded dl > div { grid-template-columns: 74px minmax(0, 1fr); gap: 9px; padding: 8px 0; }
  .product-map-expanded dt, .product-map-expanded dd, .product-map-expanded ul { font-size: 10px; line-height: 1.55; }
  .event-body { margin-bottom: 11px; padding: 14px; }
  .event-body h3 { font-size: 14px; line-height: 1.45; }
  .event-body > p { font-size: 11px; line-height: 1.65; }
  .brand-resource-card > header { min-height: 60px; padding: 12px 14px; }
  .brand-resource-card h2 { font-size: 17px; }
  .resource-columns { gap: 8px; padding: 8px; background: var(--soft); }
  .resource-columns section { border: 1px solid var(--line); padding: 13px; }
  .resource-columns h3 { font-size: 12px; }
  .resource-link span { font-size: 11px; }
  .resource-link small { font-size: 9px; }
  .dialog { width: 100vw; max-height: 92vh; margin: auto 0 0; border-top: 1px solid var(--line); }
  .dialog-form { padding: 23px 17px; }
  .product-dialog { max-height: 94vh; }
  .product-detail-head { grid-template-columns: 1fr; }
  .product-detail-head > div:last-child { padding: 18px 17px 21px; }
  .product-detail-head h2 { font-size: 24px; }
  .detail-image { height: 205px; }
  .dialog-close { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .top-actions .primary-button { padding-inline: 6px; font-size: 8px; }
  .topbar h1 { font-size: 15px; }
  .card-parameter-summary div { grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
  .card-parameter-summary dt { font-size: 9px; }
  .card-parameter-summary dd { font-size: 10px; }
  .product-map-expanded dl > div { grid-template-columns: 68px minmax(0, 1fr); }
}
