:root{--or-navy:#06162b;--or-blue:#12345a;--or-border:#e6eaf0;--or-soft:#f6f8fb;--or-text:#101827;--or-muted:#5f6b7a;--or-gold:#c99422;--or-danger:#a51f1f;--or-success:#247247} .or-profile,.or-search,.or-directory,.or-stats{box-sizing:border-box}.or-search{display:flex;gap:.75rem;margin:1.25rem 0}.or-search input{flex:1;min-width:0;padding:.9rem 1rem;border:1px solid var(--or-border);border-radius:12px;font:inherit}.or-search button,.or-submit-form button,.or-button{border:0;background:var(--or-navy);color:#fff;border-radius:999px;padding:.85rem 1.1rem;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.or-button.secondary{background:#fff;color:var(--or-navy);border:1px solid var(--or-border)}.or-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin:1.25rem 0}.or-card{background:#fff;border:1px solid var(--or-border);border-radius:16px;box-shadow:0 8px 22px rgba(10,20,35,.05);overflow:hidden}.or-card a{display:flex;gap:1rem;padding:1rem;color:inherit;text-decoration:none}.or-card img{width:64px;height:64px;object-fit:cover;border-radius:12px}.or-card h3{margin:0 0 .25rem;font-size:1.05rem}.or-card p,.or-card span{margin:0;color:var(--or-muted);font-size:.92rem}.or-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.25rem 0}.or-stats div{background:#fff;border:1px solid var(--or-border);border-radius:16px;padding:1.1rem;text-align:center}.or-stats strong{display:block;font-size:2rem;color:var(--or-navy)}.or-stats span{color:var(--or-muted)}.or-profile-v3{max-width:1100px;margin:0 auto;padding:1rem}.or-profile-hero{display:grid;grid-template-columns:130px 1fr auto;gap:1.25rem;align-items:center;background:#fff;border:1px solid var(--or-border);border-radius:22px;padding:1.4rem;box-shadow:0 12px 30px rgba(10,20,35,.06)}.or-photo img,.or-photo-placeholder{width:130px;height:130px;border-radius:18px;object-fit:cover;background:var(--or-navy);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700}.or-eyebrow{margin:0 0 .35rem;text-transform:uppercase;letter-spacing:.1em;color:var(--or-muted);font-size:.78rem;font-weight:800}.or-profile h1{margin:0 0 .35rem;font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;color:var(--or-text)}.or-subtitle{margin:0 0 .75rem;color:var(--or-muted);font-size:1.05rem}.or-badges{display:flex;flex-wrap:wrap;gap:.5rem}.or-badges span{background:var(--or-soft);border:1px solid var(--or-border);border-radius:999px;padding:.45rem .7rem;font-weight:700;font-size:.86rem;color:var(--or-blue)}.or-badges .or-status-active{background:#e9f7ef;color:var(--or-success)}.or-badges .or-status-terminated,.or-badges .or-status-decertified,.or-badges .or-status-suspended{background:#fff1f1;color:var(--or-danger)}.or-profile-actions{display:flex;flex-direction:column;gap:.6rem;min-width:170px}.or-profile-nav{position:sticky;top:0;z-index:2;display:flex;gap:.5rem;flex-wrap:wrap;background:rgba(246,248,251,.95);backdrop-filter:blur(8px);padding:.8rem 0;margin:1rem 0}.or-profile-nav a{background:#fff;border:1px solid var(--or-border);border-radius:999px;color:var(--or-navy);font-weight:700;text-decoration:none;padding:.55rem .75rem}.or-panel{background:#fff;border:1px solid var(--or-border);border-radius:18px;padding:1.2rem;margin:1rem 0;box-shadow:0 8px 22px rgba(10,20,35,.04)}.or-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--or-border);padding-bottom:.85rem;margin-bottom:1rem}.or-section-heading h2{margin:0;color:var(--or-text);font-size:1.35rem}.or-section-heading p{margin:.2rem 0 0;color:var(--or-muted);max-width:620px}.or-summary{color:var(--or-text)}.or-empty{color:var(--or-muted);background:var(--or-soft);border:1px dashed #d5dce6;border-radius:12px;padding:1rem;margin:0}.or-kv{display:grid;grid-template-columns:220px 1fr;gap:.65rem 1rem;margin:0}.or-kv dt{font-weight:800;color:var(--or-text)}.or-kv dd{margin:0;color:var(--or-muted)}.or-table-wrap{overflow-x:auto}.or-table{width:100%;border-collapse:collapse}.or-table th,.or-table td{text-align:left;padding:.85rem;border-bottom:1px solid var(--or-border);vertical-align:top}.or-table th{font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:var(--or-muted);background:var(--or-soft)}.or-doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.8rem}.or-doc{display:block;border:1px solid var(--or-border);border-radius:14px;padding:1rem;background:var(--or-soft);text-decoration:none;color:var(--or-text)}.or-doc strong{display:block;margin-bottom:.3rem}.or-doc span{color:var(--or-muted);font-size:.85rem}.or-submit-panel details{border:1px solid var(--or-border);border-radius:14px;background:var(--or-soft);padding:0}.or-submit-panel summary{list-style:none;cursor:pointer;padding:1rem 1.1rem;font-weight:800;display:flex;flex-direction:column;gap:.25rem}.or-submit-panel summary::-webkit-details-marker{display:none}.or-submit-panel summary small{font-weight:500;color:var(--or-muted)}.or-submit-panel details[open]{padding-bottom:1rem}.or-submit-panel details[open]>*:not(summary){margin-left:1rem;margin-right:1rem}.or-submit-form label{display:block;font-weight:700;margin:.85rem 0 .35rem}.or-submit-form input,.or-submit-form select,.or-submit-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--or-border);border-radius:10px;padding:.8rem;font:inherit;background:#fff}.or-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.or-submit-form button{width:100%;margin-top:1rem}.or-hp{display:none}.or-alert{border-radius:12px;padding:1rem;margin:1rem 0;font-weight:700}.or-alert.success{background:#e9f7ef;color:var(--or-success)}.or-alert.error{background:#fff1f1;color:var(--or-danger)}
@media (max-width:760px){.or-search{flex-direction:column}.or-stats{grid-template-columns:1fr}.or-profile-v3{padding:.5rem}.or-profile-hero{grid-template-columns:1fr;text-align:left}.or-photo img,.or-photo-placeholder{width:96px;height:96px}.or-profile-actions{min-width:0;flex-direction:row;flex-wrap:wrap}.or-profile-actions .or-button{flex:1}.or-profile-nav{overflow:auto;flex-wrap:nowrap;padding-bottom:.7rem}.or-section-heading{display:block}.or-kv{grid-template-columns:1fr}.or-kv dt{margin-top:.4rem}.or-form-grid{grid-template-columns:1fr}.or-table,.or-table thead,.or-table tbody,.or-table th,.or-table td,.or-table tr{display:block}.or-table thead{display:none}.or-table tr{border:1px solid var(--or-border);border-radius:14px;margin-bottom:.75rem;overflow:hidden;background:#fff}.or-table td{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--or-border)}.or-table td:before{content:attr(data-label);font-weight:800;color:var(--or-text)}.or-table td:last-child{border-bottom:0}}
.or-record-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin:1rem 0}.or-record-summary div{background:#fff;border:1px solid var(--or-border);border-radius:16px;padding:1rem;text-align:center;box-shadow:0 8px 22px rgba(10,20,35,.04)}.or-record-summary strong{display:block;font-size:1.55rem;color:var(--or-navy)}.or-record-summary span{display:block;color:var(--or-muted);font-size:.88rem}.or-status-unknown{background:var(--or-soft)!important;color:var(--or-muted)!important}.or-panel:target{outline:3px solid rgba(18,52,90,.18);outline-offset:3px}.or-submit-form input[type=file]{padding:.65rem;background:var(--or-soft)}
@media (max-width:760px){.or-record-summary{grid-template-columns:1fr 1fr}.or-record-summary div{padding:.85rem}.or-record-summary strong{font-size:1.35rem}}

/* v3.2 advanced search and profile refinements */
.or-search-advanced { display: grid; gap: 0.85rem; }
.or-search-main { display: flex; gap: 0.65rem; }
.or-search-main input { flex: 1; min-width: 0; }
.or-search-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.or-search-filters label { display: grid; gap: 0.25rem; font-weight: 600; }
.or-search-filters select { width: 100%; }
.or-card small, .or-last-updated { color: #667085; font-size: 0.875rem; }
.or-check { display: flex !important; align-items: flex-start; gap: 0.5rem; font-size: 0.95rem; line-height: 1.4; }
.or-check input { width: auto !important; margin-top: 0.2rem; }
@media (max-width: 640px) {
  .or-search-main { display: grid; }
  .or-search-filters { grid-template-columns: 1fr; }
}

.or-private-note{font-size:.92rem;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.75rem 1rem;margin:.75rem 0}.or-submit-officer-form h2{margin-top:0}.or-submit-form input:required,.or-submit-form textarea:required,.or-submit-form select:required{border-left:4px solid #1d4ed8}@media (max-width:720px){.or-submit-form .or-form-grid{grid-template-columns:1fr}.or-private-note{font-size:.88rem}}
