/* Isolated video styles preserve the app's existing theme and controls. */
.fleet-video-entry{margin-top:24px}.fleet-video-entry a,.fleet-video-dialog a,.fleet-video-page a{color:var(--text);text-decoration:underline;text-underline-offset:3px}.fleet-video-entry a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:14px;font-weight:600}.fleet-video-dialog{width:min(960px,94vw);padding:22px;overflow:auto;background:var(--surface);color:var(--text)}.fleet-video-dialog .modal-heading{align-items:center;gap:12px;margin-bottom:16px}.fleet-video-dialog .modal-heading h2{font-size:clamp(18px,3vw,26px);overflow-wrap:anywhere}.fleet-video-dialog .close{flex-shrink:0;min-width:44px;min-height:44px}.fleet-video{display:block;width:100%;height:auto;max-height:65dvh;aspect-ratio:16 / 9;object-fit:contain;background:#000;border-radius:9px}.fleet-video-dialog>a{display:inline-block;min-height:44px;padding:12px 0;font-size:13px}.fleet-video-page{max-width:1040px}.fleet-video-page p{line-height:1.6;margin:18px 0}.fleet-video-page #video-page-player:empty{display:none}.fleet-video-dialog .error[hidden],[data-video-availability][hidden]{display:none!important}@media(max-width:520px){.fleet-video-dialog{padding:14px}.fleet-video-dialog .modal-heading{margin-bottom:12px}.fleet-video{max-height:60dvh}}

.fleet-video-dialog .fleet-video-credits,.fleet-video-page .fleet-video-credits{display:inline-block;min-height:44px;margin-left:18px;padding:12px 0}

.fleet-video-dialog .fleet-video-guide,.fleet-video-page .fleet-video-guide{display:block;min-height:44px;padding:12px 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.fleet-help-page{max-width:76ch;overflow-wrap:anywhere}.fleet-help-page h1{line-height:1.25}.fleet-help-page h2{font-size:clamp(20px,3vw,25px);line-height:1.3;margin:30px 0 14px}.fleet-help-page ol{padding-left:1.5em}.fleet-help-page li{line-height:1.65;margin:12px 0}.fleet-help-page nav{line-height:1.6;margin:18px 0}.fleet-help-page nav a{display:inline-block;min-height:44px;padding:10px 0}

.fleet-video-dialog .fleet-video-guide:has(+.fleet-video-transcript),.fleet-video-page .fleet-video-guide:has(+.fleet-video-transcript){display:inline-block;margin-right:18px}.fleet-video-dialog .fleet-video-transcript,.fleet-video-page .fleet-video-transcript{display:inline-block;min-height:44px;padding:12px 0;font-size:14px;line-height:1.5}.fleet-transcript-page section{scroll-margin-top:24px}.fleet-transcript-page p[data-transcript-narration]{line-height:1.7}

/* Inline overview is explicit owner-requested media, not autoplay. */
.auth-brand{min-width:0}.auth-brand>img{width:56px;height:56px;float:right;margin:0 0 14px 16px}.auth-brand h1{clear:none}.fleet-homepage-preview{clear:both;margin-top:24px}.fleet-homepage-preview .fleet-video{max-height:none;border:1px solid var(--border)}.fleet-homepage-preview>p{font-size:12px;line-height:1.5;margin:9px 0;color:var(--muted)}.fleet-homepage-preview>a{font-size:12px;background:transparent;border:0;padding:4px 0;min-height:36px}.tutorial-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.tutorial-topic{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:16px;text-align:left;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);color:var(--text);text-decoration:none!important}.tutorial-topic strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.tutorial-topic>span{font-size:12px;white-space:nowrap;color:var(--muted)}.tutorial-back{margin:12px 0}.tutorial-legend{margin-top:24px;padding-top:20px;border-top:1px solid var(--border);line-height:1.6}.tutorial-legend h3{font-size:20px}.tutorial-legend h4{font-size:16px;margin:22px 0 12px}.tutorial-legend p{font-size:13px;margin:12px 0}.legend-items,.legend-tasks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.legend-items li{display:flex;align-items:center;gap:14px;min-width:0}.legend-items .photo-presence{position:relative;inset:auto;flex:0 0 20px;display:inline-block;margin:0}.legend-items strong,.legend-items small{display:block}.legend-items strong{font-size:13px}.legend-items small,.legend-tasks small{font-size:12px;color:var(--muted);line-height:1.5}.legend-tasks li{display:grid;gap:8px;min-width:0}.legend-tasks .vehicle-task{min-height:60px;pointer-events:none}.legend-stale{display:inline-flex;flex-direction:row;min-height:36px;padding:7px 10px;margin-right:6px;vertical-align:middle;pointer-events:none}.legend-maintenance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.legend-maintenance .card-wrapper{overflow:hidden;gap:0;border-radius:12px}.legend-maintenance .illustration{height:76px;display:grid;place-items:center;font-size:11px;padding:12px}.legend-maintenance .card-body{padding:14px}.legend-maintenance strong{font-size:13px}.legend-maintenance p{font-size:12px;margin:8px 0 0}.tutorial-legend-container{min-width:0}@media(max-width:600px){.tutorial-topics,.legend-items,.legend-tasks,.legend-maintenance{grid-template-columns:1fr}.tutorial-topic{min-height:64px}.auth-brand>img{width:48px;height:48px}.fleet-homepage-preview{margin-top:18px}}

.fleet-video-notes{display:inline-block;min-height:44px;padding:12px 0;margin-left:18px;font-size:14px;line-height:1.5}

/* The small-screen auth layout predates the inline overview: keep the player on its own full-width row. */
@media(max-width:700px){.auth-brand{display:block}.auth-brand>img{float:right;margin:0 0 12px 16px}.auth-brand .fleet-homepage-preview{clear:both;width:100%}}

/* Keep lesson navigation in separate flow rows at every text size. */
.fleet-video-dialog>.tutorial-back,#video-page-player>a{display:block;width:fit-content;max-width:100%;min-height:44px;margin:12px 0;padding:12px 0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.fleet-video-dialog>.fleet-video-guide,.fleet-video-dialog>.fleet-video-guide:has(+.fleet-video-transcript){display:block;margin:12px 0}

#work-page .fleet-video-dialog{width:100%;max-width:960px;margin:0;padding:0;overflow:visible;}
