[hidden] { display: none !important; }
body { font-size: 16px; }
button:disabled { opacity: .6; cursor: wait; }
input, select, textarea { font: inherit; }
textarea:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a { color: var(--accent-strong); }
.login-view { max-width: 400px; margin: 12vh auto; padding: 24px; }
.login-view h1 { margin-top: 20px; }
.login-view form, .login-view label { display: grid; gap: 12px; }
.login-view input { width: 100%; padding: 10px; border: 1px solid #8b8d96; border-radius: 5px; }
.login-view [role="alert"] { color: #a12222; }
.entry-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.export-details, .file-details { padding: 16px 0; }
summary { cursor: pointer; min-height: 32px; }
.export-details a, .file-details a { display: block; padding: 8px; overflow-wrap: anywhere; }
.actual-document { padding: 12px; background: #f1f1f3; }
.actual-document img { display: block; max-width: 100%; height: auto; }
.document-stage { min-width: 0; align-self: start; position: sticky; top: 66px; }
.document-toolbar select { min-height: 36px; max-width: 100%; }
.record-workbench { align-items: start; overflow: visible; gap: 1px; }
.inspection-panel { min-width: 0; }
.review-form label { display: grid; gap: 5px; margin-bottom: 12px; font-size: 15px; }
.review-form input:not([type="checkbox"]), .review-form textarea { width: 100%; min-width: 0; padding: 8px; border: 1px solid #8b8d96; border-radius: 4px; background: #fff; color: var(--ink); }
.review-form textarea { resize: vertical; }
.review-form .check-line { display: flex; gap: 8px; align-items: start; line-height: 1.6; }
input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.review-field { min-width: 0; padding: 12px; margin: 16px 0; border: 1px solid var(--line-strong); }
.review-field legend { max-width: 100%; overflow-wrap: anywhere; font-weight: 600; }
.review-field > details { margin-top: 8px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-issues { color: #764600; background: #fff5df; padding: 10px; margin-bottom: 12px; }
.review-issues ul { padding-left: 20px; line-height: 1.6; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-form pre { overflow-wrap: anywhere; }
.inspection-section p { overflow-wrap: anywhere; }
.record-title strong, .search-result-copy strong, .search-result-copy small { white-space: normal; overflow-wrap: anywhere; }
.trash-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.trash-row span { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.record-table-row { grid-template-columns: 100px minmax(140px, 1.45fr) minmax(100px, 1fr) 90px 16px; }
.record-table-row time, .record-source, .measurement-row time { font-size: 14px; }
.file-details { padding: 12px; }
@media(max-width:1100px) { .record-workbench { grid-template-columns: 1fr; } .document-stage { position: static; } .actual-document img { max-height: 70vh; width: auto; margin: auto; } }
@media(max-width:880px) { .rail-home { display: inline-block; width: auto; margin: 6px 0 0; } .member-nav { flex-wrap: wrap; } .member-nav-row { min-width: 110px; } }
@media(max-width:640px) { .record-table-row { grid-template-columns: 90px minmax(0,1fr) 16px; } .field-pair { grid-template-columns: 1fr; } .document-toolbar { flex-wrap: wrap; gap: 8px; } .header-actions { justify-content: flex-start; } .header-actions .primary-action { min-width: 170px; white-space: nowrap; } .page-header h1 { overflow-wrap: anywhere; } .actual-document { padding: 4px; } }
.reference-document { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; padding: 16px; margin: 0; }
.source-notice { font-size: 14px; line-height: 1.5; margin: 8px 0 16px; color: #495568; }
