:root {
  font-family: "Microsoft YaHei", "PingFang SC", Inter, system-ui, sans-serif;
  color: #283c32;
  background: #f6f7f4;
  font-synthesis: none;
  --ink: #283c32;
  --muted: #738078;
  --green: #285a48;
  --green-light: #eaf1eb;
  --border: #e1e7df;
  --paper: #fff;
  --gold: #936c30;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { transition: background-color .16s, border-color .16s, color .16s; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #83aa91; outline-offset: 4px; }
input:focus { outline: none; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.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; }
.site-header { height: 76px; background: #ffffffeb; border-bottom: 1px solid var(--border); }
.header-inner { width: min(1240px, calc(100% - 80px)); margin: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: var(--green); border: 1px solid #285a48; border-radius: 12px; color: #fff; }
.brand-mark svg { width: 24px; height: 24px; }
.site-brand h1 { font-size: 18px; font-weight: 650; letter-spacing: .1px; line-height: 1.4; }
.brand-subtitle { display: block; margin-top: 4px; color: #8a968e; font-size: 10px; letter-spacing: 1.8px; }
.header-actions { display: flex; align-items: center; gap: 24px; }
#headerUpdate { color: #819086; font-size: 11px; }
.text-button { color: #6c7e70; background: none; border: 1px solid #dfe7de; border-radius: 7px; padding: 8px 13px; font-size: 12px; white-space: nowrap; }
.text-button:hover { background: #f0f5ee; border-color: #c3d5c4; }
.container { width: min(1240px, calc(100% - 80px)); margin: 0 auto; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 27px 0 25px; }
.eyebrow { font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: 2.8px; font-weight: 600; color: #7c9480; margin-bottom: 12px; }
.intro h2 { font-size: clamp(25px, 2.1vw, 31px); line-height: 1.45; letter-spacing: -.7px; font-weight: 600; color: #263e2d; }
#guide { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 11px; max-width: 840px; white-space: pre-line; }
.intro-stat { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; padding: 15px 0 15px 32px; border-left: 1px solid #dfe5db; }
.intro-stat strong { font-size: 37px; line-height: 1; letter-spacing: -1.3px; font-weight: 500; font-variant-numeric: tabular-nums; color: #3b6149; }
.intro-stat span { color: #849381; font-size: 11px; }
.library-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 32px; align-items: start; padding-bottom: 40px; }
.category-sidebar { position: sticky; top: 28px; min-width: 0; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 15px; }
.sidebar-heading h2 { color: #6b7b6b; font-size: 12px; font-weight: 500; letter-spacing: .4px; }
#categoryCount { font-size: 10px; color: #94a08f; }
#categoryNav { display: flex; flex-direction: column; gap: 5px; }
.category-button { display: flex; align-items: center; width: 100%; gap: 12px; padding: 13px 14px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #6b7e6b; text-align: left; }
.category-button:hover { background: #eef2e9; }
.category-button[aria-pressed="true"] { background: #e7eee3; border-color: #d9e4d4; color: #315c40; }
.category-icon { color: #8eaa8b; flex-shrink: 0; }
.category-icon svg { width: 18px; height: 18px; }
.category-button[aria-pressed="true"] .category-icon { color: #4b7b55; }
.category-label { font-size: 13px; line-height: 1.6; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-count { color: #9aaa91; font-size: 10px; line-height: 1.5; min-width: 23px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 400; }
.category-button[aria-pressed="true"] .category-label { font-weight: 600; }
.category-button[aria-pressed="true"] .category-count { color: #688265; background: #dbe8d5; border-radius: 4px; padding: 2px 3px; }
.sidebar-help { margin: 27px 0 0; padding: 23px 18px 22px; border: 1px solid #e1e7db; border-radius: 10px; background: #f0f3eb; }
.sidebar-help h3 { font-size: 13px; font-weight: 550; color: #5c7556; }
.sidebar-help p { font-size: 11px; color: #899882; line-height: 1.9; margin: 9px 0 15px; }
.sidebar-help a { display: inline-flex; align-items: center; gap: 6px; color: #577a4e; font-size: 11px; line-height: 1.8; border-bottom: 1px solid #bfd0b7; padding-bottom: 2px; }
.sidebar-help a:hover { color: #2d5736; border-color: #73976a; }
.sidebar-help svg { width: 14px; height: 14px; }
.library-content { min-width: 0; }
.search-box { display: flex; align-items: center; gap: 12px; border: 1px solid #dce5d8; background: white; border-radius: 11px; padding: 0 18px; min-height: 53px; box-shadow: 0 2px 3px #233b2002; }
.search-box:focus-within { border-color: #83a67e; box-shadow: 0 0 0 3px #91b68618; }
.search-icon { color: #97ab8f; }
.search-icon svg { width: 19px; height: 19px; }
.search-box input { flex: 1; width: 100%; min-width: 0; padding: 16px 0; border: 0; background: transparent; color: #3f5b3e; font-size: 13px; line-height: 1.5; }
.search-box input::placeholder { color: #a2aea0; }
.search-box input::-webkit-search-cancel-button { display: none; }
#clearSearch { display: grid; place-items: center; height: 27px; width: 27px; background: #f3f6ef; color: #8ba17d; border: 0; border-radius: 50%; flex-shrink: 0; padding: 0; }
#clearSearch:hover { background: #e6eddf; color: #486e43; }
#clearSearch svg { width: 14px; height: 14px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px 0 16px; }
#listTitle { font-size: 19px; line-height: 1.5; font-weight: 600; letter-spacing: -.3px; color: #304b34; }
#listSubtitle { color: #899981; font-size: 11px; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; }
#searchCount { color: #87997b; font-size: 11px; flex-shrink: 0; white-space: nowrap; }
#updates { margin-bottom: 18px; }
.update-panel { border-top: 1px solid #e2e8dd; border-bottom: 1px solid #e2e8dd; }
.update-panel>summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 1px; color: #84967a; font-size: 11px; line-height: 1.6; }
.update-panel>summary>span { display: flex; align-items: center; gap: 8px; }
.update-panel>summary svg { width: 14px; height: 14px; color: #8fa384; }
.update-panel time { color: #9ca995; font-size: 10px; font-variant-numeric: tabular-nums; }
.update-panel[open]>summary { color: #54754c; }
.history-list { padding: 4px 0 16px; font-size: 11px; color: #8a9b80; line-height: 1.9; }
.history-list>div { display: flex; align-items: baseline; gap: 12px; margin-top: 7px; }
.history-list time { flex-shrink: 0; font-size: 10px; color: #a0ad96; font-variant-numeric: tabular-nums; }
.main-card { margin-bottom: 24px; min-width: 0; }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 21px 0 12px; }
.category-heading h3 { display: flex; align-items: center; gap: 10px; color: #506c46; font-size: 14px; font-weight: 550; line-height: 1.7; }
.section-count { color: #9aaa8d; font-size: 10px; line-height: 1.5; font-weight: 400; padding: 2px 6px; background: #edf2e7; border: 1px solid #e1e8da; border-radius: 5px; white-space: nowrap; }
.category-description { font-size: 11px; color: #8b9c7f; line-height: 1.8; margin: -4px 0 12px; }
.cate-notice { background: #f2f5ed; border: 1px solid #e1e8d9; border-radius: 9px; margin-bottom: 14px; }
.cate-notice>summary { padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #7c8e69; font-size: 11px; line-height: 1.7; }
.cate-notice>summary>span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.cate-notice>summary svg { width: 15px; height: 15px; color: #8fa27b; }
.notice-toggle { font-size: 10px; color: #98a78b; white-space: nowrap; }
.notice-toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.cate-notice[open] .notice-toggle svg { transform: rotate(180deg); }
.cate-notice-content { padding: 0 15px 17px; color: #7d8b6e; font-size: 12px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.item-list { display: flex; flex-direction: column; gap: 12px; }
.one-item { background: var(--paper); border: 1px solid #e0e7db; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px #1f3b1802; }
.one-item:hover { border-color: #cbd9c1; }
.item-name { display: grid; grid-template-columns: 24px minmax(0,1fr) 135px 14px; align-items: center; gap: 18px; padding: 20px 23px; min-height: 90px; }
.item-index { align-self: start; padding-top: 3px; color: #a8b59e; font-size: 10px; font-variant-numeric: tabular-nums; }
.item-overview { min-width: 0; }
.item-company { display: block; color: #355334; font-size: 15px; line-height: 1.6; font-weight: 550; overflow-wrap: anywhere; }
.item-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #8a987d; font-size: 12px; line-height: 1.9; margin-top: 7px; overflow-wrap: anywhere; font-weight: 400; }
.item-price { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; text-align: right; }
.price-quote { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; column-gap: 4px; color: #a18a54; line-height: 1.4; }
.price-kind { width: 100%; color: #adad90; font-size: 10px; line-height: 1.6; margin-bottom: 2px; }
.price-quote strong { font-size: 21px; letter-spacing: -.6px; line-height: 1.2; font-weight: 550; font-variant-numeric: tabular-nums; color: #99762f; }
.price-unit { font-size: 10px; color: #a5ac8e; white-space: nowrap; }
.price-none { font-size: 11px; color: #a1ad93; line-height: 1.6; }
.item-chevron { color: #a6b499; display: inline-flex; justify-content: center; transition: transform .15s; }
.item-chevron svg { width: 14px; height: 14px; }
.one-item[open] { border-color: #bbcfaf; box-shadow: 0 4px 16px #334f1e06; }
.one-item[open]>.item-name { background: #fbfcf8; }
.one-item[open] .item-title { -webkit-line-clamp: unset; color: #7e916b; }
.one-item[open] .item-chevron { transform: rotate(180deg); color: #77905e; }
.item-content { border-top: 1px solid #e7ecdf; padding: 0 23px 24px 65px; background: #fff; }
.detail-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 13px; }
.detail-toolbar h4 { font-size: 12px; color: #738460; font-weight: 500; }
.btn-copy-all { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 11px; border: 1px solid #c5d6b8; border-radius: 7px; background: #f1f6eb; color: #5f7e42; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.btn-copy-all:hover { background: #e6efd9; border-color: #a6c08e; }
.btn-copy-all svg { width: 13px; height: 13px; }
.detail-lines { border-top: 1px solid #edf0e5; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid #edf0e5; min-height: 48px; }
.line-row:last-child { border-bottom: 0; }
.line-text { color: #73835f; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; min-width: 0; white-space: pre-wrap; }
.btn-copy { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; color: #91a078; font-size: 10px; line-height: 1.4; border: 1px solid #e4ebdb; padding: 7px 9px; border-radius: 6px; background: #fff; white-space: nowrap; }
.btn-copy:hover { color: #5c7a3e; border-color: #b9cea1; background: #f5f8ef; }
.btn-copy svg { width: 12px; height: 12px; }
.page-footer { border-top: 1px solid #e1e8d8; margin-top: 27px; padding: 21px 0 5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #9ca98b; font-size: 10px; line-height: 1.7; }
.empty-state { border: 1px dashed #d9e2ce; border-radius: 12px; background: #fbfcf8; text-align: center; padding: 65px 24px; }
.empty-state svg { width: 32px; height: 32px; color: #b0c09b; margin: 0 auto 17px; }
.empty-state h3 { color: #7d9260; font-size: 16px; font-weight: 500; line-height: 1.6; }
.empty-state p { color: #9aaa85; font-size: 12px; line-height: 1.8; margin-top: 9px; }
#loadError { padding: 22px; border: 1px solid #eadbc9; border-radius: 10px; color: #9f7956; background: #fffaf3; font-size: 13px; line-height: 1.9; margin: 24px 0; overflow-wrap: anywhere; }
.modal-mask { position: fixed; inset: 0; padding: 24px; background: #ebefe7db; backdrop-filter: blur(8px); z-index: 50; display: flex; justify-content: center; align-items: center; }
.modal-box { width: 420px; max-width: 100%; padding: 38px; border: 1px solid #dce5d3; border-radius: 18px; background: #fff; box-shadow: 0 25px 90px #41572b13; }
.modal-box .brand-mark { margin-bottom: 25px; }
.modal-box .eyebrow { color: #9aad8d; font-size: 9px; margin-bottom: 8px; }
.modal-title { color: #365b35; font-size: 25px; font-weight: 600; line-height: 1.5; letter-spacing: -.5px; }
.modal-tip { color: #869877; font-size: 12px; line-height: 1.9; margin: 13px 0 25px; white-space: pre-line; }
.modal-input { width: 100%; border: 1px solid #d5e1c9; border-radius: 8px; padding: 13px 14px; font-size: 13px; line-height: 1.7; background: #fafcf7; color: #4c6a3b; }
.modal-input::placeholder { color: #a3b18f; }
.modal-input:focus { background: #fff; border-color: #8fac70; box-shadow: 0 0 0 3px #d4e1c444; }
.form-error { color: #ae6c57; font-size: 12px; line-height: 1.8; margin: 10px 0; min-height: 10px; }
.btn-save-full { width: 100%; border: 1px solid #285a48; border-radius: 8px; padding: 13px; font-size: 13px; line-height: 1.5; color: white; background: var(--green); font-weight: 500; }
.btn-save-full:hover { background: #1e4939; border-color: #1e4939; }
.access-footnote { text-align: center; color: #a7b59b; font-size: 10px; line-height: 1.8; margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); border-radius: 10px; padding: 13px 22px; color: #fff; background: #355a3b; box-shadow: 0 8px 24px #2744281a; z-index: 100; max-width: calc(100vw - 32px); text-align: center; font-size: 12px; line-height: 1.8; }
.clipboard-helper { position: fixed; left: -9999px; top: 0; }

/* Keep dense information easy to read at ordinary desktop sizes. */
.item-company { font-size: 16px; color: #304932; }
.item-title { font-size: 13px; color: #687762; }
.line-text { color: #5f7355; }
.cate-notice-content { color: #6c7e5e; }
.category-label { color: inherit; }
.sidebar-help p { color: #6f8165; }
.price-unit { color: #8b9675; }
.price-kind { color: #8f9b7c; }
.btn-copy { color: #7a8e63; }
#listSubtitle, .category-description { color: #75866b; }
.cate-notice>summary, .detail-toolbar h4 { color: #657c55; }
.category-count, #categoryCount { color: #7d8d71; }
.page-footer { color: #7a8b6b; }
.cate-notice>summary>span:first-child { flex: 1; min-width: 0; white-space: nowrap; }
.notice-preview { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 7px; font-size: 10px; color: #8b9d7b; font-weight: 400; }
.notice-toggle { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.notice-toggle b { font-size: 13px; line-height: 1; font-weight: 400; display: block; transition: transform .15s; }
.cate-notice[open] .notice-toggle b { transform: rotate(180deg); }
.price-quote strong>span { font-size: 12px; font-weight: 400; margin-right: 2px; letter-spacing: 0; }
.detail-empty { padding: 20px 0 5px; font-size: 12px; color: #90a080; line-height: 1.8; }
.empty-icon { display: inline-flex; color: #b0c09b; }
.update-panel>summary { display: grid; grid-template-columns: auto auto minmax(0,1fr) 12px; column-gap: 16px; }
.update-panel>summary>span:first-child { white-space: nowrap; }
.update-panel>summary i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #a1b98c; flex-shrink: 0; }
.update-panel>summary>.update-short { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #92a284; }
.update-panel>summary>b { color: #a4b293; font-size: 13px; line-height: 1; font-weight: 400; transition: transform .15s; text-align: right; }
.update-panel[open]>summary>b { transform: rotate(180deg); }

@media (max-width: 1100px) {
  .header-inner, .container { width: calc(100% - 48px); }
  .library-layout { grid-template-columns: 196px minmax(0,1fr); gap: 24px; }
  .intro { padding: 36px 0 30px; }
  .intro h2 { font-size: 26px; }
  .item-name { grid-template-columns: 20px minmax(0,1fr) 108px 12px; gap: 13px; padding: 21px 19px; }
  .item-company { font-size: 15px; }
  .item-title { font-size: 12px; }
  .item-content { padding: 0 19px 20px 52px; }
  .price-quote strong { font-size: 20px; }
  .sidebar-help { padding: 20px 15px; }
}
@media (max-width: 800px) {
  .header-inner, .container { width: calc(100% - 40px); }
  .site-header { height: 76px; }
  .site-brand h1 { font-size: 16px; }
  #headerUpdate { display: none; }
  .intro { padding: 31px 0 26px; gap: 20px; }
  .intro h2 { font-size: 25px; }
  #guide { font-size: 12px; }
  .intro-stat { padding-left: 20px; }
  .intro-stat strong { font-size: 30px; }
  .intro-stat span { font-size: 10px; }
  .library-layout { display: block; }
  .category-sidebar { position: static; margin-bottom: 24px; }
  .sidebar-heading { padding: 0 1px 12px; }
  #categoryNav { flex-direction: row; overflow-x: auto; gap: 8px; padding: 0 0 4px; scrollbar-width: thin; scrollbar-color: #c8d7b8 transparent; }
  .category-button { width: auto; flex-shrink: 0; padding: 10px 13px; border-color: #e0e6d9; background: #fff; gap: 8px; border-radius: 8px; max-width: 215px; }
  .category-label { font-size: 12px; }
  .category-icon svg { width: 16px; height: 16px; }
  .category-count { min-width: 16px; }
  .sidebar-help { display: flex; align-items: center; gap: 16px; margin-top: 13px; padding: 11px 14px; border-radius: 8px; }
  .sidebar-help h3 { font-size: 11px; flex-shrink: 0; }
  .sidebar-help p { font-size: 10px; margin: 0; flex: 1; line-height: 1.7; }
  .sidebar-help a { font-size: 11px; flex-shrink: 0; }
  .content-heading { margin-top: 23px; }
  #listTitle { font-size: 18px; }
  .item-name { grid-template-columns: 20px minmax(0,1fr) 120px 12px; }
  .item-company { font-size: 16px; }
  .item-title { font-size: 13px; }
}
@media (max-width: 520px) {
  .header-inner, .container { width: calc(100% - 32px); }
  .site-header { height: 72px; }
  .site-brand { gap: 10px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .site-brand h1 { font-size: 16px; }
  .brand-subtitle { font-size: 8px; letter-spacing: 1.4px; margin-top: 4px; }
  .text-button { font-size: 10px; padding: 7px 9px; }
  .intro { align-items: flex-start; padding: 29px 0 23px; gap: 12px; }
  .eyebrow { font-size: 8px; letter-spacing: 2px; margin-bottom: 9px; }
  .intro h2 { font-size: 22px; letter-spacing: -.4px; }
  #guide { font-size: 11px; margin-top: 10px; line-height: 1.9; }
  .intro-stat { display: none; }
  .category-sidebar { margin-bottom: 20px; }
  .sidebar-heading h2 { font-size: 11px; }
  .category-button { padding: 9px 11px; gap: 7px; max-width: 185px; }
  .category-label { font-size: 11px; }
  .category-count { font-size: 9px; }
  .category-icon svg { width: 14px; height: 14px; }
  .sidebar-help { gap: 10px; padding: 10px 12px; }
  .sidebar-help h3 { font-size: 10px; }
  .sidebar-help p { display: none; }
  .sidebar-help a { font-size: 10px; margin-left: auto; }
  .search-box { padding: 0 14px; min-height: 48px; border-radius: 9px; gap: 9px; }
  .search-box input { font-size: 12px; padding: 14px 0; }
  .search-icon svg { width: 17px; height: 17px; }
  .content-heading { margin: 22px 0 16px; align-items: baseline; gap: 10px; }
  #listTitle { font-size: 18px; }
  #listSubtitle { font-size: 10px; margin-top: 6px; }
  #searchCount { font-size: 10px; }
  .update-panel>summary { font-size: 10px; padding: 12px 0; gap: 10px; }
  .update-panel>summary { grid-template-columns: auto minmax(0,1fr) 12px; }
  .update-panel>summary>.update-short { display: none; }
  .update-panel time { text-align: right; }
  .update-panel time { font-size: 9px; }
  .history-list { font-size: 10px; }
  .history-list>div { align-items: flex-start; gap: 9px; }
  .history-list time { font-size: 9px; }
  .category-heading { margin: 18px 0 11px; }
  .category-heading h3 { font-size: 13px; gap: 8px; }
  .category-description { font-size: 10px; }
  .cate-notice>summary { padding: 11px 12px; font-size: 10px; }
  .cate-notice-content { padding: 0 12px 14px; font-size: 11px; line-height: 1.95; }
  .notice-toggle { font-size: 9px; }
  .notice-preview { display: none; }
  .item-list { gap: 10px; }
  .one-item { border-radius: 10px; }
  .item-name { grid-template-columns: 16px minmax(0,1fr) 12px; gap: 8px 10px; align-items: start; padding: 18px 14px 17px; }
  .item-index { grid-column: 1; grid-row: 1; font-size: 9px; padding-top: 3px; }
  .item-overview { grid-column: 2; grid-row: 1; }
  .item-company { font-size: 14px; line-height: 1.7; }
  .item-title { font-size: 11px; line-height: 1.95; margin-top: 6px; -webkit-line-clamp: 2; }
  .item-chevron { grid-column: 3; grid-row: 1; padding-top: 4px; }
  .item-chevron svg { width: 12px; height: 12px; }
  .item-price { grid-column: 2; grid-row: 2; align-items: flex-start; text-align: left; margin-top: 3px; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .price-quote { justify-content: flex-start; column-gap: 4px; }
  .price-quote strong { font-size: 19px; line-height: 1.3; }
  .price-kind { width: auto; font-size: 10px; margin: 0 2px 0 0; }
  .price-unit { font-size: 9px; }
  .price-none { font-size: 10px; }
  .item-content { padding: 0 15px 16px; }
  .detail-toolbar { padding: 15px 0 11px; }
  .detail-toolbar h4 { font-size: 11px; }
  .btn-copy-all { padding: 8px 10px; font-size: 10px; }
  .line-row { gap: 12px; padding: 11px 0; align-items: flex-start; }
  .line-text { font-size: 12px; line-height: 1.9; padding-top: 3px; }
  .btn-copy { padding: 7px 8px; font-size: 10px; min-height: 30px; }
  .btn-copy svg { display: none; }
  .page-footer { margin-top: 20px; padding-top: 17px; font-size: 9px; gap: 10px; flex-wrap: wrap; }
  .empty-state { padding: 45px 18px; }
  .empty-state h3 { font-size: 14px; }
  .empty-state p { font-size: 11px; }
  .modal-mask { padding: 20px; }
  .modal-box { padding: 30px 26px; border-radius: 14px; }
  .modal-title { font-size: 23px; }
  .modal-tip { font-size: 12px; }
  .modal-input { font-size: 16px; }
  .toast { font-size: 11px; padding: 12px 18px; bottom: 22px; }
}
/* Spacious square tiles keep browsing focused on one company at a time. */
.item-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}
.one-item { min-width: 0; border-radius: 14px; align-self: start; }
.one-item:not([open]):hover { border-color: #b2c8a5; box-shadow: 0 8px 24px #38532608; }
.item-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 22px minmax(min-content, 1fr) auto 34px;
  gap: 14px;
  align-items: start;
  min-height: 312px;
  aspect-ratio: 1;
  padding: 23px 23px 17px;
}
.item-index {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 22px;
  color: #91a187;
}
.item-overview { grid-column: 1; grid-row: 2; align-self: start; }
.item-company {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.75;
  color: #315232;
}
.item-title { -webkit-line-clamp: 3; font-size: 12px; line-height: 1.9; margin-top: 10px; color: #809172; }
.item-price {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-self: end;
  text-align: left;
  gap: 7px;
  margin: 1px 0 0;
  min-width: 0;
}
.price-quote { justify-content: flex-start; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-kind { width: auto; font-size: 10px; margin: 0 4px 0 0; }
.price-quote strong { font-size: 26px; line-height: 1.3; letter-spacing: -.7px; }
.price-quote strong>span { font-size: 13px; margin-right: 3px; }
.price-unit { font-size: 10px; }
.price-none { font-size: 12px; line-height: 2; }
.item-chevron {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  align-self: end;
  width: 100%;
  padding: 13px 0 0;
  margin-top: 0;
  border-top: 1px solid #e9eedf;
  transform: none;
  color: #6f8b5c;
  font-size: 11px;
  line-height: 1.5;
}
.item-action-arrow { display: inline-block; font-size: 16px; font-weight: 400; color: #8eaa78; transition: transform .15s; }
.item-action-close { display: none; }
.one-item[open] { grid-column: 1 / -1; }
.one-item[open]>.item-name {
  aspect-ratio: auto;
  min-height: 0;
  grid-template-columns: 24px minmax(0, 1fr) minmax(130px, 175px);
  grid-template-rows: auto auto;
  gap: 17px 20px;
  padding: 25px 25px 19px;
  align-items: start;
}
.one-item[open] .item-index { grid-column: 1; grid-row: 1; }
.one-item[open] .item-overview { grid-column: 2; grid-row: 1; }
.one-item[open] .item-company { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 16px; }
.one-item[open] .item-title { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 13px; line-height: 1.9; color: #6c825c; }
.one-item[open] .item-price { grid-column: 3; grid-row: 1; justify-self: end; text-align: right; align-items: flex-end; align-self: start; }
.one-item[open] .price-quote { justify-content: flex-end; }
.one-item[open] .item-chevron { grid-column: 2 / -1; grid-row: 2; transform: none; padding-top: 12px; color: #6f8b5c; }
.one-item[open] .item-action-label { display: none; }
.one-item[open] .item-action-close { display: inline; }
.one-item[open] .item-action-arrow { transform: rotate(-90deg); }
.item-content { padding: 0 25px 24px 69px; }
@media (max-width: 1179px) {
  .item-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .item-name { min-height: 305px; padding: 21px 21px 17px; }
  .item-company { font-size: 16px; }
}
@media (max-width: 800px) {
  .item-name { min-height: 310px; }
  .one-item[open]>.item-name { grid-template-columns: 20px minmax(0, 1fr) 145px; gap: 16px; padding: 23px 21px 17px; }
  .item-content { padding: 0 21px 21px 57px; }
}
@media (max-width: 580px) {
  .item-list { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .one-item { border-radius: 13px; }
  .item-name { min-height: 302px; aspect-ratio: 1.08; grid-template-rows: 22px minmax(min-content, 1fr) auto 34px; padding: 23px 23px 18px; gap: 13px; }
  .item-company { font-size: 17px; line-height: 1.7; }
  .item-title { font-size: 13px; line-height: 1.95; -webkit-line-clamp: 3; margin-top: 10px; }
  .item-price { grid-column: 1; grid-row: 3; margin: 0; flex-direction: column; gap: 7px; }
  .price-quote strong { font-size: 27px; }
  .price-kind, .price-unit { font-size: 11px; }
  .item-chevron { grid-column: 1; grid-row: 4; padding-top: 13px; font-size: 12px; }
  .one-item[open]>.item-name { grid-template-columns: 18px minmax(0,1fr); grid-template-rows: auto auto auto; gap: 15px 11px; padding: 21px 19px 17px; min-height: 0; aspect-ratio: auto; }
  .one-item[open] .item-index { grid-column: 1; grid-row: 1; }
  .one-item[open] .item-overview { grid-column: 2; grid-row: 1; }
  .one-item[open] .item-company { font-size: 16px; }
  .one-item[open] .item-title { font-size: 12px; }
  .one-item[open] .item-price { grid-column: 2; grid-row: 2; justify-self: start; align-items: flex-start; text-align: left; }
  .one-item[open] .price-quote { justify-content: flex-start; }
  .one-item[open] .item-chevron { grid-column: 2; grid-row: 3; }
  .item-content { padding: 0 19px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
