:root {
  --green-900: #154c3b;
  --green-800: #1b5d48;
  --green-700: #27735a;
  --green-100: #eaf3ef;
  --green-050: #f5f9f7;
  --orange: #b4481b;
  --ink: #28312e;
  --muted: #65716d;
  --line: #d8e0dc;
  --paper: #fff;
  --warm: #f7f4ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 15px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #e5a16f; outline-offset: 3px; }
.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.demo-ribbon { position: fixed; z-index: 30; top: 0; right: 28px; padding: 7px 15px 8px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; box-shadow: 0 3px 12px rgb(44 36 30 / 18%); }
.utility-bar { background: #f0f3f1; border-bottom: 1px solid #e2e7e4; color: #64706c; font-size: 11px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.utility-inner nav { display: flex; gap: 22px; }
.utility-inner a:hover { color: var(--green-700); }
.brand-row { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 15px; }
.brand-mark { position: relative; width: 45px; height: 49px; display: inline-block; transform: skew(-10deg); }
.brand-mark::before { content: ""; position: absolute; inset: 0 10px 0 0; background: var(--green-800); }
.brand-mark i { position: absolute; z-index: 1; width: 8px; height: 43px; right: 4px; top: 2px; background: #78a46a; }
.brand-mark b { position: absolute; z-index: 2; width: 9px; height: 23px; right: -3px; bottom: 1px; background: var(--orange); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy small { color: #77817e; font-size: 10px; letter-spacing: .1em; margin-bottom: 6px; }
.brand-copy strong { color: var(--green-900); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .08em; }
.guide-title { padding-left: 32px; border-left: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; color: var(--green-900); }
.guide-title span { color: var(--muted); font-size: 12px; }
.guide-title strong { font-family: "Yu Mincho", serif; font-size: 24px; letter-spacing: .08em; }
.main-nav-wrap { border-top: 1px solid var(--line); border-bottom: 3px solid var(--green-800); }
.main-nav { display: grid; grid-template-columns: repeat(4, 1fr); }
.main-nav a { min-height: 52px; display: grid; place-items: center; border-left: 1px solid var(--line); color: #46514d; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.main-nav a:last-child { border-right: 1px solid var(--line); }
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--green-800); }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 17px; color: #7a8581; font-size: 11px; }
.breadcrumb a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.page-heading { padding-top: 42px; padding-bottom: 34px; text-align: center; }
.page-heading p { margin: 0 0 5px; color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.page-heading h1 { margin: 0; color: var(--green-900); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(29px, 4vw, 39px); font-weight: 600; letter-spacing: .12em; }
.page-heading > span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.search-hero { background: linear-gradient(105deg, var(--green-900), #286a54); color: #fff; padding: 38px 0; }
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .22em; color: #b9dbca; }
.eyebrow.green { color: var(--green-700); }
.search-intro h2, .section-title-row h2, .information-heading h2, .help-section h2 { margin: 3px 0 4px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 25px; letter-spacing: .06em; }
.search-intro p, .information-heading p { margin: 0; color: rgb(255 255 255 / 72%); font-size: 12px; }
.search-form { background: #fff; color: var(--ink); padding: 22px 24px 18px; box-shadow: 0 10px 30px rgb(3 35 25 / 20%); }
.search-form label { display: block; color: var(--green-900); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.search-control { display: flex; gap: 8px; }
.search-control input { width: 100%; min-width: 0; height: 51px; border: 1px solid #bccbc4; border-radius: 0; padding: 0 16px; outline: none; }
.search-control input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgb(39 115 90 / 15%); }
.search-control button { flex: 0 0 145px; border: 0; background: var(--orange); color: #fff; cursor: pointer; font-weight: 800; }
.search-control button:hover { background: #913512; }
.search-control button span { margin-right: 6px; font-size: 21px; line-height: 0; }
.quick-links { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; margin-top: 13px; font-size: 11px; }
.quick-links span { color: var(--muted); }
.quick-links a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.content-section { padding-top: 64px; padding-bottom: 72px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.section-title-row h2 { color: var(--green-900); font-size: 27px; }
.text-link { color: var(--green-700); font-size: 12px; font-weight: 800; padding-bottom: 8px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { position: relative; min-height: 108px; padding: 23px 48px 20px 20px; display: flex; align-items: flex-start; gap: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.category-card:hover { background: var(--green-050); box-shadow: inset 4px 0 var(--green-700); }
.category-index { padding-top: 2px; color: #a6b3ae; font-size: 10px; font-weight: 800; }
.category-copy { display: flex; flex-direction: column; }
.category-copy strong { color: var(--green-900); font-size: 15px; }
.category-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.circle-arrow { position: absolute; right: 17px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #b7c7bf; border-radius: 50%; color: var(--green-700); font-size: 18px; }
.information-band { padding: 58px 0; background: var(--warm); border-top: 1px solid #e9e3db; border-bottom: 1px solid #e9e3db; }
.information-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 55px; }
.information-heading h2 { color: var(--green-900); }
.information-heading p { color: var(--muted); }
.news-list { border-top: 1px solid #cbd4d0; }
.news-list a { position: relative; display: grid; grid-template-columns: 92px 78px 1fr 20px; gap: 12px; align-items: center; min-height: 57px; border-bottom: 1px solid #cbd4d0; font-size: 12px; }
.news-list a:hover span { color: var(--green-700); text-decoration: underline; }
.news-list time { color: #6f7a76; font-variant-numeric: tabular-nums; }
.news-list em { font-style: normal; color: var(--green-700); background: #e3ede8; text-align: center; font-size: 10px; font-weight: 800; padding: 2px 4px; }
.news-list b { color: var(--green-700); font-size: 20px; }
.help-section { padding-top: 54px; padding-bottom: 54px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.help-section h2 { color: var(--green-900); margin-bottom: 6px; }
.help-section p { margin: 0; color: var(--muted); font-size: 12px; }
.outline-button { flex: 0 0 210px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 1px solid var(--green-700); color: var(--green-700); font-size: 12px; font-weight: 800; }
.outline-button:hover { background: var(--green-700); color: #fff; }
.demo-notice { border-top: 1px solid #efddc9; border-bottom: 1px solid #efddc9; background: #fff8ef; color: #765b42; font-size: 11px; }
.demo-notice .shell { min-height: 48px; display: flex; align-items: center; gap: 16px; }
.demo-notice strong { color: #a84d21; white-space: nowrap; }
.site-footer { background: #174636; color: #fff; }
.footer-inner { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-inner > div { display: flex; flex-direction: column; }
.footer-inner strong { font-family: "Yu Mincho", serif; font-size: 18px; letter-spacing: .06em; }
.footer-inner span { color: rgb(255 255 255 / 66%); font-size: 10px; }
.footer-inner nav { display: flex; gap: 25px; font-size: 11px; color: rgb(255 255 255 / 78%); }
.footer-inner a:hover { text-decoration: underline; }
.copyright { padding: 12px 20px; border-top: 1px solid rgb(255 255 255 / 13%); text-align: center; color: rgb(255 255 255 / 45%); font-size: 9px; letter-spacing: .08em; }

@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 700px); }
  .guide-title { display: none; }
  .search-layout, .information-layout { grid-template-columns: 1fr; gap: 22px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .information-heading { max-width: 440px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .demo-ribbon { position: absolute; right: 12px; padding: 5px 9px; font-size: 9px; }
  .utility-inner > span { display: none; }
  .utility-inner { justify-content: flex-end; }
  .brand-row { min-height: 88px; }
  .brand-mark { width: 35px; height: 39px; }
  .brand-mark i { height: 34px; }
  .brand-mark b { height: 18px; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 18px; }
  .main-nav { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { min-height: 44px; border-bottom: 1px solid var(--line); font-size: 11px; }
  .page-heading { padding-top: 30px; padding-bottom: 25px; }
  .search-hero { padding: 28px 0; }
  .search-form { padding: 18px 15px 15px; }
  .search-control { flex-direction: column; }
  .search-control button { flex-basis: 47px; }
  .content-section { padding-top: 45px; padding-bottom: 50px; }
  .section-title-row { align-items: flex-start; }
  .section-title-row .text-link { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 88px; }
  .news-list a { grid-template-columns: 82px 70px 1fr; gap: 8px; padding: 10px 0; line-height: 1.5; }
  .news-list b { display: none; }
  .help-section { align-items: stretch; flex-direction: column; }
  .outline-button { flex-basis: auto; }
  .demo-notice .shell, .footer-inner { flex-direction: column; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
  .footer-inner nav { flex-wrap: wrap; gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Search results */
.subpage-heading { padding-top: 44px; padding-bottom: 30px; }
.subpage-heading h1 { margin: 2px 0 3px; color: var(--green-900); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 32px; letter-spacing: .08em; }
.subpage-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.filter-band { padding: 27px 0; background: var(--green-050); border-top: 1px solid #dbe6e1; border-bottom: 1px solid #dbe6e1; }
.filter-form { position: relative; }
.filter-form h2 { margin: 0 0 12px; color: var(--green-900); font-size: 14px; }
.filter-grid { display: grid; grid-template-columns: minmax(260px, 1.7fr) 1fr .8fr 165px; gap: 13px; align-items: end; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 5px; color: #52605b; font-size: 10px; font-weight: 800; }
.field input, .field select { width: 100%; height: 46px; border: 1px solid #bdcbc5; border-radius: 0; background: #fff; color: var(--ink); padding: 0 12px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgb(39 115 90 / 13%); }
.filter-action button { width: 100%; height: 46px; border: 0; background: var(--orange); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.filter-action button:hover { background: #913512; }
.filter-action button span { margin-right: 5px; font-size: 18px; }
.reset-link { position: absolute; top: 0; right: 0; color: var(--green-700); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.results-section { padding-top: 48px; padding-bottom: 72px; min-height: 520px; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.results-heading h2 { margin: 2px 0 0; color: var(--green-900); font-family: "Yu Mincho", serif; font-size: 23px; letter-spacing: .03em; }
.results-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.results-heading p strong { margin-right: 3px; color: var(--orange); font-size: 23px; font-family: Georgia, serif; }
.result-table-wrap { overflow-x: auto; border-top: 3px solid var(--green-800); }
.result-table { width: 100%; border-collapse: collapse; min-width: 900px; table-layout: fixed; }
.result-table th { height: 43px; padding: 8px 10px; background: #edf4f1; border-right: 1px solid #d4dfda; border-bottom: 1px solid #b9cbc3; color: #42514b; font-size: 10px; text-align: left; }
.result-table th:nth-child(1) { width: 105px; }
.result-table th:nth-child(2) { width: 265px; }
.result-table th:nth-child(3) { width: 120px; }
.result-table th:nth-child(4) { width: 88px; }
.result-table th:nth-child(5) { width: 77px; }
.result-table th:nth-child(6) { width: 85px; }
.result-table th:nth-child(7) { width: 80px; }
.result-table td { min-height: 65px; padding: 15px 10px; border-right: 1px solid #e1e7e4; border-bottom: 1px solid #d6dfdb; color: #4e5955; font-size: 11px; vertical-align: middle; }
.result-table tbody tr:hover { background: #fafcfb; }
.result-table code, .result-card code, .related-grid code { color: var(--green-700); font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; }
.item-name { display: flex; flex-direction: column; color: var(--green-900); font-size: 14px; font-weight: 800; line-height: 1.45; }
.item-name:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.item-name small { margin-top: 2px; color: #76817d; font-size: 10px; font-weight: 400; }
.urgent-tag, .status-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 49px; min-height: 21px; padding: 2px 7px; font-size: 9px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.urgent-可能 { background: #e0f1e9; color: #146044; }
.urgent-要相談 { background: #fff2df; color: #9c581a; }
.urgent-対象外 { background: #f0f1f1; color: #747d7a; }
.status-受託中 { border: 1px solid #b8d1c5; color: var(--green-700); background: #fff; }
.status-新規 { background: var(--orange); color: #fff; }
.status-変更予定 { background: #fff2df; color: #9c581a; border: 1px solid #edc99f; }
.detail-link { color: var(--green-700); font-weight: 800; white-space: nowrap; }
.detail-link:hover { text-decoration: underline; }
.result-cards { display: none; }
.pagination { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pagination a { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border: 1px solid #c8d5cf; color: var(--green-700); font-size: 11px; font-weight: 800; }
.pagination a:hover, .pagination a[aria-current="page"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.pagination .page-prev, .pagination .page-next { min-width: 80px; }
.page-summary { margin: 11px 0 0; text-align: center; color: var(--muted); font-size: 10px; }
.empty-state { padding: 70px 30px; background: var(--green-050); border: 1px solid #d8e4de; text-align: center; }
.empty-state > span { width: 62px; height: 62px; margin: auto; display: grid; place-items: center; border: 1px solid #bdd0c7; border-radius: 50%; color: var(--green-700); font-size: 30px; }
.empty-state h3 { margin: 17px 0 4px; color: var(--green-900); font-family: "Yu Mincho", serif; font-size: 21px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.empty-state > div { display: flex; justify-content: center; gap: 10px; }
.primary-button, .secondary-button { min-width: 180px; min-height: 45px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.primary-button { background: var(--green-700); color: #fff; }
.secondary-button { border: 1px solid var(--green-700); color: var(--green-700); background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Detail page */
.detail-heading-band { margin-top: 25px; background: var(--green-050); border-top: 1px solid #dde7e2; border-bottom: 1px solid #d3dfd9; }
.detail-heading { min-height: 150px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.detail-labels { display: flex; align-items: center; gap: 8px; }
.detail-labels > span:first-child { color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.detail-heading h1 { margin: 8px 0 0; color: var(--green-900); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(28px, 4vw, 40px); letter-spacing: .05em; line-height: 1.35; }
.detail-heading p { margin: 2px 0 0; color: #6b7772; font-size: 13px; }
.code-panel { flex: 0 0 190px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--green-700); box-shadow: 0 4px 16px rgb(27 72 56 / 8%); }
.code-panel small { display: block; color: var(--muted); font-size: 9px; }
.code-panel strong { display: block; margin-top: 2px; color: var(--green-900); font-family: Arial, sans-serif; font-size: 21px; letter-spacing: .04em; }
.detail-actions { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.detail-actions > a { color: var(--green-700); font-size: 11px; font-weight: 800; }
.print-button { border: 0; background: none; color: var(--green-700); cursor: pointer; font-size: 11px; font-weight: 800; }
.print-button span { margin-right: 7px; }
.change-alert { margin-top: 26px; min-height: 67px; padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border: 1px solid #ecc89d; border-left: 4px solid var(--orange); background: #fff7eb; color: #714e30; }
.change-alert div { display: flex; flex-direction: column; }
.change-alert strong { font-size: 12px; }
.change-alert span, .change-alert a { font-size: 10px; }
.change-alert a { color: #9d4f20; font-weight: 800; white-space: nowrap; }
.change-新規 { border-color: #bad8c8; border-left-color: var(--green-700); background: #f1f8f5; color: var(--green-900); }
.detail-overview { padding-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); }
.overview-card { min-height: 105px; padding: 18px 18px 15px; border-top: 3px solid var(--green-700); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-card:first-child { border-left: 1px solid var(--line); }
.overview-card > span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; }
.overview-card strong { display: block; margin-top: 3px; color: var(--green-900); font-size: 16px; line-height: 1.4; }
.overview-card small { display: block; margin-top: 6px; color: #717c78; font-size: 9px; line-height: 1.45; }
.urgent-card-可能 { background: #f0f8f4; }
.urgent-card-要相談 { background: #fff9ef; border-top-color: #d7863d; }
.urgent-card-対象外 { background: #f7f8f8; border-top-color: #87938f; }
.detail-main { padding-top: 48px; padding-bottom: 68px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.detail-section-title { margin-bottom: 17px; }
.detail-section-title h2 { margin: 2px 0 0; color: var(--green-900); font-family: "Yu Mincho", serif; font-size: 23px; letter-spacing: .05em; }
.detail-section-title.secondary { margin-top: 43px; }
.spec-table { border-top: 3px solid var(--green-800); }
.spec-table > div { min-height: 53px; display: grid; grid-template-columns: 190px minmax(0, 1fr); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-table [role="rowheader"] { padding: 14px 16px; background: #eef4f1; color: #42514b; font-size: 10px; font-weight: 800; }
.spec-table [role="cell"] { padding: 13px 17px; color: #4b5752; font-size: 11px; }
.spec-table [role="cell"] strong { color: var(--green-900); font-size: 13px; }
.spec-table .pending-value { color: #7b8581; font-style: italic; }
.demo-chip { display: inline-block; margin-left: 8px; padding: 2px 6px; background: #fff2df; color: #9c581a; font-size: 8px; font-style: normal; font-weight: 800; vertical-align: middle; }
.accent-value { color: var(--orange) !important; font-size: 15px !important; }
.note-box { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border-left: 4px solid var(--orange); background: #fff8ef; }
.note-box > span { flex: 0 0 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-family: Georgia, serif; font-weight: 800; }
.note-box p { margin: 0; color: #675442; font-size: 11px; }
.alias-list { display: flex; flex-wrap: wrap; gap: 8px; }
.alias-list a { padding: 7px 12px; border: 1px solid #c5d3cd; color: var(--green-700); background: #fff; font-size: 10px; font-weight: 800; }
.alias-list a:hover { background: var(--green-700); color: #fff; }
.revision-box { margin-top: 42px; padding: 17px 20px; display: grid; grid-template-columns: 160px 160px 1fr; gap: 18px; align-items: center; background: #f3f5f4; color: #66716d; }
.revision-box div { display: flex; flex-direction: column; }
.revision-box span { font-size: 9px; }
.revision-box strong { color: #34413c; font-size: 11px; }
.revision-box p { margin: 0; padding-left: 20px; border-left: 1px solid #d2d9d6; font-size: 9px; }
.detail-sidebar { position: sticky; top: 20px; display: grid; gap: 18px; }
.container-panel { padding: 26px 20px 20px; border: 1px solid var(--line); text-align: center; }
.container-panel > span { display: block; margin-top: 16px; color: var(--muted); font-size: 9px; }
.container-panel > strong { display: block; color: var(--green-900); font-size: 13px; }
.container-panel p { margin: 10px 0 0; color: #7b8581; font-size: 9px; line-height: 1.6; }
.tube-visual { position: relative; width: 66px; height: 124px; margin: auto; border: 2px solid #b5c1bc; border-radius: 8px 8px 23px 23px; background: linear-gradient(to bottom, #fefefe 4%, #eef2f0 68%, rgb(217 88 70 / 30%) 68%); box-shadow: 7px 8px 18px rgb(23 63 49 / 10%); }
.tube-visual::before { content: ""; position: absolute; left: -5px; right: -5px; top: -11px; height: 20px; border-radius: 5px; background: #d3a145; border: 1px solid rgb(0 0 0 / 13%); }
.tube-visual i { position: absolute; top: 21px; left: 8px; right: 8px; height: 38px; background: #fff; border: 1px solid #dce3e0; }
.tube-visual b { position: absolute; top: 28px; left: 15px; right: 15px; height: 2px; background: #a9b5b0; box-shadow: 0 7px #d0d7d4, 0 14px #d0d7d4; }
.tube-purple::before { background: #9b78ad; }
.tube-blue::before { background: #6c9bc5; }
.tube-white::before { background: #f5f5f2; }
.tube-green::before { background: #73a77f; }
.sidebar-contact { padding: 20px; background: var(--green-900); color: #fff; }
.sidebar-contact > span { display: block; color: #b9d8cb; font-size: 9px; }
.sidebar-contact strong { display: block; margin-top: 3px; font-family: Arial, sans-serif; font-size: 20px; letter-spacing: .03em; }
.sidebar-contact small { display: block; color: rgb(255 255 255 / 60%); font-size: 8px; }
.sidebar-contact a { min-height: 38px; margin-top: 14px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgb(255 255 255 / 30%); font-size: 9px; font-weight: 800; }
.related-band { padding: 52px 0 58px; background: var(--warm); border-top: 1px solid #e6e1da; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { position: relative; min-height: 104px; padding: 17px 42px 15px 18px; display: flex; flex-direction: column; background: #fff; border: 1px solid #d9dedb; }
.related-grid strong { margin-top: 2px; color: var(--green-900); font-size: 13px; }
.related-grid small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.related-grid a > span { position: absolute; right: 17px; top: 50%; color: var(--green-700); translate: 0 -50%; }
.related-grid a:hover { border-color: var(--green-700); }

@media (max-width: 900px) {
  .filter-grid { grid-template-columns: 2fr 1fr 1fr; }
  .filter-action { grid-column: 3; }
  .detail-overview { grid-template-columns: repeat(2, 1fr); }
  .detail-main { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .container-panel { min-height: 220px; }
  .revision-box { grid-template-columns: 1fr 1fr; }
  .revision-box p { grid-column: 1 / -1; padding: 12px 0 0; border-top: 1px solid #d2d9d6; border-left: 0; }
}

@media (max-width: 700px) {
  .subpage-heading { padding-top: 30px; padding-bottom: 22px; }
  .subpage-heading h1 { font-size: 27px; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-action { grid-column: auto; }
  .reset-link { position: static; display: inline-block; margin-top: 12px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .result-table-wrap { display: none; }
  .result-cards { display: grid; gap: 12px; }
  .result-card { padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--green-700); }
  .result-card-top { display: flex; justify-content: space-between; align-items: center; }
  .result-card h3 { margin: 9px 0 0; color: var(--green-900); font-size: 16px; }
  .result-card h3 a:hover { text-decoration: underline; }
  .result-card > p { margin: 0; color: var(--muted); font-size: 10px; }
  .result-card dl { margin: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e0e6e3; border-bottom: 1px solid #e0e6e3; }
  .result-card dl div { padding: 8px 6px; border-right: 1px solid #e0e6e3; }
  .result-card dl div:last-child { border-right: 0; }
  .result-card dt { color: var(--muted); font-size: 8px; }
  .result-card dd { margin: 1px 0 0; color: #39453f; font-size: 10px; font-weight: 800; }
  .card-detail-button { min-height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; background: var(--green-700); color: #fff; font-size: 10px; font-weight: 800; }
  .pagination { flex-wrap: wrap; }
  .pagination .page-prev, .pagination .page-next { order: 2; }
  .empty-state { padding: 48px 18px; }
  .empty-state > div { flex-direction: column; }
  .detail-heading { min-height: 140px; align-items: flex-start; flex-direction: column; padding-top: 28px; padding-bottom: 28px; gap: 18px; }
  .code-panel { width: 100%; flex-basis: auto; }
  .detail-overview { grid-template-columns: 1fr; }
  .overview-card { border-left: 1px solid var(--line); }
  .spec-table > div { grid-template-columns: 1fr; }
  .spec-table [role="rowheader"] { padding: 8px 12px; border-bottom: 1px solid #dce4e0; }
  .spec-table [role="cell"] { padding: 11px 12px; }
  .detail-sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .change-alert { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media print {
  .demo-ribbon, .utility-bar, .main-nav-wrap, .detail-actions, .detail-sidebar, .related-band, .site-footer, .demo-notice { display: none !important; }
  .brand-row { min-height: 75px; }
  .detail-heading-band { margin-top: 0; }
  .detail-main { display: block; padding-top: 25px; }
  .spec-table > div { break-inside: avoid; }
  body { color: #000; }
}
