/* Everyday actions are explicit; category counts and record details stay distinct. */
body { background: #f4f6f5; color: #233b32; }
.site-header { background: #fff; }
.header-inner { min-height: 76px; padding-top: 12px; padding-bottom: 12px; }
.header-caption { display: none; }
#main { max-width: 1180px; margin: auto; padding: 24px 28px 48px; min-height: 70vh; }
#main a { color: #225c49; text-underline-offset: 4px; }
#main .button { border-radius: 9px; min-height: 44px; padding: 10px 16px; font-size: 14px; line-height: 1.5; margin: 0; }
#main .button-primary { background: #225c49; color: #fff; border: 1px solid #225c49; }
#main .button-secondary { background: #fff; color: #225c49; border: 1px solid #bdcec6; }
#main .button:hover { box-shadow: 0 2px 6px #173d2320; }
#main :is(a,button,input,select,summary):focus-visible { outline: 3px solid #c37b2a; outline-offset: 3px; }
.r1-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
.r1-nav a { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 76px; padding: 12px 16px; border: 1px solid #d8e1dc; border-radius: 12px; background: #fff; text-decoration: none; }
.r1-nav strong { font-size: 18px; }
.r1-nav span { font-size: 12px; color: #63796c; }
#main .r1-nav a[aria-current] { background: #225c49; border-color: #225c49; color: #fff; box-shadow: 0 3px 8px #225c4920; }
.r1-nav a[aria-current] span { color: #d5e7df; }
.r1-nav a:hover { border-color: #497962; transform: translateY(-1px); }
.r1-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin: 0 0 10px; }
.r1-heading h1 { font-size: clamp(22px,2.6vw,30px); line-height: 1.45; margin: 0; font-family: var(--body); }
.r1-coverage { color: #65756b; font-size: 12px; }
.r1-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #77857d; font-size: 13px; margin: 0 0 20px; }
.r1-trail .is-current { color: #225c49; font-weight: 700; background: #e1ece5; padding: 4px 10px; border-radius: 6px; }
.r1-trail a,.r1-trail-back { color: #225c49; background: none; border: 0; padding: 6px 0; text-decoration: underline; min-height: 36px; }
.r1-section-intro h2,.r1-result-intro h2 { font-size: 18px; margin: 0; }
.r1-section-intro p { font-size: 14px; color: #627469; margin-top: 4px; }
.r1-tools { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin: 14px 0; font-size: 14px; }
.r1-secondary-link { padding: 8px 0; }
.r1-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 16px 0; padding: 16px; background: #fff; border: 1px solid #dce4df; border-radius: 12px; }
.r1-search { display: flex; gap: 8px; flex: 1 1 280px; min-width: 0; }
.r1-search input { width: 100%; min-width: 0; margin: 0; }
.r1-search button { flex-shrink: 0; }
.r1-filters :is(input,select) { padding: 10px 12px; border: 1px solid #aebfb5; border-radius: 8px; min-height: 44px; background: #fff; font-size: 14px; color: #233b32; }
.filter-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #597061; min-width: 100px; }
.filter-label select { max-width: 220px; }
.r1-active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; margin: -4px 0 16px; }
.r1-chip { display: inline-flex; padding: 6px 10px; border: 1px solid #c8d9cf; border-radius: 6px; background: #eaf2ec; text-decoration: none; }
.r1-reset { padding: 6px; }
.r1-category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.r1-category-section { overflow: hidden; background: #fff; border: 1px solid #d8e1dc; border-radius: 12px; }
.r1-category-section h2 { font-size: 16px; padding: 14px 16px; background: #e9f0eb; margin: 0; }
.r1-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; font-size: 14px; }
.r1-table th,.r1-table td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #e2e8e3; overflow-wrap: anywhere; }
.r1-table th { font-size: 12px; color: #62776a; font-weight: 600; background: #f4f7f4; }
.r1-table thead th:first-child { width: 27%; }
.r1-table thead th:nth-child(2) { width: 46%; }
.r1-table thead th:last-child { width: 27%; }
.r1-categories thead th:first-child { width: 46%; }
.r1-categories thead th:nth-child(2) { width: 17%; }
.r1-categories thead th:last-child { width: 37%; }
.r1-categories td { padding: 7px 14px; vertical-align: middle; }
.r1-categories tr:last-child td { border-bottom: 0; }
.r1-categories td a { display: block; min-height: 44px; align-content: center; text-decoration: none; }
.r1-category-name { font-weight: 600; }
.r1-number { font-variant-numeric: tabular-nums; font-weight: 700; }
.r1-categories td .r1-open { display: flex; align-items: center; justify-content: center; border: 1px solid #c3d5ca; border-radius: 8px; background: #f0f6f2; font-size: 13px; font-weight: 600; white-space: nowrap; }
.r1-table tr:hover td { background: #f4f9f5; }
.r1-records { border: 1px solid #d8e1dc; }
.r1-record-title { display: inline-block; font-weight: 700; font-size: 15px; line-height: 1.65; text-decoration: underline; }
.r1-record-open,.r1-related-action { display: inline-block; margin-top: 12px; padding: 8px 10px; min-height: 40px; background: #eaf3ed; border: 1px solid #c4d8cc; border-radius: 7px; font-size: 13px; text-decoration: none; }
.r1-table p { font-size: inherit; margin: 6px 0; line-height: 1.7; }
.field-label { color: #6b7e71; font-size: .88em; }
.r1-price { color: #9b4a19; font-size: 1.08em!important; font-weight: 700; }
.r1-caution { border-left: 3px solid #b5c4b3; padding-left: 8px; color: #53684f; }
.r1-contact { word-break: break-word; }
.r1-copy { display: block; min-height: 40px; margin: 6px 0; padding: 6px 12px; border: 1px solid #8bb69a; border-radius: 7px; background: #fff; color: #225c49; font-size: 13px; }
.r1-thumb,.r1-image { display: inline-flex; flex-direction: column; align-items: center; margin: 8px 6px 8px 0; border: 1px solid #b7cdbf; padding: 4px; border-radius: 9px; background: #fff; max-width: 100%; cursor: zoom-in; overflow: hidden; }
.r1-thumb { width: 120px; }
.r1-thumb img { width: 100%; max-height: 110px; object-fit: contain; }
.r1-image img { max-width: 100%; max-height: 340px; object-fit: contain; }
.r1-image-label { width: 100%; padding: 7px 6px; color: #225c49; background: #eaf3ed; font-size: 12px; text-align: center; }
.r1-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.r1-detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; position: sticky; top: 0; z-index: 4; background: #f4f6f5f5; padding: 12px 0; border-bottom: 1px solid #dce4df; }
.r1-detail { background: #fff; border: 1px solid #dce4df; border-radius: 12px; padding: 26px; margin: 18px 0; overflow-wrap: anywhere; }
.r1-detail h2 { font-size: 18px; margin: 20px 0 10px; }
.r1-detail p { line-height: 1.85; margin: 8px 0; }
.r1-detail>div { margin-bottom: 24px; }
.r1-detail .r1-detail-label { padding-bottom: 8px; border-bottom: 1px solid #e1e9e3; }
.r1-detail li { line-height: 1.8; margin: 6px 0; }
.r1-detail a { display: inline-block; margin: 6px 8px 6px 0; }
.r1-event { border-top: 1px solid #e4e8dc; padding: 12px 0; }
.r1-scope { border: 1px solid #d1dfd6; background: #eaf2ed; padding: 12px 16px; border-radius: 9px; line-height: 1.7; font-size: 14px; }
.r1-note { font-size: 13px; color: #637669; margin: 14px 0; }
.r1-result-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 18px 0 10px; }
.r1-result-intro span { color: #6b7e71; font-size: 12px; }
.r1-documents { border-top: 1px solid #d6e0d8; padding: 16px 0; margin-top: 20px; color: #526c5c; }
.r1-documents summary { cursor: pointer; min-height: 44px; padding: 8px; background: #eaf1eb; border-radius: 7px; }
.r1-documents a { display: block; font-size: 14px; margin: 8px 0; overflow-wrap: anywhere; }
.r1-documents ul { padding-left: 20px; }
.r1-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; margin: 24px 0; }
.r1-empty,.r1-message { padding: 24px; border: 1px dashed #b1c5b9; border-radius: 10px; background: #fff; line-height: 1.8; margin-bottom: 16px; }
.r1-update { padding: 12px 16px; background: #fff0d7; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.r1-image-dialog { max-width: min(95vw,1100px); max-height: 94vh; padding: 16px; border: 0; border-radius: 12px; }
.r1-image-dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; margin-top: 12px; }
.r1-feedback { width: min(92vw,520px); border: 0; border-radius: 12px; padding: 24px; }
.r1-feedback form { display: flex; flex-direction: column; gap: 12px; }
.r1-feedback textarea { min-height: 140px; resize: vertical; border: 1px solid #bdc8bd; padding: 12px; border-radius: 8px; }
.r1-feedback select { padding: 10px; }
dialog::backdrop { background: #16291ebd; }
.r1-loading::after { content: '正在加载…'; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 20; background: #225c49; color: #fff; padding: 10px 24px; border-radius: 25px; box-shadow: 0 3px 12px #0002; }
@media(max-width:600px) {
  .header-inner { min-height: 64px; }
  #main { padding: 14px 12px 32px; }
  .r1-nav { gap: 4px; margin-bottom: 18px; }
  .r1-nav a { min-height: 66px; padding: 8px 3px; border-radius: 8px; align-items: center; }
  .r1-nav strong { font-size: 14px; }
  .r1-nav span { font-size: 10px; white-space: nowrap; }
  .r1-heading { gap: 4px; margin-bottom: 8px; }
  .r1-heading h1 { font-size: 23px; }
  .r1-trail { gap: 7px; margin-bottom: 14px; font-size: 12px; }
  .r1-section-intro h2 { font-size: 17px; }
  .r1-section-intro p { font-size: 13px; }
  .r1-tools { gap: 8px 12px; margin: 10px 0; font-size: 13px; }
  .r1-category-grid { grid-template-columns: 1fr; gap: 14px; }
  .r1-category-section h2 { padding: 12px; }
  .r1-categories td,.r1-categories th { padding: 7px 10px; }
  .r1-filters { padding: 12px; gap: 10px; margin: 12px 0; }
  .r1-search { flex-basis: 100%; }
  .filter-label { flex: 1 1 40%; min-width: 0; }
  .filter-label select { width: 100%; max-width: none; }
  .r1-records { font-size: 13px; }
  .r1-records th,.r1-records td { padding: 12px 7px; }
  .r1-record-title { font-size: 14px; }
  .r1-record-open,.r1-related-action { padding: 7px 6px; font-size: 12px; }
  .r1-thumb { width: 102px; }
  .r1-thumb img { max-height: 96px; }
  .r1-copy { padding: 6px 8px; font-size: 12px; }
  .r1-detail { padding: 16px; margin: 12px 0; }
  .r1-detail-actions { gap: 6px; }
  #main .r1-detail-actions .button { font-size: 12px; padding: 9px; }
  .r1-scope { padding: 10px 12px; font-size: 13px; }
  .r1-pagination { font-size: 12px; }
}

.r1-filter-panel { margin: 14px 0; border: 1px solid #cbd9d0; border-radius: 9px; background: #fff; }
.r1-filter-panel>summary { cursor: pointer; padding: 10px 14px; min-height: 44px; color: #225c49; font-weight: 600; font-size: 14px; }
.r1-filter-panel .r1-filters { border: 0; border-top: 1px solid #e0e8e2; border-radius: 0; margin: 0; background: transparent; }
