.record-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(930px, 66vw); max-width: 100vw;
  height: 100dvh; max-height: 100dvh; border: 0; border-left: 1px solid #d7e4e6;
  padding: 0; color: #102c3c; background: #fff; overflow-y: auto;
  box-shadow: -10px 0 36px #173c4818; font-size: 17px; line-height: 1.75;
}
.record-drawer::backdrop { background: #183b4812; }
.record-drawer-header {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 20px;
  padding: 22px 28px; background: #fffffffa; border-bottom: 1px solid #e5ecee;
}
.record-drawer-header h2 { margin: 0 auto 0 0; font-size: 23px; }
.record-drawer-header a { white-space: nowrap; color: #007f80; font-size: 15px; font-weight: 650; }
.record-drawer-header button { border: 0; border-left: 1px solid #dbe5e9; border-radius: 0; padding: 6px 0 6px 20px; background: transparent; color: #102c3c; font: inherit; cursor: pointer; white-space: nowrap; }
.record-drawer-content { padding: 24px 30px 40px; }
.record-drawer .record-detail, .standalone-record .record-detail { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 17px; line-height: 1.8; }
.record-detail .record-meta { color: #71828e; margin: 0 0 10px; font-size: 15px; }
.record-detail h1 { font-size: 30px; line-height: 1.4; margin: 0 0 10px; overflow-wrap: anywhere; }
.record-detail .record-organization { font-size: 18px; margin: 0 0 22px; }
.record-detail section { margin: 26px 0; border: 0; padding: 0; }
.record-detail h2 { margin: 0 0 12px; font-size: 19px; }
.record-detail .record-original-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; box-sizing: border-box; padding: 10px 18px; border: 1px solid #007f80; border-radius: 6px; background: #007f80; color: #fff; font-weight: 650; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.record-detail .record-original-link:hover { background: #006b6c; border-color: #006b6c; }
.record-detail .record-conclusion { background: #eff9f7; border-radius: 7px; padding: 22px; margin: 22px 0 32px; }
.record-detail .record-conclusion h2 { color: #087f78; font-size: 25px; }
.record-detail .record-conclusion.risk { background: #fdf0f2; }
.record-detail .record-conclusion.risk h2 { color: #cb263a; }
.record-detail .record-conclusion p { margin: 8px 0 0; }
.record-detail .record-result-facts { margin: 0; }
.record-detail .record-result-facts + .record-result-facts { margin-top: 18px; }
.record-detail .record-result-facts > div { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 18px; padding: 11px 0; border-bottom: 1px solid #e4ecee; }
.record-detail .record-result-facts dt { font-size: 16px; font-weight: 400; }
.record-detail .record-result-facts dd { margin: 0; }
.record-detail .inspection-table-wrap { max-width: 100%; overflow-x: auto; }
.record-detail .inspection-table { min-width: 460px; width: 100%; font-size: 15px; border-collapse: collapse; }
.record-detail .inspection-table th, .record-detail .inspection-table td { padding: 13px 10px; border: 0; border-bottom: 1px solid #e4ecee; text-align: left; vertical-align: top; }
.record-detail .inspection-table thead { background: #f6faf9; }
.record-detail .inspection-table small { display: block; color: #71828e; }
.record-detail details { margin: 0; padding: 17px 0; border-top: 1px solid #dce7e9; }
.record-detail summary { cursor: pointer; font-size: 17px; font-weight: 650; }
.record-detail .detail-grid { margin: 14px 0; grid-template-columns: 1fr; }
.record-detail .detail-grid > div { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; border: 0; border-bottom: 1px solid #edf1f3; border-radius: 0; padding: 10px 0; background: transparent; }
.record-detail dt { color: #71828e; }
.record-detail dd { margin: 0; overflow-wrap: anywhere; }
.record-detail .evidence-box { border-left: 0; background: transparent; border-radius: 0; overflow-wrap: anywhere; }
.record-detail .record-scope-note { background: #f4f6f9; padding: 10px 14px; border-radius: 6px; color: #637581; font-size: 14px; }
.standalone-record { max-width: 900px; }
.standalone-record > a { display: inline-block; margin-bottom: 28px; color: #007f80; }
.record-drawer :focus-visible { outline: 3px solid #008b8a; outline-offset: 3px; }
@media (max-width: 760px) {
  .record-drawer { width: 100vw; border-left: 0; }
  .record-drawer-header { padding: 16px 18px; gap: 12px; }
  .record-drawer-header h2 { font-size: 20px; }
  .record-drawer-header a { font-size: 14px; }
  .record-drawer-header button { padding-left: 12px; }
  .record-drawer-content { padding: 22px 20px 36px; }
  .record-detail h1 { font-size: 27px; }
  .record-detail .record-conclusion { padding: 18px; }
}
