﻿:root {
  --bs-primary: #184b59; --bs-primary-rgb: 24,75,89;
  --bs-link-color: #184b59; --bs-link-color-rgb: 24,75,89;
  --bs-link-hover-color: #103541; --bs-link-hover-color-rgb: 16,53,65;
  --bs-body-color: #29383d; --bs-secondary-color: #606b70;
  --bs-border-color: #d9dcd8; --bs-border-radius: .25rem;
}
body { background: #f6f5f1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
.container { max-width: 1040px; padding-left: 24px; padding-right: 24px; }
body > header { border-top: 4px solid #184b59; }
.brand { display: block; width: 260px; max-width: 100%; }
.brand img, .intro-brand img { display: block; width: 100%; height: auto; }
.intro-brand { display: block; width: 560px; max-width: 100%; margin-bottom: 2rem; }
.site-nav { font-size: .9rem; }
.site-nav > a:not(.btn) { text-decoration: none; }
main { min-height: 65vh; }
.reading-width { max-width: 800px; margin-inline: auto; }
.form-width { max-width: 640px; margin-inline: auto; }
.form-panel, .instrument-summary, .unused-sticker { background: #fff; border: 1px solid var(--bs-border-color); border-radius: .25rem; padding: 2.25rem; }
.form-panel { margin-top: 1.75rem; }
h1, h2, h3 { color: #243b44; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.9rem, 4vw, 2.65rem); font-weight: 600; }
h2 { font-size: 1.65rem; font-weight: 600; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 650; color: #526970; margin-bottom: .9rem; }
.lead { font-size: 1.125rem; line-height: 1.7; }
a { text-underline-offset: .2em; }
.btn { padding: .65rem 1.1rem; font-size: .95rem; font-weight: 600; border-radius: .25rem; min-height: 44px; transition: none; white-space: normal; }
.btn-sm { padding: .5rem .9rem; font-size: .875rem; }
.btn-primary { --bs-btn-bg: #184b59; --bs-btn-border-color: #184b59; --bs-btn-hover-bg: #103541; --bs-btn-hover-border-color: #103541; --bs-btn-active-bg: #103541; --bs-btn-active-border-color: #103541; --bs-btn-focus-shadow-rgb: 24,75,89; }
.btn-outline-primary, .btn-outline-secondary { --bs-btn-color: #184b59; --bs-btn-border-color: #84989e; --bs-btn-hover-bg: #184b59; --bs-btn-hover-border-color: #184b59; --bs-btn-active-bg: #103541; --bs-btn-active-border-color: #103541; --bs-btn-focus-shadow-rgb: 24,75,89; }
a:focus-visible, button:focus-visible { outline: 3px solid #628e9a; outline-offset: 3px; }
.card { border-color: var(--bs-border-color); }
.history-text, dd, .list-group-item, .alert, .service-entry { overflow-wrap: anywhere; }
.form-field { margin-bottom: 1.5rem; }
.form-label { margin-bottom: .45rem; font-size: .95rem; }
input:not([type=hidden]):not([type=checkbox]), textarea, select { display: block; width: 100%; min-width: 0; min-height: 46px; padding: .65rem .75rem; border: 1px solid #a4afb1; border-radius: .25rem; background: #fff; color: #29383d; font-size: 1rem; line-height: 1.5; transition: none; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus, .form-control:focus { border-color: #184b59; outline: 2px solid #aac1c7; outline-offset: 2px; box-shadow: none; }
[aria-invalid=true] { border-color: #a32222 !important; }
.form-text { font-size: .85rem; color: #606b70; line-height: 1.55; margin-top: .5rem; }
.form-text ul { padding-left: 1.2rem; margin-bottom: 0; }
.errorlist { color: #a32222; padding-left: 1.25rem; margin-bottom: 0; }
.form-note { background: #eaf0f1; border-left: 3px solid #184b59; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .95rem; }
.form-footer { margin-top: 1.5rem; font-size: .95rem; }
.form-actions { border-top: 1px solid var(--bs-border-color); padding-top: 1.5rem; }
.instrument-details { margin-bottom: 0; font-size: .95rem; }
.instrument-details dt { font-weight: 500; color: #606b70; }
.instrument-details dd { margin-bottom: .75rem; }
.instrument-notes { border-top: 1px solid var(--bs-border-color); padding-top: 1.25rem; margin-top: 1rem; }
.history-heading { margin-top: 2.75rem; }
.service-timeline { border-left: 1px solid #b5c4c7; margin: 1.75rem 0 0 .35rem; padding-left: 1.75rem; }
.service-entry { position: relative; padding: 0 0 2rem; }
.service-entry::before { content: ""; position: absolute; left: -2.1rem; top: .35rem; width: .65rem; height: .65rem; border-radius: 50%; background: #184b59; border: 2px solid #f6f5f1; }
.service-entry:last-child { padding-bottom: 0; }
.entry-date { font-size: .9rem; color: #184b59; font-weight: 650; margin-bottom: .65rem; }
.entry-body { background: #fff; border: 1px solid var(--bs-border-color); padding: 1.5rem; border-radius: .25rem; }
.entry-body h4 { font-size: .85rem; color: #526970; }
.entry-recorded { border-top: 1px solid var(--bs-border-color); padding-top: 1rem; }
.invalidated-content { text-decoration: line-through; text-decoration-color: #8d6d39; }
.empty-state { border: 1px solid var(--bs-border-color); background: #fff; padding: 1.75rem; margin-top: 1.5rem; }
.empty-state p:last-child { margin-bottom: 0; }
.action-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.alert { border-radius: .25rem; }
.alert-info { --bs-alert-color: #244a55; --bs-alert-bg: #eaf0f1; --bs-alert-border-color: #c6d5d9; }
.alert-warning { --bs-alert-color: #68502d; --bs-alert-bg: #f4efe4; --bs-alert-border-color: #ded0b6; }
@media (max-width: 575px) {
  .intro-brand { width: 300px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .site-nav { width: 100%; justify-content: space-between; gap: .75rem !important; }
  .form-panel, .instrument-summary, .unused-sticker { padding: 1.25rem; }
  .form-panel { margin-top: 1.25rem; }
  .form-actions .btn, .action-group .btn { width: 100%; }
  .instrument-details dd { margin-bottom: 1rem; }
  .service-timeline { padding-left: 1.15rem; }
  .service-entry::before { left: -1.5rem; }
  .entry-body { padding: 1.1rem; }
  .history-heading { margin-top: 2rem; }
}
