@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/lato-s6u9w4bmutphh7usswipgq.woff2") format("woff2");
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/lato-s6uyw4bmutphjx4wxg.woff2") format("woff2");
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/lato-s6u9w4bmutphh6uvswipgq.woff2") format("woff2");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("fonts/opensans-memvyags126mizpba-uvwbx2vvnxbbobj2ovts-muw.woff2") format("woff2");
}

:root {
    --blue: #4071ce;
    --blue-hover: #305db3;
    --blue-ink: #315cad;
    --sky: #6ec1e4;
    --pale: #eff5fd;
    --ink: #49444c;
    --muted: #656575;
    --line: #e1e8f3;
    --paper: #f7f9fd;
    --white: #fff;
    --error: #a62935;
    font-family: Lato, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1220px;
    min-height: 100px;
    margin: auto;
    padding: 22px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 250px; height: auto; }
.header nav { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.header nav a { text-decoration: none; }
.header nav a:hover { color: var(--blue-hover); }
.header nav form { margin: 0; }
.header .admin-link {
    border: 1px solid var(--blue);
    color: var(--blue);
    border-radius: 50px;
    padding: 11px 20px;
}
.text-button { border: 0; background: none; color: var(--blue-ink); padding: 0; font-size: 14px; }

main { max-width: 1220px; margin: auto; padding: 0 36px 64px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 24px 0 0; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb span[aria-current] { color: var(--blue-ink); }
.intro { display: flex; justify-content: space-between; align-items: center; padding: 42px 0 40px; gap: 36px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--blue-ink); margin: 0 0 16px; }
h1 { font-size: clamp(36px, 4.7vw, 58px); font-weight: 300; line-height: 1.12; letter-spacing: -1.5px; color: var(--blue); margin: 0 0 22px; }
h2 { font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--blue); margin: 0; }
h3 { font-size: 18px; font-weight: 700; margin: 16px 0 8px; }
p { line-height: 1.75; }
.lead { font-size: 17px; color: var(--ink); margin: 0; line-height: 1.8; font-weight: 300; }
.intro-note { background: var(--pale); padding: 24px 28px; border-radius: 18px; border-left: 3px solid var(--sky); flex-shrink: 0; }
.intro-note strong { display: block; font-size: 21px; line-height: 1.4; font-weight: 300; color: var(--blue-ink); }
.intro-note p { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.note-icon { display: block; color: var(--blue); font-size: 28px; margin-bottom: 10px; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 8px 30px #244a8906; }
.section-title { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 26px; }
.section-title h2 { margin: 1px 0 7px; }
.section-title p { margin: 0; font-size: 13px; color: var(--muted); }
.step { background: var(--pale); color: var(--blue-ink); min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 20px; }
label { font-size: 13px; font-weight: 700; display: block; }
.required { color: var(--blue-ink); }
input:not([type=checkbox]):not([type=file]), select {
    display: block;
    width: 100%;
    margin-top: 9px;
    border: 1px solid #d5deeb;
    border-radius: 10px;
    padding: 14px;
    color: var(--ink);
    background: var(--white);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    min-height: 48px;
}
input::placeholder { color: #777d8a; font-size: 12px; }
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
input:disabled { background: #f7f9fc !important; color: var(--muted); }
.wide { grid-column: 1 / -1; }
small { font-size: 11px; color: var(--muted); line-height: 1.65; }
label small { display: block; margin-top: 8px; font-weight: 400; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.drop-zone { border: 1.5px dashed #9cb8e7; border-radius: 14px; background: #f6f9ff; padding: 30px 16px; display: flex; align-items: center; flex-direction: column; gap: 10px; text-align: center; }
.drop-zone.dragging { background: #e5eeff; border-color: var(--blue); }
.upload-icon { width: 48px; height: 48px; border-radius: 50%; background: #e7effc; font-size: 31px; color: var(--blue); line-height: 48px; }
.drop-zone strong { font-size: 16px; font-weight: 400; color: var(--blue-ink); margin-top: 3px; }
.drop-zone > span:not(.upload-icon) { font-size: 12px; color: var(--muted); }
.file-button { position: relative; overflow: hidden; border: 1px solid var(--blue); border-radius: 50px; background: white; padding: 11px 23px; color: var(--blue-ink); margin: 6px 0; cursor: pointer; font-family: "Open Sans", Arial, sans-serif; font-size: 12px; font-weight: 600; }
.file-button input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.file-button:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.file-list, .download-list { list-style: none; padding: 0; margin: 16px 0; }
.file-list li, .download-list li { border: 1px solid var(--line); border-radius: 10px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 9px; }
.file-list strong, .download-list strong { font-size: 13px; overflow-wrap: anywhere; display: block; }
.file-list small, .download-list small { display: block; }
.remove-file { border: 0; background: none; color: var(--error); font-size: 12px; }
.muted { color: var(--muted); font-size: 13px; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 24px; font-size: 12px; line-height: 1.8; font-weight: 400; color: var(--muted); }
input[type=checkbox] { accent-color: var(--blue); width: 17px; height: 17px; flex-shrink: 0; margin: 3px 0; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; border-radius: 50px; padding: 14px 25px; font-family: "Open Sans", Arial, sans-serif; font-size: 13px; font-weight: 600; gap: 16px; line-height: 1.4; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-hover); }
.secondary { background: var(--pale); color: var(--blue-ink); border: 1px solid #d4e0f6; }
.secondary:hover { background: #e5eefe; }
.submit { width: 100%; justify-content: space-between; margin-top: 25px; padding: 17px 26px; font-size: 14px; }
.secure-caption { text-align: center; font-size: 11px; color: var(--muted); margin: 14px 0 0; }
.tips { padding: 30px 25px; border-top: 3px solid var(--blue); }
.tips h2 { font-size: 28px; font-weight: 300; }
.tips ol { list-style: none; padding: 0; counter-reset: tips; margin: 28px 0 0; }
.tips li { position: relative; padding-left: 35px; margin-bottom: 26px; counter-increment: tips; }
.tips li:last-child { margin-bottom: 0; }
.tips li::before { content: counter(tips); position: absolute; left: 0; top: -2px; background: var(--pale); border-radius: 50%; width: 25px; height: 25px; text-align: center; line-height: 25px; font-size: 11px; color: var(--blue-ink); }
.tips li strong { font-size: 13px; }
.tips li p { font-size: 13px; color: var(--muted); margin: 7px 0 0; }
.help-note { padding: 27px 22px; color: var(--muted); font-size: 13px; }
.help-note strong { color: var(--blue-ink); font-size: 15px; font-weight: 400; }
.help-note p { margin: 9px 0; }
.notice { border-radius: 10px; padding: 15px 19px; background: var(--pale); color: var(--blue-ink); font-size: 13px; margin: 20px 0; line-height: 1.7; }
.notice.error { background: #fff0f1; color: var(--error); border: 1px solid #efcdd2; }
.upload-progress { margin-top: 22px; }
.upload-progress label { overflow-wrap: anywhere; }
progress { width: 100%; height: 12px; margin-top: 12px; accent-color: var(--blue); }
.success { margin: 60px auto; max-width: 680px; text-align: center; padding: 48px 35px; }
.success-icon { display: grid; place-items: center; border-radius: 50%; width: 64px; height: 64px; background: var(--pale); color: var(--blue); font-size: 30px; margin: 0 auto 25px; }
.success h2 { font-size: 34px; font-weight: 300; }
.success p { font-size: 15px; color: var(--muted); }
#protocol { display: block; font-size: 22px; color: var(--blue-ink); padding: 19px; background: var(--pale); border-radius: 12px; margin: 22px 0; overflow-wrap: anywhere; }
.success .primary { margin-top: 12px; }

.footer { background: var(--blue); color: white; }
.footer-inner { max-width: 1220px; margin: auto; padding: 35px 36px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 13px; font-size: 11px; }
.footer-brand img { display: block; width: 210px; height: auto; }
.footer p { font-weight: 300; font-size: 15px; margin: 0; }
.footer a { color: white; font-size: 12px; }
.auth-card { max-width: 470px; margin: 65px auto; padding: 38px; }
.auth-card h1 { font-size: 38px; letter-spacing: -1px; margin-bottom: 14px; }
.auth-form { display: grid; gap: 21px; margin-top: 27px; }
.privacy { max-width: 820px; margin: 55px auto; line-height: 1.8; }
.privacy h1 { font-size: 42px; letter-spacing: -1px; }
.privacy p { color: var(--muted); font-size: 15px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; padding: 45px 0 22px; gap: 20px; }
.admin-heading h1 { font-size: 42px; letter-spacing: -1px; }
.stats { display: flex; gap: 22px; margin-bottom: 25px; }
.stats .card { padding: 22px 26px; flex: 1; }
.stats strong { font-size: 34px; font-weight: 300; display: block; color: var(--blue); }
.stats span { font-size: 13px; color: var(--muted); }
.admin-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.dentist-list { padding: 25px 20px; }
.dentist-list h2 { font-size: 22px; }
.dentist-list a { display: block; padding: 13px; border-radius: 10px; font-size: 13px; text-decoration: none; }
.dentist-list .active { background: var(--pale); }
.dentist-list strong, .dentist-list small { display: block; }
.dentist-list .muted { font-size: 12px; }
.search { display: flex; gap: 11px; }
.search input { margin-top: 0 !important; min-width: 0; }
.case-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); }
.case-row .eyebrow { font-size: 10px; }
.case-row h3 { margin: 8px 0; }
.case-row p { margin: 0; font-size: 14px; color: var(--muted); }
.badge { background: var(--pale); color: var(--blue-ink); font-size: 11px; font-weight: 700; padding: 8px 12px; border-radius: 50px; white-space: nowrap; }
.pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; font-size: 13px; }
.back-link { display: block; margin: 10px 0 22px; font-size: 14px; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case-data { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 32px 0; }
.case-data dt { font-size: 12px; color: var(--muted); }
.case-data dd { margin: 8px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.admin-actions { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.admin-actions form .primary { margin-top: 16px; }
.admin-actions p { font-size: 13px; }
.download-list .secondary { white-space: nowrap; font-size: 12px; }
.audit-list { padding-left: 20px; font-size: 13px; line-height: 2; }
.audit-list li { overflow-wrap: anywhere; }
details { margin: 22px 0; font-size: 14px; }
summary { cursor: pointer; color: var(--blue-ink); }
.empty { text-align: center; padding: 35px; font-size: 15px; color: var(--muted); }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 1500px) {
    .intro { padding-top: 55px; }
    main { padding-bottom: 80px; }
}

@media (max-width: 1000px) {
    .upload-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
    .card { padding: 26px; }
    .intro-note { padding: 22px; }
    .header-inner, main { padding-left: 26px; padding-right: 26px; }
    .footer-inner { padding-left: 26px; padding-right: 26px; }
    .admin-layout { grid-template-columns: 220px minmax(0, 1fr); }
    .brand img { width: 230px; }
    .header nav { gap: 18px; font-size: 13px; }
}

@media (max-width: 760px) {
    .header-inner { min-height: 82px; padding: 20px; gap: 16px; flex-wrap: wrap; }
    .brand img { width: 195px; }
    .header nav { font-size: 12px; gap: 12px; margin-left: auto; }
    .header nav .main-site-link { display: none; }
    .header .admin-link { padding: 9px 13px; font-size: 11px; }
    .header nav .text-button { font-size: 12px; }
    main { padding: 0 20px 44px; }
    .breadcrumb { padding-top: 20px; font-size: 11px; }
    .intro { padding: 32px 0 30px; }
    .intro h1 { font-size: 43px; letter-spacing: -1px; }
    .lead { font-size: 16px; font-weight: 400; }
    .lead br { display: none; }
    .intro-note { display: none; }
    .upload-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .card { padding: 25px 21px; border-radius: 15px; }
    .fields { grid-template-columns: 1fr; }
    .wide { grid-column: auto; }
    .section-title { gap: 13px; }
    .section-title h2 { font-size: 23px; }
    .section-title p { font-size: 12px; }
    .drop-zone { padding: 27px 12px; }
    .consent { font-size: 12px; }
    .footer-inner { padding: 30px 22px; flex-wrap: wrap; gap: 22px; }
    .footer-brand img { width: 195px; }
    .footer p { font-size: 14px; }
    .auth-card { margin: 40px auto; }
    .admin-heading { display: block; padding-top: 35px; }
    .admin-heading h1 { font-size: 36px; }
    .admin-layout { grid-template-columns: 1fr; }
    .dentist-list { max-height: 280px; overflow: auto; }
    .stats { gap: 12px; }
    .stats .card { padding: 18px 14px; }
    .stats span { font-size: 11px; }
    .cases-list { padding: 20px 16px; }
    .case-row { align-items: flex-start; }
    .badge { font-size: 10px; white-space: normal; text-align: center; }
    .case-data { grid-template-columns: 1fr; gap: 20px; }
    .admin-actions { grid-template-columns: 1fr; }
    .download-list li { align-items: flex-start; flex-direction: column; }
    .detail-heading { align-items: flex-start; }
    .detail-heading h2 { font-size: 20px; overflow-wrap: anywhere; }
    .privacy h1 { font-size: 36px; }
    .success { margin: 36px auto; }
    .success h2 { font-size: 30px; }
    .search .secondary { padding: 11px 14px; }
}

@media (max-width: 380px) {
    .header-inner { padding: 18px 15px; gap: 12px; }
    .brand img { width: 172px; }
    .header .admin-link { padding: 9px 10px; font-size: 10px; }
    .header nav { gap: 8px; font-size: 11px; }
    main { padding-left: 15px; padding-right: 15px; }
    .intro h1 { font-size: 38px; }
    .card { padding: 22px 17px; }
}
