/* GarageForge 8.13.2 — Mobile Compatibility Foundation */
:root{--gf-mobile-bar-h:70px;--gf-safe-bottom:env(safe-area-inset-bottom,0px);--gf-safe-top:env(safe-area-inset-top,0px)}
.gf-mobile-bar,.gf-mobile-more,.gf-mobile-backdrop,.gf-mobile-status{display:none}
@media(max-width:900px),(pointer:coarse) and (max-width:1100px){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-bottom:calc(var(--gf-mobile-bar-h) + var(--gf-safe-bottom) + 16px)}
 body{overscroll-behavior-y:none;padding-top:var(--gf-safe-top);padding-bottom:calc(var(--gf-mobile-bar-h) + var(--gf-safe-bottom));touch-action:manipulation}
 .shell{display:block;min-height:100dvh}.shell>aside{display:none!important}
 main{width:100%;min-width:0}
 main>header{height:auto;min-height:62px;top:var(--gf-safe-top);padding:8px 12px;gap:8px;align-items:center;z-index:12}
 main>header>div:first-child{min-width:0;flex:1}#crumb{display:none}#contextName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
 .head-actions{gap:6px;justify-content:flex-end;flex-wrap:nowrap}.head-actions #themePicker,.head-actions #syncNow{display:none!important}.head-actions #vehiclePicker{max-width:42vw;min-height:44px}.head-actions #addVehicle{font-size:0;min-width:44px;min-height:44px;padding:0!important}.head-actions #addVehicle:after{content:'+';font-size:23px;line-height:1}
 #content{padding:14px 12px calc(24px + var(--gf-mobile-bar-h) + var(--gf-safe-bottom));max-width:none}
 .page-head{gap:10px;margin-bottom:14px}.page-head h1{font-size:23px;line-height:1.15}.page-head .row{width:100%;align-items:stretch}.page-head .row>*{flex:1 1 auto;text-align:center}
 button,.smallbtn,.primary,.tab,.nav,input,select,textarea{min-height:44px}input,select,textarea{font-size:16px!important;width:100%;max-width:100%}
 input[type=checkbox],input[type=radio]{min-height:auto;width:auto;min-width:22px;height:22px}
 .card,.panel{padding:14px;border-radius:14px}.cards,.grid4,.grid3,.grid2,.split,.form.grid,.custom-grid,.gf813-workflows,.gf813-hero,.gf813-evidence-row{grid-template-columns:1fr!important}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric .value{font-size:23px}.section-title{align-items:flex-start;flex-wrap:wrap}.section-title>.row{width:100%}
 .row{align-items:stretch}.row>button,.row>.smallbtn,.row>.primary{flex:1 1 120px;text-align:center!important}
 .table-wrap,.tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:12px}.table{min-width:660px}.table th,.table td{padding:10px 8px}
 .tabs{scroll-snap-type:x proximity;padding-bottom:5px;-webkit-overflow-scrolling:touch}.tab{scroll-snap-align:start;min-height:42px}
 .gf813-workflow-card{grid-template-columns:52px 1fr;padding:13px}.gf813-workflow-icon{width:48px;height:48px}.gf813-step{grid-template-columns:38px minmax(0,1fr)!important}.gf813-step>.smallbtn{grid-column:2;width:100%;text-align:center!important}
 dialog{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:88dvh;margin:0;border-radius:18px 18px 0 0;padding:16px 14px calc(16px + var(--gf-safe-bottom));overscroll-behavior:contain}
 dialog::backdrop{backdrop-filter:blur(3px)}#toast{left:12px;right:12px;bottom:calc(var(--gf-mobile-bar-h) + var(--gf-safe-bottom) + 12px);text-align:center;z-index:80}
 .chartbox{height:230px}.blueprint-wrap svg,.generic-blueprint svg,.harness-svg7 svg{min-width:640px}
 .designer-layout aside{display:block!important}.designer-layout{grid-template-columns:1fr!important}
 .gf-mobile-bar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:60;grid-template-columns:repeat(6,minmax(0,1fr));height:calc(var(--gf-mobile-bar-h) + var(--gf-safe-bottom));padding:5px 4px var(--gf-safe-bottom);background:color-mix(in srgb,var(--panel,#111827) 96%,transparent);border-top:1px solid var(--border,var(--line));box-shadow:0 -12px 30px rgba(0,0,0,.28);backdrop-filter:blur(18px)}
 .gf-mobile-bar button{border:0!important;background:transparent!important;color:var(--muted)!important;display:grid;place-items:center;align-content:center;gap:3px;padding:4px 2px!important;min-width:0;min-height:58px;border-radius:10px!important;font-size:10px!important;font-weight:800!important;text-align:center!important}
 .gf-mobile-bar button b{font-size:16px;line-height:1}.gf-mobile-bar button.active{color:var(--accent2,var(--accent))!important;background:color-mix(in srgb,var(--accent,#3b82f6) 12%,transparent)!important}
 .gf-mobile-status{display:flex;position:fixed;right:8px;bottom:calc(var(--gf-mobile-bar-h) + var(--gf-safe-bottom) + 8px);z-index:49;padding:5px 8px;border-radius:999px;border:1px solid var(--border,var(--line));background:var(--panel,#111827);font-size:10px;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.2)}.gf-mobile-status.offline{color:var(--warn,#ffd166)}.gf-mobile-status.online{color:var(--good,#64e29a)}
 .gf-mobile-backdrop{display:block;position:fixed;inset:0;z-index:69;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:.18s}.gf-mobile-backdrop.open{opacity:1;pointer-events:auto}
 .gf-mobile-more{display:block;position:fixed;left:0;right:0;bottom:0;z-index:70;max-height:82dvh;overflow:auto;padding:14px 12px calc(var(--gf-safe-bottom) + 16px);background:var(--panel,#111827);border:1px solid var(--border,var(--line));border-radius:20px 20px 0 0;transform:translateY(105%);transition:.2s ease;box-shadow:0 -20px 50px rgba(0,0,0,.4)}.gf-mobile-more.open{transform:none}.gf-mobile-more h2{margin:0}.gf-mobile-more-head{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-14px;background:var(--panel,#111827);padding:12px 0;z-index:2}.gf-mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gf-mobile-more-grid button{text-align:left!important;padding:10px!important;border:1px solid var(--border,var(--line))!important;background:var(--panel2,#1f2937)!important;color:var(--text)!important;border-radius:11px!important}.gf-mobile-more-group{grid-column:1/-1;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-top:8px;font-weight:900}
 .gf-mobile-capture-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gf-mobile-capture-actions button{min-height:76px;text-align:left!important;padding:12px!important;border:1px solid var(--border,var(--line))!important;background:var(--panel2,#1f2937)!important}.gf-mobile-capture-actions button b{display:block;font-size:15px;margin-bottom:4px}.gf-mobile-capture-actions button small{display:block;color:var(--muted);line-height:1.25}
 .gf-mobile-capture-form{display:grid;gap:12px}.gf-mobile-capture-form .capture-file{border:1px dashed var(--border,var(--line));padding:12px;border-radius:12px}.gf-mobile-local-badge{display:inline-flex;padding:4px 8px;border-radius:999px;border:1px solid var(--border,var(--line));font-size:11px;color:var(--muted)}
 body.gf-mobile-keyboard .gf-mobile-bar,body.gf-mobile-keyboard .gf-mobile-status{display:none}
}
@media(max-width:520px){.stat-grid{grid-template-columns:1fr}.gf-mobile-more-grid{grid-template-columns:1fr}.gf-mobile-capture-actions{grid-template-columns:1fr}.head-actions #vehiclePicker{max-width:50vw}.gf813-state-strip{grid-template-columns:1fr 1fr!important}}
@media(orientation:landscape) and (max-height:560px) and (pointer:coarse){:root{--gf-mobile-bar-h:58px}.gf-mobile-bar button{min-height:48px}.gf-mobile-bar button b{font-size:14px}.gf-mobile-more{max-height:90dvh}}
@media(display-mode:standalone){body{min-height:100dvh}}
@media(max-width:900px),(pointer:coarse) and (max-width:1100px){.panel,.card{max-width:100%;overflow-wrap:anywhere}.panel>.table,.card>.table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}img,video{max-width:100%;height:auto}}
