:root { font-family: Arial, Helvetica, sans-serif; color: #202020; background: #fff; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, label[for] { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.site-header { border-bottom: 1px solid #e5e5e5; }
.masthead { max-width: 1040px; margin: auto; min-height: 92px; padding: 23px 32px 21px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead a { font-size: 21px; font-weight: bold; text-decoration: none; letter-spacing: -.4px; }
.masthead a span { display: block; font-size: 12px; font-weight: normal; letter-spacing: 0; color: #686868; margin-top: 5px; }
.service-label { color: #686868; font-size: 12px; }
.brand-rule { height: 3px; background: #242424; position: relative; }
.brand-rule::after { content: ''; position: absolute; right: 0; width: 24%; height: 100%; background: #d60000; }
main { width: calc(100% - 64px); max-width: 800px; margin: 64px auto 60px; flex: 1; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }
h1 { font-size: 25px; font-weight: 600; letter-spacing: -.55px; line-height: 1.3; margin: 0; }
.intro { color: #606060; line-height: 1.6; margin: 0 0 29px; }
form label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: bold; }
.lookup-row { display: flex; gap: 9px; }
.lookup-row input { width: 100%; min-width: 0; height: 46px; border: 1px solid #929292; padding: 0 13px; border-radius: 0; background: #fff; color: #202020; }
.lookup-row input::placeholder { color: #7a7a7a; }
.lookup-row button { background: #cf0000; color: #fff; border: 1px solid #cf0000; padding: 0 27px; height: 46px; font-weight: bold; cursor: pointer; border-radius: 0; }
.lookup-row button:hover { background: #a90000; border-color: #a90000; }
.lookup-row button:disabled { cursor: wait; opacity: .65; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, .file-button:focus-within, .pdf-file-button:focus-within { outline: 2px solid #bf0000; outline-offset: 4px; }
.scan-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 27px; row-gap: 6px; margin-top: 16px; }
.utility-button, .text-button { color: #474747; padding: 7px 0; margin: 0; background: none; border: 0; font: inherit; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.utility-button:hover, .text-button:hover { color: #b00000; text-decoration: underline; text-underline-offset: 4px; }
.utility-button:disabled { cursor: wait; opacity: .5; }
.utility-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: miter; }
.file-button, .pdf-file-button { position: relative; }
.file-button input, .pdf-file-button input { opacity: 0; position: absolute; width: 1px; height: 1px; padding: 0; }
#newLookup { flex-shrink: 0; font-size: 12px; color: #616161; }
#newLookup span { font-size: 16px; }
#cameraPanel { max-width: 440px; margin-top: 20px; }
video { display: block; width: 100%; background: #202020; margin-bottom: 6px; }
#message { font-size: 13px; line-height: 1.6; color: #555; margin: 18px 0 0; overflow-wrap: anywhere; }
#message:empty { display: none; }
#message.error, .error { color: #b00000; }
#result { border-top: 2px solid #292929; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 25px 0 24px; }
.document-type { font-size: 10px; letter-spacing: .7px; line-height: 1.5; text-transform: uppercase; color: #646464; margin: 0 0 10px; }
h2 { font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -.4px; margin: 0; }
#resultExplanation { margin: 8px 0 0; color: #777; font-size: 13px; }
.registry-state { font-size: 11px; line-height: 1.5; border: 1px solid #c4c4c4; color: #555; padding: 5px 9px; white-space: nowrap; }
.registry-state.inactive { border-color: #bf0000; color: #b00000; }
dl { margin: 0; }
#recordFields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 38px; padding-bottom: 10px; }
.field { min-width: 0; padding: 18px 0; border-top: 1px solid #e5e5e5; }
.field.full-width { grid-column: 1 / -1; }
dt { font-size: 11px; color: #747474; margin-bottom: 7px; }
dd { font-size: 14px; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.reference dd { font-size: 14px; font-weight: bold; letter-spacing: .1px; }
details { border-top: 1px solid #d6d6d6; }
details:last-child { border-bottom: 1px solid #d6d6d6; }
summary { padding: 18px 0; list-style: none; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 19px; line-height: 1; color: #747474; font-weight: normal; }
details[open] summary::after { content: '\2212'; }
.disclosure-content { padding: 0 0 22px; }
.file-check p { font-size: 12px; color: #777; margin: 0 0 17px; line-height: 1.6; }
.pdf-file-button { display: inline-flex; padding: 9px 14px; border: 1px solid #b4b4b4; background: #fff; cursor: pointer; font-size: 12px; font-weight: bold; }
.pdf-file-button:hover { background: #f5f5f5; }
#fileName { display: inline; margin-left: 12px; font-size: 11px; color: #777; overflow-wrap: anywhere; }
#fileResult { color: #3f3f3f; margin: 16px 0 0; font-size: 12px; font-weight: bold; }
#fileResult:empty { display: none; }
#fileResult.error { color: #b00000; }
#technicalFields .field { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; border: 0; padding: 8px 0; }
#technicalFields dt { margin: 0; }
#technicalFields dd { font-size: 12px; color: #606060; }
.hash { word-break: break-all; }
footer { max-width: 976px; width: calc(100% - 64px); margin: 0 auto; border-top: 1px solid #e5e5e5; padding: 20px 0 25px; display: flex; justify-content: space-between; gap: 24px; color: #898989; font-size: 10px; line-height: 1.6; }
[hidden] { display: none !important; }
@media (min-width: 900px) { body:not(.has-record) main { max-width: 640px; margin-top: 95px; } }
@media (max-width: 600px) {
  .masthead { min-height: 82px; padding: 19px 22px; }
  .masthead a { font-size: 19px; }
  .service-label { font-size: 10px; }
  main { width: calc(100% - 44px); margin-top: 39px; margin-bottom: 45px; }
  .page-heading { flex-wrap: wrap; row-gap: 12px; margin-bottom: 23px; }
  h1 { font-size: 23px; }
  .intro { font-size: 13px; margin-bottom: 24px; }
  .lookup-row { gap: 7px; }
  .lookup-row input { padding: 0 10px; font-size: 16px; }
  .lookup-row button { padding: 0 18px; font-size: 13px; }
  .scan-actions { column-gap: 23px; }
  .result-heading { gap: 12px; padding: 22px 0; }
  h2 { font-size: 23px; }
  .registry-state { padding: 4px 7px; font-size: 10px; }
  #recordFields { grid-template-columns: 1fr; padding-bottom: 8px; }
  .field { padding: 13px 0; }
  dt { margin-bottom: 5px; }
  dd, .reference dd { font-size: 13px; }
  #technicalFields .field { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
  #fileName { display: block; margin: 11px 0 0; }
  footer { width: calc(100% - 44px); flex-direction: column; gap: 3px; padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
