.tablet-shell main{height:calc(100dvh - 80px);margin:0 auto;padding:12px 24px 94px;display:flex;flex-direction:column;max-width:1180px}.tablet-shell .fleet-tabs{margin:0 auto 10px;flex-shrink:0}.inspection-mode main{padding-bottom:12px}.inspection-mode #navigation-root{display:none}.tap-screen{display:flex;flex:1;flex-direction:column;min-height:0;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:0;display:flex;flex-direction:column;justify-content: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-mode main{padding-bottom:14px}.report-mode #navigation-root{display: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-mode main{padding-bottom:14px}.sop-mode #navigation-root{display:none}.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 main{padding-bottom:14px}.actions-mode #navigation-root{display:none}.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 main{padding-bottom:14px}.fleet-mode #navigation-root{display:none}.fleet-mode #message{bottom:88px}.fleet-screen .tap-content{justify-content:flex-start;overflow:auto;padding:2px 2px 8px}.fleet-flow-tabs{width:100%;max-width:510px;margin:0 auto;flex-shrink:0}.fleet-flow-tabs button{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-flow-tabs button{font-size:15px;padding:12px 10px}.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}}
