#wdDocumentScreen{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;padding:0;background:#f4f5f7;color:#17283b}
#wdDocumentScreen::backdrop{background:#fff}
#wdDocumentScreen header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid #dce3ec}
#wdDocumentScreen h2{margin:0;font-size:1rem;overflow-wrap:anywhere}
#wdDocumentScreen header button,.wd-document-download{width:44px;height:44px;flex:none;border:1px solid #cdd7e2;border-radius:50%;background:#fff;color:#17283b;font-size:26px}
#wdDocumentScreen main{padding:12px 12px calc(84px + env(safe-area-inset-bottom));margin:auto;max-width:900px}
#wdDocumentScreen main :is(canvas,img){display:block;width:100%;height:auto;margin:0 auto 12px;background:white}
#wdDocumentScreen .wd-document-download{position:fixed;right:calc(16px + env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:3;display:grid;place-items:center;box-shadow:0 4px 14px #17283b30}
.wd-document-download svg{width:24px;height:24px}
#wdDocumentScreen .wd-site-submission-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dce3ec}
.wd-statement-download{position:fixed;right:calc(16px + env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:15;box-shadow:0 4px 14px #17283b30}

.wd-vehicle-status-page { display:grid; gap:12px; }
.wd-vehicle-status-page h3,.wd-vehicle-status-count { margin:0; }
.wd-vehicle-status-page select { width:100%; margin-top:6px; }
.wd-vehicle-status-list { display:grid; gap:8px; }
.wd-vehicle-status-card { margin:0; padding:0 14px; border:1px solid #dce3ec; border-radius:12px; background:#fff; }
.wd-vehicle-status-card summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:56px; padding:8px 0; cursor:pointer; list-style:none; }
.wd-vehicle-status-card summary::-webkit-details-marker { display:none; }
.wd-vehicle-status-card summary small { display:block; color:#66778a; }
.wd-vehicle-status-card summary > span:last-child { color:#435b72; font-size:.85rem; flex:none; }
.wd-vehicle-status-card summary::after { content:'▾'; margin-left:4px; color:#435b72; }
.wd-vehicle-status-card[open] summary::after { transform:rotate(180deg); }
.wd-vehicle-status-card summary > span:first-child { flex:1; min-width:0; }
.wd-vehicle-status-card dl { margin:0; border-top:1px solid #dce3ec; padding:8px 0 12px; }
.wd-vehicle-status-card dl div { display:grid; grid-template-columns:minmax(105px,1fr) 2fr; gap:10px; padding:5px 0; }
.wd-vehicle-status-card dt { color:#52677d; }
.wd-vehicle-status-card dd { margin:0; overflow-wrap:anywhere; white-space:pre-line; }
