/* Shared sheet geometry; focus is not selection. Chart renderer is intentionally untouched. */
html.ios20[data-p29-input=pointer] #workbench.ios20.p29 :is(button,a,summary,[role=option]):focus{outline:none!important;outline-offset:0!important}
html.ios20[data-p29-input=keyboard] #workbench.ios20.p29 :is(button,a,input,select,textarea,summary,[role=option]):focus-visible{outline:2px solid #9acaff!important;outline-offset:2px!important}
html.ios20 #workbench.ios20.p29 dialog>header h2:focus{outline:none!important}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet[open]{display:flex!important;flex-direction:column;position:fixed!important;overflow:hidden!important;padding:0!important;box-sizing:border-box;max-width:none!important;transform:none!important}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header{display:grid!important;grid-template-columns:80px minmax(0,1fr) 80px!important;align-items:center!important;flex:0 0 56px;min-height:56px!important;height:56px!important;box-sizing:border-box;padding:4px 12px!important;gap:4px!important;position:relative;border-bottom:1px solid #abc9e51c!important}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header h2{grid-column:2;grid-row:1;margin:0!important;text-align:center!important;font-size:18px!important;line-height:1.3!important;overflow-wrap:anywhere}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header :is(.hub-back,#wb-close,.hub-close){position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;padding:4px!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:15px!important;color:#c3d9ed;grid-row:1}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header .hub-back{grid-column:1;gap:4px;white-space:nowrap}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header :is(#wb-close,.hub-close){grid-column:3}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet .hub-grip{display:none!important}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>:is(.hub-tabs,.hub-foot,.hub-detail-foot,.hub-feedback){flex:none}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet>:is(.hub-body,#wb-drawer-body,.wb-mobile-tools-body){flex:1 1 0;min-height:0!important;min-width:0;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px!important;box-sizing:border-box;touch-action:pan-y}
/* Scrollable evidence tables keep their natural height inside the bounded sheet. */
html.ios20 #workbench.ios20.p29 #wb-drawer-body{grid-auto-rows:max-content;align-content:start}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet :is(.hub-section,.hub-detail-card){margin:0 0 12px!important;padding:10px 12px!important}
html.ios20 #workbench.ios20.p29 dialog.p29-sheet .hub-help{margin:0 0 12px!important}
html.ios20 #workbench.ios20.p29 .p29-disclosure-body{overflow:hidden;min-height:0}
html.ios20 #workbench.ios20.p29 #wb-drawer .wb-navigation-form{align-items:start!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
html.ios20 #workbench.ios20.p29 #wb-drawer .wb-navigation-form:has(.p28-picker-panel:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p28-picker-panel.p29-popover{position:absolute!important;z-index:90;display:block;box-sizing:border-box;margin:0!important;padding:10px!important;overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;background:#13283efc!important;border:1px solid #90b4d957!important;border-radius:18px!important;box-shadow:0 12px 36px #0009,inset 0 1px #d7ecff18!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p28-picker-panel.p29-popover[hidden]{display:none!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-calendar-head{margin:0 0 4px!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-calendar th{height:22px}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-calendar td button{height:40px!important;min-height:40px!important;border-radius:12px!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-picker-foot{padding-top:5px;margin-top:4px}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-clock-list{height:144px!important;min-height:0!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-clock-list button{min-height:40px!important;height:40px!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover[role=listbox] button{min-height:44px!important;height:auto!important;padding:9px 12px!important}
html.ios20 #workbench.ios20.p29 :is(#wb-drawer,#wb-control-center) .p29-popover .p28-clock-caption{margin-bottom:4px}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote{display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;grid-template-rows:auto auto auto!important;align-items:center;gap:0 6px!important;min-height:48px!important;height:auto!important;padding:0 5px 3px!important;margin:0!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-quote-primary{grid-column:1!important;grid-row:1!important;min-width:0;gap:4px 9px!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .p21-quote-toggle{grid-column:2!important;grid-row:1!important;justify-self:end;width:52px!important;height:44px!important;min-height:44px!important;margin:0!important;background:transparent!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-market-stats{grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:4px 0!important;margin:0!important;gap:6px!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-stat-coverage{grid-column:1/-1!important;grid-row:3!important;min-height:0!important;margin:0!important;padding:0 0 2px!important;line-height:16px!important;font-size:11px!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-stat{margin:0!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-stat dt{line-height:16px!important;font-size:11px!important}
html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-stat dd{line-height:19px!important;font-size:13px!important;margin:0!important}
@media(max-width:360px){html.ios20 #workbench.ios20.p29 #wb-drawer .wb-navigation-form{grid-template-columns:minmax(0,1fr)!important}html.ios20 #workbench.ios20.p29:not(.pc22)>.wb-quote .v16-market-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-height:470px){html.ios20 #workbench.ios20.p29 dialog.p29-sheet>header{flex-basis:56px;height:56px!important;min-height:56px!important;padding-block:4px!important}}
@media(prefers-reduced-motion:reduce){html.ios20 #workbench.ios20.p29 :is(.p29-popover,.p29-disclosure-body){animation:none!important;transition:none!important}}

.hub-back svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
