.tablet-shell main{min-height:calc(100dvh - 80px);height:auto;margin:0 auto;padding:20px 24px calc(110px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;max-width:1180px}.tablet-shell .fleet-tabs{margin:0 auto 10px;flex-shrink:0}.tap-screen{display:flex;flex:1;flex-direction:column;min-height:min-content;gap:14px}.tap-heading{text-align:center;flex-shrink:0}.tap-heading p{color:#626262;font-size:15px;margin:0 0 8px}.tap-heading h1{font-size:clamp(25px,3vw,36px);line-height:1.18;letter-spacing:-.6px;margin:0;outline:none}.tap-content{flex:1;min-height:min-content;display:flex;flex-direction:column;justify-content:safe center;gap:14px}.tap-grid{display:grid;gap:16px}.tap-grid.buses,.tap-grid.reasons{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(100px,1fr)}.tap-grid.jobs,.tap-grid.answers{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.tap-grid.choices{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.tap-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #dddcd4;border-radius:22px;background:white;color:#171717;min-height:150px;padding:20px;text-align:center;box-shadow:0 3px 10px #00000004;touch-action:manipulation}.tap-tile svg{height:40px;width:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;background:#ffe500;padding:8px;box-sizing:content-box;border-radius:15px}.tap-tile strong{font-size:24px;line-height:1.15;overflow-wrap:anywhere}.tap-tile small{font-size:15px;font-weight:400;color:#626262}.tap-tile:hover{border-color:#b3a000;background:#fffef1}.tap-tile:active{transform:scale(.99)}.tap-tile:disabled{cursor:not-allowed;opacity:.4}.tap-tile[data-result="OK"]{background:#ffe500;border-color:#dfca00}.tap-tile[data-result="OK"] svg{background:#111;color:#ffe500}.tap-tile[data-result="Defect"] svg{background:#fde4e0;color:#a12a20}.tap-small{background:transparent;color:#222;min-height:52px;padding:12px 18px;border:1px solid #d4d4cc;border-radius:14px;touch-action:manipulation;font-size:17px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.tap-small svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none}.tap-content>.tap-small{align-self:center}.tap-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding-top:10px;border-top:1px solid #dfdfd7}.tap-footer button{min-width:110px}.tap-primary{min-height:58px;padding:16px 26px;font-size:20px;border-radius:16px}.tap-caption{text-align:center;font-size:15px;color:#626262;margin:0}.tap-warning{font-size:16px;color:#644900;background:#fff3ce;border-left:4px solid #d7a719;border-radius:10px;padding:12px 16px;margin:0;line-height:1.4}.tap-task-text{font-size:clamp(21px,2.3vw,27px);line-height:1.35;text-align:center;max-width:880px;margin:0 auto}.tap-search{margin:0 auto 2px;max-width:560px;min-height:55px;font-size:20px}.tap-number{max-width:380px;margin:auto;width:100%;display:grid;gap:8px}.tap-number label{font-size:16px;text-align:center;margin:0}.tap-number label span{color:#666}.tap-number input{font-size:32px;font-weight:700;text-align:center;min-height:60px;margin:0}.tap-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tap-keypad button{min-height:50px;background:white;color:#171717;border:1px solid #d3d3cb;border-radius:12px;font-size:24px;touch-action:manipulation}.tap-number-tools{display:flex;justify-content:space-between}.tap-number-tools .tap-small{min-height:44px;padding:6px 18px}.tap-content form{width:100%;max-width:620px;margin:auto}.tap-content form input{font-size:24px;min-height:60px}.tap-content form textarea{font-size:23px;min-height:130px;max-height:180px}.tap-content form .tap-primary{display:block;margin:16px auto 0;min-width:200px}.tap-content form .tap-small{margin:14px 8px 0 0}.tap-summary{text-align:center}.tap-summary strong{font-size:48px}.tap-summary p{margin:5px 0}.tap-error{font-size:22px;text-align:center;color:#8b271d}.tap-saving{text-align:center;font-size:26px}.tap-instruction{overflow:auto;max-height:100%;background:white;border:1px solid #deded6;border-radius:20px;padding:22px 28px;font-size:23px;line-height:1.5}.tap-instruction .tap-warning{position:sticky;top:0}.tap-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:19px}.tap-compare p{background:white;border-radius:16px;padding:18px;margin:0}.tap-heading span{font-weight:400}.tablet-shell #message{bottom:105px}.inspection-mode #message{bottom:88px}.tap-content>h2{text-align:center}.tap-content>.tap-grid{flex-shrink:0}@media(min-width:900px) and (min-height:900px){.tap-grid.buses .tap-tile{min-height:160px}.tap-keypad button{min-height:58px}.tap-screen{gap:20px}}@media(max-width:700px){.tablet-shell main{padding-left:16px;padding-right:16px}.tap-grid.buses,.tap-grid.reasons,.tap-grid.jobs,.tap-grid.answers,.tap-grid.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tap-tile{min-height:115px;padding:12px;gap:8px}.tap-tile strong{font-size:20px}.tap-tile svg{width:28px;height:28px;padding:7px}.tap-heading h1{font-size:26px}.tap-heading p{font-size:13px}.tap-footer{gap:6px;flex-wrap:wrap}.tap-footer button{min-width:80px;flex:1;font-size:16px}.tap-footer .tap-primary{flex-basis:100%}.tap-number{max-width:330px}.tap-keypad button{min-height:45px}.tap-task-text{font-size:21px}.tap-warning{font-size:14px}.tap-compare{grid-template-columns:1fr}.tap-instruction{font-size:20px;padding:18px}}@media(max-height:680px){.tablet-shell main{height:auto;min-height:calc(100dvh - 80px)}.tap-content{min-height:200px}.tap-tile{min-height:110px}.tap-heading h1{font-size:25px}.tap-number{max-width:320px}.tap-keypad button{min-height:42px}.tap-screen{gap:10px}}@media print{.tablet-shell main{height:auto}.tap-footer{display:none}}

@media(min-width:701px) and (max-height:899px){.tap-grid.buses .tap-tile,.tap-grid.reasons .tap-tile{min-height:110px;padding:12px;gap:7px}.tap-grid.buses .tap-tile strong,.tap-grid.reasons .tap-tile strong{font-size:21px}.tap-grid.buses .tap-tile svg,.tap-grid.reasons .tap-tile svg{width:28px;height:28px;padding:6px}.tap-screen,.tap-content{gap:10px}}
.tap-references{text-align:center;color:#666;font-size:14px;margin:0}.photo-picker{width:100%;max-width:720px;align-self:center}.photo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.photo-picker input[hidden]{display:none}.photo-options .tap-tile{width:100%;min-height:180px}.photo-options .tap-tile:focus-visible{outline:3px solid #2c8ddd;outline-offset:4px}.photo-preview,.photo-gallery{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.photo-preview img,.photo-gallery img{width:100px;height:90px;object-fit:cover;border-radius:12px}.tap-content>.photo-picker{max-width:720px;width:100%;align-self:center}.tap-content>.photo-preview{justify-content:center}
@media(min-width:701px){.tap-grid.answers{grid-template-columns:repeat(3,minmax(0,1fr))}.tap-grid.answers:has(>:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:700px){.tap-grid.answers [data-result="OK"]{grid-column:2}}

.tap-task-text{flex-shrink:1;min-height:0;max-height:240px;overflow:auto;overflow-wrap:anywhere;padding:4px 8px}.tap-heading h1{font-weight:700}

.tap-tile[data-result="OK"],.tap-primary{transition:background-color .18s ease,border-color .18s ease,color .18s ease}.tap-tile.tap-save-success,.tap-primary.tap-save-success{background:#e4f5e8;border-color:#338746;color:#216b35}.tap-tile.tap-save-success svg{background:#216b35;color:white}@media(prefers-reduced-motion:reduce){.tap-tile[data-result="OK"],.tap-primary{transition:none}}
.report-screen .tap-heading h1{font-size:clamp(25px,3vw,36px)}.report-text-entry{width:100%;max-width:700px;align-self:center;display:flex;flex-direction:column;align-items:center;gap:16px}.report-text-entry textarea{width:100%;height:180px;font-size:23px;resize:vertical;max-height:260px}.voice-button{background:#ffe500;border-color:#ddc900;min-width:210px;min-height:64px;font-size:22px}.voice-button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}.voice-button[aria-pressed=true]{background:#fae4df;border-color:#b44835}.voice-button:disabled{background:#eee;border-color:#ccc;color:#666;cursor:not-allowed}.report-review{background:white;border:1px solid #dddcd4;border-radius:22px;padding:20px 26px;width:100%;max-width:800px;align-self:center;overflow:auto;max-height:350px}.report-review p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.report-review p:first-child{display:flex;justify-content:space-between;gap:20px}.report-review-detail{font-size:24px}.report-edit{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.report-done{text-align:center;color:#216b35}.report-done svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:2}.report-mode #message{bottom:88px}.report-screen .tap-error{font-size:18px;margin:0}.report-screen .photo-preview{justify-content:center}@media(max-width:700px){.report-review p:first-child{flex-direction:column;gap:4px}.report-text-entry textarea{font-size:20px}.report-edit{gap:6px}.report-edit .tap-small{font-size:15px;padding:8px}}

.photo-preview:empty{display:none}.photo-preview{justify-content:center}.photo-preview img{border:3px solid white;box-shadow:0 2px 8px #00000012}.photo-preview span{flex-basis:100%;text-align:center;color:#666;font-size:15px}@media(max-width:700px){.photo-options{gap:12px}.photo-options .tap-tile{min-height:140px}.photo-options .tap-tile strong{font-size:20px}}
.sop-screen .tap-content{overflow:auto}.sop-copy{display:flex;flex-direction:column;gap:20px;max-width:900px;width:100%;align-self:center}.sop-step-text{font-size:clamp(22px,2.4vw,29px);line-height:1.45;text-align:center;max-width:900px;align-self:center;margin:0}.sop-step-icon{align-self:center;background:#ffe500;border-radius:24px;padding:20px}.sop-step-icon svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sop-source{background:white;border:1px solid #dddcd4;border-radius:22px;padding:24px 30px;overflow:auto;max-height:100%;font-size:19px;line-height:1.55}.sop-source h2{font-size:25px}.sop-source h3{font-size:22px;margin:26px 0 8px}.sop-source h4{margin-bottom:0}.sop-source p{margin:8px 0 18px}.sop-source section{padding-bottom:8px;border-bottom:1px solid #eee}.sop-screen .tap-footer{flex-wrap:wrap}@media(max-width:700px){.sop-source{padding:18px;font-size:17px}.sop-step-text{font-size:21px}.sop-step-icon{padding:12px}.sop-step-icon svg{width:44px;height:44px}}

.actions-mode #message{bottom:88px}.actions-screen .tap-content{justify-content:flex-start;overflow:auto;padding:2px 2px 8px}.action-filters{width:100%;max-width:510px;margin:0 auto;flex-shrink:0}.action-filters button{white-space:nowrap}.actions-screen .tap-search{flex-shrink:0;font-size:18px}.tap-grid.action-tiles{grid-template-columns:repeat(3,minmax(0,1fr));padding:2px}.action-tile{min-height:185px;gap:8px}.action-tile strong{font-size:21px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.action-tile .action-bus{font-weight:700;color:#333}.action-summary{width:100%;max-width:800px;align-self:center;background:white;border:1px solid #dddcd4;border-radius:22px;padding:20px 26px;flex-shrink:0}.action-summary h2{font-size:24px;line-height:1.3;margin:14px 0;overflow-wrap:anywhere}.action-summary p{margin:10px 0;overflow-wrap:anywhere}.action-summary details{color:#626262;font-size:15px}.action-summary summary{cursor:pointer}.action-summary .row{font-size:16px}.action-note-review{font-size:22px;line-height:1.5}.actions-screen .tap-grid.jobs{width:100%;max-width:800px;align-self:center}.actions-screen .report-text-entry{margin:auto}.actions-screen .action-context{max-width:800px;align-self:center;overflow-wrap:anywhere}.actions-screen .tap-error{font-size:18px;margin:0}.action-closed{background:#e7f3eb;color:#24583b}.action-empty{margin:auto;text-align:center;padding:24px}.action-empty>svg{width:56px;height:56px;stroke:currentColor;fill:none;stroke-width:1.5;color:#777}.action-empty h2{margin:16px 0}.actions-screen .report-done{margin-top:auto}.actions-screen .report-done+.tap-caption+.tap-grid{margin-bottom:auto}@media(max-width:700px){.tap-grid.action-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.action-tile{min-height:165px}.action-tile strong{font-size:18px}.action-filters button{padding:12px 10px;font-size:15px}.action-summary{padding:18px}.action-summary h2{font-size:21px}.action-note-review{font-size:20px}.actions-screen .tap-content{gap:12px}.actions-screen .tap-grid.jobs .tap-tile strong{font-size:19px}}
.tap-grid.action-tiles:has(>:only-child){grid-template-columns:minmax(0,420px);justify-content:center}

.fleet-mode #message{bottom:88px}.fleet-screen .tap-content{justify-content:flex-start;overflow:auto;padding:2px 2px 8px}.fleet-navigation{display:flex;align-items:center;gap:12px;width:100%;max-width:820px;margin:0 auto;flex-shrink:0}.fleet-flow-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);flex:1;min-width:0;max-width:none;margin:0}.fleet-flow-tabs button{white-space:nowrap;min-width:0;min-height:44px;padding:12px 10px}.fleet-add-bus{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:44px;padding:12px 18px;font-size:16px;white-space:nowrap}.fleet-screen .tap-search{flex-shrink:0;font-size:18px;max-width:620px}.tap-grid.fleet-tiles{grid-template-columns:repeat(3,minmax(0,1fr));padding:2px}.tap-grid.fleet-tiles:has(>:only-child){grid-template-columns:minmax(0,420px);justify-content:center}.fleet-tile{gap:8px;min-height:170px}.fleet-tile strong{font-size:23px;line-height:1.2}.fleet-tile small{overflow-wrap:anywhere}.fleet-tile .pill{font-size:13px;font-weight:400;white-space:normal}.fleet-overdue{color:#8a5900!important}.fleet-stat{font-size:36px;line-height:1;font-weight:700;color:#333}.fleet-stat.attention{color:#986400}.fleet-stat-tiles .fleet-tile{min-height:190px}.fleet-bus-summary{text-align:center;flex-shrink:0}.fleet-bus-summary p{margin:0 0 8px;font-size:16px;color:#626262;overflow-wrap:anywhere}.fleet-bus-summary .pill{margin-bottom:8px}.fleet-detail{width:100%;max-width:820px;align-self:center;background:#fff;border:1px solid #dddcd4;border-radius:22px;padding:22px 28px;flex-shrink:0;overflow-wrap:anywhere}.fleet-detail h2{font-size:24px;line-height:1.3;margin:12px 0}.fleet-detail p{line-height:1.5}.fleet-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:20px 0}.fleet-detail dt{font-size:14px;color:#626262;margin-bottom:6px}.fleet-detail dd{font-size:21px;margin:0;line-height:1.35;white-space:pre-wrap}.fleet-detail dl .tap-small{margin-top:10px;font-size:14px;min-height:42px;padding:8px 12px}.fleet-detail .help{color:#626262}.fleet-screen .tap-grid.jobs{width:100%;max-width:820px;align-self:center}.fleet-screen .report-text-entry{margin:auto}.fleet-entry input{font-size:26px;text-align:center;min-height:68px;margin:0}.fleet-date-entry{max-width:460px;width:100%;margin:auto;align-self:center}.fleet-date-entry label{font-size:18px;text-align:center}.fleet-date-entry input{font-size:24px;min-height:64px}.fleet-screen .tap-error{font-size:18px;margin:0}.fleet-empty{margin:auto;text-align:center;padding:24px}.fleet-empty>svg{width:56px;height:56px;stroke:currentColor;fill:none;stroke-width:1.5;color:#777}.fleet-empty h2{font-size:22px;margin:16px 0}.fleet-screen .report-done{margin-top:auto}.fleet-screen .report-done+.tap-grid{margin-bottom:auto}@media(max-width:700px){.tap-grid.fleet-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fleet-tile{min-height:150px;padding:14px 10px}.fleet-tile strong{font-size:20px}.fleet-tile small{font-size:14px}.fleet-stat-tiles .fleet-tile{min-height:170px}.fleet-stat{font-size:30px}.fleet-detail{padding:18px}.fleet-detail dl{gap:18px;grid-template-columns:1fr}.fleet-detail dd{font-size:20px}.fleet-screen .tap-content{gap:12px}.fleet-entry input{font-size:23px}.fleet-screen .tap-search{font-size:16px}}
.fleet-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fleet-model-card{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #dddcd4;border-radius:20px;padding:22px}
.fleet-model-card h2,.fleet-model-card p{margin:0}
.fleet-model-card h2{font-size:27px}
.fleet-model-card p{font-size:16px;line-height:1.4}
.fleet-model-card details{font-size:14px;color:#626262}
.fleet-model-card details p{font-size:14px;margin-top:8px}
.fleet-model-card summary{cursor:pointer}
.fleet-model-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
.fleet-model-actions .tap-small{font-size:14px;min-height:44px;padding:10px 12px}
@media(min-width:701px) and (max-height:900px){
 .fleet-screen{gap:10px}
 .fleet-screen .tap-content{gap:10px}
 .fleet-tile{min-height:145px;padding:14px;gap:6px}
 .fleet-tile svg{width:30px;height:30px;padding:7px}
 .fleet-tile strong{font-size:21px}
 .fleet-stat-tiles .fleet-tile{min-height:145px}
 .fleet-stat{font-size:32px}
 .fleet-screen .tap-caption{font-size:14px}
}
@media(max-width:850px){.fleet-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fleet-navigation{flex-wrap:wrap;gap:10px}.fleet-flow-tabs{flex-basis:100%;gap:2px;padding:4px}.fleet-flow-tabs button{padding:10px 4px;font-size:14px}.fleet-add-bus{margin-left:auto;padding:10px 16px}.fleet-model-grid{grid-template-columns:1fr}.fleet-model-card{padding:18px}}

/* Shared navigation stays visible; content grows above its reserved bottom space. */
.tablet-shell #message{bottom:calc(105px + env(safe-area-inset-bottom,0px))}
.tap-search{flex-shrink:0}
.checks-screen .tap-content{justify-content:flex-start;padding:8px 2px;gap:20px}
.checks-screen .tap-search{max-width:620px;margin:0 auto 4px}
.checks-screen .tap-grid.buses{grid-auto-rows:auto}
.checks-screen .tap-tile .pill{font-size:13px;font-weight:400}
.checks-bus-summary{text-align:center;flex-shrink:0}
.checks-bus-summary h2{margin:0 0 8px;font-size:28px}
.checks-bus-summary p{margin:8px 0;color:#626262}
.checks-start{width:100%;max-width:520px;align-self:center}
.checks-record-summary{width:100%;background:#fff;border:1px solid #dddcd4;border-radius:20px;padding:22px;overflow-wrap:anywhere}
.checks-record-summary h2{font-size:22px;line-height:1.4;margin:0 0 16px}
.checks-record-summary summary{cursor:pointer}
.checks-saved-answers{display:grid;gap:16px}
@media(max-width:700px){.checks-screen .tap-search{font-size:17px}.checks-screen .tap-content{gap:14px}.checks-bus-summary p{font-size:15px}.checks-record-summary{padding:18px}}

.control-stop{background:#fff0f0;color:#861a1a;border:4px solid #bc2525;border-radius:14px;padding:20px;margin:16px 0;font-size:1.1rem}.control-stop h2{color:#861a1a}.control-stop .tap-small{margin:6px;white-space:normal}.control-stop p{overflow-wrap:anywhere}

@media(max-width:360px){.fleet-flow-tabs button{font-size:13px}}

.sop-library>.tap-content{justify-content:flex-start}

/* Keep questions, citations and decisions together; let the page scroll naturally. */
.tap-tile[data-section-complete="true"]{border:2px solid #33834c}
.tap-tile[data-section-complete="true"] svg{background:#e9f3eb;color:#276b3c}
.tap-heading.question-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;width:100%;max-width:880px;margin:0 auto}
.question-heading h1{font-size:clamp(24px,3vw,36px)}
.question-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #d4d4cc;border-radius:14px;background:white;color:#333;touch-action:manipulation}
.question-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.question-arrow:disabled{opacity:.3;cursor:default}
.question-arrow:focus-visible{outline:3px solid #2c8ddd;outline-offset:3px}
.question-browse{touch-action:pan-y pinch-zoom}
.question-screen .tap-content{justify-content:flex-start;gap:20px;overflow:visible}
.question-copy{width:100%;max-width:880px;margin:0 auto}
.question-screen .tap-task-text{color:#111;font-weight:500;line-height:1.42;max-height:none;overflow:visible;padding:0 4px}
.question-screen .tap-references{margin-top:10px;font-size:14px;line-height:1.5;color:#626262}
.tap-references p{margin:0}.question-document-references a{color:#343434;text-decoration:underline;text-underline-offset:3px}
.question-screen .safety-notice{margin:0;padding:12px 16px;font-size:15px;line-height:1.4}
.question-screen .tap-grid.answers{width:100%;max-width:880px;align-self:center}
.question-screen [data-result="Fixed"] svg{background:#e9f1ed;color:#276343}
/* Keep the persisted answer visible when returning to a question. */
.tap-grid.answers[data-has-saved-answer="true"] .tap-tile[data-result="OK"]{background:white;border-color:#dddcd4;color:#171717}
.tap-grid.answers[data-has-saved-answer="true"] .tap-tile[data-result="OK"] svg{background:#e9f1ed;color:#276343}
.tap-grid.answers [data-saved-tone="positive"]{--answer-bg:#e4f5e8;--answer-border:#338746;--answer-ink:#216b35}
.tap-grid.answers [data-saved-tone="negative"]{--answer-bg:#fde4e0;--answer-border:#bd4034;--answer-ink:#a12a20}
.tap-grid.answers [data-saved-tone="warning"]{--answer-bg:#fff0cf;--answer-border:#cf841b;--answer-ink:#895006}
.tap-grid.answers [data-saved-tone="neutral"]{--answer-bg:#edf0f2;--answer-border:#66747c;--answer-ink:#42535c}
.question-screen .tap-grid.answers .tap-tile[data-saved-tone]{background:var(--answer-bg);border:2px solid var(--answer-border);color:var(--answer-ink);opacity:1}
.question-screen .tap-grid.answers .tap-tile[data-saved-tone] svg{background:var(--answer-ink);color:white}
.question-screen .tap-grid.answers .tap-tile[data-saved-tone] small{color:inherit;font-weight:700}
.question-screen .tap-grid.answers .tap-tile.tap-save-success{background:#e4f5e8;border-color:#338746;color:#216b35}
.question-screen .tap-grid.answers .tap-tile.tap-save-success svg{background:#216b35;color:white}
.question-screen .inline-instruction{margin:0}
.question-step-reading .tap-content{justify-content:center;gap:20px}
.question-screen #tap-repair-form{margin:0 auto;display:grid;gap:16px}
.question-screen #tap-repair-form label{margin:0;font-size:17px}
.question-screen #tap-repair-form textarea{font-size:19px;min-height:88px;max-height:none}
.question-screen #tap-repair-form .repair-choices{padding:0;border:0;margin:0;min-width:0}
.repair-choices legend{font-size:17px;font-weight:700;margin-bottom:10px}
.repair-choices>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.repair-choices label{position:relative}
.question-screen #tap-repair-form .repair-choices input{position:absolute;opacity:0;min-height:0;width:1px;height:1px;margin:0;padding:0}
.repair-choices span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px;border:1px solid #d4d4cc;border-radius:14px;background:white;cursor:pointer}
.repair-choices input:checked+span{background:#fff8bf;border-color:#b3a000;font-weight:700}
.repair-choices input:checked+span:after{content:'✓';margin-left:10px}
.repair-choices input:focus-visible+span{outline:3px solid #2c8ddd;outline-offset:3px}
#tap-repair-form [hidden]{display:none}
.question-screen #tap-repair-form>.tap-primary{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;width:100%}
#tap-repair-form>.tap-primary svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}
#tap-repair-form .voice-button{min-height:44px;min-width:0;font-size:17px;padding:8px 14px;margin:8px 0}
#tap-repair-form .voice-button svg{width:22px;height:22px}
#tap-repair-form .voice-control .tap-caption{font-size:12px;text-align:left;margin-bottom:8px}
.repair-photo-option summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:15px;text-decoration:underline;text-underline-offset:3px;color:#4b4b4b}
.repair-photo-option .photo-options{gap:10px}.repair-photo-option .photo-options .tap-tile{min-height:100px}.repair-photo-option .photo-options strong{font-size:18px}
.inspection-photo-list{width:100%;max-width:720px;margin:auto}.inspection-photo-list p{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;overflow-wrap:anywhere}.inspection-photo-list img{width:64px;height:64px;object-fit:cover;border-radius:10px}.inspection-photo-list .tap-small{font-size:14px;padding:8px;min-height:44px}
.repair-reported{border:1px solid #d9e5df;border-radius:14px;padding:16px;margin:16px 0;background:#f5f8f6;overflow-wrap:anywhere}.repair-reported p{font-size:16px;white-space:pre-wrap;line-height:1.5;margin:10px 0}.repair-reported small{color:#626262}
@media(max-width:700px){.question-screen .tap-content{gap:18px}.question-screen .tap-task-text{font-size:21px}.question-screen .tap-grid.answers{gap:10px}.question-screen .tap-grid.answers .tap-tile{min-height:112px}.question-screen .tap-tile strong{font-size:19px}.question-screen .tap-footer{margin-top:8px}.question-screen .safety-notice{font-size:14px}.question-screen .tap-grid.answers:has(>:nth-child(5)) [data-result="Not due"]{grid-column:1/-1;min-height:64px;flex-direction:row}.question-screen .tap-grid.answers:has(>:nth-child(5)) [data-result="Fixed"]{grid-column:1}.question-screen .tap-grid.answers [data-result="OK"]{grid-column:2}}

/* Driver docket capture uses the existing fault workflow and touch controls. */
.docket-entry{width:100%;max-width:820px;margin:0 auto}.docket-entry .tap-tile{width:100%;min-height:104px;display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:18px;row-gap:5px;padding:18px 22px}.docket-entry svg{grid-row:1/3;width:28px;height:28px}.docket-entry strong{font-size:22px}.docket-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:820px;margin:auto}.docket-photos:empty{display:none}.docket-photos>div{min-width:0;text-align:center}.docket-photos img,.docket-photos .photo-gallery img{width:100%;height:180px;object-fit:contain;background:white;border:1px solid #dddcd4;border-radius:14px}.docket-photos .photo-gallery{margin:0;display:block}.docket-photos .tap-small{font-size:14px;margin-top:6px;padding:8px;min-height:44px;width:100%}.docket-review{width:100%;max-width:820px;margin:auto;display:grid;gap:16px;background:white;border:1px solid #dddcd4;border-radius:22px;padding:22px}.docket-review .docket-bus{width:100%;min-height:100px}.docket-review label{margin:0;font-size:16px}.docket-review input,.docket-review select,.docket-review textarea{width:100%;font-size:18px;min-height:48px}.docket-review .report-text-entry{width:100%;max-width:none;margin:0}.docket-review .report-text-entry textarea{font-size:20px;min-height:150px;max-height:none}.docket-review details{border-top:1px solid #e5e5de;padding-top:14px}.docket-review summary,.docket-source summary{cursor:pointer;min-height:44px;font-weight:700}.docket-review details label{display:block;margin-top:14px}.docket-warning{width:100%;max-width:820px;margin:auto;background:#fff3ce;color:#644900;border-radius:14px;padding:14px 18px}.docket-warning p{margin:4px 0;line-height:1.4}.docket-source{margin:16px 0;overflow-wrap:anywhere}.docket-source p{font-size:16px}.docket-review .photo-gallery img{height:150px;object-fit:contain}.report-screen:has(.docket-review) .tap-footer>.tap-primary{width:100%}@media(max-width:700px){.docket-entry .tap-tile{padding:14px;column-gap:12px;grid-template-columns:44px 1fr}.docket-entry strong{font-size:20px}.docket-entry small{font-size:13px}.docket-photos{gap:8px}.docket-photos img,.docket-photos .photo-gallery img{height:120px}.docket-photos .tap-small{font-size:12px}.docket-review{padding:16px}.report-screen:has([data-docket-analyse]) .tap-footer{flex-direction:column}.report-screen:has([data-docket-analyse]) .tap-footer button{width:100%}}

/* Category navigation shares the question arrows; card icons stay compact. */
.sections-browse{touch-action:pan-y pinch-zoom}
.category-title{display:flex;align-items:center;justify-content:center;gap:10px}
.category-title svg{width:28px;height:28px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tap-heading h1 .category-page-count{display:block;font-size:14px;font-weight:400;color:#626262;margin-top:6px}
.sections-browse .tap-content{justify-content:flex-start}
.section-cards{width:100%}
.section-cards .section-tile{position:relative;justify-content:flex-start;gap:14px;padding:20px;min-height:182px}
.section-tile .section-card-icons{display:flex;align-items:center;justify-content:space-between;width:100%;height:28px}
.section-cards .section-tile svg{width:25px;height:25px;padding:0;border-radius:0;background:none;color:inherit;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.section-tile .section-state-icon{display:inline-flex}
.section-cards .section-tile small{margin-top:auto;font-size:15px;line-height:1.35}
.section-tile small span{display:block;margin-top:6px;font-size:13px}
.section-cards [data-section-state="passed"]{border:2px solid #30754e}
.section-cards [data-section-state="passed"] .section-state-icon{color:#276343}
.section-cards [data-section-state="attention"]{border:2px solid #ef8625}
.section-cards [data-section-state="attention"] .section-state-icon,.section-cards [data-section-state="attention"] small span{color:#a64908}
.section-cards [data-section-state="locked"] .section-state-icon{color:#656565}
.section-lock{width:100%;max-width:880px;margin:auto;border:1px solid #d5d5ce;border-radius:18px;background:white;padding:18px;text-align:left}
.section-lock p{font-size:17px;margin:0 0 12px;line-height:1.4}
.section-lock strong{display:flex;align-items:center;gap:8px}
.section-lock strong svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.section-lock summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:16px;font-weight:700}
.section-lock ul{margin:8px 0 0;padding-left:20px}.section-lock li{font-size:15px;line-height:1.5;margin:0 0 12px}.section-lock li button{display:block;margin:6px 0;font-size:14px;min-height:44px}
.section-rule-form{border-bottom:1px solid #deded6;margin:12px 0 22px;padding:0 0 22px}
.section-rule-form [hidden]{display:none}.section-rule-form fieldset{padding:12px;min-width:0}.section-rule-form .toggle-label{display:flex;align-items:center;gap:10px}.section-rule-form .toggle-label input{width:20px;min-height:20px;flex-shrink:0}
@media(max-width:700px){.sections-browse .tap-heading h1{font-size:24px}.section-cards .section-tile{padding:15px;min-height:168px;gap:12px}.section-cards .section-tile strong{font-size:19px}.section-cards .section-tile small{font-size:14px}.category-title{gap:7px}.category-title svg{width:24px;height:24px}}
.sections-browse .category-title,.sections-browse .category-title span{font-weight:700}

/* Outstanding work is the default; completed answers remain available for review. */
.inspection-scope{display:grid;grid-template-columns:1.2fr 1fr;gap:4px;width:100%;max-width:420px;align-self:center;padding:4px;border:1px solid #d8d8d1;border-radius:18px;background:#eaeae5;flex-shrink:0}
.inspection-scope button{min-width:0;min-height:44px;padding:9px 12px;border:0;border-radius:13px;background:transparent;color:#555;font-size:16px;font-weight:700;touch-action:manipulation}
.inspection-scope button[aria-pressed="true"]{background:#fff;color:#151515;box-shadow:0 1px 5px #00000012}
.inspection-scope span{display:inline-block;min-width:24px;margin-left:5px;padding:2px 5px;border-radius:8px;background:#fff2ce;color:#8a470c;font-size:14px}
.inspection-progress-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.inspection-progress-actions .tap-small{font-size:15px;min-height:44px;padding:10px 16px}
.inspection-review .tap-content{justify-content:flex-start;overflow:visible}
.inspection-review .tap-grid.jobs{width:100%;max-width:880px;align-self:center}
.outstanding-list{display:grid;gap:18px;width:100%;max-width:880px;align-self:center}
.outstanding-section{min-width:0;background:#fff;border:1px solid #deded6;border-radius:20px;padding:18px 22px}
.outstanding-section h2{font-size:21px;margin:0 0 12px}
.outstanding-check{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:14px 0;background:none;border:0;border-top:1px solid #eaeae4;border-radius:0;color:#171717;text-align:left;line-height:1.4;touch-action:manipulation}
.outstanding-check>span{display:grid;gap:5px;flex:1;min-width:0;overflow-wrap:anywhere}
.outstanding-check strong{font-size:14px}.outstanding-check span span{font-size:17px;font-weight:400}.outstanding-check small{font-size:14px;color:#a64908;font-weight:400}
.outstanding-check>svg,.outstanding-lock svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
.outstanding-lock{display:flex;align-items:center;gap:8px;color:#626262;font-size:15px}
.outstanding-reasons{font-size:14px;line-height:1.5;color:#626262;padding-left:22px}
.outstanding-blocked{font-size:15px;line-height:1.5;color:#626262;overflow-wrap:anywhere}.outstanding-blocked strong{display:block;color:#a64908;font-size:14px}
.inspection-scope button:focus-visible,.outstanding-check:focus-visible{outline:3px solid #2c8ddd;outline-offset:3px}
@media(max-width:700px){.outstanding-section{padding:16px}.inspection-scope button{font-size:15px;padding:9px 7px}.inspection-progress-actions{gap:6px}.inspection-progress-actions .tap-small{font-size:14px;padding:10px 12px}}

/* Readable inspection records, with filters kept together above the list. */
.inspection-records-screen{width:100%;max-width:1040px;align-self:center;gap:22px}
.inspection-records-screen .tap-heading{text-align:left}
.inspection-records-screen .tap-heading .inspection-record-scope{margin:9px 0 0;font-size:15px;color:#65655f}
.inspection-records-screen .tap-content{gap:18px;padding:0}
.inspection-records-screen .safety-stats{margin:0;gap:12px}
.inspection-records-screen .safety-stats a{flex-direction:row;justify-content:flex-start;gap:14px;padding:16px 20px;border-radius:16px;text-align:left}
.inspection-records-screen .safety-stats strong{font-size:28px;line-height:1;flex-shrink:0}
.inspection-records-screen .safety-stats span{font-size:14px;line-height:1.35;max-width:155px}
.inspection-record-tools{background:white;border:1px solid #e0e0d8;border-radius:18px;padding:14px}
.inspection-record-search{display:flex;align-items:center;gap:10px}
.inspection-record-search input{margin:0;min-width:0;min-height:48px;font-size:16px;border:0;background:#f5f5f1;padding:12px 14px;border-radius:12px}
.record-filter-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;flex-shrink:0;padding:12px 16px;background:#ffe500;border-radius:12px;font-size:15px}
.record-filter-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.record-filter-toggle b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:50%;background:#171717;color:#fff;font-size:12px;margin-left:3px}
.inspection-record-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 12px;margin-top:18px;padding:18px 0 2px;border-top:1px solid #ecece5}
.inspection-record-filters label{grid-column:span 2;min-width:0;margin:0;font-size:13px;color:#5d5d57;font-weight:500}
.inspection-record-filters label:nth-last-of-type(-n+2){grid-column:span 3}
.inspection-record-filters select,.inspection-record-filters input{width:100%;min-width:0;min-height:46px;font-size:16px;line-height:1.3;padding:10px;margin-top:7px;background:#fff;border-color:#d8d8d1}
.inspection-record-filters .record-date-error{grid-column:1/-1;font-size:14px;color:#a12a20;margin:0}
.inspection-record-results{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:32px}
.inspection-record-results p{margin:0;font-size:14px;font-weight:700;line-height:1.5}
.inspection-record-results p span{font-weight:400;color:#73736b}
.inspection-record-results button{background:none;padding:6px 0;min-height:44px;color:#5a5a52;font-size:14px;flex-shrink:0;text-decoration:underline;text-underline-offset:4px}
.inspection-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.inspection-record-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:20px;padding:22px;background:#fff;border:1px solid #ddded6;border-radius:20px;text-align:left;box-shadow:0 3px 12px #17171703;transition:border-color .15s,box-shadow .15s}
.inspection-record-card:hover{border-color:#aaa994;box-shadow:0 5px 18px #17171709}
.inspection-record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.inspection-record-bus{display:flex;align-items:center;min-width:0;gap:12px;flex:1}
.inspection-record-bus>svg{height:42px;width:42px;box-sizing:border-box;flex-shrink:0;padding:9px;fill:none;stroke:#171717;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;background:#ffe500;border-radius:13px}
.inspection-record-bus>span{min-width:0;display:grid;gap:5px}
.inspection-record-bus strong{font-size:25px;line-height:1.05;letter-spacing:-.5px;overflow-wrap:anywhere}
.inspection-record-bus small{font-size:12px;color:#68685e;font-weight:400;overflow-wrap:anywhere;line-height:1.3}
.record-status{display:inline-flex;align-items:center;gap:6px;border-radius:30px;font-size:12px;line-height:1.3;padding:7px 10px;white-space:nowrap;font-weight:500;background:#efefeb;color:#54544c}
.record-status:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.record-status-review{background:#fff0e2;color:#a64908}
.record-status-progress{background:#fff1d6;color:#8a4b08}
.record-status-critical{background:#fce8e6;color:#a1261c}
.record-status-complete{background:#eaf3ed;color:#276343}
.inspection-record-card[data-record-critical=true],.inspection-record-card[data-record-critical=true]:hover{border-color:#d95347;box-shadow:0 0 0 1px #d9534726}
.safety-badge.critical{background:#fce8e6;color:#a1261c}
.safety-badge.good{background:#eaf3ed;color:#276343}
.inspection-section-list .record-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;border-width:2px;padding:18px 20px}
.record-section>div{display:grid;gap:6px;min-width:0}
.record-section strong{line-height:1.35;overflow-wrap:anywhere}
.record-section>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.record-section.record-section-complete{border-color:#38915d;background:#fcfffc}
.record-section-complete>svg,.record-section-complete span{color:#276343}
.record-section.record-section-critical{border-color:#d95347;background:#fff8f7}
.record-section-critical>svg,.record-section-critical span{color:#a1261c}
.record-section.record-section-attention{border-color:#ed9a43}
.record-section-attention>svg,.record-section-attention span{color:#98500c}
.inspection-record-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;font-size:15px;line-height:1.4;font-weight:400}
.inspection-record-meta>span{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.inspection-record-meta small{font-size:12px;color:#78786d;font-weight:400}
.inspection-record-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:14px;border-top:1px solid #efefe8}
.inspection-record-card .safety-badge{font-size:12px;line-height:1.4;padding:6px 10px;font-weight:500;white-space:normal;overflow-wrap:anywhere}
.inspection-record-open{display:inline-flex;align-items:center;gap:8px;font-size:13px;margin-left:auto}
.inspection-record-open svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.inspection-record-empty{text-align:center;padding:34px 20px 44px;border:1px dashed #d8d8ce;border-radius:20px;background:#fafaf7}
.inspection-record-empty>svg{height:36px;width:36px;fill:none;stroke:#77776a;stroke-width:1.5}
.inspection-record-empty h2{font-size:21px;margin:14px 0 8px}
.inspection-record-empty p{font-size:15px;color:#66665b;margin:0;line-height:1.5}
.inspection-records-screen .tap-footer:empty{display:none}
.inspection-records-screen button:focus-visible,.inspection-records-screen a:focus-visible,.inspection-records-screen input:focus-visible,.inspection-records-screen select:focus-visible{outline:3px solid #2c8ddd;outline-offset:3px}
@media(max-width:700px){
 .inspection-records-screen{gap:20px}
 .inspection-records-screen .tap-heading h1{font-size:28px}
 .inspection-records-screen .tap-heading .inspection-record-scope{font-size:13px}
 .inspection-records-screen .tap-content{gap:14px}
 .inspection-records-screen .safety-stats{gap:10px}
 .inspection-records-screen .safety-stats a{padding:14px 12px;gap:10px}
 .inspection-records-screen .safety-stats strong{font-size:26px}
 .inspection-records-screen .safety-stats span{font-size:12px}
 .inspection-record-tools{padding:10px;border-radius:16px}
 .inspection-record-search{gap:8px}
 .inspection-record-search input{padding:12px 10px}
 .record-filter-toggle{padding:12px 10px;font-size:14px;gap:5px}
 .inspection-record-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 3px 4px;gap:14px 10px;margin-top:12px}
 .inspection-record-filters label,.inspection-record-filters label:nth-last-of-type(-n+2){grid-column:span 1}
 .inspection-record-filters label:first-child{grid-column:1/-1}
 .inspection-record-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .inspection-record-card{padding:18px;gap:18px;border-radius:18px}
 .inspection-record-bus{gap:10px}
 .inspection-record-bus strong{font-size:24px}
 .inspection-record-meta{font-size:14px;gap:12px}
 .inspection-record-results p span{font-size:12px}
}
@media(max-width:360px){.inspection-record-filters label:nth-last-of-type(-n+2){grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.inspection-record-card{transition:none}}
.inspection-review-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.inspection-review-actions button{min-height:48px}.inspection-question-section{text-align:center;font-size:16px;font-weight:700;color:#555;margin:0}

/* Numeric measurements share one status treatment across PM3 and garage checks. */
.measurement-input{max-width:460px;margin:0 auto 24px;text-align:left}
.measurement-input .measurement-limit{font-size:17px;color:#4b5563;margin:8px 0 12px}
.measurement-input .measurement-entry{display:flex;align-items:center;border:3px solid #cbd2d9;border-radius:18px;background:#fff;overflow:hidden}
.measurement-input .measurement-entry input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;text-align:center;font-size:40px;padding:18px 8px;border-radius:0;margin:0;outline-offset:-4px}
.measurement-unit{font-size:22px;font-weight:700;padding:0 20px 0 8px;white-space:nowrap;color:#374151}
.measurement-input[data-reading-state=within] .measurement-entry{border-color:#16804a;background:#f0fbf4}
.measurement-input[data-reading-state=outside] .measurement-entry,.measurement-input[data-reading-state=invalid] .measurement-entry{border-color:#cc3038;background:#fff3f3}
.measurement-status{min-height:26px;margin:10px 0 14px;font-weight:600;color:#5b6571}
.measurement-input[data-reading-state=within] .measurement-status{color:#146c40}
.measurement-input[data-reading-state=outside] .measurement-status,.measurement-input[data-reading-state=invalid] .measurement-status{color:#b3222c}
.measurement-input [data-measurement-skip]{width:100%;margin-top:12px}
.checklist-measurements{margin-top:24px}
.checklist-measurements[hidden],.tolerance-editor [hidden]{display:none!important}
@media(max-width:480px){.measurement-input .measurement-entry input{font-size:34px}.measurement-unit{font-size:20px;padding-right:14px}}

.measurement-input .measurement-entry input:focus{outline:none}.measurement-entry:focus-within{box-shadow:0 0 0 3px #1112}

/* Keep the section and safety guidance together, expanding guidance only on request. */
.inspection-question-context{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:880px;margin:0 auto}
.inspection-question-context .inspection-question-section{flex:1;min-width:0;text-align:left}
.inspection-question-context .question-guidance{width:auto;max-width:none;margin:0;flex-shrink:0}
.inspection-question-context:has(.question-guide[open]){flex-wrap:wrap}
.inspection-question-context:has(.question-guide[open]) .question-guidance{width:100%;flex-shrink:1}

/* The entry action sits above the 73px floating navigation, including safe-area inset. */
.question-step-reading .tap-content{flex:0;justify-content:flex-start;min-height:0;gap:10px}
.question-step-reading .measurement-input{margin:0 auto}
.question-step-reading .measurement-limit{margin:0 0 4px}
.question-step-reading .measurement-status{margin:4px 0 6px}
.question-step-reading .tap-footer{position:sticky;bottom:calc(96px + env(safe-area-inset-bottom,0px));z-index:10;background:#f5f5f3;border:0;padding:8px 0;margin-top:0;width:100%;max-width:460px;align-self:center}
.question-step-reading .tap-footer .tap-primary{width:100%;flex:1}
.duration-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.duration-input .duration-part{display:grid;gap:6px;margin:0;min-width:0;text-align:left}
.duration-input .duration-part>span:first-child{font-size:16px;color:#4b5563}
.duration-input[data-duration-part=minutes] [data-duration-value=minutes],.duration-input[data-duration-part=seconds] [data-duration-value=seconds]{box-shadow:inset 0 -4px #191919!important}
.tap-keypad .duration-switch{font-size:15px;padding:8px}
.question-step-reading .tap-keypad button{min-height:44px}
.question-step-reading .tap-number-tools .tap-small{min-height:44px}

/* Put the supervisor's current task ahead of new work. */
.bus-review-notice{width:100%;max-width:820px;align-self:center;flex-shrink:0;background:#fff8e7;border:2px solid #d68a14;border-radius:20px;padding:22px;text-align:left;overflow-wrap:anywhere}
.bus-review-notice h2{font-size:24px;line-height:1.25;margin:14px 0 10px}.bus-review-notice p{font-size:16px;line-height:1.45;margin:10px 0}.bus-review-notice .help{font-size:14px;color:#626262}.bus-review-notice .tap-primary{width:100%;min-height:54px;margin-top:10px;font-size:19px}.bus-review-notice .pill{white-space:normal}.fleet-tile .fleet-review-badge{border:1px solid #d68a14;font-weight:700}.fleet-attention-heading{font-size:22px;margin:8px 0 0}.fleet-completed-actions{width:100%;flex-shrink:0;margin-top:16px;border-top:1px solid #dddcd4;padding-top:18px}.fleet-completed-actions>summary{font-size:18px;cursor:pointer;padding:8px 0;color:#555}.fleet-completed-actions>.tap-grid{margin-top:16px}
@media(max-width:700px){.bus-review-notice{padding:18px}.bus-review-notice h2{font-size:21px}.bus-review-notice p{font-size:15px}}

.bus-review-requirements{width:100%;max-width:820px;align-self:center;flex-shrink:0;border:1px solid #dddcd4;border-radius:14px;background:white;padding:16px 20px}.bus-review-requirements summary{cursor:pointer;font-weight:700}.bus-review-requirements li{font-size:15px;line-height:1.5;margin:10px 0}.bus-review-requirements .tap-small{width:100%}
