:root { color-scheme: light; --blue: #245bdd; --ink: #152843; --muted: #69798e; --line: #e4eaf3; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f7fb; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 24px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 26px; }
header a { color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
header a span { color: var(--muted); font-weight: 450; }
.badge { color: #27604c; border: 1px solid #cfe8dc; background: #edf8f1; padding: 5px 10px; border-radius: 20px; font-size: 12px; white-space: nowrap; }
.rental, .documents, .payments, .mileage { border: 1px solid var(--line); background: white; border-radius: 16px; padding: 26px; margin-bottom: 18px; box-shadow: 0 3px 12px #15284304; }
.rental-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.8px; margin: 0; }
h2 { margin: 0; font-size: 19px; letter-spacing: -.3px; }
.eyebrow { font-size: 10px; letter-spacing: 1.4px; font-weight: 750; color: var(--muted); margin: 0 0 7px; }
.initials { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: #edf3ff; font-weight: 750; font-size: 20px; }
.cycle { background: #f0f5ff; border: 1px solid #dbe6ff; border-radius: 12px; padding: 18px; }
.cycle .eyebrow { color: var(--blue); }
.cycle h2 { font-size: 28px; letter-spacing: -.9px; }
.cycle p:last-child { margin: 5px 0 0; color: #597095; font-size: 13px; }
dl { margin: 16px 0 0; }
dl div { display: flex; gap: 16px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
dl div:last-child { border-bottom: 0; padding-bottom: 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 550; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 2px; }
.ready { background: #25946b; }.pending { background: #c68b26; }
.note, footer { font-size: 12px; color: var(--muted); }
.note { margin: 17px 0 0; }footer { padding: 2px 4px 18px; }
[hidden] { display: none !important; }
details { border-top: 1px solid var(--line); margin-top: 17px; }
summary { cursor: pointer; padding: 17px 0 0; font-weight: 650; }
summary span { float: right; font-size: 12px; color: var(--blue); font-weight: 450; }
.payment-list { margin-top: 14px; font-size: 13px; }
.payment-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.payment-row > span:last-child { text-align: right; flex-shrink: 0; }
.mileage dl { margin-top: 12px; }
.payment-status.mileage-odo { color: var(--muted); }
.payment-status { display: block; color: #996515; font-size: 12px; }.settled { color: #20784e; }
form { margin-top: 18px; }label { display: block; font-size: 13px; margin-bottom: 7px; }
.unlock-fields { display: flex; gap: 10px; }
input, button, #document-downloads a { min-height: 44px; font: inherit; border-radius: 8px; padding: 10px 12px; }
input { min-width: 0; border: 1px solid #bdcadb; background: white; color: var(--ink); }
button { border: 0; background: var(--blue); color: white; cursor: pointer; }button:disabled { opacity: .6; cursor: wait; }
#document-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
#document-downloads a { background: #edf3ff; color: var(--blue); text-decoration: none; font-size: 13px; }
#document-lock { background: #eff2f6; color: var(--ink); font-size: 13px; }
:focus-visible { outline: 3px solid #7c9fe8; outline-offset: 3px; }
@media (max-width: 520px) { main { padding: 16px; } header { margin-bottom: 18px; } .rental, .documents, .payments, .mileage { padding: 20px; } h1 { font-size: 23px; } .cycle h2 { font-size: 23px; } .cycle { padding: 15px; } dt, dd { font-size: 13px; } .unlock-fields { flex-direction: column; } input { width: 100%; } .payment-row { gap: 10px; } }