article{border:1px solid #bbb;border-radius:14px;padding:20px;margin:16px 0}label{display:block;margin:12px 0}input,select,textarea{display:block;box-sizing:border-box;max-width:100%;width:100%;padding:10px;font:inherit}input[type=checkbox]{display:inline;width:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px;border-bottom:1px solid #aaa;overflow-wrap:anywhere}.signatures{margin-top:30px;line-height:2}button{min-height:44px}
#binder-print-preview{width:min(94vw,850px);max-height:92vh;overflow:auto;border:1px solid #b9b8aa;border-radius:16px;padding:20px;background:#fff;color:#18241e}
#binder-print-preview::backdrop{background:#0008}.binder-print-controls{background:#f5f0e5;padding:16px;border-radius:10px;margin-bottom:20px}.binder-print-controls p{line-height:1.5}.binder-print-controls button{margin:4px 8px 4px 0}.binder-print-sheet{margin:0;padding:20px;border:0;border-radius:0;line-height:1.5;overflow-wrap:anywhere}.binder-print-sheet h2{margin-top:0}.binder-print-sheet table{table-layout:fixed}.binder-print-sheet th:first-child{width:50%}
@page{size:letter portrait;margin:16mm}
@media print{body.binder-preview-open{background:white;color:black;margin:0}body.binder-preview-open> :not(#binder-print-preview){display:none!important}#binder-print-preview[open]{display:block;position:static;inset:auto;width:auto;max-width:none;height:auto;max-height:none;overflow:visible;margin:0;padding:0;border:0;border-radius:0}#binder-print-preview::backdrop{display:none}.binder-print-controls{display:none!important}.binder-print-sheet{padding:0;font:11pt/1.45 Arial,sans-serif;color:black;background:white}.binder-print-sheet h2{font-size:17pt;break-after:avoid}.binder-print-sheet tr{break-inside:avoid}.binder-print-sheet th,.binder-print-sheet td{padding:7pt 4pt}.binder-print-sheet p{orphans:3;widows:3}}

/* Empty record lists should not leave a blank card. */
#records:empty{display:none}

main{max-width:1080px!important;margin:auto!important;padding:28px 24px!important}main>h1{font-size:clamp(28px,4vw,38px)!important;line-height:1.15!important;margin:20px 0 12px!important}main>p{font-size:15px!important;line-height:1.6!important;max-width:760px}nav a,nav a:visited{color:#174535;font-size:14px;text-decoration:none}nav a:hover{text-decoration:underline}#records{background:transparent!important;border:0!important;padding:0!important;margin:24px 0!important}#records article.driver-record-card{padding:26px!important;margin:16px 0!important;border:1px solid #dce2d7!important;border-radius:20px!important;background:#fffdf8!important}.record-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.record-heading h2{font-size:23px!important;margin:0 0 6px!important}.record-heading p{font-size:14px!important;margin:0!important;overflow-wrap:anywhere}.record-badge{font-size:12px;font-weight:700;border-radius:99px;background:#eee9d9;padding:8px 12px;white-space:nowrap}.record-empty{font-size:15px!important;max-width:650px;line-height:1.6}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.record-grid dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#657166}.record-grid dd{margin:5px 0 0;font-size:15px}.record-reference,.record-review{border-top:1px solid #e0e5db;padding:16px 0 0;margin-top:16px}.record-reference summary,.record-review summary{font-size:14px;font-weight:650;cursor:pointer}.record-reference p{font-size:13px!important}.record-review form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px 0 0!important;margin:0!important;border:0!important;background:transparent!important}.record-review label{font-size:13px!important;margin:0}.record-review input,.record-review select{min-height:44px;font-size:15px!important;margin-top:6px}.record-review label:has(input[type=checkbox]){grid-column:1/-1}.record-review button{justify-self:start}#weekly{padding:26px!important;border:1px solid #dce2d7!important;border-radius:20px!important;background:#fffdf8!important}#weekly[hidden]{display:none!important}#weekly h2{font-size:24px!important;margin:0 0 10px}#weekly>p{font-size:14px!important;line-height:1.6}#week-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:16px;border:0!important;padding:0!important;background:transparent!important}#week-form label{font-size:13px!important;margin:0}#week-form input,#week-form select{font-size:15px!important;min-height:46px}button{font-size:14px!important;padding:12px 18px!important;min-height:44px!important}#statement{overflow-x:auto}.uncles-brand-header{display:flex!important;flex-direction:row!important;gap:18px!important;align-items:center!important;margin-bottom:24px!important}.uncles-brand-header img{width:120px!important;height:auto!important}.uncles-brand-header span{font-size:11px!important;margin:0!important}@media(max-width:640px){main{padding:20px 16px!important}.record-heading{flex-direction:column;gap:12px}.record-grid,.record-review form,#week-form{grid-template-columns:1fr}.record-review label:has(input[type=checkbox]){grid-column:auto}#records article.driver-record-card,#weekly{padding:20px!important}}@media print{.record-reference{border:0}.record-heading{display:block}}
